]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Remove unused sysdeps/unix/siglist.c.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
097d59fa
JM
12012-04-20 Joseph Myers <joseph@codesourcery.com>
2
e7740d31
JM
3 * sysdeps/unix/siglist.c: Remove file.
4
ee06f18b
JM
5 * sysdeps/unix/getppid.S: Remove file.
6
097d59fa
JM
7 * sysdeps/unix/mkdir.c: Remove file.
8 * sysdeps/unix/rmdir.c: Likewise.
9
ff3d51ec
AS
102012-04-19 Andreas Schwab <schwab@linux-m68k.org>
11
12 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
13 ERR_MAX value.
14 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
15 errlist-compat value.
16
50f81fd7
DM
172012-04-18 David S. Miller <davem@davemloft.net>
18
19 * sysdeps/generic/memcopy.h (reg_char): Delete.
20 * debug/strcat_chk.c: Use char, not reg_char.
21 * debug/strcpy_chk.c: Likewise.
22 * debug/strncat_chk.c: Likewise.
23 * debug/strncpy_chk.c: Likewise.
24 * string/memchr.c: Likewise.
25 * string/memrchr.c: Likewise.
26 * string/rawmemchr.c: Likewise.
27 * string/strcat.c: Likewise.
28 * string/strchr.c: Likewise.
29 * string/strchrnul.c: Likewise.
30 * string/strcmp.c: Likewise.
31 * string/strcpy.c: Likewise.
32 * string/strncat.c: Likewise.
33 * string/strncmp.c: Likewise.
34 * string/strncpy.c: Likewise.
35
8ff41c46
WS
362012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
37
38 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
39 __builtin_memcopy is called when src and dest ranges are known to not
40 overlap.
41
6b652f46
WS
422012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43
44 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
45 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
46 fwd_align_merge macro call.
47 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
48 bwd_align_merge macro call.
49 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50
b282631e
WS
512012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
52
53 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
54 bwd_align_merge macros.
55 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
56 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
57 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
58
95aa737c
DM
592012-04-18 David S. Miller <davem@davemloft.net>
60
61 * sysdeps/sparc/sparc64/memcopy.h: Delete.
62
7a99a614
AJ
632012-04-18 Andreas Jaeger <aj@suse.de>
64
65 [BZ# 6794]
66 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
67 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
68 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
69
70 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
71 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
72 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
73
74 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
75 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
76 Adjust for changed ldbl-128 files.
77
78 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
79 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
80 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
81
e5270c23
DM
822012-04-17 David S. Miller <davem@davemloft.net>
83
84 * sysdeps/sparc/sparc32/memcopy.h: Delete.
85
fb5e92c9
AS
862012-04-17 Andreas Schwab <schwab@linux-m68k.org>
87
88 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
89 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
90 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
91 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
92 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
93 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
94
76da7265
AZ
952012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
96
97 [BZ #6794]
98 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
99 * math/libm-test.inc: Add ilogb errno and exception tests.
100 * math/w_ilogb.c: New file: ilogb wrapper.
101 * math/w_ilogbf.c: New file: ilogbf wrapper.
102 * math/w_ilogbl.c: New file: ilogbl wrapper.
103 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
104 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
105 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
106 exception being thrown with 0.0 as argument.
107 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
108 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
109 exception being thrown with 0.0 as argument.
110 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
111 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
112 exception being thrown with 0.0 as argument.
113 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
114 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
115 exception being thrown with 0.0 as argument.
116 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
117 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 118 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
119 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
120 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
121 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
122 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
123 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
124 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
125
0396e69d
PB
1262012-04-17 Petr Baudis <pasky@ucw.cz>
127
128 * include/sys/uio.h: Change __vector to __iovec to avoid clash
129 with altivec.
130
750b5926
MP
1312012-04-16 Marek Polacek <polacek@redhat.com>
132
133 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
134
751728a1
MP
1352012-04-16 Marek Polacek <polacek@redhat.com>
136
137 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
138 operands of fdivp instruction.
139
34a27407
L
1402012-04-13 H.J. Lu <hongjiu.lu@intel.com>
141
142 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
143 * elf/tst-auditmod3b.c: Likewise.
144 * elf/tst-auditmod4b.c: Likewise.
145 * elf/tst-auditmod5b.c: Likewise.
146 * elf/tst-auditmod6b.c: Likewise.
147 * elf/tst-auditmod6c.c: Likewise.
148 * elf/tst-auditmod7b.c: Likewise.
149 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
150 * sysdeps/x86_64/preconfigure.in: Likewise.
151 * sysdeps/x86_64/preconfigure: Regenerated.
152
7e73e17d
L
1532012-04-13 H.J. Lu <hongjiu.lu@intel.com>
154
155 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
156 __ILP32__.
157
c7a6ab72
AB
1582012-04-13 Antoine Balestrat <merkil33@gmail.com>
159
160 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
161 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
162
a9e8e0e0
CL
1632012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
164
165 [BZ #13973]
166 * locale/iso-639.def: Fix gl language name. Spotted by
167 Yaron Shahrabani.
168
ec98af7d
RM
1692012-04-12 Roland McGrath <roland@hack.frob.com>
170
171 [BZ #2074]
172 * libio/libio.h (__io_write_fn): Update comment.
173
247c3ede
PB
1742012-04-12 Petr Baudis <pasky@ucw.cz>
175
176 [BZ #2074]
177 * stdio.texi (Hook Functions): The user provided writer function
178 is not allowed to return -1.
179
55939d6d
DM
1802012-04-11 David S. Miller <davem@davemloft.net>
181
182 * sysdeps/sparc/fpu/libm-test-ulps: Update.
183
90020f5a
MF
1842012-04-11 Mike Frysinger <vapier@gentoo.org>
185
186 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
187 Add a leading slash to rtkaio.
188
288f9098
JM
1892012-04-11 Jim Meyering <meyering@redhat.com>
190
90020f5a
MF
191 [BZ #11959]
192 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
193 It is not necessarily an error to ignore fwrite's return
194 value. One can reliably use ferror to test for errors after
195 the fact.
288f9098 196
4be2b570
L
1972012-04-10 H.J. Lu <hongjiu.lu@intel.com>
198
199 * bits/types.h (__snseconds_t): New type.
200 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
201
202 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
203 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
204 (__SNSECONDS_T_TYPE): Likewise.
205 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
206 (__SNSECONDS_T_TYPE): Likewise.
207 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
208 (__SNSECONDS_T_TYPE): Likewise.
209
288f9098 2102012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
211
212 [BZ #2636]
213 * manual/time.texi (Processor Time): Return type of times is
214 elapsed real time since an arbitrary point in the past.
215 (CPU Time): Move CLK_TCK from here...
216 (Processor Time): ...to here. Correct description.
217 * manual/conf.texi (Constants for Sysconf): Correct description of
218 _SC_CLK_TCK.
219
d7dd4413
DM
2202012-04-10 David S. Miller <davem@davemloft.net>
221
222 [BZ #13967]
223 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
224 where the is a gap between DT_REL(A) and DT_JMPREL.
225
b46068fc
L
2262012-04-10 H.J. Lu <hongjiu.lu@intel.com>
227
228 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
229 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
230 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
231
73d65cc3
SP
2322012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
233
234 * elf/dl-support.c (_dl_inhibit_cache): New variable.
235 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
236 (dl_main): Handle --inhibit-cache.
237 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
238 _dl_inhibit_cache.
239 * elf/dl-load.c (_dl_map_object): Use it.
240 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
241
bcc8d661
JM
2422012-04-09 Joseph Myers <joseph@codesourcery.com>
243
8f9a2fae
JM
244 [BZ #13872]
245 * sysdeps/i386/fpu/e_powl.S (p78): New object.
246 (__ieee754_powl): Saturate large exponents rather than testing for
247 overflow of y*log2(x).
248 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
249 * math/libm-test.inc (pow_test): Do not permit spurious overflow
250 exceptions.
251
bcc8d661
JM
252 [BZ #11521]
253 * math/s_ctan.c: Include <float.h>.
254 (__ctan): Avoid internal overflow or cancellation in calculating
255 denominator.
256 * math/s_ctanf.c: Likewise.
257 * math/s_ctanl.c: Likewise.
258 * math/s_ctanh.c: Likewise.
259 * math/s_ctanhf.c: Likewise.
260 * math/s_ctanhl.c: Likewise.
261 * math/libm-test.inc (ctan_test): Add more tests.
262 (ctanh_test): Likewise.
263 * sysdeps/i386/fpu/libm-test-ulps: Update.
264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
265
823fbbb4
AJ
2662012-04-09 Andreas Jaeger <aj@suse.de>
267
03879793
AJ
268 [BZ #6894]
269 * manual/filesys.texi (Directory Entries): Mention that d_namlen
270 is an optional BSD extension.
271
823fbbb4
AJ
272 [BZ #10254]
273 * manual/stdio.texi (Opening Streams): Document additional fopen
274 parameters.
275
8de131cb
RM
2762012-04-09 Roland McGrath <roland@hack.frob.com>
277
278 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
279 %eax without telling the compiler.
280
c0ed9d7d
CD
2812012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
282
283 [BZ # 13963]
284 * manual/install.texi: Use sourceware.org.
285
c483f6b4
JM
2862012-04-09 Joseph Myers <joseph@codesourcery.com>
287
d7dd9453
JM
288 [BZ #13873]
289 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
290 (__ieee754_pow): Generate overflow and underflow using huge*huge
291 and tiny*tiny rather than just returning constant infinity or zero
292 for large exponents.
293 * math/libm-test.inc (pow_test): Require overflow exceptions for
294 applicable cases of large exponents.
295
c483f6b4
JM
296 [BZ #706]
297 * sysdeps/i386/fpu/e_pow.S (p10): New object.
298 (__ieee754_pow): Use iterative multiplication algorithm only for
299 integer exponents with absolute value below 1024. Check for odd
300 integer exponents when using algorithm for real exponents.
301 * math/libm-test.inc (pow_test): Add more tests.
302 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
303
d2de7579
JM
3042012-04-08 Joseph Myers <joseph@codesourcery.com>
305
306 [BZ #13705]
307 * math/libm-test.inc (exp_test): Do not allow overflow exception
308 on underflow test.
309
f77f1232
AJ
3102012-04-08 Aurelien Jarno <aurelien@aurel32.net>
311
312 [BZ #13705]
313 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
314 instead of __kernel_standard_f.
315
3884932b
MF
3162012-04-08 Mike Frysinger <vapier@gentoo.org>
317
318 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
319 * sysdeps/x86_64/memset_chk.S: Likewise.
320
54472e9c
AJ
3212012-04-08 Andreas Jaeger <aj@suse.de>
322
6ab0fbfc
AJ
323 [BZ #10153]
324 * manual/startup.texi (Environment Access): Describe return value
325 for putenv and setenv.
326
61efba8c
AJ
327 [BZ #6895]
328 * manual/filesys.texi (Directory Entries): Add description for
329 DT_LNK.
330
95c3f29a
AJ
331 [BZ #6890]
332 * manual/filesys.texi (Directory Entries): Clarify that it's file
333 system not operating system in the description of DT_UNKNOWN.
334
54472e9c
AJ
335 [BZ #6578]
336 * manual/syslog.texi (closelog): Fix reference, it's openlog.
337
624254b1
SC
3382012-04-08 Stephen Compall <s11@member.fsf.org>
339
340 [BZ #6649]
341 * manual/llio.texi (Opening and Closing Files): Add cross
342 reference to explain mode argument.
343
1e4920e0
MF
3442012-04-07 Mike Frysinger <vapier@gentoo.org>
345
346 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
347 * sysdeps/x86_64/memset_chk.S: Likewise.
348
5ed848f3
DM
3492012-04-07 David S. Miller <davem@davemloft.net>
350
351 * elf/elf.h (R_SPARC_WDISP10): Define.
352 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
353 R_SPARC_SIZE32.
354 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
355 R_SPARC_SIZE64 and R_SPARC_H34.
356
96154cd8
CD
3572012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
358
359 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
360 conditions and remove no longer applicable assertion.
361
9904dc47
L
3622012-04-06 H.J. Lu <hongjiu.lu@intel.com>
363
364 * bits/byteswap.h: Include <features.h>.
365 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
366 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
367
f8887d0a
L
3682012-04-06 H.J. Lu <hongjiu.lu@intel.com>
369
370 * bits/byteswap.h (__bswap_16): Removed.
371 Include <bits/byteswap-16.h> to get __bswap_16.
372 * sysdeps/i386/bits/byteswap.h: Likewise.
373 * sysdeps/s390/bits/byteswap.h: Likewise.
374 * sysdeps/x86_64/bits/byteswap.h: Likewise.
375 * bits/byteswap-16.h: New file.
376 * sysdeps/i386/bits/byteswap-16.h: Likewise.
377 * sysdeps/s390/bits/byteswap-16.h: Likewise.
378 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
379 * string/Makefile (headers): Add bits/byteswap-16.h.
380
62470f60
PP
3812012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
382
383 [BZ #13895]
384 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
385 extra indirection.
386 * nss/Makefile (tests-static, tests): Add tst-nss-static.
387 * nss/tst-nss-static.c: New.
388
4dad7bab
RM
3892012-04-06 Robert Millan <rmh@gnu.org>
390
391 [BZ #6486]
392 * manual/llio.texi (File Position Primitive): lseek
393 refers to WHENCE when it really means OFFSET.
394
e9142a17
AJ
3952012-04-06 Andreas Jaeger <aj@suse.de>
396
2c040eff
AJ
397 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
398 strncmp declarations.
399
e9142a17
AJ
400 * abilist/libc.abilist: Add __poll and __ppoll.
401
ff9f1c5f
DM
4022012-04-05 David S. Miller <davem@davemloft.net>
403
dcd2ae90
DM
404 * scripts/check-local-headers.sh: Accept a host triplet in the
405 path matched by the exclude regexp.
406
993eb054
DM
407 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
408 definition.
409 * sysdeps/powerpc/powerpc32/dl-machine.h
410 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
411 * sysdeps/s390/s390-32/dl-machine.h
412 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
413 * sysdeps/sparc/sparc32/dl-machine.h
414 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
415 * sysdeps/sparc/sparc64/dl-machine.h
416 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
417
ff9f1c5f
DM
418 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
419 lazy binding.
48e2e132 420 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
421 undefined symbol errors.
422
48e2e132 423 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
424 DT_NEEDED entries.
425
e80d6f94
MM
4262012-04-05 Michael Matz <matz@suse.de>
427
428 [BZ #13592]
429 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
430
349fa79f
AJ
4312012-04-05 Andreas Jaeger <aj@suse.de>
432
433 [BZ #13908]
434 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
435 comment.
436
f402708f
KK
4372012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
438
439 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
440 which ROUND is no valid rounding mode.
441
2ecccfc9
KK
4422012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
443
444 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
445 read again.
446 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
447
8a53f50f
KK
4482012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
449
450 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
451 an exception using FPU order intentionally.
452
4532012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
454
455 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
456 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
457 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
458 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
459
d653abb7
SJ
4602012-04-05 Simon Josefsson <simon@josefsson.org>
461
462 [BZ #12340]
463 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
464 EINVAL when BUFLEN is too smal.
465
c3b1bf7d
TS
4662012-04-05 Thomas Schwinge <thomas@codesourcery.com>
467
468 [BZ #13553]
469 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
470 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
471
b1aa60f3
AJ
4722012-04-03 Andreas Jaeger <aj@suse.de>
473
c3b1bf7d 474 [BZ #13938]
67f60a26
AJ
475 * manual/setjmp.texi (System V contexts): Fix sentence.
476
b1aa60f3
AJ
477 [BZ #13926]
478 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
479 New macro for this case.
480 [!__GNUC__] (__bswap_64): New inline function for this case.
481 * sysdeps/x86_64/bits/byteswap.h: Likewise.
482 * bits/byteswap.h: Likewise.
483 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
484 ull, guard with __GLIBC_HAVE_LONG_LONG.
485
486 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
487 __GLIBC_HAVE_LONG_LONG.
488
489 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
490 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
491
39c59c35
TMQMF
4922012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
493
494 [BZ #13691]
495 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
496 inptr and inend, rather than using last_ch.
497
135ffda8
DM
4982012-04-02 David S. Miller <davem@davemloft.net>
499
500 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
501 * stdio-common/printf-parse.h (read_int): Change return type to
502 'int', return -1 on INT_MAX overflow.
503 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
504 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
505 overflows INT_MAX. Check for overflow of in-format-string precision
506 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
507 SIZE_MAX not INT_MAX for integer overflow test.
508 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
509 skip the construct in the format string but do not record anything.
510 * stdio-common/bug22.c: Adjust to test both width/prevision
511 INT_MAX overflow as well as total length INT_MAX overflow. Check
512 explicitly for proper errno values.
513
228c019e
TS
5142012-04-02 Thomas Schwinge <thomas@codesourcery.com>
515
302cadd3
TS
516 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
517 CHAR_MAX.
518 * string/test-strcmp.c [! WIDE]: Likewise.
519 * time/tst-mktime2.c: Likewise for INT_MAX.
520 * string/test-string.h: #include <sys/param.h> for MIN.
521
228c019e
TS
522 * csu/init-first.c (__libc_init_first): Call __ctype_init.
523 * sysdeps/i386/init-first.c (init): Likewise.
524 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
525 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
526 * sysdeps/sh/init-first.c (init): Likewise.
527
cfa633f5
UD
5282012-04-01 Ulrich Drepper <drepper@gmail.com>
529
530 * po/ru.po: Update from translation team.
d1635ef8 531 * po/vi.po: Likewise.
cfa633f5 532
6cd0a5ea
SP
5332012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
534
535 * resolv/nss_dns/dns-host.c: Merge copyright years.
536
4b43400f
LD
5372012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
538
539 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
540 Optimize memcpy with prefetch if
541 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
542 src, dst pointers have unequal 16 byte alignments.
543
48c41d04
SP
5442012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
545
546 [BZ #13928]
547 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
548 from a CNAME entry and return the minimum ttl for the query.
549 (gaih_getanswer_slice): Likewise.
550
b8dc394d
JL
5512012-03-30 Jeff Law <law@redhat.com>
552
553 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
554 due to long keys.
555 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
556 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
557
2f5a5ed0
JL
558 * resolv/nss_dns/dns-host.c: Update copyright year.
559
1d39e359
UD
5602012-03-30 Ulrich Drepper <drepper@gmail.com>
561
c030f70c 562 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 563 requests to save a system call. Fix check that all bytes are sent.
c030f70c 564
1d39e359
UD
565 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
566 comments for sendmmsg.
567
5682012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
569
570 [BZ #13691]
571 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
572 with only 1 character between 0x0041 and 0x01b0.
573 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
574 * wcsmbs/tst-mbsnrtowcs.c: New file.
575
20fde227
DM
5762012-03-29 David S. Miller <davem@davemloft.net>
577
578 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
579 small copies by hand.
580
984a4237
JL
5812012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
582
583 [BZ #13761]
584 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
585 _nss_compat_initgroups_dyn): Fall back to malloc/free
586 for large group memberships.
587
18c9d62b
DM
5882012-03-28 David S. Miller <davem@davemloft.net>
589
88d85d4f
DM
590 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
591 that branches into memcpy.
592 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
593 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
594 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
595 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
596 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
597 bits.
598 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
599 implementation too.
600 * sysdeps/sparc/mempcpy.S: New file.
601
e5aa83e1
DM
602 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
603 the IFUNC routine in the libc case.
604 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
605
88570753
DM
606 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
607 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
608 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
609 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
610 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
611 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
612 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
613 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
614
249d7567
DM
615 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
616 loop to 256 bytes instead of 64 bytes and fix test signedness.
617
18c9d62b
DM
618 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
619 * sysdeps/sparc/sparc32/Makefile: rather than here...
620 * sysdeps/sparc/sparc64/Makefile: and here.
621
05f3d1f6
UD
6222012-03-28 Ulrich Drepper <drepper@gmail.com>
623
624 * malloc/mallocbug.c: Avoid warnings about unused variables.
625
86ae07a8
JL
6262012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
627
628 [BZ #13760]
629 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
630 in the right place. Discard and retry query if response is
631 larger than input buffer size.
632
41bf21a1
JM
6332012-03-28 Joseph Myers <joseph@codesourcery.com>
634
d6270972
JM
635 [BZ #369]
636 [BZ #2678]
637 [BZ #3866]
638 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
639 x for large integer exponent.
640 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
641 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
642 sign of result as needed afterwards.
643 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
644 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
645 result for underflowing pow the same as for overflow.
646 (__kernel_standard_l): Handle powl overflow and underflow here
647 rather than calling __kernel_standard.
648 * math/libm-test.inc (pow_test): Add more tests.
649
414fca03 650 [BZ #3868]
41bf21a1
JM
651 [BZ #13879]
652 [BZ #13910]
653 [BZ #13911]
654 [BZ #13912]
655 [BZ #13913]
656 [BZ #13915]
657 [BZ #13916]
658 [BZ #13917]
659 [BZ #13918]
660 [BZ #13919]
661 [BZ #13920]
662 [BZ #13921]
663 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
664 * sysdeps/ieee754/k_standard.c: Include <float.h>.
665 (__kernel_standard_l): New function.
666 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
667 __kernel_standard.
668 * math/w_acosl.c (__acosl): Likewise.
669 * math/w_asinl.c (__asinl): Likewise.
670 * math/w_atan2l.c (__atan2l): Likewise.
671 * math/w_atanhl.c (__atanhl): Likewise.
672 * math/w_coshl.c (__coshl): Likewise.
673 * math/w_exp10l.c (__exp10l): Likewise.
674 * math/w_exp2l.c (__exp2l): Likewise.
675 * math/w_fmodl.c (__fmodl): Likewise.
676 * math/w_hypotl.c (__hypotl): Likewise.
677 * math/w_j0l.c (__j0l, __y0l): Likewise.
678 * math/w_j1l.c (__j1l, __y1l): Likewise.
679 * math/w_jnl.c (__jnl, __ynl): Likewise.
680 * math/w_lgammal.c (__lgammal): Likewise.
681 * math/w_log10l.c (__log10l): Likewise.
682 * math/w_log2l.c (__log2l): Likewise.
683 * math/w_logl.c (__logl): Likewise.
684 * math/w_powl.c (__powl): Likewise.
685 * math/w_remainderl.c (__remainderl): Likewise.
686 * math/w_scalbl.c (sysv_scalbl): Likewise.
687 * math/w_sinhl.c (__sinhl): Likewise.
688 * math/w_sqrtl.c (__sqrtl): Likewise.
689 * math/w_tgammal.c (__tgammal): Likewise.
690 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
691 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
692 * math/libm-test.inc (acos_test): Add more tests.
693 (acosh_test): Likewise.
694 (asin_test): Likewise.
695 (atanh_test): Likewise.
696 (exp_test): Likewise.
697 (exp10_test): Likewise.
698 (exp2_test): Likewise.
699 (expm1_test): Likewise.
700 (lgamma_test): Likewise.
701 (log_test): Likewise.
702 (log10_test): Likewise.
703 (log1p_test): Likewise.
704 (log2_test): Likewise.
705 (pow_test): Do not allow some spurious overflow exceptions.
706 (sqrt_test): Add more tests.
707 (tgamma_test): Likewise.
708 (y0_test): Likewise.
709 (y1_test): Likewise.
710 (yn_test): Likewise.
711
dd62fda6
AB
7122012-03-27 Anton Blanchard <anton@samba.org>
713
714 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
715 MAP_HUGETLB.
716 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
717 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
718 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
719
1e3cdfda
AJ
7202012-03-27 David S. Miller <davem@davemloft.net>
721
b855ab85
DM
722 * conform/Makefile: Run run-conformtest.sh using $(BASH).
723
1e3cdfda
AJ
724 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
725 have-as-vis3 check.
726
7272012-03-27 Andreas Jaeger <aj@suse.de>
728
729 * sysdeps/x86_64/elf/configure.in: Moved to ...
730 * sysdeps/x86_64/configure.in: ... here.
731 * sysdeps/x86_64/elf/start.S: Moved to ...
732 * sysdeps/x86_64/start.S: ... here.
733 * sysdeps/x86_64/elf/configure: Delete.
734
735 * sysdeps/x86_64/configure.in: Merge contents from
736 sysdeps/i386/configure.in (without i686 check).
737
738 * sysdeps/i386/elf/Versions: Merge into ...
739 * sysdeps/i386/Versions: ... this.
740 * sysdeps/i386/elf/Versions: Delete file.
741 * sysdeps/i386/elf/start.S: Moved to ...
742 * sysdeps/i386/start.S: ...here.
743 * sysdeps/i386/elf/configure.in: Merge into...
744 * sysdeps/i386/configure.in: ...here.
745 * sysdeps/i386/elf/configure.in: Delete file.
746 * sysdeps/i386/elf/configure: Delete file.
747
748 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
749 * debug/backtracesyms.c: ... here.
750 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
751 * debug/backtracesymsfd.c: ... here.
752 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
753 * sysdeps/generic/ifunc-sel.h: ... here.
754
755 * sysdeps/unix/i386/start.c: Delete file.
756 * sysdeps/unix/sparc/start.c: Delete file.
757 * sysdeps/unix/start.c: Delete file.
758
759 * sysdeps/sh/elf/configure.in: Moved to ...
760 * sysdeps/sh/configure.in: ... here.
761 * sysdeps/sh/elf/start.S: Moved to ...
762 * sysdeps/sh/start.S: ... here.
763 * sysdeps/sh/elf/configure: Delete file.
764
765 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
766 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
767 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
768 * sysdeps/powerpc/powerpc64/entry.h: ... here.
769 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
770 * sysdeps/powerpc/powerpc64/start.S: here.
771 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
772 * sysdeps/powerpc/powerpc64/Makefile: ... this.
773 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
774 * sysdeps/powerpc/powerpc64/configure.in: ... this.
775 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
776
777 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
778 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
779 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
780 * sysdeps/powerpc/powerpc32/start.S: ... here.
781 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
782 * sysdeps/powerpc/powerpc32/configure.in: ... this.
783 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
784
785 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
786 * sysdeps/powerpc/ifunc-sel.h: ... here.
787 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
788 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
789
790 * sysdeps/sparc/elf/configure.in: Moved to ...
791 * sysdeps/sparc/configure.in: ... here.
792 * sysdeps/sparc/elf/configure: Delete file.
793 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
794 * sysdeps/sparc/sparc32/start.S: ... here.
795 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
796 * sysdeps/sparc/sparc64/start.S: ... here.
797 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
798 * sysdeps/sparc/sparc32/Makefile: ... this.
799 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
800 * sysdeps/sparc/sparc64/Makefile: ... this.
801
802 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
803 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
804 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
805 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
806 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
807 * sysdeps/s390/s390-32/setjmp.S: ... here.
808 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
809 * sysdeps/s390/s390-32/configure.in: ... here.
810 * sysdeps/s390/s390-32/elf/configure: Delete file.
811 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
812 * sysdeps/s390/s390-32/start.S: ... here.
813
814 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
815 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
816 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
817 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
818 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
819 * sysdeps/s390/s390-64/setjmp.S: ... here.
820 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
821 * sysdeps/s390/s390-64/configure.in: ... here
822 * sysdeps/s390/s390-64/elf/configure: Delete file.
823 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
824 * sysdeps/s390/s390-64/start.S: ... here.
825 * sysdeps/s390/s390-64/elf/configure: Delete.
826
827 * configure.in: Remove support for elf directories in sysdeps.
828
829 * configure: Regenerated.
830 * sysdeps/i386/configure: Regenerated.
831 * sysdeps/powerpc/powerpc32/configure: Regenerated.
832 * sysdeps/powerpc/powerpc64/configure: Regenerated.
833 * sysdeps/s390/s390-32/configure: Regenerated.
834 * sysdeps/s390/s390-64/configure: Regenerated.
835 * sysdeps/sh/configure: Regenerated.
836 * sysdeps/sparc/configure: Regenerated.
837 * sysdeps/x86_64/configure: Regenerated.
838
a3f61311
AS
8392012-03-26 Andreas Schwab <schwab@linux-m68k.org>
840
c876e002
AS
841 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
842
a3f61311
AS
843 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
844 denormal result into account.
845
ac4c54f0
RM
8462012-03-25 Roland McGrath <roland@hack.frob.com>
847
848 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
849 Reported by Allan McRae <allan@archlinux.org>.
850
6a9b9c02
JL
8512012-03-23 Jeff Law <law@redhat.com>
852
853 * nss/getnssent.c (__nss_getent): Fix typo.
854
4c42a0c1
DM
8552012-03-23 David S. Miller <davem@davemloft.net>
856
857 * sysdeps/sparc/fpu/libm-test-ulps: Update.
858
1532c7ac
L
8592012-03-23 H.J. Lu <hongjiu.lu@intel.com>
860
861 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
862 to pad to uint64_t for each field.
863 (dl_tls_index): Replace unsigned long with uint64_t.
864
3ff42526
PP
8652012-03-23 Daniel Jacobowitz <dmj@google.com>
866 Paul Pluzhnikov <ppluzhnikov@google.com>
867
868 [BZ #6528]
869 * grp/Makefile (otherlibs): Don't set it.
870 * inet/Makefile (otherlibs): Likewise.
871 * login/Makefile (otherlibs): Likewise.
872 * nscd/Makefile (otherlibs): Likewise.
873 * posix/Makefile (otherlibs): Likewise.
874 * pwd/Makefile (otherlibs): Likewise.
875 * rt/Makefile (otherlibs): Likewise.
876 * sunrpc/Makefile (otherlibs): Likewise.
877 * nss/Makefile (otherlibs): Likewise.
878 Add libnss_files to routines and static-only-routines.
879 ($(objpfx)getent): Remove rule.
880 * resolv/Makefile: Add libnss_dns and libresolv to routines and
881 static-only-routines.
882
7c69cd14
JM
8832012-03-22 Joseph Myers <joseph@codesourcery.com>
884
885 [BZ #13892]
886 * math/s_cexp.c: Include <float.h>.
887 (__cexp): Handle exp result overflowing not necessarily
888 overflowing both real and imaginary parts of result.
889 * math/s_cexpf.c: Likewise.
890 * math/s_cexpl.c: Likewise.
891 * math/libm-test.inc (cexp_test): Add more tests.
892 * sysdeps/i386/fpu/libm-test-ulps: Update.
893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
894
81b035fe
L
8952012-03-22 H.J. Lu <hongjiu.lu@intel.com>
896
897 * include/link.h (ELFW): New macro.
898 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
899 Replace ELF64_R_TYPE with ELFW(R_TYPE).
900
1da7940c
L
9012012-03-22 H.J. Lu <hongjiu.lu@intel.com>
902
903 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
904 with uint64_t.
905
b749dbb9
L
9062012-03-22 H.J. Lu <hongjiu.lu@intel.com>
907
908 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
909 declaration.
910 (struct La_x32_retval): Likewise.
911
2ff87f3f
L
9122012-03-22 H.J. Lu <hongjiu.lu@intel.com>
913
914 * sysdeps/x86_64/preconfigure.in: New file.
915 * sysdeps/x86_64/preconfigure: New generated file.
916
c0df8e69
JM
9172012-03-22 Joseph Myers <joseph@codesourcery.com>
918
48e44791
JM
919 [BZ #13824]
920 * math/e_exp2l.c: Include <float.h>.
921 (__ieee754_exp2l): Handle overflow and underflow cases
922 separately. Only pass fractional part of argument to
923 __ieee754_expl.
924 * math/libm-test.inc (exp2_test): Add more tests.
925
c0df8e69
JM
926 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
927 negating x to take absolute value.
928 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
929 Likewise.
930 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
931 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
932 Likewise.
933 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
934 computing low part if x was negated.
935 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
936
c8e43ba7
L
9372012-03-21 H.J. Lu <hongjiu.lu@intel.com>
938
939 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
940 la_x32_gnu_pltexit.
941 (pltexit): Cast int_retval to ptrdiff_t.
942 * elf/tst-auditmod3b.c: Likewise.
943 * elf/tst-auditmod4b.c: Likewise.
944 * elf/tst-auditmod5b.c: Likewise.
945 * elf/tst-auditmod6b.c: Likewise.
946 * elf/tst-auditmod6c.c: Likewise.
947 * elf/tst-auditmod7b.c: Likewise.
948
949 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
950 and x32_gnu_pltexit.
951
952 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
953 __ELF_NATIVE_CLASS.
954 (La_x32_regs): New macro.
955 (La_x32_retval): Likewise.
956 (la_x32_gnu_pltenter): New function prototype.
957 (la_x32_gnu_pltexit): Likewise.
958
7998fa78
AS
9592012-03-21 Andreas Schwab <schwab@linux-m68k.org>
960
dcb33988
AS
961 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
962 exponent.
963
233fc563
AS
964 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
965
7998fa78
AS
966 * configure.in (libc_cv_cc_nofma): Check for option to disable
967 generation of FMA instructions.
968 * configure: Regenerate.
969 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
970 * sysdeps/ieee754/dbl-64/Makefile: New file.
971 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
972 Remove brandred-fma4.
973 (CFLAGS-brandred-fma4.c): Remove.
974 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
975 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
976 define.
977 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
978 define.
979
8e95c99a
L
9802012-03-21 H.J. Lu <hongjiu.lu@intel.com>
981
982 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
983 LLONG_MAX != LONG_MAX.
984 (_itoa_word): Use _ITOA_WORD_TYPE on value.
985 (_fitoa_word): Likewise.
986 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
987 LLONG_MAX != LONG_MAX.
988 * stdio-common/_itowa.h: Include <_itoa.h>.
989 (_itowa_word): Use _ITOA_WORD_TYPE on value.
990 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
991 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
992 only if not defined.
993 (_ITOA_WORD_TYPE): Likewise.
994 (_itoa_word): Use _ITOA_WORD_TYPE on value.
995 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
996
6f4db457
DM
9972012-03-21 David S. Miller <davem@davemloft.net>
998
999 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1000
7785fe5a
L
10012012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1002
1003 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
1004 of x86_64 when setting libc_cv_slibdir, libdir and
1005 libc_cv_localedir.
1006 * sysdeps/unix/sysv/linux/configure: Regenerated.
1007
4535cd55
JM
10082012-03-21 Joseph Myers <joseph@codesourcery.com>
1009
1010 * manual/lang.texi (Old Varargs): Remove section.
1011 (How Variadic): Update menu.
1012 (va_start): Do not mention varargs.h.
1013
17228132
TS
10142012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1015 Joseph Myers <joseph@codesourcery.com>
1016
1017 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
1018 link test.
1019 * configure: Regenerated.
1020
8149f976
TS
10212012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1022
05f3d1f6
UD
1023 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
1024 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
1025 conformtest.pl
8149f976 1026
1a4ac776
JM
10272012-03-21 Joseph Myers <joseph@codesourcery.com>
1028
be22ce65
JM
1029 * NOTES: Remove.
1030 * Makefile (files-for-dist): Remove NOTES.
1031 (NOTES): Remove rule.
1032 * README: Don't refer to NOTES.
1033 * manual/creature.texi: Don't include macros.texi.
1034 * manual/intro.texi (creature.texi): Remove comment referring to
1035 NOTES.
1036
40b601fb
JM
1037 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
1038 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
1039 * configure: Regenerated.
1040 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
1041 LIBC_TRY_CC_OPTION.
1042 (libc_cv_as_i686): Likewise.
1043 (libc_cv_cc_avx): Likewise.
1044 (libc_cv_cc_sse2avx): Likewise.
1045 (libc_cv_cc_fma4): Likewise.
1046 (libc_cv_cc_novzeroupper): Likewise.
1047 * sysdeps/i386/configure: Regenerated.
1048
1a4ac776
JM
1049 [BZ #13883]
1050 * sysdeps/i386/fpu/s_cexp.S: Remove.
1051 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1052 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1053 * math/libm-test.inc (cexp_test): Add more tests.
1054 * sysdeps/i386/fpu/libm-test-ulps: Update.
1055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1056
a458e7fe
AM
10572012-03-21 Allan McRae <allan@archlinux.org>
1058
1059 * timezone/Makefile: Do not install iso3166.tab and zone.tab
1060
0cb7efc5
JM
10612012-03-21 Joseph Myers <joseph@codesourcery.com>
1062
1063 [BZ #13871]
1064 * math/w_exp2.c: Do not include <float.h>.
1065 (o_threshold, u_threshold): Remove.
1066 (__exp2): Calculate result before checking finiteness and calling
1067 __kernel_standard.
1068 * math/w_exp2f.c: Likewise.
1069 * math/w_exp2l.c: Likewise.
1070 * math/libm-test.inc (exp2_test): Require overflow exception for
1071 1e6 input.
2460d3aa
JM
1072
1073 [BZ #3866]
1074 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
1075 range of signed 64-bit integers before using fistpll. Remove
1076 checks for whether integers fit in mantissa bits.
1077 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
1078 the range of signed 32-bit integers before using fistpl. Remove
1079 checks for whether integers fit in mantissa bits.
1080 * sysdeps/i386/fpu/e_powl.S (p64): New object.
1081 (__ieee754_powl): Test for y outside the range of signed 64-bit
1082 integers before using fistpll. Reduce 64-bit values to 63-bit
1083 ones as needed.
1084 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
1085 divide-by-zero is raised for zero to large negative powers.
1086 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
1087 (__ieee754_powl): Test for y outside the range of signed 64-bit
1088 integers before using fistpll. Reduce 64-bit values to 63-bit
1089 ones as needed.
1090 * math/libm-test.inc (pow_test): Add more tests.
1091
eb96ffb0
L
10922012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1093
1094 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
1095 <stdio-common/_itoa.h>.
1096 * debug/segfault.c: Likewise.
1097 * elf/dl-cache.c: Likewise.
1098 * elf/dl-minimal.c: Likewise.
1099 * elf/dl-misc.c: Likewise.
1100 * elf/dl-sysdep.c: Likewise.
1101 * elf/dl-version.c: Likewise.
1102 * elf/rtld.c: Likewise.
1103 * hurd/hurdsock.c: Likewise.
1104 * hurd/lookup-retry.c: Likewise.
1105 * malloc/malloc.c: Likewise.
1106 * malloc/mtrace.c: Likewise.
1107 * nscd/nscd_getgr_r.c: Likewise.
1108 * nscd/nscd_getpw_r.c: Likewise.
1109 * nscd/nscd_getserv_r.c: Likewise.
1110 * posix/getopt_init.c: Likewise.
1111 * posix/wordexp.c: Likewise.
1112 * stdio-common/_itoa.c: Likewise.
1113 * stdio-common/printf_fphex.c: Likewise.
1114 * stdio-common/vfprintf.c: Likewise.
1115 * string/_strerror.c: Likewise.
1116 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
1117 * sysdeps/i386/i686/hp-timing.h: Likewise.
1118 * sysdeps/mach/_strerror.c: Likewise.
1119 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
1120 * sysdeps/mach/hurd/sethostid.c: Likewise.
1121 * sysdeps/mach/hurd/xmknodat.c: Likewise.
1122 * sysdeps/mach/xpg-strerror.c: Likewise.
1123 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1124 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1125 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
1126 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
1127 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1128 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
1129 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1130 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1131 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
1132 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
1133 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1134 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1135 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1136 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1137 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1138 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
1139 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1140 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1141 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1142 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1143 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
1144
1145 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
1146
1147 * stdio-common/_itoa.h: Moved to ...
1148 * sysdeps/generic/_itoa.h: Here.
1149
1150 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
1151
1152 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
1153 instead of "_itoa.h" and "_itowa.h".
1154 * stdio-common/vfprintf.: Likewise.
1155
d1af992d
L
11562012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1157
1158 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
1159 <bits/wordsize.h>.
1160 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
1161 (__signbit): Likwise.
1162 (llrintf): Likwise.
1163 (llrint): Likwise.
1164
114883e0
L
11652012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1166
1167 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
1168 __WORDSIZE != 64.
1169
c135cc1b
JM
11702012-03-20 Joseph Myers <joseph@codesourcery.com>
1171
1172 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
1173 OVERFLOW_EXCEPTION_OK.
1174 * math/libm-test.inc ("Philosophy"): Update comment about
1175 exception testing.
1176 (OVERFLOW_EXCEPTION): Define.
1177 (OVERFLOW_EXCEPTION_OK): Likewise.
1178 (INVALID_EXCEPTION_OK): Renumber.
1179 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1180 (IGNORE_ZERO_INF_SIGN): Likewise.
1181 (test_exceptions): Handle FE_OVERFLOW.
1182 (exp10_test): Expect overflow exceptions.
1183 (exp2_test): Likewise.
1184 (expm1_test): Likewise.
1185 (nextafter_test): Likewise.
1186 (pow_test): Likewise.
1187 (scalbn_test): Likewise.
1188 (scalbln_test): Likewise.
1189
95443d88
L
11902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1191
1192 * sysdeps/x86_64/bits/atomic.h
1193 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
1194 64bit integer.
1195 (atomic_exchange_acq): Likewise.
1196 (__arch_exchange_and_add_body): Likewise.
1197 (__arch_add_body): Likewise.
1198 (atomic_add_negative): Likewise.
1199 (atomic_add_zero): Likewise.
1200
490df6c4
L
12012012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1202
c2722551 1203 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
1204 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
1205
5e52b189
L
12062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1207
1208 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
1209 Check __x86_64__ instead of __WORDSIZE.
1210
a9879d4c
L
12112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1212
1213 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
1214
5df98260
DM
12152012-03-19 David S. Miller <davem@davemloft.net>
1216
e1497744
DM
1217 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1218
5df98260
DM
1219 * sysdeps/sparc/fpu/fenv_private.h: New file.
1220 * sysdeps/sparc/fpu/math_private.h: Use it.
1221 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1222 Remove.
1223 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1224 (libc_feholdexcept_setroundl): Remove.
1225 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1226 Remove.
1227 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1228 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1229
b4c35121
L
12302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1231
1232 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1233 int64_t instead of long int.
1234 (INSERT_WORDS64): Likwise.
1235
56965fd7
L
12362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1237
1238 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1239 _Unwind_GetCFA return to _Unwind_Ptr first.
1240
83d1aec8
JM
12412012-03-19 Joseph Myers <joseph@codesourcery.com>
1242
1897ad44
JM
1243 [BZ #13629]
1244 * math/s_clog.c: Include <float.h>.
1245 (__clog): Scale large or subnormal inputs.
1246 * math/s_clogf.c: Likewise.
1247 * math/s_clogl.c: Likewise.
1248 * math/s_clog10.c: Include <float.h>.
1249 (M_LOG10_2): Define.
1250 (__clog10): Scale large or subnormal inputs.
1251 * math/s_clog10f.c: Likewise.
1252 * math/s_clog10l.c: Likewise.
1253 * math/libm-test.inc (clog_test): Add more tests.
1254 (clog10_test): Likewise.
1255 * sysdeps/i386/fpu/libm-test-ulps: Update.
1256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1257
7726d6a9
JM
1258 [BZ #11451]
1259 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1260 x and y.
1261 * math/libm-test.inc (atan2_test): Add another test.
1262
83d1aec8
JM
1263 * Makerules (common-objdir-compile): Remove.
1264 * sysdeps/unix/Makefile (config-generated): Do not add
1265 $(unix-generated) to variable.
1266 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1267 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1268 Remove rule.
1269 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1270 Likewise.
1271 [generic bits/local_lim.h] (before-compile): Do not append to
1272 variable.
1273 [generic bits/local_lim.h] (common-generated): Likewise.
1274 [generic sys/param.h] (before-compile): Do not append to variable.
1275 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1276 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1277 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1278 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1279 include.
1280 [generic sys/param.h] (sys/param.h-includes): Remove variable.
1281 [generic sys/param.h] (sys/param.h-includes): Remove rule.
1282 [generic sys/param.h] ($(addprefix
1283 $(common-objpfx),$(sys/param.h-includes))): Likewise.
1284 [generic sys/param.h] (common-generated): Do not append to
1285 variable.
1286 [generic sys/param.h] (sysdep_headers): Likewise.
1287 [generic bits/errno.h] (before-compile): Do not append to
1288 variable.
1289 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
1290 rule.
1291 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
1292 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
1293 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
1294 [generic bits/errno.h] (common-generated): Do not append to
1295 variable.
1296 [generic bits/ioctls.h] (before-compile): Do not append to
1297 variable.
1298 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
1299 rule.
1300 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
1301 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
1302 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
1303 rule.
1304 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
1305 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
1306 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
1307 [generic bits/ioctls.h] (common-generated): Do not append to
1308 variable.
1309 [generic sys/syscall.h] (syscall.h): Remove variable.
1310 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
1311 rule.
1312 [generic sys/syscall.h] (before-compile): Do not append to
1313 variable.
1314 [generic sys/syscall.h] (common-generated): Likewise.
1315 * sysdeps/unix/errnos-tmpl.c: Remove file.
1316 * sysdeps/unix/errnos.awk: Likewise.
1317 * sysdeps/unix/ioctls-tmpl.c: Likewise.
1318 * sysdeps/unix/ioctls.awk: Likewise.
1319 * sysdeps/unix/mk-local_lim.c: Likewise.
1320 * sysdeps/unix/snarf-ioctls: Likewise.
1321
4851a949
RH
13222012-03-19 Richard Henderson <rth@twiddle.net>
1323
bd37f2ee
RH
1324 * sysdeps/i386/fpu/fenv_private.h: New file.
1325 * sysdeps/i386/fpu/math_private.h: Use it.
1326 (math_opt_barrier, math_force_eval): Remove.
1327 (libc_feholdexcept_setround_53bit): Remove.
1328 (libc_feupdateenv_53bit): Remove.
1329 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1330 (math_opt_barrier, math_force_eval): Remove.
1331 (libc_feholdexcept): Remove.
1332 (libc_feholdexcept_setround): Remove.
1333 (libc_fetestexcept, libc_fesetenv): Remove.
1334 (libc_feupdateenv_test): Remove.
1335 (libc_feupdateenv, libc_feholdsetround): Remove.
1336 (libc_feresetround): Remove.
1337
d0adc922
RH
1338 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1339 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1340
0fe0f1f8
RH
1341 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1342 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1343 (libc_feupdateenv_testl): New.
1344 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1345 (libc_feupdateenv_testf): New.
1346 (libc_feupdateenv): Use libc_feupdateenv_test.
1347 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1348 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1349
eb92c487
RH
1350 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1351 (libc_feholdsetroundf, libc_feholdsetroundl): New.
1352 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1353 (libc_feresetround_noex): New.
1354 (libc_feresetround_noexf): New.
1355 (libc_feresetround_noexl): New.
1356 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1357 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1358 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1359 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1360 SET_RESTORE_ROUND.
1361 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1362 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1363 (__cos): Likewise.
1364 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1365 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1366 SET_RESTORE_ROUND_NOEX.
1367 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1368 SET_RESTORE_ROUND_NOEXF.
1369 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1370 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1371 (libc_feholdsetroundf): New.
1372 (libc_feresetround, libc_feresetroundf): New.
1373
7d2e8012
RH
1374 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1375 (libc_feholdexcept_setround_53bit): Convert from macro to function.
1376 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
1377
b4dabbb4
RH
1378 * sysdeps/generic/math_private.h: Include <fenv.h>.
1379 (default_libc_feholdexcept): New.
1380 (default_libc_feholdexcept_setround): New.
1381 (default_libc_fesetenv, default_libc_feupdateenv): New.
1382 (libc_feholdexcept): Only define if undefined.
1383 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1384 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1385 (libc_feholdexcept_setroundl): Likewise.
1386 (libc_feholdexcept_setround_53bit): Likewise.
1387 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1388 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1389 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1390 (libc_feupdateenv_53bit): Likewise.
1391 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1392 (libc_feholdexcept): Convert from macro to inline function.
1393 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1394 (libc_fesetenv, libc_feupdateenv): Likewise.
1395
4851a949
RH
1396 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1397 not previously defined.
1398 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1399 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1400 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1401 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1402 * sysdeps/ieee754/flt-32/math_private.h: New file.
1403 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1404 math_private.h below SET_FLOAT_WORD.
1405 (__isnan, __isinf_ns, __finite): Remove.
1406 (__isnanf, __isinf_nsf, __finitef): Remove.
1407
e79d442e
AS
14082012-03-18 Andreas Schwab <schwab@linux-m68k.org>
1409
1410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1411
90b80344
DM
14122012-03-17 David S. Miller <davem@davemloft.net>
1413
1414 [BZ #6471]
1415 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1416 for 2.16.
1417
edc21804
DM
14182012-03-16 David S. Miller <davem@davemloft.net>
1419
77e927af
DM
1420 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1421 warnings.
1422
374976dd
DM
1423 [BZ #6471]
1424 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1425 properly.
1426 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1427 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1428 sysdep_routines when subdir is sysvipc.
1429 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1430 __getshmlba helper.
1431
edc21804
DM
1432 * sysdeps/sparc/fpu/libm-test/ulps: Update.
1433
473c3ef3
L
14342012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1435
1436 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1437 [__LP64__].
1438
eb0f39b6
L
14392012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1440
1441 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1442 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1443 (__lround): Renamed to ...
1444 (__llround): This. Replace long int with long long int.
1445 Define lround functions as aliases of llround functions.
1446 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1447
6b6cd74b
L
14482012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1449
1450 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1451 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
1452 adresses to uintptr_t. Replace "long int" and "unsigned long
1453 int" with "greg_t" on va_arg.
1454
f1a77b01
L
14552012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1456
1457 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1458 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1459
1460 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1461 Move e_machine check before EI_CLASS check. Handle x32
1462 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1463 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1464 SKIP_EM_IA_64 and include
1465 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1466
1467 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1468 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1469 (add_system_dir): New macro.
1470
1471 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1472 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1473
11b90b9f
JM
14742012-03-16 Joseph Myers <joseph@codesourcery.com>
1475
c36e1d23
JM
1476 [BZ #2551]
1477 [BZ #2552]
1478 [BZ #2553]
1479 [BZ #2554]
1480 [BZ #2562]
1481 [BZ #2563]
1482 [BZ #2565]
1483 [BZ #2566]
1484 [BZ #2576]
1485 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1486 (y0): Likewise.
1487 * math/w_j0f.c (j0f): Likewise.
1488 (y0f): Likewise.
1489 * math/w_j0l.c (__j0l): Likewise.
1490 (__y0l): Likewise.
1491 * math/w_j1.c (j1): Likewise.
1492 (y1): Likewise.
1493 * math/w_j1f.c (j1f): Likewise.
1494 (y1f): Likewise.
1495 * math/w_j1l.c (__j1l): Likewise.
1496 (__y1l): Likewise.
1497 * math/w_jn.c (jn): Likewise.
1498 (yn): Likewise.
1499 * math/w_jnf.c (jnf): Likewise.
1500 (ynf): Likewise.
1501 * math/w_jnl.c (__jnl): Likewise.
1502 (__ynl): Likewise.
1503 * math/libm-test.inc (j0_test): Add more tests.
1504 (j1_test): Likewise.
1505 (jn_test): Likewise. Add trailing semicolon to existing test.
1506 (y0_test): Likewise.
1507 (y1_test): Likewise.
1508 * sysdeps/i386/fpu/libm-test-ulps: Update.
1509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1510
11b90b9f
JM
1511 [BZ #13851]
1512 [BZ #13854]
1513 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1514 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1515 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1516 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1517 (__tanl): Set errno for infinite argument.
1518 * sysdeps/i386/fpu/mptan.c: Remove.
1519 * sysdeps/i386/fpu/s_tan.S: Likewise.
1520 * sysdeps/i386/fpu/s_tanl.S: Likewise.
1521 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1522 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1523 * math/libm-test.inc (tan_test): Add more tests and enable more
1524 tests for double and long double.
1525 * sysdeps/i386/fpu/libm-test-ulps: Update.
1526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1527
6a1bd2a1
JK
15282012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1529
1530 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1531 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1532
10a803e0
RM
15332012-03-16 Roland McGrath <roland@hack.frob.com>
1534
1535 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1536 * configure.in: Use it for both main tree and add-ons.
1537 * configure: Regenerated.
1538
f196c7f7
L
15392012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1540
1541 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1542
8848d99d
JM
15432012-03-16 Joseph Myers <joseph@codesourcery.com>
1544
96cbe7f4
JM
1545 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1546 in comment.
1547
8848d99d
JM
1548 [BZ #13851]
1549 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1550 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1551 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1552 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1553 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1554 infinite argument.
1555 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1556 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1557 != 0 for prec == 2.
1558 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1559 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1560 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1561 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1562 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1563 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1564 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1565 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1566 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1567 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1568 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1569 * math/libm-test.inc (cos_test): Add more tests and enable more
1570 tests for long double.
1571 (sin_test): Likewise.
1572 (sincos_test): Likewise.
1573 * sysdeps/i386/fpu/libm-test-ulps: Update.
1574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1575
dd7f4703
DM
15762012-03-16 David S. Miller <davem@davemloft.net>
1577
1578 * sysdeps/sparc/fpu/math_private.h: New file.
1579
006f1daa
DM
15802012-03-15 David S. Miller <davem@davemloft.net>
1581
c0c83bc8
DM
1582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1583 file.
e6a62e18 1584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
1585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1586 file.
e6a62e18
DM
1587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1588 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1589 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1590 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1591 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1592 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1593 sysdep routines.
1594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1595
88cb87d9
DM
1596 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1597 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1598
006f1daa 1599 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
1600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1601 sparc-ifunc.h
006f1daa 1602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
1603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1604 Likewise.
1605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1606 Likewise.
006f1daa
DM
1607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
1610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1611 Likewise.
006f1daa
DM
1612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
1616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1617 Likewise.
1618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1619 Likewise.
006f1daa
DM
1620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1624 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1625 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1626 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1627 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1628 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1629 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1630 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1631 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1632 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1633 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1634 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1635 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1636 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1637 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1638 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1639 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1640 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1641 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1642 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1643 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1644
11e0098e
AS
16452012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1646
1647 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1648 scaling.
1649 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1650
e85b09d0
AJ
16512012-03-15 Andreas Jaeger <aj@suse.de>
1652
1653 [BZ #13852]
1654 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1655 ieee754/flt-32 implementation for sin, cos and sincos.
1656 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1657 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1658 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1659 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1660 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1661 ieee754/flt-32 implementation for tan.
1662
1663 * math/libm-test.inc (cos_test): Enable some large input tests for
1664 float as well
1665 (sin_test): Likewise.
1666 (sincos_test): Likewise.
1667 (tan_test): Add tests for large input.
1668
1669 * sysdeps/i386/fpu/libm-test-ulps: Update.
1670
81c64153
AJ
16712012-03-15 Andreas Jaeger <aj@suse.de>
1672
1673 [BZ #13658]
1674 * math/libm-test.inc (cos_test): Add more test cases.
1675 (sin_test): Likewise.
1676 (sincos_test): Likewise.
1677
7bbfa5c6
AJ
16782012-03-15 Andreas Jaeger <aj@suse.de>
1679
1680 [BZ #13837]
1681 * math/libm-test.inc (cos_test): Add a test case for large input
1682 value.
1683 (sin_test): Likewise.
1684 (sincos_test): Likewise.
1685
16862012-03-15 Andreas Jaeger <aj@suse.de>,
1687 Joseph Myers <joseph@codesourcery.com>
1688
1689 [BZ #13658]
0671f479 1690 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
1691 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1692 * sysdeps/i386/fpu/branred.c: Likewise.
1693 * sysdeps/i386/fpu/dosincos.c: Likewise.
1694 * sysdeps/i386/fpu/mpa.c: Likewise.
1695 * sysdeps/i386/fpu/s_cos.S: Likewise.
1696 * sysdeps/i386/fpu/s_sin.S: Likewise.
1697 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1698 * sysdeps/i386/fpu/sincos32.c: Likewise.
1699
1700 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1701 Define.
1702 (libc_feupdateenv_53bit): Define.
1703 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1704 Define.
1705 (libc_feupdateenv_53bit): Define.
1706
1707 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1708 53 bit (without extend i386 double precision).
1709
1710 * math/libm-test.inc (sincos_test): Add tests for large input.
1711 (sin): Likewise.
1712 (cos): Likewise.
1713
1714 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1715
9cad04ea
AS
17162012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1717
1718 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1719
f7062b9a
DM
17202012-03-15 David S. Miller <davem@davemloft.net>
1721
1722 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1723 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1724 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1725 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1728 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1729 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1730 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1731 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1732 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1733 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1734 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1735 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1736 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
1737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1738 file.
f7062b9a 1739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
1740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1741 file.
f7062b9a 1742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
1743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1744 file.
f7062b9a 1745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
1746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1747 file.
f7062b9a
DM
1748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1749 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1750 fmin/fmax sysdep routines.
1751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1752
7bd951ff
DM
17532012-03-14 David S. Miller <davem@davemloft.net>
1754
559398ab
DM
1755 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1756 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1757 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1758 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1759 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1760 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1761 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1762 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1763 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1764 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1765 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1766 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1767 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1768 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1769 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1770 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1771 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1772 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1773 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1774 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1775 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1776 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1777 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1778 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1779 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1780 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1781 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1782 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1783 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1784 routines.
1785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1786 file.
559398ab 1787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
1788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1789 file.
559398ab 1790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
1791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1792 file.
559398ab 1793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
1794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1795 file.
559398ab 1796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
1797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1798 file.
559398ab 1799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
1800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1801 file.
1802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1803 file.
1804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1805 file.
1806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1807 file.
1808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1809 New file.
1810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1811 file.
1812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1813 file.
559398ab 1814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
1815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1816 file.
559398ab 1817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1819 file.
559398ab 1820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
1821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1822 file.
559398ab 1823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
1824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1825 VIS3 routines.
559398ab
DM
1826
1827 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1828 New file.
1829
5a1c1e32
DM
1830 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1831
eae47a36
DM
1832 * sysdeps/sparc/configure.in: New file.
1833 * sysdeps/sparc/configure: Generate.
1834 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1835 * configure: Regenerate.
1836 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1837 * config.make.in (have-as-vis3): New.
1838 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1839 available use -Av9d instead of -Av9a.
1840 * sysdeps/sparc/sparc64/Makefile: Likewise.
1841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
1842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1843 New file.
1844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1845 file.
1846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1847 New file.
1848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1849 file.
eae47a36
DM
1850 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1851 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1852 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1853 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1854 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1855
c0c83bc8
DM
1856 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1857 fzeros/fnegs to load 0x80000000 into a float register instead of
1858 using the stack.
7bd951ff
DM
1859 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1860
bd951ccb
JM
18612012-03-14 Joseph Myers <joseph@codesourcery.com>
1862
1863 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1864 bits/syscall.h.
1865 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1866 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1867 ($(inst_includedir)/bits/syscall.h): Remove rule.
1868 ($(objpfx)bits/syscall.d): Include instead of
1869 $(objpfx)syscall-list.d.
1870 (generated): Change syscall-list.h and syscall-list.d to
1871 bits/syscall.h and bits/syscall.d.
1872
bb4e6db2
RM
18732012-03-14 Roland McGrath <roland@hack.frob.com>
1874
1875 [BZ #13846]
1876 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1877
aa4a2ae1
JM
18782012-03-14 Joseph Myers <joseph@codesourcery.com>
1879
e456826d
JM
1880 [BZ #13841]
1881 * math/s_csqrt.c: Include <float.h>.
1882 (__csqrt): Scale large or subnormal inputs.
1883 * math/s_csqrtf.c: Likewise.
1884 * math/s_csqrtl.c: Likewise.
1885 * math/libm-test.inc (csqrt_test): Add more tests.
1886 * sysdeps/i386/fpu/libm-test-ulps: Update.
1887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1888
aa4a2ae1
JM
1889 [BZ #13840]
1890 * math/libm-test.inc (hypot_test): Add more tests.
1891
7c10fd35
DM
18922012-03-13 David S. Miller <davem@davemloft.net>
1893
1894 [BZ #13840]
1895 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1896 double-precision for the calculation instead of scaling.
1897
f453b98b
JM
18982012-03-13 Joseph Myers <joseph@codesourcery.com>
1899
1900 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1901 manipulate bits before adding and subtracting TWO52[sx].
1902 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1903 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1904 Likewise.
1905 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1906
09a3453f
DM
19072012-03-13 David S. Miller <davem@davemloft.net>
1908
8e59da90
DM
1909 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1910 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1911 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1912 rtld-global-offsets.h
1913 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1914
2a8ab7f2
DM
1915 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1916 large parameters.
1917
10f62770
DM
1918 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1919
5f0bdb18
DM
1920 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1921 'err' in the ifdef scope in which it is actually used.
1922
09a3453f
DM
1923 * nss/nss_db/db-init.c: Include string.h
1924
b4b2eb5e
DM
19252012-03-12 David S. Miller <davem@davemloft.net>
1926
98bb2f1c
DM
1927 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1928 masking out of the most significant byte of random value used.
1929 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1930 Fix coding style in previous change.
1931
b4b2eb5e
DM
1932 * sysdeps/unix/sysv/linux/kernel-features.h
1933 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1934 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1935 expression.
1936 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1937 later.
1938
6e226b09
DM
19392012-03-11 David S. Miller <davem@davemloft.net>
1940
a1bcbd40
DM
1941 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1942 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1943 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1944 for 'resultvar' otherwise things get truncated on 64-bit.
1945
cb9d6174
DM
1946 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1947 Fix masking out of the most significant byte of random value used.
1948
6e226b09
DM
1949 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1950
058c132d
AS
19512012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1952
1953 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1954
2d2cd515
DM
19552012-03-09 David S. Miller <davem@davemloft.net>
1956
1957 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1958 variables with appropriate CPP guards.
1959 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1960 frame pointer, not the stack pointer. Correct layout comments. Fix test
1961 on resulting framesize and the management of the outregs buffer for pltexit.
1962 Preserve floating point return values across _dl_call_pltexit call.
1963 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1964 framesize and the management of the outregs buffer for pltexit.
1965 Preserve floating point return values across _dl_call_pltexit
1966 call.
1967 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1968 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1969 (print_exit): Fix format string for return register value.
1970
9a07f9d0
JM
19712012-03-10 Joseph Myers <joseph@codesourcery.com>
1972
1973 * sunrpc/Makefile (others): Add rpcgen.
1974 ($(objpfx)rpcgen): Remove special build rule and dependency on
1975 libc.
1976 * sunrpc/rpcgen.c: New file.
1977
547b5e30
PE
19782012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1979
c524201a
PE
1980 [BZ #13673]
1981 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1982 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1983 * sysdeps/i386/crti.S: Likewise.
1984 * sysdeps/i386/crtn.S: Likewise.
1985 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1986 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1987 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1988 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1989 * sysdeps/sh/crti.S: Likewise.
1990 * sysdeps/sh/crtn.S: Likewise.
1991 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1992
7b6235f2
PE
1993 [BZ #13673]
1994 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1995 with URL.
1996 * locale/programs/locfile-kw.gperf: Likewise.
1997 * locale/programs/charmap-kw.h: Regenerated.
1998 * locale/programs/locfile-kw.h: Likewise.
1999
547b5e30
PE
2000 [BZ #13673]
2001 * intl/plural.y: Replace FSF snail mail address with URL.
2002 * intl/plural.c: Regenerated.
2003
5f0a5dae
RH
20042012-03-09 Richard Henderson <rth@twiddle.net>
2005
2006 * include/math_private.h: Remove file.
2007 * math/math_private.h: Move file ...
2008 * sysdeps/generic/math_private.h: ... here.
2009
b8c03620
RH
2010 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
2011 * sysdeps/powerpc/fpu/math_private.h: Likewise.
2012 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2013
4e234f5d 2014 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
2015 and <math_private.h>.
2016 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2017 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2018 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2019 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2020 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2021 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2022 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2023 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2024 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2025 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2026 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2027 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2028 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2029 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2030 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2031 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2032 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2033 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2034 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2035 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2036 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2037 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2038 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2039 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2040 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2041 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2042 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2043 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2044 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2045 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2046 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2047 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2048 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2049 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2050 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2051 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2052 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2053 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2054 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2055 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2056 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
2057 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2058 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2059 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2060 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2061 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2062 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
2063 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2064 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2065 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2066 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2067 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
2068 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2069 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2070 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2071 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2072 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2073 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2074 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2075 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
2076 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2077 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2078 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2079 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2080 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
2081 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2082 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2083 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2084 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
2085 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
2086 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2087 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2088 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2089 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2090 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
2091 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2092 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
2093 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2094 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
2095 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
2096 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2097 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
2098 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2099 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
2100 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2101 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2102 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
2103 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2104 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
2105 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2106 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2107 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
2108 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2109 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
2110 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
2111 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
2112 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2113 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2114 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2115 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
2116 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
2117 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
2118 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
2119 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
2120 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2121 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
2122 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2123 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
2124 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2125 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2126 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2127 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2128 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2129 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2130 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
2131 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2132 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2133 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2134 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2135 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2136 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2137 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2138 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2139 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
2140 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2141 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2142 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2143 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
2144 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2145 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
2146 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
2147 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2148 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2149 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
2150 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
2151 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2152 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2153 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2154 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
2155 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2156 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2157 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2158 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2159 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
2160 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
2161 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2162 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2163 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2164 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2165 * sysdeps/ieee754/k_standard.c: Likewise.
2166 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2167 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2168 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2169 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2170 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2171 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2172 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2173 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2174 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2175 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2176 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2177 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2178 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2179 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2180 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2181 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2182 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2183 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2184 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2185 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2186 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2187 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2188 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2189 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2190 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2191 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2192 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2193 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2194 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2195 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2196 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2197 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2198 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2199 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2200 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2201 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2202 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2203 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
2204 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2205 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2206 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2207 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2208 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2209 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2210 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2211 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2212 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2213 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2214 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2215 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2216 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2217 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2218 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2219 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2220 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2221 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2222 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2223 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2224 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2225 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2226 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2227 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2228 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2229 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2230 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2231 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2232 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2233 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2234 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2235 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2236 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2237 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2238 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2239 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2240 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2241 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2242 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2243 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2244 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2245 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2246 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2247 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2248 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2249 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2250 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2251 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2252 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2253 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2254 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2255 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2256 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2257 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2258 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2259 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2260 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2261 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2262 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2263 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2264 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2265 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2266 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2267 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2268 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2269 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2270 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2271 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2272 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2273 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2274 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2275 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2276 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2277 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2278 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2279 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2280 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2281 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2282 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2283 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2284 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2285 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2286 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2287 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2288 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2289 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2290 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2291 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2292 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2293 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2294 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2295 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2296 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2297 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2298 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2299 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2300 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2301 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2302 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
2303 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2304 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2305 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
2306 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
2307 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2308 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
2309 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
2310 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2311 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2312 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2313 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2314 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2315 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
2316 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2317 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2318 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2319 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2320 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
2321 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
2322 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2323 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2324 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2325 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2326 * sysdeps/ieee754/s_lib_version.c: Likewise.
2327 * sysdeps/ieee754/s_matherr.c: Likewise.
2328 * sysdeps/ieee754/s_signgam.c: Likewise.
2329 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2330 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2331 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2332 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2333 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2334 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2335 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2336 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2337 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2338 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2339 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2340 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2341 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2342 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2343 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2344 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2345 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2346 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2347 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2348 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2349 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 2350
1991fa03
JM
23512012-03-09 Joseph Myers <joseph@codesourcery.com>
2352
2353 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2354 * sunrpc/rpc_main.c: Likewise.
2355 * sunrpc/rpc_svcout.c: Likewise.
2356
60d6f5a6
DM
23572012-03-09 David S. Miller <davem@davemloft.net>
2358
2359 * include/math_private.h: New file.
2360
4962050e
JM
23612012-03-09 Joseph Myers <joseph@codesourcery.com>
2362
02a6f887
JM
2363 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2364 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2365 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2366 from <bits/socket_type.h>.
2367 (enum __socket_type): Don't define here.
2368 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2369 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2370 bits/socket_type.h.
2371
c6e013c1
JM
2372 [BZ #13566]
2373 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2374 checking __USE_GNU.
2375
4962050e
JM
2376 * Makerules ($(inst_includedir)/%.h): New rule.
2377 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2378 (install-others): Remove variable setting.
2379 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2380
38842f45
RH
23812012-03-08 Richard Henderson <rth@twiddle.net>
2382
67bb6da6
RH
2383 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2384 from macro to inline function; merge with the
2385 !__LIBC_INTERNAL_MATH_INLINES version.
2386 (__ieee754_sqrtf): Likewise.
2387
15194b4b
RH
2388 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2389 to inline function.
2390 (__rintf, __floor, __floorf): Likewise.
2391
64e21ede
RH
2392 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2393 macro to inline function.
2394 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2395
38842f45
RH
2396 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2397 not <math/math_private.h>.
2398
c64bf5fe
DM
23992012-03-08 David S. Miller <davem@davemloft.net>
2400
2401 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2402 copyright year.
2403 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2404
82d86f28
TS
24052012-03-08 Thomas Schwinge <thomas@codesourcery.com>
2406
2407 * resolv/gai_misc.c (handle_requests): Fix struct timespec
2408 normalization.
2409 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2410 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2411
aea5d727
UD
24122012-03-08 Ulrich Drepper <drepper@gmail.com>
2413
2414 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
2415 be defined individually, they must be defined as a block. Define
2416 S for printing a string instead of hidint the different by using a
2417 macro for adding the 'l'.
2418 * stdio-common/tst-fphex-wide.c: Adjust.
2419
70bca0a3
MP
24202012-03-07 Marek Polacek <polacek@redhat.com>
2421
2422 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2423
65b81130
MP
24242012-03-08 Marek Polacek <polacek@redhat.com>
2425
2426 [BZ #13806]
2427 * stdio-common/Makefile (tests): Add tst-fphex-wide.
2428 * stdio-common/tst-fphex.c: Define a few macros to make the
2429 test reusable. Use them.
2430 * stdio-common/tst-fphex-wide.c: New file.
2431
07037eeb
JM
24322012-03-08 Joseph Myers <joseph@codesourcery.com>
2433
a7a93d50
JM
2434 [BZ #6911]
2435 * manual/macros.texi (gnusystems): New macro.
2436 (nongnusystems): Likewise.
2437 (gnulinuxhurdsystems): Likewise.
2438 (gnuhurdsystems): Likewise..
2439 (gnulinuxsystems): Likewise.
2440 * manual/charset.texi: Use new macros or @theglibc{} to refer to
2441 variants of the GNU system, not "GNU system".
2442 * manual/conf.texi: Likewise.
2443 * manual/errno.texi: Likewise. Update example of errno macro
2444 expansion.
2445 * manual/filesys.texi: Likewise.
2446 (getumask): Document as specific to GNU/Hurd.
2447 * manual/install.texi: Likewise. Reword some references to
2448 GNU/Linux.
2449 * manual/intro.texi: Likewise.
2450 * manual/io.texi: Likewise.
2451 (File Name Portability): Detail which constraints are inapplicable
2452 to all GNU systems and which are only inapplicable to GNU/Hurd.
2453 * manual/job.texi: Likewise.
2454 * manual/llio.texi: Likewise.
2455 (O_NOCTTY): Document as present on GNU/Linux.
2456 * manual/maint.texi: Likewise.
2457 * manual/memory.texi: Likewise.
2458 * manual/pattern.texi: Likewise.
2459 * manual/pipe.texi: Likewise.
2460 * manual/process.texi: Likewise.
2461 * manual/resource.texi: Likewise.
2462 (RUSAGE_CHILDREN): Remove statement about specifying a particular
2463 child on GNU/Hurd.
2464 * manual/setjmp.texi: Likewise.
2465 * manual/signal.texi: Likewise.
2466 * manual/startup.texi: Likewise.
2467 * manual/stdio.texi: Likewise.
2468 * manual/terminal.texi: Likewise.
2469 (ONLCR): Document as POSIX.
2470 (OXTABS): Document availability on GNU/Linux as XTABS.
2471 (ONOEOT): Document availability separately from other bits.
2472 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2473 * manual/time.texi: Likewise.
2474 * manual/users.texi: Likewise.
2475 * INSTALL: Regenerated.
2476 * sysdeps/gnu/errlist.c: Regenerated.
2477
07037eeb
JM
2478 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2479 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2480 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
2481 puts.
2482 * configure: Regenerated.
2483
d1d3431a
JM
24842012-03-07 Joseph Myers <joseph@codesourcery.com>
2485
af6a1e37
JM
2486 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2487 default includes instead of AC_HEADER_CHECK.
2488 * sysdeps/i386/configure: Regenerated.
2489
d1d3431a
JM
2490 [BZ #10716]
2491 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2492 * math/s_cacoshf.c (__cacoshf): Likewise.
2493 * math/s_cacoshl.c (__cacoshl): Likewise.
2494 * math/s_casinh.c (__casinh): Set signs of result from argument.
2495 * math/s_casinhf.c (__casinhf): Likewise.
2496 * math/s_casinhl.c (__casinhl): Likewise.
2497 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2498 (casinh_test): Add more tests.
2499 * sysdeps/i386/fpu/libm-test-ulps: Update.
2500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2501
482ff4da
UD
25022012-03-07 Ulrich Drepper <drepper@gmail.com>
2503
872fda05
UD
2504 * po/zh_TW.po: Update from translation team.
2505
a4300c7a
UD
2506 * login/Makefile (distribute): Remove variable.
2507 * catgets/Makefile: Likewise.
2508 * mach/Makefile: Likewise.
2509 * malloc/Makefile: Likewise.
2510 * misc/Makefile: Likewise.
2511 * iconv/Makefile: Likewise.
2512 * nscd/Makefile: Likewise.
2513 * hurd/Makefile: Likewise.
2514 * manual/Makefile: Likewise.
2515 * locale/Makefile: Likewise.
2516 * intl/Makefile: Likewise.
2517 * conform/Makefile: Likewise.
2518 * nss/Makefile: Likewise.
2519 * time/Makefile: Likewise.
2520 * soft-fp/Makefile: Likewise.
2521 * dirent/Makefile: Likewise.
2522 * gmon/Makefile: Likewise.
2523 * po/Makefile: Likewise.
2524 * rt/Makefile: Likewise.
2525 * socket/Makefile: Likewise.
2526 * math/Makefile: Likewise.
2527 * signal/Makefile: Likewise.
2528 * debug/Makefile: Likewise.
2529 * elf/Makefile: Likewise.
2530 * timezone/Makefile: Likewise.
2531 * stdlib/Makefile: Likewise.
2532 * iconvdata/Makefile: Likewise.
2533 * sunrpc/Makefile: Likewise.
2534 * io/Makefile: Likewise.
2535 * argp/Makefile: Likewise.
2536 * inet/Makefile: Likewise.
2537 * hesiod/Makefile: Likewise.
2538 * grp/Makefile: Likewise.
2539 * csu/Makefile: Likewise.
2540 * wctype/Makefile: Likewise.
2541 * crypt/Makefile: Likewise.
2542 * libio/Makefile: Likewise.
2543 * string/Makefile: Likewise.
2544 * nis/Makefile: Likewise.
2545 * resolv/Makefile: Likewise.
2546 * stdio-common/Makefile: Likewise.
2547 * wcsmbs/Makefile: Likewise.
2548 * dlfcn/Makefile: Likewise.
2549 * posix/Makefile: Likewise.
2550
482ff4da
UD
2551 * timezone/Makefile: Don't install timezone files, just the programs
2552 and scripts.
2553
f72ed77d
UD
25542012-03-06 Ulrich Drepper <drepper@gmail.com>
2555
a000466f
UD
2556 * nss/databases.def: Add missing gshadow entry.
2557
f72ed77d
UD
2558 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2559
a53b7a4e
MP
25602012-03-06 Marek Polacek <polacek@redhat.com>
2561
2562 [BZ #13726]
2563 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2564 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2565 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2566 * stdio-common/tst-long-dbl-fphex.c: New file.
2567
e9258400
DM
25682012-03-06 David S. Miller <davem@davemloft.net>
2569
2570 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2571 (set_obp_int): New function.
2572 (get_obp_int): New function.
2573 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
2574 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2575 Avoid unused variable warnings on 'val' and use builtin_expect.
2576 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2577 __builtin_expect.
e9258400
DM
2578 (INLINE_CLONE_SYSCALL): Likewise.
2579
3bd2c723
DM
25802012-03-05 David S. Miller <davem@davemloft.net>
2581
2582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2583
bbb78d03
AS
25842012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2585
884c5db4
AS
2586 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2587
bbb78d03
AS
2588 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2589 only for |x| >= 40.
2590 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2591
1c9f702a 25922012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
2593
2594 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2595 Replace gettimeofday with __vdso_gettimeofday.
2596
7be16f82
RM
2597 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2598 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2599 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
2600
2601 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2602 time with __vdso_time.
2603
ed58a00f
JM
26042012-03-05 Joseph Myers <joseph@codesourcery.com>
2605
2606 * manual/lang.texi (size_t): Note types to which size_t may be
2607 equivalent with the GNU C Library, but do not describe when
2608 differences between them are significant.
2609
30ee4ced
AJ
26102012-03-05 Andreas Jaeger <aj@suse.de>
2611
2612 * sysdeps/i386/fpu/libm-test-ulps: Update.
2613
b7cd39e8
JM
26142012-03-05 Joseph Myers <joseph@codesourcery.com>
2615
2616 [BZ #3976]
2617 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2618 (__ieee754_pow): Save and restore rounding mode and use
2619 round-to-nearest for main computations.
2620 * math/libm-test.inc (pow_test_tonearest): New function.
2621 (pow_test_towardzero): Likewise.
2622 (pow_test_downward): Likewise.
2623 (pow_test_upward): Likewise.
2624 (main): Call the new functions.
2625 * sysdeps/i386/fpu/libm-test-ulps: Update.
2626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
2627
2628 [BZ #3976]
2629 * math/libm-test.inc (cosh_test_tonearest): New function.
2630 (cosh_test_towardzero): Likewise.
2631 (cosh_test_downward): Likewise.
2632 (cosh_test_upward): Likewise.
2633 (sinh_test_tonearest): Likewise.
2634 (sinh_test_towardzero): Likewise.
2635 (sinh_test_downward): Likewise.
2636 (sinh_test_upward): Likewise.
2637 (main): Call the new functions.
2638 * sysdeps/i386/fpu/libm-test-ulps: Update.
2639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2640
6c6a98c9
TV
26412012-03-05 Tom de Vries <tom@codesourcery.com>
2642
2643 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2644 default stack guard is set in last bytes.
2645 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2646
21bb2d2e 26472012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 2648
21bb2d2e 2649 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 2650
21bb2d2e
AJ
2651 [BZ #13656]
2652 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2653 possibly allocate from heap instead of stack.
2654 * stdio-common/bug-vfprintf-nargs.c: New file.
2655 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 2656
c6922934
AS
26572012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2658
2659 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2660
bc957d53
MP
26612012-03-03 Marek Polacek <polacek@redhat.com>
2662
2663 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2664 * math/math_private.h: Likewise.
2665 * stdlib/tst-strtod.c: Likewise.
2666 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2667 * sysdeps/x86_64/bits/atomic.h: Likewise.
2668
6358490d
DM
26692012-03-02 David S. Miller <davem@davemloft.net>
2670
2671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2672 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2674 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2675 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2676 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2677 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2678 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2679
01ae168d
RM
26802012-03-02 Roland McGrath <roland@hack.frob.com>
2681
d9a17c07
RM
2682 [BZ #13792]
2683 * manual/examples/README: New file, says the example source files
2684 can be used under GPL>=2.
2685 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2686 line containing just "*/".
2687 * manual/examples/add.c: Add copyright header (GPL>=2).
2688 * manual/examples/argp-ex1.c: Likewise.
2689 * manual/examples/argp-ex2.c: Likewise.
2690 * manual/examples/argp-ex3.c: Likewise.
2691 * manual/examples/argp-ex4.c: Likewise.
2692 * manual/examples/atexit.c: Likewise.
2693 * manual/examples/db.c: Likewise.
2694 * manual/examples/dir.c: Likewise.
2695 * manual/examples/dir2.c: Likewise.
2696 * manual/examples/execinfo.c: Likewise.
2697 * manual/examples/filecli.c: Likewise.
2698 * manual/examples/filesrv.c: Likewise.
2699 * manual/examples/fmtmsgexpl.c: Likewise.
2700 * manual/examples/genpass.c: Likewise.
2701 * manual/examples/inetcli.c: Likewise.
2702 * manual/examples/inetsrv.c: Likewise.
2703 * manual/examples/isockad.c: Likewise.
2704 * manual/examples/longopt.c: Likewise.
2705 * manual/examples/memopen.c: Likewise.
2706 * manual/examples/memstrm.c: Likewise.
2707 * manual/examples/mkfsock.c: Likewise.
2708 * manual/examples/mkisock.c: Likewise.
2709 * manual/examples/mygetpass.c: Likewise.
2710 * manual/examples/pipe.c: Likewise.
2711 * manual/examples/popen.c: Likewise.
2712 * manual/examples/rprintf.c: Likewise.
2713 * manual/examples/search.c: Likewise.
2714 * manual/examples/select.c: Likewise.
2715 * manual/examples/setjmp.c: Likewise.
2716 * manual/examples/sigh1.c: Likewise.
2717 * manual/examples/sigusr.c: Likewise.
2718 * manual/examples/stpcpy.c: Likewise.
2719 * manual/examples/strdupa.c: Likewise.
2720 * manual/examples/strftim.c: Likewise.
2721 * manual/examples/strncat.c: Likewise.
2722 * manual/examples/subopt.c: Likewise.
2723 * manual/examples/swapcontext.c: Likewise.
2724 * manual/examples/termios.c: Likewise.
2725 * manual/examples/testopt.c: Likewise.
2726 * manual/examples/testpass.c: Likewise.
2727 * manual/examples/timeval_subtract.c: Likewise.
2728
01ae168d
RM
2729 [BZ #13792]
2730 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2731 function to ...
2732 * manual/timeval_subtract.c.texi: ... here, new file.
2733
49efa33d
DM
27342012-03-02 David S. Miller <davem@davemloft.net>
2735
2736 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2737
28afd92d
JM
27382012-03-02 Joseph Myers <joseph@codesourcery.com>
2739
804360ed
JM
2740 [BZ #3976]
2741 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2742 (__sin): Save and restore rounding mode and use round-to-nearest
2743 for all computations.
2744 (__cos): Save and restore rounding mode and use round-to-nearest
2745 for all computations.
2746 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2747 <fenv.h>.
2748 (tan): Save and restore rounding mode and use round-to-nearest for
2749 all computations.
2750 * math/libm-test.inc (cos_test_tonearest): New function.
2751 (cos_test_towardzero): Likewise.
2752 (cos_test_downward): Likewise.
2753 (cos_test_upward): Likewise.
2754 (sin_test_tonearest): Likewise.
2755 (sin_test_towardzero): Likewise.
2756 (sin_test_downward): Likewise.
2757 (sin_test_upward): Likewise.
2758 (tan_test_tonearest): Likewise.
2759 (tan_test_towardzero): Likewise.
2760 (tan_test_downward): Likewise.
2761 (tan_test_upward): Likewise.
2762 (main): Call the new functions.
2763 * sysdeps/i386/fpu/libm-test-ulps: Update.
2764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2765
a6d06d7b
JM
2766 [BZ #10135]
2767 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2768 small n, then large n, before computing and testing k+n.
2769 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2770 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2771 Likewise.
2772 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2773 Likewise.
2774 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2775 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2776 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2777 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2778 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2779 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2780 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2781 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2782 * math/libm-test.inc (scalbn_test): Add more tests.
2783 (scalbln_test): Likewise.
2784
07e12bb3
JM
2785 * manual/filesys.texi (mode_t): Describe constraints on size and
2786 signedness, not exact equivalence to a particular type.
2787 (ino_t): Likewise.
2788 (ino64_t): Likewise.
2789 (dev_t): Likewise.
2790 (nlink_t): Likewise.
2791 (blkcnt_t): Likewise.
2792 (blkcnt64_t): Likewise.
2793 * manual/llio.texi (off_t): Likewise.
2794
28afd92d
JM
2795 [BZ #3976]
2796 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2797 (__ieee754_exp): Save and restore rounding mode and use
2798 round-to-nearest for all computations.
2799 * math/libm-test.inc (exp_test_tonearest): New function.
2800 (exp_test_towardzero): Likewise.
2801 (exp_test_downward): Likewise.
2802 (exp_test_upward): Likewise.
2803 (main): Call the new functions.
2804 * sysdeps/i386/fpu/libm-test-ulps: Update.
2805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2806
b1eeb65d
CD
28072012-03-01 Chris Demetriou <cgd@google.com>
2808
2809 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2810 have predictable order.
2811
53362a4b
DM
28122012-03-01 David S. Miller <davem@davemloft.net>
2813
3c969083
DM
2814 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2815
759707de
DM
2816 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2817 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2818 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2819 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2820
dfdb8ff2
DM
2821 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2822 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2823 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2825 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2826 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2827 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2828 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2829 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2830
ead89f96
DM
2831 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2832
7f66bd07
DM
2833 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2834 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2835 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2836
53362a4b
DM
2837 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2838 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2839 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2840 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2841 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2842 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2843 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2844 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2845 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2846 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2847 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2848 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2849 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2850 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2851 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2852 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2853 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2854 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2855 * sysdeps/sparc/elf/configure: Regenerated.
2856
7b1902cb
JM
28572012-03-01 Joseph Myers <joseph@codesourcery.com>
2858
bec039bc
JM
2859 * configure.in (AS, LD): Require binutils 2.20 or later.
2860 * configure: Regenerated.
2861 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2862 as required minimum version.
2863 * INSTALL: Regenerated.
2864
7b1902cb
JM
2865 [BZ #2541]
2866 [BZ #4108]
2867 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2868 before squaring exponent.
2869 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2870 bottom long double and 27 bits of top long double before squaring
2871 exponent.
2872 * math/libm-test.inc (erfc_test): Add more tests.
2873 * sysdeps/i386/fpu/libm-test-ulps: Update.
2874 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2876
f775c276
KT
28772012-03-01 Kai Tietz <ktietz@redhat.com>
2878
2879 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2880 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2881 containing bit-fields.
2882 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2883 * soft-fp/single.h (_FP_UNION_S): Likewise.
2884 * soft-fp/double.h (_FP_UNION_D): Likewise.
2885
5b8a4d4a
JM
28862012-02-29 Joseph Myers <joseph@codesourcery.com>
2887
0bab47b6
JM
2888 [BZ #13786]
2889 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2890 not include ../strcmp.S.
2891 [USE_AS_STRNCASECMP_L]: Likewise.
2892 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2893 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2894 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2895 (__strncasecmp_l_ia32): Define as alias to
2896 __strncasecmp_l_nonascii.
2897
0fcad3e2
JM
2898 [BZ #5794]
2899 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2900 * sysdeps/i386/fpu/libm-test-ulps: Update.
2901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2902
5b8a4d4a
JM
2903 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2905
8fdceb2e
JL
29062012-02-29 Jeff Law <law@redhat.com>
2907
2908 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2909 out of bounds read.
2910
1f393a11
MP
29112012-02-29 Marek Polacek <polacek@redhat.com>
2912
2913 [BZ #13706]
2914 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2915 * elf/Makefile: Add rules to run tst-unused-dep.out.
2916
8847f037
DM
29172012-02-28 David S. Miller <davem@davemloft.net>
2918
2919 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2920 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2921 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2922 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2923 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2924 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2925
169d7f11
JM
29262012-02-29 Joseph Myers <joseph@codesourcery.com>
2927
2928 * math/libm-test.inc (llround_test): Move one test from
2929 lround_test. Use TEST_f_L in moved test.
2930 (lround_test): Move misplaced test to llround_test. Add testcase
2931 from bug 2561.
2932
39adf059
UD
29332012-02-28 Ulrich Drepper <drepper@gmail.com>
2934
2935 * sysdeps/x86_64/fpu/e_expf.S: New file.
2936 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2937
71b5d1c5
SB
29382012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2939
2940 [BZ #13637]
2941 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2942 of remain_len that may cause incomplete multi-byte character and
2943 false match.
2944 * posix/bug-regex33.c: New file.
2945 * posix/Makefile (tests): Add bug-regex33.
2946
1f77f049
JM
29472012-02-28 Joseph Myers <joseph@codesourcery.com>
2948
2949 * manual/macros.texi: New file.
2950 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2951 * manual/libc.texinfo: Include macros.texi.
2952 * manual/creatute.texi: Likewise.
2953 * manual/install.texi: Likewise.
2954 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2955 @glibcadj{} in references to the GNU C Library.
2956 * manual/charset.texi: Likewise.
2957 * manual/conf.texi: Likewise.
2958 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2959 when not using those macros.
2960 * manual/creature.texi: Likewise.
2961 * manual/crypt.texi: Likewise.
2962 * manual/errno.texi: Likewise.
2963 * manual/filesys.texi: Likewise.
2964 * manual/header.texi: Likewise.
2965 * manual/install.texi: Likewise.
2966 * manual/intro.texi: Likewise.
2967 * manual/io.texi: Likewise.
2968 * manual/job.texi: Likewise.
2969 * manual/lang.texi: Likewise.
2970 * manual/libc.texiinfo: Likewise.
2971 * manual/llio.texi: Likewise.
2972 * manual/locale.texi: Likewise.
2973 * manual/maint.texi: Likewise.
2974 * manual/math.texi: Likewise.
2975 * manual/memory.texi: Likewise.
2976 * manual/message.texi: Likewise.
2977 * manual/nss.texi: Likewise.
2978 * manual/pattern.texi: Likewise.
2979 * manual/process.texi: Likewise.
2980 * manual/resource.texi: Likewise.
2981 * manual/search.texi: Likewise.
2982 * manual/setjmp.texi: Likewise.
2983 * manual/signal.texi: Likewise.
2984 * manual/socket.texi: Likewise.
2985 * manual/startup.texi: Likewise.
2986 * manual/stdio.texi: Likewise.
2987 * manual/string.texi: Likewise.
2988 * manual/sysinfo.texi: Likewise.
2989 * manual/syslog.texi: Likewise.
2990 * manual/terminal.texi: Likewise.
2991 * manual/time.texi: Likewise.
2992 * manual/users.texi: Likewise.
2993 * INSTALL: Regenerated.
2994 * NOTES: Regenerated.
d40c5d54 2995 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 2996
450bf206
AS
29972012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2998
2999 * include/dirent.h: Include <dirstream.h> before
3000 <dirent/dirent.h>.
3001
741a235b
DM
30022012-02-28 David S. Miller <davem@davemloft.net>
3003
3004 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
3005 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
3006 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
3007 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
3008
d6b5aa58
DM
30092012-02-27 David S. Miller <davem@davemloft.net>
3010
1aff59a3
DM
3011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
3012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
3013 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
3014 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
3015
d6b5aa58
DM
3016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
3017 frame pointer instead of stack pointer relative arg slot.
3018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3019 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3020 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3021
433f48bf
CD
30222012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
3023
3024 [BZ #3992]
3025 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
3026
d674b76d
DM
30272012-02-27 David S. Miller <davem@davemloft.net>
3028
3029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
3030 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3031 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
3033 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3034 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3035 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
3036 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
3037
0e7727f7
JM
30382012-02-27 Joseph Myers <joseph@codesourcery.com>
3039
3040 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
3041 later. Allow versions 5-9.
43be4ca2 3042 * configure: Regenerated.
0e7727f7
JM
3043 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
3044 required minimum version and 4.6 as recommended version. Do not
3045 mention bugs in GCC 2.7 and 2.8.
43be4ca2 3046 * INSTALL: Regenerated.
0e7727f7 3047
a78bc654
DM
30482012-02-27 David S. Miller <davem@davemloft.net>
3049
428d5830
DM
3050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
3051 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
3052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
3053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
3054 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
3055 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
3056 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
3057 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
3058
a78bc654
DM
3059 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
3060 manipulate bits before adding and subtracting TWO112[sx].
3061 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3062
4579f81c
RM
30632012-02-27 Roland McGrath <roland@hack.frob.com>
3064
36c8acb4
RM
3065 [BZ #13775]
3066 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
3067 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
3068 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
3069 being in POSIX, because they are in 1003.1-2008.
3070
84ad622b
RM
3071 * rt/tst-aio.c: Include <fcntl.h>.
3072 * rt/tst-aio7.c: Likewise.
3073 * rt/tst-aio64.c: Likewise.
3074
4579f81c
RM
3075 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
3076
abd923db
JM
30772012-02-27 Joseph Myers <joseph@codesourcery.com>
3078
3079 * manual/install.texi (--with-headers): Describe headers as
3080 interface headers, not private headers.
3081 (Specific advice for GNU/Linux systems): Describe use of headers
3082 from "make headers_install", not private headers from older
3083 kernels.
43be4ca2 3084 * INSTALL: Regenerated.
abd923db
JM
3085 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
3086 Change to 2.6.19.
3087 * sysdeps/unix/sysv/linux/configure: Regenerated.
3088
6664049b
JM
3089 * manual/llio.texi (fclean): Remove documentation.
3090
bb8b6697
JM
3091 * manual/Makefile (libc-texi-generated): New variable. Include
3092 version.texi.
3093 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
3094 $(libc-texi-generated), not duplicated list of files.
3095 (version.texi, stamp-version): New rules.
3096 (realclean): Remove $(libc-texi-generated), not individual files
3097 from that list. Do not remove dir-add.texinfo.
3098 * manual/libc.texinfo: Comment out uses of edition numbers and
3099 references to printed manual. Remove last-updated dates.
3100 (EDITION): Comment out.
3101 (ISBN): Likewise.
3102 (VERSION, UPDATED): Remove.
3103 (version.texi): Include.
3104
12e5c3b9
AS
31052012-02-27 Andreas Schwab <schwab@linux-m68k.org>
3106
3107 * sysdeps/posix/spawni.c: Include <signal.h>.
3108 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
3109 * sysdeps/pthread/aio_fsync.c: Likewise.
3110
4efeffc1 31112012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 3112
ba63ba08
UD
3113 * conform/Makefile (tests): Run only when not cross-compiling and
3114 when fast-check is not defined.
3115
d94a4670
UD
3116 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
3117 * conform/data/limits.h-data: Fixes for POSIX2008.
3118 * conform/run-conformtest.sh: Run all tests.
3119 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
3120 headers.
3121 * include/bits/dlfcn.h: Likewise.
3122 * include/langinfo.h: Likewise.
3123 * include/monetary.h: Likewise.
3124 * include/sys/poll.h: Likewise.
3125
3126 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
3127 for __USE_GNU.
3128 * posix/spawn.h: Define __need_sigset_t.
3129 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
3130 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
3131 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
3132 to get sigevent_t only.
3133 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
3134 only for __USE_GNU.
3135 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3136 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3137 process_vm_writev only for __USE_GNU.
3138 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
3139
3140 * conform/Makefile: For now ignore errors from run-conformtest.
3141 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
3142 POSIX to avoid namespace pollution. Don't prepend headers.
3143 * conform/data/aio.h-data: Fixes for POSIX testing.
3144 * conform/data/fcntl.h-data: Likewise.
3145 * conform/data/glob.h-data: Likewise.
3146 * conform/data/grp.h-data: Likewise.
3147 * conform/data/pthread.h-data: Likewise.
3148 * conform/data/pwd.h-data: Likewise.
3149 * conform/data/signal.h-data: Likewise.
3150 * conform/data/spawn.h-data: Likewise.
3151 * conform/data/stdio.h-data: Likewise.
3152 * conform/data/stdlib.h-data: Likewise.
3153 * conform/data/stropts.h-data: Likewise.
3154 * conform/data/sys/mman.h-data: Likewise.
3155 * conform/data/sys/stat.h-data: Likewise.
3156 * conform/data/sys/types.h-data: Likewise.
3157 * conform/data/sys/wait.h-data: Likewise.
3158 * conform/data/time.h-data: Likewise.
3159 * conform/data/unistd.h-data: Likewise.
3160 * conform/data/utime.h-data: Likewise.
3161
3162 * io/sys/stat.h: fchmod was always in POSIX.
3163 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
3164 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
3165 * rt/aio.h: Define __need_timespec before including <time.h>.
3166 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
3167 struct. Add forward declaration of pthread_attr_t and use it in
3168 sigevent.
3169 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3170 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3171 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
3172 always remove CLK_TCK definition.
3173
c20105c3
AS
31742012-02-26 Andreas Schwab <schwab@linux-m68k.org>
3175
3176 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
3177
7a270350
UD
31782012-02-25 Ulrich Drepper <drepper@gmail.com>
3179
31341567
UD
3180 * conform/run-conformtest.sh: New file.
3181 * conform/Makefile: Run run-conformtest for tests.
3182 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
3183 support.
3184
3185 * conform/data/uchar.h-data: New file.
3186 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
3187 * conform/data/arpa/inet.h-data: Likewise.
3188 * conform/data/assert.h-data: Likewise.
3189 * conform/data/complex.h-data: Likewise.
3190 * conform/data/cpio.h-data: Likewise.
3191 * conform/data/ctype.h-data: Likewise.
3192 * conform/data/dirent.h-data: Likewise.
3193 * conform/data/dlfcn.h-data: Likewise.
3194 * conform/data/errno.h-data: Likewise.
3195 * conform/data/fcntl.h-data: Likewise.
3196 * conform/data/float.h-data: Likewise.
3197 * conform/data/fmtmsg.h-data: Likewise.
3198 * conform/data/fnmatch.h-data: Likewise.
3199 * conform/data/ftw.h-data: Likewise.
3200 * conform/data/glob.h-data: Likewise.
3201 * conform/data/grp.h-data: Likewise.
3202 * conform/data/iconv.h-data: Likewise.
3203 * conform/data/inttypes.h-data: Likewise.
3204 * conform/data/langinfo.h-data: Likewise.
3205 * conform/data/libgen.h-data: Likewise.
3206 * conform/data/limits.h-data: Likewise.
3207 * conform/data/locale.h-data: Likewise.
3208 * conform/data/math.h-data: Likewise.
3209 * conform/data/monetary.h-data: Likewise.
3210 * conform/data/mqueue.h-data: Likewise.
3211 * conform/data/ndbm.h-data: Likewise.
3212 * conform/data/net/if.h-data: Likewise.
3213 * conform/data/netdb.h-data: Likewise.
3214 * conform/data/netinet/in.h-data: Likewise.
3215 * conform/data/nl_types.h-data: Likewise.
3216 * conform/data/poll.h-data: Likewise.
3217 * conform/data/pthread.h-data: Likewise.
3218 * conform/data/pwd.h-data: Likewise.
3219 * conform/data/regex.h-data: Likewise.
3220 * conform/data/sched.h-data: Likewise.
3221 * conform/data/search.h-data: Likewise.
3222 * conform/data/semaphore.h-data: Likewise.
3223 * conform/data/setjmp.h-data: Likewise.
3224 * conform/data/signal.h-data: Likewise.
3225 * conform/data/spawn.h-data: Likewise.
3226 * conform/data/stdarg.h-data: Likewise.
3227 * conform/data/stdio.h-data: Likewise.
3228 * conform/data/stdlib.h-data: Likewise.
3229 * conform/data/string.h-data: Likewise.
3230 * conform/data/strings.h-data: Likewise.
3231 * conform/data/stropts.h-data: Likewise.
3232 * conform/data/sys/ipc.h-data: Likewise.
3233 * conform/data/sys/mman.h-data: Likewise.
3234 * conform/data/sys/msg.h-data: Likewise.
3235 * conform/data/sys/resource.h-data: Likewise.
3236 * conform/data/sys/select.h-data: Likewise.
3237 * conform/data/sys/sem.h-data: Likewise.
3238 * conform/data/sys/shm.h-data: Likewise.
3239 * conform/data/sys/socket.h-data: Likewise.
3240 * conform/data/sys/stat.h-data: Likewise.
3241 * conform/data/sys/statvfs.h-data: Likewise.
3242 * conform/data/sys/time.h-data: Likewise.
3243 * conform/data/sys/timeb.h-data: Likewise.
3244 * conform/data/sys/times.h-data: Likewise.
3245 * conform/data/sys/types.h-data: Likewise.
3246 * conform/data/sys/uio.h-data: Likewise.
3247 * conform/data/sys/un.h-data: Likewise.
3248 * conform/data/sys/utsname.h-data: Likewise.
3249 * conform/data/sys/wait.h-data: Likewise.
3250 * conform/data/syslog.h-data: Likewise.
3251 * conform/data/tar.h-data: Likewise.
3252 * conform/data/termios.h-data: Likewise.
3253 * conform/data/utime.h-data: Likewise.
3254 * conform/data/utmpx.h-data: Likewise.
3255 * conform/data/varargs.h-data: Likewise.
3256 * conform/data/wchar.h-data: Likewise.
3257 * conform/data/wctype.h-data: Likewise.
3258 * conform/data/wordexp.h-data: Likewise.
3259
3260 * include/stropts.h: New file.
3261 * include/uchar.h: New file.
3262 * include/aio.h: Changes to allow conformtest.pl to use the headers.
3263 * include/assert.h: Likewise.
3264 * include/ctype.h: Likewise.
3265 * include/dirent.h: Likewise.
3266 * include/dlfcn.h: Likewise.
3267 * include/fcntl.h: Likewise.
3268 * include/fnmatch.h: Likewise.
3269 * include/glob.h: Likewise.
3270 * include/grp.h: Likewise.
3271 * include/libio.h: Likewise.
3272 * include/locale.h: Likewise.
3273 * include/math.h: Likewise.
3274 * include/net/if.h: Likewise.
3275 * include/netdb.h: Likewise.
3276 * include/netinet/in.h: Likewise.
3277 * include/pthread.h: Likewise.
3278 * include/pwd.h: Likewise.
3279 * include/regex.h: Likewise.
3280 * include/sched.h: Likewise.
3281 * include/search.h: Likewise.
3282 * include/setjmp.h: Likewise.
3283 * include/signal.h: Likewise.
3284 * include/stdio.h: Likewise.
3285 * include/stdlib.h: Likewise.
3286 * include/string.h: Likewise.
3287 * include/sys/cdefs.h: Likewise.
3288 * include/sys/mman.h: Likewise.
3289 * include/sys/msg.h: Likewise.
3290 * include/sys/resource.h: Likewise.
3291 * include/sys/select.h: Likewise.
3292 * include/sys/socket.h: Likewise.
3293 * include/sys/stat.h: Likewise.
3294 * include/sys/statvfs.h: Likewise.
3295 * include/sys/time.h: Likewise.
3296 * include/sys/times.h: Likewise.
3297 * include/sys/uio.h: Likewise.
3298 * include/sys/utsname.h: Likewise.
3299 * include/sys/wait.h: Likewise.
3300 * include/termios.h: Likewise.
3301 * include/time.h: Likewise.
3302 * include/ulimit.h: Likewise.
3303 * include/unistd.h: Likewise.
3304 * include/utime.h: Likewise.
3305 * include/wchar.h: Likewise.
3306 * include/wctype.h: Likewise.
3307 * include/wordexp.h: Likewise.
3308
3309 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3310
7a270350
UD
3311 * time/time.h: TIME_UTC must be a macro.
3312 Make timespec_get available for ISO C11 only as well.
3313
7724defc
UD
33142012-02-24 Ulrich Drepper <drepper@gmail.com>
3315
3316 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
3317 Reported by Peng Haitao <penght@cn.fujitsu.com>.
3318
6b1d1d46
JM
33192012-02-24 Joseph Myers <joseph@codesourcery.com>
3320
3321 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 3322
0f8bbd69
JM
33232012-02-24 Joseph Myers <joseph@codesourcery.com>
3324
3325 * manual/texinfo.tex: Update to version 2012-01-19.16.
3326
66ab80bc
JM
33272012-02-24 Joseph Myers <joseph@codesourcery.com>
3328
3329 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3330
74981cc5
RM
33312012-02-24 Roland McGrath <roland@hack.frob.com>
3332
ee968201
RM
3333 [BZ #13738]
3334 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3335 * manual/fdl-1.3.texi: New file.
3336 * manual/fdl-1.1.texi: File removed.
3337
74981cc5
RM
3338 [BZ #13738]
3339 * manual/libc.texinfo (FDL_VERSION): New @set.
3340 Use it for mention of FDL in cover text.
3341 (Documentation License): Use it in @include file name.
3342
7bb764bc
JM
33432012-02-22 Joseph Myers <joseph@codesourcery.com>
3344 Roland McGrath <roland@hack.frob.com>
3345
3346 [BZ #5461]
3347 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3348 not LONG_LONG_MAX and LONG_LONG_MIN.
3349 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3350 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
3351 name.
3352 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3353
6cbeae47
JM
33542012-02-22 Joseph Myers <joseph@codesourcery.com>
3355
3356 [BZ #2547]
3357 [BZ #11365]
3358 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3359 manipulate bits before adding and subtracting TWO23[sx].
3360 * math/libm-test.inc (nearbyint_test): Add more tests.
3361
fe45ce09
JM
33622012-02-22 Joseph Myers <joseph@codesourcery.com>
3363
3364 [BZ #2548]
3365 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3366 bits before adding and subtracting TWO23[sx].
3367 * math/libm-test.inc (rint_test): Add more tests.
3368 (rint_test_tonearest): Likewise.
3369 (rint_test_towardzero): Likewise.
3370 (rint_test_downward): Likewise.
3371 (rint_test_upward: Likewise.
3372
ff3b3d82
JM
33732012-02-22 Joseph Myers <joseph@codesourcery.com>
3374
3375 [BZ #10110]
3376 * include/stdc-predef.h: New file. Extracted from features.h.
3377 * include/features.h: Include stdc-predef.h.
3378 * Makefile (headers): Add stdc-predef.h.
3379 * CONFORMANCE (Compiler limitations): Update.
3380
ef0aab35
JM
33812012-02-22 Joseph Myers <joseph@codesourcery.com>
3382
3383 * manual/libc.texinfo (VERSION, UPDATED): Revert.
3384
58639409
DM
33852012-02-21 David S. Miller <davem@davemloft.net>
3386
3387 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3388 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3389
c0e70b25
DM
33902012-02-20 David S. Miller <davem@davemloft.net>
3391
3392 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3393 using a normal save/restore sequence, rather than allocating a
3394 dummy stack frame just to store a frame pointer and restore.
3395 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3396
fb06851d
JM
33972012-02-21 Joseph Myers <joseph@codesourcery.com>
3398
3399 * manual/install.texi: Fix stray word in line-wrapped comment.
3400
7a8b71c3
DM
34012012-02-20 David S. Miller <davem@davemloft.net>
3402
d510c123
DM
3403 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3404 both binutils and gcc support GOTDATA.
3405
0722d7c2
DM
3406 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3407 "rd %pc" in the PIC register setup sequences.
3408
3d2b3019
DM
3409 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3410 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3411 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3412 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3413 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3414 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3415 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3416 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3417 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3418 (SYSCALL_ERROR_HANDLER): Likewise.
3419 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3420 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3421 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3422 (SYSCALL_ERROR_HANDLER): Likewise.
3423
c80098a9
DM
3424 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3425 (HAVE_GCC_GOTDATA): New.
3426 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3427 relocation support in both binutils and gcc.
3428 * sysdeps/sparc/elf/configure: Regenerate.
3429
3a2545a0
DM
3430 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3431 * sysdeps/sparc/sparc32/elf/configure: Delete.
3432 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3433 * sysdeps/sparc/sparc64/elf/configure: Delete.
3434 * sysdeps/sparc/elf/configure.in: New file.
3435 * sysdeps/sparc/elf/configure: Generate.
3436
7a8b71c3
DM
3437 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3438 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3439 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3440 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3441 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3442
f1e86fca
JM
34432012-02-21 Joseph Myers <joseph@codesourcery.com>
3444
3445 * manual/install.texi: Do not mention specific glibc version
3446 numbers.
3447 * manual/libc.texinfo (VERSION, UPDATED): Update.
3448 (@copying): Use @copyright{} and range of years.
3449
0e7dfaef
JM
34502012-02-21 Joseph Myers <joseph@codesourcery.com>
3451
3452 [BZ #13695]
3453 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3454 [crti.S not in sysdirs] (generated): Do not append.
3455 [crti.S not in sysdirs] (omit-deps): Likewise.
3456 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3457 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3458 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3459 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3460 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3461 Likewise.
3462 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3463 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3464 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3465 * csu/defs.awk: Remove file.
3466 * sysdeps/generic/initfini.c: Likewise.
3467 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3468 variable.
3469 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3470 Likewise.
3471
599af3ca
JM
34722012-02-20 Joseph Myers <joseph@codesourcery.com>
3473
3474 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3475 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3476 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3477 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3478 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3479 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3480 <bits/epoll.h>.
3481 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3482 (__EPOLL_PACKED): Define to empty if not defined by
3483 <bits/epoll.h>.
3484 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3485 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3486 bits/epoll.h.
3487
0e499750
JM
34882012-02-20 Joseph Myers <joseph@codesourcery.com>
3489
3490 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3491 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3492 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3493 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3494 <bits/timerfd.h>.
3495 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3496 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3497 bits/timerfd.h.
3498
5ad91f6e
JM
34992012-02-20 Joseph Myers <joseph@codesourcery.com>
3500
3501 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3502 in C locale.
3503 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3504 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3505 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3507
06b99b02
AJ
35082012-02-20 Aurelien Jarno <aurelien@aurel32.net>
3509
3510 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3511 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3512
7638c0fd
AS
35132012-02-19 Andreas Schwab <schwab@linux-m68k.org>
3514
3515 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3516 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3517 defined.
3518 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3519 Likewise.
3520 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3521 entry for 2.16.
3522
92221550
AJ
35232012-02-19 Aurelien Jarno <aurelien@aurel32.net>
3524
3525 * math/w_acos.c: Use non-signaling floating-point comparisons.
3526 * math/w_acosf.c: Likewise.
3527 * math/w_acosh.c: Likewise.
3528 * math/w_acoshf.c: Likewise.
3529 * math/w_acoshl.c: Likewise.
3530 * math/w_acosl.c: Likewise.
3531 * math/w_asin.c: Likewise.
3532 * math/w_asinf.c: Likewise.
3533 * math/w_asinl.c: Likewise.
3534 * math/w_atanh.c: Likewise.
3535 * math/w_atanhf.c: Likewise.
3536 * math/w_atanhl.c: Likewise.
3537 * math/w_exp2.c: Likewise.
3538 * math/w_exp2f.c: Likewise.
3539 * math/w_exp2l.c: Likewise.
3540 * math/w_j0.c: Likewise.
3541 * math/w_j0f.c: Likewise.
3542 * math/w_j0l.c: Likewise.
3543 * math/w_j1.c: Likewise.
3544 * math/w_j1f.c: Likewise.
3545 * math/w_j1l.c: Likewise.
3546 * math/w_jn.c: Likewise.
3547 * math/w_jnf.c: Likewise.
3548 * math/w_log.c: Likewise.
3549 * math/w_log10.c: Likewise.
3550 * math/w_log10f.c: Likewise.
3551 * math/w_log10l.c: Likewise.
3552 * math/w_log2.c: Likewise.
3553 * math/w_log2f.c: Likewise.
3554 * math/w_log2l.c: Likewise.
3555 * math/w_logf.c: Likewise.
3556 * math/w_logl.c: Likewise.
3557 * math/w_sqrt.c: Likewise.
3558 * math/w_sqrtf.c: Likewise.
3559 * math/w_sqrtl.c: Likewise.
3560 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3561 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3562 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3563 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3564 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3565
ebaf36eb
JM
35662012-02-19 Joseph Myers <joseph@codesourcery.com>
3567
3568 [BZ #9739]
3569 * manual/string.texi (strnlen): Use correct parameter name in
3570 equivalent expression.
3571
71c254a6
JM
35722012-02-19 Joseph Myers <joseph@codesourcery.com>
3573
3574 [BZ #11174]
3575 * manual/users.texi (seteuid): Consistently use neweuid for
3576 argument name.
3577
16d2c631
JM
35782012-02-19 Joseph Myers <joseph@codesourcery.com>
3579
3580 [BZ #13704]
3581 * manual/nss.texi (Services in the NSS configuration): Correct
3582 list of services in example configuration file.
3583
cd837b09
NB
35842012-02-19 Nick Bowler <nbowler@draconx.ca>
3585
3586 [BZ #11322]
3587 * manual/arith.texi: Remove statements about negative zero
3588 behaving identically to zero.
3589
02c4bbad
JM
35902012-02-18 Joseph Myers <joseph@codesourcery.com>
3591
3592 [BZ #5993]
3593 * manual/install.texi: Do not document upgrading from libc5.
3594
366842e7
JM
35952012-02-18 Joseph Myers <joseph@codesourcery.com>
3596
3597 [BZ #4596]
3598 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3599
dd54084d
DM
36002012-02-18 David S. Miller <davem@davemloft.net>
3601
3602 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3603 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3604 %o7 across the call.
3605 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3606 instead.
3607 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3608 SETUP_PIC_REG_LEAF.
3609 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3610 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3611 * sysdeps/sparc/crtn.S: Likewise.
3612
2bcc53a3
UD
36132012-02-17 Ulrich Drepper <drepper@gmail.com>
3614
3615 * aout/Makefile: Remove.
3616
09c093b5
RK
36172012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3618
3619 [BZ #13058]
3620 * manual/examples/argp-ex1.c (main): Format definition in GNU
3621 style.
3622 * manual/examples/argp-ex2.c (main): Likewise.
3623 * manual/examples/argp-ex3.c (main): Likewise.
3624 * manual/examples/argp-ex4.c (main): Likewise.
3625 * manual/examples/longopt.c (main): Use new-style prototype
3626 definition.
3627 * manual/examples/strncat.c (main): Specify return type and use
3628 (void) for arguments.
3629 * manual/examples/subopt.c (main): Use char **argv argument.
3630
2ee633a2
JM
36312012-02-17 Joseph Myers <joseph@codesourcery.com>
3632
3633 [BZ #5077]
3634 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3635 rounding modes.
3636
0520adde
FB
36372012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3638
3639 [BZ #6907]
3640 * manual/string.texi (strchr): Change when strchrnul is
3641 recommended.
3642
3f4081cd
DGM
36432012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3644
3645 [BZ #174]
3646 * manual/locale.texi (setlocale): Document LOCPATH.
3647
d1b10e78
JM
36482012-02-17 Joseph Myers <joseph@codesourcery.com>
3649
3650 [BZ #10210]
3651 * manual/process.texi (execle): Move @dots{} before last argument.
3652
79c6869c
PB
36532012-02-17 Paul Bolle <pebolle@tiscali.nl>
3654
3655 [BZ #12047]
3656 * manual/charset.texi (Generic Charset Conversion): Fix typo
3657 (LC_TYPE -> LC_CTYPE).
3658
cc6e48bc
NB
36592012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3660
3661 [BZ #5805]
3662 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3663 (scalbnf): Likewise.
3664 (scalbnl): Likewise.
3665 (scalbln): Likewise.
3666 (scalblnf): Likewise.
3667 (scalblnl): Likewise.
3668 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3669 (vwarnx): Likewise.
3670 (verr): Likewise.
3671 (verrx): Likewise.
3672 * manual/filesys.texi (telldir): Use braces around return type.
3673 * manual/llio.texi (mmap): Add space after comma.
3674 (mmap64): Likewise.
3675 * manual/math.texi (jn): Use @var{} on parameter names.
3676 (jnf): Likewise.
3677 (jnl): Likewise.
3678 (yn): Likewise.
3679 (ynf): Likewise.
3680 (ynl): Likewise.
3681 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3682 line.
3683 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3684 "...".
3685 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3686 (sched_get_priority_max): Likewise.
3687 * manual/signal.texi (sigvec): Add space after comma.
3688 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3689 names.
3690 (if_indextoname): Likewise.
3691 (if_freenameindex): Likewise.
3692 (sendto): Use ',' instead of '.' in prototype.
3693 * manual/startup.texi (syscall): Use @dots{} instead of literal
3694 "...".
3695 * manual/stdio.texi (__fpending): Separate initial words of
3696 paragraph from @deftypefun line.
3697 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3698 "...".
3699 (vsyslog): Use @var{} on parameter names.
3700 * manual/terminal.texi (stty): Use @var{} on parameter names.
3701 * manual/users.texi (getutmp): Use @var{} on parameter names.
3702 (getutmpx): Likewise.
3703
5b23062f
JM
37042012-02-17 Joseph Myers <joseph@codesourcery.com>
3705
3706 [BZ #6884]
3707 * manual/stdio.texi (fopen): Fix typos in description of
3708 ",ccs=STRING".
3709
8dee4833
AJ
37102012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3711
3712 [BZ #4026]
3713 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3714 get clock_id definition.
3715
9078ce93
TS
37162012-02-17 Thomas Schwinge <thomas@schwinge.name>
3717
3718 [BZ #4822]
3719 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3720 (madvise): Cast every argument to void on its own.
3721
3835c55f
JM
37222012-02-17 Joseph Myers <joseph@codesourcery.com>
3723
3724 [BZ #9902]
3725 * manual/startup.texi (Exit Status): Fix typo.
3726
35c47e37
JM
37272012-02-17 Joseph Myers <joseph@codesourcery.com>
3728
3729 [BZ #10140]
3730 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3731 * manual/examples/argp-ex2.c: Likewise.
3732 * manual/examples/argp-ex3.c: Likewise.
3733
e3b69ca7
RH
37342012-02-16 Richard Henderson <rth@redhat.com>
3735
3736 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3737 * sysdeps/s390/s390-32/initfini.c: Remove.
3738 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3739 * sysdeps/s390/s390-64/initfini.c: Remove.
3740
df83af67
KK
37412012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3742
3743 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3744 compiler output for sysdeps/generic/initfini.c.
3745 * sysdeps/sh/elf/initfini.c: Remove file.
3746
f63f3380
DM
37472012-02-16 David S. Miller <davem@davemloft.net>
3748
fb59b3a4
DM
3749 [BZ #11494]
3750 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3751
f63f3380
DM
3752 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3753 * sysdeps/sparc/crti.S: New file.
3754 * sysdeps/sparc/crtn.S: New file.
3755 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3756 * sysdeps/sparc/sparc64/Makefile: Likewise.
3757
df6a4a4a
MF
37582012-02-15 Mike Frysinger <vapier@gentoo.org>
3759
6dd8f3dc 3760 [BZ #3335]
df6a4a4a
MF
3761 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3762
1cac7236
RM
37632012-02-15 Roland McGrath <roland@hack.frob.com>
3764
d2c736f8
RM
3765 [BZ #4822]
3766 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3767
1cac7236
RM
3768 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3769 (write, read, close): Likewise.
3770 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3771
8e475601
JM
37722012-02-15 Joseph Myers <joseph@codesourcery.com>
3773
3774 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3775 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3776 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3777 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3778 <bits/signalfd.h>.
3779 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3780 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3781 bits/signalfd.h.
3782
ed656b40
MP
37832012-02-14 Marek Polacek <polacek@redhat.com>
3784
3785 * sysdeps/x86_64/crti.S: New file.
3786 * sysdeps/x86_64/crtn.S: New file.
3787 * sysdeps/x86_64/elf/initfini.c: Remove file.
3788
2a979d3a
JM
37892012-02-13 Joseph Myers <joseph@codesourcery.com>
3790
3791 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3792 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3793 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3794 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3795 <bits/inotify.h>.
3796 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3797 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3798 bits/inotify.h.
3799
2a418ac3
JM
38002012-02-13 Joseph Myers <joseph@codesourcery.com>
3801
3802 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3803 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3804 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3805 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3806 <bits/eventfd.h>.
3807 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3808 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3809 bits/eventfd.h.
3810
fb779be7
TS
38112012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3812
e19e83c5
RM
3813 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3814 __feraiseexcept instead of feraiseexcept.
7c35ffed 3815
fb779be7
TS
3816 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3817 nanosleep invocations.
3818 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3819 strings, and add error checking for a nanosleep invocations.
3820
59ba27a6
PE
38212012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3822
3823 Replace FSF snail mail address with URLs, as per GNU coding standards.
3824 Most of the snail mail addresses were wrong anyway, and omitting
3825 them makes the source code easier to maintain. Almost all of the
3826 changes are to license notices and to locale LC_IDENTIFICATION
3827 addresses, except for this one:
3828 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3829 not its snail mail address.
3830
57b957eb
RH
38312012-02-09 Richard Henderson <rth@twiddle.net>
3832
af850b1c
RH
3833 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3834 of kernel-features.h.
3835
57b957eb
RH
3836 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3837
6b73181a
MP
38382012-02-08 Marek Polacek <polacek@redhat.com>
3839
3840 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3841 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3842 * sysdeps/gnu/_G_config.h: Likewise.
3843 * sysdeps/generic/_G_config.h: Likewise.
3844
26ecc33a
AS
38452012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3846
6c6dbc63
AS
3847 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3848 tests.
3849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3850
e216c012
AS
3851 * sysdeps/powerpc/powerpc32/crti.S: New file.
3852 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3853 * sysdeps/powerpc/powerpc64/crti.S: New file.
3854 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3855
26ecc33a
AS
3856 * Makeconfig (have-initfini): Don't set.
3857 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3858 * configure.in (nopic_initfini): Don't substitute.
3859 * config.h.in (HAVE_INITFINI): Don't #undef.
3860 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3861 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3862
3add8e13
JM
38632012-02-08 Joseph Myers <joseph@codesourcery.com>
3864
3865 Support crti.S and crtn.S provided directly by architectures.
3866 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3867 [crti.S in sysdirs] (omit-deps): Likewise.
3868 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3869 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3870 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3871 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3872 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3873 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3874 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3875 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3876 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3877 compiler output for sysdeps/generic/initfini.c.
3878 * sysdeps/i386/elf/Makefile: Remove file.
3879 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3880
a22f12b4
MP
38812012-02-07 Marek Polacek <polacek@redhat.com>
3882
3883 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3884 * sysdeps/gnu/_G_config.h: Likewise.
3885 * sysdeps/mach/hurd/_G_config.h: Likewise.
3886
148cf100
MP
38872012-02-07 Marek Polacek <polacek@redhat.com>
3888
3889 * math/Makefile (tests): Add tst-CMPLX2.
3890 * math/tst-CMPLX2.c: New file.
3891
cfdc0dd7
AS
38922012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3893
84ba42c4
AS
3894 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3895
cfdc0dd7
AS
3896 * math/libm-test.inc (jn_test): Add missing L suffix.
3897
622c86f4
MP
38982012-02-06 Marek Polacek <polacek@redhat.com>
3899
3900 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3901 * sysdeps/i386/fpu/e_powf.S: Likewise.
3902 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3903 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3904 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3905 * sysdeps/i386/fpu/e_pow.S: Likewise.
3906 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3907 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3908 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3909 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3910 * sysdeps/i386/fpu/e_log2.S: Likewise.
3911 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3912 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3913 * sysdeps/i386/fpu/e_powl.S: Likewise.
3914 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3915 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3916 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3917 * sysdeps/i386/fpu/e_logl.S: Likewise.
3918 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3919 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3920 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3921 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3922 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3923 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3924 * sysdeps/i386/fpu/e_log.S: Likewise.
3925 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3926 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3927 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3928 * sysdeps/i386/fpu/e_logf.S: Likewise.
3929 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3930 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3931 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3932 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3933 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3934 * sysdeps/i386/fpu/e_log10.S: Likewise.
3935 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3936 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3937 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3938 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3939 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3940 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3941 * sysdeps/i386/asm-syntax.h: Likewise.
3942 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3943 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3944 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3945 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3946 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3947 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3948 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3949 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3950 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3951 * sysdeps/powerpc/sysdep.h: Likewise.
3952 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3953 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3954
d4a54ac6
JM
39552012-02-06 Joseph Myers <joseph@codesourcery.com>
3956
3957 [BZ #411]
3958 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3959
314054ea
JM
39602012-02-06 Joseph Myers <joseph@codesourcery.com>
3961
3962 * sysdeps/i386/sysdep.h: Include <features.h>.
3963 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3964 version.
3965
d8e0ca50
JM
39662012-02-05 Joseph Myers <joseph@codesourcery.com>
3967
3968 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3969 Define.
3970 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3971 LOAD_PIC_REG_STR.
3972
b1da7dd9
JM
39732012-02-03 Joseph Myers <joseph@codesourcery.com>
3974
3975 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3976 (SETUP_PIC_REG): Use GET_PC_THUNK.
3977 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3978 macro.
3979
9a1d9254
JM
39802012-02-03 Joseph Myers <joseph@codesourcery.com>
3981
3982 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3983 for non-PIC compilation.
3984 (SETUP_PIC_REG): Add .p2align directive.
3985 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3986 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3987 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3988 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3989 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3990 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3991 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3992 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3993 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3994 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3995 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3996 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3997 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3998 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3999 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4000 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4001 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4002 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4003 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4004 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4005 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4006 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4007 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4008 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4009 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4010 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4011 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4012 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4013 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4014 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4015 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4016 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4017 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4018 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4019 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4020 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4021 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4022 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4023 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4024 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4025 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4026
65dc3b75
JM
40272012-02-03 Joseph Myers <joseph@codesourcery.com>
4028
4029 * math/tst-CMPLX.c: Include <stdio.h>.
4030
d55bf177
JM
40312012-01-31 Joseph Myers <joseph@codesourcery.com>
4032
4033 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
4034 float.
4035 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4036 * sysdeps/sparc/bits/mathdef.h: Likewise.
4037
69db4f8f
MP
40382012-01-31 Marek Polacek <polacek@redhat.com>
4039
4040 * libio/libio.h: Don't define _PARAMS.
4041 * locale/programs/config.h: Don't define PARAMS.
4042 * stdlib/strtol_l.c: Likewise.
4043 (__strtol_l): Remove PARAMS from the prototype.
4044
41b81892
UD
40452012-01-31 Ulrich Drepper <drepper@gmail.com>
4046
3b49edc0
UD
4047 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
4048 names. Just use the correct names. Remove unnecessary wrapper
4049 functions.
4050 * malloc/arena.c: Likewise.
4051 * malloc/hooks.c: Likewise.
4052
41b81892
UD
4053 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
4054 ARENA_TEST says not to. Simplify test for creation of a new arena.
4055 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
4056
27a25b6e
UD
40572012-01-30 Ulrich Drepper <drepper@gmail.com>
4058
4059 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
4060 into tail calls.
4061 (update_get_addr): New function.
4062 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
4063 GET_ADDR_MODULE parameter.
4064
c8a89e7d
JM
40652012-01-30 Joseph Myers <joseph@codesourcery.com>
4066
4067 * crypt/cert.c: Remove __STDC__ conditionals.
4068 * crypt/crypt-entry.c: Likewise.
4069 * crypt/crypt_util.c: Likewise.
4070 * libio/filedoalloc.c: Likewise.
4071 * libio/fileops.c: Likewise.
4072 * libio/genops.c: Likewise.
4073 * libio/iofclose.c: Likewise.
4074 * libio/iofdopen.c: Likewise.
4075 * libio/iofopen.c: Likewise.
4076 * libio/iofopen64.c: Likewise.
4077 * libio/iogetdelim.c: Likewise.
4078 * libio/iopopen.c: Likewise.
4079 * libio/obprintf.c: Likewise.
4080 * libio/oldfileops.c: Likewise.
4081 * libio/oldiofclose.c: Likewise.
4082 * libio/oldiofdopen.c: Likewise.
4083 * libio/oldiofopen.c: Likewise.
4084 * libio/oldiopopen.c: Likewise.
4085 * libio/wfiledoalloc.c: Likewise.
4086 * libio/wgenops.c: Likewise.
4087 * locale/programs/xmalloc.c: Likewise.
4088 * misc/syslog.c: Likewise.
4089 * stdio-common/xbug.c: Likewise.
4090 * string/memchr.c: Likewise.
4091 * string/memcmp.c: Likewise.
4092 * string/memrchr.c: Likewise.
4093 * string/rawmemchr.c: Likewise.
4094 * sysdeps/posix/getcwd.c: Likewise.
4095 * time/strftime_l.c: Likewise.
4096
3b100462
JM
40972012-01-30 Joseph Myers <joseph@codesourcery.com>
4098
4099 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
4100 * config.make.in (config-cflags-sse2avx): Define.
4101 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
4102 Fix typo.
4103
607998af
CM
41042012-01-29 Chris Metcalf <cmetcalf@tilera.com>
4105
4106 * scripts/config.guess: Update from upstream config git repository.
4107 * scripts/config.sub: Likewise.
4108
3601428f
CM
41092012-01-28 Chris Metcalf <cmetcalf@tilera.com>
4110
3ac8b282
CM
4111 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
4112 (EM_NUM): Update.
4113 (R_TILEPRO_*, R_TILEGX_*): New macros.
4114
e034841e
CM
4115 * scripts/firstversions.awk: Fix bug in version range handling.
4116
540d7568
CM
4117 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
4118
3601428f
CM
4119 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
4120
463de862
CM
4121 * include/sys/epoll.h: New file.
4122 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
4123 libc_hidden_def.
4124
73139a76
UD
41252012-01-28 Ulrich Drepper <drepper@gmail.com>
4126
96bc5b45
UD
4127 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
4128 Avoid unnecessary __WORDSIZE == 64 test.
4129 (fmaxf): Use VEX format if possible.
4130 (fmax): Likewise.
4131 (fminf): Likewise.
4132 (fmin): Likewise.
4133
56f6f6a2
UD
4134 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
4135 * math/math_private.h: Remove libc_fegetround* and
4136 libc_fesetround*.
4137 * sysdeps/i386/configure.in: Check for -msse2avx.
4138 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
4139 also if SSE2AVX is defined.
4140 Remove libc_fegetround* and libc_fesetround*.
4141 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
4142 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
4143 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
4144 of HAS_YMM_USABLE.
4145 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4146 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4147 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4148 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4149 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4150
73139a76
UD
4151 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
4152
d73f93a4
AZ
41532012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4154
4155 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
4156 size is not set.
4157 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4158
6ee65ed6
UD
41592012-01-27 Ulrich Drepper <drepper@gmail.com>
4160
4161 [BZ #13618]
4162 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
4163 relocation.
4164 * Makeconfig (libm): Define.
4165 * elf/Makefile: Add rules to build and run tst-relsort1.
4166 * elf/tst-relsort1.c: New file.
4167 * elf/tst-relsort1mod1.c: New file.
4168 * elf/tst-relsort1mod2.c: New file.
4169
8db21882
JM
41702012-01-27 Joseph Myers <joseph@codesourcery.com>
4171
4172 * math/s_ldexp.c: Remove __STDC__ conditionals.
4173 * math/s_ldexpf.c: Likewise.
4174 * math/s_ldexpl.c: Likewise.
4175 * math/s_nextafter.c: Likewise.
4176 * math/s_nexttowardf.c: Likewise.
4177 * math/s_significand.c: Likewise.
4178 * math/s_significandf.c: Likewise.
4179 * math/s_significandl.c: Likewise.
4180 * math/w_jnl.c: Likewise.
4181 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4182 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4183 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4184 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4185 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4186 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4187 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
4188 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4189 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4190 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4191 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4192 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4193 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4194 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4195 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4196 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4197 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4198 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4199 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4200 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4201 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4202 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4203 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4204 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4205 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4206 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4207 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4208 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4209 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4210 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4211 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4212 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4213 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4214 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4215 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4216 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4217 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4218 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4219 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4220 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4221 * sysdeps/ieee754/k_standard.c: Likewise.
4222 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4223 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4224 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4225 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4226 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4227 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4228 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4229 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4230 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4231 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4232 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4233 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4234 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4235 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4236 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4237 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4238 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4239 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4240 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4241 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4242 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4243 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4244 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4245 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4246 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4247 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4248 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4249 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4250 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4251 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4252 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4253 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4254 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4255 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4256 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4257 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4258 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4259 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4260 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4261 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4262 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4263 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4264 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4265 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4266 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4267 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4268 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4269 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4270 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4271 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4272 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4273 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4274 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4275 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4276 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4277 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4278 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4279 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4280 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4281 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4282 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4283 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4284 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4285 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4286 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4287 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4288 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4289 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4290 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4291 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4292 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4293 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4294 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4295 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4296 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4297 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4298 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4299 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4300 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4301 * sysdeps/ieee754/s_matherr.c: Likewise.
4302 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4303 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4304 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4305 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4306
965a54a4
JM
43072012-01-26 Joseph Myers <joseph@codesourcery.com>
4308
4309 * crypt/md5.h: Remove __STDC__ conditionals.
4310 * libio/libioP.h: Likewise.
4311 * locale/programs/config.h: Likewise.
4312 * sysdeps/generic/sysdep.h: Likewise.
4313 * sysdeps/i386/asm-syntax.h: Likewise.
4314 * sysdeps/s390/asm-syntax.h: Likewise.
4315 * sysdeps/unix/sysdep.h: Likewise.
4316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4318
7071ad79
JM
43192012-01-26 Joseph Myers <joseph@codesourcery.com>
4320
4321 * libio/libio.h: Remove __STDC__ conditionals.
4322 * malloc/obstack.h: Likewise.
4323 * math/complex.h: Likewise.
4324 * math/math.h: Likewise.
4325 * sysdeps/generic/_G_config.h: Likewise.
4326 * sysdeps/gnu/_G_config.h: Likewise.
4327 * sysdeps/mach/hurd/_G_config.h: Likewise.
4328 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4329 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4330 * sysdeps/sparc/bits/mathdef.h: Likewise.
4331
afc5ed09
UD
43322012-01-26 Ulrich Drepper <drepper@gmail.com>
4333
4334 [BZ #13583]
4335 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 4336 Clean up HAS_* macros.
afc5ed09 4337 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
4338 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4339 possible.
4340 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4341 HAS_AVX.
4342 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4343 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4344 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4345 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4346 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 4347
bdb6de1d
JM
43482012-01-25 Joseph Myers <joseph@codesourcery.com>
4349
4350 * elf/tst-unique3.cc (gets): Remove declaration.
4351 * elf/tst-unique3lib.cc (gets): Likewise.
4352 * elf/tst-unique3lib2.cc (gets): Likewise.
4353 * elf/tst-unique4.cc (gets): Likewise.
4354
b15549e6
UD
43552012-01-24 Ulrich Drepper <drepper@gmail.com>
4356
4357 * include/stdio.h: Add C++ protection. Add gets declarations and
4358 definitions.
4359 * debug/tst-chk1.c: Don't declare gets here.
4360 * stdio-common/tst-gets.c: Likewise.
4361
a037381f
JM
43622012-01-24 Joseph Myers <joseph@codesourcery.com>
4363
4364 * posix/glob: Remove directory.
4365
f1d4aa75
JM
43662012-01-24 Joseph Myers <joseph@codesourcery.com>
4367
4368 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4369
81c0c964
PT
43702012-01-22 Pino Toscano <toscano.pino@tiscali.it>
4371
4372 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4373 of the non-standard EPFNOSUPPORT.
4374
0ea698ae
ST
43752011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
4376
4377 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4378 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4379 ANYWHERE set to 1 only on KERN_NO_SPACE error.
4380
d220b117
UD
43812012-01-21 Ulrich Drepper <drepper@gmail.com>
4382
4383 * wcsmbs/uchar.h: Test __STDC_VERSION__.
4384
3e1aa84e
UD
43852012-01-20 Ulrich Drepper <drepper@gmail.com>
4386
4387 * nscd/aicache.c (addhstaiX): Do not cache negative results of
4388 transient errors.
4389 * nscd/grpcache.c (cache_addgr): Likewise.
4390 * nscd/hstcache.c (cache_addhst): Likewise.
4391 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4392 * nscd/pwdcache.c (cache_addpw): Likewise.
4393 * nscd/servicescache.c (cache_addserv): Likewise.
4394
400aa020
UD
43952012-01-16 Ulrich Drepper <drepper@gmail.com>
4396
d77e7869
UD
4397 * malloc/malloc.c: Various cleanups.
4398 * malloc/hooks.c: Likewise.
4399
400aa020
UD
4400 * stdlib/Makefile (tests): Add bug-fmtmsg1.
4401 * stdlib/bug-fmtmsg1.c: New file.
4402
4403 * stdlib/fmtmsg.c (init): Add missing unlock.
4404 Patch by Peng Haitao <penght@cn.fujitsu.com>.
4405
e0a309cf
MP
44062012-01-12 Marek Polacek <polacek@redhat.com>
4407
4408 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4409 and _GNU_SOURCE.
4410
929d11c7
WS
44112012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4412
4413 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4414 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4415 macro to ensure uniqueness of label name.
4416 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4417 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4418
41d0e869
UD
44192012-01-11 Ulrich Drepper <drepper@gmail.com>
4420
0cc5ed3b
UD
4421 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4422
41d0e869
UD
4423 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4424 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4425 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4426 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4427
a47a831a
UD
44282012-01-10 Ulrich Drepper <drepper@gmail.com>
4429
daa891c0
UD
4430 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4431
4432 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4433 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4434 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4435
e58ef0f2
UD
4436 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4437
a47a831a 4438 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
4439 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4440 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 4441 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
4442
4443 * math/bits/math-finite.h: Add ldexp support.
4444
a0bfc9c7
MP
44452012-01-10 Marek Polacek <polacek@redhat.com>
4446
4447 * locale/programs/localedef.h (show_archive_content): Add noreturn
4448 attribute.
4449
d6e97a1d
UD
44502012-01-09 Ulrich Drepper <drepper@gmail.com>
4451
4452 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4453
d5835c26
UD
44542012-01-08 Ulrich Drepper <drepper@gmail.com>
4455
e5f484c6
UD
4456 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4457
d5835c26
UD
4458 * io/Makefile (headers): Add bits/poll2.h.
4459
d1f741e9
WS
44602011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
4461
4462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4463 typo #include statement.
4464
ec09c1c4
UD
44652012-01-08 Ulrich Drepper <drepper@gmail.com>
4466
4467 * include/sys/cdefs.h: Define __attribute_alloc_size.
4468 * catgets/gencat.c: Add alloc_size attribute and apply consistently
4469 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4470 * elf/pldd.c: Likewise.
4471 * iconv/iconv_charmap.c: Likewise.
4472 * iconv/iconvconfig.c: Likewise.
4473 * iconv/strtab.c: Likewise.
4474 * locale/programs/locale.c: Likewise.
4475 * locale/programs/localedef.h: Likewise.
4476 * locale/programs/simple-hash.c: Likewise.
4477 * nscd/nscd.h: Likewise.
4478 * nss/makedb.c: Likewise.
4479 * sysdeps/generic/ldconfig.h: Likewise.
4480 * locale/programs/localedef.c: Remove xmalloc prototype.
4481 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4482
20b38e03
PP
44832012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4484
4485 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4486 appropriate.
4487
a0da5fe1
UD
44882012-01-08 Ulrich Drepper <drepper@gmail.com>
4489
1d5a644a 4490 * math/Makefile (tests): Add tst-CMPLX.
669704fd 4491 * math/tst-CMPLX.c: New file.
1d5a644a 4492
8784a6db
UD
4493 * math/complex.h (CMPLXL): Fix typo.
4494
d9a216c0
UD
4495 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4496 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4497 GLIBC_2.16.
4498 * debug/tst-chk1.c: Add poll and ppoll tests.
4499 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4500 * include/sys/poll.h: Add hidden proto for ppoll.
4501 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4502 * sysdeps/mach/hurd/ppoll.c: Likewise.
4503 * io/ppoll.c: Likewise.
4504 * debug/poll_chk.c: New file.
4505 * debug/ppoll_chk.c: New file.
4506 * include/bits/poll2.h: New file.
4507 * io/bits/poll2.h: New file.
4508
ac097f5c
UD
4509 [BZ #1350]
4510 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4511
2119dcfa
UD
4512 * configure.in: static is always set to yes. Remove.
4513 * config.make.in: Don't set build-static.
4514 * Makeconfig: Remove use of build-static.
4515 * dlfcn/Makefile: Likewise.
4516 * elf/Makefile: Likewise.
4517 * math/Makefile: Likewise.
4518 * misc/Makefile: Likewise.
4519 * nptl/Makefile: Likewise.
4520 * sysdeps/mach/hurd/Makefile: Likewise.
4521
121766a9
UD
4522 * configure.in: PWD_P is not used anymore.
4523 * config.make.in: Remove PWD_P entry.
4524
51a1d39c 4525 * configure.in: Remove last remnants of RANLIB.
8720d066 4526 No need to check for signed size_t anymore.
215f4bdc
UD
4527 Don't set libc_commonpagesize and libc_relro_required here for Alpha
4528 and IA-64.
3857022a 4529 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
4530 * aclocal.m4: Likewise.
4531
d3ed7225
UD
4532 * wcsmbs/mbrtoc16.c: Implement using towc function.
4533 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4534 * wcsmbs/wcsmbsload.c: Likewise.
4535 * iconv/gconv_simple.c: Likewise.
4536 * iconv/gconv_int.h: Likewise.
4537 * iconv/gconv_builtin.h: Likewise.
4538 * iconv/iconv_prog.c: Remove CHAR16 handling.
4539
4540 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4541
4542 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4543
a0da5fe1
UD
4544 * configure.in: Remove --with-elf and --enable-bounded options.
4545 Dont set base_machine for ia64. More non-ELF conditions removed.
4546 Remove testing and setting of leading underscore information.
4547 * config.make.in (build-bounded): Set to no.
4548 * config.h.in: Remove NO_UNDERSCORES entry.
4549 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4550 them.
4551 * csu/start.c: Remove !NO_UNDERSCORE code.
4552 * locale/localeinfo.h: Likewise.
4553 * sysdeps/generic/machine-gmon.h: Likewise.
4554 * sysdeps/generic/sysdep.h: Likewise.
4555 * sysdeps/i386/sysdep.h: Likewise.
4556 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4557 * sysdeps/mach/sysdep.h: Likewise.
4558 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4559 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4560 * sysdeps/sh/sysdep.h: Likewise.
4561 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4562 * sysdeps/unix/i386/sysdep.S: Likewise.
4563 * sysdeps/unix/sparc/start.c: Likewise.
4564 * sysdeps/unix/sparc/sysdep.S: Likewise.
4565 * sysdeps/unix/sparc/sysdep.h: Likewise.
4566 * sysdeps/unix/start.c: Likewise.
4567 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4568 * sysdeps/x86_64/sysdep.h: Likewise.
4569
df78418a
UD
45702012-01-07 Ulrich Drepper <drepper@gmail.com>
4571
a784e502
UD
4572 [BZ #13553]
4573 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4574 for non-gcc.
4575 * argp/argp-fmtstream.h: Use const instead __const.
4576 * argp/argp.h: Likewise.
4577 * assert/assert.h: Likewise.
4578 * bits/fenv.h: Likewise.
4579 * bits/sched.h: Likewise.
4580 * bits/sigset.h: Likewise.
4581 * bits/sigthread.h: Likewise.
4582 * catgets/nl_types.h: Likewise.
4583 * conform/data/pthread.h-data: Likewise.
4584 * crypt/crypt-private.h: Likewise.
4585 * crypt/crypt.h: Likewise.
4586 * crypt/crypt_util.c: Likewise.
4587 * ctype/ctype.h: Likewise.
4588 * debug/execinfo.h: Likewise.
4589 * debug/mbsnrtowcs_chk.c: Likewise.
4590 * debug/mbsrtowcs_chk.c: Likewise.
4591 * debug/wcsnrtombs_chk.c: Likewise.
4592 * debug/wcsrtombs_chk.c: Likewise.
4593 * debug/wcstombs_chk.c: Likewise.
4594 * dirent/dirent.h: Likewise.
4595 * dlfcn/dlfcn.h: Likewise.
4596 * elf/neededtest4.c: Likewise.
4597 * grp/grp.h: Likewise.
4598 * gshadow/gshadow.h: Likewise.
4599 * iconv/gconv.h: Likewise.
4600 * iconv/gconv_int.h: Likewise.
4601 * iconv/gconv_simple.c: Likewise.
4602 * iconv/iconv.h: Likewise.
4603 * iconv/loop.c: Likewise.
4604 * iconv/skeleton.c: Likewise.
4605 * include/aio.h: Likewise.
4606 * include/aliases.h: Likewise.
4607 * include/argz.h: Likewise.
4608 * include/arpa/inet.h: Likewise.
4609 * include/assert.h: Likewise.
4610 * include/dirent.h: Likewise.
4611 * include/dlfcn.h: Likewise.
4612 * include/execinfo.h: Likewise.
4613 * include/fcntl.h: Likewise.
4614 * include/fenv.h: Likewise.
4615 * include/glob.h: Likewise.
4616 * include/grp.h: Likewise.
4617 * include/libintl.h: Likewise.
4618 * include/mntent.h: Likewise.
4619 * include/netdb.h: Likewise.
4620 * include/pwd.h: Likewise.
4621 * include/rpc/netdb.h: Likewise.
4622 * include/sched.h: Likewise.
4623 * include/search.h: Likewise.
4624 * include/shadow.h: Likewise.
4625 * include/signal.h: Likewise.
4626 * include/stdio.h: Likewise.
4627 * include/stdlib.h: Likewise.
4628 * include/string.h: Likewise.
4629 * include/sys/socket.h: Likewise.
4630 * include/sys/stat.h: Likewise.
4631 * include/sys/statfs.h: Likewise.
4632 * include/sys/statvfs.h: Likewise.
4633 * include/sys/syslog.h: Likewise.
4634 * include/sys/time.h: Likewise.
4635 * include/sys/uio.h: Likewise.
4636 * include/time.h: Likewise.
4637 * include/unistd.h: Likewise.
4638 * include/utmp.h: Likewise.
4639 * include/wchar.h: Likewise.
4640 * include/wctype.h: Likewise.
4641 * inet/aliases.h: Likewise.
4642 * inet/arpa/inet.h: Likewise.
4643 * inet/netinet/ether.h: Likewise.
4644 * inet/netinet/in.h: Likewise.
4645 * intl/libintl.h: Likewise.
4646 * io/bits/fcntl2.h: Likewise.
4647 * io/fcntl.h: Likewise.
4648 * io/ftw.h: Likewise.
4649 * io/sys/poll.h: Likewise.
4650 * io/sys/stat.h: Likewise.
4651 * io/sys/statfs.h: Likewise.
4652 * io/sys/statvfs.h: Likewise.
4653 * io/utime.h: Likewise.
4654 * libio/bits/stdio.h: Likewise.
4655 * libio/bits/stdio2.h: Likewise.
4656 * libio/libio.h: Likewise.
4657 * libio/libioP.h: Likewise.
4658 * libio/stdio.h: Likewise.
4659 * locale/lc-ctype.c: Likewise.
4660 * locale/locale.h: Likewise.
4661 * login/utmp.h: Likewise.
4662 * malloc/arena.c: Likewise.
4663 * malloc/malloc.c: Likewise.
4664 * malloc/malloc.h: Likewise.
4665 * malloc/mcheck.c: Likewise.
4666 * malloc/mtrace.c: Likewise.
4667 * math/bits/mathcalls.h: Likewise.
4668 * math/fenv.h: Likewise.
4669 * math/math_private.h: Likewise.
4670 * misc/bits/error.h: Likewise.
4671 * misc/bits/syslog.h: Likewise.
4672 * misc/err.h: Likewise.
4673 * misc/error.h: Likewise.
4674 * misc/fstab.h: Likewise.
4675 * misc/mntent.h: Likewise.
4676 * misc/regexp.h: Likewise.
4677 * misc/search.h: Likewise.
4678 * misc/sgtty.h: Likewise.
4679 * misc/sys/mman.h: Likewise.
4680 * misc/sys/syslog.h: Likewise.
4681 * misc/sys/uio.h: Likewise.
4682 * misc/sys/xattr.h: Likewise.
4683 * misc/ttyent.h: Likewise.
4684 * nis/rpcsvc/ypclnt.h: Likewise.
4685 * nss/nss.h: Likewise.
4686 * posix/bits/unistd.h: Likewise.
4687 * posix/fnmatch.h: Likewise.
4688 * posix/glob.h: Likewise.
4689 * posix/sched.h: Likewise.
4690 * posix/spawn.h: Likewise.
4691 * posix/sys/wait.h: Likewise.
4692 * posix/unistd.h: Likewise.
4693 * posix/wordexp.h: Likewise.
4694 * pwd/pwd.h: Likewise.
4695 * resolv/netdb.h: Likewise.
4696 * resource/sys/resource.h: Likewise.
4697 * rt/aio.h: Likewise.
4698 * rt/bits/mqueue2.h: Likewise.
4699 * rt/mqueue.h: Likewise.
4700 * shadow/shadow.h: Likewise.
4701 * signal/signal.h: Likewise.
4702 * socket/send.c: Likewise.
4703 * socket/sendto.c: Likewise.
4704 * socket/sys/socket.h: Likewise.
4705 * stdio-common/printf.h: Likewise.
4706 * stdlib/bits/stdlib.h: Likewise.
4707 * stdlib/fmtmsg.h: Likewise.
4708 * stdlib/monetary.h: Likewise.
4709 * stdlib/stdlib.h: Likewise.
4710 * stdlib/ucontext.h: Likewise.
4711 * streams/stropts.h: Likewise.
4712 * string/argz.h: Likewise.
4713 * string/bits/string2.h: Likewise.
4714 * string/string.h: Likewise.
4715 * string/strings.h: Likewise.
4716 * sunrpc/rpc/auth.h: Likewise.
4717 * sunrpc/rpc/auth_des.h: Likewise.
4718 * sunrpc/rpc/clnt.h: Likewise.
4719 * sunrpc/rpc/netdb.h: Likewise.
4720 * sunrpc/rpc/pmap_clnt.h: Likewise.
4721 * sunrpc/rpc/xdr.h: Likewise.
4722 * sysdeps/generic/inttypes.h: Likewise.
4723 * sysdeps/generic/net/if.h: Likewise.
4724 * sysdeps/generic/sys/swap.h: Likewise.
4725 * sysdeps/gnu/net/if.h: Likewise.
4726 * sysdeps/gnu/utmpx.h: Likewise.
4727 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4728 * sysdeps/i386/i486/bits/string.h: Likewise.
4729 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4730 * sysdeps/s390/bits/string.h: Likewise.
4731 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4732 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4733 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4734 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4735 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4736 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4737 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4738 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4739 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4740 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4741 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4742 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4743 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4744 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4745 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4746 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4747 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4748 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4749 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4750 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4751 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4752 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4753 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4754 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4755 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4756 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4757 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4758 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4759 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4760 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4761 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4762 * sysvipc/sys/ipc.h: Likewise.
4763 * sysvipc/sys/msg.h: Likewise.
4764 * sysvipc/sys/sem.h: Likewise.
4765 * sysvipc/sys/shm.h: Likewise.
4766 * termios/termios.h: Likewise.
4767 * time/sys/time.h: Likewise.
4768 * time/time.h: Likewise.
4769 * wcsmbs/bits/wchar2.h: Likewise.
4770 * wcsmbs/uchar.h: Likewise.
4771 * wcsmbs/wchar.h: Likewise.
4772 * wctype/wctype.h: Likewise.
4773
0269750c
UD
4774 [BZ #13551]
4775 * Makeconfig: Remove all but ELF support including AIX support.
4776 * Makerules: Likewise.
4777 * config.h.in: Likewise.
4778 * config.make.in: Likewise.
4779 * configure: Likewise.
4780 * configure.in: Likewise.
4781 * csu/Makefile: Likewise.
4782 * csu/version.c: Likewise.
4783 * debug/Makefile: Likewise.
4784 * dlfcn/Makefile: Likewise.
4785 * elf/Makefile: Likewise.
4786 * extra-lib.mk: Likewise.
4787 * iconv/Makefile: Likewise.
4788 * include/libc-symbols.h: Likewise.
4789 * include/shlib-compat.h: Likewise.
4790 * resolv/Makefile: Likewise.
4791 * resolv/res_libc.c: Likewise.
4792 * rt/Makefile: Likewise.
4793 * sysdeps/i386/asm-syntax.h: Likewise.
4794 * sysdeps/i386/sysdep.h: Likewise.
4795 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4796 * sysdeps/mach/sysdep.h: Likewise.
4797 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4798 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4799 * sysdeps/s390/asm-syntax.h: Likewise.
4800 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4801 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4802 * sysdeps/sh/sysdep.h: Likewise.
4803 * sysdeps/unix/sparc/sysdep.h: Likewise.
4804 * sysdeps/wordsize-32/divdi3.c: Likewise.
4805 * sysdeps/x86_64/sysdep.h: Likewise.
4806
00bbd29b
UD
4807 * argp/Versions: Remove _argp_unlock_xxx.
4808
4809 [BZ #13559]
4810 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4811 * abilist/libBrokenLocale.abilist: Likewise.
4812 * abilist/libanl.abilist: Likewise.
4813 * abilist/libc.abilist: Likewise.
4814 * abilist/libcrypt.abilist: Likewise.
4815 * abilist/libdl.abilist: Likewise.
4816 * abilist/libm.abilist: Likewise.
4817 * abilist/libnsl.abilist: Likewise.
4818 * abilist/libpthread.abilist: Likewise.
4819 * abilist/libresolv.abilist: Likewise.
4820 * abilist/librt.abilist: Likewise.
4821 * abilist/libthread_db.abilist: Likewise.
4822 * abilist/libutil.abilist: Likewise.
4823 * abilist/libnss_db.abilist: New file.
4824
4825 * scripts/abilist.awk: Add support for indirect functions.
4826
a2693a0e
UD
4827 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4828
3f05895f
UD
4829 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4830
ecb6fb48
UD
4831 * shlib-versions: Remove entries for ports architectures.
4832
664f8cb9
UD
4833 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4834 files in ports.
4835 * elf/stackguard-macros.h: Remove support for IA-64.
4836 * elf/tst-auditmod1.c: Likewise.
4837 * sysdeps/generic/ldsodefs.h: Likewise.
4838
7ae81d88
UD
4839 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4840 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4841 configure files.
4842
bdeba135
UD
4843 [BZ #13552]
4844 * configure.in: Remove --enable-omitfp support.
4845 * FAQ.in: Adjust.
4846 * config.make.in: Likewise.
4847 * Makeconfig: Likewise.
4848 * manual/install.texi: Likewise.
4849
d75a0a62
UD
4850 In case anyone cares, the IA-64 architecture could move to ports.
4851 * sysdeps/ia64/*: Removed.
4852 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 4853 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 4854
dcc9756b
UD
4855 [BZ #13555]
4856 * configure.in: Remove entries for unsupported architectures.
4857
d3761ebc 4858 [BZ #13533]
9954432e
UD
4859 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4860 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4861 routines.
4862 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4863 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4864 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4865 fall back to using wcrtomb.
4866 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4867 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4868 renaming.
4869 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4870 * wcsmbs/tst-c16c32-1.c: New file.
4871
4872 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4873 local variable.
4874
c3a87236
UD
4875 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4876
28926a1b
UD
4877 * elf/tst-unique3.cc: Add explicit declaration of gets.
4878 * elf/tst-unique3lib.cc: Likewise.
4879 * elf/tst-unique3lib2.cc: Likewise.
4880 * elf/tst-unique4.cc: Likewise.
4881
df78418a
UD
4882 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4883
8ecd6b2a
JM
48842012-01-06 Joseph Myers <joseph@codesourcery.com>
4885
4886 [BZ #13566]
4887 * assert/assert.h (static_assert): Don't define for C++.
4888 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4889 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4890
9f115170
UD
48912012-01-03 Ulrich Drepper <drepper@gmail.com>
4892
5e0d0300
UD
4893 * iconv/loop.c (single loop): Fix assertion in storing of
4894 remaining bytes.
4895
9f115170
UD
4896 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4897
81fb02b0
UD
48982012-01-01 Ulrich Drepper <drepper@gmail.com>
4899
4900 * posix/getconf.c: Update copyright year.
4901 * nss/getent.c: Likewise.
a316c1f6 4902 * nss/makedb.c: Likewise.
81fb02b0
UD
4903 * iconv/iconvconfig.c: Likewise.
4904 * iconv/iconv_prog.c: Likewise.
4905 * elf/ldconfig.c: Likewise.
a316c1f6
UD
4906 * elf/pldd.c: Likewise.
4907 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
4908 * catgets/gencat.c: Likewise.
4909 * csu/version.c: Likewise.
4910 * elf/ldd.bash.in: Likewise.
4911 * elf/sprof.c (print_version): Likewise.
4912 * locale/programs/locale.c: Likewise.
4913 * locale/programs/localedef.c: Likewise.
a316c1f6 4914 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
4915 * nscd/nscd.c (print_version): Likewise.
4916 * debug/xtrace.sh: Likewise.
4917 * malloc/memusage.sh: Likewise.
4918 * malloc/mtrace.pl: Likewise.
4919 * debug/catchsegv.sh: Likewise.
4920
2ba92745
JJ
49212011-12-30 Jakub Jelinek <jakub@redhat.com>
4922
4923 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4924 pure attribute.
4925
dadebdae
UD
49262011-12-24 Ulrich Drepper <drepper@gmail.com>
4927
d3761ebc 4928 [BZ #13533]
db6af3eb
UD
4929 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4930 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4931 transformations.
4932 * iconv/gconv_int.h: Likewise.
4933 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4934 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4935 from libc for GLIBC_2.16.
4936 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4937 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4938 * wcsmbs/uchar.h: Really define mbstate_t.
4939 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4940 * wcsmbs/c16rtomb.c: New file.
4941 * wcsmbs/mbrtoc16.c: New file.
4942 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4943 for C/POSIX locale.
4944 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4945 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4946
dadebdae
UD
4947 * wcsmbs/wchar.h: Add missing __restrict.
4948
67371b56
UD
49492011-12-23 Ulrich Drepper <drepper@gmail.com>
4950
74033a25
UD
4951 [BZ #13532]
4952 * time/Makefile (routines): Add timespec_get.
4953 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4954 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4955 timespec for ISO C11.
4956 * time/timespec_get.c: New file.
4957 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4958 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4959
380d7e87
UD
4960 [BZ #13531]
4961 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4962 * stdlib/stdlib.h: Declare aligned_alloc.
4963 * Versions.def: Add GLIBC_2.16 for libc.
4964 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4965
4e9e7a35
UD
4966 [BZ 13527]
4967 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4968 ISO C11.
4969
380d7e87 4970 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
4971 code.
4972
03a71829
UD
4973 [BZ #13528]
4974 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4975
839e283e
UD
4976 [BZ #13529]
4977 * assert/assert.h (static_assert): Define.
4978
ce5294e2 4979 * version.h: Update for 2.16 development version.
90fa7312 4980
8d44e150 4981 [BZ #13526]
d7809905
UD
4982 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4983 _ISOC11_SOURCE.
4984
c0da14cd
UD
4985 * version.h (RELEASE): Bump for 2.15 release.
4986 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4987
530a3249
MP
4988 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4989 Patch by Marek Polacek <mpolacek@redhat.com>.
4990
67371b56
UD
4991 * bits/byteswap.h: Protect long long constants with __extension__.
4992 * sysdeps/i386/bits/byteswap.h: Likewise.
4993 * sysdeps/ia64/bits/byteswap.h: Likewise.
4994 * sysdeps/s390/bits/byteswap.h: Likewise.
4995 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4996
15db4de1
LD
49972011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4998
4999 [BZ #13540]
bbe315ea
LD
5000 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
5001 destination buffer.
15db4de1
LD
5002 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5003
2b2596b1
MP
50042011-12-23 Marek Polacek <polacek@redhat.com>
5005
5006 * elf/dl-addr.c (determine_info): Add inline keyword.
5007 * elf/tst-auditmod4b.c (check_avx): Likewise.
5008 * elf/tst-auditmod6b.c (check_avx): Likewise.
5009 * elf/tst-auditmod6c.c (check_avx): Likewise.
5010 * elf/tst-auditmod7b.c (check_avx): Likewise.
5011
70c6c246
UD
50122011-12-23 Ulrich Drepper <drepper@gmail.com>
5013
5014 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
5015 !__SSE_MATH__.
5016
c044cf14
LD
50172011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5018
15db4de1 5019 [BZ #13540]
c044cf14
LD
5020 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
5021 processing for last bytes.
5022
6b13d9d9
BH
50232011-08-06 Bruno Haible <bruno@clisp.org>
5024
d455f537
BH
5025 [BZ #13061]
5026 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
5027 U+0385, not to U+1FEE.
5028
6b13d9d9
BH
5029 [BZ #13062]
5030 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
5031 entry for U+00A5 U+0301.
5032
db910efd
UD
50332011-12-22 Ulrich Drepper <drepper@gmail.com>
5034
27deeafc
UD
5035 [BZ #13166]
5036 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
5037 buffer for the output is too small.
5038
aed9d171
UD
5039 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
5040 optimization.
5041
db910efd
UD
5042 [BZ #13185]
5043 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
5044 SSE flags if possible.
5045
2bd779ae
LD
50462011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5047
e7f9dac3 5048 [BZ #13540]
2bd779ae
LD
5049 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
5050 processing for last bytes.
5051
154bfc16
JM
50522011-12-22 Joseph Myers <joseph@codesourcery.com>
5053
5054 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
5055 (syscall-list-default-options, syscall-list-default-condition)
5056 (syscall-list-includes): Define.
5057 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
5058 list of ABIs and options and #if conditions for each ABI. Do not
5059 handle common syscalls between ABIs specially.
5060 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
5061 Remove.
5062 (syscall-list-variants, syscall-list-32bit-options)
5063 (syscall-list-32bit-condition, syscall-list-64bit-options)
5064 (syscall-list-64bit-condition): Define.
5065 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
5066 (syscall-list-variants, syscall-list-32bit-options)
5067 (syscall-list-32bit-condition, syscall-list-64bit-options)
5068 (syscall-list-64bit-condition): Define.
5069 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
5070 Remove.
5071 (syscall-list-variants, syscall-list-32bit-options)
5072 (syscall-list-32bit-condition, syscall-list-64bit-options)
5073 (syscall-list-64bit-condition): Define.
5074 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
5075 Remove.
5076 (syscall-list-variants, syscall-list-32bit-options)
5077 (syscall-list-32bit-condition, syscall-list-64bit-options)
5078 (syscall-list-64bit-condition): Define.
5079
21eaf3a5
UD
50802011-12-22 Ulrich Drepper <drepper@gmail.com>
5081
16c6f992
UD
5082 * locale/iso-639.def: Add brx entry.
5083
41043168
UD
5084 [BZ #13328]
5085 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
5086 Proposed by Mariusz_Cukr <marcukr@op.pl>.
5087
21eaf3a5
UD
5088 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
5089 __feraiseexcept_renamed.
5090
e3a851a2
UD
50912011-12-21 Ulrich Drepper <drepper@gmail.com>
5092
4920765e
UD
5093 [BZ #13538]
5094 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
5095 EPOLLET with unsigned values.
5096 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5097 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5098
e3a851a2
UD
5099 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
5100 to large cancellation.
5101 * math/s_cacoshf.c: Likewise.
5102 * math/s_cacoshl.c: Likewise.
5103
b27e24b8
RK
51042011-11-18 Richard B. Kreckel <kreckel@ginac.de>
5105
5106 [BZ #13305]
aebefeee 5107 [BZ #12786]
b27e24b8
RK
5108 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
5109 * math/s_cacoshf.c: Likewise.
5110 * math/s_cacoshl.c: Likewise.
5111
ee190f67
UD
51122011-12-21 Ulrich Drepper <drepper@gmail.com>
5113
5114 [BZ #13439]
5115 * iconv/gconv.h: Define __GCONV_SWAP.
5116 * iconvdata/unicode.c: The swap bit must be stored in __flags.
5117 * iconvdata/utf-16.c: Likewise.
5118 * iconvdata/utf-32.c: Likewise.
5119
707f25df
AS
51202011-12-21 Andreas Schwab <schwab@linux-m68k.org>
5121
5122 [BZ #13524]
5123 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
5124 numerator after shifting it by one limb.
5125
d2daaa1e
RÁE
51262011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
5127
5128 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
5129 under [__USE_EXTERN_INLINES].
5130
a4647e72
UD
51312011-12-17 Ulrich Drepper <drepper@gmail.com>
5132
5133 [BZ #13446]
5134 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
5135
f0b264f1
AZ
51362011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5137
5138 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
5139 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
5140 optimized code.
5141 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
5142 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
5143 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
5144 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
5145 for strncasecmp/strncasecmp_l compilation.
5146 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
5147 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
5148
8ef4f244
MP
51492011-12-08 Marek Polacek <mpolacek@redhat.com>
5150
5151 [BZ #13484]
5152 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
5153 of __asm__.
5154
97ac2654
UD
51552011-12-17 Ulrich Drepper <drepper@gmail.com>
5156
5157 [BZ #13506]
5158 * time/tzfile.c (__tzfile_read): Check values from file header.
5159
91d2a845
WS
51602011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5161
5162 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
5163 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
5164 * powerpc/powerpc32/dl-start.S: Likewise.
5165 * powerpc/powerpc32/elf/start.S: Likewise.
5166 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5167 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
5168 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5169 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
5170 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5171 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
5172 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
5173 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5174 * powerpc/powerpc32/fpu/s_round.S: Likewise.
5175 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5176 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5177 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5178 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5179 * powerpc/powerpc32/memset.S: Likewise.
5180 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5181 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5182 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5183 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5184 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5185 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5186 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5187 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5188 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
5189 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
5190 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
5191 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5192 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5193
a1267ba1
AZ
51942011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5195
5196 * math/libm-test.inc: Added more nearbyint tests.
5197 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5198 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5199 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5200 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5201
ad8ac1bd
RL
52022011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
5203
5204 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5205 FD_CLOEXEC.
5206
1d3e4b61
UD
52072011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5208
5209 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5210 Add wcscpy-ssse3 wcscpy-c.
5211 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5212 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5213 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5214 * sysdeps/x86_64/wcschr.S: New file.
5215 * sysdeps/x86_64/wcsrchr.S: New file.
5216 * string/test-strcmp.c: Remove checking of wcscmp function for
5217 wrong alignments.
5218 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5219 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5220 wcsrchr-sse2 wcsrchr-c.
5221 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5222 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5223 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5224 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5225 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5226 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5227 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5228 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5229 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5230 * wcsmbc/wcschr.c (WCSCHR): New macro.
5231
5b330a2d
UD
52322011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5233
5234 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5235 * wcsmbs/test-wcsrchr.c: New file.
5236 * string/test-strrchr.c: Add wcsrchr support.
5237 (WIDE): New macro.
5238 * wcsmbs/test-wcscpy.c: New file.
5239 * string/test-strcpy.c: Add wcscpy support.
5240 (WIDE): New macro.
26428b7c 5241
f039c043
UD
52422011-12-10 Ulrich Drepper <drepper@gmail.com>
5243
5244 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5245 the inner loop.
5246
850fb039
AS
52472011-12-06 Andreas Schwab <schwab@linux-m68k.org>
5248
5249 [BZ #13472]
5250 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5251
4efbd5cb
UD
52522011-12-04 Ulrich Drepper <drepper@gmail.com>
5253
52ff5dd0 5254 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 5255 Minor optimizations.
52ff5dd0 5256
4efbd5cb
UD
5257 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5258 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5259 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5260
8a426e12
UD
52612011-12-03 Ulrich Drepper <drepper@gmail.com>
5262
aff2453d
UD
5263 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5264 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5265 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5266 for gcc to avoid warnings.
5267 * inet/Makefile (tests): Add tst-checks.
5268 * inet/tst-checks.c: New file.
5269
5270 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5271 warning.
5272
5273 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5274 __wmemcmp_sse2.
5275
5276 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5277 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5278
8a426e12
UD
5279 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5280
9bea3473
UD
52812011-12-02 Ulrich Drepper <drepper@gmail.com>
5282
3a965496
UD
5283 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5284 problem.
5285
9bea3473
UD
5286 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5287
f101631b
UD
52882011-11-29 Joseph Myers <joseph@codesourcery.com>
5289
5290 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5291 conditional on GCC version.
5292 (__arch_compare_and_exchange_val_8_acq)
5293 (__arch_compare_and_exchange_val_16_acq)
5294 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5295 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5296 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5297
a98275aa
UD
52982011-12-02 Joseph Myers <joseph@codesourcery.com>
5299
5300 * sysdeps/sh/backtrace.c: New file.
5301
d4cc29a2
AS
53022011-12-02 Andreas Schwab <schwab@redhat.com>
5303
5304 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
5305 parenthesis.
5306
6257af2d
AS
53072011-12-01 Andreas Schwab <schwab@redhat.com>
5308
5309 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5310 falling back to utime.
5311
b5f44c1a
AS
53122011-11-30 Andreas Schwab <schwab@redhat.com>
5313
5314 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
5315 expectations for float.
5316
f3a6cc0a
AS
53172011-11-29 Andreas Schwab <schwab@redhat.com>
5318
5319 * locale/weight.h (findidx): Add parameter len.
5320 * locale/weightwc.h (findidx): Likewise.
5321 * posix/fnmatch_loop.c (FCT): Adjust caller.
5322 * posix/regcomp.c (build_equiv_class): Likewise.
5323 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
5324 * posix/regexec.c (check_node_accept_bytes): Likewise.
5325 * string/strcoll_l.c (STRCOLL): Likewise.
5326 * string/strxfrm_l.c (STRXFRM): Likewise.
5327
9d65ea3a
UD
53282011-11-17 Ulrich Drepper <drepper@gmail.com>
5329
5330 * Makefile.in: Remove CVSOPT handling.
5331 * configure.in: Remove use of AC_REVISION.
5332 * iconvdata/Makefile (distribute): No need to filter out CVS.
5333 * scripts/list-sources.sh: Remove CVS, subversion and monotone
5334 handling.
5335
5583a086
AS
53362011-11-16 Andreas Schwab <schwab@redhat.com>
5337
5338 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5339 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5340 [USE_AS_STRNCASECMP_L]: Likewise.
5341 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5342 NO_TLS_DIRECT_SEG_REFS.
5343 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5344 Fix argument offsets for non-PIC.
5345 [USE_AS_STRNCASECMP_L]: Likewise.
5346 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5347 NO_TLS_DIRECT_SEG_REFS.
5348
d62a8200
UD
53492011-11-15 Ulrich Drepper <drepper@gmail.com>
5350
9d65ea3a 5351 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
5352 O_CLOEXEC.
5353 * locale/loadlocale.c (_nl_load_locale): Likewise.
5354
09f93bd3
AS
53552011-11-15 Andreas Schwab <schwab@redhat.com>
5356
446514f9
AS
5357 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5358 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5359 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5360 (SYSCALL_GETTIME): Set errno on error.
5361
09f93bd3
AS
5362 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5363 count references to noai6ai_cached.
5364
312be3f9
UD
53652011-11-15 Ulrich Drepper <drepper@gmail.com>
5366
5367 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5368
5369 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5370 FD_CLOEXEC for /proc/self/maps.
5371
5372 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5373 FD_CLOEXEC for /proc/meminfo.
5374
5375 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5376 gai.conf.
5377
5378 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
5379 FD_CLOEXEC for given file.
5380
5381 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5382
5383 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5384 FD_CLOEXEC for /etc/hosts.
5385 (_gethtent): Likewise.
5386
5387 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5388
5389 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5390 cancellation and set FD_CLOEXEC for /etc/netgroup.
5391
5392 * nss/nss_files/files-key.c (search): Don't allow cancellation when
5393 reading /etc/publickey.
5394
5395 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5396 allow cancellation when reading /etc/group.
5397
5398 * nss/nss_files/files-alias.c (internal_setent): Don't allow
5399 cancellation.
5400 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
5401
5402 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5403 when using data file.
5404
5405 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5406
5407 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5408 (write_nis_obj): Use "c" and "e" in fopen.
5409
5410 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5411
5412 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5413
5414 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5415
5416 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5417
5418 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5419 locale.alias.
5420
5421 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5422
5423 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5424
5425 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5426
5427 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5428 file parsing and set FD_CLOEXEC.
5429
82af0fa8
UD
54302011-11-14 Ulrich Drepper <drepper@gmail.com>
5431
5432 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5433
a5fb313c
AS
54342011-11-14 Andreas Schwab <schwab@redhat.com>
5435
5436 * malloc/arena.c (arena_get2): Don't call reused_arena when
5437 _int_new_arena failed.
5438
6abf3465
UD
54392011-11-14 Ulrich Drepper <drepper@gmail.com>
5440
5441 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5442 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5443 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5444 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5445 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5446 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5447 to compile strcasecmp and strncasecmp.
5448 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5449 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5450
5451 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5452
76e3966e
UD
54532011-11-13 Ulrich Drepper <drepper@gmail.com>
5454
5455 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5456 locale-defines.sym to gen-as-const-headers.
5457 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5458 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5459 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5460 to compile strcasecmp and strncasecmp.
5461 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5462 strcasecmp_l and strncasecmp_l.
5463 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5464 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5465 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5466 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5467 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5468 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5469 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5470 * sysdeps/i386/i686/multiarch/strncase.S: New file.
5471 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5472 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5473 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5474
ab26144e
UD
54752011-11-12 Ulrich Drepper <drepper@gmail.com>
5476
7edb22ef
UD
5477 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5478 result of SYSDEP_GETTIME_CPU to retval.
5479 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5480 parameter list to macro. Remove trailing semicolon. Adjust users.
5481
9694fc44
UD
5482 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5483 variable.
5484
8ad89ef8
UD
5485 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5486 mantissa words.
5487 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5488
0c822ef9
UD
5489 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5490 from unused variable.
5491
874e0564
UD
5492 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5493 DWARF definitions.
5494 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5495 for assembling.
5496
3a2edc79
UD
5497 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5498 over namespaces.
5499
f3c2577f
UD
5500 * sunrpc/rpc_prot.c (rejected): Fix case value.
5501
294ce126
UD
5502 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5503 unsigned long long int to avoid warnings in shift.
5504
5e2b63c6
UD
5505 * posix/regex_internal.c (re_string_reconstruct): Actually use result
5506 of use of trans.
5507 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5508 variable tmp.
5509
e7f4b08e
UD
5510 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5511 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5512 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5513
ab26144e
UD
5514 * nis/nis_table.c (nis_list): Use variable of correct type for
5515 result of __follow_path call.
5516
8a6d5255
AZ
55172011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5518
5519 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5520 of math functions ceil, trunc, floor, round, and sqrt, when
5521 avaliable on the platform.
5522 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5523 name clash.
5524 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5525 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5526 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5527
aaddc98c
MP
55282011-10-30 Marek Polacek <mpolacek@redhat.com>
5529
5530 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5531 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5532
95b7042b
RM
55332011-11-11 Roland McGrath <roland@hack.frob.com>
5534
5535 * include/unistd.h: Fix __readlink return type.
5536 Reported by Chris Metcalf <cmetcalf@tilera.com>.
5537
57769839
UD
55382011-11-11 Ulrich Drepper <drepper@gmail.com>
5539
5540 * stdlib/ucontext.h: Undo last change for makecontext.
5541
edc5984d
AS
55422011-11-11 Andreas Schwab <schwab@redhat.com>
5543
98591e58
AS
5544 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5545
edc5984d
AS
5546 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5547 * setjmp/setjmp.h: Mark functions as non-leaf.
5548 * setjmp/bits/setjmp2.h: Likewise.
5549 * stdlib/ucontext.h: Likewise.
5550
77cdc054
AS
55512011-11-10 Andreas Schwab <schwab@redhat.com>
5552
5553 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5554 (reused_arena): Don't check arena limit.
5555 (arena_get2): Atomically check arena limit.
5556
fe72eebd
UD
55572011-11-08 Ulrich Drepper <drepper@gmail.com>
5558
5f078c32
UD
5559 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5560 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5561
fe72eebd
UD
5562 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5563 instructions.
5564
ae1bc2fa
AS
55652011-11-07 Andreas Schwab <schwab@redhat.com>
5566
7583a88d
AS
5567 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5568 handler when locking.
5569
ae1bc2fa
AS
5570 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5571 Fix size of allocated buffer.
5572
10fb0bfa
AS
55732011-11-04 Andreas Schwab <schwab@redhat.com>
5574
998832a4
AS
5575 [BZ #10103]
5576 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5577 declarations for long double functions.
5578 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5579
10fb0bfa
AS
5580 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5581
3d7ba52b
AS
55822011-11-03 Andreas Schwab <schwab@redhat.com>
5583
a9ae54a1
AS
5584 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5585 installed.
5586
3d7ba52b
AS
5587 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5588 is disabled.
5589
bc8db248
ST
55902011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5591
5592 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5593
45b96dd6
AS
55942011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5595
647776f6
AS
5596 * include/alloca.h (stackinfo_alloca_round): Define.
5597 (extend_alloca): Use it.
5598 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5599 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5600 here.
5601
d91a8b93
AS
5602 * scripts/check-local-headers.sh: Ignore libaudit.h.
5603
45b96dd6
AS
5604 * nscd/Makefile (extra-objs): Make recursively expanded.
5605
432d41ce
UD
56062011-11-01 Ulrich Drepper <drepper@gmail.com>
5607
34372fc6
UD
5608 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5609 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5610
fadb59f8
UD
5611 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5612 * posix/tst-rfc3484-2.c: Likewise.
5613 * posix/tst-rfc3484-3.c: Likewise.
5614
78239589
UD
5615 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5616 process_vm_writev.
5617 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5618 process_vm_writev.
5619 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5620 process_vm_writev from libc using GLIBC_2.15 version.
5621
432d41ce
UD
5622 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5623
02f9c6cf
PP
56242011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5625
5626 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5627 stack usage.
5628
3a2c0242
UD
56292011-10-31 Ulrich Drepper <drepper@gmail.com>
5630
f4ec4833
UD
5631 [BZ #13367]
5632 * nss/getent.c (initgroups_keys): Show error message in case no group
5633 names are given.
5634
3a2c0242
UD
5635 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5636 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5637 __bump_nl_timestamp.
5638 * nscd/connections (nscd_init): When host database is served open
5639 netlink socket and request notification about configuration changes.
5640 (main_loop_poll): Track netlink file descriptor and bump timestamp
5641 in case data becomes available.
5642 (main_loop_epoll): Likewise.
5643 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5644 (database_pers_head): Add extra_data fileds.
5645 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5646 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5647 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5648 Adjust caller.
5649 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5650 in6ai data, call __free_in6ai.
5651 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5652 Add -DHAVE_NETLINK.
5653 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5654 interface information. Reuse previous data if netlink timestamp
5655 is not changed.
5656 (__bump_nl_timestamp): New function.
5657 (__free_in6ai): New function.
5658
636064eb
UD
56592011-10-30 Ulrich Drepper <drepper@gmail.com>
5660
5661 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5662 close_not_cancel_no_status here.
5663 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5664
9beb2334
UD
56652011-10-29 Ulrich Drepper <drepper@gmail.com>
5666
6ef76f3b
UD
5667 [BZ #13276]
5668 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5669 return value.
5670
0ffc4f3e 5671 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
5672 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5673 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5674
cb95113e
UD
56752011-07-03 Andreas Jaeger <aj@suse.de>
5676
5677 [BZ #10709]
5678 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5679 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5680 * math/libm-test.inc (sin_test): Add test case.
5681
a1b560ff
UD
56822011-10-29 Ulrich Drepper <drepper@gmail.com>
5683
c9aaface
UD
5684 [BZ #13337]
5685 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5686 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5687
d272e7f1
UD
5688 * elf/chroot_canon.c (chroot_canon): Cleanups.
5689
1bc33071
UD
5690 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5691
1760874d
TJ
5692 [BZ #13335]
5693 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5694 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5695
51d91b18
UD
5696 * string/test-strchr.c: Make usable for strchrnul testing.
5697 * string/test-strchrnul.c: New file.
5698 * string/Makefile (strop-tests): Add strchrnul.
5699
a1b560ff 5700 * po/it.po: Update from translation team.
b611fb81 5701 * po/es.po: Likewise.
a1b560ff 5702
a5b81e1f
UD
57032011-10-28 Ulrich Drepper <drepper@gmail.com>
5704
fd52bc6d
UD
5705 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5706 the three constants needed as parameters. Drop the others.
5707 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5708 __m128i_strloadu_tolower.
52e4b9eb
UD
5709 Create and initialize variable zero and use it in all the places
5710 where _mm_setzero_si128 was used.
fd52bc6d 5711
a5b81e1f
UD
5712 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5713 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5714 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5715 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5716 anymore.
5717 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5718 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5719 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5720 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5721 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5722 __mpranred, __mptan.
5723 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5724 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5725 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5726 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5727 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5728 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5729 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5730 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5731 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5732
b4343346
AS
57332011-10-28 Andreas Schwab <schwab@redhat.com>
5734
0c92d8a8
AS
5735 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5736 redefine if SHARED.
5737 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5738
b4343346
AS
5739 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5740 wide char related routines to wcsmbs subdir.
5741
3871f58f
AS
57422011-10-27 Andreas Schwab <schwab@redhat.com>
5743
5744 [BZ #13344]
5745 * misc/sys/cdefs.h (__THROWNL): Define.
5746 * posix/unistd.h: Use __THREADNL instead of __THREAD
5747 for memory synchronization functions.
5748
94d44d9f
RM
57492011-10-26 Roland McGrath <roland@hack.frob.com>
5750
21b64b15 5751 [BZ #13349]
94d44d9f
RM
5752 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5753 doesn't exist.
5754 * manual/stdio.texi (Obstack Streams): Node removed.
5755
f6ce9294
AS
57562011-10-26 Andreas Schwab <schwab@redhat.com>
5757
80479147
AS
5758 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5759 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5760 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5761
f6ce9294
AS
5762 * math/math_private.h (math_force_eval): Allow non-addressable
5763 arguments.
5764 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5765
618280a1
UD
57662011-10-25 Ulrich Drepper <drepper@gmail.com>
5767
e0016b11
UD
5768 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5769 file is not needed.
5770
5771 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5772 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5773 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5774 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5775 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5776 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5777 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5778 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5779 Add AVX variants.
5780 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5781 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5782 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5783 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5784 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5785 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5786 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5787 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5788 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5789 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5790 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5791 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5792 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5793 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5794 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5795 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5796 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5797 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5798 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5799
5800 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5801 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5802
618280a1
UD
5803 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5804 place. Use VEX encoding when compiling for AVX.
5805
37822576
AS
58062011-10-25 Andreas Schwab <schwab@redhat.com>
5807
1f1e1947
AS
5808 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5809 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5810
37822576
AS
5811 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5812
31ea014d
UD
58132011-10-25 Ulrich Drepper <drepper@gmail.com>
5814
d7826aa1 5815 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 5816 useless if() expression.
d7826aa1
UD
5817 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5818 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5819 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5820 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5821 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5822 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5823 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5824 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5825 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5826 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5827 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5828 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5829 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5830 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5831 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5832 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5833 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5834 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5835 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5836
31ea014d
UD
5837 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5838
16437fec
AS
58392011-10-25 Andreas Schwab <schwab@redhat.com>
5840
5841 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5842 condition.
5843 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5844
31d3cc00
UD
58452011-10-25 Ulrich Drepper <drepper@gmail.com>
5846
5847 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5848 .text section. Avoid duplicate constants.
5849 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5850 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5851 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5852 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5853 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5854 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5855 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5856 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5857 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5858 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5859 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5860 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5861 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5862 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5863 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5864 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5865 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5866 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5867 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5868 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5869 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5870 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5871 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5872 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5873 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5874 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5875 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5876 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5877 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5878 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5879 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5880 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5881 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5882 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5883 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5884 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5885 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5886 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5887 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5888 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5889 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5890 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5891 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5892 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5893 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5894
58985aa9
UD
58952011-10-24 Ulrich Drepper <drepper@gmail.com>
5896
202c9deb
UD
5897 * sysdeps/x86_64/dla.h: Move to ...
5898 * sysdeps/x86_64/fpu/dla.h: ...here.
5899 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5900 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 5901
af968f62
UD
5902 * config.make.in: Add have-mfma4 entry.
5903 * configure.in: Substitute libc_cv_cc_fma4.
5904 * math/Makefile (dbl-only-routines): Add sincostab.
5905 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5906 Use __sincostab not sincos.
5907 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5908 name is a macro.
5909 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5910 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5911 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5912 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5913 using __copysign.
5914 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5915 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5916 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5917 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5918 and __inv.
5919 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5920 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5921 __copysign.
5922 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5923 define aliases when function name is a macro.
5924 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5925 sysdeps/ieee754/dbl-64/sincos.tbl.
5926 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5927 fma4-enabled routines.
5928 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5929 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5930 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5931 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5932 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5933 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5934 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5935 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5936 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5937 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5938 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5939 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5940 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5941 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5942 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5943 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5944 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5945 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5946 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5947 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5948 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5949 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5950 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5951 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5952 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5953 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5954 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5955 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5956 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5957 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5958
58985aa9
UD
5959 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5960 rename.
5961 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5962 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5963 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5964 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5965 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5966 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5967 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5968 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5969
a201fbcf
AS
59702011-10-24 Andreas Schwab <schwab@redhat.com>
5971
5972 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5973
fc2ee42a
LD
59742011-10-23 Ulrich Drepper <drepper@gmail.com>
5975
bb3129bd
UD
5976 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5977
0275fff8
UD
5978 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5979 prediction.
5980 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5981
2fa2ae85
UD
5982 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5983 Remove unused variable magic_bits.
5984 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5985
fc2ee42a
LD
5986 * string/strnlen.c: Define and use STRNLEN macro.
5987 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5988 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5989 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5990 * wcsmbs/wcslen.c: Define and use WCSLEN.
5991 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5992 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5993 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5994 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5995 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5996 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5997 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5998
ce7dd29f
LD
59992011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6000
6001 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6002 strnlen-sse2-no-bsf.
6003 Rename strlen-no-bsf to strlen-sse2-no-bsf.
6004 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
6005 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
6006 Add strnlen support.
6007 (USE_AS_STRNLEN): New macro.
6008 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
6009 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
6010 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
6011 * sysdeps/x86_64/wcslen.S: New file.
6012
979c70a3
MZ
60132011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
6014
6015 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6016 XMM-moves are used for copying on small sizes.
6017
2d09f82f
LD
60182011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6019
6020 * wcsmbs/Makefile (strop-tests): Add wcschr.
6021 * wcsmbs/test-wcschr.c: New file.
6022 * string/test-strchr.c: Update.
6023 Add wcschr support.
6024 (WIDE): New macro.
6025
619fccca
LD
60262011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6027
2d09f82f 6028 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
6029 * wcsmbs/test-wcslen.c: New file.
6030 * string/test-strlen.c: Update.
6031 Add wcslen support.
6032 (WIDE): New macro.
6033
09f699ea
UD
60342011-10-23 Ulrich Drepper <drepper@gmail.com>
6035
6036 * po/it.po: Update from translation team.
6037
95584d3b
LD
60382011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6039
6040 * sysdeps/x86_64/wcscmp.S: Update.
6041 Fix wrong comparison semantics.
6042 wcscmp shall use signed comparison not unsigned.
6043 Don't use substraction to avoid overflow bug.
6044 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6045 * wcsmbc/wcscmp.c: Likewise.
6046 * string/test-strcmp.c: Likewise.
6047 Add new tests to check cases with negative values.
6048
c8b3296b
UD
60492011-10-23 Ulrich Drepper <drepper@gmail.com>
6050
6051 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
6052 * sysdeps/x86_64/dla.h: ...here. New file.
6053 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
6054 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6055 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6056 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6057 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6058 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6059 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6060 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6061 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6062
246ad57a
AS
60632011-10-23 Andreas Schwab <schwab@linux-m68k.org>
6064
6065 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
6066 __ynl_finite aliases.
6067
a1a87169
UD
60682011-10-22 Ulrich Drepper <drepper@gmail.com>
6069
0d355eb7
UD
6070 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6071
a1a87169
UD
6072 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
6073 define DLA_FMA.
6074 [DLA_FMA] (EMULV): Use DLA_FMA.
6075 [DLA_FMA] (MUL12): Use EMULV.
6076 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
6077 that are not needed.
6078 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6079 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6080 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6081 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6082 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6083 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6084 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6085
ee2aafe0
AS
60862011-10-22 Andreas Schwab <schwab@linux-m68k.org>
6087
6088 * math/s_nan.c: Undef __nan.
6089 * math/s_nanf.c: Undef __nanf.
6090 * math/s_nanl.c: Undef __nanl.
6091 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
6092 "math_private.h".
6093
bc62c2fb
UD
60942011-10-22 Ulrich Drepper <drepper@gmail.com>
6095
77425c63
UD
6096 * math/s_catan.c: Add branch predictions.
6097 * math/s_catanf.c: Likewise.
6098 * math/s_catanh.c: Likewise.
6099 * math/s_catanhf.c: Likewise.
6100 * math/s_catanhl.c: Likewise.
6101 * math/s_catanl.c: Likewise.
6102 * math/s_cexp.c: Likewise.
6103 * math/s_cexpf.c: Likewise.
6104 * math/s_cexpl.c: Likewise.
6105 * math/s_clog.c: Likewise.
6106 * math/s_clog10.c: Likewise.
6107 * math/s_clog10f.c: Likewise.
6108 * math/s_clog10l.c: Likewise.
6109 * math/s_clogf.c: Likewise.
6110 * math/s_clogl.c: Likewise.
6111 * math/s_csqrt.c: Likewise.
6112 * math/s_csqrtf.c: Likewise.
6113 * math/s_csqrtl.c: Likewise.
6114 * math/s_ctanf.c: Likewise.
6115 * math/s_ctanh.c: Likewise.
6116 * math/s_ctanhf.c: Likewise.
6117 * math/s_ctanhl.c: Likewise.
6118 * math/s_ctanl.c: Likewise.
6119
bc62c2fb
UD
6120 * math/math_private.h: Define __nan, __nanf, __nanl.
6121 * math/s_cacosh.c: Include <math_private.h>.
6122 * math/s_cacoshl.c: Likewise.
6123 * math/s_casinh.c: Likewise.
6124 * math/s_casinhf.c: Likewise.
6125 * math/s_casinhl.c: Likewise.
6126 * math/s_ccos.c: Rely entire on ccosh.
6127 * math/s_ccosf.c: Rely entire on ccoshf.
6128 * math/s_ccosl.c: Rely entirely on ccoshl.
6129 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
6130 Remove tests for FE_INVALID.
6131 * math/s_ccoshf.c: Likewise.
6132 * math/s_ccoshl.c: Likewise.
6133 * math/s_csin.c: Likewise.
6134 * math/s_csinf.c: Likewise.
6135 * math/s_csinh.c Likewise.
6136 * math/s_csinhf.c: Likewise.
6137 * math/s_csinhl.c: Likewise.
6138 * math/s_csinl.c: Likewise.
6139 * math/s_ctan.c: Likewise.
6140 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
6141 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
6142 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
6143
8ec250a4
UD
61442011-10-21 Ulrich Drepper <drepper@gmail.com>
6145
c196fed8
UD
6146 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
6147 compilation problems.
6148
8ec250a4
UD
6149 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
6150 __builtin_expect.
6151
8d4f46c6
UD
61522011-10-20 Ulrich Drepper <drepper@gmail.com>
6153
ed72b654
UD
6154 * sysdeps/i386/configure.in: Test for -mfma4 option.
6155 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
6156 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
6157 COMMON_CPUID_INDEX_80000001.
6158 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
6159 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
6160 use it if FMA3 is not supported.
6161 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6162
8d4f46c6
UD
6163 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
6164 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6165
d45c60c2
AS
61662011-10-20 Andreas Schwab <schwab@redhat.com>
6167
6168 [BZ #12892]
6169 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
6170 it would create a cycle with a link time dependency.
6171
d9a4d2ab
UD
61722011-10-19 Ulrich Drepper <drepper@gmail.com>
6173
855d1560
UD
6174 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
6175 instruction.
6176 * string/Makefile (strop-tests): Add rawmemchr.
6177 * string/test-rawmemchr.c: New file.
6178
d9a4d2ab
UD
6179 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
6180 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
6181 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
6182 when compiling str{,n}casecmp and when AVX is available. Hook up
6183 new optimized code in initializers.
6184
8f3b1ffe
AS
61852011-10-19 Andreas Schwab <schwab@redhat.com>
6186
6187 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
6188 __feraiseexcept instead of feraiseexcept.
6189
d38f1dba
UD
61902011-10-18 Ulrich Drepper <drepper@gmail.com>
6191
d9a8d0ab
UD
6192 * math/math_private.h: Define defaults for libc_fetestexcept and
6193 libc_feupdateenv.
6194 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
6195 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6196 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6197 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6198 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6199 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6200 libc_fetestexcept and libc_feupdateenv.
6201
4855e3dd
UD
6202 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6203 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6204 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6205 * sysdeps/x86_64/fpu/math_private.h: Define special version of
6206 libc_feholdexcept_setround.
6207
581d30e3
UD
6208 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6209 Add s_nearbyint-c and s_nearbyintf-c.
6210 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6211 nearbyintf inlines.
6212 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6213 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6214 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6215 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6216
d38f1dba
UD
6217 * math/math_private.h: Define defaults for libc_fegetround,
6218 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6219 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6220 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6221 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6222 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6223 standard functions.
6224 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6225 Remove comments and hacks for old compiler versions.
6226 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6227 libc_fegetround, libc_fesetround, libc_feholdexcept, and
6228 libc_feholdexceptl.
6229
caa6c9d8
AS
62302011-10-18 Andreas Schwab <schwab@redhat.com>
6231
6232 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
6233 (__feraiseexcept_renamed): Add __NTH.
6234 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
6235 namespace violations.
6236
97c066e6
UD
62372011-10-17 Ulrich Drepper <drepper@gmail.com>
6238
99ce7b04
UD
6239 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6240
1004d182
UD
6241 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6242
228a984d
UD
6243 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6244 recently added interfaces.
6245 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6246
c8553a6a
UD
6247 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6248 about macro parameter expansion.
6249
ed22dcf6
UD
6250 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6251 __NO_MATH_INLINES is defined. Cleanups.
6252
6253 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6254 and __floorf is target has SSE4.1.
6255 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6256 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6257 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6258 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6259
b171c137
UD
6260 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6261 name.
6262 (floorf): Likewise.
6263
97c066e6
UD
6264 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6265
629f62ef
AS
62662011-10-17 Andreas Schwab <schwab@redhat.com>
6267
49a43d80
AS
6268 * misc/sys/cdefs.h: Fix last change.
6269
629f62ef
AS
6270 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6271 database lookup.
6272
e453f6cd
UD
62732011-10-16 Ulrich Drepper <drepper@gmail.com>
6274
aa78043a
UD
6275 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6276
ad0f5cad
UD
6277 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6278 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6279 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6280 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6281 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6282 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6283 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6284 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6285 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6286 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6287 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6288 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6289 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6290 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6291 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6292 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6293 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6294 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6295 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6296 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6297 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6298 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6299
6300 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6301 ceil, ceilf, floor, floorf.
6302
6303 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6304 Perform IRELATIVE relocations last.
6305
e453f6cd
UD
6306 * elf/do-rel.h: Add another parameter nrelative, replacing the
6307 local variable with the same name. Change name of the function
6308 to end in Rel or Rela (uppercase).
6309 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6310 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
6311 elf_dynamic_do_##reloc function.
6312
fd5bdc09
UD
63132011-10-15 Ulrich Drepper <drepper@gmail.com>
6314
79b195b5
UD
6315 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
6316 is sufficient, at least on modern CPUs.
6317
d4a28569
UD
6318 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
6319
b61099b5
UD
6320 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
6321 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
6322
bcf01e6d
UD
6323 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
6324 __expl_finite.
6325 * math/bits/math-finite.h: Add entries for exp.
6326 * math/e_expl.c: Add __*_finite alias.
6327 * sysdeps/i386/fpu/e_exp.S: Likewise.
6328 * sysdeps/i386/fpu/e_expf.S: Likewise.
6329 * sysdeps/i386/fpu/e_expl.c: Likewise.
6330 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6331 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6332 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6333 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6334 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6335 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6336 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6337
ba1a0d59
UD
6338 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6339 is sufficient, at least on modern CPUs.
6340
fd5bdc09
UD
6341 * ctype/ctype-info.c (__ctype_init): Define.
6342 * include/ctype.h (__ctype_init): Declare.
6343 (__ctype_b_loc): The variable is always initialized.
6344 (__ctype_toupper_loc): Likewise.
6345 (__ctype_tolower_loc): Likewise.
6346 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6347 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6348
7872cfb0
AS
63492011-10-15 Andreas Schwab <schwab@linux-m68k.org>
6350
b468825a
AS
6351 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6352
7872cfb0
AS
6353 * configure.in: Also look in $cxxmachine/include for C++ system
6354 headers.
6355
be13f7bf
LD
63562011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6357
6358 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6359 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6360 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6361 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
6362 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6363 (USE_AS_WMEMCMP): New macro.
6364 Fixing indents.
6365 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6366 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6367 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6368 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6369 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6370 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6371 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6372 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6373 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6374 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6375 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6376 (USE_AS_WMEMCMP): New macro.
6377 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6378 * sysdeps/string/test-memcmp.c: Update.
6379 Fix simple_wmemcmp.
6380 Add new tests.
6381 * wcsmbs/wmemcmp.c: Update.
6382 (WMEMCMP): New macro.
6383 Fix overflow bug.
6384
556a2007
AJ
63852011-10-12 Andreas Jaeger <aj@suse.de>
6386
6387 [BZ #13268]
6388 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6389
538faaa7
UD
63902011-10-15 Ulrich Drepper <drepper@gmail.com>
6391
ab6737ff
UD
6392 * libio/iofwide.c (do_length): Avoid warning.
6393
538faaa7
UD
6394 * ctype/ctype.h (__isctype_f): Add missing __THROW.
6395
396a21b1
UD
63962011-10-14 Ulrich Drepper <drepper@gmail.com>
6397
cdf2901f
UD
6398 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6399
38ad40ce
UD
6400 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6401 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6402 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6403 * sysdeps/i386/i686/fpu/e_log.S: New file.
6404 * sysdeps/i386/i686/fpu/e_logf.S: New file.
6405 * sysdeps/i386/i686/fpu/e_logl.S: New file.
6406
396a21b1
UD
6407 * ctype/ctype.h: Add support for inlined isXXX functions when
6408 compiling C++ code.
6409
6b1f68c9
AS
64102011-10-14 Andreas Schwab <schwab@redhat.com>
6411
349290c0
AS
6412 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6413
6b1f68c9
AS
6414 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6415
f2282d42
RM
64162011-10-13 Roland McGrath <roland@hack.frob.com>
6417
6418 [BZ #13291]
6419 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6420
5298ffa8
AS
64212011-10-13 Andreas Schwab <schwab@redhat.com>
6422
714fad23
AS
6423 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6424 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6425 feraiseexcept.
6426
81dcc7fb
AS
6427 * sysdeps/x86_64/memrchr.S: Check for zero size.
6428
5298ffa8
AS
6429 * string/stratcliff.c: Add memrchr tests.
6430
951fbcec
LD
64312011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6432
6433 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6434 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6435 rawmemchr-sse2 rawmemchr-sse2-bsf.
6436 * sysdeps/i386/i686/multiarch/memchr.S: New file.
6437 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6438 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6439 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6440 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6441 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6442 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6443 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6444 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6445 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6446 * string/memrchr.c (MEMRCHR): New macro.
6447
0ac5ae23
UD
64482011-10-12 Ulrich Drepper <drepper@gmail.com>
6449
6450 Add integration with gcc's -ffinite-math-only and optimize wrapper
6451 functions in libm.
6452 * Versions.def: Define GLIBC_2.15 version for libm.
6453 * math/Makefile (headers): Add bits/math-finite.h.
6454 * math/bits/math-finite.h: New file.
6455 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6456 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6457 * math/e_acoshl.c: Add __*_finite alias.
6458 * math/e_acosl.c: Likewise.
6459 * math/e_asinl.c: Likewise.
6460 * math/e_atan2l.c: Likewise.
6461 * math/e_atanhl.c: Likewise.
6462 * math/e_coshl.c: Likewise.
6463 * math/e_exp10.c: Likewise.
6464 * math/e_exp10f.c: Likewise.
6465 * math/e_exp10l.c: Likewise.
6466 * math/e_exp2l.c: Likewise.
6467 * math/e_fmodl.c: Likewise.
6468 * math/e_gammal_r.c: Likewise.
6469 * math/e_hypotl.c: Likewise.
6470 * math/e_j0l.c: Likewise.
6471 * math/e_j1l.c: Likewise.
6472 * math/e_jnl.c: Likewise.
6473 * math/e_lgammal_r.c: Likewise.
6474 * math/e_log10l.c: Likewise.
6475 * math/e_log2l.c: Likewise.
6476 * math/e_logl.c: Likewise.
6477 * math/e_powl.c: Likewise.
6478 * math/e_sinhl.c: Likewise.
6479 * math/e_sqrtl.c: Likewise.
6480 * math/e_scalb.c: Completely rewritten and optimized.
6481 * math/e_scalbf.c: Likewise.
6482 * math/e_scalbl.c: Likewise.
6483 * math/w_acos.c: Likewise.
6484 * math/w_acosf.c: Likewise.
6485 * math/w_acosl.c: Likewise.
6486 * math/w_acosh.c: Likewise.
6487 * math/w_acoshf.c: Likewise.
6488 * math/w_acoshl.c: Likewise.
6489 * math/w_asin.c: Likewise.
6490 * math/w_asinf.c: Likewise.
6491 * math/w_asinl.c: Likewise.
6492 * math/w_atan2.c: Likewise.
6493 * math/w_atan2f.c: Likewise.
6494 * math/w_atan2l.c: Likewise.
6495 * math/w_atanh.c: Likewise.
6496 * math/w_atanhf.c: Likewise.
6497 * math/w_atanhl.c: Likewise.
6498 * math/w_exp10.c: Likewise.
6499 * math/w_exp10f.c: Likewise.
6500 * math/w_exp10l.c: Likewise.
6501 * math/w_fmod.c: Likewise.
6502 * math/w_fmodf.c: Likewise.
6503 * math/w_fmodl.c: Likewise.
6504 * math/w_j0.c: Likewise.
6505 * math/w_j0f.c: Likewise.
6506 * math/w_j0l.c: Likewise.
6507 * math/w_j1.c: Likewise.
6508 * math/w_j1f.c: Likewise.
6509 * math/w_j1l.c: Likewise.
6510 * math/w_jn.c: Likewise.
6511 * math/w_jnf.c: Likewise.
6512 * math/w_log.c: Likewise.
6513 * math/w_logf.c: Likewise.
6514 * math/w_logl.c: Likewise.
6515 * math/w_log10.c: Likewise.
6516 * math/w_log10f.c: Likewise.
6517 * math/w_log10l.c: Likewise.
6518 * math/w_log2.c: Likewise.
6519 * math/w_log2f.c: Likewise.
6520 * math/w_log2l.c: Likewise.
6521 * math/w_pow.c: Likewise.
6522 * math/w_powf.c: Likewise.
6523 * math/w_powl.c: Likewise.
6524 * math/w_remainder.c: Likewise.
6525 * math/w_remainderf.c: Likewise.
6526 * math/w_remainderl.c: Likewise.
6527 * math/w_scalb.c: Likewise.
6528 * math/w_scalbf.c: Likewise.
6529 * math/w_scalbl.c: Likewise.
6530 * math/w_sqrt.c: Likewise.
6531 * math/w_sqrtf.c: Likewise.
6532 * math/w_sqrtl.c: Likewise.
6533 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6534 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
6535 used.
6536 * math/math_private.h: Declare __kernel_standard_f.
6537 * math/w_cosh.c: Remove cruft and optimize a bit.
6538 * math/w_coshf.c: Likewise.
6539 * math/w_coshl.c: Likewise.
6540 * math/w_exp2.c: Likewise.
6541 * math/w_exp2f.c: Likewise.
6542 * math/w_exp2l.c: Likewise.
6543 * math/w_hypot.c: Likewise.
6544 * math/w_hypotf.c: Likewise.
6545 * math/w_hypotl.c: Likewise.
6546 * math/w_lgamma.c: Likewise.
6547 * math/w_lgamma_r.c: Likewise.
6548 * math/w_lgammaf.c: Likewise.
6549 * math/w_lgammaf_r.c: Likewise.
6550 * math/w_lgammal.c: Likewise.
6551 * math/w_lgammal_r.c: Likewise.
6552 * math/w_sinh.c: Likewise.
6553 * math/w_sinhf.c: Likewise.
6554 * math/w_sinhl.c: Likewise.
6555 * math/w_tgamma.c: Likewise.
6556 * math/w_tgammaf.c: Likewise.
6557 * math/w_tgammal.c: Likewise.
6558 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6559 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6560 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6561 Minor optimizations. Pretty printing. Remove cruft.
6562 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6563 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6564 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6565 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6566 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6567 * sysdeps/i386/fpu/e_asin.S: Likewise.
6568 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6569 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6570 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6571 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6572 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6573 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6574 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6575 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6576 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6577 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6578 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6579 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6580 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6581 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6582 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6583 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6584 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6585 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6586 * sysdeps/i386/fpu/e_log.S: Likewise.
6587 * sysdeps/i386/fpu/e_log10.S: Likewise.
6588 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6589 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6590 * sysdeps/i386/fpu/e_log2.S: Likewise.
6591 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6592 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6593 * sysdeps/i386/fpu/e_logf.S: Likewise.
6594 * sysdeps/i386/fpu/e_logl.S: Likewise.
6595 * sysdeps/i386/fpu/e_pow.S: Likewise.
6596 * sysdeps/i386/fpu/e_powf.S: Likewise.
6597 * sysdeps/i386/fpu/e_powl.S: Likewise.
6598 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6599 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6600 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6601 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6602 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6603 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6604 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6605 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6606 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6607 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6608 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6609 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6610 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6611 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6612 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6613 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6614 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6615 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6616 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6617 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6618 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6619 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6620 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6621 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6622 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6623 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6624 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6625 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6626 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6627 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6628 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6629 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6630 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6631 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6632 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6633 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6634 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6635 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6636 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6637 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6638 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6639 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6640 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6641 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6642 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6643 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6644 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6645 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6646 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6647 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6648 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6649 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6650 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6651 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6652 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6653 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6654 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6655 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6656 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6657 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6658 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6659 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6660 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6661 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6662 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6663 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6664 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6665 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6666 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6667 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6668 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6669 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6670 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6671 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6672 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6673 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6674 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6675 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6676 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6677 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6678 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6679 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6680 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6681 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6682 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6683 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6684 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6685 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6686 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6687 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6688 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6689 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6690 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6691 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6692 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6693 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6694 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6695 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6696 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6697 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6698 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6699 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6700 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6701 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6702 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6703 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6704 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6705 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6706 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6707 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6708 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6709 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6710 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6711 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6712 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6713 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6714 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6715 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6716 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6717 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6718 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6719 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6720 (__isnanf): Likewise.
6721 (__isinf_ns): Likewise.
6722 (__isinf_nsf): Likewise.
6723 (__finite): Likewise.
6724 (__finitef): Likewise.
6725 (__ieee754_sqrt): Define as macro.
6726 (__ieee754_sqrtf): Define as macro.
6727 (__ieee754_sqrtl): Define as macro.
6728 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6729 inlined copy.
6730 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6731 __FINITE_MATH_ONLY__ consistent.
6732 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6733
12cc2fcd
AS
67342011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6735
a843a204
AS
6736 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6737 of rawmemchr.
6738
12cc2fcd
AS
6739 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6740
c853acd5
UD
67412011-10-09 Ulrich Drepper <drepper@gmail.com>
6742
6743 * po/ja.po: Update from translation team.
6744
c658d255
RM
67452011-10-08 Roland McGrath <roland@hack.frob.com>
6746
110946e4
RM
6747 * locale/programs/locarchive.c (prepare_address_space): New function.
6748 (create_archive, enlarge_archive, open_archive): Use it.
6749
50604220
RM
6750 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6751 inside [SHARED], where it is used.
6752
c658d255
RM
6753 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6754
6755 * nss/getent.c (netgroup_keys): Remove unused variable.
6756 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6757
6a621eb7
UD
67582011-10-08 Ulrich Drepper <drepper@gmail.com>
6759
7edb55ce
UD
6760 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6761 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6762 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6763 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6764 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6765 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6766 * math/Makefile (libm-calls): Add s_isinf_ns.
6767 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6768 * math/multc3.c: Likewise.
6769 * math/s_casin.c: Likewise.
6770 * math/s_casinf.c: Likewise.
6771 * math/s_casinl.c: Likewise.
6772 * math/s_ccos.c: Likewise.
6773 * math/s_ccosf.c: Likewise.
6774 * math/s_ccosl.c: Likewise.
6775 * math/s_ctan.c: Likewise.
6776 * math/s_ctanf.c: Likewise.
6777 * math/s_ctanh.c: Likewise.
6778 * math/s_ctanhf.c: Likewise.
6779 * math/s_ctanhl.c: Likewise.
6780 * math/s_ctanl.c: Likewise.
6781 * math/w_fmod.c: Likewise.
6782 * math/w_fmodf.c: Likewise.
6783 * math/w_fmodl.c: Likewise.
6784 * math/w_remainder.c: Likewise.
6785 * math/w_remainderf.c: Likewise.
6786 * math/w_remainderl.c: Likewise.
6787 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6788 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6789 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6790 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6791 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6792 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6793 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6794 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6795
187da0ae
UD
6796 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6797 of the number.
6798 * stdio-common/printf_fphex.c: Likewise.
6799 * stdio-common/printf_size.c: Likewise.
6800
9277c064
UD
6801 * math/e_exp10.c: Include math_private.h using <...> not "...".
6802 * math/e_exp10f.c: Likewise.
6803 * math/e_exp10l.c: Likewise.
6804 * math/e_exp2l.c: Likewise.
6805 * math/e_j0l.c: Likewise.
6806 * math/e_j1l.c: Likewise.
6807 * math/e_jnl.c: Likewise.
6808 * math/e_lgammal_r.c: Likewise.
6809 * math/e_rem_pio2l.c: Likewise.
6810 * math/e_scalb.c: Likewise.
6811 * math/e_scalbf.c: Likewise.
6812 * math/e_scalbl.c: Likewise.
6813 * math/k_cosl.c: Likewise.
6814 * math/k_sinl.c: Likewise.
6815 * math/k_tanl.c: Likewise.
6816 * math/s_cacoshf.c: Likewise.
6817 * math/s_catan.c: Likewise.
6818 * math/s_catanf.c: Likewise.
6819 * math/s_catanh.c: Likewise.
6820 * math/s_catanhf.c: Likewise.
6821 * math/s_catanhl.c: Likewise.
6822 * math/s_catanl.c: Likewise.
6823 * math/s_ccosh.c: Likewise.
6824 * math/s_ccoshf.c: Likewise.
6825 * math/s_ccoshl.c: Likewise.
6826 * math/s_cexp.c: Likewise.
6827 * math/s_cexpf.c: Likewise.
6828 * math/s_cexpl.c: Likewise.
6829 * math/s_clog.c: Likewise.
6830 * math/s_clog10.c: Likewise.
6831 * math/s_clog10f.c: Likewise.
6832 * math/s_clog10l.c: Likewise.
6833 * math/s_clogf.c: Likewise.
6834 * math/s_clogl.c: Likewise.
6835 * math/s_csin.c: Likewise.
6836 * math/s_csinf.c: Likewise.
6837 * math/s_csinh.c: Likewise.
6838 * math/s_csinhf.c: Likewise.
6839 * math/s_csinhl.c: Likewise.
6840 * math/s_csinl.c: Likewise.
6841 * math/s_csqrt.c: Likewise.
6842 * math/s_csqrtf.c: Likewise.
6843 * math/s_csqrtl.c: Likewise.
6844 * math/s_ctan.c: Likewise.
6845 * math/s_ctanf.c: Likewise.
6846 * math/s_ctanh.c: Likewise.
6847 * math/s_ctanhf.c: Likewise.
6848 * math/s_ctanhl.c: Likewise.
6849 * math/s_ctanl.c: Likewise.
6850 * math/s_ldexp.c: Likewise.
6851 * math/s_ldexpf.c: Likewise.
6852 * math/s_ldexpl.c: Likewise.
6853 * math/s_significand.c: Likewise.
6854 * math/s_significandf.c: Likewise.
6855 * math/s_significandl.c: Likewise.
6856 * math/w_acos.c: Likewise.
6857 * math/w_acosf.c: Likewise.
6858 * math/w_acosh.c: Likewise.
6859 * math/w_acoshf.c: Likewise.
6860 * math/w_acoshl.c: Likewise.
6861 * math/w_acosl.c: Likewise.
6862 * math/w_asin.c: Likewise.
6863 * math/w_asinf.c: Likewise.
6864 * math/w_asinl.c: Likewise.
6865 * math/w_atan2.c: Likewise.
6866 * math/w_atan2f.c: Likewise.
6867 * math/w_atan2l.c: Likewise.
6868 * math/w_atanh.c: Likewise.
6869 * math/w_atanhf.c: Likewise.
6870 * math/w_atanhl.c: Likewise.
6871 * math/w_cosh.c: Likewise.
6872 * math/w_coshf.c: Likewise.
6873 * math/w_coshl.c: Likewise.
6874 * math/w_dremf.c: Likewise.
6875 * math/w_exp10.c: Likewise.
6876 * math/w_exp10f.c: Likewise.
6877 * math/w_exp10l.c: Likewise.
6878 * math/w_exp2.c: Likewise.
6879 * math/w_exp2f.c: Likewise.
6880 * math/w_fmod.c: Likewise.
6881 * math/w_fmodf.c: Likewise.
6882 * math/w_fmodl.c: Likewise.
6883 * math/w_hypot.c: Likewise.
6884 * math/w_hypotf.c: Likewise.
6885 * math/w_hypotl.c: Likewise.
6886 * math/w_j0.c: Likewise.
6887 * math/w_j0f.c: Likewise.
6888 * math/w_j0l.c: Likewise.
6889 * math/w_j1.c: Likewise.
6890 * math/w_j1f.c: Likewise.
6891 * math/w_j1l.c: Likewise.
6892 * math/w_jn.c: Likewise.
6893 * math/w_jnf.c: Likewise.
6894 * math/w_jnl.c: Likewise.
6895 * math/w_lgamma.c: Likewise.
6896 * math/w_lgamma_r.c: Likewise.
6897 * math/w_lgammaf.c: Likewise.
6898 * math/w_lgammaf_r.c: Likewise.
6899 * math/w_lgammal.c: Likewise.
6900 * math/w_lgammal_r.c: Likewise.
6901 * math/w_log.c: Likewise.
6902 * math/w_log10.c: Likewise.
6903 * math/w_log10f.c: Likewise.
6904 * math/w_log10l.c: Likewise.
6905 * math/w_log2.c: Likewise.
6906 * math/w_log2f.c: Likewise.
6907 * math/w_log2l.c: Likewise.
6908 * math/w_logf.c: Likewise.
6909 * math/w_logl.c: Likewise.
6910 * math/w_pow.c: Likewise.
6911 * math/w_powf.c: Likewise.
6912 * math/w_powl.c: Likewise.
6913 * math/w_remainder.c: Likewise.
6914 * math/w_remainderf.c: Likewise.
6915 * math/w_remainderl.c: Likewise.
6916 * math/w_scalb.c: Likewise.
6917 * math/w_scalbf.c: Likewise.
6918 * math/w_scalbl.c: Likewise.
6919 * math/w_sinh.c: Likewise.
6920 * math/w_sinhf.c: Likewise.
6921 * math/w_sinhl.c: Likewise.
6922 * math/w_sqrt.c: Likewise.
6923 * math/w_sqrtf.c: Likewise.
6924 * math/w_sqrtl.c: Likewise.
6925 * math/w_tgamma.c: Likewise.
6926 * math/w_tgammaf.c: Likewise.
6927 * math/w_tgammal.c: Likewise.
6928
6a621eb7
UD
6929 * po/ja.po: Update from translation team.
6930
bf582445
AJ
69312011-09-29 Andreas Jaeger <aj@suse.de>
6932
f9efbf3a
AJ
6933 [BZ #13179]
6934 * sunrpc/netname.c (netname2host): Fix logic.
6935
bf582445
AJ
6936 [BZ #6779]
6937 [BZ #6783]
6938 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6939 correctly.
6940 * math/w_remainder.c (__remainder): Likewise.
6941 * math/w_remainderf.c (__remainderf): Likewise.
6942 * math/libm-test.inc (remainder_test): Add test cases.
6943
48693bea
AK
69442011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6945
6946 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6947 sdiv_qrnnd.
6948
42622229
LD
69492011-10-07 Ulrich Drepper <drepper@gmail.com>
6950
6951 * string/test-memcmp.c: Avoid unncessary #defines.
6952 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6953
093ecf92
LD
69542011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6955
6956 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6957 Use new sse2 version for core i3 - i7 as it's faster
6958 than sse42 version.
6959 (bit_Prefer_PMINUB_for_stringop): New.
6960 * sysdeps/x86_64/rawmemchr.S: Update.
6961 Replace with faster SSE2 version.
6962 * sysdeps/x86_64/memrchr.S: New file.
6963 * sysdeps/x86_64/memchr.S: Update.
6964 Replace with faster SSE2 version.
6965
fde56e5c
MP
69662011-09-12 Marek Polacek <mpolacek@redhat.com>
6967
6968 * elf/dl-load.c (lose): Add cast to avoid warning.
6969
21fd49a9
UD
69702011-10-07 Ulrich Drepper <drepper@gmail.com>
6971
5a06e643
UD
6972 * po/ca.po: Update from translation team.
6973
684ae515
UD
6974 * inet/getnetgrent_r.c: Hook up nscd.
6975 * nscd/Makefile (routines): Add nscd_netgroup.
6976 (nscd-modules): Add netgroupcache.
6977 (CFLAGS-netgroupcache.c): Define.
6978 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6979 (cache_search): Add const to second parameter.
6980 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6981 INNETGR.
6982 (dbs): Add netgrdb entry.
6983 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6984 (verify_persistent_db): Handle netgrdb.
6985 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6986 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6987 GETFDNETGR.
6988 (netgroup_response_header): Define.
6989 (innetgroup_response_header): Define.
6990 (datahead): Add netgroup_response_header and innetgroup_response_header
6991 elements.
6992 * nscd/nscd.conf: Add entries for netgroup cache.
6993 * nscd/nscd.h (dbtype): Add netgrdb.
6994 (_PATH_NSCD_NETGROUP_DB): Define.
6995 (netgroup_iov_disabled): Declare.
6996 (xmalloc, xcalloc, xrealloc): Move declarations here.
6997 (cache_search): Adjust prototype.
6998 Add netgroup-related prototypes.
6999 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
7000 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
7001 (__nscd_innetgr): Declare.
7002 * nscd/selinux.c (perms): Use access_vector_t as element type and
7003 add netgroup-related initializers.
7004 * nscd/netgroupcache.c: New file.
7005 * nscd/nscd_netgroup.c: New file.
7006 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
7007 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
7008 For four parameters use innetgr.
7009 * nss/nss_files/files-init.c: Add definition and callback for netgr.
7010 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
7011 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
7012 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
7013
21fd49a9
UD
7014 * nscd/connections.c (register_traced_file): Don't register file
7015 for disabled databases.
7016
054c0457
UD
70172011-10-06 Ulrich Drepper <drepper@gmail.com>
7018
32b63198
UD
7019 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
7020
054c0457
UD
7021 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
7022 from tree and freeing node.
7023
64031225
JO
70242011-09-25 Jiri Olsa <jolsa@redhat.com>
7025
7026 * nss/nsswitch.c (__nss_database_lookup): Handle
7027 nss_parse_service_list out of memory case.
7028
0490345c
JO
70292011-09-15 Jiri Olsa <jolsa@redhat.com>
7030
7031 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
7032 out of memory case.
7033
3a62d00d
AS
70342011-10-04 Andreas Schwab <schwab@redhat.com>
7035
7036 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
7037 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
7038 pass it down.
7039 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
7040 elf_machine_rela, elf_machine_lazy_rel.
7041 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
7042 (ELF_DYNAMIC_DO_REL): Likewise.
7043 (ELF_DYNAMIC_DO_RELA): Likewise.
7044 (ELF_DYNAMIC_RELOCATE): Likewise.
7045 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
7046 to ELF_DYNAMIC_DO_REL.
7047 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
7048 (dl_main): In trace mode always set __RTLD_NOIFUNC.
7049 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
7050 elf_machine_rela.
7051 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
7052 skip_ifunc, don't call ifunc function if non-zero.
7053 (elf_machine_rela): Likewise.
7054 (elf_machine_lazy_rel): Likewise.
7055 (elf_machine_lazy_rela): Likewise.
7056 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
7057 (elf_machine_lazy_rel): Likewise.
7058 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
7059 Likewise.
7060 (elf_machine_lazy_rel): Likewise.
7061 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7062 Likewise.
7063 (elf_machine_lazy_rel): Likewise.
7064 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
7065 (elf_machine_lazy_rel): Likewise.
7066 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
7067 (elf_machine_lazy_rel): Likewise.
7068 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7069 (elf_machine_lazy_rel): Likewise.
7070 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7071 (elf_machine_lazy_rel): Likewise.
7072 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7073 (elf_machine_lazy_rel): Likewise.
7074 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7075 (elf_machine_lazy_rel): Likewise.
7076
68577918
UD
70772011-09-28 Ulrich Drepper <drepper@gmail.com>
7078
7079 * nss/nss_files/files-init.c (_nss_files_init): Use static
7080 initialization for all the *_traced_file variables.
7081
68822d74
AS
70822011-09-28 Andreas Schwab <schwab@redhat.com>
7083
7084 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7085
2056100b
RM
70862011-09-27 Roland McGrath <roland@hack.frob.com>
7087
7088 [BZ #13226]
7089 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
7090
32c76b63
AS
70912011-09-27 Andreas Schwab <schwab@redhat.com>
7092
7093 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7094 Reread the line before reparsing it.
7095
bf972c9d
AS
70962011-09-26 Andreas Schwab <schwab@redhat.com>
7097
7098 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
7099
e057a1b5
JM
71002011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
7101 Maxim Kuvyrkov <maxim@codesourcery.com>
7102 Joseph Myers <joseph@codesourcery.com>
7103
7104 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
7105 if needed for __stack_chk_guard.
7106
bc7e1c36
RM
71072011-09-19 Roland McGrath <roland@hack.frob.com>
7108
ecb1482f
RM
7109 * sysdeps/posix/spawni.c (script_execute): Always define it.
7110 It will be optimized away if unused.
7111 (maybe_script_execute): New function.
7112 (__spawni): Call it.
7113
bc7e1c36
RM
7114 * Makerules: Don't include tls.make.
7115 (config-tls): Always set to thread.
7116 * tls.make.c: File removed.
7117
1c3b002b
MF
71182011-09-19 Mike Frysinger <vapier@gentoo.org>
7119
7120 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
7121 * config.make.in (CPPFLAGS-config): New substituted variable.
7122
2840865d
UD
71232011-09-15 Ulrich Drepper <drepper@gmail.com>
7124
88738eb6
UD
7125 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
7126
cbf645a6 7127 [BZ #13192]
2840865d
UD
7128 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
7129 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
7130
b402e91a
RM
71312011-09-15 Roland McGrath <roland@hack.frob.com>
7132
7133 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
7134 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
7135 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7136 (CALL_FAIL): Likewise.
7137 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
7138 (CALL_FAIL): Macro removed.
7139 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
7140
4c1a1f71
UD
71412011-09-15 Ulrich Drepper <drepper@gmail.com>
7142
7143 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
7144 for __FINITE_MATH_ONLY__ == 1.
7145
edc121be
AS
71462011-09-15 Andreas Schwab <schwab@redhat.com>
7147
7148 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
7149 __ieee754_sqrt instead of sqrt.
7150 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
7151 __ieee754_sqrtf instead of sqrtf.
7152 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7153 __floorf instead of floorf.
7154 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
7155 __floorf, __truncf instead of floorf, truncf.
7156
cd205654
UD
71572011-09-14 Ulrich Drepper <drepper@gmail.com>
7158
ee4d0315
UD
7159 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
7160
cd205654
UD
7161 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
7162 __extern_always_inline.
7163 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
7164 32-bit.
7165
48b67d71
AS
71662011-09-14 Andreas Schwab <schwab@redhat.com>
7167
7168 * elf/rtld.c (dl_main): Also relocate in dependency order when
7169 doing symbol dependency testing.
7170
1ae12c75
AS
71712011-09-13 Andreas Schwab <schwab@linux-m68k.org>
7172
7173 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7174 Always define `refsym'.
7175
995a80df
AS
71762011-09-13 Andreas Schwab <schwab@redhat.com>
7177
e529793b
AS
7178 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
7179 (__FD_ELT): Renamed from __FDELT.
7180 * misc/bits/select2.h (__FD_ELT): Likewise.
7181 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
7182 __FD_MASK instead of __FDELT, __FDMASK.
7183 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7184 Likewise.
7185 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7186 Likewise.
7187
52d4fef8
AS
7188 * elf/Makefile (gen-ldd): Fix pattern.
7189
995a80df
AS
7190 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
7191 (init_tls): Likewise.
7192
8682f8b0
UD
71932011-09-12 Ulrich Drepper <drepper@gmail.com>
7194
7195 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7196
de82006d
AS
71972011-09-12 Andreas Schwab <schwab@redhat.com>
7198
a7c8e6a1
AS
7199 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7200 `struct cmsghdr *' instead of `void *'.
7201 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7202 Likewise.
7203
0f31fe77
AS
72042011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7205
7206 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7207 if non-absolute.
7208 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7209 ldd_rewrite_script.
0f31fe77 7210
32b4c839
UD
72112011-09-11 Ulrich Drepper <drepper@gmail.com>
7212
83cd1420
UD
7213 * configure.in: Remove --with-tls option.
7214 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7215 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7216 out in case it is missing.
7217 * sysdeps/ia64/elf/configure.in: Likewise.
7218 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7219 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7220 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7221 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7222 * sysdeps/sh/elf/configure.in: Likewise.
7223 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7224 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7225 * sysdeps/x86_64/elf/configure.in: Likewise.
7226 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7227 * sysdeps/mach/hurd/tls.h: Likewise.
7228
633f745d
UD
7229 [BZ #13067]
7230 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7231
f318beb8
UD
7232 [BZ #13090]
7233 * configure.in: Fix use of AC_INIT.
7234
32b4c839
UD
7235 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7236
3ce1f295
UD
72372011-09-10 Ulrich Drepper <drepper@gmail.com>
7238
bb016596
UD
7239 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7240 __set_errno.
8e58439c
UD
7241 * malloc/hooks.c: Likewise.
7242
aebae053 7243 [BZ #11929]
02d46fc4
UD
7244 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
7245 variables statically.
7246 (narenas): Initialize.
7247 (list_lock): Initialize.
bb016596
UD
7248 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
7249 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
7250 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7251 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
7252 Add initializers to main_arena and mp_.
7253 (malloc_state): Remove pagesize member. Change all users to use
7254 GLRO(dl_pagesize).
7255
7256 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7257 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
7258 is always initialized.
7259
22a89187
UD
7260 * malloc/malloc.c: Removed unused configurations and dead code.
7261 * malloc/arena.c: Likewise.
7262 * malloc/hooks.c: Likewise.
02d46fc4 7263 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 7264
d063d164
UD
7265 * include/tls.h: Removed. USE___THREAD must always be defined.
7266 * bits/libc-tsd.h: Don't handle !USE___THREAD.
7267 * elf/dl-libc.c: Likewise.
7268 * elf/dl-tsd.c: Likewise.
7269 * include/errno.h: Likewise.
7270 * include/netdb.h: Likewise.
7271 * include/resolv.h: Likewise.
7272 * inet/herrno-loc.c: Likewise.
7273 * inet/herrno.c: Likewise.
7274 * malloc/arena.c: Likewise.
7275 * malloc/hooks.c: Likewise.
7276 * malloc/malloc.c: Likewise.
7277 * resolv/res-state.c: Likewise.
7278 * resolv/res_libc.c: Likewise.
7279 * sysdeps/i386/dl-machine.h: Likewise.
7280 * sysdeps/ia64/dl-machine.h: Likewise.
7281 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7282 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7283 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7284 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7285 * sysdeps/sh/dl-machine.h: Likewise.
7286 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7287 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7288 * sysdeps/unix/i386/sysdep.S: Likewise.
7289 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7290 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7291 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7292 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7293 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7294 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7295 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7296 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7297 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7298 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7299 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7300 * sysdeps/x86_64/dl-machine.h: Likewise.
7301 * tls.make.c: Likewise.
7302
3ce1f295
UD
7303 * configure.in: Remove --with-__thread option. Make tests for
7304 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7305 tls_model attribute fail if no support is available. Remove
7306 USE_IN_LIBIO.
7307 * Makeconfig: Adjust for dropped configure option. All features are
7308 now mandatory.
7309 * Makerules: Likewise.
7310 * Versions.def: Likewise.
7311 * argp/argp-fmtstream.c: Likewise.
7312 * argp/argp-fmtstream.h: Likewise.
7313 * argp/argp-help.c: Likewise.
7314 * assert/assert.c: Likewise.
7315 * config.h.in: Likewise.
7316 * config.make.in: Likewise.
7317 * configure: Likewise.
7318 * configure.in: Likewise.
7319 * csu/Versions: Likewise.
7320 * csu/init.c: Likewise.
7321 * elf/tst-audit2.c: Likewise.
7322 * elf/tst-tls10.c: Likewise.
7323 * elf/tst-tls10.h: Likewise.
7324 * elf/tst-tls11.c: Likewise.
7325 * elf/tst-tls12.c: Likewise.
7326 * elf/tst-tls14.c: Likewise.
7327 * elf/tst-tlsmod11.c: Likewise.
7328 * elf/tst-tlsmod12.c: Likewise.
7329 * elf/tst-tlsmod13.c: Likewise.
7330 * elf/tst-tlsmod13a.c: Likewise.
7331 * elf/tst-tlsmod14a.c: Likewise.
7332 * elf/tst-tlsmod15b.c: Likewise.
7333 * elf/tst-tlsmod16a.c: Likewise.
7334 * elf/tst-tlsmod16b.c: Likewise.
7335 * elf/tst-tlsmod7.c: Likewise.
7336 * elf/tst-tlsmod8.c: Likewise.
7337 * elf/tst-tlsmod9.c: Likewise.
7338 * gmon/gmon.c: Likewise.
7339 * grp/fgetgrent_r.c: Likewise.
7340 * grp/putgrent.c: Likewise.
7341 * hurd/fopenport.c: Likewise.
7342 * include/libc-symbols.h: Likewise.
7343 * include/tls.h: Likewise.
7344 * intl/gettextP.h: Likewise.
7345 * intl/loadinfo.h: Likewise.
7346 * locale/global-locale.c: Likewise.
7347 * locale/localeinfo.h: Likewise.
7348 * mach/devstream.c: Likewise.
7349 * malloc/arena.c: Likewise.
7350 * malloc/set-freeres.c: Likewise.
7351 * misc/err.c: Likewise.
7352 * misc/getttyent.c: Likewise.
7353 * misc/mntent_r.c: Likewise.
7354 * posix/getopt.c: Likewise.
7355 * posix/wordexp.c: Likewise.
7356 * pwd/fgetpwent_r.c: Likewise.
7357 * resolv/Versions: Likewise.
7358 * resolv/res_hconf.c: Likewise.
7359 * shadow/fgetspent_r.c: Likewise.
7360 * shadow/putspent.c: Likewise.
7361 * stdio-common/printf_fphex.c: Likewise.
7362 * stdio-common/tmpfile.c: Likewise.
7363 * stdlib/abort.c: Likewise.
7364 * stdlib/fmtmsg.c: Likewise.
7365 * sunrpc/auth_unix.c: Likewise.
7366 * sunrpc/clnt_perr.c: Likewise.
7367 * sunrpc/clnt_tcp.c: Likewise.
7368 * sunrpc/clnt_udp.c: Likewise.
7369 * sunrpc/clnt_unix.c: Likewise.
7370 * sunrpc/openchild.c: Likewise.
7371 * sunrpc/svc_simple.c: Likewise.
7372 * sunrpc/svc_tcp.c: Likewise.
7373 * sunrpc/svc_udp.c: Likewise.
7374 * sunrpc/svc_unix.c: Likewise.
7375 * sunrpc/xdr.c: Likewise.
7376 * sunrpc/xdr_array.c: Likewise.
7377 * sunrpc/xdr_rec.c: Likewise.
7378 * sunrpc/xdr_ref.c: Likewise.
7379 * sunrpc/xdr_stdio.c: Likewise.
7380
1248c1c4
PB
73812011-09-09 Ulrich Drepper <drepper@gmail.com>
7382
7383 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7384
73852011-07-03 Andreas Jaeger <aj@suse.de>
7386
7387 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7388 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7389 regenerate with gen-libm-tests.pl.
7390
73912010-05-12 Petr Baudis <pasky@suse.cz>
7392
7393 [BZ #11589]
7394 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7395 around j0() zero points by switching to j1().
7396 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7397 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7398 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7399 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7400
f22e1074
UD
74012011-09-09 Ulrich Drepper <drepper@gmail.com>
7402
f19009c1
UD
7403 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7404 instead of 0.
7405 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7406 instead of 0. .
7407 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7408 Patch in part by Pavel Roskin <proski@gnu.org>.
7409
3f8cc204
UD
7410 [BZ #13138]
7411 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7412 realloc.
7413 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
7414 Free memory block if necessary.
7415
f22e1074
UD
7416 [BZ #12847]
7417 * libio/genops.c (INTDEF): For string streams the _lock pointer can
7418 be NULL. Don't lock in this case.
7419
0a2349f9
RM
74202011-09-09 Roland McGrath <roland@hack.frob.com>
7421
7422 * elf/elf.h (ELFOSABI_GNU): New macro.
7423 (ELFOSABI_LINUX): Define to that.
7424
f3cdd467
DZ
74252011-07-29 Denis Zaitceff <zaitceff@gmail.com>
7426
7427 * string/strncat.c (strncat): Undef the symbol in case it has been
7428 defined in bits/string.h.
7429
74718d13
UD
74302011-09-09 Ulrich Drepper <drepper@gmail.com>
7431
633e9e0f
UD
7432 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7433
0a2349f9 7434 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
7435 link map.
7436
f9924780
AJ
74372011-08-17 Andreas Jaeger <aj@suse.de>
7438
7439 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7440
7f5517aa
PP
74412011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7442 Ian Lance Taylor <iant@google.com>
7443
7444 * math/libm-test.inc (lround_test): New testcase.
7445 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7446
762011fe
UD
74472011-09-08 Ulrich Drepper <drepper@gmail.com>
7448
92963737
UD
7449 * Makefile: Remove support for automatic cvs check-ins.
7450 * Makerules: Likewise.
7451 * config.make.in: Likewise.
7452 * configure.in: Likewise.
7453 * intl/Makefile: Likewise.
7454 * locale/Makefile: Likewise.
7455 * po/Makefile: Likewise.
7456 * posix/Makefile: Likewise.
7457 * sysdeps/gnu/Makefile: Likewise.
7458 * sysdeps/mach/hurd/Makefile: Likewise.
7459 * sysdeps/sparc/sparc32/Makefile: Likewise.
7460
b0727fd8
JS
7461 [BZ #13118]
7462 * posix/Makefile (bug-regex32-ENV): Define.
7463 Patch by John Stanley <jpsinthemix@verizon.net>.
7464
a0f33f99
UD
7465 * misc/Makefile (headers): Add bits/select2.h.
7466 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7467 * misc/bits/select2.h: New file.
7468 * include/bits/select2.h: New file.
7469 * debug/Makefile (routines): Add fdelt_chk.
7470 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7471 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7472 FD_ISSET.
7473 * debug/fdelt_chk.c: New file.
7474
762011fe
UD
7475 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
7476 * wcsmbs/test-wmemcmp.c: Likewise.
7477 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 7478 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
7479
74802011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7481
7482 * string/Makefile (strop-tests): Add memcmp.
7483 * string/test-wmemcmp.c: New file.
7484 * string/test-memcmp.c: Add wmemcmp support.
7485
7f513ec8
RM
74862011-09-08 Roland McGrath <roland@hack.frob.com>
7487
0442afb4
RM
7488 [BZ #13153]
7489 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7490 2011-07-19 change.
7491
7f513ec8
RM
7492 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7493 garbage value in a __mach_port_mod_refs call in the cases of the
7494 task-self and thread-self ports.
7495
a12b2239
ST
74962011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7497
7498 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7499
610f9ab4
AS
75002011-09-08 Andreas Schwab <schwab@redhat.com>
7501
7f513ec8 7502 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 7503
48882a1a
LD
75042011-09-07 Ulrich Drepper <drepper@gmail.com>
7505
b49865be
UD
7506 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7507
fdc86bc9
UD
7508 * elf/dl-libc.c (dlerror_run): Pass back error code from
7509 dl_catch_error.
7510
c966526a
UD
7511 [BZ #13123]
7512 * elf/dl-load.c (lose): Free l_origin if it is valid.
7513
48882a1a
LD
7514 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7515 names.
7516 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7517 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7518 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7519 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7520 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7521 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7522
77a2a8b4
AZ
75232011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7524
7525 * sysdeps/powerpc/fpu/e_hypot.c: New file.
7526 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7527 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7528 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7529 * sysdeps/powerpc/fpu/k_cosf.c: New file.
7530 * sysdeps/powerpc/fpu/k_sinf.c: New file.
7531 * sysdeps/powerpc/fpu/s_cosf.c: New file.
7532 * sysdeps/powerpc/fpu/s_sinf.c: New file.
7533 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7534 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7535
24f579d8
AM
75362011-08-15 Alan Modra <amodra@gmail.com>
7537
7538 [BZ #13092]
7539 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7540 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7541 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
7542 ppc_mcount to static-only-routines.
7543 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7544 __mcount_internal.
7545 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7546 __mcount_internal with usual JUMPTARGET. Remove useless nop.
7547
3d4837df
UD
75482011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7549
7550 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7551 for finite and infinity parameters.
7552
22700377
WS
75532011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7554
7555 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7556 and add nop instructions for throughput optimization.
7557 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7558
5025581e
WS
75592011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7560
7561 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7562 aligned copy for power7 with vector-scalar instructions.
7563 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7564
08a300c9
L
75652011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7566
7567 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7568 AVX check.
7569
59178ef9
AS
75702011-09-07 Andreas Schwab <schwab@redhat.com>
7571
7572 [BZ #13144]
7573 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7574 last change.
7575
e38ba7ab
UD
75762011-09-07 Ulrich Drepper <drepper@gmail.com>
7577
7578 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7579 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7580 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7581 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7582 clock_gettime.
7583
d53a73ac
UD
75842011-09-06 Ulrich Drepper <drepper@gmail.com>
7585
fc8bffcc
UD
7586 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7587 Forgot to demangle the pointer.
7588
ceaa0c5d
UD
7589 * sysdeps/i386/sysdep.h: Define atom_text_section.
7590 * sysdeps/x86_64/sysdep.h: Likewise.
7591 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7592 section with atom_text_section.
7593 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7594 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7595 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7596 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7597 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7598
a77d3c17
UD
7599 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7600 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7601 already be defined. Change to take two parameters and don't assign
7602 result to variable. Adjust all users.
7603 Define INTERNAL_GETTIME if not already defined.
7604 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7605 call.
7606 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7607 HAVE_CLOCK_GETTIME_VSYSCALL.
7608 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7609
d53a73ac
UD
7610 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7611 gettimeofday vsyscall, just use time.
7612
a8f84144
AS
76132011-09-06 Andreas Schwab <schwab@redhat.com>
7614
7615 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7616 <errno.h>.
7617
ef606249
UD
76182011-09-06 Ulrich Drepper <drepper@gmail.com>
7619
7620 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7621 syscall on x86-64.
7622 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7623 syscall.
7624 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7625 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7626 syscall if possible.
7627
6585cb60
UD
76282011-09-05 Ulrich Drepper <drepper@gmail.com>
7629
7630 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7631 e_ident. Don't pass to find_mapsXX.
7632 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7633
a5f524e4
LD
76342011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7635
7636 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7637 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7638 * sysdeps/x86_64/multiarch/strchr.S: Update.
7639 Check bit_slow_BSF bit.
7640 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7641 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7642 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7643
554881ef
UD
76442011-09-05 Ulrich Drepper <drepper@gmail.com>
7645
d96de963
UD
7646 [BZ #13134]
7647 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7648 before glibc 2.15.
7649 (tryshell): Define.
7650 (__spawni): Change last parameter to be flag. Test
7651 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7652 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7653 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7654 * posix/spawni.c: Likewise.
7655 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7656 * posix/spawnp.c: Likewise. Change normal version to use
7657 SPAWN_XFLAGS_USE_PATH.
7658 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7659 SPAWN_XFLAGS_TRY_SHELL.
7660
d48e5868
UD
7661 [BZ #13150]
7662 * posix/glob.h: Remove gcc 1.x support.
7663
554881ef
UD
7664 [BZ #13068]
7665 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7666
693fb948
LD
76672011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7668
7669 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7670 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7671 strrchr-sse2-bsf
7672 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7673 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7674 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7675 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7676 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7677 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7678
1b48c537
UD
76792011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7680
49d42c37
UD
7681 * sysdeps/x86_64/wcscmp.S: New file.
7682
1b48c537
UD
7683 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7684 wcscmp-c wcscmp-sse2
7685 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7686 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7687 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7688 * wcsmbs/wcscmp.c: Allow renaming.
7689
15c95c5d
DM
76902011-09-05 David S. Miller <davem@davemloft.net>
7691
7692 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7693 stack slot, rather than the struct return pointer slot.
7694 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7695 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7697 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7698
2f0ad8f3
UD
76992011-09-05 Ulrich Drepper <drepper@gmail.com>
7700
d88ae418
UD
7701 * po/ja.po: Update from translation team.
7702
2f0ad8f3
UD
7703 [BZ #13144]
7704 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7705 kernel in 64-bit binaries.
7706
5f4318d1
DM
77072011-09-01 David S. Miller <davem@davemloft.net>
7708
7709 * elf/elf.h (HWCAP_SPARC_*): Move to..
7710 * sysdeps/sparc/sysdep.h: this new file and add new values.
7711 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7712 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7713 _DL_HWCAP_COUNT to 24.
7714 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7715 entries.
7716 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7717 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7718 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7719 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7720 instead of magic constants.
7721 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7722
3ba57516
DM
77232011-08-31 David S. Miller <davem@davemloft.net>
7724
7725 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7726 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7727 Reimplement to do errno handling inline.
7728 (SYSCALL_ERROR_HANDLER): New macro.
7729 (__SYSCALL_STRING): Do not do errno handling in asm.
7730 (__CLONE_SYSCALL_STRING): Delete.
7731 (__INTERNAL_SYSCALL_STRING): Delete.
7732 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7733 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7734 (PSEUDO): Reimplement to do errno handling inline.
7735 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7736 (SYSCALL_ERROR_HANDLER): New macro.
7737 (__SYSCALL_STRING): Do not do errno handling in asm.
7738 (__CLONE_SYSCALL_STRING): Delete.
7739 (__INTERNAL_SYSCALL_STRING): Delete.
7740 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7741 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7742 i386.
7743 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7744 (inline_syscall*): Add 'err' argument.
7745 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7746 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7747 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7748 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7749
7750 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7751 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7752
2bc17433
AS
77532011-08-30 Andreas Schwab <schwab@redhat.com>
7754
7755 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7756
fbeb5f4d
JO
77572011-08-29 Jiri Olsa <jolsa@redhat.com>
7758
7759 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7760 directive.
7761
ad69cc26
DM
77622011-08-24 David S. Miller <davem@davemloft.net>
7763
7764 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7765
39dd69df
AS
77662011-08-24 Andreas Schwab <schwab@redhat.com>
7767
7768 * elf/Makefile: Add rules to build and run unload8 test.
7769 * elf/unload8.c: New file.
7770 * elf/unload8mod1.c: New file.
7771 * elf/unload8mod1x.c: New file.
7772 * elf/unload8mod2.c: New file.
7773 * elf/unload8mod3.c: New file.
7774
7775 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7776 it wasn't used.
7777
2c0b250a
DM
77782011-08-23 David S. Miller <davem@davemloft.net>
7779
7780 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7781 subtract stack bias.
7782 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7783 %sp not %fp in calculations.
7784 (_JMPBUF_UNWINDS_ADJ): Likewise.
7785
22044b48
DM
7786 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7787 (aio_suspend): Call it to force an exception region around the
7788 AIO_MISC_WAIT() invocation.
7789
2cae4995
AS
77902011-08-23 Andreas Schwab <schwab@redhat.com>
7791
7792 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7793 backslash.
7794
873a772e
AJ
77952011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7796
7797 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7798 protection macro.
7799 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7800 and <dl-machine.h>.
7801 (Elf64_FuncDesc): Remove.
7802
25ad0df1
DM
78032011-08-22 David S. Miller <davem@davemloft.net>
7804
7805 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7806 sigaltstack check, add missing cfi directives.
7807 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7808 missing cfi directives, and sigaltstack handling.
7809
e888bcbe
AS
78102011-08-16 Andreas Schwab <schwab@redhat.com>
7811
7812 [BZ #11724]
7813 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7814 object is seen twice.
7815 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7816
7817 * elf/Makefile (distribute): Add tst-initorder2.c.
7818 (tests): Add tst-initorder2.
7819 (modules-names): Add tst-initorder2a tst-initorder2b
7820 tst-initorder2c tst-initorder2d. Add rules to build them.
7821 ($(objpfx)tst-initorder2.out): New rule.
7822 * elf/tst-initorder2.c: New file.
7823 * elf/tst-initorder2.exp: New file.
7824
87162f46
AS
78252011-08-22 Andreas Schwab <schwab@redhat.com>
7826
70538b7f
AS
7827 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7828
f55ffe58
AS
7829 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7830 dependencies back to end of function.
7831
87162f46
AS
7832 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7833 $(elfobjdir)/ld.so.
7834
91b392a4
UD
78352011-08-21 Ulrich Drepper <drepper@gmail.com>
7836
7837 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7838 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7839 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7840 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7841 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7842 of __vdso_gettimeofday.
7843 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7844 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7845 attribute_hidden.
7846 (_libc_vdso_platform_setup): Remove initialization of
7847 __vdso_gettimeofday and __vdso_time.
7848
5c43483f
UD
78492011-08-20 Ulrich Drepper <drepper@gmail.com>
7850
775a77e7
UD
7851 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7852 and fgetc_unlocked.
7853 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7854 getc_unlocked.
89f447ed 7855
49c74ba9
UD
7856 * elf/dl-open.c (add_to_global): Report additions to the global scope
7857 for LD_DEBUG=scopes.
7858 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 7859 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 7860
5c43483f
UD
7861 [BZ #13114]
7862 * stdio-common/Makefile (tests): Add bug24.
7863 * stdio-common/bug24.c: New file.
7864
a101b025
AJ
78652011-08-19 Andreas Jaeger <aj@suse.de>
7866
7867 [BZ #13114]
7868 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7869 non-existant file when using close-on-exec mode.
7870
c88f1766
UD
78712011-08-20 Ulrich Drepper <drepper@gmail.com>
7872
0276a718
UD
7873 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7874 the very first instruction.
7875
c88f1766
UD
7876 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7877 the CFI state in the end.
7878 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7879 inclusion of dl-trampoline.h.
7880 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7881
51ccffa0
AS
78822011-08-19 Andreas Schwab <schwab@redhat.com>
7883
94d7165f
AS
7884 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7885 expectations for long double.
7886
51ccffa0
AS
7887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7888 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7889
fd708658 78902011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
7891
7892 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7893 artificual limit depends upon the system page size.
7894
44f0a71e
UD
78952011-08-17 Ulrich Drepper <drepper@gmail.com>
7896
7897 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7898 * resolv/Makefile: Define CFLAGS-libresolv.
7899
8de79a24
AS
79002011-08-17 Andreas Schwab <schwab@redhat.com>
7901
7902 * nss/makedb.c (compute_tables): Make variables used in nested
7903 function static.
7904
27724598
UD
79052011-08-17 Ulrich Drepper <drepper@gmail.com>
7906
c5305d88
UD
7907 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7908 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7909 if buffer was too small.
7910
27724598
UD
7911 * elf/pldd.c (main): Attach to all threads in the process.
7912 Rewrite /proc handling to use *at functions.
7913
076fe015
UD
79142011-08-16 Ulrich Drepper <drepper@gmail.com>
7915
174baab3
UD
7916 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7917 specifies first scope to show.
7918 (dl_open_worker): Update callers. Move printing scope of new
7919 object to before the relocation.
44f0a71e 7920 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
7921 * sysdeps/generic/ldsodefs.h: Update declaration.
7922
076fe015
UD
7923 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7924 string for the scope number.
7925
a60df2c3
UD
79262011-08-14 Ulrich Drepper <drepper@gmail.com>
7927
7928 * nscd/servicescache.c (cache_addserv): Make sure written is always
7929 initialized.
7930
5e4287d1
RM
79312011-08-14 Roland McGrath <roland@hack.frob.com>
7932
85ae0589
RM
7933 * sysdeps/i386/i486/bits/atomic.h
7934 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7935 statement expression, so as to suppress "set but not used" warning.
7936 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7937
69f63097
RM
7938 * string/strncat.c (STRNCAT): Use prototype definition.
7939
675456ef
RM
7940 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7941 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7942 -Iprograms here.
7943 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7944 (localedef-modules): Add localedef.
7945 (locale-modules): Add locale.
7946
5e4287d1
RM
7947 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7948 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7949 to avoid a warning.
7950
9c96ff23
DM
79512011-08-14 David S. Miller <davem@davemloft.net>
7952
7953 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7954 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7955
f9ddf089
UD
79562011-08-13 Ulrich Drepper <drepper@gmail.com>
7957
44f0a71e 7958 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
7959 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7960 * elf/rtld.c (dl_main): Set l_name of vDSO.
7961 Call _dl_show_scope when DL_DEBUG_SCOPES.
7962 (process_dl_debug): Recognize scopes flag and also set it for all.
7963 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7964 Declare _dl_show_scope.
7965
1dc27704
UD
7966 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7967 (do_dlopen): Pass caller_dlopen to dl_open.
7968 (__libc_dlopen_mode): Initialize caller_dlopen.
7969
f9ddf089
UD
7970 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7971 of libc. Make tolower call locale-independent. Optimize a bit by
7972 using isdigit instead of isalnum.
7973 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7974
9ac533d3
UD
79752011-08-12 Ulrich Drepper <drepper@gmail.com>
7976
7977 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7978 was a dependency or dynamically loaded.
7979
89edf2e9
UD
79802011-08-11 Ulrich Drepper <drepper@gmail.com>
7981
8e999d29
UD
7982 * intl/l10nflist.c: Allow architecture-specific pop function.
7983 * sysdeps/x86_64/l10nflist.c: New file.
7984
89edf2e9
UD
7985 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7986 classification.
7987
14d96785
AS
79882011-08-10 Andreas Schwab <schwab@redhat.com>
7989
7990 * include/dirent.h: Add libc_hidden_proto for scandirat and
7991 scandirat64. Don't declare __scandirat64.
7992 * dirent/scandirat.c: Add libc_hidden_def.
7993 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7994 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7995
6761ac04
DM
79962011-08-10 David S. Miller <davem@davemloft.net>
7997
7998 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7999 enum.
8000 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8001 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8002 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8003
c55fbd1e
UD
80042011-08-09 Ulrich Drepper <drepper@gmail.com>
8005
8006 * Versions.def [libc]: Add GLIBC_2.15.
8007 * dirent/Makefile (routines): Add scandirat and scandirat64.
8008 * dirent/Versions [libc]: Export scandirat and scandirat64 for
8009 GLIBC_2.15.
8010 * dirent/dirent.h: Declare scandirat and scandirat64.
8011 * dirent/scandirat.c: New file.
8012 * dirent/scandirat64.c: New file.
8013 * sysdeps/wordsize-64/scandirat.c: New file.
8014 * sysdeps/wordsize-64/scandirat64.c: New file.
8015 * dirent/opendir.c: Define opendirat.
8016 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
8017 using scandirat.
8018 * dirent/scandir64.c: Adjust for scandir.c change.
8019 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
8020 __scandirat64, and __scandir_cancel_handler.
8021 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
8022 additional parameter and use openat instead of open (outside of ld.so).
8023 Add new __opendir as wrapper around __opendirat.
8024 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
8025 here without requiring old scandirat implementation.
8026
879165f2
UD
80272011-08-08 Ulrich Drepper <drepper@gmail.com>
8028
8029 * dirent/scandir.c (cancel_handler): Renamed to
8030 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
8031 defined. Adjust users.
8032 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
8033 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
8034
cb7e923b
UD
80352011-08-04 Ulrich Drepper <drepper@gmail.com>
8036
16292edd
UD
8037 * string/test-string.h (IMPL): Use __STRING to expand name and then
8038 stringify it.
8039
cb7e923b
UD
8040 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
8041 of cleanups.
8042
cff82933
LD
80432011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8044
8045 * string/Makefile: Update.
8046 (strop-tests): Append strncat.
8047 * string/test-wcscmp.c: New file.
8048 New comprehensive test for wcscmp.
8049 * string/test-strcmp.c: Update.
8050 (WIDE): New define.
8051
9be9bfcc
AS
80522011-07-22 Andreas Schwab <schwab@redhat.com>
8053
8054 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
8055 line.
8056
2e96f1c7
AS
80572011-07-26 Andreas Schwab <schwab@redhat.com>
8058
8059 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8060 encoding to ACE if AI_IDN.
8061
85188888
JJ
80622011-08-01 Jakub Jelinek <jakub@redhat.com>
8063
8064 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
8065 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
8066
5fa16e9b
LD
80672011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8068
8069 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
8070 Fix overflow bug in strncat.
8071 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8072
8073 * string/test-strncat.c: Update.
8074 Add new tests for checking overflow bugs.
8075
80762011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8077
8078 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8079 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
8080 * sysdeps/i386/i686/multiarch/strcat.S: New file.
8081 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
8082 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
8083 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
8084 * sysdeps/i386/i686/multiarch/strncat.S: New file.
8085 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
8086 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
8087
8088 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
8089 (USE_AS_STRCAT): Define.
8090 Add strcat and strncat support.
8091 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8092
8c1a459f
AS
80932011-07-25 Andreas Schwab <schwab@redhat.com>
8094
8095 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
8096 __n bigger than INT_MAX+1.
8097 (__strncmp_g): Likewise.
8098
bba33c28
UD
80992011-07-23 Ulrich Drepper <drepper@gmail.com>
8100
798be72d
UD
8101 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
8102 * libio/stido.h: Likewise.
8103
8accd4dc
UD
8104 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
8105 (AF_NFC): Define.
8106 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
8107 (AF_NFC): Define.
8108
cbff0d96
UD
8109 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
8110 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8111 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8112 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8113 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8114
9191c04a
UD
8115 [BZ #13021]
8116 * scripts/test-installation.pl: Don't expect libnss_test1 to be
8117 installed.
8118
bba33c28
UD
8119 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
8120 typo.
8121 (_dl_x86_64_save_sse): Likewise.
8122
90f139dd
UD
81232011-07-22 Ulrich Drepper <drepper@gmail.com>
8124
1aae088a
UD
8125 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
8126 OSXSAVE.
8127 (_dl_x86_64_save_sse): Likewise.
8128
8e2045f5
UD
8129 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
8130
90f139dd
UD
8131 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
8132
1d002f25
AS
81332011-07-21 Andreas Schwab <schwab@redhat.com>
8134
8135 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
8136 change.
8137 (_dl_x86_64_save_sse): Use correct AVX check.
8138
21137f89
UD
81392011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8140
8141 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
8142 bug in strncpy/strncat.
8143 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8144
a65c0b7a
UD
81452011-07-21 Ulrich Drepper <drepper@gmail.com>
8146
8147 * string/tester.c (test_strcat): Add tests for different alignments
8148 of source and destination.
8149 (test_strncat): Likewise.
8150
6986b98a
UD
81512011-07-20 Ulrich Drepper <drepper@gmail.com>
8152
90bb2039
UD
8153 [BZ #12852]
8154 * posix/glob.c (glob): Check passed in values before using them in
8155 expressions to avoid some overflows.
8156 (glob_in_dir): Likewise.
8157
5644ef54
UD
8158 [BZ #13007]
8159 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
8160 check for AVX enablement so that we don't crash with old kernels and
8161 new hardware.
8162 * elf/tst-audit4.c: Add same checks here.
8163 * elf/tst-audit6.c: Likewise.
8164
8165 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 8166
bfc9dc9b
AS
81672011-07-09 Andreas Schwab <schwab@linux-m68k.org>
8168
8169 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
8170
702e64bb
UD
81712011-07-20 Ulrich Drepper <drepper@gmail.com>
8172
8173 * po/cs.po: Update from translation team.
8174 * po/bg.po: Likewise.
8175
295e904f
MP
81762011-07-12 Marek Polacek <mpolacek@redhat.com>
8177
8178 * misc/sys/cdefs.h: Add support for const attribute.
8179 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
8180 to gnu_dev_{major,minor,makedev} functions.
8181
3ff94596
MP
81822011-07-20 Marek Polacek <mpolacek@redhat.com>
8183
8184 * intl/dcigettext.c (get_output_charset): Add missing bracket.
8185
28b59fca
AS
81862011-07-20 Andreas Schwab <schwab@redhat.com>
8187
8188 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
8189 strlen results.
8190
19df733e
AK
81912011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8192
8193 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8194 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
8195 register in order to avoid conflicts with the soft frame pointer
8196 being held in r11 when necessary.
8197 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8198 (INTERNAL_VSYSCALL_NCS): Likewise.
8199
c8835729
MP
82002011-07-14 Marek Polacek <mpolacek@redhat.com>
8201
8202 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8203 * elf/dl-fini.c (_dl_fini): Adjust caller.
8204 * elf/dl-close.c (_dl_close_worker): Likewise.
8205 * sysdeps/generic/ldsodefs.h: Adjust declaration.
8206
b902330c
MP
82072011-07-15 Marek Polacek <mpolacek@redhat.com>
8208
8991e135
MP
8209 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8210 "aux_cache->nlibs < 0".
8211
b902330c
MP
8212 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8213 in the reload-count case.
8214
99710781
LD
82152011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8216
8217 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8218 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8219 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8220 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8221 * sysdeps/x86_64/multiarch/strcat.S: New file.
8222 * sysdeps/x86_64/multiarch/strncat.S: New file.
8223 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8224 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8225 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8226 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8227 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8228 (USE_AS_STRCAT): Define.
8229 Add strcat and strncat support.
8230 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8231 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8232 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8233 * string/strncat.c: Update.
8234 (USE_AS_STRNCAT): Define.
8235 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8236 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8237 and i7.
8238 * sysdeps/x86_64/multiarch/init-arch.h
8239 (bit_Prefer_PMINUB_for_stringop): New.
8240 (index_Prefer_PMINUB_for_stringop): Likewise.
8241 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8242 bit_Prefer_PMINUB_for_stringop.
8243
7dc6bd90
UD
82442011-07-19 Ulrich Drepper <drepper@gmail.com>
8245
8246 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8247 buffer64.
8248 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8249 of casting of buffer.
8250 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8251 buffer32 and buffer64.
8252 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8253 writes instead of casting of buffer.
8254 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8255 buffer32.
8256 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8257 casting of buffer.
8258
e0e72284
AS
82592011-07-19 Andreas Schwab <schwab@redhat.com>
8260
8261 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8262
feb1eb0b
UD
82632011-07-19 Ulrich Drepper <drepper@gmail.com>
8264
8265 * nscd/nscd.c (termination_handler): Don't do anything for a database
8266 if it has not yet been initialized.
8267
298711ff
UD
82682011-07-18 Ulrich Drepper <drepper@gmail.com>
8269
8270 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8271
82722011-07-15 Marek Polacek <mpolacek@redhat.com>
8273
8274 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8275
f9d68389
UD
82762011-07-18 Ulrich Drepper <drepper@gmail.com>
8277
8278 * po/nl.po: Update from translation team.
8279 * po/sv.po: Likewise.
8280
db290cf5
RM
82812011-07-16 Roland McGrath <roland@hack.frob.com>
8282
8283 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8284 now disallowed by GCC.
5c550700 8285
fd5e21c7
RM
8286 * configure.in (use-default-link): Default to yes if a test -shared
8287 link meets our qualifications.
8288 * configure: Regenerated.
8289
5c550700
RM
8290 * config.make.in (output-format): New variable.
8291 * configure.in: Check for ld --print-output-format support.
8292 * configure: Regenerated.
8293 * Makerules ($(common-objpfx)format.lds)
8294 [$(output-format) != unknown]: Just use $(output-format),
8295 instead of the linker-script munging.
8296
9fa2c032
RM
82972011-07-14 Roland McGrath <roland@hack.frob.com>
8298
a6928d51
RM
8299 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8300 of $(common-objpfx)shlib.lds.
8301 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8302
661607b3
RM
8303 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8304 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8305
9fa2c032
RM
8306 * configure.in (-z relro check): Adjust test code to add a large
8307 writable data section after it.
8308 * configure: Regenerated.
8309
defe9061
RM
83102011-07-11 Roland McGrath <roland@hack.frob.com>
8311
8312 * configure.in (-z relro check): Fix test code to make the variable
8313 truly const.
8314 * configure: Regenerated.
8315
319b9ad4
UD
83162011-07-11 Ulrich Drepper <drepper@gmail.com>
8317
8318 * nscd/nscd.h (struct traced_file): Define.
8319 (struct database_dyn): Remove inotify_descr, reset_res, and filename
8320 elements. Add traced_files.
8321 (inotify_fd): Declare.
8322 (register_traced_file): Declare.
8323 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
8324 (inotify_fd): Export.
8325 (resolv_conf_descr): Remove.
8326 (nscd_init): Move inotify descriptor creation to main.
8327 Don't register files for notification here.
8328 (register_traced_file): New function.
8329 (invalidate_cache): Don't use reset_res to determine whether to call
8330 res_init, go through the list of registered files.
8331 (main_loop_poll): The inotify descriptors are now stored in the
8332 structures for the traced files.
8333 (main_loop_epoll): Likewise
8334 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
8335 to __nss_disable_nscd.
8336 * nscd/cache.c (prune_cache): There is no single inotify descriptor
8337 for a database anymore. Check the records for all the registered
8338 files instead.
8339 * nss/Makefile (libnss_files-routines): Add files-init.
8340 (libnss_db-routines): Add db-init.
8341 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8342 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8343 * nss/nss_db/db-init.c: New file.
8344 * nss/nss_files/files-init.c: New file.
8345 * nss/nsswitch.c (nss_load_library): New function. Broken out of
8346 __nss_lookup_function.
8347 (__nss_lookup_function): Call nss_load_library.
8348 (nss_load_all_libraries): New function.
8349 (__nss_disable_nscd): Take parameter with callback function for files
8350 to register. Set is_nscd. Load all the DSOs for the NSS modules
8351 used for the cached services.
8352 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8353 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8354 options for features to all the files in nscd.
8355
8356 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8357
23bee3e8
RM
83582011-07-10 Roland McGrath <roland@hack.frob.com>
8359
8360 * csu/elf-init.c (__libc_csu_init): Comment typo.
8361
46a5b7f0
UD
83622011-07-09 Ulrich Drepper <drepper@gmail.com>
8363
8364 * po/pl.po: Update from translation team.
8365 * po/ja.po: Likewise.
8366 * po/ru.po: Likewise.
8367 * po/ko.po: Likewise.
8368 * po/fr.po: Likewise.
8369
d30cf5bb
RM
83702011-07-09 Roland McGrath <roland@hack.frob.com>
8371
113ddea4
RM
8372 * configure.in (.ctors/.dtors header and trailer check):
8373 Use an empirical test on a built program.
8374 * configure: Regenerated.
8375
574920b4
RM
8376 * configure.in (-z relro check): Use an empirical test on a built DSO.
8377 Detect, but do not require, on ia64.
8378 * configure: Regenerated.
8379
d30cf5bb
RM
8380 * configure.in (READELF): Find it with AC_CHECK_TOOL.
8381 Update tests that use readelf to use $READELF instead.
8382 * configure: Regenerated.
8383
8538fdb3
UD
83842011-07-08 Ulrich Drepper <drepper@gmail.com>
8385
8386 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8387 if the result is not used.
8388
04d08991
AJ
83892011-07-05 Andreas Jaeger <aj@suse.de>
8390
8391 [BZ#9696]
8392 * stdlib/tst-strtod.c: Add testcase.
8393
de283087
AD
83942011-07-07 Ulrich Drepper <drepper@gmail.com>
8395
4e5f31c8 8396 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 8397 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
8398 The latter has a higher limit. Take additional parameter to pass to
8399 the new function.
8400 (__pathconf): Pass file to __statfs_link_max.
8401 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8402 __statfs_link_max.
8403 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8404 __statfs_link_max.
8405
de283087
AD
8406 [BZ #12868]
8407 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8408 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8409 Handle Lustre.
8410 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8411 (__statfs_filesize_max): Likewise.
8412 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8413
c75fa153
AJ
84142011-07-05 Andreas Jaeger <aj@suse.de>
8415
8416 * resolv/res_comp.c (dn_skipname): Remove unused variable.
8417
1a544854
UD
84182011-07-06 Marek Polacek <mpolacek@redhat.com>
8419
8420 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8421 `status' variable.
8422 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8423 Likewise.
8424
6f0eec67
UD
84252011-07-04 H.J. Lu <hongjiu.lu@intel.com>
8426
8427 * Makefile (strop-tests): Add strncat.
8428 * string/test-strncat.c: New file.
8429
aae30307
UD
84302011-06-30 Marek Polacek <mpolacek@redhat.com>
8431
8432 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8433
c0cfb5eb
UD
84342011-06-21 Andreas Jaeger <aj@suse.de>
8435
8436 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8437 Copy rule from iconvdata/Makefile.
8438
01636b21
UD
84392011-07-06 Ulrich Drepper <drepper@gmail.com>
8440
8441 [BZ #12922]
8442 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8443 but no long options are defined, just return 'W'.
8444
9895c8bc
UD
84452011-06-22 Marek Polacek <mpolacek@redhat.com>
8446
8447 [BZ #9696]
8448 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8449
5d4cf042
UD
84502011-07-06 Ulrich Drepper <drepper@gmail.com>
8451
8452 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8453 netgroups to read.
960e5535 8454 (innetgr): Likewise.
5d4cf042 8455
751eb97e
RM
84562011-07-05 Roland McGrath <roland@hack.frob.com>
8457
8458 * config.make.in (install_root): Default to $(DESTDIR).
8459
f15f1e45
UD
84602011-07-05 Ulrich Drepper <drepper@gmail.com>
8461
8462 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8463
4e34ac6a
RM
84642011-07-02 Roland McGrath <roland@hack.frob.com>
8465
5e9b6af4
RM
8466 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8467
84f9ea0f
RM
8468 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8469 containing directory rather than embedding absolute directory names.
8470
ea5ee9f7
RM
8471 * scripts/check-local-headers.sh: Rewritten using awk.
8472 Match by word, not by line. Print error messages for matches.
8473 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8474
1b74661a
RM
8475 * Makerules [shlib-lds-flags empty]:
8476 ($(common-objpfx)libc_pic.opts): New target.
8477 ($(common-objpfx)libc_pic.os.clean): New target.
8478 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8479
8480 * config.make.in (OBJCOPY): New variable.
8481 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8482 * configure: Regenerated.
8483
f781ef40
RM
8484 * config.make.in (use-default-link): New variable.
8485 * configure.in (use_default_link): Grok --with-default-link to set it.
8486 * configure: Regenerated.
8487 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8488 (shlib-lds, shlib-lds-flags): Define to empty.
8489
2d4fa81e
RM
8490 * Makerules (shlib-lds): New variable.
8491 (shlib-lds-flags): New variable.
8492 (build-shlib, build-moduile, build-module-asneeded): Use it.
8493 ($(common-objpfx)libc.so): Use $(shlib-lds).
8494 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8495 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8496
31fffa6b
RM
8497 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8498 DT_FLAGS/DT_FLAGS_1 with zero flags.
8499
4e34ac6a
RM
8500 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8501 linker script munging.
8502
fcfc776b
UD
85032011-07-02 Ulrich Drepper <drepper@gmail.com>
8504
8505 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8506 as 128-bit value.
8507 * crypt/sha512.c (sha512_process_block): Perform total addition using
8508 128-bit if possible.
8509 (__sha512_finish_ctx): Likewise.
8510 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8511 as 64-bit value.
8512 * crypt/sha256.c (SWAP64): Define.
8513 (sha256_process_block): Perform total addition using 64-bit if
8514 possible.
8515 (__sha256_finish_ctx): Likewise.
8516
99231d9a
UD
85172011-07-01 Ulrich Drepper <drepper@gmail.com>
8518
8519 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
8520 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8521 * nscd/hstcache.c (cache_addhst): Likewise.
8522 * nscd/grpcache.c (cache_addgr): Likewise.
8523 * nscd/aicache.c (addhstaiX): Likewise
8524 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8525
445b4a53
TK
85262011-07-01 Thorsten Kukuk <kukuk@suse.de>
8527
8528 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8529 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8530 * nscd/hstcache.c (cache_addhst): Likewise.
8531 * nscd/grpcache.c (cache_addgr): Likewise.
8532 * nscd/aicache.c (addhstaiX): Likewise
8533
6d4d8e8e
AS
85342011-07-01 Andreas Schwab <schwab@redhat.com>
8535
8536 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8537 domain only when needed.
8538
89f654c5
AS
85392011-06-30 Andreas Schwab <schwab@redhat.com>
8540
8541 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8542 is always restored.
8543
cf3b23ff
UD
85442011-06-29 Ulrich Drepper <drepper@gmail.com>
8545
8546 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8547 are re-adding the entry.
8548 * nscd/servicescache.c (cache_addserv): Likewise.
8549
751626f9
AJ
85502011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8551
8552 * sysdeps/generic/dl-irel.h: fix protection against multiple
8553 inclusions.
8554 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8555
9113ea1f
UD
85562011-06-28 Ulrich Drepper <drepper@gmail.com>
8557
5c0b8d90
UD
8558 [BZ #12935]
8559 * malloc/memusage.sh: Fix quoting in message.
8560 * debug/xtrace.sh: Likewise.
8561
9113ea1f
UD
8562 * configure.in: Remove support for --experimental-malloc option, make
8563 it the default.
8564 * config.make.in: Likewise.
8565 * malloc/Makefile: Likewise.
8566
a4172181
AS
85672011-06-27 Andreas Schwab <schwab@redhat.com>
8568
8569 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8570 two-byte characters.
8571
78a7eee7
RM
85722011-06-27 Roland McGrath <roland@hack.frob.com>
8573
62bede13
RM
8574 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8575 AC_CACHE_CHECK invocation.
8576 * configure: Regenerated.
8577
78a7eee7
RM
8578 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8579
5ce33a62
UD
85802011-06-27 Ulrich Drepper <drepper@gmail.com>
8581
034807a9
UD
8582 [BZ #12350]
8583 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8584 bit from old_res_options.
8585
4902da17
UD
8586 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8587
5ce33a62
UD
8588 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8589 value type for setfct.
8590
c2344f56
L
85912011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8592
8593 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8594 __gettimeofday instead of gettimeofday.
8595
68468076
UD
85962011-06-26 Ulrich Drepper <drepper@gmail.com>
8597
8598 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8599
acb0d739
L
86002011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8601
8602 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8603
8604 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8605 info.
8606
8912479f
L
86072011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8608
8609 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8610 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8611 strcpy-sse2-unaligned strncpy-sse2-unaligned
8612 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8613 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8614 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8615 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8616 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8617 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8618 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8619 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8620 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8621 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8622 (STRCPY): Support SSE2 and SSSE3 versions.
8623
d5495a11
UD
86242011-06-24 Ulrich Drepper <drepper@gmail.com>
8625
8626 [BZ #12874]
8627 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8628 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8629 kernels which artificially limit size of requests.
8630
0b1cbaae
L
86312011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8632
8633 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8634 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8635 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8636 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8637 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8638 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8639 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8640 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8641 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8642 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8643 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8644 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8645 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8646 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8647 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8648 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8649 Enable unaligned load optimization for Intel Core i3, i5 and i7
8650 processors.
8651 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8652 Define.
8653 (index_Fast_Unaligned_Load): Define.
8654 (HAS_FAST_UNALIGNED_LOAD): Define.
8655
07f494a0
MP
86562011-06-23 Marek Polacek <mpolacek@redhat.com>
8657
8658 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8659
fa3fc0fe
UD
86602011-06-22 Ulrich Drepper <drepper@gmail.com>
8661
8662 [BZ #12907]
8663 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8664 until it is clear that the information is realy needed.
8665 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8666
e12df166
AS
86672011-06-22 Andreas Schwab <schwab@redhat.com>
8668
8669 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8670
852eb34d
UD
86712011-06-22 Ulrich Drepper <drepper@gmail.com>
8672
84e2a551
UD
8673 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8674 /sys/devices/system/cpu/online if it is usable.
8675
852eb34d
UD
8676 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8677 reading the information from the /proc filesystem to once a second.
8678
6e502e19
UD
86792011-06-21 Andreas Jaeger <aj@suse.de>
8680
8681 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8682 NULL after inclusion of kernel headers.
8683
75d39ff2
UD
86842011-06-21 Ulrich Drepper <drepper@gmail.com>
8685
51f9aa6a
UD
8686 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8687 calls to internal_setent.
8688
c0244a9d
UD
8689 [BZ #12885]
8690 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8691 addresses using gethostbyname4_r ignore IPv4 addresses.
8692
c5e3c2ae
UD
8693 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8694 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8695
75d39ff2
UD
8696 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8697
42675c6f
DM
86982011-06-20 David S. Miller <davem@davemloft.net>
8699
8700 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8701 inclusions.
8702 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8703
8704 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8705 (elf_irel): Use it.
8706 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8707 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8708 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8709 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8710 * sysdeps/x86_64/dl-irel.h: Likewise.
8711
8712 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8713 * elf/dl-sym.c: Likewise.
8714
57912a71
UD
87152011-06-15 Ulrich Drepper <drepper@gmail.com>
8716
8717 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8718 need to dereference resplen2.
8719
ee22793d
AS
87202011-06-14 Andreas Schwab <schwab@redhat.com>
8721
8722 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8723
a9e836b0
UD
87242011-06-15 Ulrich Drepper <drepper@gmail.com>
8725
77fb9117
UD
8726 * Makeconfig: Define vardbdir and inst_vardbdir.
8727 * nss/Makefile: Add rules to install db-Makefile.
8728
40c1b22c
UD
8729 * nss/nss_db/db-XXX.c: Cleanup.
8730
9f2da732
UD
8731 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8732 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8733 GLIBC_PRIVATE.
8734 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8735 * nss/makedb.c: Implement -g option to specify that value strings
8736 are generated and should not be added to table iterated over for
8737 get*ent calls.
8738 * nss/nss_db/db-initgroups.c: New file.
8739
82e9a1f7
UD
8740 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8741 interface.
8742
c41af17e
UD
8743 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8744 (internal_getgrouplist): Adjust to name change.
8745 Update use_initgroups_entry if this is not the first call.
8746 * nss/databases.def: Add initgroups entry.
8747
a9e836b0
UD
8748 * nss/makedb.c (compute_tables): Check result of multiple hash table
8749 sizes to minimize maximum chain length.
8750
2666d441
UD
87512011-06-14 Ulrich Drepper <drepper@gmail.com>
8752
8753 * Versions.def: Add entry for libnss_db.
8754 * shlib-versions: Likewise.
8755 * nss/Makefile: Add rules to build libnss_db.
8756 * nss/Versions: Add libnss_db information. Organize libnss_files
8757 entries better.
8758 * nss/db-Makefile: Add gshadow support. Change rules for the new
8759 makedb progra. Some minor improvements to generate smaller files.
8760 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8761 here from...
8762 * nss/makedb.c: ...here.
8763 Improve database format to be smaller and require less memory at
8764 runtime.
8765 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8766 db anymore.
8767 * nss/nss_db/db-netgrp.c: Likewise.
8768 * nss/nss_db/db-open.c: Likewise.
8769 * nss/nss_files/flies-XXX.x: Adjust comments.
8770 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8771 * nss/nss_files/files-grp.c: Likewise.
8772 * nss/nss_files/files-hosts.c: Likewise.
8773 * nss/nss_files/files-network.c: Likewise.
8774 * nss/nss_files/files-proto.c: Likewise.
8775 * nss/nss_files/files-pwd.c: Likewise.
8776 * nss/nss_files/files-rpc.c: Likewise.
8777 * nss/nss_files/files-service.c: Likewise.
8778 * nss/nss_files/files-sgrp.c: Likewise.
8779 * nss/nss_files/files-spwd.c: Likewise.
8780 * nss/nss_db/db-alias.c: Removed.
8781 * nss/nss_db/dummy-db.h: Removed.
8782
9ee76b5a
UD
87832011-06-02 Ulrich Drepper <drepper@gmail.com>
8784
8785 * nss/makedb.c: Rewritten to not use database library.
8786 * nss/Makefile: Update to build new makedb program.
8787
c71ca1f8
AJ
87882011-06-14 Andreas Jaeger <aj@suse.de>
8789
8790 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8791 memset declaration.
8792
3154bfb8
UD
87932011-06-10 Andreas Schwab <schwab@redhat.com>
8794
8795 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8796 tmpbuf.
8797
b350afab
RM
87982011-06-10 Roland McGrath <roland@hack.frob.com>
8799
decd4e50
RM
8800 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8801 * elf/Makefile ($(objpfx)ld.so): Likewise.
8802
5615eaf2
RM
8803 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8804 Don't list ld.so twice in dependencies.
8805
8806 * posix/bug-regex31.c: Include <stdlib.h>.
8807
8808 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8809
8810 * nis/nss_compat/compat-spwd.c
8811 (getspent_next_nss_netgr): Remove unused variable.
8812 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8813
8814 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8815 nonmembers" output to use the right array.
8816
8817 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8818
8819 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8820
8821 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8822 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8823 * catgets/gencat.c (read_input_file): Likewise.
8824 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8825
8826 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8827 variable definition inside #if's controlling its use.
8828
8829 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8830
8831 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8832
8833 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8834
8835 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8836 unreachable code.
8837
8838 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8839
b68e08db
RM
8840 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8841 * configure: Regenerated.
8842
b350afab
RM
8843 * Makerules: Revert last change.
8844 * elf/Makefile: Likewise.
8845
28368601
RM
88462011-06-09 Roland McGrath <roland@hack.frob.com>
8847
8848 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8849 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8850 (reloc-link): Likewise.
8851
11988f8f
UD
88522011-06-09 Ulrich Drepper <drepper@gmail.com>
8853
8854 * elf/Makefile: Add rules to build pldd.
8855 * elf/pldd.c: New file.
8856 * elf/pldd-xx.c: New file.
8857
e80fab37
UD
88582011-06-07 Ulrich Drepper <drepper@gmail.com>
8859
8860 * version.h: Update for 2.15 development version.
8861
9b849836
DM
88622011-06-07 David S. Miller <davem@davemloft.net>
8863
8864 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8865 ifuncs.
8866 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8867 elf_machine_lazy_rel): Likewise.
8868 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8869 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8870 elf_machine_lazy_rel): Likewise.
8871 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8872 dl_hwcap via passed in argument.
8873 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8874 Likewise.
8875
5a31b283
AK
88762011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8877
8878 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8879
069e52f8
RM
88802011-06-06 Roland McGrath <roland@hack.frob.com>
8881
8882 [BZ #12849]
8883 * manual/fdl-1.1.texi: New file, verbatim from:
8884 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8885 * manual/lgpl-2.1.texi: New file, verbatim from:
8886 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8887 * manual/Makefile (licenses): New variable, list those new file names.
8888 (texis): Use it.
8889 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8890
8891 * manual/fdl.texi: File removed.
8892 * manual/lesser.texi: File removed.
8893 * manual/libc.texinfo (Copying, Documentation License):
8894 Use new @include file names, put @appendix directive before @include.
8895
f16846a5
JJ
88962011-06-04 Jakub Jelinek <jakub@redhat.com>
8897
8898 [BZ #12841]
8899 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8900 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8901 (mq_open): Add __NTH.
8902
3d29045b
L
89032011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8904
8905 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8906 Assume Intel Core i3/i5/i7 processor if AVX is available.
8907
8c297311
UD
89082011-05-31 Ulrich Drepper <drepper@gmail.com>
8909
8910 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8911 typo.
8912
c8fc0c91
UD
89132011-05-31 Andreas Schwab <schwab@redhat.com>
8914
8915 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8916 memory. Use alloca_account. Fix memory leak when retrying.
8917
5b27a807
UD
89182011-05-31 Ulrich Drepper <drepper@gmail.com>
8919
356f8bc6
UD
8920 * version.h (RELEASE): Bump for 2.14 release.
8921 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8922
5b27a807
UD
8923 * config.make.in (RANLIB): Remove entry.
8924
01f16ab0
UD
89252011-05-30 Ulrich Drepper <drepper@gmail.com>
8926
41fce8bd
UD
8927 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8928 (libc.pot): Work around missing support for .ksh extension in xgettext.
8929
4769ae77
UD
8930 [BZ #12684]
8931 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8932 if both request failed.
8933 (send_dg): In case of server errors clear resplen or *resplen2.
8934
6b1e7d19
UD
8935 [BZ #12454]
8936 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8937 when there are multiple maps.
8938 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8939 (_dl_fini): Remove test here.
8940
01f16ab0
UD
8941 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8942
b1ebd700
UD
89432011-05-29 Ulrich Drepper <drepper@gmail.com>
8944
7ae22829
UD
8945 [BZ #12350]
8946 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8947 bit from old_res_options.
8948 (gaih_inet): Likewise.
8949
553149f6 8950 [BZ #11099]
18a84741 8951 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
8952 as signed.
8953
652ffab1
UD
8954 * resolv/res_init.c (res_setoptions): Make the code more compact.
8955
16985fd0
UD
8956 [BZ #11558]
8957 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8958 set RES_USEVC.
8959
0464f746
UD
8960 [BZ #11634]
8961 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8962
7d17596c
UD
8963 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8964
cf6bbbd7
UD
8965 [BZ #11781]
8966 * malloc/malloc.h: Declare malloc hook variables as volatile.
8967
13f1ab36
UD
8968 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8969 in last patch.
8970
b1ebd700
UD
8971 [BZ #11799]
8972 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 8973 raise in the comment.
80e2212d
UD
8974 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8975 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8976 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 8977
ce67228d
UD
89782011-05-28 Ulrich Drepper <drepper@gmail.com>
8979
8887a920
UD
8980 [BZ #12811]
8981 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8982 grow the buffers more if it already has to be sufficient.
8983 (build_wcs_upper_buffer): Likewise.
8984 * posix/regexec.c (check_matching): Likewise.
8985 (clean_state_log_if_needed): Likewise.
8986 (extend_buffers): Don't enlarge buffers beyond size of the input
8987 buffer.
8988 Patches mostly by Emil Wojak <emil@wojak.eu>.
8989 * posix/bug-regex32.c: New file.
8990 * posix/Makefile (tests): Add bug-regex32.
8991
4f031072
UD
8992 * locale/findlocale.c (_nl_find_locale): Return right away if
8993 _nl_explode_name failed.
8994 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8995
d0478f0c
UD
8996 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8997
de81b246
UD
8998 * debug/xtrace.sh: Unify messages.
8999 * malloc/memusage.sh: Likewise.
9000
c738465a
UD
9001 [BZ #12813]
9002 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
9003 time symbol from vDSO. Substitute with vsyscall if not available.
9004 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
9005 __vdso_time.
9006
f1f929d7
UD
9007 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
9008 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
9009 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
9010 Add sendmmsg and internal_sendmmsg.
9011 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
9012 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
9013 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
9014
ce67228d
UD
9015 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
9016 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
9017 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
9018
e57420c6
UD
90192011-05-27 Ulrich Drepper <drepper@gmail.com>
9020
a8509ca5
UD
9021 [BZ #12813]
9022 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
9023 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
9024 available.
9025 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
9026 __vdso_getcpu.
9027
e57420c6
UD
9028 [BZ #12814]
9029 * iconvdata/Makefile (tests): Add bug-iconv9.
9030 * iconvdata/bug-iconv9.c: New file.
9031
4d07db15
AS
90322011-05-27 Andreas Schwab <schwab@redhat.com>
9033
9034 [BZ #12814]
9035 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
9036
ea486f69
JJ
90372011-05-25 Jakub Jelinek <jakub@redhat.com>
9038
9039 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9040 (struct user_regs_struct): Change intcs field back to cs.
9041
6f038433
UD
90422011-05-25 Ulrich Drepper <drepper@gmail.com>
9043
9044 * po/ja.po: Update from translation team.
9045
67f86a25
UD
90462011-05-23 Ulrich Drepper <drepper@gmail.com>
9047
9048 [BZ #12795]
9049 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
9050 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
9051
def7fbd6
AS
90522011-05-20 Andreas Schwab <schwab@redhat.com>
9053
9054 * stdlib/longlong.h: Update from GCC.
9055
f50ef8f1
AS
90562011-05-23 Andreas Schwab <schwab@redhat.com>
9057
9058 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
9059 parameter name.
9060 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
9061 Add parameter name.
9062 (__sysconf): Pass it down.
9063
de7ce8f1
UD
90642011-05-22 Ulrich Drepper <drepper@gmail.com>
9065
f2962a71
UD
9066 [BZ #12671]
9067 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
9068 some situations.
9069 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9070 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
9071 add in in __libc_use_alloca calls. Adjust callers.
9072 (glob): Use malloc in some situations.
9073
de7ce8f1
UD
9074 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
9075 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
9076 pltexit.
9077
aec84f53
UD
90782011-05-21 Ulrich Drepper <drepper@gmail.com>
9079
05bb4a68
UD
9080 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
9081 and CLOCK_BOOTTIME_ALARM.
9082
7ea72f99
UD
9083 [BZ #12782]
9084 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
9085 is returned.
9086
7e4afad5
UD
9087 * string/_strerror.c (__strerror_r): Print negative errors as signed
9088 numbers.
9089
8e211fec
UD
9090 [BZ #12777]
9091 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
9092 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
9093 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
9094
f7d82dc9
UD
9095 * configure.in: Fix typo in redirection and correct removal of test
9096 files in two cases.
9097
cc9e536d
UD
9098 [BZ #12788]
9099 * locale/setlocale.c (new_composite_name): Fix test to check for
9100 identical name of all categories.
9101
aec84f53
UD
9102 [BZ #12792]
9103 * libio/filedoalloc.c (local_isatty): New function.
9104 (_IO_file_doallocate): Use local_isatty.
9105 * stdio-common/perror.c (perror): In case a new stream is used
9106 forward the stream error.
9107 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
9108 error flag.
9109
78e64fdc
RT
91102011-05-20 Ulrich Drepper <drepper@gmail.com>
9111
34a9094f
UD
9112 [BZ #11869]
9113 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
9114 alloca.
9115 * include/alloca.h (extend_alloca_account): Define.
9116
78e64fdc
RT
9117 [BZ #11857]
9118 * posix/regex.h: Fix comments with documentation of user-accessible
9119 fields after compilation and describe correct free'ing of pattern
9120 after re_compile_pattern.
9121 Patch by Reuben Thomas <rrt@sc3d.org>.
9122
457bddfc
RA
91232011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
9124
9125 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
9126 and -mno-altivec to prevent the compiler from using Altivec and/or
9127 VSX instructions when the corresponding registers are not available.
9128
a4527b51
AS
91292011-05-19 Andreas Schwab <schwab@redhat.com>
9130
9131 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
9132
ed690b2f
UD
91332011-05-19 Ulrich Drepper <drepper@gmail.com>
9134
9135 * libio/freopen.c (freopen): Use __dup2, not dup2.
9136 * libio/freopen64.c (freopen64): Likewise.
9137
8db73634
L
91382011-05-17 H.J. Lu <hongjiu.lu@intel.com>
9139
9140 [BZ #12775]
9141 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
9142 * math/Makefile (tests): Add test-powl.
9143 (CFLAGS-test-powl.c): Define.
9144 * math/test-powl.c: New file.
9145
0a197a9d
L
91462011-05-16 H.J. Lu <hongjiu.lu@intel.com>
9147
9148 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
9149
ee30c380
UD
91502011-05-17 Ulrich Drepper <drepper@gmail.com>
9151
9152 [BZ #11837]
9153 * iconvdata/gb18030.c: Update to GB18020-2005.
9154
6ce75379
UD
91552011-05-16 Ulrich Drepper <drepper@gmail.com>
9156
a4b89fd8
AR
9157 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
9158 RE_SYNTAX_POSIX_AWK): Update to match recent development.
9159 Patch by Aharon Robbins <arnold@skeeve.com>.
9160
ea389b12
UD
9161 [BZ #11892]
9162 * stdlib/putenv.c (putenv): Don't always create copy of the variable
9163 on the stack.
9164
68a3f91f
UD
9165 [BZ #11895]
9166 * misc/pselect.c (__pselect): Handle timeout value errors hidden
9167 through underflows.
9168
15cc7dd1
UD
9169 [BZ #12766]
9170 * misc/error.c (error_at_line): Ensure file_name and old_file_name
9171 point to strings before performing equality test for error_one_per_line
9172 mode.
9173
f3799213
UD
9174 [BZ #11697]
9175 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
9176
d79a9c94
UD
9177 [BZ #11820]
9178 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9179 (struct user_fpregs_struct): Avoid __uint*_t types.
9180
56e5eb46
UD
9181 [BZ #6420]
9182 * malloc/mtrace.c (tr_where): Add additional parameter to point to
9183 symbol info. Use it instead of calling _dl_addr locally.
9184 (lock_and_info): New function.
9185 (tr_freehook): Call lock_and_info and pass symbol info as additional
9186 parameter to tr_where.
9187 (tr_mallochook): Likewise.
9188 (tr_reallochook): Likewise.
9189 (tr_memalignhook): Likewise.
9190
6ce75379
UD
9191 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
9192 used and couldn't be at all thread-safe.
9193
f8a3b5bf
UD
91942011-05-15 Ulrich Drepper <drepper@gmail.com>
9195
94b7cc37
UD
9196 * libio/freopen.c (freopen): Don't close old file descriptor
9197 before the new one is opened. Instead dup the new file descriptor
9198 to the old one after the new stream is created.
9199 * libio/freopen64.c (freopen64): Likewise.
9200 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9201 * libio/fileops.c (_IO_new_file_close_it): Handle new
9202 _IO_FLAGS2_NOCLOSE flag.
9203 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9204 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9205 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9206 _IO_FLAGS2_NOCLOSE flag.
9207 * include/unistd.h: Add hidden_proto for dup3.
9208 Define __have_dup3.
9209 * io/dup3.c: Define hidden symbol.
9210 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9211
bd25564e
UD
9212 [BZ #7101]
9213 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9214 when an incomplete long option is used.
9215 * posix/tst-getopt_long1.c: New file.
9216 * posix/Makefile (tests): Add tst-getopt_long1.
9217
c84cfef4
UD
9218 [BZ #10138]
9219 * scripts/config.guess: Update from autoconf-2.68.
9220 * scripts/config.sub: Likewise.
9221
3b85df27
UD
9222 [BZ #10157]
9223 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9224 tests into ...
9225 (has_cpuclock): ...this. New function.
9226 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9227 macro here based on has_cpuclock code.
9228
15a856b1
UD
9229 [BZ #10149]
9230 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9231 First byte (not low byte) is now always NUL.
9232 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9233
05f399e6
UD
9234 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9235 Use non-cancelable interfaces.
9236
10a52685 9237 [BZ #9809]
94ecc67d
UD
9238 * locale/iso-639.def: Add entry for Sorani.
9239
f8a3b5bf
UD
9240 [BZ #11901]
9241 * include/stdlib.h: Move include protection to the right place.
9242 Define abort_msg_s. Declare __abort_msg with it.
9243 * stdlib/abort.c (__abort_msg): Adjust type.
9244 * assert/assert.c (__assert_fail_base): New function. Majority
9245 of code from __assert_fail. Allocate memory for __abort_msg with
9246 mmap.
9247 (__assert_fail): Now call __assert_fail_base.
9248 * assert/assert-perr.c: Remove bulk of implementation. Use
9249 __assert_fail_base.
9250 * include/assert.hL Declare __assert_fail_base.
9251 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9252 mmap.
9253 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9254
1af4e298
UD
92552011-05-14 Ulrich Drepper <drepper@gmail.com>
9256
f8a3b5bf 9257 [BZ #11952]
d26dfc60
MG
9258 [BZ #12453]
9259 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9260 until all modules are registered in the DTV.
9261 * elf/Makefile: Add rules to build and run tst-tls19.
9262 * elf/tst-tls19.c: New file.
9263 * elf/tst-tls19mod1.c: New file.
9264 * elf/tst-tls19mod2.c: New file.
9265 * elf/tst-tls19mod3.c: New file.
9266 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9267
2fc54d6f
UD
9268 [BZ #12083]
9269 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9270 correctly.
9271
98d76b46
UD
9272 [BZ #12601]
9273 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9274 two-byte sequence errors.
9275 * iconvdata/Makefile (tests): Add bug-iconv8.
9276 * iconvdata/bug-iconv8.c: New file.
9277
da3c19ef
UD
9278 [BZ #12626]
9279 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9280 buf2 definition.
9281
ca408c15
UD
9282 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9283
d6f67f7d
UD
9284 [BZ #12432]
9285 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9286 (dummy_getcfa): New function.
9287 (init): Get _Unwind_GetCFA address, use dummy if not found.
9288 (backtrace_helper): In recursion check, also check whether CFA changes.
9289 (__backtrace): Completely initialize arg.
9290
1af4e298 9291 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
9292 storing incomplete byte sequence in state object. Avoid testing for
9293 guaranteed too small input if we know there is enough data available.
1af4e298 9294
da62f81b
AS
92952011-05-11 Andreas Schwab <schwab@redhat.com>
9296
9297 * Makeconfig (+link-pie): Indent.
9298 * Rules (binaries-pie): Define if $(have-fpie) and
9299 $(build-shared).
9300 (binaries-shared): Also filter out $(binaries-pie).
9301 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9302 * nscd/Makefile (others-pie): Add nscd.
9303 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9304 ($(objpfx)nscd): Remove command override.
9305 * login/Makefile (others-pie): Add pt_chown.
9306 ($(objpfx)pt_chown): Remove command override.
9307 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9308 remove command overrides.
9309
fcabc0f8
UD
93102011-05-13 Ulrich Drepper <drepper@gmail.com>
9311
20030ae6
UD
9312 * libio/tst_putwc.c: Fix error messages.
9313
fcabc0f8
UD
9314 [BZ #12724]
9315 * libio/fileops.c (_IO_new_file_close_it): Always flush when
9316 currently writing and seek to current position when not.
9317 * libio/Makefile (tests): Add bug-fclose1.
9318 * libio/bug-fclose1.c: New file.
9319
320a5dc0
PB
93202011-05-12 Ulrich Drepper <drepper@gmail.com>
9321
9322 [BZ #12511]
9323 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
9324 don't set DF_1_NODELETE here.
9325 (do_lookup_x): When entering new entry test for copy relocation
9326 and if necessary set DF_1_NODELETE flag.
9327 * elf/tst-unique4.cc: New file.
9328 * elf/tst-unique4.h: New file.
9329 * elf/tst-unique4lib.cc: New file.
9330 * elf/Makefile: Add rules to build and run tst-unique4.
9331 Patch by Piotr Bury <pbury@goahead.com>.
9332
22836f52
UD
93332011-05-11 Ulrich Drepper <drepper@gmail.com>
9334
f574184a
UD
9335 [BZ #12052]
9336 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9337
e1fb097f
UD
9338 [BZ #12625]
9339 * misc/mntent_r.c (addmntent): Flush the stream after the output
9340
22836f52
UD
9341 [BZ #12393]
9342 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9343 (is_trusted_path_normalize): Skip initial colon. Append slash
9344 to empty buffer. Duplicate is_trusted_path code but allow
9345 constructed patch to be prefix.
9346 (is_dst): Allow $ORIGIN followed by /.
9347 (_dl_dst_substitute): Correct clearing of check_for_trusted.
9348 Correct testing of result of is_trusted_path_normalize
9349 (decompose_rpath): Fix warning.
9350
7b3b0b2a
UD
93512011-05-10 Ulrich Drepper <drepper@gmail.com>
9352
9353 [BZ #11257]
9354 * grp/initgroups.c (internal_getgrouplist): When we found the service
9355 list through the initgroups entry in nsswitch.conf do not always
9356 continue on a successful lookup. Don't always use the
eac80ce2 9357 __nss_group_database value if it is set.
7b3b0b2a
UD
9358 * nss/nsswitch.conf (initgroups): Change action for successful db
9359 lookup to continue for compatibility.
9360
2a81eaa5
UD
93612011-05-09 Ulrich Drepper <drepper@gmail.com>
9362
be97a69e
UD
9363 [BZ #11532]
9364 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9365 and CP774 modules.
9366 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9367 and CP774 modules.
9368 * iconvdata/tst-tables.sh: Likewise.
9369 * iconvdata/cp770.c: New file.
9370 * iconvdata/cp771.c: New file.
9371 * iconvdata/cp772.c: New file.
9372 * iconvdata/cp773.c: New file.
9373 * iconvdata/cp774.c: New file.
9374 * iconvdata/testdata/CP770: New file.
9375 * iconvdata/testdata/CP770..UTF8: New file.
9376 * iconvdata/testdata/CP771: New file.
9377 * iconvdata/testdata/CP771..UTF8: New file.
9378 * iconvdata/testdata/CP772: New file.
9379 * iconvdata/testdata/CP772..UTF8: New file.
9380 * iconvdata/testdata/CP773: New file.
9381 * iconvdata/testdata/CP773..UTF8: New file.
9382 * iconvdata/testdata/CP774: New file.
9383 * iconvdata/testdata/CP774..UTF8: New file.
9384
9385 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9386 END CHARMAP line.
9387 * iconvdata/gen-8bit-gap.sh: Likewise.
9388 * iconvdata/gen-8bit.sh: Likewise.
9389
c1e9e399
UD
9390 * locale/iso-639.def: Add ary entry.
9391
24c55fb3 9392 [BZ #11258]
96b4b1b0
UD
9393 * locale/C-translit.h.in: Add U20A1 transliteration.
9394
bdc2f971
KB
9395 [BZ #12178]
9396 * locale/iso-639.def: Add wae entry.
9397 Patch by Kevin Bortis <bortis@translate-wae.ch>.
9398
2952b117
UD
9399 [BZ #12545]
9400 * locale/programs/localedef.c (construct_output_path): Use ssize_t
9401 for n.
9402
2a81eaa5
UD
9403 [BZ #12711]
9404 * locale/C-translit.h.in: Add entry for U20B9.
9405 Patch by pravin.d.s@gmail.com.
9406
28377d1b
UD
94072011-05-08 Ulrich Drepper <drepper@gmail.com>
9408
7fb90fb8
UD
9409 [BZ #12713]
9410 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9411 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
9412 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
9413 in rtld. Use *stat64.
7fb90fb8 9414 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 9415 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 9416 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
9417 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9418 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9419 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9420 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9421 __fstatat64 macros.
7fb90fb8
UD
9422 * include/dirent.h: Add libc_hidden_proto for rewinddir.
9423 * dirent/rewinddir.c: Add libc_hidden_def.
9424 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 9425 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 9426
28377d1b
UD
9427 * include/dirent.h (__alloc_dir): Add flags parameter.
9428 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9429 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9430 __alloc_dir.
9431 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
9432 from fdopendir if O_CLOEXEC is already set.
9433
66bdbaa4
AM
94342011-03-15 Alan Modra <amodra@gmail.com>
9435
9436 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9437 l_tls_firstbyte_offset non-zero. Save padding offset in
9438 l_tls_firstbyte_offset for later use.
9439 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9440 freeing static tls block.
9441
95721191
JN
94422011-03-05 Jonathan Nieder <jrnieder@gmail.com>
9443
9444 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9445 where #ifdef was intended. The intent is to prevent ARG_MAX from
9446 being defined by the kernel headers.
9447
f87dfb1f
UD
94482011-05-07 Ulrich Drepper <drepper@gmail.com>
9449
9450 [BZ #12734]
9451 * resolv/resolv.h: Define RES_NOTLDQUERY.
9452 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9453 no-tld-query and set RES_NOTLDQUERY.
9454 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9455 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9456 modern BIND to search name as TLD unless forbidden.
9457
47c3cd7a
UD
94582011-05-07 Petr Baudis <pasky@suse.cz>
9459 Ulrich Drepper <drepper@gmail.com>
9460
9461 [BZ #12393]
9462 * elf/dl-load.c (fillin_rpath): Move trusted path check...
9463 (is_trusted_path): ...to here.
c1e9ea35 9464 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 9465 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 9466 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 9467
8a35c912
PP
94682011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9469
9470 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9471 __BEGIN/__END_DECLS.
9472
acd41f47
UD
94732011-05-06 Ulrich Drepper <drepper@gmail.com>
9474
9475 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9476 NSS_STATUS_NOTFOUND if no record was found.
9477
597df647
AS
94782011-05-05 Andreas Schwab <schwab@redhat.com>
9479
9480 * sunrpc/Makefile (headers): Add rpc/netdb.h.
9481 (headers-not-in-tirpc): Remove rpc/netdb.h
9482 * resolv/netdb.h: Revert last change.
9483
b9af1301
PP
94842011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9485
9486 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9487 circular dependency between libgcc.a and libc.a.
9488
4e34d5f5
AS
94892011-05-05 Andreas Schwab <schwab@redhat.com>
9490
9491 * resolv/netdb.h: Don't include <rpc/netdb.h>.
9492 * nis/Makefile: Don't install rpcsvc/*.
9493 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9494 instead of <rpc/types.h>.
9495 (MAXHOSTNAMELEN): Define.
9496
00ee369c
AS
94972011-05-03 Andreas Schwab <schwab@redhat.com>
9498
9499 * elf/ldconfig.c (add_dir): Don't crash on empty path.
9500
0b592a30
MB
95012011-04-28 Maciej Babinski <mbabinski@google.com>
9502
9503 [BZ #12714]
9504 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9505 gethostbyname4_r when IPv6 results are possible.
9506
6e04cbbe
UD
95072011-05-02 Ulrich Drepper <drepper@gmail.com>
9508
9509 [BZ #12723]
9510 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9511 _PC_PIPE_BUF handling.
9512
e4ecafe0
BH
95132011-04-30 Bruno Haible <bruno@clisp.org>
9514
9515 [BZ #12717]
9516 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9517 * resolv/netdb.h (getnameinfo): Change type of flags parameter
9518 to 'int'.
9519 * inet/getnameinfo.c (getnameinfo): Likewise.
9520
125ee683
UD
95212011-04-29 Ulrich Drepper <drepper@gmail.com>
9522
9523 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9524 to groups setting in database lookup.
9525 * nss/nsswitch.conf: Add initgroups entry.
9526
b722481a
EB
95272011-04-22 Ulrich Drepper <drepper@gmail.com>
9528
9529 [BZ #12685]
9530 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9531 mode string.
9532 Patch by Eric Blake <eblake@redhat.com>.
9533
4df46dbd
L
95342011-04-20 H.J. Lu <hongjiu.lu@intel.com>
9535
9536 * sunrpc/Makefile (need-export-routines): Add svc_run.
9537 (routines): Remove svc_run.
9538 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9539 * sunrpc/clnt_perr.c (clnt_perrno): Export.
9540 * sunrpc/svc_run.c (svc_run): Likewise.
9541 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9542
e84142d2
UD
95432011-04-21 Ulrich Drepper <drepper@gmail.com>
9544
9545 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9546 problem in reallocation in last patch.
9547
877175d8
UD
95482011-04-20 Ulrich Drepper <drepper@gmail.com>
9549
9550 * sunrpc/Makefile: Move inclusion of Rules.
9551
ab8eed78
UD
95522011-04-19 Ulrich Drepper <drepper@gmail.com>
9553
9554 * nss/nss_files/files-initgroups.c: New file.
9555 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9556 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9557 _nss_files_initgroups_dyn.
9558
e3d8f584
RS
95592011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9560
9561 * elf/elf.h (R_ARM_IRELATIVE): Define.
9562
af190f45
UD
95632011-04-19 Ulrich Drepper <drepper@gmail.com>
9564
9565 * po/ru.po: Update from translation team.
9566
53cf59ef
UD
95672011-04-17 Ulrich Drepper <drepper@gmail.com>
9568
9569 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9570 dependencies.
9571
4c559bcd
MF
95722011-02-06 Mike Frysinger <vapier@gentoo.org>
9573
9574 [BZ #12653]
9575 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9576 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9577 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9578 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9579 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9580
4420675c
AS
95812011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9582
9583 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9584 differing bytes.
9585 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9586 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9587 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9588
75ea32ab
UD
95892011-04-17 Ulrich Drepper <drepper@gmail.com>
9590
9591 [BZ #12420]
9592 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9593 storing it.
9594 * stdlib/bug-getcontext.c: New file.
9595 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9596
27390476
AK
95972011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9598
9599 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9600 instructions into .machine "z9-109".
9601 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9602 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9603
10442705
AK
96042011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9605
9606 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9607 between environment variables and auxiliary vector.
9608
7b57bfe5
UD
96092011-04-16 Ulrich Drepper <drepper@gmail.com>
9610
9611 * Makefile: Add rules to build linkobj/libc.so.
9612 * include/libc-symbols.h: Define libc_hidden_nolink.
9613 * include/rpc/auth.h: Mark functions which are to be hidden.
9614 * include/rpc/auth_des.h: Likewise.
9615 * include/rpc/auth_unix.h: Likewise.
9616 * include/rpc/clnt.h: Likewise.
9617 * include/rpc/des_crypt.h: Likewise.
9618 * include/rpc/key_prot.h: Likewise.
9619 * include/rpc/pmap_clnt.h: Likewise.
9620 * include/rpc/pmap_prot.h: Likewise.
9621 * include/rpc/pmap_rmt.h: Likewise.
9622 * include/rpc/rpc_msg.h: Likewise.
9623 * include/rpc/svc.h: Likewise.
9624 * include/rpc/svc_auth.h: Likewise.
9625 * include/rpc/xdr.h: Likewise.
9626 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9627 * nss/Makefile: Likewise.
9628 * sunrpc/Makefile: Don't install headers. Build library with normal
9629 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9630 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9631 for the compat linking library. Remove use of INTDEF/INTUSE.
9632 * sunrpc/auth_none.c: Likewise.
9633 * sunrpc/auth_unix.c: Likewise.
9634 * sunrpc/authdes_prot.c: Likewise.
9635 * sunrpc/authuxprot.c: Likewise.
9636 * sunrpc/clnt_gen.c: Likewise.
9637 * sunrpc/clnt_perr.c: Likewise.
9638 * sunrpc/clnt_raw.c: Likewise.
9639 * sunrpc/clnt_simp.c: Likewise.
9640 * sunrpc/clnt_tcp.c: Likewise.
9641 * sunrpc/clnt_udp.c: Likewise.
9642 * sunrpc/clnt_unix.c: Likewise.
9643 * sunrpc/des_crypt.c: Likewise.
9644 * sunrpc/des_soft.c: Likewise.
9645 * sunrpc/get_myaddr.c: Likewise.
9646 * sunrpc/key_call.c: Likewise.
9647 * sunrpc/key_prot.c: Likewise.
9648 * sunrpc/netname.c: Likewise.
9649 * sunrpc/pm_getmaps.c: Likewise.
9650 * sunrpc/pm_getport.c: Likewise.
9651 * sunrpc/pmap_clnt.c: Likewise.
9652 * sunrpc/pmap_prot.c: Likewise.
9653 * sunrpc/pmap_prot2.c: Likewise.
9654 * sunrpc/pmap_rmt.c: Likewise.
9655 * sunrpc/publickey.c: Likewise.
9656 * sunrpc/rpc_cmsg.c: Likewise.
9657 * sunrpc/rpc_common.c: Likewise.
9658 * sunrpc/rpc_dtable.c: Likewise.
9659 * sunrpc/rpc_prot.c: Likewise.
9660 * sunrpc/rpc_thread.c: Likewise.
9661 * sunrpc/rtime.c: Likewise.
9662 * sunrpc/svc.c: Likewise.
9663 * sunrpc/svc_auth.c: Likewise.
9664 * sunrpc/svc_authux.c: Likewise.
9665 * sunrpc/svc_raw.c: Likewise.
9666 * sunrpc/svc_run.c: Likewise.
9667 * sunrpc/svc_simple.c: Likewise.
9668 * sunrpc/svc_tcp.c: Likewise.
9669 * sunrpc/svc_udp.c: Likewise.
9670 * sunrpc/svc_unix.c: Likewise.
9671 * sunrpc/svcauth_des.c: Likewise.
9672 * sunrpc/xcrypt.c: Likewise.
9673 * sunrpc/xdr.c: Likewise.
9674 * sunrpc/xdr_array.c: Likewise.
9675 * sunrpc/xdr_float.c: Likewise.
9676 * sunrpc/xdr_intXX_t.c: Likewise.
9677 * sunrpc/xdr_mem.c: Likewise.
9678 * sunrpc/xdr_rec.c: Likewise.
9679 * sunrpc/xdr_ref.c: Likewise.
9680 * sunrpc/xdr_sizeof.c: Likewise.
9681 * sunrpc/xdr_stdio.c: Likewise.
9682
e6c61494
UD
96832011-04-10 Ulrich Drepper <drepper@gmail.com>
9684
9685 [BZ #12650]
9686 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9687 * sysdeps/ia64/dl-tls.h: Likewise.
9688 * sysdeps/powerpc/dl-tls.h: Likewise.
9689 * sysdeps/s390/dl-tls.h: Likewise.
9690 * sysdeps/sh/dl-tls.h: Likewise.
9691 * sysdeps/sparc/dl-tls.h: Likewise.
9692 * sysdeps/x86_64/dl-tls.h: Likewise.
9693 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9694
34fe483e
AS
96952011-03-14 Andreas Schwab <schwab@redhat.com>
9696
9697 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9698 rpath element also skip the following colon.
9699 (expand_dynamic_string_token): Add is_path parameter and pass
9700 down to DL_DST_REQUIRED and _dl_dst_substitute.
9701 (decompose_rpath): Call expand_dynamic_string_token with
9702 non-zero is_path. Ignore empty rpaths.
9703 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9704 with zero is_path.
9705
f12a32e6
AS
97062011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9707
9708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9709 Make cancelable.
9710
38a7d692
UD
97112011-04-09 Ulrich Drepper <drepper@gmail.com>
9712
9713 [BZ #12655]
9714 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9715 Patch by Filipe David Manana <fdmanana@apache.org>.
9716
e451d22b
AS
97172011-04-07 Andreas Schwab <schwab@redhat.com>
9718
9719 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9720 Maintain aligned stack.
9721 (CHECK_RSP): Remove unused macro.
9722
dedc7c7b
UD
97232011-04-03 Ulrich Drepper <drepper@gmail.com>
9724
9725 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9726 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9727
94521213
UD
97282011-04-02 Ulrich Drepper <drepper@gmail.com>
9729
9730 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9731
8cb700c0 9732 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 9733
0354e355
L
97342011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9735
9736 [BZ #12518]
9737 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9738 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9739 * sysdeps/x86_64/memmove.c: New file.
9740 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9741 (memcpy): Renamed to ...
9742 (__new_memcpy): This.
9743 (memcpy): Provide GLIBC_2_14 memcpy.
9744 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9745 (memcpy): Provide GLIBC_2_2_5 memcpy.
9746
8593482f
UD
97472011-04-01 Ulrich Drepper <drepper@gmail.com>
9748
9749 [BZ #12631]
9750 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9751
81a5726b
AS
97522011-03-30 Andreas Schwab <schwab@redhat.com>
9753
9754 * misc/syncfs.c: New file.
9755 * misc/Makefile (routines): Add syncfs.
9756 * posix/unistd.h: Declare syncfs.
9757 * sysdeps/unix/syscalls.list: Add syncfs.
9758
00e5419f
AS
97592011-04-01 Andreas Schwab <schwab@redhat.com>
9760
9761 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9762 open_by_handle_at.
9763 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9764 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9765 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9766 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9767 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9768 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9769 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9770
748876bf
UD
97712011-04-01 Ulrich Drepper <drepper@gmail.com>
9772
658e451d
UD
9773 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9774 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9775 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9776 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9777 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9778 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9779 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9780
748876bf
UD
9781 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9782 sync_file_range.c with -fexceptions.
9783 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9784 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9785 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9786 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9787 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9788 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9789 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
9790 sync_file_range as cancellation point
9791 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9792 now a wrapper around __call_sync_file_range with cancellation handling.
9793 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9794 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9795 function name to __call_sync_file_range.
9796 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9797 Add call_sync_file_range.
748876bf 9798
6e63d5e1
AS
97992011-04-01 Andreas Schwab <schwab@redhat.com>
9800
9801 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 9802 bits/timex.h.
6e63d5e1 9803
46998f74
UD
98042011-04-01 Ulrich Drepper <drepper@gmail.com>
9805
4c1423ed
UD
9806 * iconv/iconv.h: Fix typo in comment.
9807 * io/fcntl.h: Likewise.
9808 * libio/stdio.h: Likewise.
9809 * posix/spawn.h: Likewise.
9810 * posix/unistd.h: Likewise.
9811 * stdlib/stdlib.h: Likewise.
9812 * time/time.h: Likewise.
9813 * wcsmbs/wchar.h: Likewise.
9814
158648c0
UD
9815 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9816 open_by_handle): Add.
9817 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9818 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9819 Augment a few comments.
9820 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9821 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9822 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9823 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9824 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9825 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9826 open_by_handle.
9827
46998f74
UD
9828 * io/fcntl.h (AT_EMPTY_PATH): Define.
9829
83fe108b
UD
98302011-03-30 Ulrich Drepper <drepper@gmail.com>
9831
9832 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9833 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9834 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9835 to...
9836 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
9837 * Versions.def: Add GLIBC_2.14.
9838 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9839 Export.
83fe108b 9840
bb242059
UD
98412011-03-22 Ulrich Drepper <drepper@gmail.com>
9842
9843 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9844 round counter.
9845 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9846
c97a1282
L
98472011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9848
9849 [BZ #12597]
9850 * string/test-strncmp.c (do_page_test): New function.
9851 (check2): Likewise.
9852 (test_main): Call check2.
9853 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9854
2a115601
UD
98552011-03-20 Ulrich Drepper <drepper@gmail.com>
9856
9857 [BZ #12587]
9858 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9859 Handle cache information in CPU leaf 4.
9860 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9861
8126d904
UD
98622011-03-18 Ulrich Drepper <drepper@gmail.com>
9863
042c49c6 9864 [BZ #12583]
8126d904
UD
9865 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9866 character representation.
9867 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9868
ccfe366e
RA
98692011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9870
9871 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9872 END(__isnan) to END(__isnanf) to match function entry point/label
9873 EALIGN(__isnanf,...).
9874
c6e13027
JJ
98752011-03-10 Jakub Jelinek <jakub@redhat.com>
9876
9877 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9878
33f85a3f
UD
98792011-03-10 Ulrich Drepper <drepper@gmail.com>
9880
028478fa
UD
9881 [BZ #12510]
9882 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9883 copy from the symbol referenced in the relocation to initialize the
9884 used variable.
9885 Patch by Piotr Bury <pbury@goahead.com>.
9886 * elf/Makefile: Add rules to build and tst-unique3.
9887 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9888 * elf/tst-unique3.cc: New file.
9889 * elf/tst-unique3.h: New file.
9890 * elf/tst-unique3lib.cc: New file.
9891 * elf/tst-unique3lib2.cc: New file.
9892
33f85a3f
UD
9893 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9894
03592fc7
MF
98952011-03-10 Mike Frysinger <vapier@gentoo.org>
9896
9897 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9898 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9899 to _start.
03592fc7 9900
6a5ee102
UD
99012011-03-06 Ulrich Drepper <drepper@gmail.com>
9902
9903 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9904 to-be-loaded object along a path to loader is ld.so.
9905
7e4ba49c
HJ
99062011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9907 Ulrich Drepper <drepper@gmail.com>
9908
9909 * sysdeps/x86_64/memset.S: After aligning destination, code
9910 branches to different locations depending on the value of
9911 misalignment, when multiarch is enabled. Fix this.
9912
99132011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9914
9915 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9916 Set _x86_64_preferred_memory_instruction for AMD processsors.
9917 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9918 Set bit_Prefer_SSE_for_memop for AMD processors.
9919
13a804de
UD
99202011-03-04 Ulrich Drepper <drepper@gmail.com>
9921
9922 * libio/fmemopen.c (fmemopen): Optimize a bit.
9923
9d25c392
AS
99242011-03-03 Andreas Schwab <schwab@redhat.com>
9925
9926 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9927
a5543c6a
RM
99282011-03-03 Roland McGrath <roland@redhat.com>
9929
9930 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9931
012d35f7
DM
99322011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9933
7e4ba49c 9934 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
9935 __bzero_ultra1 instead of __memset_ultra1.
9936
4bff6e01
AS
99372011-02-23 Andreas Schwab <schwab@redhat.com>
9938 Ulrich Drepper <drepper@gmail.com>
9939
9940 [BZ #12509]
9941 * include/link.h (struct link_map): Add l_orig_initfini.
9942 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9943 returning unsuccessfully.
9944 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9945 close of a file loaded at startup, restore the original l_initfini
9946 list.
9947 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9948 list, store the pointer.
9949 * elf/Makefile ($(objpfx)noload-mem): New rule.
9950 (noload-ENV): Define.
9951 (tests): Add $(objpfx)noload-mem.
9952 * elf/noload.c: Include <memcheck.h>.
9953 (main): Call mtrace. Close all opened handles.
9954
f2092faf
AS
99552011-02-17 Andreas Schwab <schwab@redhat.com>
9956
9957 [BZ #12454]
9958 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9959 dependencies are missing.
9960
6c8a2e88
ST
99612011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9962
f2092faf 9963 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
9964 Hurd needs munmap.
9965 * sysdeps/mach/hurd/ifreq.h: New file.
9966
84a42118
PB
99672011-01-27 Petr Baudis <pasky@suse.cz>
9968 Ulrich Drepper <drepper@gmail.com>
9969
071f805e 9970 [BZ 12445]#
84a42118
PB
9971 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9972 to extend_alloca().
9973 * stdio-common/bug23.c: New file.
9974 * stdio-common/Makefile (tests): Add bug23.
9975
e23fe25b
AS
99762010-09-28 Andreas Schwab <schwab@redhat.com>
9977 Ulrich Drepper <drepper@gmail.com>
9978
9979 [BZ #12489]
9980 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9981 before performing relro protection. At old place add assertion
9982 to make sure nothing changed.
9983
d3f02e10
NS
99842011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9985 Glauber de Oliveira Costa <glommer@gmail.com>
9986
9987 * elf/elf.h: Add new ARM TLS relocs.
9988
d55fd7a5
RA
99892011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9990
9991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9992 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9993 cast from r3.
9994 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9995 'tests' variable.
9996 * sysdeps/wordsize-64/tst-writev.c: New file.
9997
2206397e
RA
99982011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9999
10000 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
10001 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
10002 insns in _dl_start to prevent a TOC reference before relocs are
10003 resolved.
10004
e9433893
UD
100052011-02-15 Ulrich Drepper <drepper@gmail.com>
10006
10007 [BZ #12469]
10008 * Makeconfig: Remove RANLIB definition.
10009 * Makerules: Don't use RANLIB.
10010 * aclocal.m4: Remove ranlib test.
10011 * configure.in: No need to check for ranlib.
10012 * elf/rtld-Rules: Don't use RANLIB.
10013
f75286c6
ST
100142011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10015
8e31c82d
ST
10016 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
10017 protection macro.
10018 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
10019 inclusion protection macro.
10020
f75286c6
ST
10021 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
10022 SIGRTMIN and SIGRTMAX and print information in that case only when
10023 SIGRTMIN is defined.
10024
c1d0e639
JJ
100252011-02-11 Jakub Jelinek <jakub@redhat.com>
10026
10027 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
10028 arginfo fn returning -1.
10029
10030 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
10031 and thousands string is zero terminated.
10032
edf9294e
AS
100332011-02-03 Andreas Schwab <schwab@redhat.com>
10034
10035 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
10036 sysdeps/unix/sysv/linux/bits/socket.h.
10037
2b7e92df
ST
100382011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10039
edf9294e
AS
10040 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
10041 (__CPU_COUNT): Remove old macros.
10042 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
10043 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
10044 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
10045 (__sched_cpualloc, __sched_cpufree): Add declarations.
10046
a4c7ea7b
UD
100472011-02-05 Ulrich Drepper <drepper@gmail.com>
10048
10049 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
10050 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
10051 * nscd/aicache.c (addhstaiX): Return timeout of added value.
10052 (readdhstai): Return value of addhstaiX call.
10053 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
10054 (addgrbyX): Return value returned by cache_addgr.
10055 (readdgrbyname): Return value returned by addgrbyX.
10056 (readdgrbygid): Likewise.
10057 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
10058 (addpwbyX): Return value returned by cache_addpw.
10059 (readdpwbyname): Return value returned by addhstbyX.
10060 (readdpwbyuid): Likewise.
10061 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
10062 (addservbyX): Return value returned by cache_addserv.
10063 (readdservbyname): Return value returned by addservbyX:
10064 (readdservbyport): Likewise.
10065 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
10066 (addhstbyX): Return value returned by cache_addhst.
10067 (readdhstbyname): Return value returned by addhstbyX.
10068 (readdhstbyaddr): Likewise.
10069 (readdhstbynamev6): Likewise.
10070 (readdhstbyaddrv6): Likewise.
10071 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
10072 (readdinitgroups): Return value returned by addinitgroupsX.
10073 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
10074 (prune_cache): Keep track of timeout value of re-added entries.
10075 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
10076 * nscd/nscd.h: Adjust prototypes of readd* functions.
10077
a0bf67cc
RM
100782011-02-04 Roland McGrath <roland@redhat.com>
10079
10080 * nis/nis_server.c (nis_servstate): Use the right name for 0.
10081 (nis_stats): Likewise.
10082 * nis/nis_modify.c (nis_modify): Likewise.
10083 * nis/nis_remove.c (nis_remove): Likewise.
10084 * nis/nis_add.c (nis_add): Likewise.
10085
10086 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
10087
10088 * posix/fnmatch_loop.c: Add some consts.
10089
10090 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
10091
435b95eb
L
100922011-02-02 H.J. Lu <hongjiu.lu@intel.com>
10093
10094 [BZ #12460]
10095 * config.make.in (config-cflags-novzeroupper): Define.
10096 * configure.in: Substitute libc_cv_cc_novzeroupper.
10097 * elf/Makefile (AVX-CFLAGS): Define.
10098 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
10099 (CFLAGS-tst-auditmod4a.c): Likewise.
10100 (CFLAGS-tst-auditmod4b.c): Likewise.
10101 (CFLAGS-tst-auditmod6b.c): Likewise.
10102 (CFLAGS-tst-auditmod6c.c): Likewise.
10103 (CFLAGS-tst-auditmod7b.c): Likewise.
10104 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
10105
8517b15e
UD
101062011-02-02 Ulrich Drepper <drepper@gmail.com>
10107
10108 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
10109 function to the callback.
10110 Patch partly by Jiri Olsa <jolsa@redhat.com>.
10111
10a656fe
AS
101122011-02-02 Andreas Schwab <schwab@redhat.com>
10113
10114 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
10115 of errno.
10116
968dad0a
UD
101172011-01-19 Ulrich Drepper <drepper@gmail.com>
10118
9f94d2ea 10119 [BZ #11724]
968dad0a
UD
10120 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
10121 of constructors.
10122 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
10123 of destructors.
10124 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
10125
10126 [BZ #11724]
10127 * elf/Makefile: Add rules to build and run new test.
10128 * elf/tst-initorder.c: New file.
10129 * elf/tst-initorder.exp: New file.
10130 * elf/tst-initordera1.c: New file.
10131 * elf/tst-initordera2.c: New file.
10132 * elf/tst-initordera3.c: New file.
10133 * elf/tst-initordera4.c: New file.
10134 * elf/tst-initorderb1.c: New file.
10135 * elf/tst-initorderb2.c: New file.
10136 * elf/tst-order-a1.c: New file.
10137 * elf/tst-order-a2.c: New file.
10138 * elf/tst-order-a3.c: New file.
10139 * elf/tst-order-a4.c: New file.
10140 * elf/tst-order-b1.c: New file.
10141 * elf/tst-order-b2.c: New file.
10142 * elf/tst-order-main.c: New file.
10143 New test case by George Gensure <werkt0@gmail.com>.
10144
86e92359
UD
101452010-10-01 Andreas Schwab <schwab@redhat.com>
10146
10147 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10148 decoding ACE if AI_CANONIDN.
10149
5d5732b0
UD
101502011-01-18 Ulrich Drepper <drepper@gmail.com>
10151
10152 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
10153
a77e8cbc
UD
101542011-01-17 Ulrich Drepper <drepper@gmail.com>
10155
6392473f
UD
10156 * version.h (RELEASE): Bump for 2.13 release.
10157 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
10158
620a0529
UD
10159 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
10160
18ba70a5
UD
10161 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
10162 MADV_NOHUGEPAGE.
32465c3e
UD
10163 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
10164 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10165 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10166 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10167 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10168 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10169
c0dafcf1
UD
10170 * posix/getconf.c: Update copyright year.
10171 * catgets/gencat.c: Likewise.
10172 * csu/version.c: Likewise.
10173 * debug/catchsegv.sh: Likewise.
10174 * debug/xtrace.sh: Likewise.
10175 * elf/ldconfig.c: Likewise.
10176 * elf/ldd.bash.in: Likewise.
10177 * elf/sprof.c (print_version): Likewise.
10178 * iconv/iconv_prog.c: Likewise.
10179 * iconv/iconvconfig.c: Likewise.
10180 * locale/programs/locale.c: Likewise.
10181 * locale/programs/localedef.c: Likewise.
10182 * malloc/memusage.sh: Likewise.
10183 * malloc/mtrace.pl: Likewise.
10184 * nscd/nscd.c (print_version): Likewise.
10185 * nss/getent.c: Likewise.
10186
a77e8cbc
UD
10187 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
10188 PF_CAIF, and PF_ALG.
10189 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10190
77e8bddf
AS
101912011-01-16 Andreas Schwab <schwab@linux-m68k.org>
10192
1f20b93a
AS
10193 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
10194 (modules-names): Use them.
10195 (ifunc-test-modules, ifunc-pie-tests): Define.
10196 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10197 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10198 (test-extras): Likewise.
10199 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10200 $(compile-command.c).
10201 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10202 (all-built-dso): Define.
10203 (check-textrel.out, check-execstack.out): Depend on it.
10204
77e8bddf
AS
10205 * configure.in: Don't override --enable-multi-arch.
10206
bc425b33
UD
102072011-01-15 Ulrich Drepper <drepper@gmail.com>
10208
10209 [BZ #6812]
10210 * nscd/hstcache.c (tryagain): Define.
10211 (cache_addhst): Return tryagain not notfound for temporary errors.
10212 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10213 failed.
10214
794c3ad3
UD
102152011-01-14 Ulrich Drepper <drepper@gmail.com>
10216
70181fdd
UD
10217 [BZ #10563]
10218 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10219 to make the syscall.
10220 * sysdeps/unix/sysv/linux/setgroups.c: New file.
10221
794c3ad3
UD
10222 [BZ #12378]
10223 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10224 and fall back to matching as normal character if the string ends before
10225 the matching ']' is found. This is what POSIX requires.
10226 * posix/testfnm.c: Adjust test result.
10227 * posix/globtest.sh: Adjust test result. Add new test.
10228 * posix/tst-fnmatch.input: Likewise.
10229 * posix/tst-fnmatch2.c: Add new test.
10230
68dc9497
AS
102312010-12-28 Andreas Schwab <schwab@linux-m68k.org>
10232
10233 * elf/Makefile (check-execstack): Revert last change. Depend on
10234 check-execstack.h.
10235 (check-execstack.h): New target.
10236 (generated): Add check-execstack.h.
10237 * elf/check-execstack.c: Include "check-execstack.h".
10238 (main): Revert last change.
10239 (handle_file): Return zero if GNU_STACK is absent and
10240 DEFAULT_STACK_PERMS doesn't include PF_X.
10241
451f001b
UD
102422011-01-13 Ulrich Drepper <drepper@gmail.com>
10243
cfa28e56
UD
10244 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10245 in child fails because the descriptor is already closed.
8cf8ce17
UD
10246 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10247 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10248 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 10249
1086d70d
UD
10250 [BZ #12397]
10251 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10252 syscall.
10253
451f001b
UD
10254 [BZ #10484]
10255 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10256 temporary buffer used to handle multi lookups locally.
a85b5cb4 10257 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 10258
08769175
UD
102592011-01-12 Ulrich Drepper <drepper@gmail.com>
10260
10261 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10262 loader is ld.so.
10263
5e49c52e
UD
102642011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
10265
10266 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10267 alignment for SSE2.
10268
60522a5f
UD
102692011-01-12 Ulrich Drepper <drepper@gmail.com>
10270
10271 [BZ #12394]
10272 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10273 characters. When rounding increased number of integer digits recompute
10274 number of groups.
10275 * stdio-common/tst-grouping.c: New file.
10276 * stdio-common/Makefile: Add rules to build and run tst-grouping.
10277
f257bbd7
UD
102782011-01-09 Ulrich Drepper <drepper@gmail.com>
10279
10280 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10281 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
10282
10283 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10284 void.
10285 * bits/select.h: Likewise.
10286
fa9c15cb
UD
102872011-01-08 Ulrich Drepper <drepper@gmail.com>
10288
10289 * po/ja.po: Update from translation team.
10290
16c2895f
DM
102912011-01-04 David S. Miller <davem@sunset.davemloft.net>
10292
10293 [BZ #11155]
10294 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10295 implementation just like for lxstat, fxstatat, et al.
10296
2543fef2
JM
102972010-12-27 Jim Meyering <meyering@redhat.com>
10298
10299 [BZ #12348]
10300 * posix/regexec.c (build_trtable): Return failure indication upon
10301 calloc failure. Otherwise, re_search_internal could infloop on OOM.
10302
98727dbe
UD
103032010-12-25 Ulrich Drepper <drepper@gmail.com>
10304
5bd6dc5c
UD
10305 [BZ #12201]
10306 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10307 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10308 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10309 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
10310
97983464
UD
10311 [BZ #12207]
10312 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
10313
98727dbe
UD
10314 [BZ #12204]
10315 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
10316 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
10317
4a531bb0
L
103182010-12-15 H.J. Lu <hongjiu.lu@intel.com>
10319
10320 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
10321 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
10322 script has SORT_BY_INIT_PRIORITY.
10323 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
10324 NO_CTORS_DTORS_SECTIONS is defined.
10325 * elf/soinit.c: Likewise.
10326 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
10327 NO_CTORS_DTORS_SECTIONS is defined.
10328 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
10329 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10330 * sysdeps/sh/init-first.c: Likewise.
10331 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10332
07eb4b71
UD
103332010-12-24 Ulrich Drepper <drepper@gmail.com>
10334
10335 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10336 always use the slow path.
10337
30950a5f
RA
103382010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
10339
10340 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10341 similar rule which adds the sysdep directories to the header search in
10342 order to pick up the correct platform stackinfo.h.
10343 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10344 perform test if it is, otherwise return successfully without testing.
10345 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10346 DEFAULT_STACK_PERMS define in stackinfo.h.
10347 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10348 defined in stackinfo.h.
10349 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10350 DEFAULT_STACK_PERMS defined in stackinfo.h.
10351 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10352 * sysdeps/ia64/stackinfo.h: Likewise.
10353 * sysdeps/s390/stackinfo.h: Likewise.
10354 * sysdeps/sh/stackinfo.h: Likewise.
10355 * sysdeps/sparc/stackinfo.h: Likewise.
10356 * sysdeps/x86_64/stackinfo.h: Likewise.
10357 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10358 PF_X for powerpc64. Retain PF_X for powerpc32.
10359
db753e2c
UD
103602010-12-19 Ulrich Drepper <drepper@gmail.com>
10361
14b697f7
UD
10362 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10363 accurately.
db753e2c
UD
10364 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10365 GETDENTS_64BIT_ALIGNED.
10366
28300719
UD
103672010-12-14 Ulrich Drepper <dreper@gmail.com>
10368
14b697f7 10369 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 10370
4f197237
AS
103712010-12-10 Andreas Schwab <schwab@redhat.com>
10372
dbb0472f
AS
10373 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10374 _GNU_SOURCE.
10375
4f197237
AS
10376 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10377 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10378 Remove __restrict.
10379 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10380 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10381
fb88ac72
UD
103822010-12-09 Ulrich Drepper <drepper@gmail.com>
10383
10384 [BZ #11655]
10385 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10386 are initialized.
10387
42acbb92
JJ
103882010-12-09 Jakub Jelinek <jakub@redhat.com>
10389
10390 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10391
c038d98d
UD
103922010-12-03 Ulrich Drepper <drepper@gmail.com>
10393
10394 * po/it.po: Update from translation team.
10395
3a4a2499
L
103962010-12-01 H.J. Lu <hongjiu.lu@intel.com>
10397
10398 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10399 unused codes.
10400
1e24cf6e
UD
104012010-11-30 Ulrich Drepper <drepper@gmail.com>
10402
10403 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10404
a7690819
AS
104052010-11-24 Andreas Schwab <schwab@redhat.com>
10406
10407 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10408 specially.
10409 (gaih_getanswer_slice): Likewise.
10410
3bf8d1b1
JJ
104112010-10-20 Jakub Jelinek <jakub@redhat.com>
10412
10413 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10414
6db52fbb
PB
104152010-05-31 Petr Baudis <pasky@suse.cz>
10416
10417 [BZ #11149]
10418 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10419 silently even in the chroot mode.
10420
eaca7569
UD
104212010-11-22 Ulrich Drepper <drepper@gmail.com>
10422
10423 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10424 last patch a bit. Pretty printing
10425
3056dcdb
UD
104262010-05-31 Petr Baudis <pasky@suse.cz>
10427
10428 [BZ #10085]
10429 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10430 initialization of skip_initgroups_dyn.
10431
cf7c9078
UD
104322010-11-19 Ulrich Drepper <drepper@gmail.com>
10433
10434 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10435 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10436
a1fb5e3e
UD
104372010-11-16 Ulrich Drepper <drepper@gmail.com>
10438
10439 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10440
3540d66b
AS
104412010-11-11 Andreas Schwab <schwab@redhat.com>
10442
10443 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10444 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10445 (tst-fnmatch-ENV): Set MALLOC_TRACE.
10446 ($(objpfx)tst-fnmatch-mem): New rule.
10447 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10448 * posix/tst-fnmatch.c (main): Call mtrace.
10449
13b69574
L
104502010-11-11 H.J. Lu <hongjiu.lu@intel.com>
10451
10452 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10453 Support Intel processor model 6 and model 0x2c.
10454
da93d214
LM
104552010-11-10 Luis Machado <luisgpm@br.ibm.com>
10456
10457 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10458 signed comparison.
10459
8ca52c6e
L
104602010-11-09 H.J. Lu <hongjiu.lu@intel.com>
10461
10462 [BZ #12205]
10463 * string/test-strncasecmp.c (check_result): New function.
10464 (do_one_test): Use it.
10465 (check1): New function.
10466 (test_main): Use it.
10467 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10468 Support strcasecmp and strncasecmp.
10469
69da074d
UD
104702010-11-08 Ulrich Drepper <drepper@gmail.com>
10471
10472 [BZ #12194]
10473 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10474 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10475
ff02d528
L
104762010-11-07 H.J. Lu <hongjiu.lu@intel.com>
10477
10478 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10479 IFUNC support.
10480 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10481 memset-x86-64.
10482 * sysdeps/x86_64/multiarch/bzero.S: New file.
10483 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10484 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10485 * sysdeps/x86_64/multiarch/memset.S: New file.
10486 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10487 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10488 Set bit_Prefer_SSE_for_memop for Intel processors.
10489 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10490 Define.
10491 (index_Prefer_SSE_for_memop): Define.
10492 (HAS_PREFER_SSE_FOR_MEMOP): Define.
10493
344d0b54
LM
104942010-11-04 Luis Machado <luisgpm@br.ibm.com>
10495
10496 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10497 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10498
c0dde15b
UD
104992010-11-03 H.J. Lu <hongjiu.lu@intel.com>
10500
10501 [BZ #12191]
10502 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10503 (__x86_64_raw_data_cache_size_half): Likewise.
10504 (__x86_64_raw_shared_cache_size): Likewise.
10505 (__x86_64_raw_shared_cache_size_half): Likewise.
10506
10507 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10508 (__x86_64_raw_data_cache_size_half): Likewise.
10509 (__x86_64_raw_shared_cache_size): Likewise.
10510 (__x86_64_raw_shared_cache_size_half): Likewise.
10511 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10512 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10513 and __x86_64_raw_shared_cache_size_half. Round
10514 __x86_64_data_cache_size_half, __x86_64_data_cache_size
10515 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10516 to multiple of 256 bytes.
10517
0e516e0e
MS
105182010-11-03 Ulrich Drepper <drepper@gmail.com>
10519
10520 [BZ #12167]
10521 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10522 of inacessible symlinks. Verify result of symlink before returning it.
10523 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10524 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10525
0e012e87
ER
105262010-10-28 Erich Ritz <erichritz@gmail.com>
10527
10528 * math/math.h (isinf): Fix typo in comment.
10529
de0ff7bc
UD
105302010-11-01 Ulrich Drepper <drepper@gmail.com>
10531
10532 * po/da.po: Update from translation team.
10533
fa41c84d
UD
105342010-10-26 Ulrich Drepper <drepper@gmail.com>
10535
10536 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10537 is added to the list.
10538
f0967738
AK
105392010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10540 Ulrich Drepper <drepper@gmail.com>
10541
10542 * elf/dl-object.c (_dl_new_object): Don't append the new object to
10543 the global list here. Move code to...
10544 (_dl_add_to_namespace_list): ...here. New function.
10545 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10546 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10547 * elf/dl-load.c (lose): Don't remove the element from the list.
10548 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10549 (_dl_map_object): Likewise.
10550
105512010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
10552
10553 [BZ #12159]
10554 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10555 into all bytes of SSE register.
10556 Patch by Richard Li <richardpku@gmail.com>.
10557
f0967738 105582010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
10559
10560 [BZ #12140]
10561 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10562 perturbing.
10563
d0b9e94f
MB
105642010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10565
10566 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10567 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10568 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10569 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10571 submachine.
10572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10573
8e9f92e9
AS
105742010-10-22 Andreas Schwab <schwab@redhat.com>
10575
10576 * include/dlfcn.h (__RTLD_SECURE): Define.
10577 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10578 mode & __RTLD_SECURE instead.
10579 (open_path): Rename preloaded parameter to secure.
10580 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10581 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10582 * elf/dl-deps.c (openaux): Likewise.
10583 * elf/rtld.c (struct map_args): Remove is_preloaded.
10584 (map_doit): Don't use it.
10585 (dl_main): Likewise.
10586 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10587 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10588
bc96fbda
AS
105892010-09-09 Andreas Schwab <schwab@redhat.com>
10590
10591 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10592 (sysd-rules-targets): Remove duplicates.
10593 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10594 rtld-%.$o dependency.
10595
22cd1c9b
AS
105962010-10-18 Andreas Schwab <schwab@redhat.com>
10597
10598 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10599 _dl_map_object do it.
10600
18edac48
UD
106012010-10-19 Ulrich Drepper <drepper@gmail.com>
10602
10603 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10604 fast fma builtins, define the macros in the C99 standard.
10605 (FP_FAST_FMAF): Likewise.
10606 (FP_FAST_FMAL): Likewise.
10607 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10608
10609 * bits/mathdef.h: Update copyright year.
10610 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10611
d2050124
MM
106122010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10613
10614 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10615 builtins, define the macros in the C99 standard.
10616 (FP_FAST_FMAF): Likewise.
10617 (FP_FAST_FMAL): Likewise.
10618 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10619 multiply/add.
10620 (FP_FAST_FMAF): Likewise.
10621
475facd1
JJ
106222010-10-15 Jakub Jelinek <jakub@redhat.com>
10623
10624 [BZ #3268]
10625 * math/libm-test.inc (fma_test): Some new testcases.
10626 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10627 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10628 y and infinite z. Do multiplication by C already in long double.
10629 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10630 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10631 y and infinite z. Do bitwise or of inexact bit into u.d.
10632 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10633 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10634 * sysdeps/i386/fpu/s_fma.S: Removed.
10635 * sysdeps/i386/fpu/s_fmal.S: Removed.
10636
7c08a05c
JJ
106372010-10-16 Jakub Jelinek <jakub@redhat.com>
10638
10639 [BZ #3268]
10640 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10641 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10642 computation is not scheduled after fetestexcept. Fix value
10643 of minimum denormal long double.
10644
f3f7372d
JJ
106452010-10-14 Jakub Jelinek <jakub@redhat.com>
10646
10647 [BZ #3268]
10648 * math/libm-test.inc (fma_test): Add some more tests.
10649 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10650 correctly.
10651
14d43591
AS
106522010-10-15 Andreas Schwab <schwab@redhat.com>
10653
10654 * scripts/data/localplt-s390-linux-gnu.data: New file.
10655 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10656
5e908464
JJ
106572010-10-13 Jakub Jelinek <jakub@redhat.com>
10658
10659 [BZ #3268]
10660 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10661 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10662 instead of dbl-64.
10663 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10664 inlines.
10665 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10666 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10667 if one of x and y is very large and the other is subnormal.
10668 * sysdeps/s390/fpu/s_fmaf.c: New file.
10669 * sysdeps/s390/fpu/s_fma.c: New file.
10670 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10671 * sysdeps/powerpc/fpu/s_fma.S: New file.
10672 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10673 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10674 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10675
106762010-10-12 Jakub Jelinek <jakub@redhat.com>
10677
10678 [BZ #3268]
10679 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10680 fma tests.
10681 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10682 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10683 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10684 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10685 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10686 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10687 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10688
b833d51f
UD
106892010-10-12 Ulrich Drepper <drepper@redhat.com>
10690
10691 [BZ #12078]
10692 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10693 * posix/bug-regex31.input: Add test case.
10694
1751705d
UD
106952010-10-11 Ulrich Drepper <drepper@gmail.com>
10696
e9b9cbf5
UD
10697 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10698 * posix/bug-regex31.input: New file.
10699
10700 [BZ #12078]
10701 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10702 (parse_sub_exp): Fix last change, use postorder.
10703
ef06edbe
UD
10704 * posix/bug-regex31.c: New file.
10705 * posix/Makefile: Add rules to build and run bug-regex31.
10706
a129c80d
UD
10707 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10708
10709 [BZ #12078]
10710 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10711
b76b818e
UD
10712 [BZ #12108]
10713 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10714 to have entries in sys_siglist.
10715
1751705d
UD
10716 [BZ #12093]
10717 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10718 be NULL.
10719
9ff8d36f
JJ
107202010-10-07 Jakub Jelinek <jakub@redhat.com>
10721
10722 [BZ #3268]
10723 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10724 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10725 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10726 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10727 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10728 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10729 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10730 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10731 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10732 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10733 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10734 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10735 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10736 * math/ftestexcept.c (fetestexcept): Likewise.
10737 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10738 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10739 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10740 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10741 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10742 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10743 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10744
af325969
UD
107452010-10-11 Ulrich Drepper <drepper@gmail.com>
10746
c579b202 10747 [BZ #12107]
af325969
UD
10748 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10749 newline.
10750
67a67b95
UD
107512010-10-06 Ulrich Drepper <drepper@gmail.com>
10752
10753 * string/bug-strstr1.c: New file.
10754 * string/Makefile: Add rules to build and run bug-strstr1.
10755
5fb308bc
EB
107562010-10-05 Eric Blake <eblake@redhat.com>
10757
10758 [BZ #12092]
10759 * string/str-two-way.h (two_way_long_needle): Always clear memory
10760 when skipping input due to the shift table.
10761
45db99c7
UD
107622010-10-03 Ulrich Drepper <drepper@gmail.com>
10763
3b111893
UD
10764 [BZ #12005]
10765 * malloc/mcheck.c: Handle large requests.
10766
45db99c7
UD
10767 [BZ #12077]
10768 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10769 for strncmp and strncasecmp.
10770 * string/stratcliff.c: Add tests for strcmp and strncmp.
10771 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10772
cf7a1eb8
NI
107732010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10774
10775 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10776 __set_fpscr.
10777
6484ba5e
AJ
107782010-09-30 Andreas Jaeger <aj@suse.de>
10779
10780 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10781 (CGROUP_SUPER_MAGIC): Define.
10782 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10783 Handle btrfs and cgroup file systems.
10784 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10785 Likewise.
10786
91c42559
LM
107872010-09-27 Luis Machado <luisgpm@br.ibm.com>
10788
10789 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10790 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10791
87a97932
AK
107922010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10793
10794 [BZ #12067]
10795 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10796 trying to locate the ELF header.
10797
c21cc9bc
AS
107982010-09-27 Andreas Schwab <schwab@redhat.com>
10799
10800 [BZ #11611]
10801 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10802 Mask out sign-bit copies when constructing f_fsid.
10803
315970f6
PB
108042010-09-24 Petr Baudis <pasky@suse.cz>
10805
10806 * debug/stack_chk_fail_local.c: Add missing licence exception.
10807 * debug/warning-nop.c: Likewise.
10808
1ac7a2c7
JM
108092010-09-15 Joseph Myers <joseph@codesourcery.com>
10810
10811 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10812 implementing getdents64 using getdents syscall, set d_type if
10813 __ASSUME_GETDENTS32_D_TYPE.
10814
56801c50
AS
108152010-09-16 Andreas Schwab <schwab@redhat.com>
10816
10817 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10818 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10819
dda51327
UD
108202010-09-21 Ulrich Drepper <drepper@redhat.com>
10821
10822 [BZ #12037]
10823 * posix/unistd.h: Undo change of feature selection for ftruncate from
10824 2010-01-11.
10825
8ffcee4a
UD
108262010-09-20 Ulrich Drepper <drepper@redhat.com>
10827
a545ecd9 10828 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
10829 detection.
10830
e24f0a8b
AS
108312010-09-20 Andreas Schwab <schwab@redhat.com>
10832
10833 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10834 fanotify_mark.
10835 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10836
7291c56f
AS
108372010-09-14 Andreas Schwab <schwab@redhat.com>
10838
10839 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10840 variables after CHECK_SP call.
10841 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10842
bc5fb037
AS
108432010-09-13 Andreas Schwab <schwab@redhat.com>
10844 Ulrich Drepper <drepper@redhat.com>
10845
10846 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10847 re-relocationg ld.so.
10848 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10849 _dl_init_paths call.
10850 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10851 here anymore.
10852
e66e7419
UD
108532010-09-14 Ulrich Drepper <drepper@redhat.com>
10854
10855 * resolv/res_init.c (__res_vinit): Count the default server we added.
10856
c044aa75
CLT
108572010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10858 Ulrich Drepper <drepper@redhat.com>
10859
10860 [BZ #11968]
10861 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10862 (____longjmp_chk): Use %ebx for saving value across system call.
10863 Add unwind info.
10864
32cf4069
AS
108652010-09-06 Andreas Schwab <schwab@redhat.com>
10866
10867 * manual/Makefile: Don't mix pattern rules with normal rules.
10868
817328ee
AS
108692010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10870
10871 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10872 operation.
10873 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10874 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10875 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10876 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10877 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10878 Likewise.
10879
29fddf61
UD
108802010-09-04 Ulrich Drepper <drepper@redhat.com>
10881
10882 [BZ #11979]
10883 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10884 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10885
0959ffc9
UD
108862010-09-02 Ulrich Drepper <drepper@redhat.com>
10887
10888 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10889 * sysdeps/x86_64/addmul_1.S: Likewise.
10890 * sysdeps/x86_64/lshift.S: Likewise.
10891 * sysdeps/x86_64/mul_1.S: Likewise.
10892 * sysdeps/x86_64/rshift.S: Likewise.
10893 * sysdeps/x86_64/sub_n.S: Likewise.
10894 * sysdeps/x86_64/submul_1.S: Likewise.
10895
ece29840
ST
108962010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10897
0959ffc9
UD
10898 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10899 Define __sched_param instead of SCHED_* and sched_param when
ece29840 10900 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 10901 * bits/sched.h [__need_schedparam]
ece29840 10902 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
10903 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10904 (__defined_schedparam): Define to 1.
ece29840
ST
10905 (__sched_param): New structure, identical to sched_param.
10906 (__need_schedparam): Undefine.
10907
e53a31fe
MF
109082010-08-31 Mike Frysinger <vapier@gentoo.org>
10909
fdc0c10d
MF
10910 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10911 (epoll_create1): Declare.
10912
e53a31fe
MF
10913 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10914
a726d796
AS
109152010-08-31 Andreas Schwab <schwab@redhat.com>
10916
10917 [BZ #7066]
10918 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10919 shifting retval into place.
10920
2f3e3dc7
UD
109212010-09-01 Ulrich Drepper <drepper@redhat.com>
10922
f2933da9
UD
10923 * nis/rpcsvc/nis.h: Update copyright notice.
10924 * nis/rpcsvc/nis.x: Likewise.
10925 * nis/rpcsvc/nis_callback.h: Likewise.
10926 * nis/rpcsvc/nis_callback.x: Likewise.
10927 * nis/rpcsvc/nis_object.x: Likewise.
10928 * nis/rpcsvc/nis_tags.h: Likewise.
10929 * nis/rpcsvc/yp.h: Likewise.
10930 * nis/rpcsvc/yp.x: Likewise.
10931 * nis/rpcsvc/ypupd.h: Likewise.
10932 * nis/yp_xdr.c: Likewise.
10933 * nis/ypupdate_xdr.c: Likewise.
10934
2f3e3dc7
UD
10935 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10936 mainly the body of pmap_getport. Add parameters to specify timeouts.
10937 (pmap_getport): Use __libc_rpc_getport.
10938 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10939 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10940 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10941
f3dcc2f9
AS
109422010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10943
10944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10945 fanotify_mark.
10946
6d34eb5b
RM
109472010-08-27 Roland McGrath <roland@redhat.com>
10948
10949 * sysdeps/i386/i686/multiarch/Makefile
10950 (CFLAGS-varshift.c): New variable.
10951
9ea3de11
UD
109522010-08-27 Ulrich Drepper <drepper@redhat.com>
10953
c96d23fc
UD
10954 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10955 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10956
9ea3de11
UD
10957 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10958
10959 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10960
623aac7f
L
109612010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10962
10963 * sysdeps/x86_64/strlen.S: Unroll the loop.
10964 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10965 strlen-sse2 strlen-sse2-bsf.
10966 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10967 __strlen_no_bsf if bit_Slow_BSF is set.
10968 (__strlen_sse42): Removed.
10969 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10970 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10971
8b2b7715
RM
109722010-08-25 Roland McGrath <roland@redhat.com>
10973
10974 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10975 * sysdeps/x86_64/multiarch/varshift.c: New file.
10976 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10977 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10978 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10979 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10980
e73015f2
L
109812010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10982
10983 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10984 strlen-sse2 strlen-sse2-bsf.
10985 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10986 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10987 (__strlen_sse2): Removed.
10988 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10989 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10990 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10991 bit_Slow_BSF for Atom.
10992 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10993 (index_Slow_BSF): Define.
10994 (HAS_SLOW_BSF): Define.
10995
df24a73e
UD
109962010-08-25 Ulrich Drepper <drepper@redhat.com>
10997
10998 [BZ #10851]
10999 * resolv/res_init.c (__res_vinit): When no server address at all
11000 is given default to loopback.
11001
f2ac4868
RM
110022010-08-24 Roland McGrath <roland@redhat.com>
11003
09055553
RM
11004 * configure.in: Remove config-name.h generation.
11005 * configure: Regenerated.
11006 * config-name.in: File removed.
11007 * scripts/config-uname.sh: New file.
11008 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
11009 ($(objdir)config-name.h): New target.
11010
f2ac4868
RM
11011 * sunrpc/rpc_parse.h: Avoid nested comment.
11012
73f27d5e
RH
110132010-08-24 Richard Henderson <rth@redhat.com>
11014 Ulrich Drepper <drepper@redhat.com>
11015 H.J. Lu <hongjiu.lu@intel.com>
11016
11017 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
11018 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
11019 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
11020 Replace _mm_srli_si128 with __m128i_shift_right. Replace
11021 _mm_alignr_epi8 with _mm_loadu_si128.
11022 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
11023 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
11024 (__m128i_shift_right): Removed.
11025 * sysdeps/i386/i686/multiarch/varshift.h: New file.
11026 * sysdeps/i386/i686/multiarch/varshift.S: New file.
11027 * sysdeps/x86_64/multiarch/varshift.h: New file.
11028 * sysdeps/x86_64/multiarch/varshift.S: New file.
11029
84b9230c
MF
110302010-08-21 Mike Frysinger <vapier@gentoo.org>
11031
11032 * configure.in: Move assembler checks to before sysdep dir checking.
11033
9bbd0ddc
PB
110342010-08-20 Petr Baudis <pasky@suse.cz>
11035
11036 * LICENSES: Sync the sunrpc license.
11037
9da4bb31
UD
110382010-08-19 Ulrich Drepper <drepper@redhat.com>
11039
a7ab6ec8
UD
11040 * sunrpc/auth_des.c: Update copyright notice once again.
11041 * sunrpc/auth_none.c: Likewise.
11042 * sunrpc/auth_unix.c: Likewise.
11043 * sunrpc/authdes_prot.c: Likewise.
11044 * sunrpc/authuxprot.c: Likewise.
11045 * sunrpc/bindrsvprt.c: Likewise.
11046 * sunrpc/clnt_gen.c: Likewise.
11047 * sunrpc/clnt_perr.c: Likewise.
11048 * sunrpc/clnt_raw.c: Likewise.
11049 * sunrpc/clnt_simp.c: Likewise.
11050 * sunrpc/clnt_tcp.c: Likewise.
11051 * sunrpc/clnt_udp.c: Likewise.
11052 * sunrpc/clnt_unix.c: Likewise.
11053 * sunrpc/des_crypt.c: Likewise.
11054 * sunrpc/des_soft.c: Likewise.
11055 * sunrpc/get_myaddr.c: Likewise.
11056 * sunrpc/getrpcport.c: Likewise.
11057 * sunrpc/key_call.c: Likewise.
11058 * sunrpc/key_prot.c: Likewise.
11059 * sunrpc/openchild.c: Likewise.
11060 * sunrpc/pm_getmaps.c: Likewise.
11061 * sunrpc/pm_getport.c: Likewise.
11062 * sunrpc/pmap_clnt.c: Likewise.
11063 * sunrpc/pmap_prot.c: Likewise.
11064 * sunrpc/pmap_prot2.c: Likewise.
11065 * sunrpc/pmap_rmt.c: Likewise.
11066 * sunrpc/rpc/auth.h: Likewise.
11067 * sunrpc/rpc/auth_unix.h: Likewise.
11068 * sunrpc/rpc/clnt.h: Likewise.
11069 * sunrpc/rpc/des_crypt.h: Likewise.
11070 * sunrpc/rpc/key_prot.h: Likewise.
11071 * sunrpc/rpc/netdb.h: Likewise.
11072 * sunrpc/rpc/pmap_clnt.h: Likewise.
11073 * sunrpc/rpc/pmap_prot.h: Likewise.
11074 * sunrpc/rpc/pmap_rmt.h: Likewise.
11075 * sunrpc/rpc/rpc.h: Likewise.
11076 * sunrpc/rpc/rpc_des.h: Likewise.
11077 * sunrpc/rpc/rpc_msg.h: Likewise.
11078 * sunrpc/rpc/svc.h: Likewise.
11079 * sunrpc/rpc/svc_auth.h: Likewise.
11080 * sunrpc/rpc/types.h: Likewise.
11081 * sunrpc/rpc/xdr.h: Likewise.
11082 * sunrpc/rpc_clntout.c: Likewise.
11083 * sunrpc/rpc_cmsg.c: Likewise.
11084 * sunrpc/rpc_common.c: Likewise.
11085 * sunrpc/rpc_cout.c: Likewise.
11086 * sunrpc/rpc_dtable.c: Likewise.
11087 * sunrpc/rpc_hout.c: Likewise.
11088 * sunrpc/rpc_main.c: Likewise.
11089 * sunrpc/rpc_parse.c: Likewise.
11090 * sunrpc/rpc_parse.h: Likewise.
11091 * sunrpc/rpc_prot.c: Likewise.
11092 * sunrpc/rpc_sample.c: Likewise.
11093 * sunrpc/rpc_scan.c: Likewise.
11094 * sunrpc/rpc_scan.h: Likewise.
11095 * sunrpc/rpc_svcout.c: Likewise.
11096 * sunrpc/rpc_tblout.c: Likewise.
11097 * sunrpc/rpc_util.c: Likewise.
11098 * sunrpc/rpc_util.h: Likewise.
11099 * sunrpc/rpcinfo.c: Likewise.
11100 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
11101 * sunrpc/rpcsvc/key_prot.x: Likewise.
11102 * sunrpc/rpcsvc/klm_prot.x: Likewise.
11103 * sunrpc/rpcsvc/mount.x: Likewise.
11104 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
11105 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
11106 * sunrpc/rpcsvc/rex.x: Likewise.
11107 * sunrpc/rpcsvc/rstat.x: Likewise.
11108 * sunrpc/rpcsvc/rusers.x: Likewise.
11109 * sunrpc/rpcsvc/sm_inter.x: Likewise.
11110 * sunrpc/rpcsvc/spray.x: Likewise.
11111 * sunrpc/rpcsvc/yppasswd.x: Likewise.
11112 * sunrpc/rtime.c: Likewise.
11113 * sunrpc/svc.c: Likewise.
11114 * sunrpc/svc_auth.c: Likewise.
11115 * sunrpc/svc_authux.c: Likewise.
11116 * sunrpc/svc_raw.c: Likewise.
11117 * sunrpc/svc_run.c: Likewise.
11118 * sunrpc/svc_simple.c: Likewise.
11119 * sunrpc/svc_tcp.c: Likewise.
11120 * sunrpc/svc_udp.c: Likewise.
11121 * sunrpc/svc_unix.c: Likewise.
11122 * sunrpc/svcauth_des.c: Likewise.
11123 * sunrpc/xcrypt.c: Likewise.
11124 * sunrpc/xdr.c: Likewise.
11125 * sunrpc/xdr_array.c: Likewise.
11126 * sunrpc/xdr_float.c: Likewise.
11127 * sunrpc/xdr_mem.c: Likewise.
11128 * sunrpc/xdr_rec.c: Likewise.
11129 * sunrpc/xdr_ref.c: Likewise.
11130 * sunrpc/xdr_sizeof.c: Likewise.
11131 * sunrpc/xdr_stdio.c: Likewise.
11132
9da4bb31
UD
11133 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
11134 handling.
11135
bdaa77bc
AS
111362010-08-19 Andreas Schwab <schwab@redhat.com>
11137
11138 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
11139
fe2f79db
LM
111402010-08-19 Luis Machado <luisgpm@br.ibm.com>
11141
11142 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
11143 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
11144 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
11145 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
11146 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
11147 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
11148 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
11149 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
11150 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
11151 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
11152 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
11153 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
11154 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
11155 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
11156
b9b42ee0
AB
111572010-07-26 Anton Blanchard <anton@samba.org>
11158
11159 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
11160 * malloc/arena.c (heap_trim): Likewise.
11161
1c06ba31
UD
111622010-08-16 Ulrich Drepper <drepper@redhat.com>
11163
11164 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
11165 here. Not...
11166 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
11167 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
11168
f8392f40
L
111692010-08-12 H.J. Lu <hongjiu.lu@intel.com>
11170
11171 * sysdeps/i386/elf/Makefile: New file.
11172
3162f12e
AS
111732010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11174
11175 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
11176 from fanotify_init.
11177 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11178 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11179
28c90b2c
UD
111802010-08-15 Ulrich Drepper <drepper@redhat.com>
11181
11182 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
11183 of strncasecmp_l.
1feccb6c 11184 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 11185
ca6bb004
UD
111862010-08-14 Ulrich Drepper <drepper@redhat.com>
11187
e9f82e0d
UD
11188 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11189 strncase_l-nonascii.
11190 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11191 Add strncase_l-ssse3.
11192 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
11193 * sysdeps/x86_64/strcmp.S: Likewise.
11194 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
11195 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11196 * sysdeps/x86_64/strncase.S: New file.
11197 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11198 * sysdeps/x86_64/strncase_l.S: New file.
11199 * string/Makefile (strop-tests): Add strncasecmp.
11200 * string/test-strncasecmp.c: New file.
11201
11202 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11203 warning.
11204
ca6bb004
UD
11205 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11206 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11207
052fa7b3
AS
112082010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11209
11210 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11211
962dba78
UD
112122010-08-12 Ulrich Drepper <drepper@redhat.com>
11213
11214 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11215 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11216 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11217
bebff237
AM
112182010-05-01 Alan Modra <amodra@gmail.com>
11219
11220 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11221 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11222 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11223 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11224 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11225 tidying. Don't tail-call __sigjmp_save for static lib.
11226 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11227 save location.
11228 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11229 (CALL_MCOUNT): Add eh info, and nop after bl.
11230 (TAIL_CALL_SYSCALL_ERROR): New macro.
11231 (PSEUDO_RET): Use it.
11232 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11233 Correct save location of integer regs and cr.
11234 (_dl_profile_resolve): Correct cr save location. Delete nops
11235 after bl when SHARED. Reduce cfi size a little by better
11236 placement of cfi directives.
11237 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11238 make a stack frame. Instead use parm save area as a temp.
11239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11240 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
11241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11242 Don't make a stack frame for parent, use parm save area.
11243 Increase child stack frame to 112 bytes. Don't save unused reg,
11244 and adjust reg usage. Set up cfi on error recovery and
11245 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11247 (__makecontext): Add dummy nop after jump to exit.
11248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11249 Use correct parm save area and cr save, reduce stack frame.
11250 Correct cfi for possible PSEUDO_RET frame setup.
11251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11252 Branch to local label emitted by PSEUDO_RET rather than
11253 __syscall_error.
11254
02637374
AS
112552010-08-12 Andreas Schwab <schwab@redhat.com>
11256
11257 [BZ #11904]
11258 * locale/programs/locale.c (print_assignment): New function.
11259 (show_locale_vars): Use it.
11260
c3e2f19b
UD
112612010-08-11 Ulrich Drepper <drepper@redhat.com>
11262
3cdaa6ad
UD
11263 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11264 field.
11265 (struct statfs64): Likewise.
11266 (_STATFS_F_FLAGS): Define.
11267 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11268 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11269 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11270 (ST_VALID): Define locally.
11271 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11272 __statvfs_getflags, use the provided value.
11273 * sysdeps/unix/sysv/linux/kernel-features.h: Define
11274 __ASSUME_STATFS_F_FLAGS.
11275
754f7da3
UD
11276 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11277
10b3bedc
UD
11278 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11279 Add sys/fanotify.h.
11280 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11281 fanotify_mask for GLIBC_2.13.
11282 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11283 fanotify_init and fanotify_mark.
11284 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11285 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11286
c08fb0d7
UD
11287 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11288 Add prlimit.
11289 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11290 prlimit64 for GLIBC_2.13.
11291 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11292 prlimit64.
11293 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11294 syscall.
11295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11296 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11297 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11298 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11299 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
11300 add prlimit alias.
11301 * sysdeps/unix/sysv/linux/prlimit.c: New file.
11302
15bac72b
UD
11303 [BZ #11903]
11304 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11305 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11306
c3e2f19b
UD
11307 * nss/Makefile: Add rules to build and run tst-nss-test1.
11308 * shlib-versions: Add entry for libnss_test1.
11309 * nss/nss_test1.c: New file.
11310 * nss/tst-nss-test1.c: New file.
11311
11312 * nss/nsswitch.c (__nss_database_custom): Define new variable.
11313 (__nss_configure_lookup): Set appropriate entry in
11314 __nss_configure_lookup to true.
11315 * nss/nsswitch.h: Define enum with indeces of databases in
11316 databases and __nss_database_custom arrays. Declare
11317 __nss_database_custom.
11318 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
11319 to avoid using nscd when custom rules are installed.
11320 * nss/getXXbyYY_r.c: Likewise.
11321 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11322
11323 * nss/nss_files/files-parse.c: Whitespace fixes.
11324
f15ce4d8
UD
113252010-08-09 Ulrich Drepper <drepper@redhat.com>
11326
11327 [BZ #11883]
11328 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
11329 * posix/fnmatch_loop.c: Likewise.
11330
d22e4cc9
AK
113312010-07-17 Andi Kleen <ak@linux.intel.com>
11332
11333 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11334 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11335 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11336 * Versions.def [GLIBC_2.13]: Add.
11337
805bc17d
UD
113382010-08-06 Ulrich Drepper <drepper@redhat.com>
11339
11340 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11341 Also fail if tpwd after pwuid call is NULL.
11342
5a42321d
ST
113432010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11344
11345 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11346 when converting to ms.
11347
fd3ebeda
ST
113482010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11349
11350 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11351 EOPNOTSUPP errors with ENOTTY.
11352 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11353 EOPNOTSUPP errors with ENOTTY.
11354
73507d3a
UD
113552010-07-31 Ulrich Drepper <drepper@redhat.com>
11356
11357 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11358 Add strcasecmp_l-ssse3.
11359 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11360 strcasecmp.
11361 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11362 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11363 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11364
fe36dd02
UD
113652010-07-30 Ulrich Drepper <drepper@redhat.com>
11366
66f6765a
UD
11367 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11368
42e08a54
UD
11369 * string/Makefile (strop-tests): Add strcasecmp.
11370 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11371 strcasecmp_l-nonascii.
11372 (gen-as-const-headers): Add locale-defines.sym.
11373 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11374 * sysdeps/x86_64/strcasecmp.S: New file.
11375 * sysdeps/x86_64/strcasecmp_l.S: New file.
11376 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11377 * sysdeps/x86_64/locale-defines.sym: New file.
11378 * string/test-strcasecmp.c: New file.
11379
fe36dd02
UD
11380 * string/test-strcasestr.c: Test both ends of the range of characters.
11381 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11382
48cbc0d6
RM
113832010-07-29 Roland McGrath <roland@redhat.com>
11384
76e6d6bc 11385 [BZ #11856]
48cbc0d6
RM
11386 * manual/locale.texi (Yes-or-No Questions): Fix example code.
11387
880113d9
UD
113882010-07-27 Ulrich Drepper <drepper@redhat.com>
11389
11390 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11391 for ld.so.
11392
deb9cabb
AS
113932010-07-27 Andreas Schwab <schwab@redhat.com>
11394
11395 * manual/memory.texi (Malloc Tunable Parameters): Document
11396 M_PERTURB.
11397
1c7570ff
RM
113982010-07-26 Roland McGrath <roland@redhat.com>
11399
11400 [BZ #11840]
11401 * configure.in (-fgnu89-inline check): Set and substitute
11402 gnu89_inline, not libc_cv_gnu89_inline.
11403 * configure: Regenerated.
11404 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11405
24fb0f88
UD
114062010-07-26 Ulrich Drepper <drepper@redhat.com>
11407
11408 * string/test-strnlen.c: New file.
11409 * string/Makefile (strop-tests): Add strnlen.
11410 * string/tester.c (test_strnlen): Add a few more test cases.
11411 * string/tst-strlen.c: Better error reporting.
11412
11413 * sysdeps/x86_64/strnlen.S: New file.
11414
8e96b93a
UD
114152010-07-24 Ulrich Drepper <drepper@redhat.com>
11416
11417 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11418 lower-latency instructions.
11419
dbc676d4
UD
114202010-07-23 Ulrich Drepper <drepper@redhat.com>
11421
11422 * string/test-strcasestr.c: New file.
11423 * string/test-strstr.c: New file.
11424 * string/Makefile (strop-tests): Add strstr and strcasestr.
11425 * string/str-two-way.h: Don't undefine MAX.
11426 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11427
f6a31e0e
AS
114282010-07-21 Andreas Schwab <schwab@redhat.com>
11429
11430 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11431 strcasestr-nonascii.
11432 (CFLAGS-strcasestr-nonascii.c): Define.
11433 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11434 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11435 Remove unused attribute.
11436
5dbc3b6c
RM
114372010-07-20 Roland McGrath <roland@redhat.com>
11438
11439 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11440 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
11441 ld.so.cache was broken. With it, there is no way to disable dsocaps
11442 like LD_HWCAP_MASK can disable hwcaps.
11443
23d101d8
EPM
114442010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11445
11446 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11447
cc9f2e47
UD
114482010-07-16 Ulrich Drepper <drepper@redhat.com>
11449
11450 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11451 call in strcasestr.
11452 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11453 __strcasestr_sse42_nonascii.
11454 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11455 strcasestr-nonascii.c.
11456 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11457
77c1b069
LM
114582010-06-15 Luis Machado <luisgpm@br.ibm.com>
11459
11460 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11461 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11462 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11463 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11464
440566c3
UD
114652010-07-09 Ulrich Drepper <drepper@redhat.com>
11466
11467 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11468 fcntl.
11469
5be9d05d
AS
114702010-07-06 Andreas Schwab <schwab@redhat.com>
11471
c30b7ee2 11472 [BZ #11577]
5be9d05d
AS
11473 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11474 dl_signal_cerror.
11475
8a492a67
UD
114762010-07-06 Ulrich Drepper <drepper@redhat.com>
11477
11478 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11479 _PC_PIPE_BUF using F_GETPIPE_SZ.
11480
713df3d5
RM
114812010-07-05 Roland McGrath <roland@redhat.com>
11482
11483 * manual/arith.texi (Rounding Functions): Fix rint description
11484 implicit in round description.
11485
702e8f14
UD
114862010-07-02 Ulrich Drepper <drepper@redhat.com>
11487
11488 * elf/Makefile: Fix linking for a few tests to make recent linker
11489 happy.
11490
52ed8be9
AS
114912010-06-30 Andreas Schwab <schwab@redhat.com>
11492
11493 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11494 $(common-objpfx)libc_nonshared.a.
11495
f47c9a11
LM
114962010-06-21 Luis Machado <luisgpm@br.ibm.com>
11497
11498 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11499 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11500 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11501 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11502 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11503 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11504 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11505 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11520 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11521 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11522 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11523 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11524 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11525 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11526 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11527 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11528 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11529 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11530 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11531 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11546
6fb8cbcb
L
115472010-06-25 H.J. Lu <hongjiu.lu@intel.com>
11548
11549 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11550 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11551 * string/memmove.c (memmove): Renamed to ...
11552 (MEMMOVE): ...this. Default to memmove.
11553 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11554 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11555 (END_CHK): Define.
11556 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11557 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11558 mempcpy-ssse3-back memmove-ssse3-back.
11559 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11560 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11561 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11562 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11563 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11564 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11565 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11566 * sysdeps/x86_64/multiarch/memmove.c: New file.
11567 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11568 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11569 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11570 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11571 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11572 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11573 Define.
11574 (index_Fast_Copy_Backward): Define.
11575 (HAS_ARCH_FEATURE): Define.
11576 (HAS_FAST_REP_STRING): Define.
11577 (HAS_FAST_COPY_BACKWARD): Define.
11578
4e733bac 115792010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
11580
11581 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11582 Restore proper fallback handling.
11583
63c4ed22
UD
115842010-06-19 Ulrich Drepper <drepper@redhat.com>
11585
ac2b484c
UD
11586 [BZ #11701]
11587 * posix/group_member.c (__group_member): Correct checking loop.
11588
63c4ed22
UD
11589 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11590 OOM in getpwuid_r correctly. Return error number when the caller
11591 should return, otherwise -1.
11592 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11593 call returning > 0 value.
11594 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11595
765ade4b
AS
115962010-06-07 Andreas Schwab <schwab@redhat.com>
11597
11598 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11599 libc_nonshared.a from targets in modules-names.
11600
80da2e09
KS
116012010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11602
11603 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11604 requires it.
11605
158db122
LM
116062010-06-10 Luis Machado <luisgpm@br.ibm.com>
11607
11608 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11609 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11610 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11611 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11612
caa78cf8
AS
116132010-06-02 Andreas Schwab <schwab@redhat.com>
11614
11615 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11616
b2ef2c01
UD
116172010-06-14 Ulrich Drepper <drepper@redhat.com>
11618
11619 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11620 and F_GETPIPE_SZ.
11621 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11622 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11623 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11624 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11625 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11626 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11627
fbd643b6
RM
116282010-06-14 Roland McGrath <roland@redhat.com>
11629
11630 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11631
f32f2869
JJ
116322010-06-07 Jakub Jelinek <jakub@redhat.com>
11633
11634 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11635 __REDIRECT followed by __THROW.
11636 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11637 * posix/getopt.h (getopt): Likewise.
11638
2a50c078
EPM
116392010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11640
11641 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11642 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11643 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11644 in AT_FLAGS.
11645 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11646 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11647
eb5ad2eb
LM
116482010-05-28 Luis Machado <luisgpm@br.ibm.com>
11649
11650 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11651
3c88fe1e
L
116522010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11653
11654 [BZ #11640]
11655 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11656 Properly check family and model.
11657
d2f73151
TY
116582010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11659
11660 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11661
ebd2e13d
LM
116622010-05-24 Luis Machado <luisgpm@br.ibm.com>
11663
11664 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11665
b32b8b45
UD
116662010-05-21 Ulrich Drepper <drepper@redhat.com>
11667
11668 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11669 symbol reference.
11670
9acbe24d
AS
116712010-05-19 Andreas Schwab <schwab@redhat.com>
11672
11673 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11674 symbol reference.
11675
f0ccf6ea
AS
116762010-05-21 Andreas Schwab <schwab@redhat.com>
11677
3d04ff3a
AS
11678 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11679 and internal_recvmmsg.
11680 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11681 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11682 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11683 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11684
f0ccf6ea
AS
11685 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11686 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11687 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11688
5b08ac57
AS
116892010-05-20 Andreas Schwab <schwab@redhat.com>
11690
11691 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11692
4828935d
LM
116932010-05-17 Luis Machado <luisgpm@br.ibm.com>
11694
11695 POWER7 optimizations.
11696 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11697 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11698
373d545e
UD
116992010-05-19 Ulrich Drepper <drepper@redhat.com>
11700
11701 * version.h: Update for 2.13 development version.
11702
21a2b1ae
AS
117032010-05-12 Andrew Stubbs <ams@codesourcery.com>
11704
11705 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11706 exceptions. Return 0.
11707
3f7dcb2b
RM
117082010-05-07 Roland McGrath <roland@redhat.com>
11709
11710 * elf/ldconfig.c (main): Add a const.
11711
5f24d53a 117122010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 11713
a160f8d8
UD
11714 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11715 (args_options): Add no-idn option.
11716 (ahosts_keys_int): Add idn_flags to ai_flags.
11717 (parse_option): Handle 'i' option to clear idn_flags.
11718
5f24d53a
UD
11719 * malloc/malloc.c (_int_free): Possible race in the most recently
11720 added check. Only act on the data if no current modification
11721 happened.
265bb1ce
UD
11722
11723See ChangeLog.17 for earlier changes.