]> sourceware.org Git - glibc.git/blame - ChangeLog
Hurd: fix symlink/symlinkat error case not to do an extraneous __mach_port_deallocate.
[glibc.git] / ChangeLog
CommitLineData
87ef29ca
RM
12012-04-24 Roland McGrath <roland@hack.frob.com>
2
3 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4 NODE when __dir_mkfile failed.
5 * sysdeps/mach/hurd/symlinkat.c: Likewise.
6 Reported by Ludovic Courtès <ludo@gnu.org>.
7
e5a6e567
AJ
82012-04-24 Andreas Jaeger <aj@suse.de>
9
10 * Makerules (common-clean): Also remove gen-as-const-headers
11 files.
12
c1820385
JM
132012-04-24 Joseph Myers <joseph@codesourcery.com>
14
15 * Makerules (native-compile): Do not change working directory for
16 build. Use $(OUTPUT_OPTION) in command.
17 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
18
94e02fc4
AZ
192012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20
21 [BZ #13886]
22 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
23 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
24 * math/libm-test.inc (floor_test): Add more tests.
25 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
26
3a533ca3
JM
272012-04-24 Joseph Myers <joseph@codesourcery.com>
28
940ab4b3
JM
29 * sysdeps/unix/getdents.c: Remove file.
30 * sysdeps/unix/sysv/getdents.c: Likewise.
31 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
32
90e037bd
JM
33 * sysdeps/unix/syscalls.list (madvise): Add syscall from
34 sysdeps/unix/mman/syscalls.list.
35 (mmap): Likewise.
36 (mprotect): Likewise.
37 (msync): Likewise.
38 (munmap): Likewise.
39 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
40 * sysdeps/unix/mman/syscalls.list: Remove.
41 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
42
3a533ca3
JM
43 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
44 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
45 * configure: Regenerated.
46 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
47 $(libgcc_s_suffix).
48 * config.make.in (libgcc_s_suffix): Remove variable.
49
1ad743de
JM
502012-04-23 Joseph Myers <joseph@codesourcery.com>
51
4ad451e2
JM
52 * sysdeps/unix/sysv/gethostname.c: Move to ...
53 * sysdeps/posix/gethostname.c: ... here.
54
5e37ce39
JM
55 * sysdeps/unix/execve.S: Remove file.
56
1ad743de
JM
57 * sysdeps/unix/_exit.S: Remove file.
58
4e681b5b
AJ
592012-04-23 Andreas Jaeger <aj@suse.de>
60
61 [BZ #13739]
62 * manual/Makefile: Remove make dist support, there's no
63 need for a stand-alone documentation tar ball.
64 (TEXI2DVI): Define always, it's not in Makeconfig.
65 (dist): Removed.
66 (tar-it): Removed.
67 (edition): Removed.
68 (glibc-doc-$(edition).tar): Removed
69 (%.Z): Removed.
70 (%.gz): Removed.
71 (%.uu): Removed.
72 (ETAGS): Remove, it's in Makeconfig.
73 (move-if-change): Remove, it's in Makeconfig.
74
c0baea34
PE
752013-04-23 Paul Eggert <eggert@cs.ucla.edu>
76
77 [BZ #13970]
78 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
79 (strtod, strtof, strtold, strtol, strtoul, strtoq)
80 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
81 (strtod_l, strtof_l, strtold_l): Remove __wur.
82 It is not necessarily an error to ignore strtol's return value.
83 One can reliably look at the stored endptr to decide whether
84 the number had valid syntax.
85
7c0616fa
AJ
862012-04-21 Andreas Jaeger <aj@suse.de>
87
803cb6b7 88 [BZ #13739]
7c0616fa
AJ
89 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
90
b0fe253f
JM
912012-04-21 Joseph Myers <joseph@codesourcery.com>
92
93 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
94 * sysdeps/unix/sysv/Versions: Remove file.
95
8280f22d
MT
962012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
97
98 [BZ #13927]
99 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
100
75ce411f 1012012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
102
103 [BZ #7064]
104 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
105 version from __vm86.
106
097d59fa
JM
1072012-04-20 Joseph Myers <joseph@codesourcery.com>
108
a90f3bcb
JM
109 * sysdeps/unix/common/lxstat.c: Remove file.
110 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
111
edc7ea78
JM
112 * sysdeps/unix/sysv/Makefile: Remove file.
113
cb78c221
JM
114 * sysdeps/unix/sysv/direct.h: Remove file.
115
efa6a45f
JM
116 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
117 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
118 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
119 * sysdeps/unix/sysv/bits/signum.h: Likewise.
120 * sysdeps/unix/sysv/bits/stat.h: Likewise.
121 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
122 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
123
9c9f2d0c
JM
124 * sysdeps/unix/sysv/setrlimit.c: Remove file.
125
4541c83b
JM
126 * sysdeps/unix/xmknod.c: Remove file.
127 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
128
f5d153a0
JM
129 * sysdeps/unix/sysv/settimeofday.c: Remove file.
130
aa746595
JM
131 * sysdeps/unix/sysv/i386/time.S: Remove file.
132
cce5905e
JM
133 * sysdeps/unix/fxstat.c: Remove file.
134 * sysdeps/unix/xstat.c: Likewise.
135 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
136
37fa3841
JM
137 * sysdeps/unix/sysv/sigaction.c: Remove file.
138
ff1962a3
JM
139 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
140 (sysdep_headers): Remove variable.
141 [termio.h not in sysdep_headers] (generated): Likewise.
142 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
143 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
144 * sysdeps/unix/sysv/tcdrain.c: Likewise.
145 * sysdeps/unix/sysv/tcflow.c: Likewise.
146 * sysdeps/unix/sysv/tcflush.c: Likewise.
147 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
148 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
149 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
150 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
151 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
152
e7740d31
JM
153 * sysdeps/unix/siglist.c: Remove file.
154
ee06f18b
JM
155 * sysdeps/unix/getppid.S: Remove file.
156
097d59fa
JM
157 * sysdeps/unix/mkdir.c: Remove file.
158 * sysdeps/unix/rmdir.c: Likewise.
159
ff3d51ec
AS
1602012-04-19 Andreas Schwab <schwab@linux-m68k.org>
161
162 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
163 ERR_MAX value.
164 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
165 errlist-compat value.
166
50f81fd7
DM
1672012-04-18 David S. Miller <davem@davemloft.net>
168
169 * sysdeps/generic/memcopy.h (reg_char): Delete.
170 * debug/strcat_chk.c: Use char, not reg_char.
171 * debug/strcpy_chk.c: Likewise.
172 * debug/strncat_chk.c: Likewise.
173 * debug/strncpy_chk.c: Likewise.
174 * string/memchr.c: Likewise.
175 * string/memrchr.c: Likewise.
176 * string/rawmemchr.c: Likewise.
177 * string/strcat.c: Likewise.
178 * string/strchr.c: Likewise.
179 * string/strchrnul.c: Likewise.
180 * string/strcmp.c: Likewise.
181 * string/strcpy.c: Likewise.
182 * string/strncat.c: Likewise.
183 * string/strncmp.c: Likewise.
184 * string/strncpy.c: Likewise.
185
8ff41c46
WS
1862012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
187
188 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
189 __builtin_memcopy is called when src and dest ranges are known to not
190 overlap.
191
6b652f46
WS
1922012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
193
194 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
195 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
196 fwd_align_merge macro call.
197 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
198 bwd_align_merge macro call.
199 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
200
b282631e
WS
2012012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
202
203 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
204 bwd_align_merge macros.
205 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
206 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
207 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
208
95aa737c
DM
2092012-04-18 David S. Miller <davem@davemloft.net>
210
211 * sysdeps/sparc/sparc64/memcopy.h: Delete.
212
7a99a614
AJ
2132012-04-18 Andreas Jaeger <aj@suse.de>
214
215 [BZ# 6794]
216 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
217 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
218 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
219
220 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
221 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
222 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
223
224 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
225 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
226 Adjust for changed ldbl-128 files.
227
228 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
229 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
230 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
231
e5270c23
DM
2322012-04-17 David S. Miller <davem@davemloft.net>
233
234 * sysdeps/sparc/sparc32/memcopy.h: Delete.
235
fb5e92c9
AS
2362012-04-17 Andreas Schwab <schwab@linux-m68k.org>
237
238 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
239 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
240 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
241 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
242 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
243 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
244
76da7265
AZ
2452012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
246
247 [BZ #6794]
248 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
249 * math/libm-test.inc: Add ilogb errno and exception tests.
250 * math/w_ilogb.c: New file: ilogb wrapper.
251 * math/w_ilogbf.c: New file: ilogbf wrapper.
252 * math/w_ilogbl.c: New file: ilogbl wrapper.
253 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
254 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
255 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
256 exception being thrown with 0.0 as argument.
257 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
258 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
259 exception being thrown with 0.0 as argument.
260 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
261 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
262 exception being thrown with 0.0 as argument.
263 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
264 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
265 exception being thrown with 0.0 as argument.
266 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
267 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 268 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
269 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
270 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
271 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
272 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
273 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
274 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
275
0396e69d
PB
2762012-04-17 Petr Baudis <pasky@ucw.cz>
277
278 * include/sys/uio.h: Change __vector to __iovec to avoid clash
279 with altivec.
280
750b5926
MP
2812012-04-16 Marek Polacek <polacek@redhat.com>
282
283 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
284
751728a1
MP
2852012-04-16 Marek Polacek <polacek@redhat.com>
286
287 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
288 operands of fdivp instruction.
289
34a27407
L
2902012-04-13 H.J. Lu <hongjiu.lu@intel.com>
291
292 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
293 * elf/tst-auditmod3b.c: Likewise.
294 * elf/tst-auditmod4b.c: Likewise.
295 * elf/tst-auditmod5b.c: Likewise.
296 * elf/tst-auditmod6b.c: Likewise.
297 * elf/tst-auditmod6c.c: Likewise.
298 * elf/tst-auditmod7b.c: Likewise.
299 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
300 * sysdeps/x86_64/preconfigure.in: Likewise.
301 * sysdeps/x86_64/preconfigure: Regenerated.
302
7e73e17d
L
3032012-04-13 H.J. Lu <hongjiu.lu@intel.com>
304
305 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
306 __ILP32__.
307
c7a6ab72
AB
3082012-04-13 Antoine Balestrat <merkil33@gmail.com>
309
310 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
311 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
312
a9e8e0e0
CL
3132012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
314
315 [BZ #13973]
316 * locale/iso-639.def: Fix gl language name. Spotted by
317 Yaron Shahrabani.
318
ec98af7d
RM
3192012-04-12 Roland McGrath <roland@hack.frob.com>
320
321 [BZ #2074]
322 * libio/libio.h (__io_write_fn): Update comment.
323
247c3ede
PB
3242012-04-12 Petr Baudis <pasky@ucw.cz>
325
326 [BZ #2074]
327 * stdio.texi (Hook Functions): The user provided writer function
328 is not allowed to return -1.
329
55939d6d
DM
3302012-04-11 David S. Miller <davem@davemloft.net>
331
332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
333
90020f5a
MF
3342012-04-11 Mike Frysinger <vapier@gentoo.org>
335
336 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
337 Add a leading slash to rtkaio.
338
288f9098
JM
3392012-04-11 Jim Meyering <meyering@redhat.com>
340
90020f5a
MF
341 [BZ #11959]
342 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
343 It is not necessarily an error to ignore fwrite's return
344 value. One can reliably use ferror to test for errors after
345 the fact.
288f9098 346
4be2b570
L
3472012-04-10 H.J. Lu <hongjiu.lu@intel.com>
348
349 * bits/types.h (__snseconds_t): New type.
350 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
351
352 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
353 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
354 (__SNSECONDS_T_TYPE): Likewise.
355 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
356 (__SNSECONDS_T_TYPE): Likewise.
357 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
358 (__SNSECONDS_T_TYPE): Likewise.
359
288f9098 3602012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
361
362 [BZ #2636]
363 * manual/time.texi (Processor Time): Return type of times is
364 elapsed real time since an arbitrary point in the past.
365 (CPU Time): Move CLK_TCK from here...
366 (Processor Time): ...to here. Correct description.
367 * manual/conf.texi (Constants for Sysconf): Correct description of
368 _SC_CLK_TCK.
369
d7dd4413
DM
3702012-04-10 David S. Miller <davem@davemloft.net>
371
372 [BZ #13967]
373 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
374 where the is a gap between DT_REL(A) and DT_JMPREL.
375
b46068fc
L
3762012-04-10 H.J. Lu <hongjiu.lu@intel.com>
377
378 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
379 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
380 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
381
73d65cc3
SP
3822012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
383
384 * elf/dl-support.c (_dl_inhibit_cache): New variable.
385 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
386 (dl_main): Handle --inhibit-cache.
387 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
388 _dl_inhibit_cache.
389 * elf/dl-load.c (_dl_map_object): Use it.
390 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
391
bcc8d661
JM
3922012-04-09 Joseph Myers <joseph@codesourcery.com>
393
8f9a2fae
JM
394 [BZ #13872]
395 * sysdeps/i386/fpu/e_powl.S (p78): New object.
396 (__ieee754_powl): Saturate large exponents rather than testing for
397 overflow of y*log2(x).
398 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
399 * math/libm-test.inc (pow_test): Do not permit spurious overflow
400 exceptions.
401
bcc8d661
JM
402 [BZ #11521]
403 * math/s_ctan.c: Include <float.h>.
404 (__ctan): Avoid internal overflow or cancellation in calculating
405 denominator.
406 * math/s_ctanf.c: Likewise.
407 * math/s_ctanl.c: Likewise.
408 * math/s_ctanh.c: Likewise.
409 * math/s_ctanhf.c: Likewise.
410 * math/s_ctanhl.c: Likewise.
411 * math/libm-test.inc (ctan_test): Add more tests.
412 (ctanh_test): Likewise.
413 * sysdeps/i386/fpu/libm-test-ulps: Update.
414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
415
823fbbb4
AJ
4162012-04-09 Andreas Jaeger <aj@suse.de>
417
03879793
AJ
418 [BZ #6894]
419 * manual/filesys.texi (Directory Entries): Mention that d_namlen
420 is an optional BSD extension.
421
823fbbb4
AJ
422 [BZ #10254]
423 * manual/stdio.texi (Opening Streams): Document additional fopen
424 parameters.
425
8de131cb
RM
4262012-04-09 Roland McGrath <roland@hack.frob.com>
427
428 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
429 %eax without telling the compiler.
430
c0ed9d7d
CD
4312012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
432
433 [BZ # 13963]
434 * manual/install.texi: Use sourceware.org.
435
c483f6b4
JM
4362012-04-09 Joseph Myers <joseph@codesourcery.com>
437
d7dd9453
JM
438 [BZ #13873]
439 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
440 (__ieee754_pow): Generate overflow and underflow using huge*huge
441 and tiny*tiny rather than just returning constant infinity or zero
442 for large exponents.
443 * math/libm-test.inc (pow_test): Require overflow exceptions for
444 applicable cases of large exponents.
445
c483f6b4
JM
446 [BZ #706]
447 * sysdeps/i386/fpu/e_pow.S (p10): New object.
448 (__ieee754_pow): Use iterative multiplication algorithm only for
449 integer exponents with absolute value below 1024. Check for odd
450 integer exponents when using algorithm for real exponents.
451 * math/libm-test.inc (pow_test): Add more tests.
452 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
453
d2de7579
JM
4542012-04-08 Joseph Myers <joseph@codesourcery.com>
455
456 [BZ #13705]
457 * math/libm-test.inc (exp_test): Do not allow overflow exception
458 on underflow test.
459
f77f1232
AJ
4602012-04-08 Aurelien Jarno <aurelien@aurel32.net>
461
462 [BZ #13705]
463 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
464 instead of __kernel_standard_f.
465
3884932b
MF
4662012-04-08 Mike Frysinger <vapier@gentoo.org>
467
468 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
469 * sysdeps/x86_64/memset_chk.S: Likewise.
470
54472e9c
AJ
4712012-04-08 Andreas Jaeger <aj@suse.de>
472
6ab0fbfc
AJ
473 [BZ #10153]
474 * manual/startup.texi (Environment Access): Describe return value
475 for putenv and setenv.
476
61efba8c
AJ
477 [BZ #6895]
478 * manual/filesys.texi (Directory Entries): Add description for
479 DT_LNK.
480
95c3f29a
AJ
481 [BZ #6890]
482 * manual/filesys.texi (Directory Entries): Clarify that it's file
483 system not operating system in the description of DT_UNKNOWN.
484
54472e9c
AJ
485 [BZ #6578]
486 * manual/syslog.texi (closelog): Fix reference, it's openlog.
487
624254b1
SC
4882012-04-08 Stephen Compall <s11@member.fsf.org>
489
490 [BZ #6649]
491 * manual/llio.texi (Opening and Closing Files): Add cross
492 reference to explain mode argument.
493
1e4920e0
MF
4942012-04-07 Mike Frysinger <vapier@gentoo.org>
495
496 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
497 * sysdeps/x86_64/memset_chk.S: Likewise.
498
5ed848f3
DM
4992012-04-07 David S. Miller <davem@davemloft.net>
500
501 * elf/elf.h (R_SPARC_WDISP10): Define.
502 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
503 R_SPARC_SIZE32.
504 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
505 R_SPARC_SIZE64 and R_SPARC_H34.
506
96154cd8
CD
5072012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
508
509 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
510 conditions and remove no longer applicable assertion.
511
9904dc47
L
5122012-04-06 H.J. Lu <hongjiu.lu@intel.com>
513
514 * bits/byteswap.h: Include <features.h>.
515 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
516 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
517
f8887d0a
L
5182012-04-06 H.J. Lu <hongjiu.lu@intel.com>
519
520 * bits/byteswap.h (__bswap_16): Removed.
521 Include <bits/byteswap-16.h> to get __bswap_16.
522 * sysdeps/i386/bits/byteswap.h: Likewise.
523 * sysdeps/s390/bits/byteswap.h: Likewise.
524 * sysdeps/x86_64/bits/byteswap.h: Likewise.
525 * bits/byteswap-16.h: New file.
526 * sysdeps/i386/bits/byteswap-16.h: Likewise.
527 * sysdeps/s390/bits/byteswap-16.h: Likewise.
528 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
529 * string/Makefile (headers): Add bits/byteswap-16.h.
530
62470f60
PP
5312012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
532
533 [BZ #13895]
534 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
535 extra indirection.
536 * nss/Makefile (tests-static, tests): Add tst-nss-static.
537 * nss/tst-nss-static.c: New.
538
4dad7bab
RM
5392012-04-06 Robert Millan <rmh@gnu.org>
540
541 [BZ #6486]
542 * manual/llio.texi (File Position Primitive): lseek
543 refers to WHENCE when it really means OFFSET.
544
e9142a17
AJ
5452012-04-06 Andreas Jaeger <aj@suse.de>
546
2c040eff
AJ
547 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
548 strncmp declarations.
549
e9142a17
AJ
550 * abilist/libc.abilist: Add __poll and __ppoll.
551
ff9f1c5f
DM
5522012-04-05 David S. Miller <davem@davemloft.net>
553
dcd2ae90
DM
554 * scripts/check-local-headers.sh: Accept a host triplet in the
555 path matched by the exclude regexp.
556
993eb054
DM
557 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
558 definition.
559 * sysdeps/powerpc/powerpc32/dl-machine.h
560 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
561 * sysdeps/s390/s390-32/dl-machine.h
562 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
563 * sysdeps/sparc/sparc32/dl-machine.h
564 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
565 * sysdeps/sparc/sparc64/dl-machine.h
566 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
567
ff9f1c5f
DM
568 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
569 lazy binding.
48e2e132 570 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
571 undefined symbol errors.
572
48e2e132 573 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
574 DT_NEEDED entries.
575
e80d6f94
MM
5762012-04-05 Michael Matz <matz@suse.de>
577
578 [BZ #13592]
579 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
580
349fa79f
AJ
5812012-04-05 Andreas Jaeger <aj@suse.de>
582
583 [BZ #13908]
584 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
585 comment.
586
f402708f
KK
5872012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
588
589 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
590 which ROUND is no valid rounding mode.
591
2ecccfc9
KK
5922012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
593
594 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
595 read again.
596 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
597
8a53f50f
KK
5982012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
599
600 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
601 an exception using FPU order intentionally.
602
6032012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
604
605 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
606 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
607 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
608 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
609
d653abb7
SJ
6102012-04-05 Simon Josefsson <simon@josefsson.org>
611
612 [BZ #12340]
613 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
614 EINVAL when BUFLEN is too smal.
615
c3b1bf7d
TS
6162012-04-05 Thomas Schwinge <thomas@codesourcery.com>
617
618 [BZ #13553]
619 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
620 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
621
b1aa60f3
AJ
6222012-04-03 Andreas Jaeger <aj@suse.de>
623
c3b1bf7d 624 [BZ #13938]
67f60a26
AJ
625 * manual/setjmp.texi (System V contexts): Fix sentence.
626
b1aa60f3
AJ
627 [BZ #13926]
628 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
629 New macro for this case.
630 [!__GNUC__] (__bswap_64): New inline function for this case.
631 * sysdeps/x86_64/bits/byteswap.h: Likewise.
632 * bits/byteswap.h: Likewise.
633 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
634 ull, guard with __GLIBC_HAVE_LONG_LONG.
635
636 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
637 __GLIBC_HAVE_LONG_LONG.
638
639 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
640 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
641
39c59c35
TMQMF
6422012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
643
644 [BZ #13691]
645 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
646 inptr and inend, rather than using last_ch.
647
135ffda8
DM
6482012-04-02 David S. Miller <davem@davemloft.net>
649
650 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
651 * stdio-common/printf-parse.h (read_int): Change return type to
652 'int', return -1 on INT_MAX overflow.
653 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
654 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
655 overflows INT_MAX. Check for overflow of in-format-string precision
656 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
657 SIZE_MAX not INT_MAX for integer overflow test.
658 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
659 skip the construct in the format string but do not record anything.
660 * stdio-common/bug22.c: Adjust to test both width/prevision
661 INT_MAX overflow as well as total length INT_MAX overflow. Check
662 explicitly for proper errno values.
663
228c019e
TS
6642012-04-02 Thomas Schwinge <thomas@codesourcery.com>
665
302cadd3
TS
666 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
667 CHAR_MAX.
668 * string/test-strcmp.c [! WIDE]: Likewise.
669 * time/tst-mktime2.c: Likewise for INT_MAX.
670 * string/test-string.h: #include <sys/param.h> for MIN.
671
228c019e
TS
672 * csu/init-first.c (__libc_init_first): Call __ctype_init.
673 * sysdeps/i386/init-first.c (init): Likewise.
674 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
675 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
676 * sysdeps/sh/init-first.c (init): Likewise.
677
cfa633f5
UD
6782012-04-01 Ulrich Drepper <drepper@gmail.com>
679
680 * po/ru.po: Update from translation team.
d1635ef8 681 * po/vi.po: Likewise.
cfa633f5 682
6cd0a5ea
SP
6832012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
684
685 * resolv/nss_dns/dns-host.c: Merge copyright years.
686
4b43400f
LD
6872012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
688
689 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
690 Optimize memcpy with prefetch if
691 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
692 src, dst pointers have unequal 16 byte alignments.
693
48c41d04
SP
6942012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
695
696 [BZ #13928]
697 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
698 from a CNAME entry and return the minimum ttl for the query.
699 (gaih_getanswer_slice): Likewise.
700
b8dc394d
JL
7012012-03-30 Jeff Law <law@redhat.com>
702
703 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
704 due to long keys.
705 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
706 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
707
2f5a5ed0
JL
708 * resolv/nss_dns/dns-host.c: Update copyright year.
709
1d39e359
UD
7102012-03-30 Ulrich Drepper <drepper@gmail.com>
711
c030f70c 712 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 713 requests to save a system call. Fix check that all bytes are sent.
c030f70c 714
1d39e359
UD
715 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
716 comments for sendmmsg.
717
7182012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
719
720 [BZ #13691]
721 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
722 with only 1 character between 0x0041 and 0x01b0.
723 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
724 * wcsmbs/tst-mbsnrtowcs.c: New file.
725
20fde227
DM
7262012-03-29 David S. Miller <davem@davemloft.net>
727
728 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
729 small copies by hand.
730
984a4237
JL
7312012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
732
733 [BZ #13761]
734 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
735 _nss_compat_initgroups_dyn): Fall back to malloc/free
736 for large group memberships.
737
18c9d62b
DM
7382012-03-28 David S. Miller <davem@davemloft.net>
739
88d85d4f
DM
740 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
741 that branches into memcpy.
742 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
743 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
744 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
745 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
746 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
747 bits.
748 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
749 implementation too.
750 * sysdeps/sparc/mempcpy.S: New file.
751
e5aa83e1
DM
752 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
753 the IFUNC routine in the libc case.
754 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
755
88570753
DM
756 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
757 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
758 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
759 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
760 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
761 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
762 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
763 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
764
249d7567
DM
765 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
766 loop to 256 bytes instead of 64 bytes and fix test signedness.
767
18c9d62b
DM
768 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
769 * sysdeps/sparc/sparc32/Makefile: rather than here...
770 * sysdeps/sparc/sparc64/Makefile: and here.
771
05f3d1f6
UD
7722012-03-28 Ulrich Drepper <drepper@gmail.com>
773
774 * malloc/mallocbug.c: Avoid warnings about unused variables.
775
86ae07a8
JL
7762012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
777
778 [BZ #13760]
779 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
780 in the right place. Discard and retry query if response is
781 larger than input buffer size.
782
41bf21a1
JM
7832012-03-28 Joseph Myers <joseph@codesourcery.com>
784
d6270972
JM
785 [BZ #369]
786 [BZ #2678]
787 [BZ #3866]
788 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
789 x for large integer exponent.
790 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
791 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
792 sign of result as needed afterwards.
793 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
794 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
795 result for underflowing pow the same as for overflow.
796 (__kernel_standard_l): Handle powl overflow and underflow here
797 rather than calling __kernel_standard.
798 * math/libm-test.inc (pow_test): Add more tests.
799
414fca03 800 [BZ #3868]
41bf21a1
JM
801 [BZ #13879]
802 [BZ #13910]
803 [BZ #13911]
804 [BZ #13912]
805 [BZ #13913]
806 [BZ #13915]
807 [BZ #13916]
808 [BZ #13917]
809 [BZ #13918]
810 [BZ #13919]
811 [BZ #13920]
812 [BZ #13921]
813 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
814 * sysdeps/ieee754/k_standard.c: Include <float.h>.
815 (__kernel_standard_l): New function.
816 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
817 __kernel_standard.
818 * math/w_acosl.c (__acosl): Likewise.
819 * math/w_asinl.c (__asinl): Likewise.
820 * math/w_atan2l.c (__atan2l): Likewise.
821 * math/w_atanhl.c (__atanhl): Likewise.
822 * math/w_coshl.c (__coshl): Likewise.
823 * math/w_exp10l.c (__exp10l): Likewise.
824 * math/w_exp2l.c (__exp2l): Likewise.
825 * math/w_fmodl.c (__fmodl): Likewise.
826 * math/w_hypotl.c (__hypotl): Likewise.
827 * math/w_j0l.c (__j0l, __y0l): Likewise.
828 * math/w_j1l.c (__j1l, __y1l): Likewise.
829 * math/w_jnl.c (__jnl, __ynl): Likewise.
830 * math/w_lgammal.c (__lgammal): Likewise.
831 * math/w_log10l.c (__log10l): Likewise.
832 * math/w_log2l.c (__log2l): Likewise.
833 * math/w_logl.c (__logl): Likewise.
834 * math/w_powl.c (__powl): Likewise.
835 * math/w_remainderl.c (__remainderl): Likewise.
836 * math/w_scalbl.c (sysv_scalbl): Likewise.
837 * math/w_sinhl.c (__sinhl): Likewise.
838 * math/w_sqrtl.c (__sqrtl): Likewise.
839 * math/w_tgammal.c (__tgammal): Likewise.
840 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
841 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
842 * math/libm-test.inc (acos_test): Add more tests.
843 (acosh_test): Likewise.
844 (asin_test): Likewise.
845 (atanh_test): Likewise.
846 (exp_test): Likewise.
847 (exp10_test): Likewise.
848 (exp2_test): Likewise.
849 (expm1_test): Likewise.
850 (lgamma_test): Likewise.
851 (log_test): Likewise.
852 (log10_test): Likewise.
853 (log1p_test): Likewise.
854 (log2_test): Likewise.
855 (pow_test): Do not allow some spurious overflow exceptions.
856 (sqrt_test): Add more tests.
857 (tgamma_test): Likewise.
858 (y0_test): Likewise.
859 (y1_test): Likewise.
860 (yn_test): Likewise.
861
dd62fda6
AB
8622012-03-27 Anton Blanchard <anton@samba.org>
863
864 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
865 MAP_HUGETLB.
866 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
867 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
868 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
869
1e3cdfda
AJ
8702012-03-27 David S. Miller <davem@davemloft.net>
871
b855ab85
DM
872 * conform/Makefile: Run run-conformtest.sh using $(BASH).
873
1e3cdfda
AJ
874 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
875 have-as-vis3 check.
876
8772012-03-27 Andreas Jaeger <aj@suse.de>
878
879 * sysdeps/x86_64/elf/configure.in: Moved to ...
880 * sysdeps/x86_64/configure.in: ... here.
881 * sysdeps/x86_64/elf/start.S: Moved to ...
882 * sysdeps/x86_64/start.S: ... here.
883 * sysdeps/x86_64/elf/configure: Delete.
884
885 * sysdeps/x86_64/configure.in: Merge contents from
886 sysdeps/i386/configure.in (without i686 check).
887
888 * sysdeps/i386/elf/Versions: Merge into ...
889 * sysdeps/i386/Versions: ... this.
890 * sysdeps/i386/elf/Versions: Delete file.
891 * sysdeps/i386/elf/start.S: Moved to ...
892 * sysdeps/i386/start.S: ...here.
893 * sysdeps/i386/elf/configure.in: Merge into...
894 * sysdeps/i386/configure.in: ...here.
895 * sysdeps/i386/elf/configure.in: Delete file.
896 * sysdeps/i386/elf/configure: Delete file.
897
898 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
899 * debug/backtracesyms.c: ... here.
900 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
901 * debug/backtracesymsfd.c: ... here.
902 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
903 * sysdeps/generic/ifunc-sel.h: ... here.
904
905 * sysdeps/unix/i386/start.c: Delete file.
906 * sysdeps/unix/sparc/start.c: Delete file.
907 * sysdeps/unix/start.c: Delete file.
908
909 * sysdeps/sh/elf/configure.in: Moved to ...
910 * sysdeps/sh/configure.in: ... here.
911 * sysdeps/sh/elf/start.S: Moved to ...
912 * sysdeps/sh/start.S: ... here.
913 * sysdeps/sh/elf/configure: Delete file.
914
915 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
916 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
917 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
918 * sysdeps/powerpc/powerpc64/entry.h: ... here.
919 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
920 * sysdeps/powerpc/powerpc64/start.S: here.
921 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
922 * sysdeps/powerpc/powerpc64/Makefile: ... this.
923 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
924 * sysdeps/powerpc/powerpc64/configure.in: ... this.
925 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
926
927 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
928 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
929 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
930 * sysdeps/powerpc/powerpc32/start.S: ... here.
931 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
932 * sysdeps/powerpc/powerpc32/configure.in: ... this.
933 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
934
935 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
936 * sysdeps/powerpc/ifunc-sel.h: ... here.
937 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
938 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
939
940 * sysdeps/sparc/elf/configure.in: Moved to ...
941 * sysdeps/sparc/configure.in: ... here.
942 * sysdeps/sparc/elf/configure: Delete file.
943 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
944 * sysdeps/sparc/sparc32/start.S: ... here.
945 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
946 * sysdeps/sparc/sparc64/start.S: ... here.
947 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
948 * sysdeps/sparc/sparc32/Makefile: ... this.
949 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
950 * sysdeps/sparc/sparc64/Makefile: ... this.
951
952 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
953 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
954 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
955 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
956 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
957 * sysdeps/s390/s390-32/setjmp.S: ... here.
958 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
959 * sysdeps/s390/s390-32/configure.in: ... here.
960 * sysdeps/s390/s390-32/elf/configure: Delete file.
961 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
962 * sysdeps/s390/s390-32/start.S: ... here.
963
964 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
965 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
966 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
967 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
968 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
969 * sysdeps/s390/s390-64/setjmp.S: ... here.
970 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
971 * sysdeps/s390/s390-64/configure.in: ... here
972 * sysdeps/s390/s390-64/elf/configure: Delete file.
973 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
974 * sysdeps/s390/s390-64/start.S: ... here.
975 * sysdeps/s390/s390-64/elf/configure: Delete.
976
977 * configure.in: Remove support for elf directories in sysdeps.
978
979 * configure: Regenerated.
980 * sysdeps/i386/configure: Regenerated.
981 * sysdeps/powerpc/powerpc32/configure: Regenerated.
982 * sysdeps/powerpc/powerpc64/configure: Regenerated.
983 * sysdeps/s390/s390-32/configure: Regenerated.
984 * sysdeps/s390/s390-64/configure: Regenerated.
985 * sysdeps/sh/configure: Regenerated.
986 * sysdeps/sparc/configure: Regenerated.
987 * sysdeps/x86_64/configure: Regenerated.
988
a3f61311
AS
9892012-03-26 Andreas Schwab <schwab@linux-m68k.org>
990
c876e002
AS
991 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
992
a3f61311
AS
993 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
994 denormal result into account.
995
ac4c54f0
RM
9962012-03-25 Roland McGrath <roland@hack.frob.com>
997
998 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
999 Reported by Allan McRae <allan@archlinux.org>.
1000
6a9b9c02
JL
10012012-03-23 Jeff Law <law@redhat.com>
1002
1003 * nss/getnssent.c (__nss_getent): Fix typo.
1004
4c42a0c1
DM
10052012-03-23 David S. Miller <davem@davemloft.net>
1006
1007 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1008
1532c7ac
L
10092012-03-23 H.J. Lu <hongjiu.lu@intel.com>
1010
1011 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
1012 to pad to uint64_t for each field.
1013 (dl_tls_index): Replace unsigned long with uint64_t.
1014
3ff42526
PP
10152012-03-23 Daniel Jacobowitz <dmj@google.com>
1016 Paul Pluzhnikov <ppluzhnikov@google.com>
1017
1018 [BZ #6528]
1019 * grp/Makefile (otherlibs): Don't set it.
1020 * inet/Makefile (otherlibs): Likewise.
1021 * login/Makefile (otherlibs): Likewise.
1022 * nscd/Makefile (otherlibs): Likewise.
1023 * posix/Makefile (otherlibs): Likewise.
1024 * pwd/Makefile (otherlibs): Likewise.
1025 * rt/Makefile (otherlibs): Likewise.
1026 * sunrpc/Makefile (otherlibs): Likewise.
1027 * nss/Makefile (otherlibs): Likewise.
1028 Add libnss_files to routines and static-only-routines.
1029 ($(objpfx)getent): Remove rule.
1030 * resolv/Makefile: Add libnss_dns and libresolv to routines and
1031 static-only-routines.
1032
7c69cd14
JM
10332012-03-22 Joseph Myers <joseph@codesourcery.com>
1034
1035 [BZ #13892]
1036 * math/s_cexp.c: Include <float.h>.
1037 (__cexp): Handle exp result overflowing not necessarily
1038 overflowing both real and imaginary parts of result.
1039 * math/s_cexpf.c: Likewise.
1040 * math/s_cexpl.c: Likewise.
1041 * math/libm-test.inc (cexp_test): Add more tests.
1042 * sysdeps/i386/fpu/libm-test-ulps: Update.
1043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1044
81b035fe
L
10452012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1046
1047 * include/link.h (ELFW): New macro.
1048 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
1049 Replace ELF64_R_TYPE with ELFW(R_TYPE).
1050
1da7940c
L
10512012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1052
1053 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
1054 with uint64_t.
1055
b749dbb9
L
10562012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1057
1058 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
1059 declaration.
1060 (struct La_x32_retval): Likewise.
1061
2ff87f3f
L
10622012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1063
1064 * sysdeps/x86_64/preconfigure.in: New file.
1065 * sysdeps/x86_64/preconfigure: New generated file.
1066
c0df8e69
JM
10672012-03-22 Joseph Myers <joseph@codesourcery.com>
1068
48e44791
JM
1069 [BZ #13824]
1070 * math/e_exp2l.c: Include <float.h>.
1071 (__ieee754_exp2l): Handle overflow and underflow cases
1072 separately. Only pass fractional part of argument to
1073 __ieee754_expl.
1074 * math/libm-test.inc (exp2_test): Add more tests.
1075
c0df8e69
JM
1076 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
1077 negating x to take absolute value.
1078 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
1079 Likewise.
1080 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1081 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
1082 Likewise.
1083 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
1084 computing low part if x was negated.
1085 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1086
c8e43ba7
L
10872012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1088
1089 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
1090 la_x32_gnu_pltexit.
1091 (pltexit): Cast int_retval to ptrdiff_t.
1092 * elf/tst-auditmod3b.c: Likewise.
1093 * elf/tst-auditmod4b.c: Likewise.
1094 * elf/tst-auditmod5b.c: Likewise.
1095 * elf/tst-auditmod6b.c: Likewise.
1096 * elf/tst-auditmod6c.c: Likewise.
1097 * elf/tst-auditmod7b.c: Likewise.
1098
1099 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
1100 and x32_gnu_pltexit.
1101
1102 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
1103 __ELF_NATIVE_CLASS.
1104 (La_x32_regs): New macro.
1105 (La_x32_retval): Likewise.
1106 (la_x32_gnu_pltenter): New function prototype.
1107 (la_x32_gnu_pltexit): Likewise.
1108
7998fa78
AS
11092012-03-21 Andreas Schwab <schwab@linux-m68k.org>
1110
dcb33988
AS
1111 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
1112 exponent.
1113
233fc563
AS
1114 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1115
7998fa78
AS
1116 * configure.in (libc_cv_cc_nofma): Check for option to disable
1117 generation of FMA instructions.
1118 * configure: Regenerate.
1119 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
1120 * sysdeps/ieee754/dbl-64/Makefile: New file.
1121 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1122 Remove brandred-fma4.
1123 (CFLAGS-brandred-fma4.c): Remove.
1124 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
1125 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
1126 define.
1127 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
1128 define.
1129
8e95c99a
L
11302012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1131
1132 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1133 LLONG_MAX != LONG_MAX.
1134 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1135 (_fitoa_word): Likewise.
1136 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
1137 LLONG_MAX != LONG_MAX.
1138 * stdio-common/_itowa.h: Include <_itoa.h>.
1139 (_itowa_word): Use _ITOA_WORD_TYPE on value.
1140 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
1141 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
1142 only if not defined.
1143 (_ITOA_WORD_TYPE): Likewise.
1144 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1145 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
1146
6f4db457
DM
11472012-03-21 David S. Miller <davem@davemloft.net>
1148
1149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1150
7785fe5a
L
11512012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1152
1153 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
1154 of x86_64 when setting libc_cv_slibdir, libdir and
1155 libc_cv_localedir.
1156 * sysdeps/unix/sysv/linux/configure: Regenerated.
1157
4535cd55
JM
11582012-03-21 Joseph Myers <joseph@codesourcery.com>
1159
1160 * manual/lang.texi (Old Varargs): Remove section.
1161 (How Variadic): Update menu.
1162 (va_start): Do not mention varargs.h.
1163
17228132
TS
11642012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1165 Joseph Myers <joseph@codesourcery.com>
1166
1167 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
1168 link test.
1169 * configure: Regenerated.
1170
8149f976
TS
11712012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1172
05f3d1f6
UD
1173 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
1174 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
1175 conformtest.pl
8149f976 1176
1a4ac776
JM
11772012-03-21 Joseph Myers <joseph@codesourcery.com>
1178
be22ce65
JM
1179 * NOTES: Remove.
1180 * Makefile (files-for-dist): Remove NOTES.
1181 (NOTES): Remove rule.
1182 * README: Don't refer to NOTES.
1183 * manual/creature.texi: Don't include macros.texi.
1184 * manual/intro.texi (creature.texi): Remove comment referring to
1185 NOTES.
1186
40b601fb
JM
1187 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
1188 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
1189 * configure: Regenerated.
1190 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
1191 LIBC_TRY_CC_OPTION.
1192 (libc_cv_as_i686): Likewise.
1193 (libc_cv_cc_avx): Likewise.
1194 (libc_cv_cc_sse2avx): Likewise.
1195 (libc_cv_cc_fma4): Likewise.
1196 (libc_cv_cc_novzeroupper): Likewise.
1197 * sysdeps/i386/configure: Regenerated.
1198
1a4ac776
JM
1199 [BZ #13883]
1200 * sysdeps/i386/fpu/s_cexp.S: Remove.
1201 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1202 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1203 * math/libm-test.inc (cexp_test): Add more tests.
1204 * sysdeps/i386/fpu/libm-test-ulps: Update.
1205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1206
a458e7fe
AM
12072012-03-21 Allan McRae <allan@archlinux.org>
1208
1209 * timezone/Makefile: Do not install iso3166.tab and zone.tab
1210
0cb7efc5
JM
12112012-03-21 Joseph Myers <joseph@codesourcery.com>
1212
1213 [BZ #13871]
1214 * math/w_exp2.c: Do not include <float.h>.
1215 (o_threshold, u_threshold): Remove.
1216 (__exp2): Calculate result before checking finiteness and calling
1217 __kernel_standard.
1218 * math/w_exp2f.c: Likewise.
1219 * math/w_exp2l.c: Likewise.
1220 * math/libm-test.inc (exp2_test): Require overflow exception for
1221 1e6 input.
2460d3aa
JM
1222
1223 [BZ #3866]
1224 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
1225 range of signed 64-bit integers before using fistpll. Remove
1226 checks for whether integers fit in mantissa bits.
1227 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
1228 the range of signed 32-bit integers before using fistpl. Remove
1229 checks for whether integers fit in mantissa bits.
1230 * sysdeps/i386/fpu/e_powl.S (p64): New object.
1231 (__ieee754_powl): Test for y outside the range of signed 64-bit
1232 integers before using fistpll. Reduce 64-bit values to 63-bit
1233 ones as needed.
1234 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
1235 divide-by-zero is raised for zero to large negative powers.
1236 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
1237 (__ieee754_powl): Test for y outside the range of signed 64-bit
1238 integers before using fistpll. Reduce 64-bit values to 63-bit
1239 ones as needed.
1240 * math/libm-test.inc (pow_test): Add more tests.
1241
eb96ffb0
L
12422012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1243
1244 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
1245 <stdio-common/_itoa.h>.
1246 * debug/segfault.c: Likewise.
1247 * elf/dl-cache.c: Likewise.
1248 * elf/dl-minimal.c: Likewise.
1249 * elf/dl-misc.c: Likewise.
1250 * elf/dl-sysdep.c: Likewise.
1251 * elf/dl-version.c: Likewise.
1252 * elf/rtld.c: Likewise.
1253 * hurd/hurdsock.c: Likewise.
1254 * hurd/lookup-retry.c: Likewise.
1255 * malloc/malloc.c: Likewise.
1256 * malloc/mtrace.c: Likewise.
1257 * nscd/nscd_getgr_r.c: Likewise.
1258 * nscd/nscd_getpw_r.c: Likewise.
1259 * nscd/nscd_getserv_r.c: Likewise.
1260 * posix/getopt_init.c: Likewise.
1261 * posix/wordexp.c: Likewise.
1262 * stdio-common/_itoa.c: Likewise.
1263 * stdio-common/printf_fphex.c: Likewise.
1264 * stdio-common/vfprintf.c: Likewise.
1265 * string/_strerror.c: Likewise.
1266 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
1267 * sysdeps/i386/i686/hp-timing.h: Likewise.
1268 * sysdeps/mach/_strerror.c: Likewise.
1269 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
1270 * sysdeps/mach/hurd/sethostid.c: Likewise.
1271 * sysdeps/mach/hurd/xmknodat.c: Likewise.
1272 * sysdeps/mach/xpg-strerror.c: Likewise.
1273 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1274 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1275 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
1276 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
1277 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1278 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
1279 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1280 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1281 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
1282 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
1283 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1284 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1285 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1286 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1287 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1288 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
1289 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1290 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1291 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1292 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1293 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
1294
1295 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
1296
1297 * stdio-common/_itoa.h: Moved to ...
1298 * sysdeps/generic/_itoa.h: Here.
1299
1300 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
1301
1302 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
1303 instead of "_itoa.h" and "_itowa.h".
1304 * stdio-common/vfprintf.: Likewise.
1305
d1af992d
L
13062012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1307
1308 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
1309 <bits/wordsize.h>.
1310 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
1311 (__signbit): Likwise.
1312 (llrintf): Likwise.
1313 (llrint): Likwise.
1314
114883e0
L
13152012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1316
1317 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
1318 __WORDSIZE != 64.
1319
c135cc1b
JM
13202012-03-20 Joseph Myers <joseph@codesourcery.com>
1321
1322 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
1323 OVERFLOW_EXCEPTION_OK.
1324 * math/libm-test.inc ("Philosophy"): Update comment about
1325 exception testing.
1326 (OVERFLOW_EXCEPTION): Define.
1327 (OVERFLOW_EXCEPTION_OK): Likewise.
1328 (INVALID_EXCEPTION_OK): Renumber.
1329 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1330 (IGNORE_ZERO_INF_SIGN): Likewise.
1331 (test_exceptions): Handle FE_OVERFLOW.
1332 (exp10_test): Expect overflow exceptions.
1333 (exp2_test): Likewise.
1334 (expm1_test): Likewise.
1335 (nextafter_test): Likewise.
1336 (pow_test): Likewise.
1337 (scalbn_test): Likewise.
1338 (scalbln_test): Likewise.
1339
95443d88
L
13402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1341
1342 * sysdeps/x86_64/bits/atomic.h
1343 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
1344 64bit integer.
1345 (atomic_exchange_acq): Likewise.
1346 (__arch_exchange_and_add_body): Likewise.
1347 (__arch_add_body): Likewise.
1348 (atomic_add_negative): Likewise.
1349 (atomic_add_zero): Likewise.
1350
490df6c4
L
13512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1352
c2722551 1353 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
1354 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
1355
5e52b189
L
13562012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1357
1358 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
1359 Check __x86_64__ instead of __WORDSIZE.
1360
a9879d4c
L
13612012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1362
1363 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
1364
5df98260
DM
13652012-03-19 David S. Miller <davem@davemloft.net>
1366
e1497744
DM
1367 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1368
5df98260
DM
1369 * sysdeps/sparc/fpu/fenv_private.h: New file.
1370 * sysdeps/sparc/fpu/math_private.h: Use it.
1371 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1372 Remove.
1373 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1374 (libc_feholdexcept_setroundl): Remove.
1375 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1376 Remove.
1377 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1378 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1379
b4c35121
L
13802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1381
1382 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1383 int64_t instead of long int.
1384 (INSERT_WORDS64): Likwise.
1385
56965fd7
L
13862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1387
1388 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1389 _Unwind_GetCFA return to _Unwind_Ptr first.
1390
83d1aec8
JM
13912012-03-19 Joseph Myers <joseph@codesourcery.com>
1392
1897ad44
JM
1393 [BZ #13629]
1394 * math/s_clog.c: Include <float.h>.
1395 (__clog): Scale large or subnormal inputs.
1396 * math/s_clogf.c: Likewise.
1397 * math/s_clogl.c: Likewise.
1398 * math/s_clog10.c: Include <float.h>.
1399 (M_LOG10_2): Define.
1400 (__clog10): Scale large or subnormal inputs.
1401 * math/s_clog10f.c: Likewise.
1402 * math/s_clog10l.c: Likewise.
1403 * math/libm-test.inc (clog_test): Add more tests.
1404 (clog10_test): Likewise.
1405 * sysdeps/i386/fpu/libm-test-ulps: Update.
1406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1407
7726d6a9
JM
1408 [BZ #11451]
1409 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1410 x and y.
1411 * math/libm-test.inc (atan2_test): Add another test.
1412
83d1aec8
JM
1413 * Makerules (common-objdir-compile): Remove.
1414 * sysdeps/unix/Makefile (config-generated): Do not add
1415 $(unix-generated) to variable.
1416 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1417 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1418 Remove rule.
1419 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1420 Likewise.
1421 [generic bits/local_lim.h] (before-compile): Do not append to
1422 variable.
1423 [generic bits/local_lim.h] (common-generated): Likewise.
1424 [generic sys/param.h] (before-compile): Do not append to variable.
1425 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1426 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1427 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1428 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1429 include.
1430 [generic sys/param.h] (sys/param.h-includes): Remove variable.
1431 [generic sys/param.h] (sys/param.h-includes): Remove rule.
1432 [generic sys/param.h] ($(addprefix
1433 $(common-objpfx),$(sys/param.h-includes))): Likewise.
1434 [generic sys/param.h] (common-generated): Do not append to
1435 variable.
1436 [generic sys/param.h] (sysdep_headers): Likewise.
1437 [generic bits/errno.h] (before-compile): Do not append to
1438 variable.
1439 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
1440 rule.
1441 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
1442 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
1443 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
1444 [generic bits/errno.h] (common-generated): Do not append to
1445 variable.
1446 [generic bits/ioctls.h] (before-compile): Do not append to
1447 variable.
1448 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
1449 rule.
1450 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
1451 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
1452 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
1453 rule.
1454 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
1455 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
1456 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
1457 [generic bits/ioctls.h] (common-generated): Do not append to
1458 variable.
1459 [generic sys/syscall.h] (syscall.h): Remove variable.
1460 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
1461 rule.
1462 [generic sys/syscall.h] (before-compile): Do not append to
1463 variable.
1464 [generic sys/syscall.h] (common-generated): Likewise.
1465 * sysdeps/unix/errnos-tmpl.c: Remove file.
1466 * sysdeps/unix/errnos.awk: Likewise.
1467 * sysdeps/unix/ioctls-tmpl.c: Likewise.
1468 * sysdeps/unix/ioctls.awk: Likewise.
1469 * sysdeps/unix/mk-local_lim.c: Likewise.
1470 * sysdeps/unix/snarf-ioctls: Likewise.
1471
4851a949
RH
14722012-03-19 Richard Henderson <rth@twiddle.net>
1473
bd37f2ee
RH
1474 * sysdeps/i386/fpu/fenv_private.h: New file.
1475 * sysdeps/i386/fpu/math_private.h: Use it.
1476 (math_opt_barrier, math_force_eval): Remove.
1477 (libc_feholdexcept_setround_53bit): Remove.
1478 (libc_feupdateenv_53bit): Remove.
1479 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1480 (math_opt_barrier, math_force_eval): Remove.
1481 (libc_feholdexcept): Remove.
1482 (libc_feholdexcept_setround): Remove.
1483 (libc_fetestexcept, libc_fesetenv): Remove.
1484 (libc_feupdateenv_test): Remove.
1485 (libc_feupdateenv, libc_feholdsetround): Remove.
1486 (libc_feresetround): Remove.
1487
d0adc922
RH
1488 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1489 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1490
0fe0f1f8
RH
1491 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1492 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1493 (libc_feupdateenv_testl): New.
1494 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1495 (libc_feupdateenv_testf): New.
1496 (libc_feupdateenv): Use libc_feupdateenv_test.
1497 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1498 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1499
eb92c487
RH
1500 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1501 (libc_feholdsetroundf, libc_feholdsetroundl): New.
1502 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1503 (libc_feresetround_noex): New.
1504 (libc_feresetround_noexf): New.
1505 (libc_feresetround_noexl): New.
1506 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1507 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1508 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1509 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1510 SET_RESTORE_ROUND.
1511 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1512 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1513 (__cos): Likewise.
1514 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1515 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1516 SET_RESTORE_ROUND_NOEX.
1517 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1518 SET_RESTORE_ROUND_NOEXF.
1519 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1520 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1521 (libc_feholdsetroundf): New.
1522 (libc_feresetround, libc_feresetroundf): New.
1523
7d2e8012
RH
1524 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1525 (libc_feholdexcept_setround_53bit): Convert from macro to function.
1526 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
1527
b4dabbb4
RH
1528 * sysdeps/generic/math_private.h: Include <fenv.h>.
1529 (default_libc_feholdexcept): New.
1530 (default_libc_feholdexcept_setround): New.
1531 (default_libc_fesetenv, default_libc_feupdateenv): New.
1532 (libc_feholdexcept): Only define if undefined.
1533 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1534 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1535 (libc_feholdexcept_setroundl): Likewise.
1536 (libc_feholdexcept_setround_53bit): Likewise.
1537 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1538 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1539 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1540 (libc_feupdateenv_53bit): Likewise.
1541 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1542 (libc_feholdexcept): Convert from macro to inline function.
1543 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1544 (libc_fesetenv, libc_feupdateenv): Likewise.
1545
4851a949
RH
1546 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1547 not previously defined.
1548 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1549 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1550 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1551 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1552 * sysdeps/ieee754/flt-32/math_private.h: New file.
1553 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1554 math_private.h below SET_FLOAT_WORD.
1555 (__isnan, __isinf_ns, __finite): Remove.
1556 (__isnanf, __isinf_nsf, __finitef): Remove.
1557
e79d442e
AS
15582012-03-18 Andreas Schwab <schwab@linux-m68k.org>
1559
1560 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1561
90b80344
DM
15622012-03-17 David S. Miller <davem@davemloft.net>
1563
1564 [BZ #6471]
1565 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1566 for 2.16.
1567
edc21804
DM
15682012-03-16 David S. Miller <davem@davemloft.net>
1569
77e927af
DM
1570 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1571 warnings.
1572
374976dd
DM
1573 [BZ #6471]
1574 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1575 properly.
1576 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1577 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1578 sysdep_routines when subdir is sysvipc.
1579 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1580 __getshmlba helper.
1581
edc21804
DM
1582 * sysdeps/sparc/fpu/libm-test/ulps: Update.
1583
473c3ef3
L
15842012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1585
1586 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1587 [__LP64__].
1588
eb0f39b6
L
15892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1590
1591 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1592 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1593 (__lround): Renamed to ...
1594 (__llround): This. Replace long int with long long int.
1595 Define lround functions as aliases of llround functions.
1596 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1597
6b6cd74b
L
15982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1599
1600 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1601 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
1602 adresses to uintptr_t. Replace "long int" and "unsigned long
1603 int" with "greg_t" on va_arg.
1604
f1a77b01
L
16052012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1606
1607 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1608 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1609
1610 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1611 Move e_machine check before EI_CLASS check. Handle x32
1612 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1613 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1614 SKIP_EM_IA_64 and include
1615 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1616
1617 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1618 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1619 (add_system_dir): New macro.
1620
1621 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1622 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1623
11b90b9f
JM
16242012-03-16 Joseph Myers <joseph@codesourcery.com>
1625
c36e1d23
JM
1626 [BZ #2551]
1627 [BZ #2552]
1628 [BZ #2553]
1629 [BZ #2554]
1630 [BZ #2562]
1631 [BZ #2563]
1632 [BZ #2565]
1633 [BZ #2566]
1634 [BZ #2576]
1635 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1636 (y0): Likewise.
1637 * math/w_j0f.c (j0f): Likewise.
1638 (y0f): Likewise.
1639 * math/w_j0l.c (__j0l): Likewise.
1640 (__y0l): Likewise.
1641 * math/w_j1.c (j1): Likewise.
1642 (y1): Likewise.
1643 * math/w_j1f.c (j1f): Likewise.
1644 (y1f): Likewise.
1645 * math/w_j1l.c (__j1l): Likewise.
1646 (__y1l): Likewise.
1647 * math/w_jn.c (jn): Likewise.
1648 (yn): Likewise.
1649 * math/w_jnf.c (jnf): Likewise.
1650 (ynf): Likewise.
1651 * math/w_jnl.c (__jnl): Likewise.
1652 (__ynl): Likewise.
1653 * math/libm-test.inc (j0_test): Add more tests.
1654 (j1_test): Likewise.
1655 (jn_test): Likewise. Add trailing semicolon to existing test.
1656 (y0_test): Likewise.
1657 (y1_test): Likewise.
1658 * sysdeps/i386/fpu/libm-test-ulps: Update.
1659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1660
11b90b9f
JM
1661 [BZ #13851]
1662 [BZ #13854]
1663 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1664 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1665 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1666 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1667 (__tanl): Set errno for infinite argument.
1668 * sysdeps/i386/fpu/mptan.c: Remove.
1669 * sysdeps/i386/fpu/s_tan.S: Likewise.
1670 * sysdeps/i386/fpu/s_tanl.S: Likewise.
1671 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1672 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1673 * math/libm-test.inc (tan_test): Add more tests and enable more
1674 tests for double and long double.
1675 * sysdeps/i386/fpu/libm-test-ulps: Update.
1676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1677
6a1bd2a1
JK
16782012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1679
1680 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1681 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1682
10a803e0
RM
16832012-03-16 Roland McGrath <roland@hack.frob.com>
1684
1685 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1686 * configure.in: Use it for both main tree and add-ons.
1687 * configure: Regenerated.
1688
f196c7f7
L
16892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1690
1691 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1692
8848d99d
JM
16932012-03-16 Joseph Myers <joseph@codesourcery.com>
1694
96cbe7f4
JM
1695 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1696 in comment.
1697
8848d99d
JM
1698 [BZ #13851]
1699 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1700 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1701 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1702 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1703 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1704 infinite argument.
1705 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1706 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1707 != 0 for prec == 2.
1708 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1709 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1710 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1711 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1712 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1713 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1714 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1715 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1716 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1717 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1718 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1719 * math/libm-test.inc (cos_test): Add more tests and enable more
1720 tests for long double.
1721 (sin_test): Likewise.
1722 (sincos_test): Likewise.
1723 * sysdeps/i386/fpu/libm-test-ulps: Update.
1724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1725
dd7f4703
DM
17262012-03-16 David S. Miller <davem@davemloft.net>
1727
1728 * sysdeps/sparc/fpu/math_private.h: New file.
1729
006f1daa
DM
17302012-03-15 David S. Miller <davem@davemloft.net>
1731
c0c83bc8
DM
1732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1733 file.
e6a62e18 1734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
1735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1736 file.
e6a62e18
DM
1737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1738 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1739 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1740 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1741 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1742 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1743 sysdep routines.
1744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1745
88cb87d9
DM
1746 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1747 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1748
006f1daa 1749 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
1750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1751 sparc-ifunc.h
006f1daa 1752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
1753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1754 Likewise.
1755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1756 Likewise.
006f1daa
DM
1757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
1760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1761 Likewise.
006f1daa
DM
1762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
1766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1767 Likewise.
1768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1769 Likewise.
006f1daa
DM
1770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1774 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1775 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1776 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1777 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1778 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1779 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1780 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1781 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1782 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1783 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1784 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1785 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1786 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1787 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1788 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1789 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1790 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1791 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1792 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1793 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1794
11e0098e
AS
17952012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1796
1797 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1798 scaling.
1799 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1800
e85b09d0
AJ
18012012-03-15 Andreas Jaeger <aj@suse.de>
1802
1803 [BZ #13852]
1804 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1805 ieee754/flt-32 implementation for sin, cos and sincos.
1806 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1807 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1808 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1809 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1810 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1811 ieee754/flt-32 implementation for tan.
1812
1813 * math/libm-test.inc (cos_test): Enable some large input tests for
1814 float as well
1815 (sin_test): Likewise.
1816 (sincos_test): Likewise.
1817 (tan_test): Add tests for large input.
1818
1819 * sysdeps/i386/fpu/libm-test-ulps: Update.
1820
81c64153
AJ
18212012-03-15 Andreas Jaeger <aj@suse.de>
1822
1823 [BZ #13658]
1824 * math/libm-test.inc (cos_test): Add more test cases.
1825 (sin_test): Likewise.
1826 (sincos_test): Likewise.
1827
7bbfa5c6
AJ
18282012-03-15 Andreas Jaeger <aj@suse.de>
1829
1830 [BZ #13837]
1831 * math/libm-test.inc (cos_test): Add a test case for large input
1832 value.
1833 (sin_test): Likewise.
1834 (sincos_test): Likewise.
1835
18362012-03-15 Andreas Jaeger <aj@suse.de>,
1837 Joseph Myers <joseph@codesourcery.com>
1838
1839 [BZ #13658]
0671f479 1840 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
1841 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1842 * sysdeps/i386/fpu/branred.c: Likewise.
1843 * sysdeps/i386/fpu/dosincos.c: Likewise.
1844 * sysdeps/i386/fpu/mpa.c: Likewise.
1845 * sysdeps/i386/fpu/s_cos.S: Likewise.
1846 * sysdeps/i386/fpu/s_sin.S: Likewise.
1847 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1848 * sysdeps/i386/fpu/sincos32.c: Likewise.
1849
1850 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1851 Define.
1852 (libc_feupdateenv_53bit): Define.
1853 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1854 Define.
1855 (libc_feupdateenv_53bit): Define.
1856
1857 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1858 53 bit (without extend i386 double precision).
1859
1860 * math/libm-test.inc (sincos_test): Add tests for large input.
1861 (sin): Likewise.
1862 (cos): Likewise.
1863
1864 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1865
9cad04ea
AS
18662012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1867
1868 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1869
f7062b9a
DM
18702012-03-15 David S. Miller <davem@davemloft.net>
1871
1872 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1873 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1874 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1875 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1880 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1881 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1882 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1883 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1884 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1885 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1886 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
1887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1888 file.
f7062b9a 1889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
1890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1891 file.
f7062b9a 1892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
1893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1894 file.
f7062b9a 1895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
1896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1897 file.
f7062b9a
DM
1898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1899 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1900 fmin/fmax sysdep routines.
1901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1902
7bd951ff
DM
19032012-03-14 David S. Miller <davem@davemloft.net>
1904
559398ab
DM
1905 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1906 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1907 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1908 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1909 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1910 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1911 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1912 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1913 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1914 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1915 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1916 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1917 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1918 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1919 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1920 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1921 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1922 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1923 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1924 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1925 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1926 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1927 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1928 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1929 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1930 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1931 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1932 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1933 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1934 routines.
1935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1936 file.
559398ab 1937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
1938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1939 file.
559398ab 1940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
1941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1942 file.
559398ab 1943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
1944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1945 file.
559398ab 1946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
1947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1948 file.
559398ab 1949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
1950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1951 file.
1952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1953 file.
1954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1955 file.
1956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1957 file.
1958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1959 New file.
1960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1961 file.
1962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1963 file.
559398ab 1964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
1965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1966 file.
559398ab 1967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1969 file.
559398ab 1970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
1971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1972 file.
559398ab 1973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
1974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1975 VIS3 routines.
559398ab
DM
1976
1977 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1978 New file.
1979
5a1c1e32
DM
1980 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1981
eae47a36
DM
1982 * sysdeps/sparc/configure.in: New file.
1983 * sysdeps/sparc/configure: Generate.
1984 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1985 * configure: Regenerate.
1986 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1987 * config.make.in (have-as-vis3): New.
1988 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1989 available use -Av9d instead of -Av9a.
1990 * sysdeps/sparc/sparc64/Makefile: Likewise.
1991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
1992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1993 New file.
1994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1995 file.
1996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1997 New file.
1998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1999 file.
eae47a36
DM
2000 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
2001 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
2002 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
2003 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
2004 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
2005
c0c83bc8
DM
2006 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
2007 fzeros/fnegs to load 0x80000000 into a float register instead of
2008 using the stack.
7bd951ff
DM
2009 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
2010
bd951ccb
JM
20112012-03-14 Joseph Myers <joseph@codesourcery.com>
2012
2013 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2014 bits/syscall.h.
2015 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
2016 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
2017 ($(inst_includedir)/bits/syscall.h): Remove rule.
2018 ($(objpfx)bits/syscall.d): Include instead of
2019 $(objpfx)syscall-list.d.
2020 (generated): Change syscall-list.h and syscall-list.d to
2021 bits/syscall.h and bits/syscall.d.
2022
bb4e6db2
RM
20232012-03-14 Roland McGrath <roland@hack.frob.com>
2024
2025 [BZ #13846]
2026 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
2027
aa4a2ae1
JM
20282012-03-14 Joseph Myers <joseph@codesourcery.com>
2029
e456826d
JM
2030 [BZ #13841]
2031 * math/s_csqrt.c: Include <float.h>.
2032 (__csqrt): Scale large or subnormal inputs.
2033 * math/s_csqrtf.c: Likewise.
2034 * math/s_csqrtl.c: Likewise.
2035 * math/libm-test.inc (csqrt_test): Add more tests.
2036 * sysdeps/i386/fpu/libm-test-ulps: Update.
2037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2038
aa4a2ae1
JM
2039 [BZ #13840]
2040 * math/libm-test.inc (hypot_test): Add more tests.
2041
7c10fd35
DM
20422012-03-13 David S. Miller <davem@davemloft.net>
2043
2044 [BZ #13840]
2045 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
2046 double-precision for the calculation instead of scaling.
2047
f453b98b
JM
20482012-03-13 Joseph Myers <joseph@codesourcery.com>
2049
2050 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
2051 manipulate bits before adding and subtracting TWO52[sx].
2052 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
2053 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2054 Likewise.
2055 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
2056
09a3453f
DM
20572012-03-13 David S. Miller <davem@davemloft.net>
2058
8e59da90
DM
2059 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
2060 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
2061 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
2062 rtld-global-offsets.h
2063 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2064
2a8ab7f2
DM
2065 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
2066 large parameters.
2067
10f62770
DM
2068 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
2069
5f0bdb18
DM
2070 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
2071 'err' in the ifdef scope in which it is actually used.
2072
09a3453f
DM
2073 * nss/nss_db/db-init.c: Include string.h
2074
b4b2eb5e
DM
20752012-03-12 David S. Miller <davem@davemloft.net>
2076
98bb2f1c
DM
2077 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
2078 masking out of the most significant byte of random value used.
2079 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2080 Fix coding style in previous change.
2081
b4b2eb5e
DM
2082 * sysdeps/unix/sysv/linux/kernel-features.h
2083 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
2084 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
2085 expression.
2086 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
2087 later.
2088
6e226b09
DM
20892012-03-11 David S. Miller <davem@davemloft.net>
2090
a1bcbd40
DM
2091 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2092 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
2093 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
2094 for 'resultvar' otherwise things get truncated on 64-bit.
2095
cb9d6174
DM
2096 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2097 Fix masking out of the most significant byte of random value used.
2098
6e226b09
DM
2099 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2100
058c132d
AS
21012012-03-10 Andreas Schwab <schwab@linux-m68k.org>
2102
2103 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2104
2d2cd515
DM
21052012-03-09 David S. Miller <davem@davemloft.net>
2106
2107 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
2108 variables with appropriate CPP guards.
2109 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
2110 frame pointer, not the stack pointer. Correct layout comments. Fix test
2111 on resulting framesize and the management of the outregs buffer for pltexit.
2112 Preserve floating point return values across _dl_call_pltexit call.
2113 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
2114 framesize and the management of the outregs buffer for pltexit.
2115 Preserve floating point return values across _dl_call_pltexit
2116 call.
2117 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
2118 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
2119 (print_exit): Fix format string for return register value.
2120
9a07f9d0
JM
21212012-03-10 Joseph Myers <joseph@codesourcery.com>
2122
2123 * sunrpc/Makefile (others): Add rpcgen.
2124 ($(objpfx)rpcgen): Remove special build rule and dependency on
2125 libc.
2126 * sunrpc/rpcgen.c: New file.
2127
547b5e30
PE
21282012-03-09 Paul Eggert <eggert@cs.ucla.edu>
2129
c524201a
PE
2130 [BZ #13673]
2131 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
2132 * stdio-common/bug-vfprintf-nargs.c: Likewise.
2133 * sysdeps/i386/crti.S: Likewise.
2134 * sysdeps/i386/crtn.S: Likewise.
2135 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
2136 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
2137 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
2138 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
2139 * sysdeps/sh/crti.S: Likewise.
2140 * sysdeps/sh/crtn.S: Likewise.
2141 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2142
7b6235f2
PE
2143 [BZ #13673]
2144 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
2145 with URL.
2146 * locale/programs/locfile-kw.gperf: Likewise.
2147 * locale/programs/charmap-kw.h: Regenerated.
2148 * locale/programs/locfile-kw.h: Likewise.
2149
547b5e30
PE
2150 [BZ #13673]
2151 * intl/plural.y: Replace FSF snail mail address with URL.
2152 * intl/plural.c: Regenerated.
2153
5f0a5dae
RH
21542012-03-09 Richard Henderson <rth@twiddle.net>
2155
2156 * include/math_private.h: Remove file.
2157 * math/math_private.h: Move file ...
2158 * sysdeps/generic/math_private.h: ... here.
2159
b8c03620
RH
2160 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
2161 * sysdeps/powerpc/fpu/math_private.h: Likewise.
2162 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2163
4e234f5d 2164 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
2165 and <math_private.h>.
2166 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2167 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2168 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2169 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2170 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2171 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2172 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2173 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2174 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2175 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2176 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2177 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2178 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2179 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2180 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2181 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2182 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2183 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2184 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2185 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2186 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2187 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2188 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2189 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2190 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2191 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2192 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2193 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2194 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2195 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2196 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2197 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2198 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2199 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2200 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2201 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2202 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2203 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2204 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2205 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2206 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
2207 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2208 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2209 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2210 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2211 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2212 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
2213 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2214 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2215 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2216 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2217 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
2218 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2219 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2220 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2221 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2222 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2223 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2224 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2225 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
2226 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2227 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2228 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2229 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2230 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
2231 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2232 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2233 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2234 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
2235 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
2236 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2237 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2238 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2239 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2240 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
2241 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2242 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
2243 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2244 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
2245 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
2246 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2247 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
2248 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2249 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
2250 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2251 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2252 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
2253 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2254 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
2255 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2256 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2257 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
2258 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2259 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
2260 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
2261 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
2262 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2263 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2264 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2265 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
2266 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
2267 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
2268 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
2269 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
2270 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2271 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
2272 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2273 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
2274 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2275 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2276 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2277 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2278 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2279 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2280 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
2281 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2282 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2283 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2284 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2285 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2286 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2287 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2288 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2289 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
2290 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2291 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2292 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2293 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
2294 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2295 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
2296 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
2297 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2298 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2299 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
2300 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
2301 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2302 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2303 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2304 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
2305 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2306 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2307 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2308 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2309 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
2310 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
2311 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2312 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2313 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2314 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2315 * sysdeps/ieee754/k_standard.c: Likewise.
2316 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2317 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2318 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2319 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2320 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2321 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2322 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2323 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2324 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2325 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2326 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2327 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2328 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2329 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2330 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2331 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2332 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2333 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2334 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2335 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2336 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2337 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2338 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2339 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2340 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2341 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2342 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2343 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2344 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2345 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2346 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2347 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2348 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2349 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2350 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2351 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2352 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2353 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
2354 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2355 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2356 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2357 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2358 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2359 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2360 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2361 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2362 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2363 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2364 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2365 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2366 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2367 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2368 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2369 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2370 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2371 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2372 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2373 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2374 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2375 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2376 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2377 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2378 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2379 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2380 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2381 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2382 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2383 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2384 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2385 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2386 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2387 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2388 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2389 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2390 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2391 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2392 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2393 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2394 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2395 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2396 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2397 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2398 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2399 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2400 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2401 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2402 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2403 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2404 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2405 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2406 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2407 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2408 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2409 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2410 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2411 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2412 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2413 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2414 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2415 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2416 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2417 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2418 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2419 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2420 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2421 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2422 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2423 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2424 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2425 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2426 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2427 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2428 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2429 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2430 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2431 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2432 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2433 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2434 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2435 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2436 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2437 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2438 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2439 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2440 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2441 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2442 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2443 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2444 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2445 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2446 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2447 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2448 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2449 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2450 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2451 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2452 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
2453 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2454 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2455 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
2456 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
2457 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2458 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
2459 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
2460 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2461 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2462 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2463 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2464 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2465 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
2466 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2467 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2468 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2469 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2470 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
2471 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
2472 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2473 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2474 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2475 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2476 * sysdeps/ieee754/s_lib_version.c: Likewise.
2477 * sysdeps/ieee754/s_matherr.c: Likewise.
2478 * sysdeps/ieee754/s_signgam.c: Likewise.
2479 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2480 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2481 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2482 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2483 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2484 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2485 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2486 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2487 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2488 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2489 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2490 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2491 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2492 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2493 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2494 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2495 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2496 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2497 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2498 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2499 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 2500
1991fa03
JM
25012012-03-09 Joseph Myers <joseph@codesourcery.com>
2502
2503 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2504 * sunrpc/rpc_main.c: Likewise.
2505 * sunrpc/rpc_svcout.c: Likewise.
2506
60d6f5a6
DM
25072012-03-09 David S. Miller <davem@davemloft.net>
2508
2509 * include/math_private.h: New file.
2510
4962050e
JM
25112012-03-09 Joseph Myers <joseph@codesourcery.com>
2512
02a6f887
JM
2513 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2514 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2515 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2516 from <bits/socket_type.h>.
2517 (enum __socket_type): Don't define here.
2518 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2519 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2520 bits/socket_type.h.
2521
c6e013c1
JM
2522 [BZ #13566]
2523 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2524 checking __USE_GNU.
2525
4962050e
JM
2526 * Makerules ($(inst_includedir)/%.h): New rule.
2527 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2528 (install-others): Remove variable setting.
2529 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2530
38842f45
RH
25312012-03-08 Richard Henderson <rth@twiddle.net>
2532
67bb6da6
RH
2533 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2534 from macro to inline function; merge with the
2535 !__LIBC_INTERNAL_MATH_INLINES version.
2536 (__ieee754_sqrtf): Likewise.
2537
15194b4b
RH
2538 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2539 to inline function.
2540 (__rintf, __floor, __floorf): Likewise.
2541
64e21ede
RH
2542 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2543 macro to inline function.
2544 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2545
38842f45
RH
2546 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2547 not <math/math_private.h>.
2548
c64bf5fe
DM
25492012-03-08 David S. Miller <davem@davemloft.net>
2550
2551 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2552 copyright year.
2553 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2554
82d86f28
TS
25552012-03-08 Thomas Schwinge <thomas@codesourcery.com>
2556
2557 * resolv/gai_misc.c (handle_requests): Fix struct timespec
2558 normalization.
2559 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2560 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2561
aea5d727
UD
25622012-03-08 Ulrich Drepper <drepper@gmail.com>
2563
2564 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
2565 be defined individually, they must be defined as a block. Define
2566 S for printing a string instead of hidint the different by using a
2567 macro for adding the 'l'.
2568 * stdio-common/tst-fphex-wide.c: Adjust.
2569
70bca0a3
MP
25702012-03-07 Marek Polacek <polacek@redhat.com>
2571
2572 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2573
65b81130
MP
25742012-03-08 Marek Polacek <polacek@redhat.com>
2575
2576 [BZ #13806]
2577 * stdio-common/Makefile (tests): Add tst-fphex-wide.
2578 * stdio-common/tst-fphex.c: Define a few macros to make the
2579 test reusable. Use them.
2580 * stdio-common/tst-fphex-wide.c: New file.
2581
07037eeb
JM
25822012-03-08 Joseph Myers <joseph@codesourcery.com>
2583
a7a93d50
JM
2584 [BZ #6911]
2585 * manual/macros.texi (gnusystems): New macro.
2586 (nongnusystems): Likewise.
2587 (gnulinuxhurdsystems): Likewise.
2588 (gnuhurdsystems): Likewise..
2589 (gnulinuxsystems): Likewise.
2590 * manual/charset.texi: Use new macros or @theglibc{} to refer to
2591 variants of the GNU system, not "GNU system".
2592 * manual/conf.texi: Likewise.
2593 * manual/errno.texi: Likewise. Update example of errno macro
2594 expansion.
2595 * manual/filesys.texi: Likewise.
2596 (getumask): Document as specific to GNU/Hurd.
2597 * manual/install.texi: Likewise. Reword some references to
2598 GNU/Linux.
2599 * manual/intro.texi: Likewise.
2600 * manual/io.texi: Likewise.
2601 (File Name Portability): Detail which constraints are inapplicable
2602 to all GNU systems and which are only inapplicable to GNU/Hurd.
2603 * manual/job.texi: Likewise.
2604 * manual/llio.texi: Likewise.
2605 (O_NOCTTY): Document as present on GNU/Linux.
2606 * manual/maint.texi: Likewise.
2607 * manual/memory.texi: Likewise.
2608 * manual/pattern.texi: Likewise.
2609 * manual/pipe.texi: Likewise.
2610 * manual/process.texi: Likewise.
2611 * manual/resource.texi: Likewise.
2612 (RUSAGE_CHILDREN): Remove statement about specifying a particular
2613 child on GNU/Hurd.
2614 * manual/setjmp.texi: Likewise.
2615 * manual/signal.texi: Likewise.
2616 * manual/startup.texi: Likewise.
2617 * manual/stdio.texi: Likewise.
2618 * manual/terminal.texi: Likewise.
2619 (ONLCR): Document as POSIX.
2620 (OXTABS): Document availability on GNU/Linux as XTABS.
2621 (ONOEOT): Document availability separately from other bits.
2622 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2623 * manual/time.texi: Likewise.
2624 * manual/users.texi: Likewise.
2625 * INSTALL: Regenerated.
2626 * sysdeps/gnu/errlist.c: Regenerated.
2627
07037eeb
JM
2628 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2629 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2630 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
2631 puts.
2632 * configure: Regenerated.
2633
d1d3431a
JM
26342012-03-07 Joseph Myers <joseph@codesourcery.com>
2635
af6a1e37
JM
2636 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2637 default includes instead of AC_HEADER_CHECK.
2638 * sysdeps/i386/configure: Regenerated.
2639
d1d3431a
JM
2640 [BZ #10716]
2641 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2642 * math/s_cacoshf.c (__cacoshf): Likewise.
2643 * math/s_cacoshl.c (__cacoshl): Likewise.
2644 * math/s_casinh.c (__casinh): Set signs of result from argument.
2645 * math/s_casinhf.c (__casinhf): Likewise.
2646 * math/s_casinhl.c (__casinhl): Likewise.
2647 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2648 (casinh_test): Add more tests.
2649 * sysdeps/i386/fpu/libm-test-ulps: Update.
2650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2651
482ff4da
UD
26522012-03-07 Ulrich Drepper <drepper@gmail.com>
2653
872fda05
UD
2654 * po/zh_TW.po: Update from translation team.
2655
a4300c7a
UD
2656 * login/Makefile (distribute): Remove variable.
2657 * catgets/Makefile: Likewise.
2658 * mach/Makefile: Likewise.
2659 * malloc/Makefile: Likewise.
2660 * misc/Makefile: Likewise.
2661 * iconv/Makefile: Likewise.
2662 * nscd/Makefile: Likewise.
2663 * hurd/Makefile: Likewise.
2664 * manual/Makefile: Likewise.
2665 * locale/Makefile: Likewise.
2666 * intl/Makefile: Likewise.
2667 * conform/Makefile: Likewise.
2668 * nss/Makefile: Likewise.
2669 * time/Makefile: Likewise.
2670 * soft-fp/Makefile: Likewise.
2671 * dirent/Makefile: Likewise.
2672 * gmon/Makefile: Likewise.
2673 * po/Makefile: Likewise.
2674 * rt/Makefile: Likewise.
2675 * socket/Makefile: Likewise.
2676 * math/Makefile: Likewise.
2677 * signal/Makefile: Likewise.
2678 * debug/Makefile: Likewise.
2679 * elf/Makefile: Likewise.
2680 * timezone/Makefile: Likewise.
2681 * stdlib/Makefile: Likewise.
2682 * iconvdata/Makefile: Likewise.
2683 * sunrpc/Makefile: Likewise.
2684 * io/Makefile: Likewise.
2685 * argp/Makefile: Likewise.
2686 * inet/Makefile: Likewise.
2687 * hesiod/Makefile: Likewise.
2688 * grp/Makefile: Likewise.
2689 * csu/Makefile: Likewise.
2690 * wctype/Makefile: Likewise.
2691 * crypt/Makefile: Likewise.
2692 * libio/Makefile: Likewise.
2693 * string/Makefile: Likewise.
2694 * nis/Makefile: Likewise.
2695 * resolv/Makefile: Likewise.
2696 * stdio-common/Makefile: Likewise.
2697 * wcsmbs/Makefile: Likewise.
2698 * dlfcn/Makefile: Likewise.
2699 * posix/Makefile: Likewise.
2700
482ff4da
UD
2701 * timezone/Makefile: Don't install timezone files, just the programs
2702 and scripts.
2703
f72ed77d
UD
27042012-03-06 Ulrich Drepper <drepper@gmail.com>
2705
a000466f
UD
2706 * nss/databases.def: Add missing gshadow entry.
2707
f72ed77d
UD
2708 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2709
a53b7a4e
MP
27102012-03-06 Marek Polacek <polacek@redhat.com>
2711
2712 [BZ #13726]
2713 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2714 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2715 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2716 * stdio-common/tst-long-dbl-fphex.c: New file.
2717
e9258400
DM
27182012-03-06 David S. Miller <davem@davemloft.net>
2719
2720 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2721 (set_obp_int): New function.
2722 (get_obp_int): New function.
2723 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
2724 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2725 Avoid unused variable warnings on 'val' and use builtin_expect.
2726 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2727 __builtin_expect.
e9258400
DM
2728 (INLINE_CLONE_SYSCALL): Likewise.
2729
3bd2c723
DM
27302012-03-05 David S. Miller <davem@davemloft.net>
2731
2732 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2733
bbb78d03
AS
27342012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2735
884c5db4
AS
2736 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2737
bbb78d03
AS
2738 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2739 only for |x| >= 40.
2740 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2741
1c9f702a 27422012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
2743
2744 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2745 Replace gettimeofday with __vdso_gettimeofday.
2746
7be16f82
RM
2747 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2748 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2749 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
2750
2751 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2752 time with __vdso_time.
2753
ed58a00f
JM
27542012-03-05 Joseph Myers <joseph@codesourcery.com>
2755
2756 * manual/lang.texi (size_t): Note types to which size_t may be
2757 equivalent with the GNU C Library, but do not describe when
2758 differences between them are significant.
2759
30ee4ced
AJ
27602012-03-05 Andreas Jaeger <aj@suse.de>
2761
2762 * sysdeps/i386/fpu/libm-test-ulps: Update.
2763
b7cd39e8
JM
27642012-03-05 Joseph Myers <joseph@codesourcery.com>
2765
2766 [BZ #3976]
2767 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2768 (__ieee754_pow): Save and restore rounding mode and use
2769 round-to-nearest for main computations.
2770 * math/libm-test.inc (pow_test_tonearest): New function.
2771 (pow_test_towardzero): Likewise.
2772 (pow_test_downward): Likewise.
2773 (pow_test_upward): Likewise.
2774 (main): Call the new functions.
2775 * sysdeps/i386/fpu/libm-test-ulps: Update.
2776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
2777
2778 [BZ #3976]
2779 * math/libm-test.inc (cosh_test_tonearest): New function.
2780 (cosh_test_towardzero): Likewise.
2781 (cosh_test_downward): Likewise.
2782 (cosh_test_upward): Likewise.
2783 (sinh_test_tonearest): Likewise.
2784 (sinh_test_towardzero): Likewise.
2785 (sinh_test_downward): Likewise.
2786 (sinh_test_upward): Likewise.
2787 (main): Call the new functions.
2788 * sysdeps/i386/fpu/libm-test-ulps: Update.
2789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2790
6c6a98c9
TV
27912012-03-05 Tom de Vries <tom@codesourcery.com>
2792
2793 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2794 default stack guard is set in last bytes.
2795 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2796
21bb2d2e 27972012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 2798
21bb2d2e 2799 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 2800
21bb2d2e
AJ
2801 [BZ #13656]
2802 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2803 possibly allocate from heap instead of stack.
2804 * stdio-common/bug-vfprintf-nargs.c: New file.
2805 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 2806
c6922934
AS
28072012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2808
2809 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2810
bc957d53
MP
28112012-03-03 Marek Polacek <polacek@redhat.com>
2812
2813 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2814 * math/math_private.h: Likewise.
2815 * stdlib/tst-strtod.c: Likewise.
2816 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2817 * sysdeps/x86_64/bits/atomic.h: Likewise.
2818
6358490d
DM
28192012-03-02 David S. Miller <davem@davemloft.net>
2820
2821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2825 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2826 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2827 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2828 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2829
01ae168d
RM
28302012-03-02 Roland McGrath <roland@hack.frob.com>
2831
d9a17c07
RM
2832 [BZ #13792]
2833 * manual/examples/README: New file, says the example source files
2834 can be used under GPL>=2.
2835 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2836 line containing just "*/".
2837 * manual/examples/add.c: Add copyright header (GPL>=2).
2838 * manual/examples/argp-ex1.c: Likewise.
2839 * manual/examples/argp-ex2.c: Likewise.
2840 * manual/examples/argp-ex3.c: Likewise.
2841 * manual/examples/argp-ex4.c: Likewise.
2842 * manual/examples/atexit.c: Likewise.
2843 * manual/examples/db.c: Likewise.
2844 * manual/examples/dir.c: Likewise.
2845 * manual/examples/dir2.c: Likewise.
2846 * manual/examples/execinfo.c: Likewise.
2847 * manual/examples/filecli.c: Likewise.
2848 * manual/examples/filesrv.c: Likewise.
2849 * manual/examples/fmtmsgexpl.c: Likewise.
2850 * manual/examples/genpass.c: Likewise.
2851 * manual/examples/inetcli.c: Likewise.
2852 * manual/examples/inetsrv.c: Likewise.
2853 * manual/examples/isockad.c: Likewise.
2854 * manual/examples/longopt.c: Likewise.
2855 * manual/examples/memopen.c: Likewise.
2856 * manual/examples/memstrm.c: Likewise.
2857 * manual/examples/mkfsock.c: Likewise.
2858 * manual/examples/mkisock.c: Likewise.
2859 * manual/examples/mygetpass.c: Likewise.
2860 * manual/examples/pipe.c: Likewise.
2861 * manual/examples/popen.c: Likewise.
2862 * manual/examples/rprintf.c: Likewise.
2863 * manual/examples/search.c: Likewise.
2864 * manual/examples/select.c: Likewise.
2865 * manual/examples/setjmp.c: Likewise.
2866 * manual/examples/sigh1.c: Likewise.
2867 * manual/examples/sigusr.c: Likewise.
2868 * manual/examples/stpcpy.c: Likewise.
2869 * manual/examples/strdupa.c: Likewise.
2870 * manual/examples/strftim.c: Likewise.
2871 * manual/examples/strncat.c: Likewise.
2872 * manual/examples/subopt.c: Likewise.
2873 * manual/examples/swapcontext.c: Likewise.
2874 * manual/examples/termios.c: Likewise.
2875 * manual/examples/testopt.c: Likewise.
2876 * manual/examples/testpass.c: Likewise.
2877 * manual/examples/timeval_subtract.c: Likewise.
2878
01ae168d
RM
2879 [BZ #13792]
2880 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2881 function to ...
2882 * manual/timeval_subtract.c.texi: ... here, new file.
2883
49efa33d
DM
28842012-03-02 David S. Miller <davem@davemloft.net>
2885
2886 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2887
28afd92d
JM
28882012-03-02 Joseph Myers <joseph@codesourcery.com>
2889
804360ed
JM
2890 [BZ #3976]
2891 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2892 (__sin): Save and restore rounding mode and use round-to-nearest
2893 for all computations.
2894 (__cos): Save and restore rounding mode and use round-to-nearest
2895 for all computations.
2896 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2897 <fenv.h>.
2898 (tan): Save and restore rounding mode and use round-to-nearest for
2899 all computations.
2900 * math/libm-test.inc (cos_test_tonearest): New function.
2901 (cos_test_towardzero): Likewise.
2902 (cos_test_downward): Likewise.
2903 (cos_test_upward): Likewise.
2904 (sin_test_tonearest): Likewise.
2905 (sin_test_towardzero): Likewise.
2906 (sin_test_downward): Likewise.
2907 (sin_test_upward): Likewise.
2908 (tan_test_tonearest): Likewise.
2909 (tan_test_towardzero): Likewise.
2910 (tan_test_downward): Likewise.
2911 (tan_test_upward): Likewise.
2912 (main): Call the new functions.
2913 * sysdeps/i386/fpu/libm-test-ulps: Update.
2914 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2915
a6d06d7b
JM
2916 [BZ #10135]
2917 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2918 small n, then large n, before computing and testing k+n.
2919 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2920 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2921 Likewise.
2922 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2923 Likewise.
2924 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2925 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2926 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2927 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2928 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2929 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2930 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2931 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2932 * math/libm-test.inc (scalbn_test): Add more tests.
2933 (scalbln_test): Likewise.
2934
07e12bb3
JM
2935 * manual/filesys.texi (mode_t): Describe constraints on size and
2936 signedness, not exact equivalence to a particular type.
2937 (ino_t): Likewise.
2938 (ino64_t): Likewise.
2939 (dev_t): Likewise.
2940 (nlink_t): Likewise.
2941 (blkcnt_t): Likewise.
2942 (blkcnt64_t): Likewise.
2943 * manual/llio.texi (off_t): Likewise.
2944
28afd92d
JM
2945 [BZ #3976]
2946 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2947 (__ieee754_exp): Save and restore rounding mode and use
2948 round-to-nearest for all computations.
2949 * math/libm-test.inc (exp_test_tonearest): New function.
2950 (exp_test_towardzero): Likewise.
2951 (exp_test_downward): Likewise.
2952 (exp_test_upward): Likewise.
2953 (main): Call the new functions.
2954 * sysdeps/i386/fpu/libm-test-ulps: Update.
2955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2956
b1eeb65d
CD
29572012-03-01 Chris Demetriou <cgd@google.com>
2958
2959 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2960 have predictable order.
2961
53362a4b
DM
29622012-03-01 David S. Miller <davem@davemloft.net>
2963
3c969083
DM
2964 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2965
759707de
DM
2966 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2967 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2968 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2969 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2970
dfdb8ff2
DM
2971 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2972 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2973 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2975 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2976 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2977 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2978 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2979 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2980
ead89f96
DM
2981 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2982
7f66bd07
DM
2983 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2984 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2985 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2986
53362a4b
DM
2987 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2988 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2989 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2990 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2991 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2992 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2993 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2994 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2995 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2996 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2997 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2998 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2999 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3000 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3001 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3002 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3003 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
3004 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
3005 * sysdeps/sparc/elf/configure: Regenerated.
3006
7b1902cb
JM
30072012-03-01 Joseph Myers <joseph@codesourcery.com>
3008
bec039bc
JM
3009 * configure.in (AS, LD): Require binutils 2.20 or later.
3010 * configure: Regenerated.
3011 * manual/install.texi (Tools for Compilation): Give binutils 2.20
3012 as required minimum version.
3013 * INSTALL: Regenerated.
3014
7b1902cb
JM
3015 [BZ #2541]
3016 [BZ #4108]
3017 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
3018 before squaring exponent.
3019 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
3020 bottom long double and 27 bits of top long double before squaring
3021 exponent.
3022 * math/libm-test.inc (erfc_test): Add more tests.
3023 * sysdeps/i386/fpu/libm-test-ulps: Update.
3024 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3026
f775c276
KT
30272012-03-01 Kai Tietz <ktietz@redhat.com>
3028
3029 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
3030 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
3031 containing bit-fields.
3032 * soft-fp/extended.h (_FP_UNION_E): Likewise.
3033 * soft-fp/single.h (_FP_UNION_S): Likewise.
3034 * soft-fp/double.h (_FP_UNION_D): Likewise.
3035
5b8a4d4a
JM
30362012-02-29 Joseph Myers <joseph@codesourcery.com>
3037
0bab47b6
JM
3038 [BZ #13786]
3039 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
3040 not include ../strcmp.S.
3041 [USE_AS_STRNCASECMP_L]: Likewise.
3042 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
3043 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
3044 * sysdeps/i386/i686/multiarch/strncase_l-c.c
3045 (__strncasecmp_l_ia32): Define as alias to
3046 __strncasecmp_l_nonascii.
3047
0fcad3e2
JM
3048 [BZ #5794]
3049 * math/libm-test.inc (expm1_test): Add test for bug 5794.
3050 * sysdeps/i386/fpu/libm-test-ulps: Update.
3051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3052
5b8a4d4a
JM
3053 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
3054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3055
8fdceb2e
JL
30562012-02-29 Jeff Law <law@redhat.com>
3057
3058 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
3059 out of bounds read.
3060
1f393a11
MP
30612012-02-29 Marek Polacek <polacek@redhat.com>
3062
3063 [BZ #13706]
3064 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
3065 * elf/Makefile: Add rules to run tst-unused-dep.out.
3066
8847f037
DM
30672012-02-28 David S. Miller <davem@davemloft.net>
3068
3069 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
3070 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
3071 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
3072 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
3073 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
3074 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
3075
169d7f11
JM
30762012-02-29 Joseph Myers <joseph@codesourcery.com>
3077
3078 * math/libm-test.inc (llround_test): Move one test from
3079 lround_test. Use TEST_f_L in moved test.
3080 (lround_test): Move misplaced test to llround_test. Add testcase
3081 from bug 2561.
3082
39adf059
UD
30832012-02-28 Ulrich Drepper <drepper@gmail.com>
3084
3085 * sysdeps/x86_64/fpu/e_expf.S: New file.
3086 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
3087
71b5d1c5
SB
30882012-02-28 Stanislav Brabec <sbrabec@suse.cz>
3089
3090 [BZ #13637]
3091 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
3092 of remain_len that may cause incomplete multi-byte character and
3093 false match.
3094 * posix/bug-regex33.c: New file.
3095 * posix/Makefile (tests): Add bug-regex33.
3096
1f77f049
JM
30972012-02-28 Joseph Myers <joseph@codesourcery.com>
3098
3099 * manual/macros.texi: New file.
3100 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
3101 * manual/libc.texinfo: Include macros.texi.
3102 * manual/creatute.texi: Likewise.
3103 * manual/install.texi: Likewise.
3104 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
3105 @glibcadj{} in references to the GNU C Library.
3106 * manual/charset.texi: Likewise.
3107 * manual/conf.texi: Likewise.
3108 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
3109 when not using those macros.
3110 * manual/creature.texi: Likewise.
3111 * manual/crypt.texi: Likewise.
3112 * manual/errno.texi: Likewise.
3113 * manual/filesys.texi: Likewise.
3114 * manual/header.texi: Likewise.
3115 * manual/install.texi: Likewise.
3116 * manual/intro.texi: Likewise.
3117 * manual/io.texi: Likewise.
3118 * manual/job.texi: Likewise.
3119 * manual/lang.texi: Likewise.
3120 * manual/libc.texiinfo: Likewise.
3121 * manual/llio.texi: Likewise.
3122 * manual/locale.texi: Likewise.
3123 * manual/maint.texi: Likewise.
3124 * manual/math.texi: Likewise.
3125 * manual/memory.texi: Likewise.
3126 * manual/message.texi: Likewise.
3127 * manual/nss.texi: Likewise.
3128 * manual/pattern.texi: Likewise.
3129 * manual/process.texi: Likewise.
3130 * manual/resource.texi: Likewise.
3131 * manual/search.texi: Likewise.
3132 * manual/setjmp.texi: Likewise.
3133 * manual/signal.texi: Likewise.
3134 * manual/socket.texi: Likewise.
3135 * manual/startup.texi: Likewise.
3136 * manual/stdio.texi: Likewise.
3137 * manual/string.texi: Likewise.
3138 * manual/sysinfo.texi: Likewise.
3139 * manual/syslog.texi: Likewise.
3140 * manual/terminal.texi: Likewise.
3141 * manual/time.texi: Likewise.
3142 * manual/users.texi: Likewise.
3143 * INSTALL: Regenerated.
3144 * NOTES: Regenerated.
d40c5d54 3145 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 3146
450bf206
AS
31472012-02-28 Andreas Schwab <schwab@linux-m68k.org>
3148
3149 * include/dirent.h: Include <dirstream.h> before
3150 <dirent/dirent.h>.
3151
741a235b
DM
31522012-02-28 David S. Miller <davem@davemloft.net>
3153
3154 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
3155 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
3156 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
3157 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
3158
d6b5aa58
DM
31592012-02-27 David S. Miller <davem@davemloft.net>
3160
1aff59a3
DM
3161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
3162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
3163 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
3164 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
3165
d6b5aa58
DM
3166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
3167 frame pointer instead of stack pointer relative arg slot.
3168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3169 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3170 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3171
433f48bf
CD
31722012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
3173
3174 [BZ #3992]
3175 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
3176
d674b76d
DM
31772012-02-27 David S. Miller <davem@davemloft.net>
3178
3179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
3180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
3183 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3184 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3185 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
3186 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
3187
0e7727f7
JM
31882012-02-27 Joseph Myers <joseph@codesourcery.com>
3189
3190 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
3191 later. Allow versions 5-9.
43be4ca2 3192 * configure: Regenerated.
0e7727f7
JM
3193 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
3194 required minimum version and 4.6 as recommended version. Do not
3195 mention bugs in GCC 2.7 and 2.8.
43be4ca2 3196 * INSTALL: Regenerated.
0e7727f7 3197
a78bc654
DM
31982012-02-27 David S. Miller <davem@davemloft.net>
3199
428d5830
DM
3200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
3201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
3202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
3203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
3204 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
3205 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
3206 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
3207 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
3208
a78bc654
DM
3209 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
3210 manipulate bits before adding and subtracting TWO112[sx].
3211 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3212
4579f81c
RM
32132012-02-27 Roland McGrath <roland@hack.frob.com>
3214
36c8acb4
RM
3215 [BZ #13775]
3216 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
3217 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
3218 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
3219 being in POSIX, because they are in 1003.1-2008.
3220
84ad622b
RM
3221 * rt/tst-aio.c: Include <fcntl.h>.
3222 * rt/tst-aio7.c: Likewise.
3223 * rt/tst-aio64.c: Likewise.
3224
4579f81c
RM
3225 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
3226
abd923db
JM
32272012-02-27 Joseph Myers <joseph@codesourcery.com>
3228
3229 * manual/install.texi (--with-headers): Describe headers as
3230 interface headers, not private headers.
3231 (Specific advice for GNU/Linux systems): Describe use of headers
3232 from "make headers_install", not private headers from older
3233 kernels.
43be4ca2 3234 * INSTALL: Regenerated.
abd923db
JM
3235 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
3236 Change to 2.6.19.
3237 * sysdeps/unix/sysv/linux/configure: Regenerated.
3238
6664049b
JM
3239 * manual/llio.texi (fclean): Remove documentation.
3240
bb8b6697
JM
3241 * manual/Makefile (libc-texi-generated): New variable. Include
3242 version.texi.
3243 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
3244 $(libc-texi-generated), not duplicated list of files.
3245 (version.texi, stamp-version): New rules.
3246 (realclean): Remove $(libc-texi-generated), not individual files
3247 from that list. Do not remove dir-add.texinfo.
3248 * manual/libc.texinfo: Comment out uses of edition numbers and
3249 references to printed manual. Remove last-updated dates.
3250 (EDITION): Comment out.
3251 (ISBN): Likewise.
3252 (VERSION, UPDATED): Remove.
3253 (version.texi): Include.
3254
12e5c3b9
AS
32552012-02-27 Andreas Schwab <schwab@linux-m68k.org>
3256
3257 * sysdeps/posix/spawni.c: Include <signal.h>.
3258 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
3259 * sysdeps/pthread/aio_fsync.c: Likewise.
3260
4efeffc1 32612012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 3262
ba63ba08
UD
3263 * conform/Makefile (tests): Run only when not cross-compiling and
3264 when fast-check is not defined.
3265
d94a4670
UD
3266 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
3267 * conform/data/limits.h-data: Fixes for POSIX2008.
3268 * conform/run-conformtest.sh: Run all tests.
3269 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
3270 headers.
3271 * include/bits/dlfcn.h: Likewise.
3272 * include/langinfo.h: Likewise.
3273 * include/monetary.h: Likewise.
3274 * include/sys/poll.h: Likewise.
3275
3276 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
3277 for __USE_GNU.
3278 * posix/spawn.h: Define __need_sigset_t.
3279 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
3280 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
3281 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
3282 to get sigevent_t only.
3283 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
3284 only for __USE_GNU.
3285 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3286 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3287 process_vm_writev only for __USE_GNU.
3288 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
3289
3290 * conform/Makefile: For now ignore errors from run-conformtest.
3291 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
3292 POSIX to avoid namespace pollution. Don't prepend headers.
3293 * conform/data/aio.h-data: Fixes for POSIX testing.
3294 * conform/data/fcntl.h-data: Likewise.
3295 * conform/data/glob.h-data: Likewise.
3296 * conform/data/grp.h-data: Likewise.
3297 * conform/data/pthread.h-data: Likewise.
3298 * conform/data/pwd.h-data: Likewise.
3299 * conform/data/signal.h-data: Likewise.
3300 * conform/data/spawn.h-data: Likewise.
3301 * conform/data/stdio.h-data: Likewise.
3302 * conform/data/stdlib.h-data: Likewise.
3303 * conform/data/stropts.h-data: Likewise.
3304 * conform/data/sys/mman.h-data: Likewise.
3305 * conform/data/sys/stat.h-data: Likewise.
3306 * conform/data/sys/types.h-data: Likewise.
3307 * conform/data/sys/wait.h-data: Likewise.
3308 * conform/data/time.h-data: Likewise.
3309 * conform/data/unistd.h-data: Likewise.
3310 * conform/data/utime.h-data: Likewise.
3311
3312 * io/sys/stat.h: fchmod was always in POSIX.
3313 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
3314 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
3315 * rt/aio.h: Define __need_timespec before including <time.h>.
3316 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
3317 struct. Add forward declaration of pthread_attr_t and use it in
3318 sigevent.
3319 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3320 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3321 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
3322 always remove CLK_TCK definition.
3323
c20105c3
AS
33242012-02-26 Andreas Schwab <schwab@linux-m68k.org>
3325
3326 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
3327
7a270350
UD
33282012-02-25 Ulrich Drepper <drepper@gmail.com>
3329
31341567
UD
3330 * conform/run-conformtest.sh: New file.
3331 * conform/Makefile: Run run-conformtest for tests.
3332 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
3333 support.
3334
3335 * conform/data/uchar.h-data: New file.
3336 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
3337 * conform/data/arpa/inet.h-data: Likewise.
3338 * conform/data/assert.h-data: Likewise.
3339 * conform/data/complex.h-data: Likewise.
3340 * conform/data/cpio.h-data: Likewise.
3341 * conform/data/ctype.h-data: Likewise.
3342 * conform/data/dirent.h-data: Likewise.
3343 * conform/data/dlfcn.h-data: Likewise.
3344 * conform/data/errno.h-data: Likewise.
3345 * conform/data/fcntl.h-data: Likewise.
3346 * conform/data/float.h-data: Likewise.
3347 * conform/data/fmtmsg.h-data: Likewise.
3348 * conform/data/fnmatch.h-data: Likewise.
3349 * conform/data/ftw.h-data: Likewise.
3350 * conform/data/glob.h-data: Likewise.
3351 * conform/data/grp.h-data: Likewise.
3352 * conform/data/iconv.h-data: Likewise.
3353 * conform/data/inttypes.h-data: Likewise.
3354 * conform/data/langinfo.h-data: Likewise.
3355 * conform/data/libgen.h-data: Likewise.
3356 * conform/data/limits.h-data: Likewise.
3357 * conform/data/locale.h-data: Likewise.
3358 * conform/data/math.h-data: Likewise.
3359 * conform/data/monetary.h-data: Likewise.
3360 * conform/data/mqueue.h-data: Likewise.
3361 * conform/data/ndbm.h-data: Likewise.
3362 * conform/data/net/if.h-data: Likewise.
3363 * conform/data/netdb.h-data: Likewise.
3364 * conform/data/netinet/in.h-data: Likewise.
3365 * conform/data/nl_types.h-data: Likewise.
3366 * conform/data/poll.h-data: Likewise.
3367 * conform/data/pthread.h-data: Likewise.
3368 * conform/data/pwd.h-data: Likewise.
3369 * conform/data/regex.h-data: Likewise.
3370 * conform/data/sched.h-data: Likewise.
3371 * conform/data/search.h-data: Likewise.
3372 * conform/data/semaphore.h-data: Likewise.
3373 * conform/data/setjmp.h-data: Likewise.
3374 * conform/data/signal.h-data: Likewise.
3375 * conform/data/spawn.h-data: Likewise.
3376 * conform/data/stdarg.h-data: Likewise.
3377 * conform/data/stdio.h-data: Likewise.
3378 * conform/data/stdlib.h-data: Likewise.
3379 * conform/data/string.h-data: Likewise.
3380 * conform/data/strings.h-data: Likewise.
3381 * conform/data/stropts.h-data: Likewise.
3382 * conform/data/sys/ipc.h-data: Likewise.
3383 * conform/data/sys/mman.h-data: Likewise.
3384 * conform/data/sys/msg.h-data: Likewise.
3385 * conform/data/sys/resource.h-data: Likewise.
3386 * conform/data/sys/select.h-data: Likewise.
3387 * conform/data/sys/sem.h-data: Likewise.
3388 * conform/data/sys/shm.h-data: Likewise.
3389 * conform/data/sys/socket.h-data: Likewise.
3390 * conform/data/sys/stat.h-data: Likewise.
3391 * conform/data/sys/statvfs.h-data: Likewise.
3392 * conform/data/sys/time.h-data: Likewise.
3393 * conform/data/sys/timeb.h-data: Likewise.
3394 * conform/data/sys/times.h-data: Likewise.
3395 * conform/data/sys/types.h-data: Likewise.
3396 * conform/data/sys/uio.h-data: Likewise.
3397 * conform/data/sys/un.h-data: Likewise.
3398 * conform/data/sys/utsname.h-data: Likewise.
3399 * conform/data/sys/wait.h-data: Likewise.
3400 * conform/data/syslog.h-data: Likewise.
3401 * conform/data/tar.h-data: Likewise.
3402 * conform/data/termios.h-data: Likewise.
3403 * conform/data/utime.h-data: Likewise.
3404 * conform/data/utmpx.h-data: Likewise.
3405 * conform/data/varargs.h-data: Likewise.
3406 * conform/data/wchar.h-data: Likewise.
3407 * conform/data/wctype.h-data: Likewise.
3408 * conform/data/wordexp.h-data: Likewise.
3409
3410 * include/stropts.h: New file.
3411 * include/uchar.h: New file.
3412 * include/aio.h: Changes to allow conformtest.pl to use the headers.
3413 * include/assert.h: Likewise.
3414 * include/ctype.h: Likewise.
3415 * include/dirent.h: Likewise.
3416 * include/dlfcn.h: Likewise.
3417 * include/fcntl.h: Likewise.
3418 * include/fnmatch.h: Likewise.
3419 * include/glob.h: Likewise.
3420 * include/grp.h: Likewise.
3421 * include/libio.h: Likewise.
3422 * include/locale.h: Likewise.
3423 * include/math.h: Likewise.
3424 * include/net/if.h: Likewise.
3425 * include/netdb.h: Likewise.
3426 * include/netinet/in.h: Likewise.
3427 * include/pthread.h: Likewise.
3428 * include/pwd.h: Likewise.
3429 * include/regex.h: Likewise.
3430 * include/sched.h: Likewise.
3431 * include/search.h: Likewise.
3432 * include/setjmp.h: Likewise.
3433 * include/signal.h: Likewise.
3434 * include/stdio.h: Likewise.
3435 * include/stdlib.h: Likewise.
3436 * include/string.h: Likewise.
3437 * include/sys/cdefs.h: Likewise.
3438 * include/sys/mman.h: Likewise.
3439 * include/sys/msg.h: Likewise.
3440 * include/sys/resource.h: Likewise.
3441 * include/sys/select.h: Likewise.
3442 * include/sys/socket.h: Likewise.
3443 * include/sys/stat.h: Likewise.
3444 * include/sys/statvfs.h: Likewise.
3445 * include/sys/time.h: Likewise.
3446 * include/sys/times.h: Likewise.
3447 * include/sys/uio.h: Likewise.
3448 * include/sys/utsname.h: Likewise.
3449 * include/sys/wait.h: Likewise.
3450 * include/termios.h: Likewise.
3451 * include/time.h: Likewise.
3452 * include/ulimit.h: Likewise.
3453 * include/unistd.h: Likewise.
3454 * include/utime.h: Likewise.
3455 * include/wchar.h: Likewise.
3456 * include/wctype.h: Likewise.
3457 * include/wordexp.h: Likewise.
3458
3459 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3460
7a270350
UD
3461 * time/time.h: TIME_UTC must be a macro.
3462 Make timespec_get available for ISO C11 only as well.
3463
7724defc
UD
34642012-02-24 Ulrich Drepper <drepper@gmail.com>
3465
3466 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
3467 Reported by Peng Haitao <penght@cn.fujitsu.com>.
3468
6b1d1d46
JM
34692012-02-24 Joseph Myers <joseph@codesourcery.com>
3470
3471 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 3472
0f8bbd69
JM
34732012-02-24 Joseph Myers <joseph@codesourcery.com>
3474
3475 * manual/texinfo.tex: Update to version 2012-01-19.16.
3476
66ab80bc
JM
34772012-02-24 Joseph Myers <joseph@codesourcery.com>
3478
3479 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3480
74981cc5
RM
34812012-02-24 Roland McGrath <roland@hack.frob.com>
3482
ee968201
RM
3483 [BZ #13738]
3484 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3485 * manual/fdl-1.3.texi: New file.
3486 * manual/fdl-1.1.texi: File removed.
3487
74981cc5
RM
3488 [BZ #13738]
3489 * manual/libc.texinfo (FDL_VERSION): New @set.
3490 Use it for mention of FDL in cover text.
3491 (Documentation License): Use it in @include file name.
3492
7bb764bc
JM
34932012-02-22 Joseph Myers <joseph@codesourcery.com>
3494 Roland McGrath <roland@hack.frob.com>
3495
3496 [BZ #5461]
3497 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3498 not LONG_LONG_MAX and LONG_LONG_MIN.
3499 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3500 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
3501 name.
3502 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3503
6cbeae47
JM
35042012-02-22 Joseph Myers <joseph@codesourcery.com>
3505
3506 [BZ #2547]
3507 [BZ #11365]
3508 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3509 manipulate bits before adding and subtracting TWO23[sx].
3510 * math/libm-test.inc (nearbyint_test): Add more tests.
3511
fe45ce09
JM
35122012-02-22 Joseph Myers <joseph@codesourcery.com>
3513
3514 [BZ #2548]
3515 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3516 bits before adding and subtracting TWO23[sx].
3517 * math/libm-test.inc (rint_test): Add more tests.
3518 (rint_test_tonearest): Likewise.
3519 (rint_test_towardzero): Likewise.
3520 (rint_test_downward): Likewise.
3521 (rint_test_upward: Likewise.
3522
ff3b3d82
JM
35232012-02-22 Joseph Myers <joseph@codesourcery.com>
3524
3525 [BZ #10110]
3526 * include/stdc-predef.h: New file. Extracted from features.h.
3527 * include/features.h: Include stdc-predef.h.
3528 * Makefile (headers): Add stdc-predef.h.
3529 * CONFORMANCE (Compiler limitations): Update.
3530
ef0aab35
JM
35312012-02-22 Joseph Myers <joseph@codesourcery.com>
3532
3533 * manual/libc.texinfo (VERSION, UPDATED): Revert.
3534
58639409
DM
35352012-02-21 David S. Miller <davem@davemloft.net>
3536
3537 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3538 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3539
c0e70b25
DM
35402012-02-20 David S. Miller <davem@davemloft.net>
3541
3542 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3543 using a normal save/restore sequence, rather than allocating a
3544 dummy stack frame just to store a frame pointer and restore.
3545 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3546
fb06851d
JM
35472012-02-21 Joseph Myers <joseph@codesourcery.com>
3548
3549 * manual/install.texi: Fix stray word in line-wrapped comment.
3550
7a8b71c3
DM
35512012-02-20 David S. Miller <davem@davemloft.net>
3552
d510c123
DM
3553 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3554 both binutils and gcc support GOTDATA.
3555
0722d7c2
DM
3556 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3557 "rd %pc" in the PIC register setup sequences.
3558
3d2b3019
DM
3559 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3560 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3561 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3562 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3563 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3564 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3565 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3566 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3567 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3568 (SYSCALL_ERROR_HANDLER): Likewise.
3569 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3570 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3571 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3572 (SYSCALL_ERROR_HANDLER): Likewise.
3573
c80098a9
DM
3574 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3575 (HAVE_GCC_GOTDATA): New.
3576 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3577 relocation support in both binutils and gcc.
3578 * sysdeps/sparc/elf/configure: Regenerate.
3579
3a2545a0
DM
3580 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3581 * sysdeps/sparc/sparc32/elf/configure: Delete.
3582 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3583 * sysdeps/sparc/sparc64/elf/configure: Delete.
3584 * sysdeps/sparc/elf/configure.in: New file.
3585 * sysdeps/sparc/elf/configure: Generate.
3586
7a8b71c3
DM
3587 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3588 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3589 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3590 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3591 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3592
f1e86fca
JM
35932012-02-21 Joseph Myers <joseph@codesourcery.com>
3594
3595 * manual/install.texi: Do not mention specific glibc version
3596 numbers.
3597 * manual/libc.texinfo (VERSION, UPDATED): Update.
3598 (@copying): Use @copyright{} and range of years.
3599
0e7dfaef
JM
36002012-02-21 Joseph Myers <joseph@codesourcery.com>
3601
3602 [BZ #13695]
3603 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3604 [crti.S not in sysdirs] (generated): Do not append.
3605 [crti.S not in sysdirs] (omit-deps): Likewise.
3606 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3607 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3608 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3609 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3610 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3611 Likewise.
3612 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3613 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3614 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3615 * csu/defs.awk: Remove file.
3616 * sysdeps/generic/initfini.c: Likewise.
3617 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3618 variable.
3619 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3620 Likewise.
3621
599af3ca
JM
36222012-02-20 Joseph Myers <joseph@codesourcery.com>
3623
3624 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3625 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3626 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3627 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3628 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3629 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3630 <bits/epoll.h>.
3631 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3632 (__EPOLL_PACKED): Define to empty if not defined by
3633 <bits/epoll.h>.
3634 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3635 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3636 bits/epoll.h.
3637
0e499750
JM
36382012-02-20 Joseph Myers <joseph@codesourcery.com>
3639
3640 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3641 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3642 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3643 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3644 <bits/timerfd.h>.
3645 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3646 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3647 bits/timerfd.h.
3648
5ad91f6e
JM
36492012-02-20 Joseph Myers <joseph@codesourcery.com>
3650
3651 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3652 in C locale.
3653 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3654 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3655 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3657
06b99b02
AJ
36582012-02-20 Aurelien Jarno <aurelien@aurel32.net>
3659
3660 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3661 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3662
7638c0fd
AS
36632012-02-19 Andreas Schwab <schwab@linux-m68k.org>
3664
3665 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3666 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3667 defined.
3668 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3669 Likewise.
3670 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3671 entry for 2.16.
3672
92221550
AJ
36732012-02-19 Aurelien Jarno <aurelien@aurel32.net>
3674
3675 * math/w_acos.c: Use non-signaling floating-point comparisons.
3676 * math/w_acosf.c: Likewise.
3677 * math/w_acosh.c: Likewise.
3678 * math/w_acoshf.c: Likewise.
3679 * math/w_acoshl.c: Likewise.
3680 * math/w_acosl.c: Likewise.
3681 * math/w_asin.c: Likewise.
3682 * math/w_asinf.c: Likewise.
3683 * math/w_asinl.c: Likewise.
3684 * math/w_atanh.c: Likewise.
3685 * math/w_atanhf.c: Likewise.
3686 * math/w_atanhl.c: Likewise.
3687 * math/w_exp2.c: Likewise.
3688 * math/w_exp2f.c: Likewise.
3689 * math/w_exp2l.c: Likewise.
3690 * math/w_j0.c: Likewise.
3691 * math/w_j0f.c: Likewise.
3692 * math/w_j0l.c: Likewise.
3693 * math/w_j1.c: Likewise.
3694 * math/w_j1f.c: Likewise.
3695 * math/w_j1l.c: Likewise.
3696 * math/w_jn.c: Likewise.
3697 * math/w_jnf.c: Likewise.
3698 * math/w_log.c: Likewise.
3699 * math/w_log10.c: Likewise.
3700 * math/w_log10f.c: Likewise.
3701 * math/w_log10l.c: Likewise.
3702 * math/w_log2.c: Likewise.
3703 * math/w_log2f.c: Likewise.
3704 * math/w_log2l.c: Likewise.
3705 * math/w_logf.c: Likewise.
3706 * math/w_logl.c: Likewise.
3707 * math/w_sqrt.c: Likewise.
3708 * math/w_sqrtf.c: Likewise.
3709 * math/w_sqrtl.c: Likewise.
3710 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3711 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3712 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3713 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3714 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3715
ebaf36eb
JM
37162012-02-19 Joseph Myers <joseph@codesourcery.com>
3717
3718 [BZ #9739]
3719 * manual/string.texi (strnlen): Use correct parameter name in
3720 equivalent expression.
3721
71c254a6
JM
37222012-02-19 Joseph Myers <joseph@codesourcery.com>
3723
3724 [BZ #11174]
3725 * manual/users.texi (seteuid): Consistently use neweuid for
3726 argument name.
3727
16d2c631
JM
37282012-02-19 Joseph Myers <joseph@codesourcery.com>
3729
3730 [BZ #13704]
3731 * manual/nss.texi (Services in the NSS configuration): Correct
3732 list of services in example configuration file.
3733
cd837b09
NB
37342012-02-19 Nick Bowler <nbowler@draconx.ca>
3735
3736 [BZ #11322]
3737 * manual/arith.texi: Remove statements about negative zero
3738 behaving identically to zero.
3739
02c4bbad
JM
37402012-02-18 Joseph Myers <joseph@codesourcery.com>
3741
3742 [BZ #5993]
3743 * manual/install.texi: Do not document upgrading from libc5.
3744
366842e7
JM
37452012-02-18 Joseph Myers <joseph@codesourcery.com>
3746
3747 [BZ #4596]
3748 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3749
dd54084d
DM
37502012-02-18 David S. Miller <davem@davemloft.net>
3751
3752 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3753 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3754 %o7 across the call.
3755 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3756 instead.
3757 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3758 SETUP_PIC_REG_LEAF.
3759 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3760 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3761 * sysdeps/sparc/crtn.S: Likewise.
3762
2bcc53a3
UD
37632012-02-17 Ulrich Drepper <drepper@gmail.com>
3764
3765 * aout/Makefile: Remove.
3766
09c093b5
RK
37672012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3768
3769 [BZ #13058]
3770 * manual/examples/argp-ex1.c (main): Format definition in GNU
3771 style.
3772 * manual/examples/argp-ex2.c (main): Likewise.
3773 * manual/examples/argp-ex3.c (main): Likewise.
3774 * manual/examples/argp-ex4.c (main): Likewise.
3775 * manual/examples/longopt.c (main): Use new-style prototype
3776 definition.
3777 * manual/examples/strncat.c (main): Specify return type and use
3778 (void) for arguments.
3779 * manual/examples/subopt.c (main): Use char **argv argument.
3780
2ee633a2
JM
37812012-02-17 Joseph Myers <joseph@codesourcery.com>
3782
3783 [BZ #5077]
3784 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3785 rounding modes.
3786
0520adde
FB
37872012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3788
3789 [BZ #6907]
3790 * manual/string.texi (strchr): Change when strchrnul is
3791 recommended.
3792
3f4081cd
DGM
37932012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3794
3795 [BZ #174]
3796 * manual/locale.texi (setlocale): Document LOCPATH.
3797
d1b10e78
JM
37982012-02-17 Joseph Myers <joseph@codesourcery.com>
3799
3800 [BZ #10210]
3801 * manual/process.texi (execle): Move @dots{} before last argument.
3802
79c6869c
PB
38032012-02-17 Paul Bolle <pebolle@tiscali.nl>
3804
3805 [BZ #12047]
3806 * manual/charset.texi (Generic Charset Conversion): Fix typo
3807 (LC_TYPE -> LC_CTYPE).
3808
cc6e48bc
NB
38092012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3810
3811 [BZ #5805]
3812 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3813 (scalbnf): Likewise.
3814 (scalbnl): Likewise.
3815 (scalbln): Likewise.
3816 (scalblnf): Likewise.
3817 (scalblnl): Likewise.
3818 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3819 (vwarnx): Likewise.
3820 (verr): Likewise.
3821 (verrx): Likewise.
3822 * manual/filesys.texi (telldir): Use braces around return type.
3823 * manual/llio.texi (mmap): Add space after comma.
3824 (mmap64): Likewise.
3825 * manual/math.texi (jn): Use @var{} on parameter names.
3826 (jnf): Likewise.
3827 (jnl): Likewise.
3828 (yn): Likewise.
3829 (ynf): Likewise.
3830 (ynl): Likewise.
3831 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3832 line.
3833 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3834 "...".
3835 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3836 (sched_get_priority_max): Likewise.
3837 * manual/signal.texi (sigvec): Add space after comma.
3838 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3839 names.
3840 (if_indextoname): Likewise.
3841 (if_freenameindex): Likewise.
3842 (sendto): Use ',' instead of '.' in prototype.
3843 * manual/startup.texi (syscall): Use @dots{} instead of literal
3844 "...".
3845 * manual/stdio.texi (__fpending): Separate initial words of
3846 paragraph from @deftypefun line.
3847 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3848 "...".
3849 (vsyslog): Use @var{} on parameter names.
3850 * manual/terminal.texi (stty): Use @var{} on parameter names.
3851 * manual/users.texi (getutmp): Use @var{} on parameter names.
3852 (getutmpx): Likewise.
3853
5b23062f
JM
38542012-02-17 Joseph Myers <joseph@codesourcery.com>
3855
3856 [BZ #6884]
3857 * manual/stdio.texi (fopen): Fix typos in description of
3858 ",ccs=STRING".
3859
8dee4833
AJ
38602012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3861
3862 [BZ #4026]
3863 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3864 get clock_id definition.
3865
9078ce93
TS
38662012-02-17 Thomas Schwinge <thomas@schwinge.name>
3867
3868 [BZ #4822]
3869 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3870 (madvise): Cast every argument to void on its own.
3871
3835c55f
JM
38722012-02-17 Joseph Myers <joseph@codesourcery.com>
3873
3874 [BZ #9902]
3875 * manual/startup.texi (Exit Status): Fix typo.
3876
35c47e37
JM
38772012-02-17 Joseph Myers <joseph@codesourcery.com>
3878
3879 [BZ #10140]
3880 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3881 * manual/examples/argp-ex2.c: Likewise.
3882 * manual/examples/argp-ex3.c: Likewise.
3883
e3b69ca7
RH
38842012-02-16 Richard Henderson <rth@redhat.com>
3885
3886 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3887 * sysdeps/s390/s390-32/initfini.c: Remove.
3888 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3889 * sysdeps/s390/s390-64/initfini.c: Remove.
3890
df83af67
KK
38912012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3892
3893 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3894 compiler output for sysdeps/generic/initfini.c.
3895 * sysdeps/sh/elf/initfini.c: Remove file.
3896
f63f3380
DM
38972012-02-16 David S. Miller <davem@davemloft.net>
3898
fb59b3a4
DM
3899 [BZ #11494]
3900 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3901
f63f3380
DM
3902 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3903 * sysdeps/sparc/crti.S: New file.
3904 * sysdeps/sparc/crtn.S: New file.
3905 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3906 * sysdeps/sparc/sparc64/Makefile: Likewise.
3907
df6a4a4a
MF
39082012-02-15 Mike Frysinger <vapier@gentoo.org>
3909
6dd8f3dc 3910 [BZ #3335]
df6a4a4a
MF
3911 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3912
1cac7236
RM
39132012-02-15 Roland McGrath <roland@hack.frob.com>
3914
d2c736f8
RM
3915 [BZ #4822]
3916 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3917
1cac7236
RM
3918 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3919 (write, read, close): Likewise.
3920 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3921
8e475601
JM
39222012-02-15 Joseph Myers <joseph@codesourcery.com>
3923
3924 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3925 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3926 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3927 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3928 <bits/signalfd.h>.
3929 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3930 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3931 bits/signalfd.h.
3932
ed656b40
MP
39332012-02-14 Marek Polacek <polacek@redhat.com>
3934
3935 * sysdeps/x86_64/crti.S: New file.
3936 * sysdeps/x86_64/crtn.S: New file.
3937 * sysdeps/x86_64/elf/initfini.c: Remove file.
3938
2a979d3a
JM
39392012-02-13 Joseph Myers <joseph@codesourcery.com>
3940
3941 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3942 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3943 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3944 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3945 <bits/inotify.h>.
3946 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3947 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3948 bits/inotify.h.
3949
2a418ac3
JM
39502012-02-13 Joseph Myers <joseph@codesourcery.com>
3951
3952 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3953 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3954 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3955 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3956 <bits/eventfd.h>.
3957 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3958 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3959 bits/eventfd.h.
3960
fb779be7
TS
39612012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3962
e19e83c5
RM
3963 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3964 __feraiseexcept instead of feraiseexcept.
7c35ffed 3965
fb779be7
TS
3966 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3967 nanosleep invocations.
3968 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3969 strings, and add error checking for a nanosleep invocations.
3970
59ba27a6
PE
39712012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3972
3973 Replace FSF snail mail address with URLs, as per GNU coding standards.
3974 Most of the snail mail addresses were wrong anyway, and omitting
3975 them makes the source code easier to maintain. Almost all of the
3976 changes are to license notices and to locale LC_IDENTIFICATION
3977 addresses, except for this one:
3978 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3979 not its snail mail address.
3980
57b957eb
RH
39812012-02-09 Richard Henderson <rth@twiddle.net>
3982
af850b1c
RH
3983 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3984 of kernel-features.h.
3985
57b957eb
RH
3986 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3987
6b73181a
MP
39882012-02-08 Marek Polacek <polacek@redhat.com>
3989
3990 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3991 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3992 * sysdeps/gnu/_G_config.h: Likewise.
3993 * sysdeps/generic/_G_config.h: Likewise.
3994
26ecc33a
AS
39952012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3996
6c6dbc63
AS
3997 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3998 tests.
3999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4000
e216c012
AS
4001 * sysdeps/powerpc/powerpc32/crti.S: New file.
4002 * sysdeps/powerpc/powerpc32/crtn.S: New file.
4003 * sysdeps/powerpc/powerpc64/crti.S: New file.
4004 * sysdeps/powerpc/powerpc64/crtn.S: New file.
4005
26ecc33a
AS
4006 * Makeconfig (have-initfini): Don't set.
4007 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
4008 * configure.in (nopic_initfini): Don't substitute.
4009 * config.h.in (HAVE_INITFINI): Don't #undef.
4010 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
4011 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
4012
3add8e13
JM
40132012-02-08 Joseph Myers <joseph@codesourcery.com>
4014
4015 Support crti.S and crtn.S provided directly by architectures.
4016 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
4017 [crti.S in sysdirs] (omit-deps): Likewise.
4018 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
4019 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
4020 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
4021 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
4022 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
4023 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
4024 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
4025 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
4026 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
4027 compiler output for sysdeps/generic/initfini.c.
4028 * sysdeps/i386/elf/Makefile: Remove file.
4029 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
4030
a22f12b4
MP
40312012-02-07 Marek Polacek <polacek@redhat.com>
4032
4033 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
4034 * sysdeps/gnu/_G_config.h: Likewise.
4035 * sysdeps/mach/hurd/_G_config.h: Likewise.
4036
148cf100
MP
40372012-02-07 Marek Polacek <polacek@redhat.com>
4038
4039 * math/Makefile (tests): Add tst-CMPLX2.
4040 * math/tst-CMPLX2.c: New file.
4041
cfdc0dd7
AS
40422012-02-07 Andreas Schwab <schwab@linux-m68k.org>
4043
84ba42c4
AS
4044 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4045
cfdc0dd7
AS
4046 * math/libm-test.inc (jn_test): Add missing L suffix.
4047
622c86f4
MP
40482012-02-06 Marek Polacek <polacek@redhat.com>
4049
4050 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
4051 * sysdeps/i386/fpu/e_powf.S: Likewise.
4052 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4053 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4054 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4055 * sysdeps/i386/fpu/e_pow.S: Likewise.
4056 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4057 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4058 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4059 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4060 * sysdeps/i386/fpu/e_log2.S: Likewise.
4061 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4062 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4063 * sysdeps/i386/fpu/e_powl.S: Likewise.
4064 * sysdeps/i386/fpu/s_log1p.S: Likewise.
4065 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4066 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4067 * sysdeps/i386/fpu/e_logl.S: Likewise.
4068 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4069 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
4070 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4071 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4072 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4073 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4074 * sysdeps/i386/fpu/e_log.S: Likewise.
4075 * sysdeps/i386/fpu/s_cexp.S: Likewise.
4076 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4077 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4078 * sysdeps/i386/fpu/e_logf.S: Likewise.
4079 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4080 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4081 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4082 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4083 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4084 * sysdeps/i386/fpu/e_log10.S: Likewise.
4085 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4086 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4087 * sysdeps/i386/fpu/s_asinh.S: Likewise.
4088 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4089 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4090 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4091 * sysdeps/i386/asm-syntax.h: Likewise.
4092 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4093 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4094 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4095 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
4096 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
4097 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4098 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4099 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4100 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4101 * sysdeps/powerpc/sysdep.h: Likewise.
4102 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
4103 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4104
d4a54ac6
JM
41052012-02-06 Joseph Myers <joseph@codesourcery.com>
4106
4107 [BZ #411]
4108 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
4109
314054ea
JM
41102012-02-06 Joseph Myers <joseph@codesourcery.com>
4111
4112 * sysdeps/i386/sysdep.h: Include <features.h>.
4113 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
4114 version.
4115
d8e0ca50
JM
41162012-02-05 Joseph Myers <joseph@codesourcery.com>
4117
4118 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
4119 Define.
4120 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
4121 LOAD_PIC_REG_STR.
4122
b1da7dd9
JM
41232012-02-03 Joseph Myers <joseph@codesourcery.com>
4124
4125 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
4126 (SETUP_PIC_REG): Use GET_PC_THUNK.
4127 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
4128 macro.
4129
9a1d9254
JM
41302012-02-03 Joseph Myers <joseph@codesourcery.com>
4131
4132 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
4133 for non-PIC compilation.
4134 (SETUP_PIC_REG): Add .p2align directive.
4135 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
4136 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4137 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4138 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4139 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4140 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4141 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4142 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4143 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4144 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4145 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4146 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4147 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4148 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4149 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4150 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4151 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4152 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4153 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4154 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4155 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4156 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4157 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4158 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4159 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4160 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4161 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4162 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4163 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4164 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4165 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4166 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4167 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4168 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4169 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4170 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4171 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4172 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4173 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4174 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4175 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4176
65dc3b75
JM
41772012-02-03 Joseph Myers <joseph@codesourcery.com>
4178
4179 * math/tst-CMPLX.c: Include <stdio.h>.
4180
d55bf177
JM
41812012-01-31 Joseph Myers <joseph@codesourcery.com>
4182
4183 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
4184 float.
4185 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4186 * sysdeps/sparc/bits/mathdef.h: Likewise.
4187
69db4f8f
MP
41882012-01-31 Marek Polacek <polacek@redhat.com>
4189
4190 * libio/libio.h: Don't define _PARAMS.
4191 * locale/programs/config.h: Don't define PARAMS.
4192 * stdlib/strtol_l.c: Likewise.
4193 (__strtol_l): Remove PARAMS from the prototype.
4194
41b81892
UD
41952012-01-31 Ulrich Drepper <drepper@gmail.com>
4196
3b49edc0
UD
4197 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
4198 names. Just use the correct names. Remove unnecessary wrapper
4199 functions.
4200 * malloc/arena.c: Likewise.
4201 * malloc/hooks.c: Likewise.
4202
41b81892
UD
4203 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
4204 ARENA_TEST says not to. Simplify test for creation of a new arena.
4205 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
4206
27a25b6e
UD
42072012-01-30 Ulrich Drepper <drepper@gmail.com>
4208
4209 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
4210 into tail calls.
4211 (update_get_addr): New function.
4212 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
4213 GET_ADDR_MODULE parameter.
4214
c8a89e7d
JM
42152012-01-30 Joseph Myers <joseph@codesourcery.com>
4216
4217 * crypt/cert.c: Remove __STDC__ conditionals.
4218 * crypt/crypt-entry.c: Likewise.
4219 * crypt/crypt_util.c: Likewise.
4220 * libio/filedoalloc.c: Likewise.
4221 * libio/fileops.c: Likewise.
4222 * libio/genops.c: Likewise.
4223 * libio/iofclose.c: Likewise.
4224 * libio/iofdopen.c: Likewise.
4225 * libio/iofopen.c: Likewise.
4226 * libio/iofopen64.c: Likewise.
4227 * libio/iogetdelim.c: Likewise.
4228 * libio/iopopen.c: Likewise.
4229 * libio/obprintf.c: Likewise.
4230 * libio/oldfileops.c: Likewise.
4231 * libio/oldiofclose.c: Likewise.
4232 * libio/oldiofdopen.c: Likewise.
4233 * libio/oldiofopen.c: Likewise.
4234 * libio/oldiopopen.c: Likewise.
4235 * libio/wfiledoalloc.c: Likewise.
4236 * libio/wgenops.c: Likewise.
4237 * locale/programs/xmalloc.c: Likewise.
4238 * misc/syslog.c: Likewise.
4239 * stdio-common/xbug.c: Likewise.
4240 * string/memchr.c: Likewise.
4241 * string/memcmp.c: Likewise.
4242 * string/memrchr.c: Likewise.
4243 * string/rawmemchr.c: Likewise.
4244 * sysdeps/posix/getcwd.c: Likewise.
4245 * time/strftime_l.c: Likewise.
4246
3b100462
JM
42472012-01-30 Joseph Myers <joseph@codesourcery.com>
4248
4249 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
4250 * config.make.in (config-cflags-sse2avx): Define.
4251 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
4252 Fix typo.
4253
607998af
CM
42542012-01-29 Chris Metcalf <cmetcalf@tilera.com>
4255
4256 * scripts/config.guess: Update from upstream config git repository.
4257 * scripts/config.sub: Likewise.
4258
3601428f
CM
42592012-01-28 Chris Metcalf <cmetcalf@tilera.com>
4260
3ac8b282
CM
4261 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
4262 (EM_NUM): Update.
4263 (R_TILEPRO_*, R_TILEGX_*): New macros.
4264
e034841e
CM
4265 * scripts/firstversions.awk: Fix bug in version range handling.
4266
540d7568
CM
4267 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
4268
3601428f
CM
4269 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
4270
463de862
CM
4271 * include/sys/epoll.h: New file.
4272 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
4273 libc_hidden_def.
4274
73139a76
UD
42752012-01-28 Ulrich Drepper <drepper@gmail.com>
4276
96bc5b45
UD
4277 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
4278 Avoid unnecessary __WORDSIZE == 64 test.
4279 (fmaxf): Use VEX format if possible.
4280 (fmax): Likewise.
4281 (fminf): Likewise.
4282 (fmin): Likewise.
4283
56f6f6a2
UD
4284 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
4285 * math/math_private.h: Remove libc_fegetround* and
4286 libc_fesetround*.
4287 * sysdeps/i386/configure.in: Check for -msse2avx.
4288 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
4289 also if SSE2AVX is defined.
4290 Remove libc_fegetround* and libc_fesetround*.
4291 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
4292 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
4293 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
4294 of HAS_YMM_USABLE.
4295 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4296 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4297 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4298 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4299 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4300
73139a76
UD
4301 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
4302
d73f93a4
AZ
43032012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4304
4305 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
4306 size is not set.
4307 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4308
6ee65ed6
UD
43092012-01-27 Ulrich Drepper <drepper@gmail.com>
4310
4311 [BZ #13618]
4312 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
4313 relocation.
4314 * Makeconfig (libm): Define.
4315 * elf/Makefile: Add rules to build and run tst-relsort1.
4316 * elf/tst-relsort1.c: New file.
4317 * elf/tst-relsort1mod1.c: New file.
4318 * elf/tst-relsort1mod2.c: New file.
4319
8db21882
JM
43202012-01-27 Joseph Myers <joseph@codesourcery.com>
4321
4322 * math/s_ldexp.c: Remove __STDC__ conditionals.
4323 * math/s_ldexpf.c: Likewise.
4324 * math/s_ldexpl.c: Likewise.
4325 * math/s_nextafter.c: Likewise.
4326 * math/s_nexttowardf.c: Likewise.
4327 * math/s_significand.c: Likewise.
4328 * math/s_significandf.c: Likewise.
4329 * math/s_significandl.c: Likewise.
4330 * math/w_jnl.c: Likewise.
4331 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4332 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4333 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4334 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4335 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4336 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4337 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
4338 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4339 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4340 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4341 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4342 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4343 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4344 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4345 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4346 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4347 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4348 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4349 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4350 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4351 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4352 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4353 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4354 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4355 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4356 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4357 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4358 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4359 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4360 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4361 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4362 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4363 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4364 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4365 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4366 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4367 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4368 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4369 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4370 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4371 * sysdeps/ieee754/k_standard.c: Likewise.
4372 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4373 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4374 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4375 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4376 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4377 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4378 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4379 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4380 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4381 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4382 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4383 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4384 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4385 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4386 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4387 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4388 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4389 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4390 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4391 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4392 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4393 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4394 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4395 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4396 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4397 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4398 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4399 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4400 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4401 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4402 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4403 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4404 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4405 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4406 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4407 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4408 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4409 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4410 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4411 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4412 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4413 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4414 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4415 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4416 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4417 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4418 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4419 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4420 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4421 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4422 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4423 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4424 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4425 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4426 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4427 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4428 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4429 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4430 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4431 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4432 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4433 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4434 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4435 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4436 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4437 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4438 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4439 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4440 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4441 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4442 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4443 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4444 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4445 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4446 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4447 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4448 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4449 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4450 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4451 * sysdeps/ieee754/s_matherr.c: Likewise.
4452 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4453 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4454 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4455 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4456
965a54a4
JM
44572012-01-26 Joseph Myers <joseph@codesourcery.com>
4458
4459 * crypt/md5.h: Remove __STDC__ conditionals.
4460 * libio/libioP.h: Likewise.
4461 * locale/programs/config.h: Likewise.
4462 * sysdeps/generic/sysdep.h: Likewise.
4463 * sysdeps/i386/asm-syntax.h: Likewise.
4464 * sysdeps/s390/asm-syntax.h: Likewise.
4465 * sysdeps/unix/sysdep.h: Likewise.
4466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4468
7071ad79
JM
44692012-01-26 Joseph Myers <joseph@codesourcery.com>
4470
4471 * libio/libio.h: Remove __STDC__ conditionals.
4472 * malloc/obstack.h: Likewise.
4473 * math/complex.h: Likewise.
4474 * math/math.h: Likewise.
4475 * sysdeps/generic/_G_config.h: Likewise.
4476 * sysdeps/gnu/_G_config.h: Likewise.
4477 * sysdeps/mach/hurd/_G_config.h: Likewise.
4478 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4479 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4480 * sysdeps/sparc/bits/mathdef.h: Likewise.
4481
afc5ed09
UD
44822012-01-26 Ulrich Drepper <drepper@gmail.com>
4483
4484 [BZ #13583]
4485 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 4486 Clean up HAS_* macros.
afc5ed09 4487 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
4488 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4489 possible.
4490 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4491 HAS_AVX.
4492 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4493 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4494 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4495 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4496 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 4497
bdb6de1d
JM
44982012-01-25 Joseph Myers <joseph@codesourcery.com>
4499
4500 * elf/tst-unique3.cc (gets): Remove declaration.
4501 * elf/tst-unique3lib.cc (gets): Likewise.
4502 * elf/tst-unique3lib2.cc (gets): Likewise.
4503 * elf/tst-unique4.cc (gets): Likewise.
4504
b15549e6
UD
45052012-01-24 Ulrich Drepper <drepper@gmail.com>
4506
4507 * include/stdio.h: Add C++ protection. Add gets declarations and
4508 definitions.
4509 * debug/tst-chk1.c: Don't declare gets here.
4510 * stdio-common/tst-gets.c: Likewise.
4511
a037381f
JM
45122012-01-24 Joseph Myers <joseph@codesourcery.com>
4513
4514 * posix/glob: Remove directory.
4515
f1d4aa75
JM
45162012-01-24 Joseph Myers <joseph@codesourcery.com>
4517
4518 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4519
81c0c964
PT
45202012-01-22 Pino Toscano <toscano.pino@tiscali.it>
4521
4522 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4523 of the non-standard EPFNOSUPPORT.
4524
0ea698ae
ST
45252011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
4526
4527 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4528 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4529 ANYWHERE set to 1 only on KERN_NO_SPACE error.
4530
d220b117
UD
45312012-01-21 Ulrich Drepper <drepper@gmail.com>
4532
4533 * wcsmbs/uchar.h: Test __STDC_VERSION__.
4534
3e1aa84e
UD
45352012-01-20 Ulrich Drepper <drepper@gmail.com>
4536
4537 * nscd/aicache.c (addhstaiX): Do not cache negative results of
4538 transient errors.
4539 * nscd/grpcache.c (cache_addgr): Likewise.
4540 * nscd/hstcache.c (cache_addhst): Likewise.
4541 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4542 * nscd/pwdcache.c (cache_addpw): Likewise.
4543 * nscd/servicescache.c (cache_addserv): Likewise.
4544
400aa020
UD
45452012-01-16 Ulrich Drepper <drepper@gmail.com>
4546
d77e7869
UD
4547 * malloc/malloc.c: Various cleanups.
4548 * malloc/hooks.c: Likewise.
4549
400aa020
UD
4550 * stdlib/Makefile (tests): Add bug-fmtmsg1.
4551 * stdlib/bug-fmtmsg1.c: New file.
4552
4553 * stdlib/fmtmsg.c (init): Add missing unlock.
4554 Patch by Peng Haitao <penght@cn.fujitsu.com>.
4555
e0a309cf
MP
45562012-01-12 Marek Polacek <polacek@redhat.com>
4557
4558 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4559 and _GNU_SOURCE.
4560
929d11c7
WS
45612012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4562
4563 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4564 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4565 macro to ensure uniqueness of label name.
4566 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4567 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4568
41d0e869
UD
45692012-01-11 Ulrich Drepper <drepper@gmail.com>
4570
0cc5ed3b
UD
4571 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4572
41d0e869
UD
4573 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4574 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4575 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4576 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4577
a47a831a
UD
45782012-01-10 Ulrich Drepper <drepper@gmail.com>
4579
daa891c0
UD
4580 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4581
4582 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4583 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4584 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4585
e58ef0f2
UD
4586 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4587
a47a831a 4588 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
4589 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4590 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 4591 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
4592
4593 * math/bits/math-finite.h: Add ldexp support.
4594
a0bfc9c7
MP
45952012-01-10 Marek Polacek <polacek@redhat.com>
4596
4597 * locale/programs/localedef.h (show_archive_content): Add noreturn
4598 attribute.
4599
d6e97a1d
UD
46002012-01-09 Ulrich Drepper <drepper@gmail.com>
4601
4602 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4603
d5835c26
UD
46042012-01-08 Ulrich Drepper <drepper@gmail.com>
4605
e5f484c6
UD
4606 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4607
d5835c26
UD
4608 * io/Makefile (headers): Add bits/poll2.h.
4609
d1f741e9
WS
46102011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
4611
4612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4613 typo #include statement.
4614
ec09c1c4
UD
46152012-01-08 Ulrich Drepper <drepper@gmail.com>
4616
4617 * include/sys/cdefs.h: Define __attribute_alloc_size.
4618 * catgets/gencat.c: Add alloc_size attribute and apply consistently
4619 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4620 * elf/pldd.c: Likewise.
4621 * iconv/iconv_charmap.c: Likewise.
4622 * iconv/iconvconfig.c: Likewise.
4623 * iconv/strtab.c: Likewise.
4624 * locale/programs/locale.c: Likewise.
4625 * locale/programs/localedef.h: Likewise.
4626 * locale/programs/simple-hash.c: Likewise.
4627 * nscd/nscd.h: Likewise.
4628 * nss/makedb.c: Likewise.
4629 * sysdeps/generic/ldconfig.h: Likewise.
4630 * locale/programs/localedef.c: Remove xmalloc prototype.
4631 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4632
20b38e03
PP
46332012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4634
4635 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4636 appropriate.
4637
a0da5fe1
UD
46382012-01-08 Ulrich Drepper <drepper@gmail.com>
4639
1d5a644a 4640 * math/Makefile (tests): Add tst-CMPLX.
669704fd 4641 * math/tst-CMPLX.c: New file.
1d5a644a 4642
8784a6db
UD
4643 * math/complex.h (CMPLXL): Fix typo.
4644
d9a216c0
UD
4645 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4646 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4647 GLIBC_2.16.
4648 * debug/tst-chk1.c: Add poll and ppoll tests.
4649 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4650 * include/sys/poll.h: Add hidden proto for ppoll.
4651 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4652 * sysdeps/mach/hurd/ppoll.c: Likewise.
4653 * io/ppoll.c: Likewise.
4654 * debug/poll_chk.c: New file.
4655 * debug/ppoll_chk.c: New file.
4656 * include/bits/poll2.h: New file.
4657 * io/bits/poll2.h: New file.
4658
ac097f5c
UD
4659 [BZ #1350]
4660 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4661
2119dcfa
UD
4662 * configure.in: static is always set to yes. Remove.
4663 * config.make.in: Don't set build-static.
4664 * Makeconfig: Remove use of build-static.
4665 * dlfcn/Makefile: Likewise.
4666 * elf/Makefile: Likewise.
4667 * math/Makefile: Likewise.
4668 * misc/Makefile: Likewise.
4669 * nptl/Makefile: Likewise.
4670 * sysdeps/mach/hurd/Makefile: Likewise.
4671
121766a9
UD
4672 * configure.in: PWD_P is not used anymore.
4673 * config.make.in: Remove PWD_P entry.
4674
51a1d39c 4675 * configure.in: Remove last remnants of RANLIB.
8720d066 4676 No need to check for signed size_t anymore.
215f4bdc
UD
4677 Don't set libc_commonpagesize and libc_relro_required here for Alpha
4678 and IA-64.
3857022a 4679 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
4680 * aclocal.m4: Likewise.
4681
d3ed7225
UD
4682 * wcsmbs/mbrtoc16.c: Implement using towc function.
4683 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4684 * wcsmbs/wcsmbsload.c: Likewise.
4685 * iconv/gconv_simple.c: Likewise.
4686 * iconv/gconv_int.h: Likewise.
4687 * iconv/gconv_builtin.h: Likewise.
4688 * iconv/iconv_prog.c: Remove CHAR16 handling.
4689
4690 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4691
4692 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4693
a0da5fe1
UD
4694 * configure.in: Remove --with-elf and --enable-bounded options.
4695 Dont set base_machine for ia64. More non-ELF conditions removed.
4696 Remove testing and setting of leading underscore information.
4697 * config.make.in (build-bounded): Set to no.
4698 * config.h.in: Remove NO_UNDERSCORES entry.
4699 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4700 them.
4701 * csu/start.c: Remove !NO_UNDERSCORE code.
4702 * locale/localeinfo.h: Likewise.
4703 * sysdeps/generic/machine-gmon.h: Likewise.
4704 * sysdeps/generic/sysdep.h: Likewise.
4705 * sysdeps/i386/sysdep.h: Likewise.
4706 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4707 * sysdeps/mach/sysdep.h: Likewise.
4708 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4709 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4710 * sysdeps/sh/sysdep.h: Likewise.
4711 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4712 * sysdeps/unix/i386/sysdep.S: Likewise.
4713 * sysdeps/unix/sparc/start.c: Likewise.
4714 * sysdeps/unix/sparc/sysdep.S: Likewise.
4715 * sysdeps/unix/sparc/sysdep.h: Likewise.
4716 * sysdeps/unix/start.c: Likewise.
4717 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4718 * sysdeps/x86_64/sysdep.h: Likewise.
4719
df78418a
UD
47202012-01-07 Ulrich Drepper <drepper@gmail.com>
4721
a784e502
UD
4722 [BZ #13553]
4723 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4724 for non-gcc.
4725 * argp/argp-fmtstream.h: Use const instead __const.
4726 * argp/argp.h: Likewise.
4727 * assert/assert.h: Likewise.
4728 * bits/fenv.h: Likewise.
4729 * bits/sched.h: Likewise.
4730 * bits/sigset.h: Likewise.
4731 * bits/sigthread.h: Likewise.
4732 * catgets/nl_types.h: Likewise.
4733 * conform/data/pthread.h-data: Likewise.
4734 * crypt/crypt-private.h: Likewise.
4735 * crypt/crypt.h: Likewise.
4736 * crypt/crypt_util.c: Likewise.
4737 * ctype/ctype.h: Likewise.
4738 * debug/execinfo.h: Likewise.
4739 * debug/mbsnrtowcs_chk.c: Likewise.
4740 * debug/mbsrtowcs_chk.c: Likewise.
4741 * debug/wcsnrtombs_chk.c: Likewise.
4742 * debug/wcsrtombs_chk.c: Likewise.
4743 * debug/wcstombs_chk.c: Likewise.
4744 * dirent/dirent.h: Likewise.
4745 * dlfcn/dlfcn.h: Likewise.
4746 * elf/neededtest4.c: Likewise.
4747 * grp/grp.h: Likewise.
4748 * gshadow/gshadow.h: Likewise.
4749 * iconv/gconv.h: Likewise.
4750 * iconv/gconv_int.h: Likewise.
4751 * iconv/gconv_simple.c: Likewise.
4752 * iconv/iconv.h: Likewise.
4753 * iconv/loop.c: Likewise.
4754 * iconv/skeleton.c: Likewise.
4755 * include/aio.h: Likewise.
4756 * include/aliases.h: Likewise.
4757 * include/argz.h: Likewise.
4758 * include/arpa/inet.h: Likewise.
4759 * include/assert.h: Likewise.
4760 * include/dirent.h: Likewise.
4761 * include/dlfcn.h: Likewise.
4762 * include/execinfo.h: Likewise.
4763 * include/fcntl.h: Likewise.
4764 * include/fenv.h: Likewise.
4765 * include/glob.h: Likewise.
4766 * include/grp.h: Likewise.
4767 * include/libintl.h: Likewise.
4768 * include/mntent.h: Likewise.
4769 * include/netdb.h: Likewise.
4770 * include/pwd.h: Likewise.
4771 * include/rpc/netdb.h: Likewise.
4772 * include/sched.h: Likewise.
4773 * include/search.h: Likewise.
4774 * include/shadow.h: Likewise.
4775 * include/signal.h: Likewise.
4776 * include/stdio.h: Likewise.
4777 * include/stdlib.h: Likewise.
4778 * include/string.h: Likewise.
4779 * include/sys/socket.h: Likewise.
4780 * include/sys/stat.h: Likewise.
4781 * include/sys/statfs.h: Likewise.
4782 * include/sys/statvfs.h: Likewise.
4783 * include/sys/syslog.h: Likewise.
4784 * include/sys/time.h: Likewise.
4785 * include/sys/uio.h: Likewise.
4786 * include/time.h: Likewise.
4787 * include/unistd.h: Likewise.
4788 * include/utmp.h: Likewise.
4789 * include/wchar.h: Likewise.
4790 * include/wctype.h: Likewise.
4791 * inet/aliases.h: Likewise.
4792 * inet/arpa/inet.h: Likewise.
4793 * inet/netinet/ether.h: Likewise.
4794 * inet/netinet/in.h: Likewise.
4795 * intl/libintl.h: Likewise.
4796 * io/bits/fcntl2.h: Likewise.
4797 * io/fcntl.h: Likewise.
4798 * io/ftw.h: Likewise.
4799 * io/sys/poll.h: Likewise.
4800 * io/sys/stat.h: Likewise.
4801 * io/sys/statfs.h: Likewise.
4802 * io/sys/statvfs.h: Likewise.
4803 * io/utime.h: Likewise.
4804 * libio/bits/stdio.h: Likewise.
4805 * libio/bits/stdio2.h: Likewise.
4806 * libio/libio.h: Likewise.
4807 * libio/libioP.h: Likewise.
4808 * libio/stdio.h: Likewise.
4809 * locale/lc-ctype.c: Likewise.
4810 * locale/locale.h: Likewise.
4811 * login/utmp.h: Likewise.
4812 * malloc/arena.c: Likewise.
4813 * malloc/malloc.c: Likewise.
4814 * malloc/malloc.h: Likewise.
4815 * malloc/mcheck.c: Likewise.
4816 * malloc/mtrace.c: Likewise.
4817 * math/bits/mathcalls.h: Likewise.
4818 * math/fenv.h: Likewise.
4819 * math/math_private.h: Likewise.
4820 * misc/bits/error.h: Likewise.
4821 * misc/bits/syslog.h: Likewise.
4822 * misc/err.h: Likewise.
4823 * misc/error.h: Likewise.
4824 * misc/fstab.h: Likewise.
4825 * misc/mntent.h: Likewise.
4826 * misc/regexp.h: Likewise.
4827 * misc/search.h: Likewise.
4828 * misc/sgtty.h: Likewise.
4829 * misc/sys/mman.h: Likewise.
4830 * misc/sys/syslog.h: Likewise.
4831 * misc/sys/uio.h: Likewise.
4832 * misc/sys/xattr.h: Likewise.
4833 * misc/ttyent.h: Likewise.
4834 * nis/rpcsvc/ypclnt.h: Likewise.
4835 * nss/nss.h: Likewise.
4836 * posix/bits/unistd.h: Likewise.
4837 * posix/fnmatch.h: Likewise.
4838 * posix/glob.h: Likewise.
4839 * posix/sched.h: Likewise.
4840 * posix/spawn.h: Likewise.
4841 * posix/sys/wait.h: Likewise.
4842 * posix/unistd.h: Likewise.
4843 * posix/wordexp.h: Likewise.
4844 * pwd/pwd.h: Likewise.
4845 * resolv/netdb.h: Likewise.
4846 * resource/sys/resource.h: Likewise.
4847 * rt/aio.h: Likewise.
4848 * rt/bits/mqueue2.h: Likewise.
4849 * rt/mqueue.h: Likewise.
4850 * shadow/shadow.h: Likewise.
4851 * signal/signal.h: Likewise.
4852 * socket/send.c: Likewise.
4853 * socket/sendto.c: Likewise.
4854 * socket/sys/socket.h: Likewise.
4855 * stdio-common/printf.h: Likewise.
4856 * stdlib/bits/stdlib.h: Likewise.
4857 * stdlib/fmtmsg.h: Likewise.
4858 * stdlib/monetary.h: Likewise.
4859 * stdlib/stdlib.h: Likewise.
4860 * stdlib/ucontext.h: Likewise.
4861 * streams/stropts.h: Likewise.
4862 * string/argz.h: Likewise.
4863 * string/bits/string2.h: Likewise.
4864 * string/string.h: Likewise.
4865 * string/strings.h: Likewise.
4866 * sunrpc/rpc/auth.h: Likewise.
4867 * sunrpc/rpc/auth_des.h: Likewise.
4868 * sunrpc/rpc/clnt.h: Likewise.
4869 * sunrpc/rpc/netdb.h: Likewise.
4870 * sunrpc/rpc/pmap_clnt.h: Likewise.
4871 * sunrpc/rpc/xdr.h: Likewise.
4872 * sysdeps/generic/inttypes.h: Likewise.
4873 * sysdeps/generic/net/if.h: Likewise.
4874 * sysdeps/generic/sys/swap.h: Likewise.
4875 * sysdeps/gnu/net/if.h: Likewise.
4876 * sysdeps/gnu/utmpx.h: Likewise.
4877 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4878 * sysdeps/i386/i486/bits/string.h: Likewise.
4879 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4880 * sysdeps/s390/bits/string.h: Likewise.
4881 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4882 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4883 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4884 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4885 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4886 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4887 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4888 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4889 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4890 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4891 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4892 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4893 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4894 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4895 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4896 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4897 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4898 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4899 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4900 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4901 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4902 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4903 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4904 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4905 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4906 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4907 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4908 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4909 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4910 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4911 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4912 * sysvipc/sys/ipc.h: Likewise.
4913 * sysvipc/sys/msg.h: Likewise.
4914 * sysvipc/sys/sem.h: Likewise.
4915 * sysvipc/sys/shm.h: Likewise.
4916 * termios/termios.h: Likewise.
4917 * time/sys/time.h: Likewise.
4918 * time/time.h: Likewise.
4919 * wcsmbs/bits/wchar2.h: Likewise.
4920 * wcsmbs/uchar.h: Likewise.
4921 * wcsmbs/wchar.h: Likewise.
4922 * wctype/wctype.h: Likewise.
4923
0269750c
UD
4924 [BZ #13551]
4925 * Makeconfig: Remove all but ELF support including AIX support.
4926 * Makerules: Likewise.
4927 * config.h.in: Likewise.
4928 * config.make.in: Likewise.
4929 * configure: Likewise.
4930 * configure.in: Likewise.
4931 * csu/Makefile: Likewise.
4932 * csu/version.c: Likewise.
4933 * debug/Makefile: Likewise.
4934 * dlfcn/Makefile: Likewise.
4935 * elf/Makefile: Likewise.
4936 * extra-lib.mk: Likewise.
4937 * iconv/Makefile: Likewise.
4938 * include/libc-symbols.h: Likewise.
4939 * include/shlib-compat.h: Likewise.
4940 * resolv/Makefile: Likewise.
4941 * resolv/res_libc.c: Likewise.
4942 * rt/Makefile: Likewise.
4943 * sysdeps/i386/asm-syntax.h: Likewise.
4944 * sysdeps/i386/sysdep.h: Likewise.
4945 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4946 * sysdeps/mach/sysdep.h: Likewise.
4947 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4948 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4949 * sysdeps/s390/asm-syntax.h: Likewise.
4950 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4951 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4952 * sysdeps/sh/sysdep.h: Likewise.
4953 * sysdeps/unix/sparc/sysdep.h: Likewise.
4954 * sysdeps/wordsize-32/divdi3.c: Likewise.
4955 * sysdeps/x86_64/sysdep.h: Likewise.
4956
00bbd29b
UD
4957 * argp/Versions: Remove _argp_unlock_xxx.
4958
4959 [BZ #13559]
4960 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4961 * abilist/libBrokenLocale.abilist: Likewise.
4962 * abilist/libanl.abilist: Likewise.
4963 * abilist/libc.abilist: Likewise.
4964 * abilist/libcrypt.abilist: Likewise.
4965 * abilist/libdl.abilist: Likewise.
4966 * abilist/libm.abilist: Likewise.
4967 * abilist/libnsl.abilist: Likewise.
4968 * abilist/libpthread.abilist: Likewise.
4969 * abilist/libresolv.abilist: Likewise.
4970 * abilist/librt.abilist: Likewise.
4971 * abilist/libthread_db.abilist: Likewise.
4972 * abilist/libutil.abilist: Likewise.
4973 * abilist/libnss_db.abilist: New file.
4974
4975 * scripts/abilist.awk: Add support for indirect functions.
4976
a2693a0e
UD
4977 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4978
3f05895f
UD
4979 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4980
ecb6fb48
UD
4981 * shlib-versions: Remove entries for ports architectures.
4982
664f8cb9
UD
4983 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4984 files in ports.
4985 * elf/stackguard-macros.h: Remove support for IA-64.
4986 * elf/tst-auditmod1.c: Likewise.
4987 * sysdeps/generic/ldsodefs.h: Likewise.
4988
7ae81d88
UD
4989 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4990 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4991 configure files.
4992
bdeba135
UD
4993 [BZ #13552]
4994 * configure.in: Remove --enable-omitfp support.
4995 * FAQ.in: Adjust.
4996 * config.make.in: Likewise.
4997 * Makeconfig: Likewise.
4998 * manual/install.texi: Likewise.
4999
d75a0a62
UD
5000 In case anyone cares, the IA-64 architecture could move to ports.
5001 * sysdeps/ia64/*: Removed.
5002 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 5003 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 5004
dcc9756b
UD
5005 [BZ #13555]
5006 * configure.in: Remove entries for unsupported architectures.
5007
d3761ebc 5008 [BZ #13533]
9954432e
UD
5009 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
5010 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
5011 routines.
5012 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
5013 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
5014 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
5015 fall back to using wcrtomb.
5016 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
5017 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
5018 renaming.
5019 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
5020 * wcsmbs/tst-c16c32-1.c: New file.
5021
5022 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
5023 local variable.
5024
c3a87236
UD
5025 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
5026
28926a1b
UD
5027 * elf/tst-unique3.cc: Add explicit declaration of gets.
5028 * elf/tst-unique3lib.cc: Likewise.
5029 * elf/tst-unique3lib2.cc: Likewise.
5030 * elf/tst-unique4.cc: Likewise.
5031
df78418a
UD
5032 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
5033
8ecd6b2a
JM
50342012-01-06 Joseph Myers <joseph@codesourcery.com>
5035
5036 [BZ #13566]
5037 * assert/assert.h (static_assert): Don't define for C++.
5038 * libio/stdio.h (gets): Do declare for C++ <= C++11.
5039 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
5040
9f115170
UD
50412012-01-03 Ulrich Drepper <drepper@gmail.com>
5042
5e0d0300
UD
5043 * iconv/loop.c (single loop): Fix assertion in storing of
5044 remaining bytes.
5045
9f115170
UD
5046 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
5047
81fb02b0
UD
50482012-01-01 Ulrich Drepper <drepper@gmail.com>
5049
5050 * posix/getconf.c: Update copyright year.
5051 * nss/getent.c: Likewise.
a316c1f6 5052 * nss/makedb.c: Likewise.
81fb02b0
UD
5053 * iconv/iconvconfig.c: Likewise.
5054 * iconv/iconv_prog.c: Likewise.
5055 * elf/ldconfig.c: Likewise.
a316c1f6
UD
5056 * elf/pldd.c: Likewise.
5057 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
5058 * catgets/gencat.c: Likewise.
5059 * csu/version.c: Likewise.
5060 * elf/ldd.bash.in: Likewise.
5061 * elf/sprof.c (print_version): Likewise.
5062 * locale/programs/locale.c: Likewise.
5063 * locale/programs/localedef.c: Likewise.
a316c1f6 5064 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
5065 * nscd/nscd.c (print_version): Likewise.
5066 * debug/xtrace.sh: Likewise.
5067 * malloc/memusage.sh: Likewise.
5068 * malloc/mtrace.pl: Likewise.
5069 * debug/catchsegv.sh: Likewise.
5070
2ba92745
JJ
50712011-12-30 Jakub Jelinek <jakub@redhat.com>
5072
5073 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
5074 pure attribute.
5075
dadebdae
UD
50762011-12-24 Ulrich Drepper <drepper@gmail.com>
5077
d3761ebc 5078 [BZ #13533]
db6af3eb
UD
5079 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
5080 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
5081 transformations.
5082 * iconv/gconv_int.h: Likewise.
5083 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
5084 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
5085 from libc for GLIBC_2.16.
5086 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
5087 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
5088 * wcsmbs/uchar.h: Really define mbstate_t.
5089 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
5090 * wcsmbs/c16rtomb.c: New file.
5091 * wcsmbs/mbrtoc16.c: New file.
5092 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
5093 for C/POSIX locale.
5094 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
5095 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
5096
dadebdae
UD
5097 * wcsmbs/wchar.h: Add missing __restrict.
5098
67371b56
UD
50992011-12-23 Ulrich Drepper <drepper@gmail.com>
5100
74033a25
UD
5101 [BZ #13532]
5102 * time/Makefile (routines): Add timespec_get.
5103 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
5104 * time/time.h: Define TIME_UTC and declare timespec_get. Define
5105 timespec for ISO C11.
5106 * time/timespec_get.c: New file.
5107 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
5108 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
5109
380d7e87
UD
5110 [BZ #13531]
5111 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
5112 * stdlib/stdlib.h: Declare aligned_alloc.
5113 * Versions.def: Add GLIBC_2.16 for libc.
5114 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
5115
4e9e7a35
UD
5116 [BZ 13527]
5117 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
5118 ISO C11.
5119
380d7e87 5120 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
5121 code.
5122
03a71829
UD
5123 [BZ #13528]
5124 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
5125
839e283e
UD
5126 [BZ #13529]
5127 * assert/assert.h (static_assert): Define.
5128
ce5294e2 5129 * version.h: Update for 2.16 development version.
90fa7312 5130
8d44e150 5131 [BZ #13526]
d7809905
UD
5132 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
5133 _ISOC11_SOURCE.
5134
c0da14cd
UD
5135 * version.h (RELEASE): Bump for 2.15 release.
5136 * include/features.h (__GLIBC_MINOR__): Bump to 15.
5137
530a3249
MP
5138 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
5139 Patch by Marek Polacek <mpolacek@redhat.com>.
5140
67371b56
UD
5141 * bits/byteswap.h: Protect long long constants with __extension__.
5142 * sysdeps/i386/bits/byteswap.h: Likewise.
5143 * sysdeps/ia64/bits/byteswap.h: Likewise.
5144 * sysdeps/s390/bits/byteswap.h: Likewise.
5145 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5146
15db4de1
LD
51472011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5148
5149 [BZ #13540]
bbe315ea
LD
5150 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
5151 destination buffer.
15db4de1
LD
5152 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5153
2b2596b1
MP
51542011-12-23 Marek Polacek <polacek@redhat.com>
5155
5156 * elf/dl-addr.c (determine_info): Add inline keyword.
5157 * elf/tst-auditmod4b.c (check_avx): Likewise.
5158 * elf/tst-auditmod6b.c (check_avx): Likewise.
5159 * elf/tst-auditmod6c.c (check_avx): Likewise.
5160 * elf/tst-auditmod7b.c (check_avx): Likewise.
5161
70c6c246
UD
51622011-12-23 Ulrich Drepper <drepper@gmail.com>
5163
5164 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
5165 !__SSE_MATH__.
5166
c044cf14
LD
51672011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5168
15db4de1 5169 [BZ #13540]
c044cf14
LD
5170 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
5171 processing for last bytes.
5172
6b13d9d9
BH
51732011-08-06 Bruno Haible <bruno@clisp.org>
5174
d455f537
BH
5175 [BZ #13061]
5176 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
5177 U+0385, not to U+1FEE.
5178
6b13d9d9
BH
5179 [BZ #13062]
5180 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
5181 entry for U+00A5 U+0301.
5182
db910efd
UD
51832011-12-22 Ulrich Drepper <drepper@gmail.com>
5184
27deeafc
UD
5185 [BZ #13166]
5186 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
5187 buffer for the output is too small.
5188
aed9d171
UD
5189 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
5190 optimization.
5191
db910efd
UD
5192 [BZ #13185]
5193 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
5194 SSE flags if possible.
5195
2bd779ae
LD
51962011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5197
e7f9dac3 5198 [BZ #13540]
2bd779ae
LD
5199 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
5200 processing for last bytes.
5201
154bfc16
JM
52022011-12-22 Joseph Myers <joseph@codesourcery.com>
5203
5204 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
5205 (syscall-list-default-options, syscall-list-default-condition)
5206 (syscall-list-includes): Define.
5207 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
5208 list of ABIs and options and #if conditions for each ABI. Do not
5209 handle common syscalls between ABIs specially.
5210 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
5211 Remove.
5212 (syscall-list-variants, syscall-list-32bit-options)
5213 (syscall-list-32bit-condition, syscall-list-64bit-options)
5214 (syscall-list-64bit-condition): Define.
5215 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
5216 (syscall-list-variants, syscall-list-32bit-options)
5217 (syscall-list-32bit-condition, syscall-list-64bit-options)
5218 (syscall-list-64bit-condition): Define.
5219 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
5220 Remove.
5221 (syscall-list-variants, syscall-list-32bit-options)
5222 (syscall-list-32bit-condition, syscall-list-64bit-options)
5223 (syscall-list-64bit-condition): Define.
5224 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
5225 Remove.
5226 (syscall-list-variants, syscall-list-32bit-options)
5227 (syscall-list-32bit-condition, syscall-list-64bit-options)
5228 (syscall-list-64bit-condition): Define.
5229
21eaf3a5
UD
52302011-12-22 Ulrich Drepper <drepper@gmail.com>
5231
16c6f992
UD
5232 * locale/iso-639.def: Add brx entry.
5233
41043168
UD
5234 [BZ #13328]
5235 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
5236 Proposed by Mariusz_Cukr <marcukr@op.pl>.
5237
21eaf3a5
UD
5238 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
5239 __feraiseexcept_renamed.
5240
e3a851a2
UD
52412011-12-21 Ulrich Drepper <drepper@gmail.com>
5242
4920765e
UD
5243 [BZ #13538]
5244 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
5245 EPOLLET with unsigned values.
5246 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5247 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5248
e3a851a2
UD
5249 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
5250 to large cancellation.
5251 * math/s_cacoshf.c: Likewise.
5252 * math/s_cacoshl.c: Likewise.
5253
b27e24b8
RK
52542011-11-18 Richard B. Kreckel <kreckel@ginac.de>
5255
5256 [BZ #13305]
aebefeee 5257 [BZ #12786]
b27e24b8
RK
5258 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
5259 * math/s_cacoshf.c: Likewise.
5260 * math/s_cacoshl.c: Likewise.
5261
ee190f67
UD
52622011-12-21 Ulrich Drepper <drepper@gmail.com>
5263
5264 [BZ #13439]
5265 * iconv/gconv.h: Define __GCONV_SWAP.
5266 * iconvdata/unicode.c: The swap bit must be stored in __flags.
5267 * iconvdata/utf-16.c: Likewise.
5268 * iconvdata/utf-32.c: Likewise.
5269
707f25df
AS
52702011-12-21 Andreas Schwab <schwab@linux-m68k.org>
5271
5272 [BZ #13524]
5273 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
5274 numerator after shifting it by one limb.
5275
d2daaa1e
RÁE
52762011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
5277
5278 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
5279 under [__USE_EXTERN_INLINES].
5280
a4647e72
UD
52812011-12-17 Ulrich Drepper <drepper@gmail.com>
5282
5283 [BZ #13446]
5284 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
5285
f0b264f1
AZ
52862011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5287
5288 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
5289 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
5290 optimized code.
5291 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
5292 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
5293 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
5294 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
5295 for strncasecmp/strncasecmp_l compilation.
5296 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
5297 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
5298
8ef4f244
MP
52992011-12-08 Marek Polacek <mpolacek@redhat.com>
5300
5301 [BZ #13484]
5302 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
5303 of __asm__.
5304
97ac2654
UD
53052011-12-17 Ulrich Drepper <drepper@gmail.com>
5306
5307 [BZ #13506]
5308 * time/tzfile.c (__tzfile_read): Check values from file header.
5309
91d2a845
WS
53102011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5311
5312 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
5313 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
5314 * powerpc/powerpc32/dl-start.S: Likewise.
5315 * powerpc/powerpc32/elf/start.S: Likewise.
5316 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5317 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
5318 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5319 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
5320 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5321 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
5322 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
5323 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5324 * powerpc/powerpc32/fpu/s_round.S: Likewise.
5325 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5326 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5327 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5328 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5329 * powerpc/powerpc32/memset.S: Likewise.
5330 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5331 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5332 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5333 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5334 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5335 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5336 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5337 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5338 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
5339 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
5340 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
5341 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5342 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5343
a1267ba1
AZ
53442011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5345
5346 * math/libm-test.inc: Added more nearbyint tests.
5347 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5348 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5349 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5350 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5351
ad8ac1bd
RL
53522011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
5353
5354 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5355 FD_CLOEXEC.
5356
1d3e4b61
UD
53572011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5358
5359 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5360 Add wcscpy-ssse3 wcscpy-c.
5361 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5362 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5363 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5364 * sysdeps/x86_64/wcschr.S: New file.
5365 * sysdeps/x86_64/wcsrchr.S: New file.
5366 * string/test-strcmp.c: Remove checking of wcscmp function for
5367 wrong alignments.
5368 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5369 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5370 wcsrchr-sse2 wcsrchr-c.
5371 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5372 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5373 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5374 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5375 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5376 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5377 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5378 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5379 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5380 * wcsmbc/wcschr.c (WCSCHR): New macro.
5381
5b330a2d
UD
53822011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5383
5384 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5385 * wcsmbs/test-wcsrchr.c: New file.
5386 * string/test-strrchr.c: Add wcsrchr support.
5387 (WIDE): New macro.
5388 * wcsmbs/test-wcscpy.c: New file.
5389 * string/test-strcpy.c: Add wcscpy support.
5390 (WIDE): New macro.
26428b7c 5391
f039c043
UD
53922011-12-10 Ulrich Drepper <drepper@gmail.com>
5393
5394 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5395 the inner loop.
5396
850fb039
AS
53972011-12-06 Andreas Schwab <schwab@linux-m68k.org>
5398
5399 [BZ #13472]
5400 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5401
4efbd5cb
UD
54022011-12-04 Ulrich Drepper <drepper@gmail.com>
5403
52ff5dd0 5404 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 5405 Minor optimizations.
52ff5dd0 5406
4efbd5cb
UD
5407 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5408 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5409 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5410
8a426e12
UD
54112011-12-03 Ulrich Drepper <drepper@gmail.com>
5412
aff2453d
UD
5413 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5414 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5415 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5416 for gcc to avoid warnings.
5417 * inet/Makefile (tests): Add tst-checks.
5418 * inet/tst-checks.c: New file.
5419
5420 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5421 warning.
5422
5423 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5424 __wmemcmp_sse2.
5425
5426 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5427 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5428
8a426e12
UD
5429 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5430
9bea3473
UD
54312011-12-02 Ulrich Drepper <drepper@gmail.com>
5432
3a965496
UD
5433 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5434 problem.
5435
9bea3473
UD
5436 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5437
f101631b
UD
54382011-11-29 Joseph Myers <joseph@codesourcery.com>
5439
5440 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5441 conditional on GCC version.
5442 (__arch_compare_and_exchange_val_8_acq)
5443 (__arch_compare_and_exchange_val_16_acq)
5444 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5445 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5446 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5447
a98275aa
UD
54482011-12-02 Joseph Myers <joseph@codesourcery.com>
5449
5450 * sysdeps/sh/backtrace.c: New file.
5451
d4cc29a2
AS
54522011-12-02 Andreas Schwab <schwab@redhat.com>
5453
5454 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
5455 parenthesis.
5456
6257af2d
AS
54572011-12-01 Andreas Schwab <schwab@redhat.com>
5458
5459 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5460 falling back to utime.
5461
b5f44c1a
AS
54622011-11-30 Andreas Schwab <schwab@redhat.com>
5463
5464 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
5465 expectations for float.
5466
f3a6cc0a
AS
54672011-11-29 Andreas Schwab <schwab@redhat.com>
5468
5469 * locale/weight.h (findidx): Add parameter len.
5470 * locale/weightwc.h (findidx): Likewise.
5471 * posix/fnmatch_loop.c (FCT): Adjust caller.
5472 * posix/regcomp.c (build_equiv_class): Likewise.
5473 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
5474 * posix/regexec.c (check_node_accept_bytes): Likewise.
5475 * string/strcoll_l.c (STRCOLL): Likewise.
5476 * string/strxfrm_l.c (STRXFRM): Likewise.
5477
9d65ea3a
UD
54782011-11-17 Ulrich Drepper <drepper@gmail.com>
5479
5480 * Makefile.in: Remove CVSOPT handling.
5481 * configure.in: Remove use of AC_REVISION.
5482 * iconvdata/Makefile (distribute): No need to filter out CVS.
5483 * scripts/list-sources.sh: Remove CVS, subversion and monotone
5484 handling.
5485
5583a086
AS
54862011-11-16 Andreas Schwab <schwab@redhat.com>
5487
5488 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5489 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5490 [USE_AS_STRNCASECMP_L]: Likewise.
5491 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5492 NO_TLS_DIRECT_SEG_REFS.
5493 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5494 Fix argument offsets for non-PIC.
5495 [USE_AS_STRNCASECMP_L]: Likewise.
5496 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5497 NO_TLS_DIRECT_SEG_REFS.
5498
d62a8200
UD
54992011-11-15 Ulrich Drepper <drepper@gmail.com>
5500
9d65ea3a 5501 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
5502 O_CLOEXEC.
5503 * locale/loadlocale.c (_nl_load_locale): Likewise.
5504
09f93bd3
AS
55052011-11-15 Andreas Schwab <schwab@redhat.com>
5506
446514f9
AS
5507 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5508 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5509 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5510 (SYSCALL_GETTIME): Set errno on error.
5511
09f93bd3
AS
5512 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5513 count references to noai6ai_cached.
5514
312be3f9
UD
55152011-11-15 Ulrich Drepper <drepper@gmail.com>
5516
5517 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5518
5519 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5520 FD_CLOEXEC for /proc/self/maps.
5521
5522 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5523 FD_CLOEXEC for /proc/meminfo.
5524
5525 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5526 gai.conf.
5527
5528 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
5529 FD_CLOEXEC for given file.
5530
5531 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5532
5533 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5534 FD_CLOEXEC for /etc/hosts.
5535 (_gethtent): Likewise.
5536
5537 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5538
5539 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5540 cancellation and set FD_CLOEXEC for /etc/netgroup.
5541
5542 * nss/nss_files/files-key.c (search): Don't allow cancellation when
5543 reading /etc/publickey.
5544
5545 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5546 allow cancellation when reading /etc/group.
5547
5548 * nss/nss_files/files-alias.c (internal_setent): Don't allow
5549 cancellation.
5550 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
5551
5552 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5553 when using data file.
5554
5555 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5556
5557 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5558 (write_nis_obj): Use "c" and "e" in fopen.
5559
5560 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5561
5562 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5563
5564 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5565
5566 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5567
5568 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5569 locale.alias.
5570
5571 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5572
5573 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5574
5575 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5576
5577 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5578 file parsing and set FD_CLOEXEC.
5579
82af0fa8
UD
55802011-11-14 Ulrich Drepper <drepper@gmail.com>
5581
5582 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5583
a5fb313c
AS
55842011-11-14 Andreas Schwab <schwab@redhat.com>
5585
5586 * malloc/arena.c (arena_get2): Don't call reused_arena when
5587 _int_new_arena failed.
5588
6abf3465
UD
55892011-11-14 Ulrich Drepper <drepper@gmail.com>
5590
5591 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5592 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5593 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5594 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5595 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5596 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5597 to compile strcasecmp and strncasecmp.
5598 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5599 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5600
5601 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5602
76e3966e
UD
56032011-11-13 Ulrich Drepper <drepper@gmail.com>
5604
5605 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5606 locale-defines.sym to gen-as-const-headers.
5607 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5608 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5609 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5610 to compile strcasecmp and strncasecmp.
5611 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5612 strcasecmp_l and strncasecmp_l.
5613 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5614 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5615 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5616 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5617 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5618 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5619 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5620 * sysdeps/i386/i686/multiarch/strncase.S: New file.
5621 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5622 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5623 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5624
ab26144e
UD
56252011-11-12 Ulrich Drepper <drepper@gmail.com>
5626
7edb22ef
UD
5627 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5628 result of SYSDEP_GETTIME_CPU to retval.
5629 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5630 parameter list to macro. Remove trailing semicolon. Adjust users.
5631
9694fc44
UD
5632 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5633 variable.
5634
8ad89ef8
UD
5635 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5636 mantissa words.
5637 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5638
0c822ef9
UD
5639 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5640 from unused variable.
5641
874e0564
UD
5642 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5643 DWARF definitions.
5644 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5645 for assembling.
5646
3a2edc79
UD
5647 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5648 over namespaces.
5649
f3c2577f
UD
5650 * sunrpc/rpc_prot.c (rejected): Fix case value.
5651
294ce126
UD
5652 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5653 unsigned long long int to avoid warnings in shift.
5654
5e2b63c6
UD
5655 * posix/regex_internal.c (re_string_reconstruct): Actually use result
5656 of use of trans.
5657 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5658 variable tmp.
5659
e7f4b08e
UD
5660 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5661 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5662 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5663
ab26144e
UD
5664 * nis/nis_table.c (nis_list): Use variable of correct type for
5665 result of __follow_path call.
5666
8a6d5255
AZ
56672011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5668
5669 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5670 of math functions ceil, trunc, floor, round, and sqrt, when
5671 avaliable on the platform.
5672 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5673 name clash.
5674 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5675 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5676 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5677
aaddc98c
MP
56782011-10-30 Marek Polacek <mpolacek@redhat.com>
5679
5680 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5681 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5682
95b7042b
RM
56832011-11-11 Roland McGrath <roland@hack.frob.com>
5684
5685 * include/unistd.h: Fix __readlink return type.
5686 Reported by Chris Metcalf <cmetcalf@tilera.com>.
5687
57769839
UD
56882011-11-11 Ulrich Drepper <drepper@gmail.com>
5689
5690 * stdlib/ucontext.h: Undo last change for makecontext.
5691
edc5984d
AS
56922011-11-11 Andreas Schwab <schwab@redhat.com>
5693
98591e58
AS
5694 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5695
edc5984d
AS
5696 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5697 * setjmp/setjmp.h: Mark functions as non-leaf.
5698 * setjmp/bits/setjmp2.h: Likewise.
5699 * stdlib/ucontext.h: Likewise.
5700
77cdc054
AS
57012011-11-10 Andreas Schwab <schwab@redhat.com>
5702
5703 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5704 (reused_arena): Don't check arena limit.
5705 (arena_get2): Atomically check arena limit.
5706
fe72eebd
UD
57072011-11-08 Ulrich Drepper <drepper@gmail.com>
5708
5f078c32
UD
5709 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5710 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5711
fe72eebd
UD
5712 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5713 instructions.
5714
ae1bc2fa
AS
57152011-11-07 Andreas Schwab <schwab@redhat.com>
5716
7583a88d
AS
5717 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5718 handler when locking.
5719
ae1bc2fa
AS
5720 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5721 Fix size of allocated buffer.
5722
10fb0bfa
AS
57232011-11-04 Andreas Schwab <schwab@redhat.com>
5724
998832a4
AS
5725 [BZ #10103]
5726 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5727 declarations for long double functions.
5728 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5729
10fb0bfa
AS
5730 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5731
3d7ba52b
AS
57322011-11-03 Andreas Schwab <schwab@redhat.com>
5733
a9ae54a1
AS
5734 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5735 installed.
5736
3d7ba52b
AS
5737 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5738 is disabled.
5739
bc8db248
ST
57402011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5741
5742 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5743
45b96dd6
AS
57442011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5745
647776f6
AS
5746 * include/alloca.h (stackinfo_alloca_round): Define.
5747 (extend_alloca): Use it.
5748 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5749 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5750 here.
5751
d91a8b93
AS
5752 * scripts/check-local-headers.sh: Ignore libaudit.h.
5753
45b96dd6
AS
5754 * nscd/Makefile (extra-objs): Make recursively expanded.
5755
432d41ce
UD
57562011-11-01 Ulrich Drepper <drepper@gmail.com>
5757
34372fc6
UD
5758 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5759 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5760
fadb59f8
UD
5761 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5762 * posix/tst-rfc3484-2.c: Likewise.
5763 * posix/tst-rfc3484-3.c: Likewise.
5764
78239589
UD
5765 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5766 process_vm_writev.
5767 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5768 process_vm_writev.
5769 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5770 process_vm_writev from libc using GLIBC_2.15 version.
5771
432d41ce
UD
5772 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5773
02f9c6cf
PP
57742011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5775
5776 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5777 stack usage.
5778
3a2c0242
UD
57792011-10-31 Ulrich Drepper <drepper@gmail.com>
5780
f4ec4833
UD
5781 [BZ #13367]
5782 * nss/getent.c (initgroups_keys): Show error message in case no group
5783 names are given.
5784
3a2c0242
UD
5785 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5786 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5787 __bump_nl_timestamp.
5788 * nscd/connections (nscd_init): When host database is served open
5789 netlink socket and request notification about configuration changes.
5790 (main_loop_poll): Track netlink file descriptor and bump timestamp
5791 in case data becomes available.
5792 (main_loop_epoll): Likewise.
5793 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5794 (database_pers_head): Add extra_data fileds.
5795 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5796 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5797 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5798 Adjust caller.
5799 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5800 in6ai data, call __free_in6ai.
5801 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5802 Add -DHAVE_NETLINK.
5803 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5804 interface information. Reuse previous data if netlink timestamp
5805 is not changed.
5806 (__bump_nl_timestamp): New function.
5807 (__free_in6ai): New function.
5808
636064eb
UD
58092011-10-30 Ulrich Drepper <drepper@gmail.com>
5810
5811 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5812 close_not_cancel_no_status here.
5813 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5814
9beb2334
UD
58152011-10-29 Ulrich Drepper <drepper@gmail.com>
5816
6ef76f3b
UD
5817 [BZ #13276]
5818 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5819 return value.
5820
0ffc4f3e 5821 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
5822 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5823 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5824
cb95113e
UD
58252011-07-03 Andreas Jaeger <aj@suse.de>
5826
5827 [BZ #10709]
5828 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5829 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5830 * math/libm-test.inc (sin_test): Add test case.
5831
a1b560ff
UD
58322011-10-29 Ulrich Drepper <drepper@gmail.com>
5833
c9aaface
UD
5834 [BZ #13337]
5835 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5836 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5837
d272e7f1
UD
5838 * elf/chroot_canon.c (chroot_canon): Cleanups.
5839
1bc33071
UD
5840 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5841
1760874d
TJ
5842 [BZ #13335]
5843 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5844 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5845
51d91b18
UD
5846 * string/test-strchr.c: Make usable for strchrnul testing.
5847 * string/test-strchrnul.c: New file.
5848 * string/Makefile (strop-tests): Add strchrnul.
5849
a1b560ff 5850 * po/it.po: Update from translation team.
b611fb81 5851 * po/es.po: Likewise.
a1b560ff 5852
a5b81e1f
UD
58532011-10-28 Ulrich Drepper <drepper@gmail.com>
5854
fd52bc6d
UD
5855 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5856 the three constants needed as parameters. Drop the others.
5857 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5858 __m128i_strloadu_tolower.
52e4b9eb
UD
5859 Create and initialize variable zero and use it in all the places
5860 where _mm_setzero_si128 was used.
fd52bc6d 5861
a5b81e1f
UD
5862 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5863 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5864 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5865 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5866 anymore.
5867 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5868 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5869 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5870 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5871 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5872 __mpranred, __mptan.
5873 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5874 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5875 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5876 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5877 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5878 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5879 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5880 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5881 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5882
b4343346
AS
58832011-10-28 Andreas Schwab <schwab@redhat.com>
5884
0c92d8a8
AS
5885 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5886 redefine if SHARED.
5887 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5888
b4343346
AS
5889 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5890 wide char related routines to wcsmbs subdir.
5891
3871f58f
AS
58922011-10-27 Andreas Schwab <schwab@redhat.com>
5893
5894 [BZ #13344]
5895 * misc/sys/cdefs.h (__THROWNL): Define.
5896 * posix/unistd.h: Use __THREADNL instead of __THREAD
5897 for memory synchronization functions.
5898
94d44d9f
RM
58992011-10-26 Roland McGrath <roland@hack.frob.com>
5900
21b64b15 5901 [BZ #13349]
94d44d9f
RM
5902 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5903 doesn't exist.
5904 * manual/stdio.texi (Obstack Streams): Node removed.
5905
f6ce9294
AS
59062011-10-26 Andreas Schwab <schwab@redhat.com>
5907
80479147
AS
5908 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5909 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5910 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5911
f6ce9294
AS
5912 * math/math_private.h (math_force_eval): Allow non-addressable
5913 arguments.
5914 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5915
618280a1
UD
59162011-10-25 Ulrich Drepper <drepper@gmail.com>
5917
e0016b11
UD
5918 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5919 file is not needed.
5920
5921 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5922 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5923 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5924 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5925 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5926 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5927 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5928 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5929 Add AVX variants.
5930 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5931 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5932 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5933 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5934 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5935 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5936 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5937 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5938 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5939 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5940 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5941 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5942 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5943 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5944 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5945 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5946 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5947 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5948 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5949
5950 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5951 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5952
618280a1
UD
5953 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5954 place. Use VEX encoding when compiling for AVX.
5955
37822576
AS
59562011-10-25 Andreas Schwab <schwab@redhat.com>
5957
1f1e1947
AS
5958 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5959 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5960
37822576
AS
5961 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5962
31ea014d
UD
59632011-10-25 Ulrich Drepper <drepper@gmail.com>
5964
d7826aa1 5965 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 5966 useless if() expression.
d7826aa1
UD
5967 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5968 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5969 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5970 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5971 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5972 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5973 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5974 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5975 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5976 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5977 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5978 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5979 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5980 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5981 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5982 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5983 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5984 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5985 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5986
31ea014d
UD
5987 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5988
16437fec
AS
59892011-10-25 Andreas Schwab <schwab@redhat.com>
5990
5991 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5992 condition.
5993 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5994
31d3cc00
UD
59952011-10-25 Ulrich Drepper <drepper@gmail.com>
5996
5997 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5998 .text section. Avoid duplicate constants.
5999 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6000 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6001 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6002 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6003 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6004 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6005 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6006 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6007 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6008 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
6009 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6010 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6011 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
6012 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
6013 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
6014 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
6015 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
6016 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6017 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6018 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6019 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6020 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6021 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6022 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
6023 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
6024 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
6025 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
6026 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
6027 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
6028 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
6029 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
6030 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
6031 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6032 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
6033 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
6034 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
6035 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
6036 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
6037 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
6038 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
6039 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
6040 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
6041 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
6042 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
6043 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
6044
58985aa9
UD
60452011-10-24 Ulrich Drepper <drepper@gmail.com>
6046
202c9deb
UD
6047 * sysdeps/x86_64/dla.h: Move to ...
6048 * sysdeps/x86_64/fpu/dla.h: ...here.
6049 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
6050 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 6051
af968f62
UD
6052 * config.make.in: Add have-mfma4 entry.
6053 * configure.in: Substitute libc_cv_cc_fma4.
6054 * math/Makefile (dbl-only-routines): Add sincostab.
6055 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
6056 Use __sincostab not sincos.
6057 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
6058 name is a macro.
6059 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6060 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6061 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6062 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
6063 using __copysign.
6064 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
6065 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
6066 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
6067 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
6068 and __inv.
6069 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
6070 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
6071 __copysign.
6072 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
6073 define aliases when function name is a macro.
6074 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
6075 sysdeps/ieee754/dbl-64/sincos.tbl.
6076 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
6077 fma4-enabled routines.
6078 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
6079 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
6080 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
6081 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
6082 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
6083 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
6084 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
6085 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
6086 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
6087 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
6088 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
6089 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
6090 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
6091 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
6092 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
6093 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
6094 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
6095 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
6096 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
6097 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
6098 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
6099 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
6100 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
6101 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
6102 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
6103 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
6104 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
6105 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
6106 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
6107 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
6108
58985aa9
UD
6109 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
6110 rename.
6111 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6112 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6113 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6114 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6115 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6116 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6117 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6118 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6119
a201fbcf
AS
61202011-10-24 Andreas Schwab <schwab@redhat.com>
6121
6122 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
6123
fc2ee42a
LD
61242011-10-23 Ulrich Drepper <drepper@gmail.com>
6125
bb3129bd
UD
6126 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
6127
0275fff8
UD
6128 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
6129 prediction.
6130 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
6131
2fa2ae85
UD
6132 * string/strnlen.c: Don't define STRNLEN, reverse logic.
6133 Remove unused variable magic_bits.
6134 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
6135
fc2ee42a
LD
6136 * string/strnlen.c: Define and use STRNLEN macro.
6137 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
6138 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
6139 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
6140 * wcsmbs/wcslen.c: Define and use WCSLEN.
6141 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
6142 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
6143 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
6144 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
6145 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
6146 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
6147 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6148
ce7dd29f
LD
61492011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6150
6151 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6152 strnlen-sse2-no-bsf.
6153 Rename strlen-no-bsf to strlen-sse2-no-bsf.
6154 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
6155 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
6156 Add strnlen support.
6157 (USE_AS_STRNLEN): New macro.
6158 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
6159 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
6160 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
6161 * sysdeps/x86_64/wcslen.S: New file.
6162
979c70a3
MZ
61632011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
6164
6165 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6166 XMM-moves are used for copying on small sizes.
6167
2d09f82f
LD
61682011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6169
6170 * wcsmbs/Makefile (strop-tests): Add wcschr.
6171 * wcsmbs/test-wcschr.c: New file.
6172 * string/test-strchr.c: Update.
6173 Add wcschr support.
6174 (WIDE): New macro.
6175
619fccca
LD
61762011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6177
2d09f82f 6178 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
6179 * wcsmbs/test-wcslen.c: New file.
6180 * string/test-strlen.c: Update.
6181 Add wcslen support.
6182 (WIDE): New macro.
6183
09f699ea
UD
61842011-10-23 Ulrich Drepper <drepper@gmail.com>
6185
6186 * po/it.po: Update from translation team.
6187
95584d3b
LD
61882011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6189
6190 * sysdeps/x86_64/wcscmp.S: Update.
6191 Fix wrong comparison semantics.
6192 wcscmp shall use signed comparison not unsigned.
6193 Don't use substraction to avoid overflow bug.
6194 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6195 * wcsmbc/wcscmp.c: Likewise.
6196 * string/test-strcmp.c: Likewise.
6197 Add new tests to check cases with negative values.
6198
c8b3296b
UD
61992011-10-23 Ulrich Drepper <drepper@gmail.com>
6200
6201 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
6202 * sysdeps/x86_64/dla.h: ...here. New file.
6203 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
6204 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6205 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6206 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6207 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6208 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6209 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6210 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6211 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6212
246ad57a
AS
62132011-10-23 Andreas Schwab <schwab@linux-m68k.org>
6214
6215 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
6216 __ynl_finite aliases.
6217
a1a87169
UD
62182011-10-22 Ulrich Drepper <drepper@gmail.com>
6219
0d355eb7
UD
6220 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6221
a1a87169
UD
6222 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
6223 define DLA_FMA.
6224 [DLA_FMA] (EMULV): Use DLA_FMA.
6225 [DLA_FMA] (MUL12): Use EMULV.
6226 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
6227 that are not needed.
6228 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6229 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6230 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6231 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6232 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6233 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6234 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6235
ee2aafe0
AS
62362011-10-22 Andreas Schwab <schwab@linux-m68k.org>
6237
6238 * math/s_nan.c: Undef __nan.
6239 * math/s_nanf.c: Undef __nanf.
6240 * math/s_nanl.c: Undef __nanl.
6241 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
6242 "math_private.h".
6243
bc62c2fb
UD
62442011-10-22 Ulrich Drepper <drepper@gmail.com>
6245
77425c63
UD
6246 * math/s_catan.c: Add branch predictions.
6247 * math/s_catanf.c: Likewise.
6248 * math/s_catanh.c: Likewise.
6249 * math/s_catanhf.c: Likewise.
6250 * math/s_catanhl.c: Likewise.
6251 * math/s_catanl.c: Likewise.
6252 * math/s_cexp.c: Likewise.
6253 * math/s_cexpf.c: Likewise.
6254 * math/s_cexpl.c: Likewise.
6255 * math/s_clog.c: Likewise.
6256 * math/s_clog10.c: Likewise.
6257 * math/s_clog10f.c: Likewise.
6258 * math/s_clog10l.c: Likewise.
6259 * math/s_clogf.c: Likewise.
6260 * math/s_clogl.c: Likewise.
6261 * math/s_csqrt.c: Likewise.
6262 * math/s_csqrtf.c: Likewise.
6263 * math/s_csqrtl.c: Likewise.
6264 * math/s_ctanf.c: Likewise.
6265 * math/s_ctanh.c: Likewise.
6266 * math/s_ctanhf.c: Likewise.
6267 * math/s_ctanhl.c: Likewise.
6268 * math/s_ctanl.c: Likewise.
6269
bc62c2fb
UD
6270 * math/math_private.h: Define __nan, __nanf, __nanl.
6271 * math/s_cacosh.c: Include <math_private.h>.
6272 * math/s_cacoshl.c: Likewise.
6273 * math/s_casinh.c: Likewise.
6274 * math/s_casinhf.c: Likewise.
6275 * math/s_casinhl.c: Likewise.
6276 * math/s_ccos.c: Rely entire on ccosh.
6277 * math/s_ccosf.c: Rely entire on ccoshf.
6278 * math/s_ccosl.c: Rely entirely on ccoshl.
6279 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
6280 Remove tests for FE_INVALID.
6281 * math/s_ccoshf.c: Likewise.
6282 * math/s_ccoshl.c: Likewise.
6283 * math/s_csin.c: Likewise.
6284 * math/s_csinf.c: Likewise.
6285 * math/s_csinh.c Likewise.
6286 * math/s_csinhf.c: Likewise.
6287 * math/s_csinhl.c: Likewise.
6288 * math/s_csinl.c: Likewise.
6289 * math/s_ctan.c: Likewise.
6290 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
6291 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
6292 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
6293
8ec250a4
UD
62942011-10-21 Ulrich Drepper <drepper@gmail.com>
6295
c196fed8
UD
6296 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
6297 compilation problems.
6298
8ec250a4
UD
6299 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
6300 __builtin_expect.
6301
8d4f46c6
UD
63022011-10-20 Ulrich Drepper <drepper@gmail.com>
6303
ed72b654
UD
6304 * sysdeps/i386/configure.in: Test for -mfma4 option.
6305 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
6306 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
6307 COMMON_CPUID_INDEX_80000001.
6308 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
6309 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
6310 use it if FMA3 is not supported.
6311 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6312
8d4f46c6
UD
6313 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
6314 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6315
d45c60c2
AS
63162011-10-20 Andreas Schwab <schwab@redhat.com>
6317
6318 [BZ #12892]
6319 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
6320 it would create a cycle with a link time dependency.
6321
d9a4d2ab
UD
63222011-10-19 Ulrich Drepper <drepper@gmail.com>
6323
855d1560
UD
6324 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
6325 instruction.
6326 * string/Makefile (strop-tests): Add rawmemchr.
6327 * string/test-rawmemchr.c: New file.
6328
d9a4d2ab
UD
6329 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
6330 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
6331 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
6332 when compiling str{,n}casecmp and when AVX is available. Hook up
6333 new optimized code in initializers.
6334
8f3b1ffe
AS
63352011-10-19 Andreas Schwab <schwab@redhat.com>
6336
6337 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
6338 __feraiseexcept instead of feraiseexcept.
6339
d38f1dba
UD
63402011-10-18 Ulrich Drepper <drepper@gmail.com>
6341
d9a8d0ab
UD
6342 * math/math_private.h: Define defaults for libc_fetestexcept and
6343 libc_feupdateenv.
6344 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
6345 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6346 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6347 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6348 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6349 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6350 libc_fetestexcept and libc_feupdateenv.
6351
4855e3dd
UD
6352 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6353 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6354 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6355 * sysdeps/x86_64/fpu/math_private.h: Define special version of
6356 libc_feholdexcept_setround.
6357
581d30e3
UD
6358 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6359 Add s_nearbyint-c and s_nearbyintf-c.
6360 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6361 nearbyintf inlines.
6362 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6363 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6364 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6365 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6366
d38f1dba
UD
6367 * math/math_private.h: Define defaults for libc_fegetround,
6368 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6369 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6370 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6371 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6372 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6373 standard functions.
6374 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6375 Remove comments and hacks for old compiler versions.
6376 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6377 libc_fegetround, libc_fesetround, libc_feholdexcept, and
6378 libc_feholdexceptl.
6379
caa6c9d8
AS
63802011-10-18 Andreas Schwab <schwab@redhat.com>
6381
6382 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
6383 (__feraiseexcept_renamed): Add __NTH.
6384 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
6385 namespace violations.
6386
97c066e6
UD
63872011-10-17 Ulrich Drepper <drepper@gmail.com>
6388
99ce7b04
UD
6389 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6390
1004d182
UD
6391 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6392
228a984d
UD
6393 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6394 recently added interfaces.
6395 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6396
c8553a6a
UD
6397 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6398 about macro parameter expansion.
6399
ed22dcf6
UD
6400 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6401 __NO_MATH_INLINES is defined. Cleanups.
6402
6403 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6404 and __floorf is target has SSE4.1.
6405 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6406 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6407 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6408 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6409
b171c137
UD
6410 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6411 name.
6412 (floorf): Likewise.
6413
97c066e6
UD
6414 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6415
629f62ef
AS
64162011-10-17 Andreas Schwab <schwab@redhat.com>
6417
49a43d80
AS
6418 * misc/sys/cdefs.h: Fix last change.
6419
629f62ef
AS
6420 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6421 database lookup.
6422
e453f6cd
UD
64232011-10-16 Ulrich Drepper <drepper@gmail.com>
6424
aa78043a
UD
6425 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6426
ad0f5cad
UD
6427 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6428 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6429 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6430 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6431 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6432 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6433 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6434 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6435 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6436 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6437 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6438 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6439 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6440 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6441 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6442 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6443 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6444 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6445 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6446 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6447 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6448 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6449
6450 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6451 ceil, ceilf, floor, floorf.
6452
6453 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6454 Perform IRELATIVE relocations last.
6455
e453f6cd
UD
6456 * elf/do-rel.h: Add another parameter nrelative, replacing the
6457 local variable with the same name. Change name of the function
6458 to end in Rel or Rela (uppercase).
6459 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6460 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
6461 elf_dynamic_do_##reloc function.
6462
fd5bdc09
UD
64632011-10-15 Ulrich Drepper <drepper@gmail.com>
6464
79b195b5
UD
6465 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
6466 is sufficient, at least on modern CPUs.
6467
d4a28569
UD
6468 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
6469
b61099b5
UD
6470 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
6471 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
6472
bcf01e6d
UD
6473 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
6474 __expl_finite.
6475 * math/bits/math-finite.h: Add entries for exp.
6476 * math/e_expl.c: Add __*_finite alias.
6477 * sysdeps/i386/fpu/e_exp.S: Likewise.
6478 * sysdeps/i386/fpu/e_expf.S: Likewise.
6479 * sysdeps/i386/fpu/e_expl.c: Likewise.
6480 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6481 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6482 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6483 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6484 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6485 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6486 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6487
ba1a0d59
UD
6488 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6489 is sufficient, at least on modern CPUs.
6490
fd5bdc09
UD
6491 * ctype/ctype-info.c (__ctype_init): Define.
6492 * include/ctype.h (__ctype_init): Declare.
6493 (__ctype_b_loc): The variable is always initialized.
6494 (__ctype_toupper_loc): Likewise.
6495 (__ctype_tolower_loc): Likewise.
6496 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6497 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6498
7872cfb0
AS
64992011-10-15 Andreas Schwab <schwab@linux-m68k.org>
6500
b468825a
AS
6501 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6502
7872cfb0
AS
6503 * configure.in: Also look in $cxxmachine/include for C++ system
6504 headers.
6505
be13f7bf
LD
65062011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6507
6508 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6509 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6510 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6511 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
6512 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6513 (USE_AS_WMEMCMP): New macro.
6514 Fixing indents.
6515 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6516 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6517 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6518 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6519 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6520 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6521 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6522 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6523 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6524 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6525 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6526 (USE_AS_WMEMCMP): New macro.
6527 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6528 * sysdeps/string/test-memcmp.c: Update.
6529 Fix simple_wmemcmp.
6530 Add new tests.
6531 * wcsmbs/wmemcmp.c: Update.
6532 (WMEMCMP): New macro.
6533 Fix overflow bug.
6534
556a2007
AJ
65352011-10-12 Andreas Jaeger <aj@suse.de>
6536
6537 [BZ #13268]
6538 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6539
538faaa7
UD
65402011-10-15 Ulrich Drepper <drepper@gmail.com>
6541
ab6737ff
UD
6542 * libio/iofwide.c (do_length): Avoid warning.
6543
538faaa7
UD
6544 * ctype/ctype.h (__isctype_f): Add missing __THROW.
6545
396a21b1
UD
65462011-10-14 Ulrich Drepper <drepper@gmail.com>
6547
cdf2901f
UD
6548 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6549
38ad40ce
UD
6550 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6551 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6552 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6553 * sysdeps/i386/i686/fpu/e_log.S: New file.
6554 * sysdeps/i386/i686/fpu/e_logf.S: New file.
6555 * sysdeps/i386/i686/fpu/e_logl.S: New file.
6556
396a21b1
UD
6557 * ctype/ctype.h: Add support for inlined isXXX functions when
6558 compiling C++ code.
6559
6b1f68c9
AS
65602011-10-14 Andreas Schwab <schwab@redhat.com>
6561
349290c0
AS
6562 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6563
6b1f68c9
AS
6564 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6565
f2282d42
RM
65662011-10-13 Roland McGrath <roland@hack.frob.com>
6567
6568 [BZ #13291]
6569 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6570
5298ffa8
AS
65712011-10-13 Andreas Schwab <schwab@redhat.com>
6572
714fad23
AS
6573 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6574 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6575 feraiseexcept.
6576
81dcc7fb
AS
6577 * sysdeps/x86_64/memrchr.S: Check for zero size.
6578
5298ffa8
AS
6579 * string/stratcliff.c: Add memrchr tests.
6580
951fbcec
LD
65812011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6582
6583 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6584 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6585 rawmemchr-sse2 rawmemchr-sse2-bsf.
6586 * sysdeps/i386/i686/multiarch/memchr.S: New file.
6587 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6588 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6589 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6590 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6591 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6592 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6593 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6594 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6595 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6596 * string/memrchr.c (MEMRCHR): New macro.
6597
0ac5ae23
UD
65982011-10-12 Ulrich Drepper <drepper@gmail.com>
6599
6600 Add integration with gcc's -ffinite-math-only and optimize wrapper
6601 functions in libm.
6602 * Versions.def: Define GLIBC_2.15 version for libm.
6603 * math/Makefile (headers): Add bits/math-finite.h.
6604 * math/bits/math-finite.h: New file.
6605 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6606 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6607 * math/e_acoshl.c: Add __*_finite alias.
6608 * math/e_acosl.c: Likewise.
6609 * math/e_asinl.c: Likewise.
6610 * math/e_atan2l.c: Likewise.
6611 * math/e_atanhl.c: Likewise.
6612 * math/e_coshl.c: Likewise.
6613 * math/e_exp10.c: Likewise.
6614 * math/e_exp10f.c: Likewise.
6615 * math/e_exp10l.c: Likewise.
6616 * math/e_exp2l.c: Likewise.
6617 * math/e_fmodl.c: Likewise.
6618 * math/e_gammal_r.c: Likewise.
6619 * math/e_hypotl.c: Likewise.
6620 * math/e_j0l.c: Likewise.
6621 * math/e_j1l.c: Likewise.
6622 * math/e_jnl.c: Likewise.
6623 * math/e_lgammal_r.c: Likewise.
6624 * math/e_log10l.c: Likewise.
6625 * math/e_log2l.c: Likewise.
6626 * math/e_logl.c: Likewise.
6627 * math/e_powl.c: Likewise.
6628 * math/e_sinhl.c: Likewise.
6629 * math/e_sqrtl.c: Likewise.
6630 * math/e_scalb.c: Completely rewritten and optimized.
6631 * math/e_scalbf.c: Likewise.
6632 * math/e_scalbl.c: Likewise.
6633 * math/w_acos.c: Likewise.
6634 * math/w_acosf.c: Likewise.
6635 * math/w_acosl.c: Likewise.
6636 * math/w_acosh.c: Likewise.
6637 * math/w_acoshf.c: Likewise.
6638 * math/w_acoshl.c: Likewise.
6639 * math/w_asin.c: Likewise.
6640 * math/w_asinf.c: Likewise.
6641 * math/w_asinl.c: Likewise.
6642 * math/w_atan2.c: Likewise.
6643 * math/w_atan2f.c: Likewise.
6644 * math/w_atan2l.c: Likewise.
6645 * math/w_atanh.c: Likewise.
6646 * math/w_atanhf.c: Likewise.
6647 * math/w_atanhl.c: Likewise.
6648 * math/w_exp10.c: Likewise.
6649 * math/w_exp10f.c: Likewise.
6650 * math/w_exp10l.c: Likewise.
6651 * math/w_fmod.c: Likewise.
6652 * math/w_fmodf.c: Likewise.
6653 * math/w_fmodl.c: Likewise.
6654 * math/w_j0.c: Likewise.
6655 * math/w_j0f.c: Likewise.
6656 * math/w_j0l.c: Likewise.
6657 * math/w_j1.c: Likewise.
6658 * math/w_j1f.c: Likewise.
6659 * math/w_j1l.c: Likewise.
6660 * math/w_jn.c: Likewise.
6661 * math/w_jnf.c: Likewise.
6662 * math/w_log.c: Likewise.
6663 * math/w_logf.c: Likewise.
6664 * math/w_logl.c: Likewise.
6665 * math/w_log10.c: Likewise.
6666 * math/w_log10f.c: Likewise.
6667 * math/w_log10l.c: Likewise.
6668 * math/w_log2.c: Likewise.
6669 * math/w_log2f.c: Likewise.
6670 * math/w_log2l.c: Likewise.
6671 * math/w_pow.c: Likewise.
6672 * math/w_powf.c: Likewise.
6673 * math/w_powl.c: Likewise.
6674 * math/w_remainder.c: Likewise.
6675 * math/w_remainderf.c: Likewise.
6676 * math/w_remainderl.c: Likewise.
6677 * math/w_scalb.c: Likewise.
6678 * math/w_scalbf.c: Likewise.
6679 * math/w_scalbl.c: Likewise.
6680 * math/w_sqrt.c: Likewise.
6681 * math/w_sqrtf.c: Likewise.
6682 * math/w_sqrtl.c: Likewise.
6683 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6684 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
6685 used.
6686 * math/math_private.h: Declare __kernel_standard_f.
6687 * math/w_cosh.c: Remove cruft and optimize a bit.
6688 * math/w_coshf.c: Likewise.
6689 * math/w_coshl.c: Likewise.
6690 * math/w_exp2.c: Likewise.
6691 * math/w_exp2f.c: Likewise.
6692 * math/w_exp2l.c: Likewise.
6693 * math/w_hypot.c: Likewise.
6694 * math/w_hypotf.c: Likewise.
6695 * math/w_hypotl.c: Likewise.
6696 * math/w_lgamma.c: Likewise.
6697 * math/w_lgamma_r.c: Likewise.
6698 * math/w_lgammaf.c: Likewise.
6699 * math/w_lgammaf_r.c: Likewise.
6700 * math/w_lgammal.c: Likewise.
6701 * math/w_lgammal_r.c: Likewise.
6702 * math/w_sinh.c: Likewise.
6703 * math/w_sinhf.c: Likewise.
6704 * math/w_sinhl.c: Likewise.
6705 * math/w_tgamma.c: Likewise.
6706 * math/w_tgammaf.c: Likewise.
6707 * math/w_tgammal.c: Likewise.
6708 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6709 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6710 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6711 Minor optimizations. Pretty printing. Remove cruft.
6712 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6713 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6714 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6715 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6716 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6717 * sysdeps/i386/fpu/e_asin.S: Likewise.
6718 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6719 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6720 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6721 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6722 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6723 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6724 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6725 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6726 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6727 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6728 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6729 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6730 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6731 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6732 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6733 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6734 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6735 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6736 * sysdeps/i386/fpu/e_log.S: Likewise.
6737 * sysdeps/i386/fpu/e_log10.S: Likewise.
6738 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6739 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6740 * sysdeps/i386/fpu/e_log2.S: Likewise.
6741 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6742 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6743 * sysdeps/i386/fpu/e_logf.S: Likewise.
6744 * sysdeps/i386/fpu/e_logl.S: Likewise.
6745 * sysdeps/i386/fpu/e_pow.S: Likewise.
6746 * sysdeps/i386/fpu/e_powf.S: Likewise.
6747 * sysdeps/i386/fpu/e_powl.S: Likewise.
6748 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6749 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6750 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6751 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6752 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6753 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6754 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6755 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6756 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6757 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6758 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6759 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6760 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6761 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6762 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6763 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6764 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6765 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6766 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6767 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6768 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6769 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6770 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6771 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6772 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6773 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6774 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6775 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6776 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6777 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6778 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6779 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6780 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6781 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6782 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6783 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6784 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6785 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6786 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6787 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6788 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6789 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6790 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6791 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6792 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6793 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6794 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6795 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6796 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6797 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6798 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6799 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6800 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6801 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6802 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6803 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6804 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6805 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6806 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6807 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6808 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6809 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6810 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6811 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6812 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6813 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6814 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6815 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6816 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6817 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6818 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6819 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6820 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6821 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6822 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6823 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6824 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6825 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6826 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6827 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6828 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6829 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6830 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6831 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6832 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6833 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6834 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6835 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6836 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6837 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6838 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6839 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6840 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6841 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6842 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6843 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6844 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6845 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6846 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6847 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6848 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6849 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6850 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6851 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6852 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6853 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6854 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6855 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6856 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6857 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6858 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6859 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6860 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6861 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6862 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6863 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6864 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6865 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6866 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6867 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6868 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6869 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6870 (__isnanf): Likewise.
6871 (__isinf_ns): Likewise.
6872 (__isinf_nsf): Likewise.
6873 (__finite): Likewise.
6874 (__finitef): Likewise.
6875 (__ieee754_sqrt): Define as macro.
6876 (__ieee754_sqrtf): Define as macro.
6877 (__ieee754_sqrtl): Define as macro.
6878 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6879 inlined copy.
6880 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6881 __FINITE_MATH_ONLY__ consistent.
6882 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6883
12cc2fcd
AS
68842011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6885
a843a204
AS
6886 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6887 of rawmemchr.
6888
12cc2fcd
AS
6889 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6890
c853acd5
UD
68912011-10-09 Ulrich Drepper <drepper@gmail.com>
6892
6893 * po/ja.po: Update from translation team.
6894
c658d255
RM
68952011-10-08 Roland McGrath <roland@hack.frob.com>
6896
110946e4
RM
6897 * locale/programs/locarchive.c (prepare_address_space): New function.
6898 (create_archive, enlarge_archive, open_archive): Use it.
6899
50604220
RM
6900 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6901 inside [SHARED], where it is used.
6902
c658d255
RM
6903 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6904
6905 * nss/getent.c (netgroup_keys): Remove unused variable.
6906 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6907
6a621eb7
UD
69082011-10-08 Ulrich Drepper <drepper@gmail.com>
6909
7edb55ce
UD
6910 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6911 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6912 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6913 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6914 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6915 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6916 * math/Makefile (libm-calls): Add s_isinf_ns.
6917 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6918 * math/multc3.c: Likewise.
6919 * math/s_casin.c: Likewise.
6920 * math/s_casinf.c: Likewise.
6921 * math/s_casinl.c: Likewise.
6922 * math/s_ccos.c: Likewise.
6923 * math/s_ccosf.c: Likewise.
6924 * math/s_ccosl.c: Likewise.
6925 * math/s_ctan.c: Likewise.
6926 * math/s_ctanf.c: Likewise.
6927 * math/s_ctanh.c: Likewise.
6928 * math/s_ctanhf.c: Likewise.
6929 * math/s_ctanhl.c: Likewise.
6930 * math/s_ctanl.c: Likewise.
6931 * math/w_fmod.c: Likewise.
6932 * math/w_fmodf.c: Likewise.
6933 * math/w_fmodl.c: Likewise.
6934 * math/w_remainder.c: Likewise.
6935 * math/w_remainderf.c: Likewise.
6936 * math/w_remainderl.c: Likewise.
6937 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6938 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6939 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6940 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6941 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6942 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6943 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6944 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6945
187da0ae
UD
6946 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6947 of the number.
6948 * stdio-common/printf_fphex.c: Likewise.
6949 * stdio-common/printf_size.c: Likewise.
6950
9277c064
UD
6951 * math/e_exp10.c: Include math_private.h using <...> not "...".
6952 * math/e_exp10f.c: Likewise.
6953 * math/e_exp10l.c: Likewise.
6954 * math/e_exp2l.c: Likewise.
6955 * math/e_j0l.c: Likewise.
6956 * math/e_j1l.c: Likewise.
6957 * math/e_jnl.c: Likewise.
6958 * math/e_lgammal_r.c: Likewise.
6959 * math/e_rem_pio2l.c: Likewise.
6960 * math/e_scalb.c: Likewise.
6961 * math/e_scalbf.c: Likewise.
6962 * math/e_scalbl.c: Likewise.
6963 * math/k_cosl.c: Likewise.
6964 * math/k_sinl.c: Likewise.
6965 * math/k_tanl.c: Likewise.
6966 * math/s_cacoshf.c: Likewise.
6967 * math/s_catan.c: Likewise.
6968 * math/s_catanf.c: Likewise.
6969 * math/s_catanh.c: Likewise.
6970 * math/s_catanhf.c: Likewise.
6971 * math/s_catanhl.c: Likewise.
6972 * math/s_catanl.c: Likewise.
6973 * math/s_ccosh.c: Likewise.
6974 * math/s_ccoshf.c: Likewise.
6975 * math/s_ccoshl.c: Likewise.
6976 * math/s_cexp.c: Likewise.
6977 * math/s_cexpf.c: Likewise.
6978 * math/s_cexpl.c: Likewise.
6979 * math/s_clog.c: Likewise.
6980 * math/s_clog10.c: Likewise.
6981 * math/s_clog10f.c: Likewise.
6982 * math/s_clog10l.c: Likewise.
6983 * math/s_clogf.c: Likewise.
6984 * math/s_clogl.c: Likewise.
6985 * math/s_csin.c: Likewise.
6986 * math/s_csinf.c: Likewise.
6987 * math/s_csinh.c: Likewise.
6988 * math/s_csinhf.c: Likewise.
6989 * math/s_csinhl.c: Likewise.
6990 * math/s_csinl.c: Likewise.
6991 * math/s_csqrt.c: Likewise.
6992 * math/s_csqrtf.c: Likewise.
6993 * math/s_csqrtl.c: Likewise.
6994 * math/s_ctan.c: Likewise.
6995 * math/s_ctanf.c: Likewise.
6996 * math/s_ctanh.c: Likewise.
6997 * math/s_ctanhf.c: Likewise.
6998 * math/s_ctanhl.c: Likewise.
6999 * math/s_ctanl.c: Likewise.
7000 * math/s_ldexp.c: Likewise.
7001 * math/s_ldexpf.c: Likewise.
7002 * math/s_ldexpl.c: Likewise.
7003 * math/s_significand.c: Likewise.
7004 * math/s_significandf.c: Likewise.
7005 * math/s_significandl.c: Likewise.
7006 * math/w_acos.c: Likewise.
7007 * math/w_acosf.c: Likewise.
7008 * math/w_acosh.c: Likewise.
7009 * math/w_acoshf.c: Likewise.
7010 * math/w_acoshl.c: Likewise.
7011 * math/w_acosl.c: Likewise.
7012 * math/w_asin.c: Likewise.
7013 * math/w_asinf.c: Likewise.
7014 * math/w_asinl.c: Likewise.
7015 * math/w_atan2.c: Likewise.
7016 * math/w_atan2f.c: Likewise.
7017 * math/w_atan2l.c: Likewise.
7018 * math/w_atanh.c: Likewise.
7019 * math/w_atanhf.c: Likewise.
7020 * math/w_atanhl.c: Likewise.
7021 * math/w_cosh.c: Likewise.
7022 * math/w_coshf.c: Likewise.
7023 * math/w_coshl.c: Likewise.
7024 * math/w_dremf.c: Likewise.
7025 * math/w_exp10.c: Likewise.
7026 * math/w_exp10f.c: Likewise.
7027 * math/w_exp10l.c: Likewise.
7028 * math/w_exp2.c: Likewise.
7029 * math/w_exp2f.c: Likewise.
7030 * math/w_fmod.c: Likewise.
7031 * math/w_fmodf.c: Likewise.
7032 * math/w_fmodl.c: Likewise.
7033 * math/w_hypot.c: Likewise.
7034 * math/w_hypotf.c: Likewise.
7035 * math/w_hypotl.c: Likewise.
7036 * math/w_j0.c: Likewise.
7037 * math/w_j0f.c: Likewise.
7038 * math/w_j0l.c: Likewise.
7039 * math/w_j1.c: Likewise.
7040 * math/w_j1f.c: Likewise.
7041 * math/w_j1l.c: Likewise.
7042 * math/w_jn.c: Likewise.
7043 * math/w_jnf.c: Likewise.
7044 * math/w_jnl.c: Likewise.
7045 * math/w_lgamma.c: Likewise.
7046 * math/w_lgamma_r.c: Likewise.
7047 * math/w_lgammaf.c: Likewise.
7048 * math/w_lgammaf_r.c: Likewise.
7049 * math/w_lgammal.c: Likewise.
7050 * math/w_lgammal_r.c: Likewise.
7051 * math/w_log.c: Likewise.
7052 * math/w_log10.c: Likewise.
7053 * math/w_log10f.c: Likewise.
7054 * math/w_log10l.c: Likewise.
7055 * math/w_log2.c: Likewise.
7056 * math/w_log2f.c: Likewise.
7057 * math/w_log2l.c: Likewise.
7058 * math/w_logf.c: Likewise.
7059 * math/w_logl.c: Likewise.
7060 * math/w_pow.c: Likewise.
7061 * math/w_powf.c: Likewise.
7062 * math/w_powl.c: Likewise.
7063 * math/w_remainder.c: Likewise.
7064 * math/w_remainderf.c: Likewise.
7065 * math/w_remainderl.c: Likewise.
7066 * math/w_scalb.c: Likewise.
7067 * math/w_scalbf.c: Likewise.
7068 * math/w_scalbl.c: Likewise.
7069 * math/w_sinh.c: Likewise.
7070 * math/w_sinhf.c: Likewise.
7071 * math/w_sinhl.c: Likewise.
7072 * math/w_sqrt.c: Likewise.
7073 * math/w_sqrtf.c: Likewise.
7074 * math/w_sqrtl.c: Likewise.
7075 * math/w_tgamma.c: Likewise.
7076 * math/w_tgammaf.c: Likewise.
7077 * math/w_tgammal.c: Likewise.
7078
6a621eb7
UD
7079 * po/ja.po: Update from translation team.
7080
bf582445
AJ
70812011-09-29 Andreas Jaeger <aj@suse.de>
7082
f9efbf3a
AJ
7083 [BZ #13179]
7084 * sunrpc/netname.c (netname2host): Fix logic.
7085
bf582445
AJ
7086 [BZ #6779]
7087 [BZ #6783]
7088 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
7089 correctly.
7090 * math/w_remainder.c (__remainder): Likewise.
7091 * math/w_remainderf.c (__remainderf): Likewise.
7092 * math/libm-test.inc (remainder_test): Add test cases.
7093
48693bea
AK
70942011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7095
7096 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
7097 sdiv_qrnnd.
7098
42622229
LD
70992011-10-07 Ulrich Drepper <drepper@gmail.com>
7100
7101 * string/test-memcmp.c: Avoid unncessary #defines.
7102 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7103
093ecf92
LD
71042011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7105
7106 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
7107 Use new sse2 version for core i3 - i7 as it's faster
7108 than sse42 version.
7109 (bit_Prefer_PMINUB_for_stringop): New.
7110 * sysdeps/x86_64/rawmemchr.S: Update.
7111 Replace with faster SSE2 version.
7112 * sysdeps/x86_64/memrchr.S: New file.
7113 * sysdeps/x86_64/memchr.S: Update.
7114 Replace with faster SSE2 version.
7115
fde56e5c
MP
71162011-09-12 Marek Polacek <mpolacek@redhat.com>
7117
7118 * elf/dl-load.c (lose): Add cast to avoid warning.
7119
21fd49a9
UD
71202011-10-07 Ulrich Drepper <drepper@gmail.com>
7121
5a06e643
UD
7122 * po/ca.po: Update from translation team.
7123
684ae515
UD
7124 * inet/getnetgrent_r.c: Hook up nscd.
7125 * nscd/Makefile (routines): Add nscd_netgroup.
7126 (nscd-modules): Add netgroupcache.
7127 (CFLAGS-netgroupcache.c): Define.
7128 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
7129 (cache_search): Add const to second parameter.
7130 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
7131 INNETGR.
7132 (dbs): Add netgrdb entry.
7133 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
7134 (verify_persistent_db): Handle netgrdb.
7135 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
7136 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
7137 GETFDNETGR.
7138 (netgroup_response_header): Define.
7139 (innetgroup_response_header): Define.
7140 (datahead): Add netgroup_response_header and innetgroup_response_header
7141 elements.
7142 * nscd/nscd.conf: Add entries for netgroup cache.
7143 * nscd/nscd.h (dbtype): Add netgrdb.
7144 (_PATH_NSCD_NETGROUP_DB): Define.
7145 (netgroup_iov_disabled): Declare.
7146 (xmalloc, xcalloc, xrealloc): Move declarations here.
7147 (cache_search): Adjust prototype.
7148 Add netgroup-related prototypes.
7149 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
7150 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
7151 (__nscd_innetgr): Declare.
7152 * nscd/selinux.c (perms): Use access_vector_t as element type and
7153 add netgroup-related initializers.
7154 * nscd/netgroupcache.c: New file.
7155 * nscd/nscd_netgroup.c: New file.
7156 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
7157 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
7158 For four parameters use innetgr.
7159 * nss/nss_files/files-init.c: Add definition and callback for netgr.
7160 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
7161 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
7162 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
7163
21fd49a9
UD
7164 * nscd/connections.c (register_traced_file): Don't register file
7165 for disabled databases.
7166
054c0457
UD
71672011-10-06 Ulrich Drepper <drepper@gmail.com>
7168
32b63198
UD
7169 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
7170
054c0457
UD
7171 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
7172 from tree and freeing node.
7173
64031225
JO
71742011-09-25 Jiri Olsa <jolsa@redhat.com>
7175
7176 * nss/nsswitch.c (__nss_database_lookup): Handle
7177 nss_parse_service_list out of memory case.
7178
0490345c
JO
71792011-09-15 Jiri Olsa <jolsa@redhat.com>
7180
7181 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
7182 out of memory case.
7183
3a62d00d
AS
71842011-10-04 Andreas Schwab <schwab@redhat.com>
7185
7186 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
7187 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
7188 pass it down.
7189 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
7190 elf_machine_rela, elf_machine_lazy_rel.
7191 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
7192 (ELF_DYNAMIC_DO_REL): Likewise.
7193 (ELF_DYNAMIC_DO_RELA): Likewise.
7194 (ELF_DYNAMIC_RELOCATE): Likewise.
7195 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
7196 to ELF_DYNAMIC_DO_REL.
7197 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
7198 (dl_main): In trace mode always set __RTLD_NOIFUNC.
7199 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
7200 elf_machine_rela.
7201 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
7202 skip_ifunc, don't call ifunc function if non-zero.
7203 (elf_machine_rela): Likewise.
7204 (elf_machine_lazy_rel): Likewise.
7205 (elf_machine_lazy_rela): Likewise.
7206 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
7207 (elf_machine_lazy_rel): Likewise.
7208 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
7209 Likewise.
7210 (elf_machine_lazy_rel): Likewise.
7211 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7212 Likewise.
7213 (elf_machine_lazy_rel): Likewise.
7214 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
7215 (elf_machine_lazy_rel): Likewise.
7216 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
7217 (elf_machine_lazy_rel): Likewise.
7218 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7219 (elf_machine_lazy_rel): Likewise.
7220 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7221 (elf_machine_lazy_rel): Likewise.
7222 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7223 (elf_machine_lazy_rel): Likewise.
7224 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7225 (elf_machine_lazy_rel): Likewise.
7226
68577918
UD
72272011-09-28 Ulrich Drepper <drepper@gmail.com>
7228
7229 * nss/nss_files/files-init.c (_nss_files_init): Use static
7230 initialization for all the *_traced_file variables.
7231
68822d74
AS
72322011-09-28 Andreas Schwab <schwab@redhat.com>
7233
7234 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7235
2056100b
RM
72362011-09-27 Roland McGrath <roland@hack.frob.com>
7237
7238 [BZ #13226]
7239 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
7240
32c76b63
AS
72412011-09-27 Andreas Schwab <schwab@redhat.com>
7242
7243 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7244 Reread the line before reparsing it.
7245
bf972c9d
AS
72462011-09-26 Andreas Schwab <schwab@redhat.com>
7247
7248 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
7249
e057a1b5
JM
72502011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
7251 Maxim Kuvyrkov <maxim@codesourcery.com>
7252 Joseph Myers <joseph@codesourcery.com>
7253
7254 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
7255 if needed for __stack_chk_guard.
7256
bc7e1c36
RM
72572011-09-19 Roland McGrath <roland@hack.frob.com>
7258
ecb1482f
RM
7259 * sysdeps/posix/spawni.c (script_execute): Always define it.
7260 It will be optimized away if unused.
7261 (maybe_script_execute): New function.
7262 (__spawni): Call it.
7263
bc7e1c36
RM
7264 * Makerules: Don't include tls.make.
7265 (config-tls): Always set to thread.
7266 * tls.make.c: File removed.
7267
1c3b002b
MF
72682011-09-19 Mike Frysinger <vapier@gentoo.org>
7269
7270 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
7271 * config.make.in (CPPFLAGS-config): New substituted variable.
7272
2840865d
UD
72732011-09-15 Ulrich Drepper <drepper@gmail.com>
7274
88738eb6
UD
7275 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
7276
cbf645a6 7277 [BZ #13192]
2840865d
UD
7278 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
7279 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
7280
b402e91a
RM
72812011-09-15 Roland McGrath <roland@hack.frob.com>
7282
7283 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
7284 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
7285 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7286 (CALL_FAIL): Likewise.
7287 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
7288 (CALL_FAIL): Macro removed.
7289 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
7290
4c1a1f71
UD
72912011-09-15 Ulrich Drepper <drepper@gmail.com>
7292
7293 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
7294 for __FINITE_MATH_ONLY__ == 1.
7295
edc121be
AS
72962011-09-15 Andreas Schwab <schwab@redhat.com>
7297
7298 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
7299 __ieee754_sqrt instead of sqrt.
7300 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
7301 __ieee754_sqrtf instead of sqrtf.
7302 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7303 __floorf instead of floorf.
7304 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
7305 __floorf, __truncf instead of floorf, truncf.
7306
cd205654
UD
73072011-09-14 Ulrich Drepper <drepper@gmail.com>
7308
ee4d0315
UD
7309 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
7310
cd205654
UD
7311 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
7312 __extern_always_inline.
7313 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
7314 32-bit.
7315
48b67d71
AS
73162011-09-14 Andreas Schwab <schwab@redhat.com>
7317
7318 * elf/rtld.c (dl_main): Also relocate in dependency order when
7319 doing symbol dependency testing.
7320
1ae12c75
AS
73212011-09-13 Andreas Schwab <schwab@linux-m68k.org>
7322
7323 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7324 Always define `refsym'.
7325
995a80df
AS
73262011-09-13 Andreas Schwab <schwab@redhat.com>
7327
e529793b
AS
7328 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
7329 (__FD_ELT): Renamed from __FDELT.
7330 * misc/bits/select2.h (__FD_ELT): Likewise.
7331 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
7332 __FD_MASK instead of __FDELT, __FDMASK.
7333 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7334 Likewise.
7335 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7336 Likewise.
7337
52d4fef8
AS
7338 * elf/Makefile (gen-ldd): Fix pattern.
7339
995a80df
AS
7340 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
7341 (init_tls): Likewise.
7342
8682f8b0
UD
73432011-09-12 Ulrich Drepper <drepper@gmail.com>
7344
7345 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7346
de82006d
AS
73472011-09-12 Andreas Schwab <schwab@redhat.com>
7348
a7c8e6a1
AS
7349 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7350 `struct cmsghdr *' instead of `void *'.
7351 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7352 Likewise.
7353
0f31fe77
AS
73542011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7355
7356 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7357 if non-absolute.
7358 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7359 ldd_rewrite_script.
0f31fe77 7360
32b4c839
UD
73612011-09-11 Ulrich Drepper <drepper@gmail.com>
7362
83cd1420
UD
7363 * configure.in: Remove --with-tls option.
7364 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7365 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7366 out in case it is missing.
7367 * sysdeps/ia64/elf/configure.in: Likewise.
7368 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7369 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7370 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7371 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7372 * sysdeps/sh/elf/configure.in: Likewise.
7373 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7374 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7375 * sysdeps/x86_64/elf/configure.in: Likewise.
7376 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7377 * sysdeps/mach/hurd/tls.h: Likewise.
7378
633f745d
UD
7379 [BZ #13067]
7380 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7381
f318beb8
UD
7382 [BZ #13090]
7383 * configure.in: Fix use of AC_INIT.
7384
32b4c839
UD
7385 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7386
3ce1f295
UD
73872011-09-10 Ulrich Drepper <drepper@gmail.com>
7388
bb016596
UD
7389 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7390 __set_errno.
8e58439c
UD
7391 * malloc/hooks.c: Likewise.
7392
aebae053 7393 [BZ #11929]
02d46fc4
UD
7394 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
7395 variables statically.
7396 (narenas): Initialize.
7397 (list_lock): Initialize.
bb016596
UD
7398 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
7399 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
7400 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7401 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
7402 Add initializers to main_arena and mp_.
7403 (malloc_state): Remove pagesize member. Change all users to use
7404 GLRO(dl_pagesize).
7405
7406 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7407 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
7408 is always initialized.
7409
22a89187
UD
7410 * malloc/malloc.c: Removed unused configurations and dead code.
7411 * malloc/arena.c: Likewise.
7412 * malloc/hooks.c: Likewise.
02d46fc4 7413 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 7414
d063d164
UD
7415 * include/tls.h: Removed. USE___THREAD must always be defined.
7416 * bits/libc-tsd.h: Don't handle !USE___THREAD.
7417 * elf/dl-libc.c: Likewise.
7418 * elf/dl-tsd.c: Likewise.
7419 * include/errno.h: Likewise.
7420 * include/netdb.h: Likewise.
7421 * include/resolv.h: Likewise.
7422 * inet/herrno-loc.c: Likewise.
7423 * inet/herrno.c: Likewise.
7424 * malloc/arena.c: Likewise.
7425 * malloc/hooks.c: Likewise.
7426 * malloc/malloc.c: Likewise.
7427 * resolv/res-state.c: Likewise.
7428 * resolv/res_libc.c: Likewise.
7429 * sysdeps/i386/dl-machine.h: Likewise.
7430 * sysdeps/ia64/dl-machine.h: Likewise.
7431 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7432 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7433 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7434 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7435 * sysdeps/sh/dl-machine.h: Likewise.
7436 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7437 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7438 * sysdeps/unix/i386/sysdep.S: Likewise.
7439 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7440 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7441 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7442 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7443 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7444 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7445 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7446 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7447 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7448 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7449 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7450 * sysdeps/x86_64/dl-machine.h: Likewise.
7451 * tls.make.c: Likewise.
7452
3ce1f295
UD
7453 * configure.in: Remove --with-__thread option. Make tests for
7454 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7455 tls_model attribute fail if no support is available. Remove
7456 USE_IN_LIBIO.
7457 * Makeconfig: Adjust for dropped configure option. All features are
7458 now mandatory.
7459 * Makerules: Likewise.
7460 * Versions.def: Likewise.
7461 * argp/argp-fmtstream.c: Likewise.
7462 * argp/argp-fmtstream.h: Likewise.
7463 * argp/argp-help.c: Likewise.
7464 * assert/assert.c: Likewise.
7465 * config.h.in: Likewise.
7466 * config.make.in: Likewise.
7467 * configure: Likewise.
7468 * configure.in: Likewise.
7469 * csu/Versions: Likewise.
7470 * csu/init.c: Likewise.
7471 * elf/tst-audit2.c: Likewise.
7472 * elf/tst-tls10.c: Likewise.
7473 * elf/tst-tls10.h: Likewise.
7474 * elf/tst-tls11.c: Likewise.
7475 * elf/tst-tls12.c: Likewise.
7476 * elf/tst-tls14.c: Likewise.
7477 * elf/tst-tlsmod11.c: Likewise.
7478 * elf/tst-tlsmod12.c: Likewise.
7479 * elf/tst-tlsmod13.c: Likewise.
7480 * elf/tst-tlsmod13a.c: Likewise.
7481 * elf/tst-tlsmod14a.c: Likewise.
7482 * elf/tst-tlsmod15b.c: Likewise.
7483 * elf/tst-tlsmod16a.c: Likewise.
7484 * elf/tst-tlsmod16b.c: Likewise.
7485 * elf/tst-tlsmod7.c: Likewise.
7486 * elf/tst-tlsmod8.c: Likewise.
7487 * elf/tst-tlsmod9.c: Likewise.
7488 * gmon/gmon.c: Likewise.
7489 * grp/fgetgrent_r.c: Likewise.
7490 * grp/putgrent.c: Likewise.
7491 * hurd/fopenport.c: Likewise.
7492 * include/libc-symbols.h: Likewise.
7493 * include/tls.h: Likewise.
7494 * intl/gettextP.h: Likewise.
7495 * intl/loadinfo.h: Likewise.
7496 * locale/global-locale.c: Likewise.
7497 * locale/localeinfo.h: Likewise.
7498 * mach/devstream.c: Likewise.
7499 * malloc/arena.c: Likewise.
7500 * malloc/set-freeres.c: Likewise.
7501 * misc/err.c: Likewise.
7502 * misc/getttyent.c: Likewise.
7503 * misc/mntent_r.c: Likewise.
7504 * posix/getopt.c: Likewise.
7505 * posix/wordexp.c: Likewise.
7506 * pwd/fgetpwent_r.c: Likewise.
7507 * resolv/Versions: Likewise.
7508 * resolv/res_hconf.c: Likewise.
7509 * shadow/fgetspent_r.c: Likewise.
7510 * shadow/putspent.c: Likewise.
7511 * stdio-common/printf_fphex.c: Likewise.
7512 * stdio-common/tmpfile.c: Likewise.
7513 * stdlib/abort.c: Likewise.
7514 * stdlib/fmtmsg.c: Likewise.
7515 * sunrpc/auth_unix.c: Likewise.
7516 * sunrpc/clnt_perr.c: Likewise.
7517 * sunrpc/clnt_tcp.c: Likewise.
7518 * sunrpc/clnt_udp.c: Likewise.
7519 * sunrpc/clnt_unix.c: Likewise.
7520 * sunrpc/openchild.c: Likewise.
7521 * sunrpc/svc_simple.c: Likewise.
7522 * sunrpc/svc_tcp.c: Likewise.
7523 * sunrpc/svc_udp.c: Likewise.
7524 * sunrpc/svc_unix.c: Likewise.
7525 * sunrpc/xdr.c: Likewise.
7526 * sunrpc/xdr_array.c: Likewise.
7527 * sunrpc/xdr_rec.c: Likewise.
7528 * sunrpc/xdr_ref.c: Likewise.
7529 * sunrpc/xdr_stdio.c: Likewise.
7530
1248c1c4
PB
75312011-09-09 Ulrich Drepper <drepper@gmail.com>
7532
7533 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7534
75352011-07-03 Andreas Jaeger <aj@suse.de>
7536
7537 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7538 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7539 regenerate with gen-libm-tests.pl.
7540
75412010-05-12 Petr Baudis <pasky@suse.cz>
7542
7543 [BZ #11589]
7544 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7545 around j0() zero points by switching to j1().
7546 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7547 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7548 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7549 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7550
f22e1074
UD
75512011-09-09 Ulrich Drepper <drepper@gmail.com>
7552
f19009c1
UD
7553 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7554 instead of 0.
7555 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7556 instead of 0. .
7557 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7558 Patch in part by Pavel Roskin <proski@gnu.org>.
7559
3f8cc204
UD
7560 [BZ #13138]
7561 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7562 realloc.
7563 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
7564 Free memory block if necessary.
7565
f22e1074
UD
7566 [BZ #12847]
7567 * libio/genops.c (INTDEF): For string streams the _lock pointer can
7568 be NULL. Don't lock in this case.
7569
0a2349f9
RM
75702011-09-09 Roland McGrath <roland@hack.frob.com>
7571
7572 * elf/elf.h (ELFOSABI_GNU): New macro.
7573 (ELFOSABI_LINUX): Define to that.
7574
f3cdd467
DZ
75752011-07-29 Denis Zaitceff <zaitceff@gmail.com>
7576
7577 * string/strncat.c (strncat): Undef the symbol in case it has been
7578 defined in bits/string.h.
7579
74718d13
UD
75802011-09-09 Ulrich Drepper <drepper@gmail.com>
7581
633e9e0f
UD
7582 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7583
0a2349f9 7584 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
7585 link map.
7586
f9924780
AJ
75872011-08-17 Andreas Jaeger <aj@suse.de>
7588
7589 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7590
7f5517aa
PP
75912011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7592 Ian Lance Taylor <iant@google.com>
7593
7594 * math/libm-test.inc (lround_test): New testcase.
7595 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7596
762011fe
UD
75972011-09-08 Ulrich Drepper <drepper@gmail.com>
7598
92963737
UD
7599 * Makefile: Remove support for automatic cvs check-ins.
7600 * Makerules: Likewise.
7601 * config.make.in: Likewise.
7602 * configure.in: Likewise.
7603 * intl/Makefile: Likewise.
7604 * locale/Makefile: Likewise.
7605 * po/Makefile: Likewise.
7606 * posix/Makefile: Likewise.
7607 * sysdeps/gnu/Makefile: Likewise.
7608 * sysdeps/mach/hurd/Makefile: Likewise.
7609 * sysdeps/sparc/sparc32/Makefile: Likewise.
7610
b0727fd8
JS
7611 [BZ #13118]
7612 * posix/Makefile (bug-regex32-ENV): Define.
7613 Patch by John Stanley <jpsinthemix@verizon.net>.
7614
a0f33f99
UD
7615 * misc/Makefile (headers): Add bits/select2.h.
7616 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7617 * misc/bits/select2.h: New file.
7618 * include/bits/select2.h: New file.
7619 * debug/Makefile (routines): Add fdelt_chk.
7620 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7621 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7622 FD_ISSET.
7623 * debug/fdelt_chk.c: New file.
7624
762011fe
UD
7625 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
7626 * wcsmbs/test-wmemcmp.c: Likewise.
7627 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 7628 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
7629
76302011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7631
7632 * string/Makefile (strop-tests): Add memcmp.
7633 * string/test-wmemcmp.c: New file.
7634 * string/test-memcmp.c: Add wmemcmp support.
7635
7f513ec8
RM
76362011-09-08 Roland McGrath <roland@hack.frob.com>
7637
0442afb4
RM
7638 [BZ #13153]
7639 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7640 2011-07-19 change.
7641
7f513ec8
RM
7642 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7643 garbage value in a __mach_port_mod_refs call in the cases of the
7644 task-self and thread-self ports.
7645
a12b2239
ST
76462011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7647
7648 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7649
610f9ab4
AS
76502011-09-08 Andreas Schwab <schwab@redhat.com>
7651
7f513ec8 7652 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 7653
48882a1a
LD
76542011-09-07 Ulrich Drepper <drepper@gmail.com>
7655
b49865be
UD
7656 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7657
fdc86bc9
UD
7658 * elf/dl-libc.c (dlerror_run): Pass back error code from
7659 dl_catch_error.
7660
c966526a
UD
7661 [BZ #13123]
7662 * elf/dl-load.c (lose): Free l_origin if it is valid.
7663
48882a1a
LD
7664 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7665 names.
7666 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7667 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7668 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7669 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7670 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7671 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7672
77a2a8b4
AZ
76732011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7674
7675 * sysdeps/powerpc/fpu/e_hypot.c: New file.
7676 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7677 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7678 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7679 * sysdeps/powerpc/fpu/k_cosf.c: New file.
7680 * sysdeps/powerpc/fpu/k_sinf.c: New file.
7681 * sysdeps/powerpc/fpu/s_cosf.c: New file.
7682 * sysdeps/powerpc/fpu/s_sinf.c: New file.
7683 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7684 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7685
24f579d8
AM
76862011-08-15 Alan Modra <amodra@gmail.com>
7687
7688 [BZ #13092]
7689 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7690 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7691 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
7692 ppc_mcount to static-only-routines.
7693 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7694 __mcount_internal.
7695 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7696 __mcount_internal with usual JUMPTARGET. Remove useless nop.
7697
3d4837df
UD
76982011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7699
7700 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7701 for finite and infinity parameters.
7702
22700377
WS
77032011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7704
7705 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7706 and add nop instructions for throughput optimization.
7707 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7708
5025581e
WS
77092011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7710
7711 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7712 aligned copy for power7 with vector-scalar instructions.
7713 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7714
08a300c9
L
77152011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7716
7717 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7718 AVX check.
7719
59178ef9
AS
77202011-09-07 Andreas Schwab <schwab@redhat.com>
7721
7722 [BZ #13144]
7723 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7724 last change.
7725
e38ba7ab
UD
77262011-09-07 Ulrich Drepper <drepper@gmail.com>
7727
7728 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7729 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7730 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7731 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7732 clock_gettime.
7733
d53a73ac
UD
77342011-09-06 Ulrich Drepper <drepper@gmail.com>
7735
fc8bffcc
UD
7736 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7737 Forgot to demangle the pointer.
7738
ceaa0c5d
UD
7739 * sysdeps/i386/sysdep.h: Define atom_text_section.
7740 * sysdeps/x86_64/sysdep.h: Likewise.
7741 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7742 section with atom_text_section.
7743 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7744 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7745 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7746 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7747 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7748
a77d3c17
UD
7749 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7750 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7751 already be defined. Change to take two parameters and don't assign
7752 result to variable. Adjust all users.
7753 Define INTERNAL_GETTIME if not already defined.
7754 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7755 call.
7756 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7757 HAVE_CLOCK_GETTIME_VSYSCALL.
7758 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7759
d53a73ac
UD
7760 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7761 gettimeofday vsyscall, just use time.
7762
a8f84144
AS
77632011-09-06 Andreas Schwab <schwab@redhat.com>
7764
7765 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7766 <errno.h>.
7767
ef606249
UD
77682011-09-06 Ulrich Drepper <drepper@gmail.com>
7769
7770 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7771 syscall on x86-64.
7772 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7773 syscall.
7774 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7775 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7776 syscall if possible.
7777
6585cb60
UD
77782011-09-05 Ulrich Drepper <drepper@gmail.com>
7779
7780 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7781 e_ident. Don't pass to find_mapsXX.
7782 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7783
a5f524e4
LD
77842011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7785
7786 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7787 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7788 * sysdeps/x86_64/multiarch/strchr.S: Update.
7789 Check bit_slow_BSF bit.
7790 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7791 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7792 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7793
554881ef
UD
77942011-09-05 Ulrich Drepper <drepper@gmail.com>
7795
d96de963
UD
7796 [BZ #13134]
7797 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7798 before glibc 2.15.
7799 (tryshell): Define.
7800 (__spawni): Change last parameter to be flag. Test
7801 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7802 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7803 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7804 * posix/spawni.c: Likewise.
7805 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7806 * posix/spawnp.c: Likewise. Change normal version to use
7807 SPAWN_XFLAGS_USE_PATH.
7808 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7809 SPAWN_XFLAGS_TRY_SHELL.
7810
d48e5868
UD
7811 [BZ #13150]
7812 * posix/glob.h: Remove gcc 1.x support.
7813
554881ef
UD
7814 [BZ #13068]
7815 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7816
693fb948
LD
78172011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7818
7819 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7820 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7821 strrchr-sse2-bsf
7822 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7823 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7824 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7825 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7826 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7827 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7828
1b48c537
UD
78292011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7830
49d42c37
UD
7831 * sysdeps/x86_64/wcscmp.S: New file.
7832
1b48c537
UD
7833 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7834 wcscmp-c wcscmp-sse2
7835 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7836 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7837 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7838 * wcsmbs/wcscmp.c: Allow renaming.
7839
15c95c5d
DM
78402011-09-05 David S. Miller <davem@davemloft.net>
7841
7842 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7843 stack slot, rather than the struct return pointer slot.
7844 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7845 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7846 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7847 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7848
2f0ad8f3
UD
78492011-09-05 Ulrich Drepper <drepper@gmail.com>
7850
d88ae418
UD
7851 * po/ja.po: Update from translation team.
7852
2f0ad8f3
UD
7853 [BZ #13144]
7854 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7855 kernel in 64-bit binaries.
7856
5f4318d1
DM
78572011-09-01 David S. Miller <davem@davemloft.net>
7858
7859 * elf/elf.h (HWCAP_SPARC_*): Move to..
7860 * sysdeps/sparc/sysdep.h: this new file and add new values.
7861 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7862 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7863 _DL_HWCAP_COUNT to 24.
7864 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7865 entries.
7866 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7867 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7868 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7869 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7870 instead of magic constants.
7871 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7872
3ba57516
DM
78732011-08-31 David S. Miller <davem@davemloft.net>
7874
7875 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7876 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7877 Reimplement to do errno handling inline.
7878 (SYSCALL_ERROR_HANDLER): New macro.
7879 (__SYSCALL_STRING): Do not do errno handling in asm.
7880 (__CLONE_SYSCALL_STRING): Delete.
7881 (__INTERNAL_SYSCALL_STRING): Delete.
7882 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7883 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7884 (PSEUDO): Reimplement to do errno handling inline.
7885 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7886 (SYSCALL_ERROR_HANDLER): New macro.
7887 (__SYSCALL_STRING): Do not do errno handling in asm.
7888 (__CLONE_SYSCALL_STRING): Delete.
7889 (__INTERNAL_SYSCALL_STRING): Delete.
7890 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7891 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7892 i386.
7893 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7894 (inline_syscall*): Add 'err' argument.
7895 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7896 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7897 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7898 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7899
7900 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7901 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7902
2bc17433
AS
79032011-08-30 Andreas Schwab <schwab@redhat.com>
7904
7905 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7906
fbeb5f4d
JO
79072011-08-29 Jiri Olsa <jolsa@redhat.com>
7908
7909 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7910 directive.
7911
ad69cc26
DM
79122011-08-24 David S. Miller <davem@davemloft.net>
7913
7914 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7915
39dd69df
AS
79162011-08-24 Andreas Schwab <schwab@redhat.com>
7917
7918 * elf/Makefile: Add rules to build and run unload8 test.
7919 * elf/unload8.c: New file.
7920 * elf/unload8mod1.c: New file.
7921 * elf/unload8mod1x.c: New file.
7922 * elf/unload8mod2.c: New file.
7923 * elf/unload8mod3.c: New file.
7924
7925 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7926 it wasn't used.
7927
2c0b250a
DM
79282011-08-23 David S. Miller <davem@davemloft.net>
7929
7930 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7931 subtract stack bias.
7932 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7933 %sp not %fp in calculations.
7934 (_JMPBUF_UNWINDS_ADJ): Likewise.
7935
22044b48
DM
7936 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7937 (aio_suspend): Call it to force an exception region around the
7938 AIO_MISC_WAIT() invocation.
7939
2cae4995
AS
79402011-08-23 Andreas Schwab <schwab@redhat.com>
7941
7942 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7943 backslash.
7944
873a772e
AJ
79452011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7946
7947 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7948 protection macro.
7949 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7950 and <dl-machine.h>.
7951 (Elf64_FuncDesc): Remove.
7952
25ad0df1
DM
79532011-08-22 David S. Miller <davem@davemloft.net>
7954
7955 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7956 sigaltstack check, add missing cfi directives.
7957 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7958 missing cfi directives, and sigaltstack handling.
7959
e888bcbe
AS
79602011-08-16 Andreas Schwab <schwab@redhat.com>
7961
7962 [BZ #11724]
7963 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7964 object is seen twice.
7965 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7966
7967 * elf/Makefile (distribute): Add tst-initorder2.c.
7968 (tests): Add tst-initorder2.
7969 (modules-names): Add tst-initorder2a tst-initorder2b
7970 tst-initorder2c tst-initorder2d. Add rules to build them.
7971 ($(objpfx)tst-initorder2.out): New rule.
7972 * elf/tst-initorder2.c: New file.
7973 * elf/tst-initorder2.exp: New file.
7974
87162f46
AS
79752011-08-22 Andreas Schwab <schwab@redhat.com>
7976
70538b7f
AS
7977 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7978
f55ffe58
AS
7979 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7980 dependencies back to end of function.
7981
87162f46
AS
7982 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7983 $(elfobjdir)/ld.so.
7984
91b392a4
UD
79852011-08-21 Ulrich Drepper <drepper@gmail.com>
7986
7987 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7988 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7989 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7990 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7991 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7992 of __vdso_gettimeofday.
7993 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7994 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7995 attribute_hidden.
7996 (_libc_vdso_platform_setup): Remove initialization of
7997 __vdso_gettimeofday and __vdso_time.
7998
5c43483f
UD
79992011-08-20 Ulrich Drepper <drepper@gmail.com>
8000
775a77e7
UD
8001 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
8002 and fgetc_unlocked.
8003 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
8004 getc_unlocked.
89f447ed 8005
49c74ba9
UD
8006 * elf/dl-open.c (add_to_global): Report additions to the global scope
8007 for LD_DEBUG=scopes.
8008 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 8009 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 8010
5c43483f
UD
8011 [BZ #13114]
8012 * stdio-common/Makefile (tests): Add bug24.
8013 * stdio-common/bug24.c: New file.
8014
a101b025
AJ
80152011-08-19 Andreas Jaeger <aj@suse.de>
8016
8017 [BZ #13114]
8018 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
8019 non-existant file when using close-on-exec mode.
8020
c88f1766
UD
80212011-08-20 Ulrich Drepper <drepper@gmail.com>
8022
0276a718
UD
8023 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
8024 the very first instruction.
8025
c88f1766
UD
8026 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
8027 the CFI state in the end.
8028 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
8029 inclusion of dl-trampoline.h.
8030 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
8031
51ccffa0
AS
80322011-08-19 Andreas Schwab <schwab@redhat.com>
8033
94d7165f
AS
8034 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
8035 expectations for long double.
8036
51ccffa0
AS
8037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
8038 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
8039
fd708658 80402011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
8041
8042 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
8043 artificual limit depends upon the system page size.
8044
44f0a71e
UD
80452011-08-17 Ulrich Drepper <drepper@gmail.com>
8046
8047 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
8048 * resolv/Makefile: Define CFLAGS-libresolv.
8049
8de79a24
AS
80502011-08-17 Andreas Schwab <schwab@redhat.com>
8051
8052 * nss/makedb.c (compute_tables): Make variables used in nested
8053 function static.
8054
27724598
UD
80552011-08-17 Ulrich Drepper <drepper@gmail.com>
8056
c5305d88
UD
8057 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
8058 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
8059 if buffer was too small.
8060
27724598
UD
8061 * elf/pldd.c (main): Attach to all threads in the process.
8062 Rewrite /proc handling to use *at functions.
8063
076fe015
UD
80642011-08-16 Ulrich Drepper <drepper@gmail.com>
8065
174baab3
UD
8066 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
8067 specifies first scope to show.
8068 (dl_open_worker): Update callers. Move printing scope of new
8069 object to before the relocation.
44f0a71e 8070 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
8071 * sysdeps/generic/ldsodefs.h: Update declaration.
8072
076fe015
UD
8073 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
8074 string for the scope number.
8075
a60df2c3
UD
80762011-08-14 Ulrich Drepper <drepper@gmail.com>
8077
8078 * nscd/servicescache.c (cache_addserv): Make sure written is always
8079 initialized.
8080
5e4287d1
RM
80812011-08-14 Roland McGrath <roland@hack.frob.com>
8082
85ae0589
RM
8083 * sysdeps/i386/i486/bits/atomic.h
8084 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
8085 statement expression, so as to suppress "set but not used" warning.
8086 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
8087
69f63097
RM
8088 * string/strncat.c (STRNCAT): Use prototype definition.
8089
675456ef
RM
8090 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
8091 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
8092 -Iprograms here.
8093 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
8094 (localedef-modules): Add localedef.
8095 (locale-modules): Add locale.
8096
5e4287d1
RM
8097 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
8098 * elf/rtld.c (dl_main): Invert order of assignment in last change,
8099 to avoid a warning.
8100
9c96ff23
DM
81012011-08-14 David S. Miller <davem@davemloft.net>
8102
8103 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
8104 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
8105
f9ddf089
UD
81062011-08-13 Ulrich Drepper <drepper@gmail.com>
8107
44f0a71e 8108 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
8109 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
8110 * elf/rtld.c (dl_main): Set l_name of vDSO.
8111 Call _dl_show_scope when DL_DEBUG_SCOPES.
8112 (process_dl_debug): Recognize scopes flag and also set it for all.
8113 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
8114 Declare _dl_show_scope.
8115
1dc27704
UD
8116 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
8117 (do_dlopen): Pass caller_dlopen to dl_open.
8118 (__libc_dlopen_mode): Initialize caller_dlopen.
8119
f9ddf089
UD
8120 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
8121 of libc. Make tolower call locale-independent. Optimize a bit by
8122 using isdigit instead of isalnum.
8123 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
8124
9ac533d3
UD
81252011-08-12 Ulrich Drepper <drepper@gmail.com>
8126
8127 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
8128 was a dependency or dynamically loaded.
8129
89edf2e9
UD
81302011-08-11 Ulrich Drepper <drepper@gmail.com>
8131
8e999d29
UD
8132 * intl/l10nflist.c: Allow architecture-specific pop function.
8133 * sysdeps/x86_64/l10nflist.c: New file.
8134
89edf2e9
UD
8135 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
8136 classification.
8137
14d96785
AS
81382011-08-10 Andreas Schwab <schwab@redhat.com>
8139
8140 * include/dirent.h: Add libc_hidden_proto for scandirat and
8141 scandirat64. Don't declare __scandirat64.
8142 * dirent/scandirat.c: Add libc_hidden_def.
8143 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
8144 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
8145
6761ac04
DM
81462011-08-10 David S. Miller <davem@davemloft.net>
8147
8148 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
8149 enum.
8150 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8151 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8152 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8153
c55fbd1e
UD
81542011-08-09 Ulrich Drepper <drepper@gmail.com>
8155
8156 * Versions.def [libc]: Add GLIBC_2.15.
8157 * dirent/Makefile (routines): Add scandirat and scandirat64.
8158 * dirent/Versions [libc]: Export scandirat and scandirat64 for
8159 GLIBC_2.15.
8160 * dirent/dirent.h: Declare scandirat and scandirat64.
8161 * dirent/scandirat.c: New file.
8162 * dirent/scandirat64.c: New file.
8163 * sysdeps/wordsize-64/scandirat.c: New file.
8164 * sysdeps/wordsize-64/scandirat64.c: New file.
8165 * dirent/opendir.c: Define opendirat.
8166 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
8167 using scandirat.
8168 * dirent/scandir64.c: Adjust for scandir.c change.
8169 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
8170 __scandirat64, and __scandir_cancel_handler.
8171 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
8172 additional parameter and use openat instead of open (outside of ld.so).
8173 Add new __opendir as wrapper around __opendirat.
8174 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
8175 here without requiring old scandirat implementation.
8176
879165f2
UD
81772011-08-08 Ulrich Drepper <drepper@gmail.com>
8178
8179 * dirent/scandir.c (cancel_handler): Renamed to
8180 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
8181 defined. Adjust users.
8182 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
8183 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
8184
cb7e923b
UD
81852011-08-04 Ulrich Drepper <drepper@gmail.com>
8186
16292edd
UD
8187 * string/test-string.h (IMPL): Use __STRING to expand name and then
8188 stringify it.
8189
cb7e923b
UD
8190 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
8191 of cleanups.
8192
cff82933
LD
81932011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8194
8195 * string/Makefile: Update.
8196 (strop-tests): Append strncat.
8197 * string/test-wcscmp.c: New file.
8198 New comprehensive test for wcscmp.
8199 * string/test-strcmp.c: Update.
8200 (WIDE): New define.
8201
9be9bfcc
AS
82022011-07-22 Andreas Schwab <schwab@redhat.com>
8203
8204 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
8205 line.
8206
2e96f1c7
AS
82072011-07-26 Andreas Schwab <schwab@redhat.com>
8208
8209 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8210 encoding to ACE if AI_IDN.
8211
85188888
JJ
82122011-08-01 Jakub Jelinek <jakub@redhat.com>
8213
8214 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
8215 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
8216
5fa16e9b
LD
82172011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8218
8219 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
8220 Fix overflow bug in strncat.
8221 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8222
8223 * string/test-strncat.c: Update.
8224 Add new tests for checking overflow bugs.
8225
82262011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8227
8228 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8229 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
8230 * sysdeps/i386/i686/multiarch/strcat.S: New file.
8231 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
8232 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
8233 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
8234 * sysdeps/i386/i686/multiarch/strncat.S: New file.
8235 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
8236 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
8237
8238 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
8239 (USE_AS_STRCAT): Define.
8240 Add strcat and strncat support.
8241 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8242
8c1a459f
AS
82432011-07-25 Andreas Schwab <schwab@redhat.com>
8244
8245 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
8246 __n bigger than INT_MAX+1.
8247 (__strncmp_g): Likewise.
8248
bba33c28
UD
82492011-07-23 Ulrich Drepper <drepper@gmail.com>
8250
798be72d
UD
8251 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
8252 * libio/stido.h: Likewise.
8253
8accd4dc
UD
8254 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
8255 (AF_NFC): Define.
8256 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
8257 (AF_NFC): Define.
8258
cbff0d96
UD
8259 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
8260 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8261 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8262 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8263 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8264
9191c04a
UD
8265 [BZ #13021]
8266 * scripts/test-installation.pl: Don't expect libnss_test1 to be
8267 installed.
8268
bba33c28
UD
8269 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
8270 typo.
8271 (_dl_x86_64_save_sse): Likewise.
8272
90f139dd
UD
82732011-07-22 Ulrich Drepper <drepper@gmail.com>
8274
1aae088a
UD
8275 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
8276 OSXSAVE.
8277 (_dl_x86_64_save_sse): Likewise.
8278
8e2045f5
UD
8279 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
8280
90f139dd
UD
8281 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
8282
1d002f25
AS
82832011-07-21 Andreas Schwab <schwab@redhat.com>
8284
8285 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
8286 change.
8287 (_dl_x86_64_save_sse): Use correct AVX check.
8288
21137f89
UD
82892011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8290
8291 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
8292 bug in strncpy/strncat.
8293 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8294
a65c0b7a
UD
82952011-07-21 Ulrich Drepper <drepper@gmail.com>
8296
8297 * string/tester.c (test_strcat): Add tests for different alignments
8298 of source and destination.
8299 (test_strncat): Likewise.
8300
6986b98a
UD
83012011-07-20 Ulrich Drepper <drepper@gmail.com>
8302
90bb2039
UD
8303 [BZ #12852]
8304 * posix/glob.c (glob): Check passed in values before using them in
8305 expressions to avoid some overflows.
8306 (glob_in_dir): Likewise.
8307
5644ef54
UD
8308 [BZ #13007]
8309 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
8310 check for AVX enablement so that we don't crash with old kernels and
8311 new hardware.
8312 * elf/tst-audit4.c: Add same checks here.
8313 * elf/tst-audit6.c: Likewise.
8314
8315 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 8316
bfc9dc9b
AS
83172011-07-09 Andreas Schwab <schwab@linux-m68k.org>
8318
8319 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
8320
702e64bb
UD
83212011-07-20 Ulrich Drepper <drepper@gmail.com>
8322
8323 * po/cs.po: Update from translation team.
8324 * po/bg.po: Likewise.
8325
295e904f
MP
83262011-07-12 Marek Polacek <mpolacek@redhat.com>
8327
8328 * misc/sys/cdefs.h: Add support for const attribute.
8329 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
8330 to gnu_dev_{major,minor,makedev} functions.
8331
3ff94596
MP
83322011-07-20 Marek Polacek <mpolacek@redhat.com>
8333
8334 * intl/dcigettext.c (get_output_charset): Add missing bracket.
8335
28b59fca
AS
83362011-07-20 Andreas Schwab <schwab@redhat.com>
8337
8338 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
8339 strlen results.
8340
19df733e
AK
83412011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8342
8343 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8344 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
8345 register in order to avoid conflicts with the soft frame pointer
8346 being held in r11 when necessary.
8347 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8348 (INTERNAL_VSYSCALL_NCS): Likewise.
8349
c8835729
MP
83502011-07-14 Marek Polacek <mpolacek@redhat.com>
8351
8352 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8353 * elf/dl-fini.c (_dl_fini): Adjust caller.
8354 * elf/dl-close.c (_dl_close_worker): Likewise.
8355 * sysdeps/generic/ldsodefs.h: Adjust declaration.
8356
b902330c
MP
83572011-07-15 Marek Polacek <mpolacek@redhat.com>
8358
8991e135
MP
8359 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8360 "aux_cache->nlibs < 0".
8361
b902330c
MP
8362 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8363 in the reload-count case.
8364
99710781
LD
83652011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8366
8367 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8368 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8369 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8370 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8371 * sysdeps/x86_64/multiarch/strcat.S: New file.
8372 * sysdeps/x86_64/multiarch/strncat.S: New file.
8373 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8374 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8375 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8376 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8377 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8378 (USE_AS_STRCAT): Define.
8379 Add strcat and strncat support.
8380 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8381 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8382 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8383 * string/strncat.c: Update.
8384 (USE_AS_STRNCAT): Define.
8385 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8386 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8387 and i7.
8388 * sysdeps/x86_64/multiarch/init-arch.h
8389 (bit_Prefer_PMINUB_for_stringop): New.
8390 (index_Prefer_PMINUB_for_stringop): Likewise.
8391 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8392 bit_Prefer_PMINUB_for_stringop.
8393
7dc6bd90
UD
83942011-07-19 Ulrich Drepper <drepper@gmail.com>
8395
8396 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8397 buffer64.
8398 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8399 of casting of buffer.
8400 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8401 buffer32 and buffer64.
8402 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8403 writes instead of casting of buffer.
8404 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8405 buffer32.
8406 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8407 casting of buffer.
8408
e0e72284
AS
84092011-07-19 Andreas Schwab <schwab@redhat.com>
8410
8411 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8412
feb1eb0b
UD
84132011-07-19 Ulrich Drepper <drepper@gmail.com>
8414
8415 * nscd/nscd.c (termination_handler): Don't do anything for a database
8416 if it has not yet been initialized.
8417
298711ff
UD
84182011-07-18 Ulrich Drepper <drepper@gmail.com>
8419
8420 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8421
84222011-07-15 Marek Polacek <mpolacek@redhat.com>
8423
8424 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8425
f9d68389
UD
84262011-07-18 Ulrich Drepper <drepper@gmail.com>
8427
8428 * po/nl.po: Update from translation team.
8429 * po/sv.po: Likewise.
8430
db290cf5
RM
84312011-07-16 Roland McGrath <roland@hack.frob.com>
8432
8433 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8434 now disallowed by GCC.
5c550700 8435
fd5e21c7
RM
8436 * configure.in (use-default-link): Default to yes if a test -shared
8437 link meets our qualifications.
8438 * configure: Regenerated.
8439
5c550700
RM
8440 * config.make.in (output-format): New variable.
8441 * configure.in: Check for ld --print-output-format support.
8442 * configure: Regenerated.
8443 * Makerules ($(common-objpfx)format.lds)
8444 [$(output-format) != unknown]: Just use $(output-format),
8445 instead of the linker-script munging.
8446
9fa2c032
RM
84472011-07-14 Roland McGrath <roland@hack.frob.com>
8448
a6928d51
RM
8449 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8450 of $(common-objpfx)shlib.lds.
8451 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8452
661607b3
RM
8453 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8454 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8455
9fa2c032
RM
8456 * configure.in (-z relro check): Adjust test code to add a large
8457 writable data section after it.
8458 * configure: Regenerated.
8459
defe9061
RM
84602011-07-11 Roland McGrath <roland@hack.frob.com>
8461
8462 * configure.in (-z relro check): Fix test code to make the variable
8463 truly const.
8464 * configure: Regenerated.
8465
319b9ad4
UD
84662011-07-11 Ulrich Drepper <drepper@gmail.com>
8467
8468 * nscd/nscd.h (struct traced_file): Define.
8469 (struct database_dyn): Remove inotify_descr, reset_res, and filename
8470 elements. Add traced_files.
8471 (inotify_fd): Declare.
8472 (register_traced_file): Declare.
8473 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
8474 (inotify_fd): Export.
8475 (resolv_conf_descr): Remove.
8476 (nscd_init): Move inotify descriptor creation to main.
8477 Don't register files for notification here.
8478 (register_traced_file): New function.
8479 (invalidate_cache): Don't use reset_res to determine whether to call
8480 res_init, go through the list of registered files.
8481 (main_loop_poll): The inotify descriptors are now stored in the
8482 structures for the traced files.
8483 (main_loop_epoll): Likewise
8484 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
8485 to __nss_disable_nscd.
8486 * nscd/cache.c (prune_cache): There is no single inotify descriptor
8487 for a database anymore. Check the records for all the registered
8488 files instead.
8489 * nss/Makefile (libnss_files-routines): Add files-init.
8490 (libnss_db-routines): Add db-init.
8491 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8492 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8493 * nss/nss_db/db-init.c: New file.
8494 * nss/nss_files/files-init.c: New file.
8495 * nss/nsswitch.c (nss_load_library): New function. Broken out of
8496 __nss_lookup_function.
8497 (__nss_lookup_function): Call nss_load_library.
8498 (nss_load_all_libraries): New function.
8499 (__nss_disable_nscd): Take parameter with callback function for files
8500 to register. Set is_nscd. Load all the DSOs for the NSS modules
8501 used for the cached services.
8502 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8503 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8504 options for features to all the files in nscd.
8505
8506 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8507
23bee3e8
RM
85082011-07-10 Roland McGrath <roland@hack.frob.com>
8509
8510 * csu/elf-init.c (__libc_csu_init): Comment typo.
8511
46a5b7f0
UD
85122011-07-09 Ulrich Drepper <drepper@gmail.com>
8513
8514 * po/pl.po: Update from translation team.
8515 * po/ja.po: Likewise.
8516 * po/ru.po: Likewise.
8517 * po/ko.po: Likewise.
8518 * po/fr.po: Likewise.
8519
d30cf5bb
RM
85202011-07-09 Roland McGrath <roland@hack.frob.com>
8521
113ddea4
RM
8522 * configure.in (.ctors/.dtors header and trailer check):
8523 Use an empirical test on a built program.
8524 * configure: Regenerated.
8525
574920b4
RM
8526 * configure.in (-z relro check): Use an empirical test on a built DSO.
8527 Detect, but do not require, on ia64.
8528 * configure: Regenerated.
8529
d30cf5bb
RM
8530 * configure.in (READELF): Find it with AC_CHECK_TOOL.
8531 Update tests that use readelf to use $READELF instead.
8532 * configure: Regenerated.
8533
8538fdb3
UD
85342011-07-08 Ulrich Drepper <drepper@gmail.com>
8535
8536 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8537 if the result is not used.
8538
04d08991
AJ
85392011-07-05 Andreas Jaeger <aj@suse.de>
8540
8541 [BZ#9696]
8542 * stdlib/tst-strtod.c: Add testcase.
8543
de283087
AD
85442011-07-07 Ulrich Drepper <drepper@gmail.com>
8545
4e5f31c8 8546 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 8547 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
8548 The latter has a higher limit. Take additional parameter to pass to
8549 the new function.
8550 (__pathconf): Pass file to __statfs_link_max.
8551 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8552 __statfs_link_max.
8553 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8554 __statfs_link_max.
8555
de283087
AD
8556 [BZ #12868]
8557 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8558 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8559 Handle Lustre.
8560 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8561 (__statfs_filesize_max): Likewise.
8562 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8563
c75fa153
AJ
85642011-07-05 Andreas Jaeger <aj@suse.de>
8565
8566 * resolv/res_comp.c (dn_skipname): Remove unused variable.
8567
1a544854
UD
85682011-07-06 Marek Polacek <mpolacek@redhat.com>
8569
8570 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8571 `status' variable.
8572 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8573 Likewise.
8574
6f0eec67
UD
85752011-07-04 H.J. Lu <hongjiu.lu@intel.com>
8576
8577 * Makefile (strop-tests): Add strncat.
8578 * string/test-strncat.c: New file.
8579
aae30307
UD
85802011-06-30 Marek Polacek <mpolacek@redhat.com>
8581
8582 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8583
c0cfb5eb
UD
85842011-06-21 Andreas Jaeger <aj@suse.de>
8585
8586 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8587 Copy rule from iconvdata/Makefile.
8588
01636b21
UD
85892011-07-06 Ulrich Drepper <drepper@gmail.com>
8590
8591 [BZ #12922]
8592 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8593 but no long options are defined, just return 'W'.
8594
9895c8bc
UD
85952011-06-22 Marek Polacek <mpolacek@redhat.com>
8596
8597 [BZ #9696]
8598 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8599
5d4cf042
UD
86002011-07-06 Ulrich Drepper <drepper@gmail.com>
8601
8602 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8603 netgroups to read.
960e5535 8604 (innetgr): Likewise.
5d4cf042 8605
751eb97e
RM
86062011-07-05 Roland McGrath <roland@hack.frob.com>
8607
8608 * config.make.in (install_root): Default to $(DESTDIR).
8609
f15f1e45
UD
86102011-07-05 Ulrich Drepper <drepper@gmail.com>
8611
8612 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8613
4e34ac6a
RM
86142011-07-02 Roland McGrath <roland@hack.frob.com>
8615
5e9b6af4
RM
8616 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8617
84f9ea0f
RM
8618 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8619 containing directory rather than embedding absolute directory names.
8620
ea5ee9f7
RM
8621 * scripts/check-local-headers.sh: Rewritten using awk.
8622 Match by word, not by line. Print error messages for matches.
8623 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8624
1b74661a
RM
8625 * Makerules [shlib-lds-flags empty]:
8626 ($(common-objpfx)libc_pic.opts): New target.
8627 ($(common-objpfx)libc_pic.os.clean): New target.
8628 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8629
8630 * config.make.in (OBJCOPY): New variable.
8631 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8632 * configure: Regenerated.
8633
f781ef40
RM
8634 * config.make.in (use-default-link): New variable.
8635 * configure.in (use_default_link): Grok --with-default-link to set it.
8636 * configure: Regenerated.
8637 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8638 (shlib-lds, shlib-lds-flags): Define to empty.
8639
2d4fa81e
RM
8640 * Makerules (shlib-lds): New variable.
8641 (shlib-lds-flags): New variable.
8642 (build-shlib, build-moduile, build-module-asneeded): Use it.
8643 ($(common-objpfx)libc.so): Use $(shlib-lds).
8644 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8645 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8646
31fffa6b
RM
8647 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8648 DT_FLAGS/DT_FLAGS_1 with zero flags.
8649
4e34ac6a
RM
8650 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8651 linker script munging.
8652
fcfc776b
UD
86532011-07-02 Ulrich Drepper <drepper@gmail.com>
8654
8655 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8656 as 128-bit value.
8657 * crypt/sha512.c (sha512_process_block): Perform total addition using
8658 128-bit if possible.
8659 (__sha512_finish_ctx): Likewise.
8660 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8661 as 64-bit value.
8662 * crypt/sha256.c (SWAP64): Define.
8663 (sha256_process_block): Perform total addition using 64-bit if
8664 possible.
8665 (__sha256_finish_ctx): Likewise.
8666
99231d9a
UD
86672011-07-01 Ulrich Drepper <drepper@gmail.com>
8668
8669 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
8670 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8671 * nscd/hstcache.c (cache_addhst): Likewise.
8672 * nscd/grpcache.c (cache_addgr): Likewise.
8673 * nscd/aicache.c (addhstaiX): Likewise
8674 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8675
445b4a53
TK
86762011-07-01 Thorsten Kukuk <kukuk@suse.de>
8677
8678 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8679 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8680 * nscd/hstcache.c (cache_addhst): Likewise.
8681 * nscd/grpcache.c (cache_addgr): Likewise.
8682 * nscd/aicache.c (addhstaiX): Likewise
8683
6d4d8e8e
AS
86842011-07-01 Andreas Schwab <schwab@redhat.com>
8685
8686 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8687 domain only when needed.
8688
89f654c5
AS
86892011-06-30 Andreas Schwab <schwab@redhat.com>
8690
8691 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8692 is always restored.
8693
cf3b23ff
UD
86942011-06-29 Ulrich Drepper <drepper@gmail.com>
8695
8696 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8697 are re-adding the entry.
8698 * nscd/servicescache.c (cache_addserv): Likewise.
8699
751626f9
AJ
87002011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8701
8702 * sysdeps/generic/dl-irel.h: fix protection against multiple
8703 inclusions.
8704 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8705
9113ea1f
UD
87062011-06-28 Ulrich Drepper <drepper@gmail.com>
8707
5c0b8d90
UD
8708 [BZ #12935]
8709 * malloc/memusage.sh: Fix quoting in message.
8710 * debug/xtrace.sh: Likewise.
8711
9113ea1f
UD
8712 * configure.in: Remove support for --experimental-malloc option, make
8713 it the default.
8714 * config.make.in: Likewise.
8715 * malloc/Makefile: Likewise.
8716
a4172181
AS
87172011-06-27 Andreas Schwab <schwab@redhat.com>
8718
8719 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8720 two-byte characters.
8721
78a7eee7
RM
87222011-06-27 Roland McGrath <roland@hack.frob.com>
8723
62bede13
RM
8724 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8725 AC_CACHE_CHECK invocation.
8726 * configure: Regenerated.
8727
78a7eee7
RM
8728 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8729
5ce33a62
UD
87302011-06-27 Ulrich Drepper <drepper@gmail.com>
8731
034807a9
UD
8732 [BZ #12350]
8733 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8734 bit from old_res_options.
8735
4902da17
UD
8736 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8737
5ce33a62
UD
8738 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8739 value type for setfct.
8740
c2344f56
L
87412011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8742
8743 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8744 __gettimeofday instead of gettimeofday.
8745
68468076
UD
87462011-06-26 Ulrich Drepper <drepper@gmail.com>
8747
8748 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8749
acb0d739
L
87502011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8751
8752 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8753
8754 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8755 info.
8756
8912479f
L
87572011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8758
8759 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8760 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8761 strcpy-sse2-unaligned strncpy-sse2-unaligned
8762 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8763 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8764 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8765 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8766 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8767 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8768 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8769 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8770 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8771 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8772 (STRCPY): Support SSE2 and SSSE3 versions.
8773
d5495a11
UD
87742011-06-24 Ulrich Drepper <drepper@gmail.com>
8775
8776 [BZ #12874]
8777 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8778 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8779 kernels which artificially limit size of requests.
8780
0b1cbaae
L
87812011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8782
8783 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8784 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8785 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8786 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8787 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8788 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8789 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8790 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8791 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8792 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8793 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8794 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8795 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8796 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8797 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8798 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8799 Enable unaligned load optimization for Intel Core i3, i5 and i7
8800 processors.
8801 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8802 Define.
8803 (index_Fast_Unaligned_Load): Define.
8804 (HAS_FAST_UNALIGNED_LOAD): Define.
8805
07f494a0
MP
88062011-06-23 Marek Polacek <mpolacek@redhat.com>
8807
8808 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8809
fa3fc0fe
UD
88102011-06-22 Ulrich Drepper <drepper@gmail.com>
8811
8812 [BZ #12907]
8813 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8814 until it is clear that the information is realy needed.
8815 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8816
e12df166
AS
88172011-06-22 Andreas Schwab <schwab@redhat.com>
8818
8819 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8820
852eb34d
UD
88212011-06-22 Ulrich Drepper <drepper@gmail.com>
8822
84e2a551
UD
8823 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8824 /sys/devices/system/cpu/online if it is usable.
8825
852eb34d
UD
8826 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8827 reading the information from the /proc filesystem to once a second.
8828
6e502e19
UD
88292011-06-21 Andreas Jaeger <aj@suse.de>
8830
8831 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8832 NULL after inclusion of kernel headers.
8833
75d39ff2
UD
88342011-06-21 Ulrich Drepper <drepper@gmail.com>
8835
51f9aa6a
UD
8836 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8837 calls to internal_setent.
8838
c0244a9d
UD
8839 [BZ #12885]
8840 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8841 addresses using gethostbyname4_r ignore IPv4 addresses.
8842
c5e3c2ae
UD
8843 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8844 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8845
75d39ff2
UD
8846 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8847
42675c6f
DM
88482011-06-20 David S. Miller <davem@davemloft.net>
8849
8850 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8851 inclusions.
8852 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8853
8854 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8855 (elf_irel): Use it.
8856 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8857 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8858 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8859 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8860 * sysdeps/x86_64/dl-irel.h: Likewise.
8861
8862 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8863 * elf/dl-sym.c: Likewise.
8864
57912a71
UD
88652011-06-15 Ulrich Drepper <drepper@gmail.com>
8866
8867 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8868 need to dereference resplen2.
8869
ee22793d
AS
88702011-06-14 Andreas Schwab <schwab@redhat.com>
8871
8872 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8873
a9e836b0
UD
88742011-06-15 Ulrich Drepper <drepper@gmail.com>
8875
77fb9117
UD
8876 * Makeconfig: Define vardbdir and inst_vardbdir.
8877 * nss/Makefile: Add rules to install db-Makefile.
8878
40c1b22c
UD
8879 * nss/nss_db/db-XXX.c: Cleanup.
8880
9f2da732
UD
8881 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8882 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8883 GLIBC_PRIVATE.
8884 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8885 * nss/makedb.c: Implement -g option to specify that value strings
8886 are generated and should not be added to table iterated over for
8887 get*ent calls.
8888 * nss/nss_db/db-initgroups.c: New file.
8889
82e9a1f7
UD
8890 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8891 interface.
8892
c41af17e
UD
8893 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8894 (internal_getgrouplist): Adjust to name change.
8895 Update use_initgroups_entry if this is not the first call.
8896 * nss/databases.def: Add initgroups entry.
8897
a9e836b0
UD
8898 * nss/makedb.c (compute_tables): Check result of multiple hash table
8899 sizes to minimize maximum chain length.
8900
2666d441
UD
89012011-06-14 Ulrich Drepper <drepper@gmail.com>
8902
8903 * Versions.def: Add entry for libnss_db.
8904 * shlib-versions: Likewise.
8905 * nss/Makefile: Add rules to build libnss_db.
8906 * nss/Versions: Add libnss_db information. Organize libnss_files
8907 entries better.
8908 * nss/db-Makefile: Add gshadow support. Change rules for the new
8909 makedb progra. Some minor improvements to generate smaller files.
8910 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8911 here from...
8912 * nss/makedb.c: ...here.
8913 Improve database format to be smaller and require less memory at
8914 runtime.
8915 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8916 db anymore.
8917 * nss/nss_db/db-netgrp.c: Likewise.
8918 * nss/nss_db/db-open.c: Likewise.
8919 * nss/nss_files/flies-XXX.x: Adjust comments.
8920 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8921 * nss/nss_files/files-grp.c: Likewise.
8922 * nss/nss_files/files-hosts.c: Likewise.
8923 * nss/nss_files/files-network.c: Likewise.
8924 * nss/nss_files/files-proto.c: Likewise.
8925 * nss/nss_files/files-pwd.c: Likewise.
8926 * nss/nss_files/files-rpc.c: Likewise.
8927 * nss/nss_files/files-service.c: Likewise.
8928 * nss/nss_files/files-sgrp.c: Likewise.
8929 * nss/nss_files/files-spwd.c: Likewise.
8930 * nss/nss_db/db-alias.c: Removed.
8931 * nss/nss_db/dummy-db.h: Removed.
8932
9ee76b5a
UD
89332011-06-02 Ulrich Drepper <drepper@gmail.com>
8934
8935 * nss/makedb.c: Rewritten to not use database library.
8936 * nss/Makefile: Update to build new makedb program.
8937
c71ca1f8
AJ
89382011-06-14 Andreas Jaeger <aj@suse.de>
8939
8940 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8941 memset declaration.
8942
3154bfb8
UD
89432011-06-10 Andreas Schwab <schwab@redhat.com>
8944
8945 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8946 tmpbuf.
8947
b350afab
RM
89482011-06-10 Roland McGrath <roland@hack.frob.com>
8949
decd4e50
RM
8950 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8951 * elf/Makefile ($(objpfx)ld.so): Likewise.
8952
5615eaf2
RM
8953 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8954 Don't list ld.so twice in dependencies.
8955
8956 * posix/bug-regex31.c: Include <stdlib.h>.
8957
8958 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8959
8960 * nis/nss_compat/compat-spwd.c
8961 (getspent_next_nss_netgr): Remove unused variable.
8962 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8963
8964 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8965 nonmembers" output to use the right array.
8966
8967 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8968
8969 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8970
8971 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8972 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8973 * catgets/gencat.c (read_input_file): Likewise.
8974 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8975
8976 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8977 variable definition inside #if's controlling its use.
8978
8979 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8980
8981 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8982
8983 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8984
8985 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8986 unreachable code.
8987
8988 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8989
b68e08db
RM
8990 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8991 * configure: Regenerated.
8992
b350afab
RM
8993 * Makerules: Revert last change.
8994 * elf/Makefile: Likewise.
8995
28368601
RM
89962011-06-09 Roland McGrath <roland@hack.frob.com>
8997
8998 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8999 * elf/Makefile ($(objpfx)librtld.os): Likewise.
9000 (reloc-link): Likewise.
9001
11988f8f
UD
90022011-06-09 Ulrich Drepper <drepper@gmail.com>
9003
9004 * elf/Makefile: Add rules to build pldd.
9005 * elf/pldd.c: New file.
9006 * elf/pldd-xx.c: New file.
9007
e80fab37
UD
90082011-06-07 Ulrich Drepper <drepper@gmail.com>
9009
9010 * version.h: Update for 2.15 development version.
9011
9b849836
DM
90122011-06-07 David S. Miller <davem@davemloft.net>
9013
9014 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
9015 ifuncs.
9016 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
9017 elf_machine_lazy_rel): Likewise.
9018 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9019 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
9020 elf_machine_lazy_rel): Likewise.
9021 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
9022 dl_hwcap via passed in argument.
9023 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
9024 Likewise.
9025
5a31b283
AK
90262011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9027
9028 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
9029
069e52f8
RM
90302011-06-06 Roland McGrath <roland@hack.frob.com>
9031
9032 [BZ #12849]
9033 * manual/fdl-1.1.texi: New file, verbatim from:
9034 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
9035 * manual/lgpl-2.1.texi: New file, verbatim from:
9036 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
9037 * manual/Makefile (licenses): New variable, list those new file names.
9038 (texis): Use it.
9039 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
9040
9041 * manual/fdl.texi: File removed.
9042 * manual/lesser.texi: File removed.
9043 * manual/libc.texinfo (Copying, Documentation License):
9044 Use new @include file names, put @appendix directive before @include.
9045
f16846a5
JJ
90462011-06-04 Jakub Jelinek <jakub@redhat.com>
9047
9048 [BZ #12841]
9049 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
9050 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
9051 (mq_open): Add __NTH.
9052
3d29045b
L
90532011-06-02 H.J. Lu <hongjiu.lu@intel.com>
9054
9055 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9056 Assume Intel Core i3/i5/i7 processor if AVX is available.
9057
8c297311
UD
90582011-05-31 Ulrich Drepper <drepper@gmail.com>
9059
9060 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9061 typo.
9062
c8fc0c91
UD
90632011-05-31 Andreas Schwab <schwab@redhat.com>
9064
9065 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
9066 memory. Use alloca_account. Fix memory leak when retrying.
9067
5b27a807
UD
90682011-05-31 Ulrich Drepper <drepper@gmail.com>
9069
356f8bc6
UD
9070 * version.h (RELEASE): Bump for 2.14 release.
9071 * include/features.h (__GLIBC_MINOR__): Bump to 14.
9072
5b27a807
UD
9073 * config.make.in (RANLIB): Remove entry.
9074
01f16ab0
UD
90752011-05-30 Ulrich Drepper <drepper@gmail.com>
9076
41fce8bd
UD
9077 * po/Makefile (po-sed-cmd): Add ksh to extensions.
9078 (libc.pot): Work around missing support for .ksh extension in xgettext.
9079
4769ae77
UD
9080 [BZ #12684]
9081 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
9082 if both request failed.
9083 (send_dg): In case of server errors clear resplen or *resplen2.
9084
6b1e7d19
UD
9085 [BZ #12454]
9086 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
9087 when there are multiple maps.
9088 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
9089 (_dl_fini): Remove test here.
9090
01f16ab0
UD
9091 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
9092
b1ebd700
UD
90932011-05-29 Ulrich Drepper <drepper@gmail.com>
9094
7ae22829
UD
9095 [BZ #12350]
9096 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
9097 bit from old_res_options.
9098 (gaih_inet): Likewise.
9099
553149f6 9100 [BZ #11099]
18a84741 9101 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
9102 as signed.
9103
652ffab1
UD
9104 * resolv/res_init.c (res_setoptions): Make the code more compact.
9105
16985fd0
UD
9106 [BZ #11558]
9107 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
9108 set RES_USEVC.
9109
0464f746
UD
9110 [BZ #11634]
9111 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
9112
7d17596c
UD
9113 * malloc/malloc.h: Mark malloc hook variables as deprecated.
9114
cf6bbbd7
UD
9115 [BZ #11781]
9116 * malloc/malloc.h: Declare malloc hook variables as volatile.
9117
13f1ab36
UD
9118 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
9119 in last patch.
9120
b1ebd700
UD
9121 [BZ #11799]
9122 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 9123 raise in the comment.
80e2212d
UD
9124 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9125 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9126 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 9127
ce67228d
UD
91282011-05-28 Ulrich Drepper <drepper@gmail.com>
9129
8887a920
UD
9130 [BZ #12811]
9131 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
9132 grow the buffers more if it already has to be sufficient.
9133 (build_wcs_upper_buffer): Likewise.
9134 * posix/regexec.c (check_matching): Likewise.
9135 (clean_state_log_if_needed): Likewise.
9136 (extend_buffers): Don't enlarge buffers beyond size of the input
9137 buffer.
9138 Patches mostly by Emil Wojak <emil@wojak.eu>.
9139 * posix/bug-regex32.c: New file.
9140 * posix/Makefile (tests): Add bug-regex32.
9141
4f031072
UD
9142 * locale/findlocale.c (_nl_find_locale): Return right away if
9143 _nl_explode_name failed.
9144 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9145
d0478f0c
UD
9146 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
9147
de81b246
UD
9148 * debug/xtrace.sh: Unify messages.
9149 * malloc/memusage.sh: Likewise.
9150
c738465a
UD
9151 [BZ #12813]
9152 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
9153 time symbol from vDSO. Substitute with vsyscall if not available.
9154 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
9155 __vdso_time.
9156
f1f929d7
UD
9157 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
9158 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
9159 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
9160 Add sendmmsg and internal_sendmmsg.
9161 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
9162 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
9163 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
9164
ce67228d
UD
9165 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
9166 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
9167 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
9168
e57420c6
UD
91692011-05-27 Ulrich Drepper <drepper@gmail.com>
9170
a8509ca5
UD
9171 [BZ #12813]
9172 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
9173 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
9174 available.
9175 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
9176 __vdso_getcpu.
9177
e57420c6
UD
9178 [BZ #12814]
9179 * iconvdata/Makefile (tests): Add bug-iconv9.
9180 * iconvdata/bug-iconv9.c: New file.
9181
4d07db15
AS
91822011-05-27 Andreas Schwab <schwab@redhat.com>
9183
9184 [BZ #12814]
9185 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
9186
ea486f69
JJ
91872011-05-25 Jakub Jelinek <jakub@redhat.com>
9188
9189 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9190 (struct user_regs_struct): Change intcs field back to cs.
9191
6f038433
UD
91922011-05-25 Ulrich Drepper <drepper@gmail.com>
9193
9194 * po/ja.po: Update from translation team.
9195
67f86a25
UD
91962011-05-23 Ulrich Drepper <drepper@gmail.com>
9197
9198 [BZ #12795]
9199 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
9200 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
9201
def7fbd6
AS
92022011-05-20 Andreas Schwab <schwab@redhat.com>
9203
9204 * stdlib/longlong.h: Update from GCC.
9205
f50ef8f1
AS
92062011-05-23 Andreas Schwab <schwab@redhat.com>
9207
9208 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
9209 parameter name.
9210 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
9211 Add parameter name.
9212 (__sysconf): Pass it down.
9213
de7ce8f1
UD
92142011-05-22 Ulrich Drepper <drepper@gmail.com>
9215
f2962a71
UD
9216 [BZ #12671]
9217 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
9218 some situations.
9219 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9220 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
9221 add in in __libc_use_alloca calls. Adjust callers.
9222 (glob): Use malloc in some situations.
9223
de7ce8f1
UD
9224 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
9225 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
9226 pltexit.
9227
aec84f53
UD
92282011-05-21 Ulrich Drepper <drepper@gmail.com>
9229
05bb4a68
UD
9230 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
9231 and CLOCK_BOOTTIME_ALARM.
9232
7ea72f99
UD
9233 [BZ #12782]
9234 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
9235 is returned.
9236
7e4afad5
UD
9237 * string/_strerror.c (__strerror_r): Print negative errors as signed
9238 numbers.
9239
8e211fec
UD
9240 [BZ #12777]
9241 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
9242 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
9243 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
9244
f7d82dc9
UD
9245 * configure.in: Fix typo in redirection and correct removal of test
9246 files in two cases.
9247
cc9e536d
UD
9248 [BZ #12788]
9249 * locale/setlocale.c (new_composite_name): Fix test to check for
9250 identical name of all categories.
9251
aec84f53
UD
9252 [BZ #12792]
9253 * libio/filedoalloc.c (local_isatty): New function.
9254 (_IO_file_doallocate): Use local_isatty.
9255 * stdio-common/perror.c (perror): In case a new stream is used
9256 forward the stream error.
9257 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
9258 error flag.
9259
78e64fdc
RT
92602011-05-20 Ulrich Drepper <drepper@gmail.com>
9261
34a9094f
UD
9262 [BZ #11869]
9263 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
9264 alloca.
9265 * include/alloca.h (extend_alloca_account): Define.
9266
78e64fdc
RT
9267 [BZ #11857]
9268 * posix/regex.h: Fix comments with documentation of user-accessible
9269 fields after compilation and describe correct free'ing of pattern
9270 after re_compile_pattern.
9271 Patch by Reuben Thomas <rrt@sc3d.org>.
9272
457bddfc
RA
92732011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
9274
9275 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
9276 and -mno-altivec to prevent the compiler from using Altivec and/or
9277 VSX instructions when the corresponding registers are not available.
9278
a4527b51
AS
92792011-05-19 Andreas Schwab <schwab@redhat.com>
9280
9281 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
9282
ed690b2f
UD
92832011-05-19 Ulrich Drepper <drepper@gmail.com>
9284
9285 * libio/freopen.c (freopen): Use __dup2, not dup2.
9286 * libio/freopen64.c (freopen64): Likewise.
9287
8db73634
L
92882011-05-17 H.J. Lu <hongjiu.lu@intel.com>
9289
9290 [BZ #12775]
9291 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
9292 * math/Makefile (tests): Add test-powl.
9293 (CFLAGS-test-powl.c): Define.
9294 * math/test-powl.c: New file.
9295
0a197a9d
L
92962011-05-16 H.J. Lu <hongjiu.lu@intel.com>
9297
9298 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
9299
ee30c380
UD
93002011-05-17 Ulrich Drepper <drepper@gmail.com>
9301
9302 [BZ #11837]
9303 * iconvdata/gb18030.c: Update to GB18020-2005.
9304
6ce75379
UD
93052011-05-16 Ulrich Drepper <drepper@gmail.com>
9306
a4b89fd8
AR
9307 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
9308 RE_SYNTAX_POSIX_AWK): Update to match recent development.
9309 Patch by Aharon Robbins <arnold@skeeve.com>.
9310
ea389b12
UD
9311 [BZ #11892]
9312 * stdlib/putenv.c (putenv): Don't always create copy of the variable
9313 on the stack.
9314
68a3f91f
UD
9315 [BZ #11895]
9316 * misc/pselect.c (__pselect): Handle timeout value errors hidden
9317 through underflows.
9318
15cc7dd1
UD
9319 [BZ #12766]
9320 * misc/error.c (error_at_line): Ensure file_name and old_file_name
9321 point to strings before performing equality test for error_one_per_line
9322 mode.
9323
f3799213
UD
9324 [BZ #11697]
9325 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
9326
d79a9c94
UD
9327 [BZ #11820]
9328 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9329 (struct user_fpregs_struct): Avoid __uint*_t types.
9330
56e5eb46
UD
9331 [BZ #6420]
9332 * malloc/mtrace.c (tr_where): Add additional parameter to point to
9333 symbol info. Use it instead of calling _dl_addr locally.
9334 (lock_and_info): New function.
9335 (tr_freehook): Call lock_and_info and pass symbol info as additional
9336 parameter to tr_where.
9337 (tr_mallochook): Likewise.
9338 (tr_reallochook): Likewise.
9339 (tr_memalignhook): Likewise.
9340
6ce75379
UD
9341 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
9342 used and couldn't be at all thread-safe.
9343
f8a3b5bf
UD
93442011-05-15 Ulrich Drepper <drepper@gmail.com>
9345
94b7cc37
UD
9346 * libio/freopen.c (freopen): Don't close old file descriptor
9347 before the new one is opened. Instead dup the new file descriptor
9348 to the old one after the new stream is created.
9349 * libio/freopen64.c (freopen64): Likewise.
9350 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9351 * libio/fileops.c (_IO_new_file_close_it): Handle new
9352 _IO_FLAGS2_NOCLOSE flag.
9353 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9354 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9355 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9356 _IO_FLAGS2_NOCLOSE flag.
9357 * include/unistd.h: Add hidden_proto for dup3.
9358 Define __have_dup3.
9359 * io/dup3.c: Define hidden symbol.
9360 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9361
bd25564e
UD
9362 [BZ #7101]
9363 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9364 when an incomplete long option is used.
9365 * posix/tst-getopt_long1.c: New file.
9366 * posix/Makefile (tests): Add tst-getopt_long1.
9367
c84cfef4
UD
9368 [BZ #10138]
9369 * scripts/config.guess: Update from autoconf-2.68.
9370 * scripts/config.sub: Likewise.
9371
3b85df27
UD
9372 [BZ #10157]
9373 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9374 tests into ...
9375 (has_cpuclock): ...this. New function.
9376 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9377 macro here based on has_cpuclock code.
9378
15a856b1
UD
9379 [BZ #10149]
9380 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9381 First byte (not low byte) is now always NUL.
9382 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9383
05f399e6
UD
9384 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9385 Use non-cancelable interfaces.
9386
10a52685 9387 [BZ #9809]
94ecc67d
UD
9388 * locale/iso-639.def: Add entry for Sorani.
9389
f8a3b5bf
UD
9390 [BZ #11901]
9391 * include/stdlib.h: Move include protection to the right place.
9392 Define abort_msg_s. Declare __abort_msg with it.
9393 * stdlib/abort.c (__abort_msg): Adjust type.
9394 * assert/assert.c (__assert_fail_base): New function. Majority
9395 of code from __assert_fail. Allocate memory for __abort_msg with
9396 mmap.
9397 (__assert_fail): Now call __assert_fail_base.
9398 * assert/assert-perr.c: Remove bulk of implementation. Use
9399 __assert_fail_base.
9400 * include/assert.hL Declare __assert_fail_base.
9401 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9402 mmap.
9403 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9404
1af4e298
UD
94052011-05-14 Ulrich Drepper <drepper@gmail.com>
9406
f8a3b5bf 9407 [BZ #11952]
d26dfc60
MG
9408 [BZ #12453]
9409 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9410 until all modules are registered in the DTV.
9411 * elf/Makefile: Add rules to build and run tst-tls19.
9412 * elf/tst-tls19.c: New file.
9413 * elf/tst-tls19mod1.c: New file.
9414 * elf/tst-tls19mod2.c: New file.
9415 * elf/tst-tls19mod3.c: New file.
9416 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9417
2fc54d6f
UD
9418 [BZ #12083]
9419 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9420 correctly.
9421
98d76b46
UD
9422 [BZ #12601]
9423 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9424 two-byte sequence errors.
9425 * iconvdata/Makefile (tests): Add bug-iconv8.
9426 * iconvdata/bug-iconv8.c: New file.
9427
da3c19ef
UD
9428 [BZ #12626]
9429 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9430 buf2 definition.
9431
ca408c15
UD
9432 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9433
d6f67f7d
UD
9434 [BZ #12432]
9435 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9436 (dummy_getcfa): New function.
9437 (init): Get _Unwind_GetCFA address, use dummy if not found.
9438 (backtrace_helper): In recursion check, also check whether CFA changes.
9439 (__backtrace): Completely initialize arg.
9440
1af4e298 9441 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
9442 storing incomplete byte sequence in state object. Avoid testing for
9443 guaranteed too small input if we know there is enough data available.
1af4e298 9444
da62f81b
AS
94452011-05-11 Andreas Schwab <schwab@redhat.com>
9446
9447 * Makeconfig (+link-pie): Indent.
9448 * Rules (binaries-pie): Define if $(have-fpie) and
9449 $(build-shared).
9450 (binaries-shared): Also filter out $(binaries-pie).
9451 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9452 * nscd/Makefile (others-pie): Add nscd.
9453 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9454 ($(objpfx)nscd): Remove command override.
9455 * login/Makefile (others-pie): Add pt_chown.
9456 ($(objpfx)pt_chown): Remove command override.
9457 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9458 remove command overrides.
9459
fcabc0f8
UD
94602011-05-13 Ulrich Drepper <drepper@gmail.com>
9461
20030ae6
UD
9462 * libio/tst_putwc.c: Fix error messages.
9463
fcabc0f8
UD
9464 [BZ #12724]
9465 * libio/fileops.c (_IO_new_file_close_it): Always flush when
9466 currently writing and seek to current position when not.
9467 * libio/Makefile (tests): Add bug-fclose1.
9468 * libio/bug-fclose1.c: New file.
9469
320a5dc0
PB
94702011-05-12 Ulrich Drepper <drepper@gmail.com>
9471
9472 [BZ #12511]
9473 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
9474 don't set DF_1_NODELETE here.
9475 (do_lookup_x): When entering new entry test for copy relocation
9476 and if necessary set DF_1_NODELETE flag.
9477 * elf/tst-unique4.cc: New file.
9478 * elf/tst-unique4.h: New file.
9479 * elf/tst-unique4lib.cc: New file.
9480 * elf/Makefile: Add rules to build and run tst-unique4.
9481 Patch by Piotr Bury <pbury@goahead.com>.
9482
22836f52
UD
94832011-05-11 Ulrich Drepper <drepper@gmail.com>
9484
f574184a
UD
9485 [BZ #12052]
9486 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9487
e1fb097f
UD
9488 [BZ #12625]
9489 * misc/mntent_r.c (addmntent): Flush the stream after the output
9490
22836f52
UD
9491 [BZ #12393]
9492 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9493 (is_trusted_path_normalize): Skip initial colon. Append slash
9494 to empty buffer. Duplicate is_trusted_path code but allow
9495 constructed patch to be prefix.
9496 (is_dst): Allow $ORIGIN followed by /.
9497 (_dl_dst_substitute): Correct clearing of check_for_trusted.
9498 Correct testing of result of is_trusted_path_normalize
9499 (decompose_rpath): Fix warning.
9500
7b3b0b2a
UD
95012011-05-10 Ulrich Drepper <drepper@gmail.com>
9502
9503 [BZ #11257]
9504 * grp/initgroups.c (internal_getgrouplist): When we found the service
9505 list through the initgroups entry in nsswitch.conf do not always
9506 continue on a successful lookup. Don't always use the
eac80ce2 9507 __nss_group_database value if it is set.
7b3b0b2a
UD
9508 * nss/nsswitch.conf (initgroups): Change action for successful db
9509 lookup to continue for compatibility.
9510
2a81eaa5
UD
95112011-05-09 Ulrich Drepper <drepper@gmail.com>
9512
be97a69e
UD
9513 [BZ #11532]
9514 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9515 and CP774 modules.
9516 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9517 and CP774 modules.
9518 * iconvdata/tst-tables.sh: Likewise.
9519 * iconvdata/cp770.c: New file.
9520 * iconvdata/cp771.c: New file.
9521 * iconvdata/cp772.c: New file.
9522 * iconvdata/cp773.c: New file.
9523 * iconvdata/cp774.c: New file.
9524 * iconvdata/testdata/CP770: New file.
9525 * iconvdata/testdata/CP770..UTF8: New file.
9526 * iconvdata/testdata/CP771: New file.
9527 * iconvdata/testdata/CP771..UTF8: New file.
9528 * iconvdata/testdata/CP772: New file.
9529 * iconvdata/testdata/CP772..UTF8: New file.
9530 * iconvdata/testdata/CP773: New file.
9531 * iconvdata/testdata/CP773..UTF8: New file.
9532 * iconvdata/testdata/CP774: New file.
9533 * iconvdata/testdata/CP774..UTF8: New file.
9534
9535 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9536 END CHARMAP line.
9537 * iconvdata/gen-8bit-gap.sh: Likewise.
9538 * iconvdata/gen-8bit.sh: Likewise.
9539
c1e9e399
UD
9540 * locale/iso-639.def: Add ary entry.
9541
24c55fb3 9542 [BZ #11258]
96b4b1b0
UD
9543 * locale/C-translit.h.in: Add U20A1 transliteration.
9544
bdc2f971
KB
9545 [BZ #12178]
9546 * locale/iso-639.def: Add wae entry.
9547 Patch by Kevin Bortis <bortis@translate-wae.ch>.
9548
2952b117
UD
9549 [BZ #12545]
9550 * locale/programs/localedef.c (construct_output_path): Use ssize_t
9551 for n.
9552
2a81eaa5
UD
9553 [BZ #12711]
9554 * locale/C-translit.h.in: Add entry for U20B9.
9555 Patch by pravin.d.s@gmail.com.
9556
28377d1b
UD
95572011-05-08 Ulrich Drepper <drepper@gmail.com>
9558
7fb90fb8
UD
9559 [BZ #12713]
9560 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9561 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
9562 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
9563 in rtld. Use *stat64.
7fb90fb8 9564 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 9565 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 9566 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
9567 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9568 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9569 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9570 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9571 __fstatat64 macros.
7fb90fb8
UD
9572 * include/dirent.h: Add libc_hidden_proto for rewinddir.
9573 * dirent/rewinddir.c: Add libc_hidden_def.
9574 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 9575 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 9576
28377d1b
UD
9577 * include/dirent.h (__alloc_dir): Add flags parameter.
9578 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9579 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9580 __alloc_dir.
9581 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
9582 from fdopendir if O_CLOEXEC is already set.
9583
66bdbaa4
AM
95842011-03-15 Alan Modra <amodra@gmail.com>
9585
9586 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9587 l_tls_firstbyte_offset non-zero. Save padding offset in
9588 l_tls_firstbyte_offset for later use.
9589 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9590 freeing static tls block.
9591
95721191
JN
95922011-03-05 Jonathan Nieder <jrnieder@gmail.com>
9593
9594 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9595 where #ifdef was intended. The intent is to prevent ARG_MAX from
9596 being defined by the kernel headers.
9597
f87dfb1f
UD
95982011-05-07 Ulrich Drepper <drepper@gmail.com>
9599
9600 [BZ #12734]
9601 * resolv/resolv.h: Define RES_NOTLDQUERY.
9602 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9603 no-tld-query and set RES_NOTLDQUERY.
9604 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9605 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9606 modern BIND to search name as TLD unless forbidden.
9607
47c3cd7a
UD
96082011-05-07 Petr Baudis <pasky@suse.cz>
9609 Ulrich Drepper <drepper@gmail.com>
9610
9611 [BZ #12393]
9612 * elf/dl-load.c (fillin_rpath): Move trusted path check...
9613 (is_trusted_path): ...to here.
c1e9ea35 9614 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 9615 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 9616 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 9617
8a35c912
PP
96182011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9619
9620 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9621 __BEGIN/__END_DECLS.
9622
acd41f47
UD
96232011-05-06 Ulrich Drepper <drepper@gmail.com>
9624
9625 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9626 NSS_STATUS_NOTFOUND if no record was found.
9627
597df647
AS
96282011-05-05 Andreas Schwab <schwab@redhat.com>
9629
9630 * sunrpc/Makefile (headers): Add rpc/netdb.h.
9631 (headers-not-in-tirpc): Remove rpc/netdb.h
9632 * resolv/netdb.h: Revert last change.
9633
b9af1301
PP
96342011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9635
9636 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9637 circular dependency between libgcc.a and libc.a.
9638
4e34d5f5
AS
96392011-05-05 Andreas Schwab <schwab@redhat.com>
9640
9641 * resolv/netdb.h: Don't include <rpc/netdb.h>.
9642 * nis/Makefile: Don't install rpcsvc/*.
9643 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9644 instead of <rpc/types.h>.
9645 (MAXHOSTNAMELEN): Define.
9646
00ee369c
AS
96472011-05-03 Andreas Schwab <schwab@redhat.com>
9648
9649 * elf/ldconfig.c (add_dir): Don't crash on empty path.
9650
0b592a30
MB
96512011-04-28 Maciej Babinski <mbabinski@google.com>
9652
9653 [BZ #12714]
9654 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9655 gethostbyname4_r when IPv6 results are possible.
9656
6e04cbbe
UD
96572011-05-02 Ulrich Drepper <drepper@gmail.com>
9658
9659 [BZ #12723]
9660 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9661 _PC_PIPE_BUF handling.
9662
e4ecafe0
BH
96632011-04-30 Bruno Haible <bruno@clisp.org>
9664
9665 [BZ #12717]
9666 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9667 * resolv/netdb.h (getnameinfo): Change type of flags parameter
9668 to 'int'.
9669 * inet/getnameinfo.c (getnameinfo): Likewise.
9670
125ee683
UD
96712011-04-29 Ulrich Drepper <drepper@gmail.com>
9672
9673 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9674 to groups setting in database lookup.
9675 * nss/nsswitch.conf: Add initgroups entry.
9676
b722481a
EB
96772011-04-22 Ulrich Drepper <drepper@gmail.com>
9678
9679 [BZ #12685]
9680 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9681 mode string.
9682 Patch by Eric Blake <eblake@redhat.com>.
9683
4df46dbd
L
96842011-04-20 H.J. Lu <hongjiu.lu@intel.com>
9685
9686 * sunrpc/Makefile (need-export-routines): Add svc_run.
9687 (routines): Remove svc_run.
9688 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9689 * sunrpc/clnt_perr.c (clnt_perrno): Export.
9690 * sunrpc/svc_run.c (svc_run): Likewise.
9691 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9692
e84142d2
UD
96932011-04-21 Ulrich Drepper <drepper@gmail.com>
9694
9695 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9696 problem in reallocation in last patch.
9697
877175d8
UD
96982011-04-20 Ulrich Drepper <drepper@gmail.com>
9699
9700 * sunrpc/Makefile: Move inclusion of Rules.
9701
ab8eed78
UD
97022011-04-19 Ulrich Drepper <drepper@gmail.com>
9703
9704 * nss/nss_files/files-initgroups.c: New file.
9705 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9706 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9707 _nss_files_initgroups_dyn.
9708
e3d8f584
RS
97092011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9710
9711 * elf/elf.h (R_ARM_IRELATIVE): Define.
9712
af190f45
UD
97132011-04-19 Ulrich Drepper <drepper@gmail.com>
9714
9715 * po/ru.po: Update from translation team.
9716
53cf59ef
UD
97172011-04-17 Ulrich Drepper <drepper@gmail.com>
9718
9719 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9720 dependencies.
9721
4c559bcd
MF
97222011-02-06 Mike Frysinger <vapier@gentoo.org>
9723
9724 [BZ #12653]
9725 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9726 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9727 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9728 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9729 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9730
4420675c
AS
97312011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9732
9733 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9734 differing bytes.
9735 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9736 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9737 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9738
75ea32ab
UD
97392011-04-17 Ulrich Drepper <drepper@gmail.com>
9740
9741 [BZ #12420]
9742 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9743 storing it.
9744 * stdlib/bug-getcontext.c: New file.
9745 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9746
27390476
AK
97472011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9748
9749 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9750 instructions into .machine "z9-109".
9751 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9752 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9753
10442705
AK
97542011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9755
9756 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9757 between environment variables and auxiliary vector.
9758
7b57bfe5
UD
97592011-04-16 Ulrich Drepper <drepper@gmail.com>
9760
9761 * Makefile: Add rules to build linkobj/libc.so.
9762 * include/libc-symbols.h: Define libc_hidden_nolink.
9763 * include/rpc/auth.h: Mark functions which are to be hidden.
9764 * include/rpc/auth_des.h: Likewise.
9765 * include/rpc/auth_unix.h: Likewise.
9766 * include/rpc/clnt.h: Likewise.
9767 * include/rpc/des_crypt.h: Likewise.
9768 * include/rpc/key_prot.h: Likewise.
9769 * include/rpc/pmap_clnt.h: Likewise.
9770 * include/rpc/pmap_prot.h: Likewise.
9771 * include/rpc/pmap_rmt.h: Likewise.
9772 * include/rpc/rpc_msg.h: Likewise.
9773 * include/rpc/svc.h: Likewise.
9774 * include/rpc/svc_auth.h: Likewise.
9775 * include/rpc/xdr.h: Likewise.
9776 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9777 * nss/Makefile: Likewise.
9778 * sunrpc/Makefile: Don't install headers. Build library with normal
9779 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9780 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9781 for the compat linking library. Remove use of INTDEF/INTUSE.
9782 * sunrpc/auth_none.c: Likewise.
9783 * sunrpc/auth_unix.c: Likewise.
9784 * sunrpc/authdes_prot.c: Likewise.
9785 * sunrpc/authuxprot.c: Likewise.
9786 * sunrpc/clnt_gen.c: Likewise.
9787 * sunrpc/clnt_perr.c: Likewise.
9788 * sunrpc/clnt_raw.c: Likewise.
9789 * sunrpc/clnt_simp.c: Likewise.
9790 * sunrpc/clnt_tcp.c: Likewise.
9791 * sunrpc/clnt_udp.c: Likewise.
9792 * sunrpc/clnt_unix.c: Likewise.
9793 * sunrpc/des_crypt.c: Likewise.
9794 * sunrpc/des_soft.c: Likewise.
9795 * sunrpc/get_myaddr.c: Likewise.
9796 * sunrpc/key_call.c: Likewise.
9797 * sunrpc/key_prot.c: Likewise.
9798 * sunrpc/netname.c: Likewise.
9799 * sunrpc/pm_getmaps.c: Likewise.
9800 * sunrpc/pm_getport.c: Likewise.
9801 * sunrpc/pmap_clnt.c: Likewise.
9802 * sunrpc/pmap_prot.c: Likewise.
9803 * sunrpc/pmap_prot2.c: Likewise.
9804 * sunrpc/pmap_rmt.c: Likewise.
9805 * sunrpc/publickey.c: Likewise.
9806 * sunrpc/rpc_cmsg.c: Likewise.
9807 * sunrpc/rpc_common.c: Likewise.
9808 * sunrpc/rpc_dtable.c: Likewise.
9809 * sunrpc/rpc_prot.c: Likewise.
9810 * sunrpc/rpc_thread.c: Likewise.
9811 * sunrpc/rtime.c: Likewise.
9812 * sunrpc/svc.c: Likewise.
9813 * sunrpc/svc_auth.c: Likewise.
9814 * sunrpc/svc_authux.c: Likewise.
9815 * sunrpc/svc_raw.c: Likewise.
9816 * sunrpc/svc_run.c: Likewise.
9817 * sunrpc/svc_simple.c: Likewise.
9818 * sunrpc/svc_tcp.c: Likewise.
9819 * sunrpc/svc_udp.c: Likewise.
9820 * sunrpc/svc_unix.c: Likewise.
9821 * sunrpc/svcauth_des.c: Likewise.
9822 * sunrpc/xcrypt.c: Likewise.
9823 * sunrpc/xdr.c: Likewise.
9824 * sunrpc/xdr_array.c: Likewise.
9825 * sunrpc/xdr_float.c: Likewise.
9826 * sunrpc/xdr_intXX_t.c: Likewise.
9827 * sunrpc/xdr_mem.c: Likewise.
9828 * sunrpc/xdr_rec.c: Likewise.
9829 * sunrpc/xdr_ref.c: Likewise.
9830 * sunrpc/xdr_sizeof.c: Likewise.
9831 * sunrpc/xdr_stdio.c: Likewise.
9832
e6c61494
UD
98332011-04-10 Ulrich Drepper <drepper@gmail.com>
9834
9835 [BZ #12650]
9836 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9837 * sysdeps/ia64/dl-tls.h: Likewise.
9838 * sysdeps/powerpc/dl-tls.h: Likewise.
9839 * sysdeps/s390/dl-tls.h: Likewise.
9840 * sysdeps/sh/dl-tls.h: Likewise.
9841 * sysdeps/sparc/dl-tls.h: Likewise.
9842 * sysdeps/x86_64/dl-tls.h: Likewise.
9843 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9844
34fe483e
AS
98452011-03-14 Andreas Schwab <schwab@redhat.com>
9846
9847 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9848 rpath element also skip the following colon.
9849 (expand_dynamic_string_token): Add is_path parameter and pass
9850 down to DL_DST_REQUIRED and _dl_dst_substitute.
9851 (decompose_rpath): Call expand_dynamic_string_token with
9852 non-zero is_path. Ignore empty rpaths.
9853 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9854 with zero is_path.
9855
f12a32e6
AS
98562011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9857
9858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9859 Make cancelable.
9860
38a7d692
UD
98612011-04-09 Ulrich Drepper <drepper@gmail.com>
9862
9863 [BZ #12655]
9864 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9865 Patch by Filipe David Manana <fdmanana@apache.org>.
9866
e451d22b
AS
98672011-04-07 Andreas Schwab <schwab@redhat.com>
9868
9869 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9870 Maintain aligned stack.
9871 (CHECK_RSP): Remove unused macro.
9872
dedc7c7b
UD
98732011-04-03 Ulrich Drepper <drepper@gmail.com>
9874
9875 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9876 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9877
94521213
UD
98782011-04-02 Ulrich Drepper <drepper@gmail.com>
9879
9880 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9881
8cb700c0 9882 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 9883
0354e355
L
98842011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9885
9886 [BZ #12518]
9887 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9888 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9889 * sysdeps/x86_64/memmove.c: New file.
9890 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9891 (memcpy): Renamed to ...
9892 (__new_memcpy): This.
9893 (memcpy): Provide GLIBC_2_14 memcpy.
9894 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9895 (memcpy): Provide GLIBC_2_2_5 memcpy.
9896
8593482f
UD
98972011-04-01 Ulrich Drepper <drepper@gmail.com>
9898
9899 [BZ #12631]
9900 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9901
81a5726b
AS
99022011-03-30 Andreas Schwab <schwab@redhat.com>
9903
9904 * misc/syncfs.c: New file.
9905 * misc/Makefile (routines): Add syncfs.
9906 * posix/unistd.h: Declare syncfs.
9907 * sysdeps/unix/syscalls.list: Add syncfs.
9908
00e5419f
AS
99092011-04-01 Andreas Schwab <schwab@redhat.com>
9910
9911 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9912 open_by_handle_at.
9913 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9914 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9915 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9916 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9917 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9918 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9919 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9920
748876bf
UD
99212011-04-01 Ulrich Drepper <drepper@gmail.com>
9922
658e451d
UD
9923 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9924 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9925 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9926 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9927 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9928 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9929 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9930
748876bf
UD
9931 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9932 sync_file_range.c with -fexceptions.
9933 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9934 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9935 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9936 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9937 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9938 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9939 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
9940 sync_file_range as cancellation point
9941 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9942 now a wrapper around __call_sync_file_range with cancellation handling.
9943 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9944 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9945 function name to __call_sync_file_range.
9946 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9947 Add call_sync_file_range.
748876bf 9948
6e63d5e1
AS
99492011-04-01 Andreas Schwab <schwab@redhat.com>
9950
9951 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 9952 bits/timex.h.
6e63d5e1 9953
46998f74
UD
99542011-04-01 Ulrich Drepper <drepper@gmail.com>
9955
4c1423ed
UD
9956 * iconv/iconv.h: Fix typo in comment.
9957 * io/fcntl.h: Likewise.
9958 * libio/stdio.h: Likewise.
9959 * posix/spawn.h: Likewise.
9960 * posix/unistd.h: Likewise.
9961 * stdlib/stdlib.h: Likewise.
9962 * time/time.h: Likewise.
9963 * wcsmbs/wchar.h: Likewise.
9964
158648c0
UD
9965 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9966 open_by_handle): Add.
9967 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9968 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9969 Augment a few comments.
9970 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9971 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9972 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9973 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9974 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9975 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9976 open_by_handle.
9977
46998f74
UD
9978 * io/fcntl.h (AT_EMPTY_PATH): Define.
9979
83fe108b
UD
99802011-03-30 Ulrich Drepper <drepper@gmail.com>
9981
9982 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9983 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9984 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9985 to...
9986 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
9987 * Versions.def: Add GLIBC_2.14.
9988 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9989 Export.
83fe108b 9990
bb242059
UD
99912011-03-22 Ulrich Drepper <drepper@gmail.com>
9992
9993 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9994 round counter.
9995 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9996
c97a1282
L
99972011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9998
9999 [BZ #12597]
10000 * string/test-strncmp.c (do_page_test): New function.
10001 (check2): Likewise.
10002 (test_main): Call check2.
10003 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
10004
2a115601
UD
100052011-03-20 Ulrich Drepper <drepper@gmail.com>
10006
10007 [BZ #12587]
10008 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
10009 Handle cache information in CPU leaf 4.
10010 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10011
8126d904
UD
100122011-03-18 Ulrich Drepper <drepper@gmail.com>
10013
042c49c6 10014 [BZ #12583]
8126d904
UD
10015 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
10016 character representation.
10017 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
10018
ccfe366e
RA
100192011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
10020
10021 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
10022 END(__isnan) to END(__isnanf) to match function entry point/label
10023 EALIGN(__isnanf,...).
10024
c6e13027
JJ
100252011-03-10 Jakub Jelinek <jakub@redhat.com>
10026
10027 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
10028
33f85a3f
UD
100292011-03-10 Ulrich Drepper <drepper@gmail.com>
10030
028478fa
UD
10031 [BZ #12510]
10032 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
10033 copy from the symbol referenced in the relocation to initialize the
10034 used variable.
10035 Patch by Piotr Bury <pbury@goahead.com>.
10036 * elf/Makefile: Add rules to build and tst-unique3.
10037 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
10038 * elf/tst-unique3.cc: New file.
10039 * elf/tst-unique3.h: New file.
10040 * elf/tst-unique3lib.cc: New file.
10041 * elf/tst-unique3lib2.cc: New file.
10042
33f85a3f
UD
10043 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
10044
03592fc7
MF
100452011-03-10 Mike Frysinger <vapier@gentoo.org>
10046
10047 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
10048 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
10049 to _start.
03592fc7 10050
6a5ee102
UD
100512011-03-06 Ulrich Drepper <drepper@gmail.com>
10052
10053 * elf/dl-load.c (_dl_map_object): If we are looking for the first
10054 to-be-loaded object along a path to loader is ld.so.
10055
7e4ba49c
HJ
100562011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10057 Ulrich Drepper <drepper@gmail.com>
10058
10059 * sysdeps/x86_64/memset.S: After aligning destination, code
10060 branches to different locations depending on the value of
10061 misalignment, when multiarch is enabled. Fix this.
10062
100632011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10064
10065 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
10066 Set _x86_64_preferred_memory_instruction for AMD processsors.
10067 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10068 Set bit_Prefer_SSE_for_memop for AMD processors.
10069
13a804de
UD
100702011-03-04 Ulrich Drepper <drepper@gmail.com>
10071
10072 * libio/fmemopen.c (fmemopen): Optimize a bit.
10073
9d25c392
AS
100742011-03-03 Andreas Schwab <schwab@redhat.com>
10075
10076 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
10077
a5543c6a
RM
100782011-03-03 Roland McGrath <roland@redhat.com>
10079
10080 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
10081
012d35f7
DM
100822011-02-28 Aurelien Jarno <aurelien@aurel32.net>
10083
7e4ba49c 10084 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
10085 __bzero_ultra1 instead of __memset_ultra1.
10086
4bff6e01
AS
100872011-02-23 Andreas Schwab <schwab@redhat.com>
10088 Ulrich Drepper <drepper@gmail.com>
10089
10090 [BZ #12509]
10091 * include/link.h (struct link_map): Add l_orig_initfini.
10092 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
10093 returning unsuccessfully.
10094 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
10095 close of a file loaded at startup, restore the original l_initfini
10096 list.
10097 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
10098 list, store the pointer.
10099 * elf/Makefile ($(objpfx)noload-mem): New rule.
10100 (noload-ENV): Define.
10101 (tests): Add $(objpfx)noload-mem.
10102 * elf/noload.c: Include <memcheck.h>.
10103 (main): Call mtrace. Close all opened handles.
10104
f2092faf
AS
101052011-02-17 Andreas Schwab <schwab@redhat.com>
10106
10107 [BZ #12454]
10108 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
10109 dependencies are missing.
10110
6c8a2e88
ST
101112011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
10112
f2092faf 10113 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
10114 Hurd needs munmap.
10115 * sysdeps/mach/hurd/ifreq.h: New file.
10116
84a42118
PB
101172011-01-27 Petr Baudis <pasky@suse.cz>
10118 Ulrich Drepper <drepper@gmail.com>
10119
071f805e 10120 [BZ 12445]#
84a42118
PB
10121 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
10122 to extend_alloca().
10123 * stdio-common/bug23.c: New file.
10124 * stdio-common/Makefile (tests): Add bug23.
10125
e23fe25b
AS
101262010-09-28 Andreas Schwab <schwab@redhat.com>
10127 Ulrich Drepper <drepper@gmail.com>
10128
10129 [BZ #12489]
10130 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
10131 before performing relro protection. At old place add assertion
10132 to make sure nothing changed.
10133
d3f02e10
NS
101342011-02-17 Nathan Sidwell <nathan@codesourcery.com>
10135 Glauber de Oliveira Costa <glommer@gmail.com>
10136
10137 * elf/elf.h: Add new ARM TLS relocs.
10138
d55fd7a5
RA
101392011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
10140
10141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10142 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
10143 cast from r3.
10144 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
10145 'tests' variable.
10146 * sysdeps/wordsize-64/tst-writev.c: New file.
10147
2206397e
RA
101482011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
10149
10150 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
10151 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
10152 insns in _dl_start to prevent a TOC reference before relocs are
10153 resolved.
10154
e9433893
UD
101552011-02-15 Ulrich Drepper <drepper@gmail.com>
10156
10157 [BZ #12469]
10158 * Makeconfig: Remove RANLIB definition.
10159 * Makerules: Don't use RANLIB.
10160 * aclocal.m4: Remove ranlib test.
10161 * configure.in: No need to check for ranlib.
10162 * elf/rtld-Rules: Don't use RANLIB.
10163
f75286c6
ST
101642011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10165
8e31c82d
ST
10166 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
10167 protection macro.
10168 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
10169 inclusion protection macro.
10170
f75286c6
ST
10171 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
10172 SIGRTMIN and SIGRTMAX and print information in that case only when
10173 SIGRTMIN is defined.
10174
c1d0e639
JJ
101752011-02-11 Jakub Jelinek <jakub@redhat.com>
10176
10177 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
10178 arginfo fn returning -1.
10179
10180 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
10181 and thousands string is zero terminated.
10182
edf9294e
AS
101832011-02-03 Andreas Schwab <schwab@redhat.com>
10184
10185 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
10186 sysdeps/unix/sysv/linux/bits/socket.h.
10187
2b7e92df
ST
101882011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10189
edf9294e
AS
10190 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
10191 (__CPU_COUNT): Remove old macros.
10192 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
10193 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
10194 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
10195 (__sched_cpualloc, __sched_cpufree): Add declarations.
10196
a4c7ea7b
UD
101972011-02-05 Ulrich Drepper <drepper@gmail.com>
10198
10199 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
10200 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
10201 * nscd/aicache.c (addhstaiX): Return timeout of added value.
10202 (readdhstai): Return value of addhstaiX call.
10203 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
10204 (addgrbyX): Return value returned by cache_addgr.
10205 (readdgrbyname): Return value returned by addgrbyX.
10206 (readdgrbygid): Likewise.
10207 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
10208 (addpwbyX): Return value returned by cache_addpw.
10209 (readdpwbyname): Return value returned by addhstbyX.
10210 (readdpwbyuid): Likewise.
10211 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
10212 (addservbyX): Return value returned by cache_addserv.
10213 (readdservbyname): Return value returned by addservbyX:
10214 (readdservbyport): Likewise.
10215 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
10216 (addhstbyX): Return value returned by cache_addhst.
10217 (readdhstbyname): Return value returned by addhstbyX.
10218 (readdhstbyaddr): Likewise.
10219 (readdhstbynamev6): Likewise.
10220 (readdhstbyaddrv6): Likewise.
10221 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
10222 (readdinitgroups): Return value returned by addinitgroupsX.
10223 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
10224 (prune_cache): Keep track of timeout value of re-added entries.
10225 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
10226 * nscd/nscd.h: Adjust prototypes of readd* functions.
10227
a0bf67cc
RM
102282011-02-04 Roland McGrath <roland@redhat.com>
10229
10230 * nis/nis_server.c (nis_servstate): Use the right name for 0.
10231 (nis_stats): Likewise.
10232 * nis/nis_modify.c (nis_modify): Likewise.
10233 * nis/nis_remove.c (nis_remove): Likewise.
10234 * nis/nis_add.c (nis_add): Likewise.
10235
10236 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
10237
10238 * posix/fnmatch_loop.c: Add some consts.
10239
10240 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
10241
435b95eb
L
102422011-02-02 H.J. Lu <hongjiu.lu@intel.com>
10243
10244 [BZ #12460]
10245 * config.make.in (config-cflags-novzeroupper): Define.
10246 * configure.in: Substitute libc_cv_cc_novzeroupper.
10247 * elf/Makefile (AVX-CFLAGS): Define.
10248 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
10249 (CFLAGS-tst-auditmod4a.c): Likewise.
10250 (CFLAGS-tst-auditmod4b.c): Likewise.
10251 (CFLAGS-tst-auditmod6b.c): Likewise.
10252 (CFLAGS-tst-auditmod6c.c): Likewise.
10253 (CFLAGS-tst-auditmod7b.c): Likewise.
10254 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
10255
8517b15e
UD
102562011-02-02 Ulrich Drepper <drepper@gmail.com>
10257
10258 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
10259 function to the callback.
10260 Patch partly by Jiri Olsa <jolsa@redhat.com>.
10261
10a656fe
AS
102622011-02-02 Andreas Schwab <schwab@redhat.com>
10263
10264 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
10265 of errno.
10266
968dad0a
UD
102672011-01-19 Ulrich Drepper <drepper@gmail.com>
10268
9f94d2ea 10269 [BZ #11724]
968dad0a
UD
10270 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
10271 of constructors.
10272 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
10273 of destructors.
10274 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
10275
10276 [BZ #11724]
10277 * elf/Makefile: Add rules to build and run new test.
10278 * elf/tst-initorder.c: New file.
10279 * elf/tst-initorder.exp: New file.
10280 * elf/tst-initordera1.c: New file.
10281 * elf/tst-initordera2.c: New file.
10282 * elf/tst-initordera3.c: New file.
10283 * elf/tst-initordera4.c: New file.
10284 * elf/tst-initorderb1.c: New file.
10285 * elf/tst-initorderb2.c: New file.
10286 * elf/tst-order-a1.c: New file.
10287 * elf/tst-order-a2.c: New file.
10288 * elf/tst-order-a3.c: New file.
10289 * elf/tst-order-a4.c: New file.
10290 * elf/tst-order-b1.c: New file.
10291 * elf/tst-order-b2.c: New file.
10292 * elf/tst-order-main.c: New file.
10293 New test case by George Gensure <werkt0@gmail.com>.
10294
86e92359
UD
102952010-10-01 Andreas Schwab <schwab@redhat.com>
10296
10297 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10298 decoding ACE if AI_CANONIDN.
10299
5d5732b0
UD
103002011-01-18 Ulrich Drepper <drepper@gmail.com>
10301
10302 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
10303
a77e8cbc
UD
103042011-01-17 Ulrich Drepper <drepper@gmail.com>
10305
6392473f
UD
10306 * version.h (RELEASE): Bump for 2.13 release.
10307 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
10308
620a0529
UD
10309 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
10310
18ba70a5
UD
10311 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
10312 MADV_NOHUGEPAGE.
32465c3e
UD
10313 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
10314 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10315 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10316 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10317 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10318 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10319
c0dafcf1
UD
10320 * posix/getconf.c: Update copyright year.
10321 * catgets/gencat.c: Likewise.
10322 * csu/version.c: Likewise.
10323 * debug/catchsegv.sh: Likewise.
10324 * debug/xtrace.sh: Likewise.
10325 * elf/ldconfig.c: Likewise.
10326 * elf/ldd.bash.in: Likewise.
10327 * elf/sprof.c (print_version): Likewise.
10328 * iconv/iconv_prog.c: Likewise.
10329 * iconv/iconvconfig.c: Likewise.
10330 * locale/programs/locale.c: Likewise.
10331 * locale/programs/localedef.c: Likewise.
10332 * malloc/memusage.sh: Likewise.
10333 * malloc/mtrace.pl: Likewise.
10334 * nscd/nscd.c (print_version): Likewise.
10335 * nss/getent.c: Likewise.
10336
a77e8cbc
UD
10337 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
10338 PF_CAIF, and PF_ALG.
10339 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10340
77e8bddf
AS
103412011-01-16 Andreas Schwab <schwab@linux-m68k.org>
10342
1f20b93a
AS
10343 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
10344 (modules-names): Use them.
10345 (ifunc-test-modules, ifunc-pie-tests): Define.
10346 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10347 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10348 (test-extras): Likewise.
10349 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10350 $(compile-command.c).
10351 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10352 (all-built-dso): Define.
10353 (check-textrel.out, check-execstack.out): Depend on it.
10354
77e8bddf
AS
10355 * configure.in: Don't override --enable-multi-arch.
10356
bc425b33
UD
103572011-01-15 Ulrich Drepper <drepper@gmail.com>
10358
10359 [BZ #6812]
10360 * nscd/hstcache.c (tryagain): Define.
10361 (cache_addhst): Return tryagain not notfound for temporary errors.
10362 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10363 failed.
10364
794c3ad3
UD
103652011-01-14 Ulrich Drepper <drepper@gmail.com>
10366
70181fdd
UD
10367 [BZ #10563]
10368 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10369 to make the syscall.
10370 * sysdeps/unix/sysv/linux/setgroups.c: New file.
10371
794c3ad3
UD
10372 [BZ #12378]
10373 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10374 and fall back to matching as normal character if the string ends before
10375 the matching ']' is found. This is what POSIX requires.
10376 * posix/testfnm.c: Adjust test result.
10377 * posix/globtest.sh: Adjust test result. Add new test.
10378 * posix/tst-fnmatch.input: Likewise.
10379 * posix/tst-fnmatch2.c: Add new test.
10380
68dc9497
AS
103812010-12-28 Andreas Schwab <schwab@linux-m68k.org>
10382
10383 * elf/Makefile (check-execstack): Revert last change. Depend on
10384 check-execstack.h.
10385 (check-execstack.h): New target.
10386 (generated): Add check-execstack.h.
10387 * elf/check-execstack.c: Include "check-execstack.h".
10388 (main): Revert last change.
10389 (handle_file): Return zero if GNU_STACK is absent and
10390 DEFAULT_STACK_PERMS doesn't include PF_X.
10391
451f001b
UD
103922011-01-13 Ulrich Drepper <drepper@gmail.com>
10393
cfa28e56
UD
10394 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10395 in child fails because the descriptor is already closed.
8cf8ce17
UD
10396 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10397 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10398 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 10399
1086d70d
UD
10400 [BZ #12397]
10401 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10402 syscall.
10403
451f001b
UD
10404 [BZ #10484]
10405 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10406 temporary buffer used to handle multi lookups locally.
a85b5cb4 10407 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 10408
08769175
UD
104092011-01-12 Ulrich Drepper <drepper@gmail.com>
10410
10411 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10412 loader is ld.so.
10413
5e49c52e
UD
104142011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
10415
10416 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10417 alignment for SSE2.
10418
60522a5f
UD
104192011-01-12 Ulrich Drepper <drepper@gmail.com>
10420
10421 [BZ #12394]
10422 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10423 characters. When rounding increased number of integer digits recompute
10424 number of groups.
10425 * stdio-common/tst-grouping.c: New file.
10426 * stdio-common/Makefile: Add rules to build and run tst-grouping.
10427
f257bbd7
UD
104282011-01-09 Ulrich Drepper <drepper@gmail.com>
10429
10430 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10431 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
10432
10433 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10434 void.
10435 * bits/select.h: Likewise.
10436
fa9c15cb
UD
104372011-01-08 Ulrich Drepper <drepper@gmail.com>
10438
10439 * po/ja.po: Update from translation team.
10440
16c2895f
DM
104412011-01-04 David S. Miller <davem@sunset.davemloft.net>
10442
10443 [BZ #11155]
10444 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10445 implementation just like for lxstat, fxstatat, et al.
10446
2543fef2
JM
104472010-12-27 Jim Meyering <meyering@redhat.com>
10448
10449 [BZ #12348]
10450 * posix/regexec.c (build_trtable): Return failure indication upon
10451 calloc failure. Otherwise, re_search_internal could infloop on OOM.
10452
98727dbe
UD
104532010-12-25 Ulrich Drepper <drepper@gmail.com>
10454
5bd6dc5c
UD
10455 [BZ #12201]
10456 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10457 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10458 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10459 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
10460
97983464
UD
10461 [BZ #12207]
10462 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
10463
98727dbe
UD
10464 [BZ #12204]
10465 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
10466 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
10467
4a531bb0
L
104682010-12-15 H.J. Lu <hongjiu.lu@intel.com>
10469
10470 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
10471 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
10472 script has SORT_BY_INIT_PRIORITY.
10473 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
10474 NO_CTORS_DTORS_SECTIONS is defined.
10475 * elf/soinit.c: Likewise.
10476 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
10477 NO_CTORS_DTORS_SECTIONS is defined.
10478 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
10479 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10480 * sysdeps/sh/init-first.c: Likewise.
10481 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10482
07eb4b71
UD
104832010-12-24 Ulrich Drepper <drepper@gmail.com>
10484
10485 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10486 always use the slow path.
10487
30950a5f
RA
104882010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
10489
10490 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10491 similar rule which adds the sysdep directories to the header search in
10492 order to pick up the correct platform stackinfo.h.
10493 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10494 perform test if it is, otherwise return successfully without testing.
10495 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10496 DEFAULT_STACK_PERMS define in stackinfo.h.
10497 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10498 defined in stackinfo.h.
10499 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10500 DEFAULT_STACK_PERMS defined in stackinfo.h.
10501 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10502 * sysdeps/ia64/stackinfo.h: Likewise.
10503 * sysdeps/s390/stackinfo.h: Likewise.
10504 * sysdeps/sh/stackinfo.h: Likewise.
10505 * sysdeps/sparc/stackinfo.h: Likewise.
10506 * sysdeps/x86_64/stackinfo.h: Likewise.
10507 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10508 PF_X for powerpc64. Retain PF_X for powerpc32.
10509
db753e2c
UD
105102010-12-19 Ulrich Drepper <drepper@gmail.com>
10511
14b697f7
UD
10512 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10513 accurately.
db753e2c
UD
10514 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10515 GETDENTS_64BIT_ALIGNED.
10516
28300719
UD
105172010-12-14 Ulrich Drepper <dreper@gmail.com>
10518
14b697f7 10519 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 10520
4f197237
AS
105212010-12-10 Andreas Schwab <schwab@redhat.com>
10522
dbb0472f
AS
10523 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10524 _GNU_SOURCE.
10525
4f197237
AS
10526 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10527 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10528 Remove __restrict.
10529 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10530 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10531
fb88ac72
UD
105322010-12-09 Ulrich Drepper <drepper@gmail.com>
10533
10534 [BZ #11655]
10535 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10536 are initialized.
10537
42acbb92
JJ
105382010-12-09 Jakub Jelinek <jakub@redhat.com>
10539
10540 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10541
c038d98d
UD
105422010-12-03 Ulrich Drepper <drepper@gmail.com>
10543
10544 * po/it.po: Update from translation team.
10545
3a4a2499
L
105462010-12-01 H.J. Lu <hongjiu.lu@intel.com>
10547
10548 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10549 unused codes.
10550
1e24cf6e
UD
105512010-11-30 Ulrich Drepper <drepper@gmail.com>
10552
10553 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10554
a7690819
AS
105552010-11-24 Andreas Schwab <schwab@redhat.com>
10556
10557 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10558 specially.
10559 (gaih_getanswer_slice): Likewise.
10560
3bf8d1b1
JJ
105612010-10-20 Jakub Jelinek <jakub@redhat.com>
10562
10563 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10564
6db52fbb
PB
105652010-05-31 Petr Baudis <pasky@suse.cz>
10566
10567 [BZ #11149]
10568 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10569 silently even in the chroot mode.
10570
eaca7569
UD
105712010-11-22 Ulrich Drepper <drepper@gmail.com>
10572
10573 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10574 last patch a bit. Pretty printing
10575
3056dcdb
UD
105762010-05-31 Petr Baudis <pasky@suse.cz>
10577
10578 [BZ #10085]
10579 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10580 initialization of skip_initgroups_dyn.
10581
cf7c9078
UD
105822010-11-19 Ulrich Drepper <drepper@gmail.com>
10583
10584 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10585 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10586
a1fb5e3e
UD
105872010-11-16 Ulrich Drepper <drepper@gmail.com>
10588
10589 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10590
3540d66b
AS
105912010-11-11 Andreas Schwab <schwab@redhat.com>
10592
10593 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10594 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10595 (tst-fnmatch-ENV): Set MALLOC_TRACE.
10596 ($(objpfx)tst-fnmatch-mem): New rule.
10597 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10598 * posix/tst-fnmatch.c (main): Call mtrace.
10599
13b69574
L
106002010-11-11 H.J. Lu <hongjiu.lu@intel.com>
10601
10602 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10603 Support Intel processor model 6 and model 0x2c.
10604
da93d214
LM
106052010-11-10 Luis Machado <luisgpm@br.ibm.com>
10606
10607 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10608 signed comparison.
10609
8ca52c6e
L
106102010-11-09 H.J. Lu <hongjiu.lu@intel.com>
10611
10612 [BZ #12205]
10613 * string/test-strncasecmp.c (check_result): New function.
10614 (do_one_test): Use it.
10615 (check1): New function.
10616 (test_main): Use it.
10617 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10618 Support strcasecmp and strncasecmp.
10619
69da074d
UD
106202010-11-08 Ulrich Drepper <drepper@gmail.com>
10621
10622 [BZ #12194]
10623 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10624 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10625
ff02d528
L
106262010-11-07 H.J. Lu <hongjiu.lu@intel.com>
10627
10628 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10629 IFUNC support.
10630 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10631 memset-x86-64.
10632 * sysdeps/x86_64/multiarch/bzero.S: New file.
10633 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10634 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10635 * sysdeps/x86_64/multiarch/memset.S: New file.
10636 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10637 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10638 Set bit_Prefer_SSE_for_memop for Intel processors.
10639 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10640 Define.
10641 (index_Prefer_SSE_for_memop): Define.
10642 (HAS_PREFER_SSE_FOR_MEMOP): Define.
10643
344d0b54
LM
106442010-11-04 Luis Machado <luisgpm@br.ibm.com>
10645
10646 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10647 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10648
c0dde15b
UD
106492010-11-03 H.J. Lu <hongjiu.lu@intel.com>
10650
10651 [BZ #12191]
10652 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10653 (__x86_64_raw_data_cache_size_half): Likewise.
10654 (__x86_64_raw_shared_cache_size): Likewise.
10655 (__x86_64_raw_shared_cache_size_half): Likewise.
10656
10657 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10658 (__x86_64_raw_data_cache_size_half): Likewise.
10659 (__x86_64_raw_shared_cache_size): Likewise.
10660 (__x86_64_raw_shared_cache_size_half): Likewise.
10661 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10662 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10663 and __x86_64_raw_shared_cache_size_half. Round
10664 __x86_64_data_cache_size_half, __x86_64_data_cache_size
10665 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10666 to multiple of 256 bytes.
10667
0e516e0e
MS
106682010-11-03 Ulrich Drepper <drepper@gmail.com>
10669
10670 [BZ #12167]
10671 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10672 of inacessible symlinks. Verify result of symlink before returning it.
10673 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10674 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10675
0e012e87
ER
106762010-10-28 Erich Ritz <erichritz@gmail.com>
10677
10678 * math/math.h (isinf): Fix typo in comment.
10679
de0ff7bc
UD
106802010-11-01 Ulrich Drepper <drepper@gmail.com>
10681
10682 * po/da.po: Update from translation team.
10683
fa41c84d
UD
106842010-10-26 Ulrich Drepper <drepper@gmail.com>
10685
10686 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10687 is added to the list.
10688
f0967738
AK
106892010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10690 Ulrich Drepper <drepper@gmail.com>
10691
10692 * elf/dl-object.c (_dl_new_object): Don't append the new object to
10693 the global list here. Move code to...
10694 (_dl_add_to_namespace_list): ...here. New function.
10695 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10696 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10697 * elf/dl-load.c (lose): Don't remove the element from the list.
10698 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10699 (_dl_map_object): Likewise.
10700
107012010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
10702
10703 [BZ #12159]
10704 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10705 into all bytes of SSE register.
10706 Patch by Richard Li <richardpku@gmail.com>.
10707
f0967738 107082010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
10709
10710 [BZ #12140]
10711 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10712 perturbing.
10713
d0b9e94f
MB
107142010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10715
10716 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10717 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10718 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10719 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10721 submachine.
10722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10723
8e9f92e9
AS
107242010-10-22 Andreas Schwab <schwab@redhat.com>
10725
10726 * include/dlfcn.h (__RTLD_SECURE): Define.
10727 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10728 mode & __RTLD_SECURE instead.
10729 (open_path): Rename preloaded parameter to secure.
10730 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10731 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10732 * elf/dl-deps.c (openaux): Likewise.
10733 * elf/rtld.c (struct map_args): Remove is_preloaded.
10734 (map_doit): Don't use it.
10735 (dl_main): Likewise.
10736 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10737 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10738
bc96fbda
AS
107392010-09-09 Andreas Schwab <schwab@redhat.com>
10740
10741 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10742 (sysd-rules-targets): Remove duplicates.
10743 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10744 rtld-%.$o dependency.
10745
22cd1c9b
AS
107462010-10-18 Andreas Schwab <schwab@redhat.com>
10747
10748 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10749 _dl_map_object do it.
10750
18edac48
UD
107512010-10-19 Ulrich Drepper <drepper@gmail.com>
10752
10753 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10754 fast fma builtins, define the macros in the C99 standard.
10755 (FP_FAST_FMAF): Likewise.
10756 (FP_FAST_FMAL): Likewise.
10757 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10758
10759 * bits/mathdef.h: Update copyright year.
10760 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10761
d2050124
MM
107622010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10763
10764 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10765 builtins, define the macros in the C99 standard.
10766 (FP_FAST_FMAF): Likewise.
10767 (FP_FAST_FMAL): Likewise.
10768 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10769 multiply/add.
10770 (FP_FAST_FMAF): Likewise.
10771
475facd1
JJ
107722010-10-15 Jakub Jelinek <jakub@redhat.com>
10773
10774 [BZ #3268]
10775 * math/libm-test.inc (fma_test): Some new testcases.
10776 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10777 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10778 y and infinite z. Do multiplication by C already in long double.
10779 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10780 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10781 y and infinite z. Do bitwise or of inexact bit into u.d.
10782 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10783 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10784 * sysdeps/i386/fpu/s_fma.S: Removed.
10785 * sysdeps/i386/fpu/s_fmal.S: Removed.
10786
7c08a05c
JJ
107872010-10-16 Jakub Jelinek <jakub@redhat.com>
10788
10789 [BZ #3268]
10790 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10791 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10792 computation is not scheduled after fetestexcept. Fix value
10793 of minimum denormal long double.
10794
f3f7372d
JJ
107952010-10-14 Jakub Jelinek <jakub@redhat.com>
10796
10797 [BZ #3268]
10798 * math/libm-test.inc (fma_test): Add some more tests.
10799 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10800 correctly.
10801
14d43591
AS
108022010-10-15 Andreas Schwab <schwab@redhat.com>
10803
10804 * scripts/data/localplt-s390-linux-gnu.data: New file.
10805 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10806
5e908464
JJ
108072010-10-13 Jakub Jelinek <jakub@redhat.com>
10808
10809 [BZ #3268]
10810 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10811 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10812 instead of dbl-64.
10813 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10814 inlines.
10815 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10816 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10817 if one of x and y is very large and the other is subnormal.
10818 * sysdeps/s390/fpu/s_fmaf.c: New file.
10819 * sysdeps/s390/fpu/s_fma.c: New file.
10820 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10821 * sysdeps/powerpc/fpu/s_fma.S: New file.
10822 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10823 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10824 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10825
108262010-10-12 Jakub Jelinek <jakub@redhat.com>
10827
10828 [BZ #3268]
10829 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10830 fma tests.
10831 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10832 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10833 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10834 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10835 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10836 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10837 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10838
b833d51f
UD
108392010-10-12 Ulrich Drepper <drepper@redhat.com>
10840
10841 [BZ #12078]
10842 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10843 * posix/bug-regex31.input: Add test case.
10844
1751705d
UD
108452010-10-11 Ulrich Drepper <drepper@gmail.com>
10846
e9b9cbf5
UD
10847 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10848 * posix/bug-regex31.input: New file.
10849
10850 [BZ #12078]
10851 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10852 (parse_sub_exp): Fix last change, use postorder.
10853
ef06edbe
UD
10854 * posix/bug-regex31.c: New file.
10855 * posix/Makefile: Add rules to build and run bug-regex31.
10856
a129c80d
UD
10857 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10858
10859 [BZ #12078]
10860 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10861
b76b818e
UD
10862 [BZ #12108]
10863 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10864 to have entries in sys_siglist.
10865
1751705d
UD
10866 [BZ #12093]
10867 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10868 be NULL.
10869
9ff8d36f
JJ
108702010-10-07 Jakub Jelinek <jakub@redhat.com>
10871
10872 [BZ #3268]
10873 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10874 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10875 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10876 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10877 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10878 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10879 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10880 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10881 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10882 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10883 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10884 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10885 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10886 * math/ftestexcept.c (fetestexcept): Likewise.
10887 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10888 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10889 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10890 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10891 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10892 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10893 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10894
af325969
UD
108952010-10-11 Ulrich Drepper <drepper@gmail.com>
10896
c579b202 10897 [BZ #12107]
af325969
UD
10898 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10899 newline.
10900
67a67b95
UD
109012010-10-06 Ulrich Drepper <drepper@gmail.com>
10902
10903 * string/bug-strstr1.c: New file.
10904 * string/Makefile: Add rules to build and run bug-strstr1.
10905
5fb308bc
EB
109062010-10-05 Eric Blake <eblake@redhat.com>
10907
10908 [BZ #12092]
10909 * string/str-two-way.h (two_way_long_needle): Always clear memory
10910 when skipping input due to the shift table.
10911
45db99c7
UD
109122010-10-03 Ulrich Drepper <drepper@gmail.com>
10913
3b111893
UD
10914 [BZ #12005]
10915 * malloc/mcheck.c: Handle large requests.
10916
45db99c7
UD
10917 [BZ #12077]
10918 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10919 for strncmp and strncasecmp.
10920 * string/stratcliff.c: Add tests for strcmp and strncmp.
10921 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10922
cf7a1eb8
NI
109232010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10924
10925 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10926 __set_fpscr.
10927
6484ba5e
AJ
109282010-09-30 Andreas Jaeger <aj@suse.de>
10929
10930 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10931 (CGROUP_SUPER_MAGIC): Define.
10932 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10933 Handle btrfs and cgroup file systems.
10934 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10935 Likewise.
10936
91c42559
LM
109372010-09-27 Luis Machado <luisgpm@br.ibm.com>
10938
10939 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10940 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10941
87a97932
AK
109422010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10943
10944 [BZ #12067]
10945 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10946 trying to locate the ELF header.
10947
c21cc9bc
AS
109482010-09-27 Andreas Schwab <schwab@redhat.com>
10949
10950 [BZ #11611]
10951 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10952 Mask out sign-bit copies when constructing f_fsid.
10953
315970f6
PB
109542010-09-24 Petr Baudis <pasky@suse.cz>
10955
10956 * debug/stack_chk_fail_local.c: Add missing licence exception.
10957 * debug/warning-nop.c: Likewise.
10958
1ac7a2c7
JM
109592010-09-15 Joseph Myers <joseph@codesourcery.com>
10960
10961 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10962 implementing getdents64 using getdents syscall, set d_type if
10963 __ASSUME_GETDENTS32_D_TYPE.
10964
56801c50
AS
109652010-09-16 Andreas Schwab <schwab@redhat.com>
10966
10967 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10968 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10969
dda51327
UD
109702010-09-21 Ulrich Drepper <drepper@redhat.com>
10971
10972 [BZ #12037]
10973 * posix/unistd.h: Undo change of feature selection for ftruncate from
10974 2010-01-11.
10975
8ffcee4a
UD
109762010-09-20 Ulrich Drepper <drepper@redhat.com>
10977
a545ecd9 10978 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
10979 detection.
10980
e24f0a8b
AS
109812010-09-20 Andreas Schwab <schwab@redhat.com>
10982
10983 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10984 fanotify_mark.
10985 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10986
7291c56f
AS
109872010-09-14 Andreas Schwab <schwab@redhat.com>
10988
10989 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10990 variables after CHECK_SP call.
10991 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10992
bc5fb037
AS
109932010-09-13 Andreas Schwab <schwab@redhat.com>
10994 Ulrich Drepper <drepper@redhat.com>
10995
10996 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10997 re-relocationg ld.so.
10998 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10999 _dl_init_paths call.
11000 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
11001 here anymore.
11002
e66e7419
UD
110032010-09-14 Ulrich Drepper <drepper@redhat.com>
11004
11005 * resolv/res_init.c (__res_vinit): Count the default server we added.
11006
c044aa75
CLT
110072010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
11008 Ulrich Drepper <drepper@redhat.com>
11009
11010 [BZ #11968]
11011 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11012 (____longjmp_chk): Use %ebx for saving value across system call.
11013 Add unwind info.
11014
32cf4069
AS
110152010-09-06 Andreas Schwab <schwab@redhat.com>
11016
11017 * manual/Makefile: Don't mix pattern rules with normal rules.
11018
817328ee
AS
110192010-09-05 Andreas Schwab <schwab@linux-m68k.org>
11020
11021 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
11022 operation.
11023 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11024 * libio/iofopncook.c (_IO_cookie_init): Likewise.
11025 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11026 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11027 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11028 Likewise.
11029
29fddf61
UD
110302010-09-04 Ulrich Drepper <drepper@redhat.com>
11031
11032 [BZ #11979]
11033 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
11034 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
11035
0959ffc9
UD
110362010-09-02 Ulrich Drepper <drepper@redhat.com>
11037
11038 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
11039 * sysdeps/x86_64/addmul_1.S: Likewise.
11040 * sysdeps/x86_64/lshift.S: Likewise.
11041 * sysdeps/x86_64/mul_1.S: Likewise.
11042 * sysdeps/x86_64/rshift.S: Likewise.
11043 * sysdeps/x86_64/sub_n.S: Likewise.
11044 * sysdeps/x86_64/submul_1.S: Likewise.
11045
ece29840
ST
110462010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
11047
0959ffc9
UD
11048 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
11049 Define __sched_param instead of SCHED_* and sched_param when
ece29840 11050 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 11051 * bits/sched.h [__need_schedparam]
ece29840 11052 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
11053 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
11054 (__defined_schedparam): Define to 1.
ece29840
ST
11055 (__sched_param): New structure, identical to sched_param.
11056 (__need_schedparam): Undefine.
11057
e53a31fe
MF
110582010-08-31 Mike Frysinger <vapier@gentoo.org>
11059
fdc0c10d
MF
11060 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
11061 (epoll_create1): Declare.
11062
e53a31fe
MF
11063 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
11064
a726d796
AS
110652010-08-31 Andreas Schwab <schwab@redhat.com>
11066
11067 [BZ #7066]
11068 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
11069 shifting retval into place.
11070
2f3e3dc7
UD
110712010-09-01 Ulrich Drepper <drepper@redhat.com>
11072
f2933da9
UD
11073 * nis/rpcsvc/nis.h: Update copyright notice.
11074 * nis/rpcsvc/nis.x: Likewise.
11075 * nis/rpcsvc/nis_callback.h: Likewise.
11076 * nis/rpcsvc/nis_callback.x: Likewise.
11077 * nis/rpcsvc/nis_object.x: Likewise.
11078 * nis/rpcsvc/nis_tags.h: Likewise.
11079 * nis/rpcsvc/yp.h: Likewise.
11080 * nis/rpcsvc/yp.x: Likewise.
11081 * nis/rpcsvc/ypupd.h: Likewise.
11082 * nis/yp_xdr.c: Likewise.
11083 * nis/ypupdate_xdr.c: Likewise.
11084
2f3e3dc7
UD
11085 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
11086 mainly the body of pmap_getport. Add parameters to specify timeouts.
11087 (pmap_getport): Use __libc_rpc_getport.
11088 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
11089 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
11090 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
11091
f3dcc2f9
AS
110922010-08-31 Andreas Schwab <schwab@linux-m68k.org>
11093
11094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
11095 fanotify_mark.
11096
6d34eb5b
RM
110972010-08-27 Roland McGrath <roland@redhat.com>
11098
11099 * sysdeps/i386/i686/multiarch/Makefile
11100 (CFLAGS-varshift.c): New variable.
11101
9ea3de11
UD
111022010-08-27 Ulrich Drepper <drepper@redhat.com>
11103
c96d23fc
UD
11104 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
11105 * sysdeps/i386/i686/multiarch/varshift.c: New file.
11106
9ea3de11
UD
11107 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
11108
11109 * sysdeps/x86_64/strlen.S: Minimal code improvement.
11110
623aac7f
L
111112010-08-26 H.J. Lu <hongjiu.lu@intel.com>
11112
11113 * sysdeps/x86_64/strlen.S: Unroll the loop.
11114 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11115 strlen-sse2 strlen-sse2-bsf.
11116 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
11117 __strlen_no_bsf if bit_Slow_BSF is set.
11118 (__strlen_sse42): Removed.
11119 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
11120 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
11121
8b2b7715
RM
111222010-08-25 Roland McGrath <roland@redhat.com>
11123
11124 * sysdeps/x86_64/multiarch/varshift.S: File removed.
11125 * sysdeps/x86_64/multiarch/varshift.c: New file.
11126 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
11127 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
11128 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
11129 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11130
e73015f2
L
111312010-08-25 H.J. Lu <hongjiu.lu@intel.com>
11132
11133 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11134 strlen-sse2 strlen-sse2-bsf.
11135 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
11136 __strlen_sse2_bsf if bit_Slow_BSF is unset.
11137 (__strlen_sse2): Removed.
11138 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
11139 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
11140 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11141 bit_Slow_BSF for Atom.
11142 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
11143 (index_Slow_BSF): Define.
11144 (HAS_SLOW_BSF): Define.
11145
df24a73e
UD
111462010-08-25 Ulrich Drepper <drepper@redhat.com>
11147
11148 [BZ #10851]
11149 * resolv/res_init.c (__res_vinit): When no server address at all
11150 is given default to loopback.
11151
f2ac4868
RM
111522010-08-24 Roland McGrath <roland@redhat.com>
11153
09055553
RM
11154 * configure.in: Remove config-name.h generation.
11155 * configure: Regenerated.
11156 * config-name.in: File removed.
11157 * scripts/config-uname.sh: New file.
11158 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
11159 ($(objdir)config-name.h): New target.
11160
f2ac4868
RM
11161 * sunrpc/rpc_parse.h: Avoid nested comment.
11162
73f27d5e
RH
111632010-08-24 Richard Henderson <rth@redhat.com>
11164 Ulrich Drepper <drepper@redhat.com>
11165 H.J. Lu <hongjiu.lu@intel.com>
11166
11167 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
11168 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
11169 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
11170 Replace _mm_srli_si128 with __m128i_shift_right. Replace
11171 _mm_alignr_epi8 with _mm_loadu_si128.
11172 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
11173 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
11174 (__m128i_shift_right): Removed.
11175 * sysdeps/i386/i686/multiarch/varshift.h: New file.
11176 * sysdeps/i386/i686/multiarch/varshift.S: New file.
11177 * sysdeps/x86_64/multiarch/varshift.h: New file.
11178 * sysdeps/x86_64/multiarch/varshift.S: New file.
11179
84b9230c
MF
111802010-08-21 Mike Frysinger <vapier@gentoo.org>
11181
11182 * configure.in: Move assembler checks to before sysdep dir checking.
11183
9bbd0ddc
PB
111842010-08-20 Petr Baudis <pasky@suse.cz>
11185
11186 * LICENSES: Sync the sunrpc license.
11187
9da4bb31
UD
111882010-08-19 Ulrich Drepper <drepper@redhat.com>
11189
a7ab6ec8
UD
11190 * sunrpc/auth_des.c: Update copyright notice once again.
11191 * sunrpc/auth_none.c: Likewise.
11192 * sunrpc/auth_unix.c: Likewise.
11193 * sunrpc/authdes_prot.c: Likewise.
11194 * sunrpc/authuxprot.c: Likewise.
11195 * sunrpc/bindrsvprt.c: Likewise.
11196 * sunrpc/clnt_gen.c: Likewise.
11197 * sunrpc/clnt_perr.c: Likewise.
11198 * sunrpc/clnt_raw.c: Likewise.
11199 * sunrpc/clnt_simp.c: Likewise.
11200 * sunrpc/clnt_tcp.c: Likewise.
11201 * sunrpc/clnt_udp.c: Likewise.
11202 * sunrpc/clnt_unix.c: Likewise.
11203 * sunrpc/des_crypt.c: Likewise.
11204 * sunrpc/des_soft.c: Likewise.
11205 * sunrpc/get_myaddr.c: Likewise.
11206 * sunrpc/getrpcport.c: Likewise.
11207 * sunrpc/key_call.c: Likewise.
11208 * sunrpc/key_prot.c: Likewise.
11209 * sunrpc/openchild.c: Likewise.
11210 * sunrpc/pm_getmaps.c: Likewise.
11211 * sunrpc/pm_getport.c: Likewise.
11212 * sunrpc/pmap_clnt.c: Likewise.
11213 * sunrpc/pmap_prot.c: Likewise.
11214 * sunrpc/pmap_prot2.c: Likewise.
11215 * sunrpc/pmap_rmt.c: Likewise.
11216 * sunrpc/rpc/auth.h: Likewise.
11217 * sunrpc/rpc/auth_unix.h: Likewise.
11218 * sunrpc/rpc/clnt.h: Likewise.
11219 * sunrpc/rpc/des_crypt.h: Likewise.
11220 * sunrpc/rpc/key_prot.h: Likewise.
11221 * sunrpc/rpc/netdb.h: Likewise.
11222 * sunrpc/rpc/pmap_clnt.h: Likewise.
11223 * sunrpc/rpc/pmap_prot.h: Likewise.
11224 * sunrpc/rpc/pmap_rmt.h: Likewise.
11225 * sunrpc/rpc/rpc.h: Likewise.
11226 * sunrpc/rpc/rpc_des.h: Likewise.
11227 * sunrpc/rpc/rpc_msg.h: Likewise.
11228 * sunrpc/rpc/svc.h: Likewise.
11229 * sunrpc/rpc/svc_auth.h: Likewise.
11230 * sunrpc/rpc/types.h: Likewise.
11231 * sunrpc/rpc/xdr.h: Likewise.
11232 * sunrpc/rpc_clntout.c: Likewise.
11233 * sunrpc/rpc_cmsg.c: Likewise.
11234 * sunrpc/rpc_common.c: Likewise.
11235 * sunrpc/rpc_cout.c: Likewise.
11236 * sunrpc/rpc_dtable.c: Likewise.
11237 * sunrpc/rpc_hout.c: Likewise.
11238 * sunrpc/rpc_main.c: Likewise.
11239 * sunrpc/rpc_parse.c: Likewise.
11240 * sunrpc/rpc_parse.h: Likewise.
11241 * sunrpc/rpc_prot.c: Likewise.
11242 * sunrpc/rpc_sample.c: Likewise.
11243 * sunrpc/rpc_scan.c: Likewise.
11244 * sunrpc/rpc_scan.h: Likewise.
11245 * sunrpc/rpc_svcout.c: Likewise.
11246 * sunrpc/rpc_tblout.c: Likewise.
11247 * sunrpc/rpc_util.c: Likewise.
11248 * sunrpc/rpc_util.h: Likewise.
11249 * sunrpc/rpcinfo.c: Likewise.
11250 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
11251 * sunrpc/rpcsvc/key_prot.x: Likewise.
11252 * sunrpc/rpcsvc/klm_prot.x: Likewise.
11253 * sunrpc/rpcsvc/mount.x: Likewise.
11254 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
11255 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
11256 * sunrpc/rpcsvc/rex.x: Likewise.
11257 * sunrpc/rpcsvc/rstat.x: Likewise.
11258 * sunrpc/rpcsvc/rusers.x: Likewise.
11259 * sunrpc/rpcsvc/sm_inter.x: Likewise.
11260 * sunrpc/rpcsvc/spray.x: Likewise.
11261 * sunrpc/rpcsvc/yppasswd.x: Likewise.
11262 * sunrpc/rtime.c: Likewise.
11263 * sunrpc/svc.c: Likewise.
11264 * sunrpc/svc_auth.c: Likewise.
11265 * sunrpc/svc_authux.c: Likewise.
11266 * sunrpc/svc_raw.c: Likewise.
11267 * sunrpc/svc_run.c: Likewise.
11268 * sunrpc/svc_simple.c: Likewise.
11269 * sunrpc/svc_tcp.c: Likewise.
11270 * sunrpc/svc_udp.c: Likewise.
11271 * sunrpc/svc_unix.c: Likewise.
11272 * sunrpc/svcauth_des.c: Likewise.
11273 * sunrpc/xcrypt.c: Likewise.
11274 * sunrpc/xdr.c: Likewise.
11275 * sunrpc/xdr_array.c: Likewise.
11276 * sunrpc/xdr_float.c: Likewise.
11277 * sunrpc/xdr_mem.c: Likewise.
11278 * sunrpc/xdr_rec.c: Likewise.
11279 * sunrpc/xdr_ref.c: Likewise.
11280 * sunrpc/xdr_sizeof.c: Likewise.
11281 * sunrpc/xdr_stdio.c: Likewise.
11282
9da4bb31
UD
11283 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
11284 handling.
11285
bdaa77bc
AS
112862010-08-19 Andreas Schwab <schwab@redhat.com>
11287
11288 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
11289
fe2f79db
LM
112902010-08-19 Luis Machado <luisgpm@br.ibm.com>
11291
11292 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
11293 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
11294 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
11295 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
11296 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
11297 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
11298 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
11299 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
11300 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
11301 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
11302 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
11303 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
11304 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
11305 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
11306
b9b42ee0
AB
113072010-07-26 Anton Blanchard <anton@samba.org>
11308
11309 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
11310 * malloc/arena.c (heap_trim): Likewise.
11311
1c06ba31
UD
113122010-08-16 Ulrich Drepper <drepper@redhat.com>
11313
11314 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
11315 here. Not...
11316 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
11317 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
11318
f8392f40
L
113192010-08-12 H.J. Lu <hongjiu.lu@intel.com>
11320
11321 * sysdeps/i386/elf/Makefile: New file.
11322
3162f12e
AS
113232010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11324
11325 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
11326 from fanotify_init.
11327 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11328 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11329
28c90b2c
UD
113302010-08-15 Ulrich Drepper <drepper@redhat.com>
11331
11332 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
11333 of strncasecmp_l.
1feccb6c 11334 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 11335
ca6bb004
UD
113362010-08-14 Ulrich Drepper <drepper@redhat.com>
11337
e9f82e0d
UD
11338 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11339 strncase_l-nonascii.
11340 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11341 Add strncase_l-ssse3.
11342 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
11343 * sysdeps/x86_64/strcmp.S: Likewise.
11344 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
11345 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11346 * sysdeps/x86_64/strncase.S: New file.
11347 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11348 * sysdeps/x86_64/strncase_l.S: New file.
11349 * string/Makefile (strop-tests): Add strncasecmp.
11350 * string/test-strncasecmp.c: New file.
11351
11352 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11353 warning.
11354
ca6bb004
UD
11355 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11356 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11357
052fa7b3
AS
113582010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11359
11360 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11361
962dba78
UD
113622010-08-12 Ulrich Drepper <drepper@redhat.com>
11363
11364 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11365 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11366 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11367
bebff237
AM
113682010-05-01 Alan Modra <amodra@gmail.com>
11369
11370 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11371 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11372 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11373 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11374 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11375 tidying. Don't tail-call __sigjmp_save for static lib.
11376 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11377 save location.
11378 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11379 (CALL_MCOUNT): Add eh info, and nop after bl.
11380 (TAIL_CALL_SYSCALL_ERROR): New macro.
11381 (PSEUDO_RET): Use it.
11382 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11383 Correct save location of integer regs and cr.
11384 (_dl_profile_resolve): Correct cr save location. Delete nops
11385 after bl when SHARED. Reduce cfi size a little by better
11386 placement of cfi directives.
11387 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11388 make a stack frame. Instead use parm save area as a temp.
11389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11390 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
11391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11392 Don't make a stack frame for parent, use parm save area.
11393 Increase child stack frame to 112 bytes. Don't save unused reg,
11394 and adjust reg usage. Set up cfi on error recovery and
11395 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11397 (__makecontext): Add dummy nop after jump to exit.
11398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11399 Use correct parm save area and cr save, reduce stack frame.
11400 Correct cfi for possible PSEUDO_RET frame setup.
11401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11402 Branch to local label emitted by PSEUDO_RET rather than
11403 __syscall_error.
11404
02637374
AS
114052010-08-12 Andreas Schwab <schwab@redhat.com>
11406
11407 [BZ #11904]
11408 * locale/programs/locale.c (print_assignment): New function.
11409 (show_locale_vars): Use it.
11410
c3e2f19b
UD
114112010-08-11 Ulrich Drepper <drepper@redhat.com>
11412
3cdaa6ad
UD
11413 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11414 field.
11415 (struct statfs64): Likewise.
11416 (_STATFS_F_FLAGS): Define.
11417 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11418 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11419 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11420 (ST_VALID): Define locally.
11421 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11422 __statvfs_getflags, use the provided value.
11423 * sysdeps/unix/sysv/linux/kernel-features.h: Define
11424 __ASSUME_STATFS_F_FLAGS.
11425
754f7da3
UD
11426 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11427
10b3bedc
UD
11428 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11429 Add sys/fanotify.h.
11430 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11431 fanotify_mask for GLIBC_2.13.
11432 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11433 fanotify_init and fanotify_mark.
11434 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11435 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11436
c08fb0d7
UD
11437 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11438 Add prlimit.
11439 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11440 prlimit64 for GLIBC_2.13.
11441 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11442 prlimit64.
11443 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11444 syscall.
11445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11446 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11447 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11448 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11449 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
11450 add prlimit alias.
11451 * sysdeps/unix/sysv/linux/prlimit.c: New file.
11452
15bac72b
UD
11453 [BZ #11903]
11454 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11455 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11456
c3e2f19b
UD
11457 * nss/Makefile: Add rules to build and run tst-nss-test1.
11458 * shlib-versions: Add entry for libnss_test1.
11459 * nss/nss_test1.c: New file.
11460 * nss/tst-nss-test1.c: New file.
11461
11462 * nss/nsswitch.c (__nss_database_custom): Define new variable.
11463 (__nss_configure_lookup): Set appropriate entry in
11464 __nss_configure_lookup to true.
11465 * nss/nsswitch.h: Define enum with indeces of databases in
11466 databases and __nss_database_custom arrays. Declare
11467 __nss_database_custom.
11468 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
11469 to avoid using nscd when custom rules are installed.
11470 * nss/getXXbyYY_r.c: Likewise.
11471 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11472
11473 * nss/nss_files/files-parse.c: Whitespace fixes.
11474
f15ce4d8
UD
114752010-08-09 Ulrich Drepper <drepper@redhat.com>
11476
11477 [BZ #11883]
11478 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
11479 * posix/fnmatch_loop.c: Likewise.
11480
d22e4cc9
AK
114812010-07-17 Andi Kleen <ak@linux.intel.com>
11482
11483 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11484 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11485 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11486 * Versions.def [GLIBC_2.13]: Add.
11487
805bc17d
UD
114882010-08-06 Ulrich Drepper <drepper@redhat.com>
11489
11490 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11491 Also fail if tpwd after pwuid call is NULL.
11492
5a42321d
ST
114932010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11494
11495 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11496 when converting to ms.
11497
fd3ebeda
ST
114982010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11499
11500 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11501 EOPNOTSUPP errors with ENOTTY.
11502 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11503 EOPNOTSUPP errors with ENOTTY.
11504
73507d3a
UD
115052010-07-31 Ulrich Drepper <drepper@redhat.com>
11506
11507 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11508 Add strcasecmp_l-ssse3.
11509 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11510 strcasecmp.
11511 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11512 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11513 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11514
fe36dd02
UD
115152010-07-30 Ulrich Drepper <drepper@redhat.com>
11516
66f6765a
UD
11517 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11518
42e08a54
UD
11519 * string/Makefile (strop-tests): Add strcasecmp.
11520 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11521 strcasecmp_l-nonascii.
11522 (gen-as-const-headers): Add locale-defines.sym.
11523 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11524 * sysdeps/x86_64/strcasecmp.S: New file.
11525 * sysdeps/x86_64/strcasecmp_l.S: New file.
11526 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11527 * sysdeps/x86_64/locale-defines.sym: New file.
11528 * string/test-strcasecmp.c: New file.
11529
fe36dd02
UD
11530 * string/test-strcasestr.c: Test both ends of the range of characters.
11531 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11532
48cbc0d6
RM
115332010-07-29 Roland McGrath <roland@redhat.com>
11534
76e6d6bc 11535 [BZ #11856]
48cbc0d6
RM
11536 * manual/locale.texi (Yes-or-No Questions): Fix example code.
11537
880113d9
UD
115382010-07-27 Ulrich Drepper <drepper@redhat.com>
11539
11540 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11541 for ld.so.
11542
deb9cabb
AS
115432010-07-27 Andreas Schwab <schwab@redhat.com>
11544
11545 * manual/memory.texi (Malloc Tunable Parameters): Document
11546 M_PERTURB.
11547
1c7570ff
RM
115482010-07-26 Roland McGrath <roland@redhat.com>
11549
11550 [BZ #11840]
11551 * configure.in (-fgnu89-inline check): Set and substitute
11552 gnu89_inline, not libc_cv_gnu89_inline.
11553 * configure: Regenerated.
11554 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11555
24fb0f88
UD
115562010-07-26 Ulrich Drepper <drepper@redhat.com>
11557
11558 * string/test-strnlen.c: New file.
11559 * string/Makefile (strop-tests): Add strnlen.
11560 * string/tester.c (test_strnlen): Add a few more test cases.
11561 * string/tst-strlen.c: Better error reporting.
11562
11563 * sysdeps/x86_64/strnlen.S: New file.
11564
8e96b93a
UD
115652010-07-24 Ulrich Drepper <drepper@redhat.com>
11566
11567 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11568 lower-latency instructions.
11569
dbc676d4
UD
115702010-07-23 Ulrich Drepper <drepper@redhat.com>
11571
11572 * string/test-strcasestr.c: New file.
11573 * string/test-strstr.c: New file.
11574 * string/Makefile (strop-tests): Add strstr and strcasestr.
11575 * string/str-two-way.h: Don't undefine MAX.
11576 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11577
f6a31e0e
AS
115782010-07-21 Andreas Schwab <schwab@redhat.com>
11579
11580 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11581 strcasestr-nonascii.
11582 (CFLAGS-strcasestr-nonascii.c): Define.
11583 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11584 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11585 Remove unused attribute.
11586
5dbc3b6c
RM
115872010-07-20 Roland McGrath <roland@redhat.com>
11588
11589 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11590 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
11591 ld.so.cache was broken. With it, there is no way to disable dsocaps
11592 like LD_HWCAP_MASK can disable hwcaps.
11593
23d101d8
EPM
115942010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11595
11596 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11597
cc9f2e47
UD
115982010-07-16 Ulrich Drepper <drepper@redhat.com>
11599
11600 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11601 call in strcasestr.
11602 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11603 __strcasestr_sse42_nonascii.
11604 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11605 strcasestr-nonascii.c.
11606 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11607
77c1b069
LM
116082010-06-15 Luis Machado <luisgpm@br.ibm.com>
11609
11610 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11611 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11612 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11613 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11614
440566c3
UD
116152010-07-09 Ulrich Drepper <drepper@redhat.com>
11616
11617 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11618 fcntl.
11619
5be9d05d
AS
116202010-07-06 Andreas Schwab <schwab@redhat.com>
11621
c30b7ee2 11622 [BZ #11577]
5be9d05d
AS
11623 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11624 dl_signal_cerror.
11625
8a492a67
UD
116262010-07-06 Ulrich Drepper <drepper@redhat.com>
11627
11628 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11629 _PC_PIPE_BUF using F_GETPIPE_SZ.
11630
713df3d5
RM
116312010-07-05 Roland McGrath <roland@redhat.com>
11632
11633 * manual/arith.texi (Rounding Functions): Fix rint description
11634 implicit in round description.
11635
702e8f14
UD
116362010-07-02 Ulrich Drepper <drepper@redhat.com>
11637
11638 * elf/Makefile: Fix linking for a few tests to make recent linker
11639 happy.
11640
52ed8be9
AS
116412010-06-30 Andreas Schwab <schwab@redhat.com>
11642
11643 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11644 $(common-objpfx)libc_nonshared.a.
11645
f47c9a11
LM
116462010-06-21 Luis Machado <luisgpm@br.ibm.com>
11647
11648 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11649 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11650 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11651 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11652 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11653 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11654 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11655 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11670 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11671 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11672 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11673 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11674 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11675 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11676 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11677 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11678 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11679 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11680 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11681 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11696
6fb8cbcb
L
116972010-06-25 H.J. Lu <hongjiu.lu@intel.com>
11698
11699 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11700 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11701 * string/memmove.c (memmove): Renamed to ...
11702 (MEMMOVE): ...this. Default to memmove.
11703 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11704 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11705 (END_CHK): Define.
11706 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11707 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11708 mempcpy-ssse3-back memmove-ssse3-back.
11709 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11710 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11711 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11712 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11713 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11714 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11715 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11716 * sysdeps/x86_64/multiarch/memmove.c: New file.
11717 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11718 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11719 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11720 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11721 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11722 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11723 Define.
11724 (index_Fast_Copy_Backward): Define.
11725 (HAS_ARCH_FEATURE): Define.
11726 (HAS_FAST_REP_STRING): Define.
11727 (HAS_FAST_COPY_BACKWARD): Define.
11728
4e733bac 117292010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
11730
11731 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11732 Restore proper fallback handling.
11733
63c4ed22
UD
117342010-06-19 Ulrich Drepper <drepper@redhat.com>
11735
ac2b484c
UD
11736 [BZ #11701]
11737 * posix/group_member.c (__group_member): Correct checking loop.
11738
63c4ed22
UD
11739 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11740 OOM in getpwuid_r correctly. Return error number when the caller
11741 should return, otherwise -1.
11742 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11743 call returning > 0 value.
11744 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11745
765ade4b
AS
117462010-06-07 Andreas Schwab <schwab@redhat.com>
11747
11748 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11749 libc_nonshared.a from targets in modules-names.
11750
80da2e09
KS
117512010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11752
11753 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11754 requires it.
11755
158db122
LM
117562010-06-10 Luis Machado <luisgpm@br.ibm.com>
11757
11758 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11759 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11760 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11761 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11762
caa78cf8
AS
117632010-06-02 Andreas Schwab <schwab@redhat.com>
11764
11765 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11766
b2ef2c01
UD
117672010-06-14 Ulrich Drepper <drepper@redhat.com>
11768
11769 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11770 and F_GETPIPE_SZ.
11771 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11772 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11773 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11774 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11775 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11776 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11777
fbd643b6
RM
117782010-06-14 Roland McGrath <roland@redhat.com>
11779
11780 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11781
f32f2869
JJ
117822010-06-07 Jakub Jelinek <jakub@redhat.com>
11783
11784 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11785 __REDIRECT followed by __THROW.
11786 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11787 * posix/getopt.h (getopt): Likewise.
11788
2a50c078
EPM
117892010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11790
11791 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11792 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11793 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11794 in AT_FLAGS.
11795 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11796 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11797
eb5ad2eb
LM
117982010-05-28 Luis Machado <luisgpm@br.ibm.com>
11799
11800 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11801
3c88fe1e
L
118022010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11803
11804 [BZ #11640]
11805 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11806 Properly check family and model.
11807
d2f73151
TY
118082010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11809
11810 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11811
ebd2e13d
LM
118122010-05-24 Luis Machado <luisgpm@br.ibm.com>
11813
11814 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11815
b32b8b45
UD
118162010-05-21 Ulrich Drepper <drepper@redhat.com>
11817
11818 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11819 symbol reference.
11820
9acbe24d
AS
118212010-05-19 Andreas Schwab <schwab@redhat.com>
11822
11823 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11824 symbol reference.
11825
f0ccf6ea
AS
118262010-05-21 Andreas Schwab <schwab@redhat.com>
11827
3d04ff3a
AS
11828 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11829 and internal_recvmmsg.
11830 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11831 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11832 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11833 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11834
f0ccf6ea
AS
11835 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11836 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11837 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11838
5b08ac57
AS
118392010-05-20 Andreas Schwab <schwab@redhat.com>
11840
11841 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11842
4828935d
LM
118432010-05-17 Luis Machado <luisgpm@br.ibm.com>
11844
11845 POWER7 optimizations.
11846 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11847 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11848
373d545e
UD
118492010-05-19 Ulrich Drepper <drepper@redhat.com>
11850
11851 * version.h: Update for 2.13 development version.
11852
21a2b1ae
AS
118532010-05-12 Andrew Stubbs <ams@codesourcery.com>
11854
11855 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11856 exceptions. Return 0.
11857
3f7dcb2b
RM
118582010-05-07 Roland McGrath <roland@redhat.com>
11859
11860 * elf/ldconfig.c (main): Add a const.
11861
5f24d53a 118622010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 11863
a160f8d8
UD
11864 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11865 (args_options): Add no-idn option.
11866 (ahosts_keys_int): Add idn_flags to ai_flags.
11867 (parse_option): Handle 'i' option to clear idn_flags.
11868
5f24d53a
UD
11869 * malloc/malloc.c (_int_free): Possible race in the most recently
11870 added check. Only act on the data if no current modification
11871 happened.
265bb1ce
UD
11872
11873See ChangeLog.17 for earlier changes.
This page took 1.562512 seconds and 5 git commands to generate.