]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Restore non-v9 32-bit sparc build.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
cfa1f3e8
DM
12012-04-25 David S. Miller <davem@davemloft.net>
2
3 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4 HWCAP_* values only after the memory barriers have been defined.
5 (atomic_full_barrier): Define.
6 (atomic_read_barrier): Define.
7 (atomic_write_barrier): Define.
8
6e236b92
SP
92012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10
11 * shlib-versions: Add libgcc_s version information.
12 * sysdeps/generic/libgcc_s.h: Remove.
13 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
14 libgcc_s.h.
15 * sysdeps/gnu/unwind-resume.c: Likewise.
16 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
17
aab39a09
DM
182012-04-25 David S. Miller <davem@davemloft.net>
19
20 * sysdeps/unix/sparc/brk.S: Delete.
21 * sysdeps/unix/sparc/dl-brk.S: Delete.
22 * sysdeps/unix/sparc/pipe.S: Delete.
23 * sysdeps/unix/sparc/sysdep.S: Delete.
24 * sysdeps/unix/sparc/sysdep.h: Delete.
25 * sysdeps/unix/sparc/vfork.S: Delete.
26 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
27 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
28 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
29 ret_ERRVAL, r0, r1, MOVE): Define.
30 (JUMPTARGET): Remove.
31 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
32 sysdeps/unix/sparc/sysdep.h
33 (ENTRY, END): Remove.
34 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35
a3cc4f48
JM
362012-04-25 Joseph Myers <joseph@codesourcery.com>
37
2ed8cda2
JM
38 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
39 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
40 -DIS_IN_build.
41
35d76d59
JM
42 * timezone/README: Update upstream location and email address for
43 tzcode and tzdata.
44 * timezone/zdump.c: Update from tzcode 2012b.
45 * timezone/zic.c: Likewise.
46
a3cc4f48
JM
47 * configure.in (libc_cv_as_needed): Remove test.
48 * configure: Regenerated.
49 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
50 conditional definition.
51 [$(have-as-needed) != yes] (no-as-needed): Likewise.
52 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
53 * config.make.in (have-as-needed): Remove variable.
54
ceab42c3
SP
552012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
56 Paul Pluzhnikov <ppluzhnikov@google.com>
57
58 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
59 strings correctly.
60
3ce2865f
CLT
612012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
62
63 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
64 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
65 * sysdeps/sh/strlen.S: Likewise.
66
f37e0d68
JM
672012-04-24 Joseph Myers <joseph@codesourcery.com>
68
ae186e9a
JM
69 * sysdeps/unix/fork.S: Remove file.
70 * sysdeps/unix/i386/fork.S: Likewise.
71 * sysdeps/unix/sparc/fork.S: Likewise.
72
b96914af
JM
73 * sysdeps/unix/system.c: Remove file.
74 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
75
f37e0d68
JM
76 * sysdeps/unix/getegid.S: Remove file.
77 * sysdeps/unix/geteuid.S: Likewise.
78
87ef29ca
RM
792012-04-24 Roland McGrath <roland@hack.frob.com>
80
83bcd236
RM
81 * scripts/check-localplt.awk: New file.
82 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
83 of diff.
84 * scripts/data/localplt-generic.data: Add a comment.
85
87ef29ca
RM
86 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
87 NODE when __dir_mkfile failed.
88 * sysdeps/mach/hurd/symlinkat.c: Likewise.
89 Reported by Ludovic Courtès <ludo@gnu.org>.
90
e5a6e567
AJ
912012-04-24 Andreas Jaeger <aj@suse.de>
92
93 * Makerules (common-clean): Also remove gen-as-const-headers
94 files.
95
c1820385
JM
962012-04-24 Joseph Myers <joseph@codesourcery.com>
97
98 * Makerules (native-compile): Do not change working directory for
99 build. Use $(OUTPUT_OPTION) in command.
100 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
101
94e02fc4
AZ
1022012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
103
104 [BZ #13886]
105 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
106 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
107 * math/libm-test.inc (floor_test): Add more tests.
108 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
109
3a533ca3
JM
1102012-04-24 Joseph Myers <joseph@codesourcery.com>
111
940ab4b3
JM
112 * sysdeps/unix/getdents.c: Remove file.
113 * sysdeps/unix/sysv/getdents.c: Likewise.
114 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
115
90e037bd
JM
116 * sysdeps/unix/syscalls.list (madvise): Add syscall from
117 sysdeps/unix/mman/syscalls.list.
118 (mmap): Likewise.
119 (mprotect): Likewise.
120 (msync): Likewise.
121 (munmap): Likewise.
122 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
123 * sysdeps/unix/mman/syscalls.list: Remove.
124 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
125
3a533ca3
JM
126 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
127 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
128 * configure: Regenerated.
129 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
130 $(libgcc_s_suffix).
131 * config.make.in (libgcc_s_suffix): Remove variable.
132
1ad743de
JM
1332012-04-23 Joseph Myers <joseph@codesourcery.com>
134
4ad451e2
JM
135 * sysdeps/unix/sysv/gethostname.c: Move to ...
136 * sysdeps/posix/gethostname.c: ... here.
137
5e37ce39
JM
138 * sysdeps/unix/execve.S: Remove file.
139
1ad743de
JM
140 * sysdeps/unix/_exit.S: Remove file.
141
4e681b5b
AJ
1422012-04-23 Andreas Jaeger <aj@suse.de>
143
144 [BZ #13739]
145 * manual/Makefile: Remove make dist support, there's no
146 need for a stand-alone documentation tar ball.
147 (TEXI2DVI): Define always, it's not in Makeconfig.
148 (dist): Removed.
149 (tar-it): Removed.
150 (edition): Removed.
151 (glibc-doc-$(edition).tar): Removed
152 (%.Z): Removed.
153 (%.gz): Removed.
154 (%.uu): Removed.
155 (ETAGS): Remove, it's in Makeconfig.
156 (move-if-change): Remove, it's in Makeconfig.
157
c0baea34
PE
1582013-04-23 Paul Eggert <eggert@cs.ucla.edu>
159
160 [BZ #13970]
161 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
162 (strtod, strtof, strtold, strtol, strtoul, strtoq)
163 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
164 (strtod_l, strtof_l, strtold_l): Remove __wur.
165 It is not necessarily an error to ignore strtol's return value.
166 One can reliably look at the stored endptr to decide whether
167 the number had valid syntax.
168
7c0616fa
AJ
1692012-04-21 Andreas Jaeger <aj@suse.de>
170
803cb6b7 171 [BZ #13739]
7c0616fa
AJ
172 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
173
b0fe253f
JM
1742012-04-21 Joseph Myers <joseph@codesourcery.com>
175
176 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
177 * sysdeps/unix/sysv/Versions: Remove file.
178
8280f22d
MT
1792012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
180
181 [BZ #13927]
182 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
183
75ce411f 1842012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
185
186 [BZ #7064]
187 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
188 version from __vm86.
189
097d59fa
JM
1902012-04-20 Joseph Myers <joseph@codesourcery.com>
191
a90f3bcb
JM
192 * sysdeps/unix/common/lxstat.c: Remove file.
193 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
194
edc7ea78
JM
195 * sysdeps/unix/sysv/Makefile: Remove file.
196
cb78c221
JM
197 * sysdeps/unix/sysv/direct.h: Remove file.
198
efa6a45f
JM
199 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
200 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
201 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
202 * sysdeps/unix/sysv/bits/signum.h: Likewise.
203 * sysdeps/unix/sysv/bits/stat.h: Likewise.
204 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
205 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
206
9c9f2d0c
JM
207 * sysdeps/unix/sysv/setrlimit.c: Remove file.
208
4541c83b
JM
209 * sysdeps/unix/xmknod.c: Remove file.
210 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
211
f5d153a0
JM
212 * sysdeps/unix/sysv/settimeofday.c: Remove file.
213
aa746595
JM
214 * sysdeps/unix/sysv/i386/time.S: Remove file.
215
cce5905e
JM
216 * sysdeps/unix/fxstat.c: Remove file.
217 * sysdeps/unix/xstat.c: Likewise.
218 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
219
37fa3841
JM
220 * sysdeps/unix/sysv/sigaction.c: Remove file.
221
ff1962a3
JM
222 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
223 (sysdep_headers): Remove variable.
224 [termio.h not in sysdep_headers] (generated): Likewise.
225 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
226 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
227 * sysdeps/unix/sysv/tcdrain.c: Likewise.
228 * sysdeps/unix/sysv/tcflow.c: Likewise.
229 * sysdeps/unix/sysv/tcflush.c: Likewise.
230 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
231 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
232 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
233 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
234 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
235
e7740d31
JM
236 * sysdeps/unix/siglist.c: Remove file.
237
ee06f18b
JM
238 * sysdeps/unix/getppid.S: Remove file.
239
097d59fa
JM
240 * sysdeps/unix/mkdir.c: Remove file.
241 * sysdeps/unix/rmdir.c: Likewise.
242
ff3d51ec
AS
2432012-04-19 Andreas Schwab <schwab@linux-m68k.org>
244
245 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
246 ERR_MAX value.
247 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
248 errlist-compat value.
249
50f81fd7
DM
2502012-04-18 David S. Miller <davem@davemloft.net>
251
252 * sysdeps/generic/memcopy.h (reg_char): Delete.
253 * debug/strcat_chk.c: Use char, not reg_char.
254 * debug/strcpy_chk.c: Likewise.
255 * debug/strncat_chk.c: Likewise.
256 * debug/strncpy_chk.c: Likewise.
257 * string/memchr.c: Likewise.
258 * string/memrchr.c: Likewise.
259 * string/rawmemchr.c: Likewise.
260 * string/strcat.c: Likewise.
261 * string/strchr.c: Likewise.
262 * string/strchrnul.c: Likewise.
263 * string/strcmp.c: Likewise.
264 * string/strcpy.c: Likewise.
265 * string/strncat.c: Likewise.
266 * string/strncmp.c: Likewise.
267 * string/strncpy.c: Likewise.
268
8ff41c46
WS
2692012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
270
271 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
272 __builtin_memcopy is called when src and dest ranges are known to not
273 overlap.
274
6b652f46
WS
2752012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
276
277 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
278 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
279 fwd_align_merge macro call.
280 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
281 bwd_align_merge macro call.
282 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
283
b282631e
WS
2842012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
285
286 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
287 bwd_align_merge macros.
288 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
289 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
290 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
291
95aa737c
DM
2922012-04-18 David S. Miller <davem@davemloft.net>
293
294 * sysdeps/sparc/sparc64/memcopy.h: Delete.
295
7a99a614
AJ
2962012-04-18 Andreas Jaeger <aj@suse.de>
297
298 [BZ# 6794]
299 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
300 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
301 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
302
303 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
304 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
305 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
306
307 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
308 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
309 Adjust for changed ldbl-128 files.
310
311 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
312 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
313 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
314
e5270c23
DM
3152012-04-17 David S. Miller <davem@davemloft.net>
316
317 * sysdeps/sparc/sparc32/memcopy.h: Delete.
318
fb5e92c9
AS
3192012-04-17 Andreas Schwab <schwab@linux-m68k.org>
320
321 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
322 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
323 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
324 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
325 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
326 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
327
76da7265
AZ
3282012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
329
330 [BZ #6794]
331 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
332 * math/libm-test.inc: Add ilogb errno and exception tests.
333 * math/w_ilogb.c: New file: ilogb wrapper.
334 * math/w_ilogbf.c: New file: ilogbf wrapper.
335 * math/w_ilogbl.c: New file: ilogbl wrapper.
336 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
337 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
338 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
339 exception being thrown with 0.0 as argument.
340 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
341 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
342 exception being thrown with 0.0 as argument.
343 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
344 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
345 exception being thrown with 0.0 as argument.
346 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
347 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
348 exception being thrown with 0.0 as argument.
349 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
350 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 351 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
352 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
353 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
354 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
355 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
356 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
357 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
358
0396e69d
PB
3592012-04-17 Petr Baudis <pasky@ucw.cz>
360
361 * include/sys/uio.h: Change __vector to __iovec to avoid clash
362 with altivec.
363
750b5926
MP
3642012-04-16 Marek Polacek <polacek@redhat.com>
365
366 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
367
751728a1
MP
3682012-04-16 Marek Polacek <polacek@redhat.com>
369
370 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
371 operands of fdivp instruction.
372
34a27407
L
3732012-04-13 H.J. Lu <hongjiu.lu@intel.com>
374
375 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
376 * elf/tst-auditmod3b.c: Likewise.
377 * elf/tst-auditmod4b.c: Likewise.
378 * elf/tst-auditmod5b.c: Likewise.
379 * elf/tst-auditmod6b.c: Likewise.
380 * elf/tst-auditmod6c.c: Likewise.
381 * elf/tst-auditmod7b.c: Likewise.
382 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
383 * sysdeps/x86_64/preconfigure.in: Likewise.
384 * sysdeps/x86_64/preconfigure: Regenerated.
385
7e73e17d
L
3862012-04-13 H.J. Lu <hongjiu.lu@intel.com>
387
388 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
389 __ILP32__.
390
c7a6ab72
AB
3912012-04-13 Antoine Balestrat <merkil33@gmail.com>
392
393 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
394 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
395
a9e8e0e0
CL
3962012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
397
398 [BZ #13973]
399 * locale/iso-639.def: Fix gl language name. Spotted by
400 Yaron Shahrabani.
401
ec98af7d
RM
4022012-04-12 Roland McGrath <roland@hack.frob.com>
403
404 [BZ #2074]
405 * libio/libio.h (__io_write_fn): Update comment.
406
247c3ede
PB
4072012-04-12 Petr Baudis <pasky@ucw.cz>
408
409 [BZ #2074]
410 * stdio.texi (Hook Functions): The user provided writer function
411 is not allowed to return -1.
412
55939d6d
DM
4132012-04-11 David S. Miller <davem@davemloft.net>
414
415 * sysdeps/sparc/fpu/libm-test-ulps: Update.
416
90020f5a
MF
4172012-04-11 Mike Frysinger <vapier@gentoo.org>
418
419 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
420 Add a leading slash to rtkaio.
421
288f9098
JM
4222012-04-11 Jim Meyering <meyering@redhat.com>
423
90020f5a
MF
424 [BZ #11959]
425 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
426 It is not necessarily an error to ignore fwrite's return
427 value. One can reliably use ferror to test for errors after
428 the fact.
288f9098 429
4be2b570
L
4302012-04-10 H.J. Lu <hongjiu.lu@intel.com>
431
432 * bits/types.h (__snseconds_t): New type.
433 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
434
435 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
436 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
437 (__SNSECONDS_T_TYPE): Likewise.
438 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
439 (__SNSECONDS_T_TYPE): Likewise.
440 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
441 (__SNSECONDS_T_TYPE): Likewise.
442
288f9098 4432012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
444
445 [BZ #2636]
446 * manual/time.texi (Processor Time): Return type of times is
447 elapsed real time since an arbitrary point in the past.
448 (CPU Time): Move CLK_TCK from here...
449 (Processor Time): ...to here. Correct description.
450 * manual/conf.texi (Constants for Sysconf): Correct description of
451 _SC_CLK_TCK.
452
d7dd4413
DM
4532012-04-10 David S. Miller <davem@davemloft.net>
454
455 [BZ #13967]
456 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
457 where the is a gap between DT_REL(A) and DT_JMPREL.
458
b46068fc
L
4592012-04-10 H.J. Lu <hongjiu.lu@intel.com>
460
461 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
462 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
463 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
464
73d65cc3
SP
4652012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
466
467 * elf/dl-support.c (_dl_inhibit_cache): New variable.
468 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
469 (dl_main): Handle --inhibit-cache.
470 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
471 _dl_inhibit_cache.
472 * elf/dl-load.c (_dl_map_object): Use it.
473 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
474
bcc8d661
JM
4752012-04-09 Joseph Myers <joseph@codesourcery.com>
476
8f9a2fae
JM
477 [BZ #13872]
478 * sysdeps/i386/fpu/e_powl.S (p78): New object.
479 (__ieee754_powl): Saturate large exponents rather than testing for
480 overflow of y*log2(x).
481 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
482 * math/libm-test.inc (pow_test): Do not permit spurious overflow
483 exceptions.
484
bcc8d661
JM
485 [BZ #11521]
486 * math/s_ctan.c: Include <float.h>.
487 (__ctan): Avoid internal overflow or cancellation in calculating
488 denominator.
489 * math/s_ctanf.c: Likewise.
490 * math/s_ctanl.c: Likewise.
491 * math/s_ctanh.c: Likewise.
492 * math/s_ctanhf.c: Likewise.
493 * math/s_ctanhl.c: Likewise.
494 * math/libm-test.inc (ctan_test): Add more tests.
495 (ctanh_test): Likewise.
496 * sysdeps/i386/fpu/libm-test-ulps: Update.
497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
498
823fbbb4
AJ
4992012-04-09 Andreas Jaeger <aj@suse.de>
500
03879793
AJ
501 [BZ #6894]
502 * manual/filesys.texi (Directory Entries): Mention that d_namlen
503 is an optional BSD extension.
504
823fbbb4
AJ
505 [BZ #10254]
506 * manual/stdio.texi (Opening Streams): Document additional fopen
507 parameters.
508
8de131cb
RM
5092012-04-09 Roland McGrath <roland@hack.frob.com>
510
511 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
512 %eax without telling the compiler.
513
c0ed9d7d
CD
5142012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
515
516 [BZ # 13963]
517 * manual/install.texi: Use sourceware.org.
518
c483f6b4
JM
5192012-04-09 Joseph Myers <joseph@codesourcery.com>
520
d7dd9453
JM
521 [BZ #13873]
522 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
523 (__ieee754_pow): Generate overflow and underflow using huge*huge
524 and tiny*tiny rather than just returning constant infinity or zero
525 for large exponents.
526 * math/libm-test.inc (pow_test): Require overflow exceptions for
527 applicable cases of large exponents.
528
c483f6b4
JM
529 [BZ #706]
530 * sysdeps/i386/fpu/e_pow.S (p10): New object.
531 (__ieee754_pow): Use iterative multiplication algorithm only for
532 integer exponents with absolute value below 1024. Check for odd
533 integer exponents when using algorithm for real exponents.
534 * math/libm-test.inc (pow_test): Add more tests.
535 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
536
d2de7579
JM
5372012-04-08 Joseph Myers <joseph@codesourcery.com>
538
539 [BZ #13705]
540 * math/libm-test.inc (exp_test): Do not allow overflow exception
541 on underflow test.
542
f77f1232
AJ
5432012-04-08 Aurelien Jarno <aurelien@aurel32.net>
544
545 [BZ #13705]
546 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
547 instead of __kernel_standard_f.
548
3884932b
MF
5492012-04-08 Mike Frysinger <vapier@gentoo.org>
550
551 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
552 * sysdeps/x86_64/memset_chk.S: Likewise.
553
54472e9c
AJ
5542012-04-08 Andreas Jaeger <aj@suse.de>
555
6ab0fbfc
AJ
556 [BZ #10153]
557 * manual/startup.texi (Environment Access): Describe return value
558 for putenv and setenv.
559
61efba8c
AJ
560 [BZ #6895]
561 * manual/filesys.texi (Directory Entries): Add description for
562 DT_LNK.
563
95c3f29a
AJ
564 [BZ #6890]
565 * manual/filesys.texi (Directory Entries): Clarify that it's file
566 system not operating system in the description of DT_UNKNOWN.
567
54472e9c
AJ
568 [BZ #6578]
569 * manual/syslog.texi (closelog): Fix reference, it's openlog.
570
624254b1
SC
5712012-04-08 Stephen Compall <s11@member.fsf.org>
572
573 [BZ #6649]
574 * manual/llio.texi (Opening and Closing Files): Add cross
575 reference to explain mode argument.
576
1e4920e0
MF
5772012-04-07 Mike Frysinger <vapier@gentoo.org>
578
579 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
580 * sysdeps/x86_64/memset_chk.S: Likewise.
581
5ed848f3
DM
5822012-04-07 David S. Miller <davem@davemloft.net>
583
584 * elf/elf.h (R_SPARC_WDISP10): Define.
585 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
586 R_SPARC_SIZE32.
587 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
588 R_SPARC_SIZE64 and R_SPARC_H34.
589
96154cd8
CD
5902012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
591
592 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
593 conditions and remove no longer applicable assertion.
594
9904dc47
L
5952012-04-06 H.J. Lu <hongjiu.lu@intel.com>
596
597 * bits/byteswap.h: Include <features.h>.
598 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
599 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
600
f8887d0a
L
6012012-04-06 H.J. Lu <hongjiu.lu@intel.com>
602
603 * bits/byteswap.h (__bswap_16): Removed.
604 Include <bits/byteswap-16.h> to get __bswap_16.
605 * sysdeps/i386/bits/byteswap.h: Likewise.
606 * sysdeps/s390/bits/byteswap.h: Likewise.
607 * sysdeps/x86_64/bits/byteswap.h: Likewise.
608 * bits/byteswap-16.h: New file.
609 * sysdeps/i386/bits/byteswap-16.h: Likewise.
610 * sysdeps/s390/bits/byteswap-16.h: Likewise.
611 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
612 * string/Makefile (headers): Add bits/byteswap-16.h.
613
62470f60
PP
6142012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
615
616 [BZ #13895]
617 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
618 extra indirection.
619 * nss/Makefile (tests-static, tests): Add tst-nss-static.
620 * nss/tst-nss-static.c: New.
621
4dad7bab
RM
6222012-04-06 Robert Millan <rmh@gnu.org>
623
624 [BZ #6486]
625 * manual/llio.texi (File Position Primitive): lseek
626 refers to WHENCE when it really means OFFSET.
627
e9142a17
AJ
6282012-04-06 Andreas Jaeger <aj@suse.de>
629
2c040eff
AJ
630 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
631 strncmp declarations.
632
e9142a17
AJ
633 * abilist/libc.abilist: Add __poll and __ppoll.
634
ff9f1c5f
DM
6352012-04-05 David S. Miller <davem@davemloft.net>
636
dcd2ae90
DM
637 * scripts/check-local-headers.sh: Accept a host triplet in the
638 path matched by the exclude regexp.
639
993eb054
DM
640 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
641 definition.
642 * sysdeps/powerpc/powerpc32/dl-machine.h
643 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
644 * sysdeps/s390/s390-32/dl-machine.h
645 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
646 * sysdeps/sparc/sparc32/dl-machine.h
647 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
648 * sysdeps/sparc/sparc64/dl-machine.h
649 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
650
ff9f1c5f
DM
651 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
652 lazy binding.
48e2e132 653 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
654 undefined symbol errors.
655
48e2e132 656 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
657 DT_NEEDED entries.
658
e80d6f94
MM
6592012-04-05 Michael Matz <matz@suse.de>
660
661 [BZ #13592]
662 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
663
349fa79f
AJ
6642012-04-05 Andreas Jaeger <aj@suse.de>
665
666 [BZ #13908]
667 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
668 comment.
669
f402708f
KK
6702012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
671
672 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
673 which ROUND is no valid rounding mode.
674
2ecccfc9
KK
6752012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
676
677 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
678 read again.
679 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
680
8a53f50f
KK
6812012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
682
683 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
684 an exception using FPU order intentionally.
685
6862012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
687
688 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
689 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
690 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
691 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
692
d653abb7
SJ
6932012-04-05 Simon Josefsson <simon@josefsson.org>
694
695 [BZ #12340]
696 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
697 EINVAL when BUFLEN is too smal.
698
c3b1bf7d
TS
6992012-04-05 Thomas Schwinge <thomas@codesourcery.com>
700
701 [BZ #13553]
702 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
703 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
704
b1aa60f3
AJ
7052012-04-03 Andreas Jaeger <aj@suse.de>
706
c3b1bf7d 707 [BZ #13938]
67f60a26
AJ
708 * manual/setjmp.texi (System V contexts): Fix sentence.
709
b1aa60f3
AJ
710 [BZ #13926]
711 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
712 New macro for this case.
713 [!__GNUC__] (__bswap_64): New inline function for this case.
714 * sysdeps/x86_64/bits/byteswap.h: Likewise.
715 * bits/byteswap.h: Likewise.
716 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
717 ull, guard with __GLIBC_HAVE_LONG_LONG.
718
719 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
720 __GLIBC_HAVE_LONG_LONG.
721
722 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
723 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
724
39c59c35
TMQMF
7252012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
726
727 [BZ #13691]
728 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
729 inptr and inend, rather than using last_ch.
730
135ffda8
DM
7312012-04-02 David S. Miller <davem@davemloft.net>
732
733 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
734 * stdio-common/printf-parse.h (read_int): Change return type to
735 'int', return -1 on INT_MAX overflow.
736 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
737 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
738 overflows INT_MAX. Check for overflow of in-format-string precision
739 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
740 SIZE_MAX not INT_MAX for integer overflow test.
741 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
742 skip the construct in the format string but do not record anything.
743 * stdio-common/bug22.c: Adjust to test both width/prevision
744 INT_MAX overflow as well as total length INT_MAX overflow. Check
745 explicitly for proper errno values.
746
228c019e
TS
7472012-04-02 Thomas Schwinge <thomas@codesourcery.com>
748
302cadd3
TS
749 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
750 CHAR_MAX.
751 * string/test-strcmp.c [! WIDE]: Likewise.
752 * time/tst-mktime2.c: Likewise for INT_MAX.
753 * string/test-string.h: #include <sys/param.h> for MIN.
754
228c019e
TS
755 * csu/init-first.c (__libc_init_first): Call __ctype_init.
756 * sysdeps/i386/init-first.c (init): Likewise.
757 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
758 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
759 * sysdeps/sh/init-first.c (init): Likewise.
760
cfa633f5
UD
7612012-04-01 Ulrich Drepper <drepper@gmail.com>
762
763 * po/ru.po: Update from translation team.
d1635ef8 764 * po/vi.po: Likewise.
cfa633f5 765
6cd0a5ea
SP
7662012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
767
768 * resolv/nss_dns/dns-host.c: Merge copyright years.
769
4b43400f
LD
7702012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
771
772 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
773 Optimize memcpy with prefetch if
774 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
775 src, dst pointers have unequal 16 byte alignments.
776
48c41d04
SP
7772012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
778
779 [BZ #13928]
780 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
781 from a CNAME entry and return the minimum ttl for the query.
782 (gaih_getanswer_slice): Likewise.
783
b8dc394d
JL
7842012-03-30 Jeff Law <law@redhat.com>
785
786 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
787 due to long keys.
788 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
789 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
790
2f5a5ed0
JL
791 * resolv/nss_dns/dns-host.c: Update copyright year.
792
1d39e359
UD
7932012-03-30 Ulrich Drepper <drepper@gmail.com>
794
c030f70c 795 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 796 requests to save a system call. Fix check that all bytes are sent.
c030f70c 797
1d39e359
UD
798 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
799 comments for sendmmsg.
800
8012012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
802
803 [BZ #13691]
804 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
805 with only 1 character between 0x0041 and 0x01b0.
806 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
807 * wcsmbs/tst-mbsnrtowcs.c: New file.
808
20fde227
DM
8092012-03-29 David S. Miller <davem@davemloft.net>
810
811 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
812 small copies by hand.
813
984a4237
JL
8142012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
815
816 [BZ #13761]
817 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
818 _nss_compat_initgroups_dyn): Fall back to malloc/free
819 for large group memberships.
820
18c9d62b
DM
8212012-03-28 David S. Miller <davem@davemloft.net>
822
88d85d4f
DM
823 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
824 that branches into memcpy.
825 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
826 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
827 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
828 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
829 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
830 bits.
831 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
832 implementation too.
833 * sysdeps/sparc/mempcpy.S: New file.
834
e5aa83e1
DM
835 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
836 the IFUNC routine in the libc case.
837 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
838
88570753
DM
839 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
840 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
841 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
842 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
843 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
844 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
845 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
846 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
847
249d7567
DM
848 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
849 loop to 256 bytes instead of 64 bytes and fix test signedness.
850
18c9d62b
DM
851 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
852 * sysdeps/sparc/sparc32/Makefile: rather than here...
853 * sysdeps/sparc/sparc64/Makefile: and here.
854
05f3d1f6
UD
8552012-03-28 Ulrich Drepper <drepper@gmail.com>
856
857 * malloc/mallocbug.c: Avoid warnings about unused variables.
858
86ae07a8
JL
8592012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
860
861 [BZ #13760]
862 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
863 in the right place. Discard and retry query if response is
864 larger than input buffer size.
865
41bf21a1
JM
8662012-03-28 Joseph Myers <joseph@codesourcery.com>
867
d6270972
JM
868 [BZ #369]
869 [BZ #2678]
870 [BZ #3866]
871 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
872 x for large integer exponent.
873 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
874 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
875 sign of result as needed afterwards.
876 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
877 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
878 result for underflowing pow the same as for overflow.
879 (__kernel_standard_l): Handle powl overflow and underflow here
880 rather than calling __kernel_standard.
881 * math/libm-test.inc (pow_test): Add more tests.
882
414fca03 883 [BZ #3868]
41bf21a1
JM
884 [BZ #13879]
885 [BZ #13910]
886 [BZ #13911]
887 [BZ #13912]
888 [BZ #13913]
889 [BZ #13915]
890 [BZ #13916]
891 [BZ #13917]
892 [BZ #13918]
893 [BZ #13919]
894 [BZ #13920]
895 [BZ #13921]
896 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
897 * sysdeps/ieee754/k_standard.c: Include <float.h>.
898 (__kernel_standard_l): New function.
899 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
900 __kernel_standard.
901 * math/w_acosl.c (__acosl): Likewise.
902 * math/w_asinl.c (__asinl): Likewise.
903 * math/w_atan2l.c (__atan2l): Likewise.
904 * math/w_atanhl.c (__atanhl): Likewise.
905 * math/w_coshl.c (__coshl): Likewise.
906 * math/w_exp10l.c (__exp10l): Likewise.
907 * math/w_exp2l.c (__exp2l): Likewise.
908 * math/w_fmodl.c (__fmodl): Likewise.
909 * math/w_hypotl.c (__hypotl): Likewise.
910 * math/w_j0l.c (__j0l, __y0l): Likewise.
911 * math/w_j1l.c (__j1l, __y1l): Likewise.
912 * math/w_jnl.c (__jnl, __ynl): Likewise.
913 * math/w_lgammal.c (__lgammal): Likewise.
914 * math/w_log10l.c (__log10l): Likewise.
915 * math/w_log2l.c (__log2l): Likewise.
916 * math/w_logl.c (__logl): Likewise.
917 * math/w_powl.c (__powl): Likewise.
918 * math/w_remainderl.c (__remainderl): Likewise.
919 * math/w_scalbl.c (sysv_scalbl): Likewise.
920 * math/w_sinhl.c (__sinhl): Likewise.
921 * math/w_sqrtl.c (__sqrtl): Likewise.
922 * math/w_tgammal.c (__tgammal): Likewise.
923 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
924 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
925 * math/libm-test.inc (acos_test): Add more tests.
926 (acosh_test): Likewise.
927 (asin_test): Likewise.
928 (atanh_test): Likewise.
929 (exp_test): Likewise.
930 (exp10_test): Likewise.
931 (exp2_test): Likewise.
932 (expm1_test): Likewise.
933 (lgamma_test): Likewise.
934 (log_test): Likewise.
935 (log10_test): Likewise.
936 (log1p_test): Likewise.
937 (log2_test): Likewise.
938 (pow_test): Do not allow some spurious overflow exceptions.
939 (sqrt_test): Add more tests.
940 (tgamma_test): Likewise.
941 (y0_test): Likewise.
942 (y1_test): Likewise.
943 (yn_test): Likewise.
944
dd62fda6
AB
9452012-03-27 Anton Blanchard <anton@samba.org>
946
947 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
948 MAP_HUGETLB.
949 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
950 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
951 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
952
1e3cdfda
AJ
9532012-03-27 David S. Miller <davem@davemloft.net>
954
b855ab85
DM
955 * conform/Makefile: Run run-conformtest.sh using $(BASH).
956
1e3cdfda
AJ
957 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
958 have-as-vis3 check.
959
9602012-03-27 Andreas Jaeger <aj@suse.de>
961
962 * sysdeps/x86_64/elf/configure.in: Moved to ...
963 * sysdeps/x86_64/configure.in: ... here.
964 * sysdeps/x86_64/elf/start.S: Moved to ...
965 * sysdeps/x86_64/start.S: ... here.
966 * sysdeps/x86_64/elf/configure: Delete.
967
968 * sysdeps/x86_64/configure.in: Merge contents from
969 sysdeps/i386/configure.in (without i686 check).
970
971 * sysdeps/i386/elf/Versions: Merge into ...
972 * sysdeps/i386/Versions: ... this.
973 * sysdeps/i386/elf/Versions: Delete file.
974 * sysdeps/i386/elf/start.S: Moved to ...
975 * sysdeps/i386/start.S: ...here.
976 * sysdeps/i386/elf/configure.in: Merge into...
977 * sysdeps/i386/configure.in: ...here.
978 * sysdeps/i386/elf/configure.in: Delete file.
979 * sysdeps/i386/elf/configure: Delete file.
980
981 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
982 * debug/backtracesyms.c: ... here.
983 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
984 * debug/backtracesymsfd.c: ... here.
985 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
986 * sysdeps/generic/ifunc-sel.h: ... here.
987
988 * sysdeps/unix/i386/start.c: Delete file.
989 * sysdeps/unix/sparc/start.c: Delete file.
990 * sysdeps/unix/start.c: Delete file.
991
992 * sysdeps/sh/elf/configure.in: Moved to ...
993 * sysdeps/sh/configure.in: ... here.
994 * sysdeps/sh/elf/start.S: Moved to ...
995 * sysdeps/sh/start.S: ... here.
996 * sysdeps/sh/elf/configure: Delete file.
997
998 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
999 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
1000 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
1001 * sysdeps/powerpc/powerpc64/entry.h: ... here.
1002 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
1003 * sysdeps/powerpc/powerpc64/start.S: here.
1004 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
1005 * sysdeps/powerpc/powerpc64/Makefile: ... this.
1006 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
1007 * sysdeps/powerpc/powerpc64/configure.in: ... this.
1008 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
1009
1010 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
1011 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
1012 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
1013 * sysdeps/powerpc/powerpc32/start.S: ... here.
1014 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
1015 * sysdeps/powerpc/powerpc32/configure.in: ... this.
1016 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
1017
1018 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
1019 * sysdeps/powerpc/ifunc-sel.h: ... here.
1020 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
1021 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
1022
1023 * sysdeps/sparc/elf/configure.in: Moved to ...
1024 * sysdeps/sparc/configure.in: ... here.
1025 * sysdeps/sparc/elf/configure: Delete file.
1026 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
1027 * sysdeps/sparc/sparc32/start.S: ... here.
1028 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
1029 * sysdeps/sparc/sparc64/start.S: ... here.
1030 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
1031 * sysdeps/sparc/sparc32/Makefile: ... this.
1032 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
1033 * sysdeps/sparc/sparc64/Makefile: ... this.
1034
1035 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
1036 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
1037 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
1038 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
1039 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
1040 * sysdeps/s390/s390-32/setjmp.S: ... here.
1041 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
1042 * sysdeps/s390/s390-32/configure.in: ... here.
1043 * sysdeps/s390/s390-32/elf/configure: Delete file.
1044 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
1045 * sysdeps/s390/s390-32/start.S: ... here.
1046
1047 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
1048 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
1049 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
1050 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
1051 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
1052 * sysdeps/s390/s390-64/setjmp.S: ... here.
1053 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
1054 * sysdeps/s390/s390-64/configure.in: ... here
1055 * sysdeps/s390/s390-64/elf/configure: Delete file.
1056 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
1057 * sysdeps/s390/s390-64/start.S: ... here.
1058 * sysdeps/s390/s390-64/elf/configure: Delete.
1059
1060 * configure.in: Remove support for elf directories in sysdeps.
1061
1062 * configure: Regenerated.
1063 * sysdeps/i386/configure: Regenerated.
1064 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1065 * sysdeps/powerpc/powerpc64/configure: Regenerated.
1066 * sysdeps/s390/s390-32/configure: Regenerated.
1067 * sysdeps/s390/s390-64/configure: Regenerated.
1068 * sysdeps/sh/configure: Regenerated.
1069 * sysdeps/sparc/configure: Regenerated.
1070 * sysdeps/x86_64/configure: Regenerated.
1071
a3f61311
AS
10722012-03-26 Andreas Schwab <schwab@linux-m68k.org>
1073
c876e002
AS
1074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1075
a3f61311
AS
1076 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
1077 denormal result into account.
1078
ac4c54f0
RM
10792012-03-25 Roland McGrath <roland@hack.frob.com>
1080
1081 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
1082 Reported by Allan McRae <allan@archlinux.org>.
1083
6a9b9c02
JL
10842012-03-23 Jeff Law <law@redhat.com>
1085
1086 * nss/getnssent.c (__nss_getent): Fix typo.
1087
4c42a0c1
DM
10882012-03-23 David S. Miller <davem@davemloft.net>
1089
1090 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1091
1532c7ac
L
10922012-03-23 H.J. Lu <hongjiu.lu@intel.com>
1093
1094 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
1095 to pad to uint64_t for each field.
1096 (dl_tls_index): Replace unsigned long with uint64_t.
1097
3ff42526
PP
10982012-03-23 Daniel Jacobowitz <dmj@google.com>
1099 Paul Pluzhnikov <ppluzhnikov@google.com>
1100
1101 [BZ #6528]
1102 * grp/Makefile (otherlibs): Don't set it.
1103 * inet/Makefile (otherlibs): Likewise.
1104 * login/Makefile (otherlibs): Likewise.
1105 * nscd/Makefile (otherlibs): Likewise.
1106 * posix/Makefile (otherlibs): Likewise.
1107 * pwd/Makefile (otherlibs): Likewise.
1108 * rt/Makefile (otherlibs): Likewise.
1109 * sunrpc/Makefile (otherlibs): Likewise.
1110 * nss/Makefile (otherlibs): Likewise.
1111 Add libnss_files to routines and static-only-routines.
1112 ($(objpfx)getent): Remove rule.
1113 * resolv/Makefile: Add libnss_dns and libresolv to routines and
1114 static-only-routines.
1115
7c69cd14
JM
11162012-03-22 Joseph Myers <joseph@codesourcery.com>
1117
1118 [BZ #13892]
1119 * math/s_cexp.c: Include <float.h>.
1120 (__cexp): Handle exp result overflowing not necessarily
1121 overflowing both real and imaginary parts of result.
1122 * math/s_cexpf.c: Likewise.
1123 * math/s_cexpl.c: Likewise.
1124 * math/libm-test.inc (cexp_test): Add more tests.
1125 * sysdeps/i386/fpu/libm-test-ulps: Update.
1126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1127
81b035fe
L
11282012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1129
1130 * include/link.h (ELFW): New macro.
1131 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
1132 Replace ELF64_R_TYPE with ELFW(R_TYPE).
1133
1da7940c
L
11342012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1135
1136 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
1137 with uint64_t.
1138
b749dbb9
L
11392012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1140
1141 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
1142 declaration.
1143 (struct La_x32_retval): Likewise.
1144
2ff87f3f
L
11452012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1146
1147 * sysdeps/x86_64/preconfigure.in: New file.
1148 * sysdeps/x86_64/preconfigure: New generated file.
1149
c0df8e69
JM
11502012-03-22 Joseph Myers <joseph@codesourcery.com>
1151
48e44791
JM
1152 [BZ #13824]
1153 * math/e_exp2l.c: Include <float.h>.
1154 (__ieee754_exp2l): Handle overflow and underflow cases
1155 separately. Only pass fractional part of argument to
1156 __ieee754_expl.
1157 * math/libm-test.inc (exp2_test): Add more tests.
1158
c0df8e69
JM
1159 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
1160 negating x to take absolute value.
1161 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
1162 Likewise.
1163 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1164 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
1165 Likewise.
1166 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
1167 computing low part if x was negated.
1168 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1169
c8e43ba7
L
11702012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1171
1172 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
1173 la_x32_gnu_pltexit.
1174 (pltexit): Cast int_retval to ptrdiff_t.
1175 * elf/tst-auditmod3b.c: Likewise.
1176 * elf/tst-auditmod4b.c: Likewise.
1177 * elf/tst-auditmod5b.c: Likewise.
1178 * elf/tst-auditmod6b.c: Likewise.
1179 * elf/tst-auditmod6c.c: Likewise.
1180 * elf/tst-auditmod7b.c: Likewise.
1181
1182 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
1183 and x32_gnu_pltexit.
1184
1185 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
1186 __ELF_NATIVE_CLASS.
1187 (La_x32_regs): New macro.
1188 (La_x32_retval): Likewise.
1189 (la_x32_gnu_pltenter): New function prototype.
1190 (la_x32_gnu_pltexit): Likewise.
1191
7998fa78
AS
11922012-03-21 Andreas Schwab <schwab@linux-m68k.org>
1193
dcb33988
AS
1194 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
1195 exponent.
1196
233fc563
AS
1197 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1198
7998fa78
AS
1199 * configure.in (libc_cv_cc_nofma): Check for option to disable
1200 generation of FMA instructions.
1201 * configure: Regenerate.
1202 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
1203 * sysdeps/ieee754/dbl-64/Makefile: New file.
1204 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1205 Remove brandred-fma4.
1206 (CFLAGS-brandred-fma4.c): Remove.
1207 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
1208 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
1209 define.
1210 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
1211 define.
1212
8e95c99a
L
12132012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1214
1215 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1216 LLONG_MAX != LONG_MAX.
1217 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1218 (_fitoa_word): Likewise.
1219 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
1220 LLONG_MAX != LONG_MAX.
1221 * stdio-common/_itowa.h: Include <_itoa.h>.
1222 (_itowa_word): Use _ITOA_WORD_TYPE on value.
1223 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
1224 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
1225 only if not defined.
1226 (_ITOA_WORD_TYPE): Likewise.
1227 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1228 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
1229
6f4db457
DM
12302012-03-21 David S. Miller <davem@davemloft.net>
1231
1232 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1233
7785fe5a
L
12342012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1235
1236 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
1237 of x86_64 when setting libc_cv_slibdir, libdir and
1238 libc_cv_localedir.
1239 * sysdeps/unix/sysv/linux/configure: Regenerated.
1240
4535cd55
JM
12412012-03-21 Joseph Myers <joseph@codesourcery.com>
1242
1243 * manual/lang.texi (Old Varargs): Remove section.
1244 (How Variadic): Update menu.
1245 (va_start): Do not mention varargs.h.
1246
17228132
TS
12472012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1248 Joseph Myers <joseph@codesourcery.com>
1249
1250 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
1251 link test.
1252 * configure: Regenerated.
1253
8149f976
TS
12542012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1255
05f3d1f6
UD
1256 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
1257 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
1258 conformtest.pl
8149f976 1259
1a4ac776
JM
12602012-03-21 Joseph Myers <joseph@codesourcery.com>
1261
be22ce65
JM
1262 * NOTES: Remove.
1263 * Makefile (files-for-dist): Remove NOTES.
1264 (NOTES): Remove rule.
1265 * README: Don't refer to NOTES.
1266 * manual/creature.texi: Don't include macros.texi.
1267 * manual/intro.texi (creature.texi): Remove comment referring to
1268 NOTES.
1269
40b601fb
JM
1270 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
1271 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
1272 * configure: Regenerated.
1273 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
1274 LIBC_TRY_CC_OPTION.
1275 (libc_cv_as_i686): Likewise.
1276 (libc_cv_cc_avx): Likewise.
1277 (libc_cv_cc_sse2avx): Likewise.
1278 (libc_cv_cc_fma4): Likewise.
1279 (libc_cv_cc_novzeroupper): Likewise.
1280 * sysdeps/i386/configure: Regenerated.
1281
1a4ac776
JM
1282 [BZ #13883]
1283 * sysdeps/i386/fpu/s_cexp.S: Remove.
1284 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1285 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1286 * math/libm-test.inc (cexp_test): Add more tests.
1287 * sysdeps/i386/fpu/libm-test-ulps: Update.
1288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1289
a458e7fe
AM
12902012-03-21 Allan McRae <allan@archlinux.org>
1291
1292 * timezone/Makefile: Do not install iso3166.tab and zone.tab
1293
0cb7efc5
JM
12942012-03-21 Joseph Myers <joseph@codesourcery.com>
1295
1296 [BZ #13871]
1297 * math/w_exp2.c: Do not include <float.h>.
1298 (o_threshold, u_threshold): Remove.
1299 (__exp2): Calculate result before checking finiteness and calling
1300 __kernel_standard.
1301 * math/w_exp2f.c: Likewise.
1302 * math/w_exp2l.c: Likewise.
1303 * math/libm-test.inc (exp2_test): Require overflow exception for
1304 1e6 input.
2460d3aa
JM
1305
1306 [BZ #3866]
1307 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
1308 range of signed 64-bit integers before using fistpll. Remove
1309 checks for whether integers fit in mantissa bits.
1310 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
1311 the range of signed 32-bit integers before using fistpl. Remove
1312 checks for whether integers fit in mantissa bits.
1313 * sysdeps/i386/fpu/e_powl.S (p64): New object.
1314 (__ieee754_powl): Test for y outside the range of signed 64-bit
1315 integers before using fistpll. Reduce 64-bit values to 63-bit
1316 ones as needed.
1317 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
1318 divide-by-zero is raised for zero to large negative powers.
1319 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
1320 (__ieee754_powl): Test for y outside the range of signed 64-bit
1321 integers before using fistpll. Reduce 64-bit values to 63-bit
1322 ones as needed.
1323 * math/libm-test.inc (pow_test): Add more tests.
1324
eb96ffb0
L
13252012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1326
1327 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
1328 <stdio-common/_itoa.h>.
1329 * debug/segfault.c: Likewise.
1330 * elf/dl-cache.c: Likewise.
1331 * elf/dl-minimal.c: Likewise.
1332 * elf/dl-misc.c: Likewise.
1333 * elf/dl-sysdep.c: Likewise.
1334 * elf/dl-version.c: Likewise.
1335 * elf/rtld.c: Likewise.
1336 * hurd/hurdsock.c: Likewise.
1337 * hurd/lookup-retry.c: Likewise.
1338 * malloc/malloc.c: Likewise.
1339 * malloc/mtrace.c: Likewise.
1340 * nscd/nscd_getgr_r.c: Likewise.
1341 * nscd/nscd_getpw_r.c: Likewise.
1342 * nscd/nscd_getserv_r.c: Likewise.
1343 * posix/getopt_init.c: Likewise.
1344 * posix/wordexp.c: Likewise.
1345 * stdio-common/_itoa.c: Likewise.
1346 * stdio-common/printf_fphex.c: Likewise.
1347 * stdio-common/vfprintf.c: Likewise.
1348 * string/_strerror.c: Likewise.
1349 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
1350 * sysdeps/i386/i686/hp-timing.h: Likewise.
1351 * sysdeps/mach/_strerror.c: Likewise.
1352 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
1353 * sysdeps/mach/hurd/sethostid.c: Likewise.
1354 * sysdeps/mach/hurd/xmknodat.c: Likewise.
1355 * sysdeps/mach/xpg-strerror.c: Likewise.
1356 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1357 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1358 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
1359 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
1360 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1361 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
1362 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1363 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1364 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
1365 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
1366 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1367 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1368 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1369 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1370 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1371 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
1372 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1373 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1374 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1375 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1376 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
1377
1378 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
1379
1380 * stdio-common/_itoa.h: Moved to ...
1381 * sysdeps/generic/_itoa.h: Here.
1382
1383 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
1384
1385 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
1386 instead of "_itoa.h" and "_itowa.h".
1387 * stdio-common/vfprintf.: Likewise.
1388
d1af992d
L
13892012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1390
1391 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
1392 <bits/wordsize.h>.
1393 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
1394 (__signbit): Likwise.
1395 (llrintf): Likwise.
1396 (llrint): Likwise.
1397
114883e0
L
13982012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1399
1400 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
1401 __WORDSIZE != 64.
1402
c135cc1b
JM
14032012-03-20 Joseph Myers <joseph@codesourcery.com>
1404
1405 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
1406 OVERFLOW_EXCEPTION_OK.
1407 * math/libm-test.inc ("Philosophy"): Update comment about
1408 exception testing.
1409 (OVERFLOW_EXCEPTION): Define.
1410 (OVERFLOW_EXCEPTION_OK): Likewise.
1411 (INVALID_EXCEPTION_OK): Renumber.
1412 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1413 (IGNORE_ZERO_INF_SIGN): Likewise.
1414 (test_exceptions): Handle FE_OVERFLOW.
1415 (exp10_test): Expect overflow exceptions.
1416 (exp2_test): Likewise.
1417 (expm1_test): Likewise.
1418 (nextafter_test): Likewise.
1419 (pow_test): Likewise.
1420 (scalbn_test): Likewise.
1421 (scalbln_test): Likewise.
1422
95443d88
L
14232012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1424
1425 * sysdeps/x86_64/bits/atomic.h
1426 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
1427 64bit integer.
1428 (atomic_exchange_acq): Likewise.
1429 (__arch_exchange_and_add_body): Likewise.
1430 (__arch_add_body): Likewise.
1431 (atomic_add_negative): Likewise.
1432 (atomic_add_zero): Likewise.
1433
490df6c4
L
14342012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1435
c2722551 1436 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
1437 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
1438
5e52b189
L
14392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1440
1441 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
1442 Check __x86_64__ instead of __WORDSIZE.
1443
a9879d4c
L
14442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1445
1446 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
1447
5df98260
DM
14482012-03-19 David S. Miller <davem@davemloft.net>
1449
e1497744
DM
1450 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1451
5df98260
DM
1452 * sysdeps/sparc/fpu/fenv_private.h: New file.
1453 * sysdeps/sparc/fpu/math_private.h: Use it.
1454 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1455 Remove.
1456 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1457 (libc_feholdexcept_setroundl): Remove.
1458 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1459 Remove.
1460 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1461 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1462
b4c35121
L
14632012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1464
1465 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1466 int64_t instead of long int.
1467 (INSERT_WORDS64): Likwise.
1468
56965fd7
L
14692012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1470
1471 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1472 _Unwind_GetCFA return to _Unwind_Ptr first.
1473
83d1aec8
JM
14742012-03-19 Joseph Myers <joseph@codesourcery.com>
1475
1897ad44
JM
1476 [BZ #13629]
1477 * math/s_clog.c: Include <float.h>.
1478 (__clog): Scale large or subnormal inputs.
1479 * math/s_clogf.c: Likewise.
1480 * math/s_clogl.c: Likewise.
1481 * math/s_clog10.c: Include <float.h>.
1482 (M_LOG10_2): Define.
1483 (__clog10): Scale large or subnormal inputs.
1484 * math/s_clog10f.c: Likewise.
1485 * math/s_clog10l.c: Likewise.
1486 * math/libm-test.inc (clog_test): Add more tests.
1487 (clog10_test): Likewise.
1488 * sysdeps/i386/fpu/libm-test-ulps: Update.
1489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1490
7726d6a9
JM
1491 [BZ #11451]
1492 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1493 x and y.
1494 * math/libm-test.inc (atan2_test): Add another test.
1495
83d1aec8
JM
1496 * Makerules (common-objdir-compile): Remove.
1497 * sysdeps/unix/Makefile (config-generated): Do not add
1498 $(unix-generated) to variable.
1499 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1500 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1501 Remove rule.
1502 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1503 Likewise.
1504 [generic bits/local_lim.h] (before-compile): Do not append to
1505 variable.
1506 [generic bits/local_lim.h] (common-generated): Likewise.
1507 [generic sys/param.h] (before-compile): Do not append to variable.
1508 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1509 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1510 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1511 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1512 include.
1513 [generic sys/param.h] (sys/param.h-includes): Remove variable.
1514 [generic sys/param.h] (sys/param.h-includes): Remove rule.
1515 [generic sys/param.h] ($(addprefix
1516 $(common-objpfx),$(sys/param.h-includes))): Likewise.
1517 [generic sys/param.h] (common-generated): Do not append to
1518 variable.
1519 [generic sys/param.h] (sysdep_headers): Likewise.
1520 [generic bits/errno.h] (before-compile): Do not append to
1521 variable.
1522 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
1523 rule.
1524 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
1525 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
1526 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
1527 [generic bits/errno.h] (common-generated): Do not append to
1528 variable.
1529 [generic bits/ioctls.h] (before-compile): Do not append to
1530 variable.
1531 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
1532 rule.
1533 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
1534 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
1535 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
1536 rule.
1537 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
1538 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
1539 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
1540 [generic bits/ioctls.h] (common-generated): Do not append to
1541 variable.
1542 [generic sys/syscall.h] (syscall.h): Remove variable.
1543 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
1544 rule.
1545 [generic sys/syscall.h] (before-compile): Do not append to
1546 variable.
1547 [generic sys/syscall.h] (common-generated): Likewise.
1548 * sysdeps/unix/errnos-tmpl.c: Remove file.
1549 * sysdeps/unix/errnos.awk: Likewise.
1550 * sysdeps/unix/ioctls-tmpl.c: Likewise.
1551 * sysdeps/unix/ioctls.awk: Likewise.
1552 * sysdeps/unix/mk-local_lim.c: Likewise.
1553 * sysdeps/unix/snarf-ioctls: Likewise.
1554
4851a949
RH
15552012-03-19 Richard Henderson <rth@twiddle.net>
1556
bd37f2ee
RH
1557 * sysdeps/i386/fpu/fenv_private.h: New file.
1558 * sysdeps/i386/fpu/math_private.h: Use it.
1559 (math_opt_barrier, math_force_eval): Remove.
1560 (libc_feholdexcept_setround_53bit): Remove.
1561 (libc_feupdateenv_53bit): Remove.
1562 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1563 (math_opt_barrier, math_force_eval): Remove.
1564 (libc_feholdexcept): Remove.
1565 (libc_feholdexcept_setround): Remove.
1566 (libc_fetestexcept, libc_fesetenv): Remove.
1567 (libc_feupdateenv_test): Remove.
1568 (libc_feupdateenv, libc_feholdsetround): Remove.
1569 (libc_feresetround): Remove.
1570
d0adc922
RH
1571 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1572 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1573
0fe0f1f8
RH
1574 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1575 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1576 (libc_feupdateenv_testl): New.
1577 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1578 (libc_feupdateenv_testf): New.
1579 (libc_feupdateenv): Use libc_feupdateenv_test.
1580 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1581 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1582
eb92c487
RH
1583 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1584 (libc_feholdsetroundf, libc_feholdsetroundl): New.
1585 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1586 (libc_feresetround_noex): New.
1587 (libc_feresetround_noexf): New.
1588 (libc_feresetround_noexl): New.
1589 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1590 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1591 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1592 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1593 SET_RESTORE_ROUND.
1594 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1595 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1596 (__cos): Likewise.
1597 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1598 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1599 SET_RESTORE_ROUND_NOEX.
1600 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1601 SET_RESTORE_ROUND_NOEXF.
1602 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1603 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1604 (libc_feholdsetroundf): New.
1605 (libc_feresetround, libc_feresetroundf): New.
1606
7d2e8012
RH
1607 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1608 (libc_feholdexcept_setround_53bit): Convert from macro to function.
1609 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
1610
b4dabbb4
RH
1611 * sysdeps/generic/math_private.h: Include <fenv.h>.
1612 (default_libc_feholdexcept): New.
1613 (default_libc_feholdexcept_setround): New.
1614 (default_libc_fesetenv, default_libc_feupdateenv): New.
1615 (libc_feholdexcept): Only define if undefined.
1616 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1617 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1618 (libc_feholdexcept_setroundl): Likewise.
1619 (libc_feholdexcept_setround_53bit): Likewise.
1620 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1621 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1622 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1623 (libc_feupdateenv_53bit): Likewise.
1624 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1625 (libc_feholdexcept): Convert from macro to inline function.
1626 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1627 (libc_fesetenv, libc_feupdateenv): Likewise.
1628
4851a949
RH
1629 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1630 not previously defined.
1631 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1632 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1633 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1634 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1635 * sysdeps/ieee754/flt-32/math_private.h: New file.
1636 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1637 math_private.h below SET_FLOAT_WORD.
1638 (__isnan, __isinf_ns, __finite): Remove.
1639 (__isnanf, __isinf_nsf, __finitef): Remove.
1640
e79d442e
AS
16412012-03-18 Andreas Schwab <schwab@linux-m68k.org>
1642
1643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1644
90b80344
DM
16452012-03-17 David S. Miller <davem@davemloft.net>
1646
1647 [BZ #6471]
1648 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1649 for 2.16.
1650
edc21804
DM
16512012-03-16 David S. Miller <davem@davemloft.net>
1652
77e927af
DM
1653 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1654 warnings.
1655
374976dd
DM
1656 [BZ #6471]
1657 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1658 properly.
1659 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1660 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1661 sysdep_routines when subdir is sysvipc.
1662 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1663 __getshmlba helper.
1664
edc21804
DM
1665 * sysdeps/sparc/fpu/libm-test/ulps: Update.
1666
473c3ef3
L
16672012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1668
1669 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1670 [__LP64__].
1671
eb0f39b6
L
16722012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1673
1674 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1675 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1676 (__lround): Renamed to ...
1677 (__llround): This. Replace long int with long long int.
1678 Define lround functions as aliases of llround functions.
1679 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1680
6b6cd74b
L
16812012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1682
1683 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1684 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
1685 adresses to uintptr_t. Replace "long int" and "unsigned long
1686 int" with "greg_t" on va_arg.
1687
f1a77b01
L
16882012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1689
1690 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1691 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1692
1693 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1694 Move e_machine check before EI_CLASS check. Handle x32
1695 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1696 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1697 SKIP_EM_IA_64 and include
1698 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1699
1700 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1701 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1702 (add_system_dir): New macro.
1703
1704 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1705 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1706
11b90b9f
JM
17072012-03-16 Joseph Myers <joseph@codesourcery.com>
1708
c36e1d23
JM
1709 [BZ #2551]
1710 [BZ #2552]
1711 [BZ #2553]
1712 [BZ #2554]
1713 [BZ #2562]
1714 [BZ #2563]
1715 [BZ #2565]
1716 [BZ #2566]
1717 [BZ #2576]
1718 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1719 (y0): Likewise.
1720 * math/w_j0f.c (j0f): Likewise.
1721 (y0f): Likewise.
1722 * math/w_j0l.c (__j0l): Likewise.
1723 (__y0l): Likewise.
1724 * math/w_j1.c (j1): Likewise.
1725 (y1): Likewise.
1726 * math/w_j1f.c (j1f): Likewise.
1727 (y1f): Likewise.
1728 * math/w_j1l.c (__j1l): Likewise.
1729 (__y1l): Likewise.
1730 * math/w_jn.c (jn): Likewise.
1731 (yn): Likewise.
1732 * math/w_jnf.c (jnf): Likewise.
1733 (ynf): Likewise.
1734 * math/w_jnl.c (__jnl): Likewise.
1735 (__ynl): Likewise.
1736 * math/libm-test.inc (j0_test): Add more tests.
1737 (j1_test): Likewise.
1738 (jn_test): Likewise. Add trailing semicolon to existing test.
1739 (y0_test): Likewise.
1740 (y1_test): Likewise.
1741 * sysdeps/i386/fpu/libm-test-ulps: Update.
1742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1743
11b90b9f
JM
1744 [BZ #13851]
1745 [BZ #13854]
1746 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1747 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1748 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1749 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1750 (__tanl): Set errno for infinite argument.
1751 * sysdeps/i386/fpu/mptan.c: Remove.
1752 * sysdeps/i386/fpu/s_tan.S: Likewise.
1753 * sysdeps/i386/fpu/s_tanl.S: Likewise.
1754 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1755 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1756 * math/libm-test.inc (tan_test): Add more tests and enable more
1757 tests for double and long double.
1758 * sysdeps/i386/fpu/libm-test-ulps: Update.
1759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1760
6a1bd2a1
JK
17612012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1762
1763 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1764 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1765
10a803e0
RM
17662012-03-16 Roland McGrath <roland@hack.frob.com>
1767
1768 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1769 * configure.in: Use it for both main tree and add-ons.
1770 * configure: Regenerated.
1771
f196c7f7
L
17722012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1773
1774 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1775
8848d99d
JM
17762012-03-16 Joseph Myers <joseph@codesourcery.com>
1777
96cbe7f4
JM
1778 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1779 in comment.
1780
8848d99d
JM
1781 [BZ #13851]
1782 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1783 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1784 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1785 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1786 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1787 infinite argument.
1788 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1789 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1790 != 0 for prec == 2.
1791 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1792 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1793 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1794 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1795 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1796 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1797 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1798 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1799 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1800 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1801 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1802 * math/libm-test.inc (cos_test): Add more tests and enable more
1803 tests for long double.
1804 (sin_test): Likewise.
1805 (sincos_test): Likewise.
1806 * sysdeps/i386/fpu/libm-test-ulps: Update.
1807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1808
dd7f4703
DM
18092012-03-16 David S. Miller <davem@davemloft.net>
1810
1811 * sysdeps/sparc/fpu/math_private.h: New file.
1812
006f1daa
DM
18132012-03-15 David S. Miller <davem@davemloft.net>
1814
c0c83bc8
DM
1815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1816 file.
e6a62e18 1817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
1818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1819 file.
e6a62e18
DM
1820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1821 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1822 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1823 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1824 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1825 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1826 sysdep routines.
1827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1828
88cb87d9
DM
1829 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1830 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1831
006f1daa 1832 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
1833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1834 sparc-ifunc.h
006f1daa 1835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
1836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1837 Likewise.
1838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1839 Likewise.
006f1daa
DM
1840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
1843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1844 Likewise.
006f1daa
DM
1845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
1849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1850 Likewise.
1851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1852 Likewise.
006f1daa
DM
1853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1857 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1858 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1859 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1860 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1861 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1862 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1863 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1864 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1865 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1866 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1867 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1868 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1869 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1870 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1871 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1872 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1873 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1874 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1875 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1876 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1877
11e0098e
AS
18782012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1879
1880 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1881 scaling.
1882 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1883
e85b09d0
AJ
18842012-03-15 Andreas Jaeger <aj@suse.de>
1885
1886 [BZ #13852]
1887 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1888 ieee754/flt-32 implementation for sin, cos and sincos.
1889 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1890 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1891 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1892 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1893 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1894 ieee754/flt-32 implementation for tan.
1895
1896 * math/libm-test.inc (cos_test): Enable some large input tests for
1897 float as well
1898 (sin_test): Likewise.
1899 (sincos_test): Likewise.
1900 (tan_test): Add tests for large input.
1901
1902 * sysdeps/i386/fpu/libm-test-ulps: Update.
1903
81c64153
AJ
19042012-03-15 Andreas Jaeger <aj@suse.de>
1905
1906 [BZ #13658]
1907 * math/libm-test.inc (cos_test): Add more test cases.
1908 (sin_test): Likewise.
1909 (sincos_test): Likewise.
1910
7bbfa5c6
AJ
19112012-03-15 Andreas Jaeger <aj@suse.de>
1912
1913 [BZ #13837]
1914 * math/libm-test.inc (cos_test): Add a test case for large input
1915 value.
1916 (sin_test): Likewise.
1917 (sincos_test): Likewise.
1918
19192012-03-15 Andreas Jaeger <aj@suse.de>,
1920 Joseph Myers <joseph@codesourcery.com>
1921
1922 [BZ #13658]
0671f479 1923 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
1924 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1925 * sysdeps/i386/fpu/branred.c: Likewise.
1926 * sysdeps/i386/fpu/dosincos.c: Likewise.
1927 * sysdeps/i386/fpu/mpa.c: Likewise.
1928 * sysdeps/i386/fpu/s_cos.S: Likewise.
1929 * sysdeps/i386/fpu/s_sin.S: Likewise.
1930 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1931 * sysdeps/i386/fpu/sincos32.c: Likewise.
1932
1933 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1934 Define.
1935 (libc_feupdateenv_53bit): Define.
1936 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1937 Define.
1938 (libc_feupdateenv_53bit): Define.
1939
1940 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1941 53 bit (without extend i386 double precision).
1942
1943 * math/libm-test.inc (sincos_test): Add tests for large input.
1944 (sin): Likewise.
1945 (cos): Likewise.
1946
1947 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1948
9cad04ea
AS
19492012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1950
1951 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1952
f7062b9a
DM
19532012-03-15 David S. Miller <davem@davemloft.net>
1954
1955 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1956 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1957 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1958 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1963 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1964 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1965 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1966 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1967 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1968 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1969 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
1970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1971 file.
f7062b9a 1972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
1973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1974 file.
f7062b9a 1975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
1976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1977 file.
f7062b9a 1978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
1979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1980 file.
f7062b9a
DM
1981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1982 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1983 fmin/fmax sysdep routines.
1984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1985
7bd951ff
DM
19862012-03-14 David S. Miller <davem@davemloft.net>
1987
559398ab
DM
1988 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1989 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1990 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1991 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1992 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1993 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1994 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1995 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1996 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1997 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1998 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1999 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
2000 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
2001 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
2002 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
2003 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
2004 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
2005 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
2006 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
2007 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
2008 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
2009 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
2010 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
2011 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
2012 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
2013 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
2014 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
2015 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
2016 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
2017 routines.
2018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
2019 file.
559398ab 2020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
2021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
2022 file.
559398ab 2023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
2024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
2025 file.
559398ab 2026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
2027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
2028 file.
559398ab 2029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
2030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
2031 file.
559398ab 2032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
2033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
2034 file.
2035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
2036 file.
2037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
2038 file.
2039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
2040 file.
2041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
2042 New file.
2043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
2044 file.
2045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
2046 file.
559398ab 2047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
2048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
2049 file.
559398ab 2050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
2051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
2052 file.
559398ab 2053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
2054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
2055 file.
559398ab 2056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
2057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
2058 VIS3 routines.
559398ab
DM
2059
2060 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2061 New file.
2062
5a1c1e32
DM
2063 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2064
eae47a36
DM
2065 * sysdeps/sparc/configure.in: New file.
2066 * sysdeps/sparc/configure: Generate.
2067 * configure.in (libc_cv_sparc_as_vis3): Substitute.
2068 * configure: Regenerate.
2069 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
2070 * config.make.in (have-as-vis3): New.
2071 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
2072 available use -Av9d instead of -Av9a.
2073 * sysdeps/sparc/sparc64/Makefile: Likewise.
2074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
2075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
2076 New file.
2077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
2078 file.
2079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
2080 New file.
2081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
2082 file.
eae47a36
DM
2083 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
2084 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
2085 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
2086 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
2087 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
2088
c0c83bc8
DM
2089 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
2090 fzeros/fnegs to load 0x80000000 into a float register instead of
2091 using the stack.
7bd951ff
DM
2092 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
2093
bd951ccb
JM
20942012-03-14 Joseph Myers <joseph@codesourcery.com>
2095
2096 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2097 bits/syscall.h.
2098 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
2099 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
2100 ($(inst_includedir)/bits/syscall.h): Remove rule.
2101 ($(objpfx)bits/syscall.d): Include instead of
2102 $(objpfx)syscall-list.d.
2103 (generated): Change syscall-list.h and syscall-list.d to
2104 bits/syscall.h and bits/syscall.d.
2105
bb4e6db2
RM
21062012-03-14 Roland McGrath <roland@hack.frob.com>
2107
2108 [BZ #13846]
2109 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
2110
aa4a2ae1
JM
21112012-03-14 Joseph Myers <joseph@codesourcery.com>
2112
e456826d
JM
2113 [BZ #13841]
2114 * math/s_csqrt.c: Include <float.h>.
2115 (__csqrt): Scale large or subnormal inputs.
2116 * math/s_csqrtf.c: Likewise.
2117 * math/s_csqrtl.c: Likewise.
2118 * math/libm-test.inc (csqrt_test): Add more tests.
2119 * sysdeps/i386/fpu/libm-test-ulps: Update.
2120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2121
aa4a2ae1
JM
2122 [BZ #13840]
2123 * math/libm-test.inc (hypot_test): Add more tests.
2124
7c10fd35
DM
21252012-03-13 David S. Miller <davem@davemloft.net>
2126
2127 [BZ #13840]
2128 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
2129 double-precision for the calculation instead of scaling.
2130
f453b98b
JM
21312012-03-13 Joseph Myers <joseph@codesourcery.com>
2132
2133 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
2134 manipulate bits before adding and subtracting TWO52[sx].
2135 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
2136 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2137 Likewise.
2138 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
2139
09a3453f
DM
21402012-03-13 David S. Miller <davem@davemloft.net>
2141
8e59da90
DM
2142 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
2143 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
2144 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
2145 rtld-global-offsets.h
2146 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2147
2a8ab7f2
DM
2148 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
2149 large parameters.
2150
10f62770
DM
2151 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
2152
5f0bdb18
DM
2153 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
2154 'err' in the ifdef scope in which it is actually used.
2155
09a3453f
DM
2156 * nss/nss_db/db-init.c: Include string.h
2157
b4b2eb5e
DM
21582012-03-12 David S. Miller <davem@davemloft.net>
2159
98bb2f1c
DM
2160 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
2161 masking out of the most significant byte of random value used.
2162 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2163 Fix coding style in previous change.
2164
b4b2eb5e
DM
2165 * sysdeps/unix/sysv/linux/kernel-features.h
2166 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
2167 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
2168 expression.
2169 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
2170 later.
2171
6e226b09
DM
21722012-03-11 David S. Miller <davem@davemloft.net>
2173
a1bcbd40
DM
2174 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2175 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
2176 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
2177 for 'resultvar' otherwise things get truncated on 64-bit.
2178
cb9d6174
DM
2179 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2180 Fix masking out of the most significant byte of random value used.
2181
6e226b09
DM
2182 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2183
058c132d
AS
21842012-03-10 Andreas Schwab <schwab@linux-m68k.org>
2185
2186 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2187
2d2cd515
DM
21882012-03-09 David S. Miller <davem@davemloft.net>
2189
2190 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
2191 variables with appropriate CPP guards.
2192 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
2193 frame pointer, not the stack pointer. Correct layout comments. Fix test
2194 on resulting framesize and the management of the outregs buffer for pltexit.
2195 Preserve floating point return values across _dl_call_pltexit call.
2196 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
2197 framesize and the management of the outregs buffer for pltexit.
2198 Preserve floating point return values across _dl_call_pltexit
2199 call.
2200 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
2201 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
2202 (print_exit): Fix format string for return register value.
2203
9a07f9d0
JM
22042012-03-10 Joseph Myers <joseph@codesourcery.com>
2205
2206 * sunrpc/Makefile (others): Add rpcgen.
2207 ($(objpfx)rpcgen): Remove special build rule and dependency on
2208 libc.
2209 * sunrpc/rpcgen.c: New file.
2210
547b5e30
PE
22112012-03-09 Paul Eggert <eggert@cs.ucla.edu>
2212
c524201a
PE
2213 [BZ #13673]
2214 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
2215 * stdio-common/bug-vfprintf-nargs.c: Likewise.
2216 * sysdeps/i386/crti.S: Likewise.
2217 * sysdeps/i386/crtn.S: Likewise.
2218 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
2219 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
2220 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
2221 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
2222 * sysdeps/sh/crti.S: Likewise.
2223 * sysdeps/sh/crtn.S: Likewise.
2224 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2225
7b6235f2
PE
2226 [BZ #13673]
2227 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
2228 with URL.
2229 * locale/programs/locfile-kw.gperf: Likewise.
2230 * locale/programs/charmap-kw.h: Regenerated.
2231 * locale/programs/locfile-kw.h: Likewise.
2232
547b5e30
PE
2233 [BZ #13673]
2234 * intl/plural.y: Replace FSF snail mail address with URL.
2235 * intl/plural.c: Regenerated.
2236
5f0a5dae
RH
22372012-03-09 Richard Henderson <rth@twiddle.net>
2238
2239 * include/math_private.h: Remove file.
2240 * math/math_private.h: Move file ...
2241 * sysdeps/generic/math_private.h: ... here.
2242
b8c03620
RH
2243 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
2244 * sysdeps/powerpc/fpu/math_private.h: Likewise.
2245 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2246
4e234f5d 2247 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
2248 and <math_private.h>.
2249 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2250 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2251 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2252 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2253 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2254 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2255 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2256 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2257 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2258 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2259 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2260 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2261 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2262 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2263 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2264 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2265 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2266 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2267 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2268 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2269 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2270 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2271 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2272 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2273 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2274 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2275 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2276 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2277 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2278 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2279 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2280 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2281 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2282 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2283 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2284 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2285 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2286 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2287 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2288 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2289 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
2290 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2291 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2292 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2293 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2294 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2295 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
2296 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2297 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2298 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2299 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2300 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
2301 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2302 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2303 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2304 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2305 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2306 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2307 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2308 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
2309 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2310 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2311 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2312 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2313 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
2314 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2315 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2316 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2317 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
2318 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
2319 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2320 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2321 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2322 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2323 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
2324 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2325 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
2326 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2327 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
2328 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
2329 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2330 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
2331 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2332 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
2333 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2334 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2335 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
2336 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2337 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
2338 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2339 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2340 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
2341 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2342 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
2343 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
2344 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
2345 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2346 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2347 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2348 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
2349 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
2350 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
2351 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
2352 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
2353 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2354 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
2355 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2356 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
2357 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2358 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2359 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2360 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2361 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2362 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2363 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
2364 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2365 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2366 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2367 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2368 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2369 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2370 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2371 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2372 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
2373 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2374 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2375 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2376 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
2377 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2378 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
2379 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
2380 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2381 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2382 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
2383 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
2384 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2385 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2386 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2387 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
2388 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2389 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2390 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2391 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2392 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
2393 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
2394 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2395 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2396 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2397 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2398 * sysdeps/ieee754/k_standard.c: Likewise.
2399 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2400 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2401 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2402 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2403 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2404 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2405 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2406 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2407 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2408 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2409 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2410 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2411 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2412 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2413 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2414 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2415 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2416 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2417 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2418 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2419 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2420 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2421 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2422 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2423 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2424 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2425 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2426 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2427 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2428 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2429 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2430 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2431 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2432 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2433 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2434 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2435 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2436 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
2437 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2438 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2439 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2440 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2441 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2442 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2443 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2444 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2445 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2446 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2447 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2448 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2449 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2450 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2451 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2452 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2453 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2454 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2455 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2456 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2457 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2458 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2459 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2460 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2461 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2462 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2463 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2464 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2465 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2466 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2467 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2468 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2469 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2470 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2471 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2472 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2473 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2474 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2475 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2476 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2477 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2478 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2479 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2480 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2481 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2482 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2483 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2484 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2485 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2486 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2487 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2488 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2489 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2490 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2491 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2492 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2493 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2494 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2495 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2496 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2497 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2498 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2499 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2500 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2501 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2502 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2503 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2504 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2505 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2506 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2507 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2508 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2509 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2510 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2511 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2512 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2513 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2514 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2515 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2516 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2517 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2518 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2519 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2520 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2521 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2522 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2523 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2524 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2525 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2526 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2527 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2528 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2529 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2530 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2531 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2532 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2533 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2534 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2535 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
2536 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2537 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2538 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
2539 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
2540 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2541 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
2542 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
2543 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2544 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2545 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2546 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2547 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2548 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
2549 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2550 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2551 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2552 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2553 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
2554 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
2555 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2556 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2557 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2558 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2559 * sysdeps/ieee754/s_lib_version.c: Likewise.
2560 * sysdeps/ieee754/s_matherr.c: Likewise.
2561 * sysdeps/ieee754/s_signgam.c: Likewise.
2562 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2563 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2564 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2565 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2566 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2567 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2568 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2569 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2570 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2571 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2572 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2573 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2574 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2575 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2576 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2577 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2578 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2579 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2580 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2581 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2582 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 2583
1991fa03
JM
25842012-03-09 Joseph Myers <joseph@codesourcery.com>
2585
2586 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2587 * sunrpc/rpc_main.c: Likewise.
2588 * sunrpc/rpc_svcout.c: Likewise.
2589
60d6f5a6
DM
25902012-03-09 David S. Miller <davem@davemloft.net>
2591
2592 * include/math_private.h: New file.
2593
4962050e
JM
25942012-03-09 Joseph Myers <joseph@codesourcery.com>
2595
02a6f887
JM
2596 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2597 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2598 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2599 from <bits/socket_type.h>.
2600 (enum __socket_type): Don't define here.
2601 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2602 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2603 bits/socket_type.h.
2604
c6e013c1
JM
2605 [BZ #13566]
2606 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2607 checking __USE_GNU.
2608
4962050e
JM
2609 * Makerules ($(inst_includedir)/%.h): New rule.
2610 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2611 (install-others): Remove variable setting.
2612 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2613
38842f45
RH
26142012-03-08 Richard Henderson <rth@twiddle.net>
2615
67bb6da6
RH
2616 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2617 from macro to inline function; merge with the
2618 !__LIBC_INTERNAL_MATH_INLINES version.
2619 (__ieee754_sqrtf): Likewise.
2620
15194b4b
RH
2621 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2622 to inline function.
2623 (__rintf, __floor, __floorf): Likewise.
2624
64e21ede
RH
2625 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2626 macro to inline function.
2627 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2628
38842f45
RH
2629 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2630 not <math/math_private.h>.
2631
c64bf5fe
DM
26322012-03-08 David S. Miller <davem@davemloft.net>
2633
2634 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2635 copyright year.
2636 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2637
82d86f28
TS
26382012-03-08 Thomas Schwinge <thomas@codesourcery.com>
2639
2640 * resolv/gai_misc.c (handle_requests): Fix struct timespec
2641 normalization.
2642 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2643 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2644
aea5d727
UD
26452012-03-08 Ulrich Drepper <drepper@gmail.com>
2646
2647 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
2648 be defined individually, they must be defined as a block. Define
2649 S for printing a string instead of hidint the different by using a
2650 macro for adding the 'l'.
2651 * stdio-common/tst-fphex-wide.c: Adjust.
2652
70bca0a3
MP
26532012-03-07 Marek Polacek <polacek@redhat.com>
2654
2655 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2656
65b81130
MP
26572012-03-08 Marek Polacek <polacek@redhat.com>
2658
2659 [BZ #13806]
2660 * stdio-common/Makefile (tests): Add tst-fphex-wide.
2661 * stdio-common/tst-fphex.c: Define a few macros to make the
2662 test reusable. Use them.
2663 * stdio-common/tst-fphex-wide.c: New file.
2664
07037eeb
JM
26652012-03-08 Joseph Myers <joseph@codesourcery.com>
2666
a7a93d50
JM
2667 [BZ #6911]
2668 * manual/macros.texi (gnusystems): New macro.
2669 (nongnusystems): Likewise.
2670 (gnulinuxhurdsystems): Likewise.
2671 (gnuhurdsystems): Likewise..
2672 (gnulinuxsystems): Likewise.
2673 * manual/charset.texi: Use new macros or @theglibc{} to refer to
2674 variants of the GNU system, not "GNU system".
2675 * manual/conf.texi: Likewise.
2676 * manual/errno.texi: Likewise. Update example of errno macro
2677 expansion.
2678 * manual/filesys.texi: Likewise.
2679 (getumask): Document as specific to GNU/Hurd.
2680 * manual/install.texi: Likewise. Reword some references to
2681 GNU/Linux.
2682 * manual/intro.texi: Likewise.
2683 * manual/io.texi: Likewise.
2684 (File Name Portability): Detail which constraints are inapplicable
2685 to all GNU systems and which are only inapplicable to GNU/Hurd.
2686 * manual/job.texi: Likewise.
2687 * manual/llio.texi: Likewise.
2688 (O_NOCTTY): Document as present on GNU/Linux.
2689 * manual/maint.texi: Likewise.
2690 * manual/memory.texi: Likewise.
2691 * manual/pattern.texi: Likewise.
2692 * manual/pipe.texi: Likewise.
2693 * manual/process.texi: Likewise.
2694 * manual/resource.texi: Likewise.
2695 (RUSAGE_CHILDREN): Remove statement about specifying a particular
2696 child on GNU/Hurd.
2697 * manual/setjmp.texi: Likewise.
2698 * manual/signal.texi: Likewise.
2699 * manual/startup.texi: Likewise.
2700 * manual/stdio.texi: Likewise.
2701 * manual/terminal.texi: Likewise.
2702 (ONLCR): Document as POSIX.
2703 (OXTABS): Document availability on GNU/Linux as XTABS.
2704 (ONOEOT): Document availability separately from other bits.
2705 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2706 * manual/time.texi: Likewise.
2707 * manual/users.texi: Likewise.
2708 * INSTALL: Regenerated.
2709 * sysdeps/gnu/errlist.c: Regenerated.
2710
07037eeb
JM
2711 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2712 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2713 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
2714 puts.
2715 * configure: Regenerated.
2716
d1d3431a
JM
27172012-03-07 Joseph Myers <joseph@codesourcery.com>
2718
af6a1e37
JM
2719 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2720 default includes instead of AC_HEADER_CHECK.
2721 * sysdeps/i386/configure: Regenerated.
2722
d1d3431a
JM
2723 [BZ #10716]
2724 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2725 * math/s_cacoshf.c (__cacoshf): Likewise.
2726 * math/s_cacoshl.c (__cacoshl): Likewise.
2727 * math/s_casinh.c (__casinh): Set signs of result from argument.
2728 * math/s_casinhf.c (__casinhf): Likewise.
2729 * math/s_casinhl.c (__casinhl): Likewise.
2730 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2731 (casinh_test): Add more tests.
2732 * sysdeps/i386/fpu/libm-test-ulps: Update.
2733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2734
482ff4da
UD
27352012-03-07 Ulrich Drepper <drepper@gmail.com>
2736
872fda05
UD
2737 * po/zh_TW.po: Update from translation team.
2738
a4300c7a
UD
2739 * login/Makefile (distribute): Remove variable.
2740 * catgets/Makefile: Likewise.
2741 * mach/Makefile: Likewise.
2742 * malloc/Makefile: Likewise.
2743 * misc/Makefile: Likewise.
2744 * iconv/Makefile: Likewise.
2745 * nscd/Makefile: Likewise.
2746 * hurd/Makefile: Likewise.
2747 * manual/Makefile: Likewise.
2748 * locale/Makefile: Likewise.
2749 * intl/Makefile: Likewise.
2750 * conform/Makefile: Likewise.
2751 * nss/Makefile: Likewise.
2752 * time/Makefile: Likewise.
2753 * soft-fp/Makefile: Likewise.
2754 * dirent/Makefile: Likewise.
2755 * gmon/Makefile: Likewise.
2756 * po/Makefile: Likewise.
2757 * rt/Makefile: Likewise.
2758 * socket/Makefile: Likewise.
2759 * math/Makefile: Likewise.
2760 * signal/Makefile: Likewise.
2761 * debug/Makefile: Likewise.
2762 * elf/Makefile: Likewise.
2763 * timezone/Makefile: Likewise.
2764 * stdlib/Makefile: Likewise.
2765 * iconvdata/Makefile: Likewise.
2766 * sunrpc/Makefile: Likewise.
2767 * io/Makefile: Likewise.
2768 * argp/Makefile: Likewise.
2769 * inet/Makefile: Likewise.
2770 * hesiod/Makefile: Likewise.
2771 * grp/Makefile: Likewise.
2772 * csu/Makefile: Likewise.
2773 * wctype/Makefile: Likewise.
2774 * crypt/Makefile: Likewise.
2775 * libio/Makefile: Likewise.
2776 * string/Makefile: Likewise.
2777 * nis/Makefile: Likewise.
2778 * resolv/Makefile: Likewise.
2779 * stdio-common/Makefile: Likewise.
2780 * wcsmbs/Makefile: Likewise.
2781 * dlfcn/Makefile: Likewise.
2782 * posix/Makefile: Likewise.
2783
482ff4da
UD
2784 * timezone/Makefile: Don't install timezone files, just the programs
2785 and scripts.
2786
f72ed77d
UD
27872012-03-06 Ulrich Drepper <drepper@gmail.com>
2788
a000466f
UD
2789 * nss/databases.def: Add missing gshadow entry.
2790
f72ed77d
UD
2791 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2792
a53b7a4e
MP
27932012-03-06 Marek Polacek <polacek@redhat.com>
2794
2795 [BZ #13726]
2796 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2797 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2798 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2799 * stdio-common/tst-long-dbl-fphex.c: New file.
2800
e9258400
DM
28012012-03-06 David S. Miller <davem@davemloft.net>
2802
2803 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2804 (set_obp_int): New function.
2805 (get_obp_int): New function.
2806 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
2807 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2808 Avoid unused variable warnings on 'val' and use builtin_expect.
2809 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2810 __builtin_expect.
e9258400
DM
2811 (INLINE_CLONE_SYSCALL): Likewise.
2812
3bd2c723
DM
28132012-03-05 David S. Miller <davem@davemloft.net>
2814
2815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2816
bbb78d03
AS
28172012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2818
884c5db4
AS
2819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2820
bbb78d03
AS
2821 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2822 only for |x| >= 40.
2823 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2824
1c9f702a 28252012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
2826
2827 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2828 Replace gettimeofday with __vdso_gettimeofday.
2829
7be16f82
RM
2830 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2831 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2832 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
2833
2834 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2835 time with __vdso_time.
2836
ed58a00f
JM
28372012-03-05 Joseph Myers <joseph@codesourcery.com>
2838
2839 * manual/lang.texi (size_t): Note types to which size_t may be
2840 equivalent with the GNU C Library, but do not describe when
2841 differences between them are significant.
2842
30ee4ced
AJ
28432012-03-05 Andreas Jaeger <aj@suse.de>
2844
2845 * sysdeps/i386/fpu/libm-test-ulps: Update.
2846
b7cd39e8
JM
28472012-03-05 Joseph Myers <joseph@codesourcery.com>
2848
2849 [BZ #3976]
2850 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2851 (__ieee754_pow): Save and restore rounding mode and use
2852 round-to-nearest for main computations.
2853 * math/libm-test.inc (pow_test_tonearest): New function.
2854 (pow_test_towardzero): Likewise.
2855 (pow_test_downward): Likewise.
2856 (pow_test_upward): Likewise.
2857 (main): Call the new functions.
2858 * sysdeps/i386/fpu/libm-test-ulps: Update.
2859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
2860
2861 [BZ #3976]
2862 * math/libm-test.inc (cosh_test_tonearest): New function.
2863 (cosh_test_towardzero): Likewise.
2864 (cosh_test_downward): Likewise.
2865 (cosh_test_upward): Likewise.
2866 (sinh_test_tonearest): Likewise.
2867 (sinh_test_towardzero): Likewise.
2868 (sinh_test_downward): Likewise.
2869 (sinh_test_upward): Likewise.
2870 (main): Call the new functions.
2871 * sysdeps/i386/fpu/libm-test-ulps: Update.
2872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2873
6c6a98c9
TV
28742012-03-05 Tom de Vries <tom@codesourcery.com>
2875
2876 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2877 default stack guard is set in last bytes.
2878 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2879
21bb2d2e 28802012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 2881
21bb2d2e 2882 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 2883
21bb2d2e
AJ
2884 [BZ #13656]
2885 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2886 possibly allocate from heap instead of stack.
2887 * stdio-common/bug-vfprintf-nargs.c: New file.
2888 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 2889
c6922934
AS
28902012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2891
2892 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2893
bc957d53
MP
28942012-03-03 Marek Polacek <polacek@redhat.com>
2895
2896 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2897 * math/math_private.h: Likewise.
2898 * stdlib/tst-strtod.c: Likewise.
2899 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2900 * sysdeps/x86_64/bits/atomic.h: Likewise.
2901
6358490d
DM
29022012-03-02 David S. Miller <davem@davemloft.net>
2903
2904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2907 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2908 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2909 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2910 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2911 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2912
01ae168d
RM
29132012-03-02 Roland McGrath <roland@hack.frob.com>
2914
d9a17c07
RM
2915 [BZ #13792]
2916 * manual/examples/README: New file, says the example source files
2917 can be used under GPL>=2.
2918 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2919 line containing just "*/".
2920 * manual/examples/add.c: Add copyright header (GPL>=2).
2921 * manual/examples/argp-ex1.c: Likewise.
2922 * manual/examples/argp-ex2.c: Likewise.
2923 * manual/examples/argp-ex3.c: Likewise.
2924 * manual/examples/argp-ex4.c: Likewise.
2925 * manual/examples/atexit.c: Likewise.
2926 * manual/examples/db.c: Likewise.
2927 * manual/examples/dir.c: Likewise.
2928 * manual/examples/dir2.c: Likewise.
2929 * manual/examples/execinfo.c: Likewise.
2930 * manual/examples/filecli.c: Likewise.
2931 * manual/examples/filesrv.c: Likewise.
2932 * manual/examples/fmtmsgexpl.c: Likewise.
2933 * manual/examples/genpass.c: Likewise.
2934 * manual/examples/inetcli.c: Likewise.
2935 * manual/examples/inetsrv.c: Likewise.
2936 * manual/examples/isockad.c: Likewise.
2937 * manual/examples/longopt.c: Likewise.
2938 * manual/examples/memopen.c: Likewise.
2939 * manual/examples/memstrm.c: Likewise.
2940 * manual/examples/mkfsock.c: Likewise.
2941 * manual/examples/mkisock.c: Likewise.
2942 * manual/examples/mygetpass.c: Likewise.
2943 * manual/examples/pipe.c: Likewise.
2944 * manual/examples/popen.c: Likewise.
2945 * manual/examples/rprintf.c: Likewise.
2946 * manual/examples/search.c: Likewise.
2947 * manual/examples/select.c: Likewise.
2948 * manual/examples/setjmp.c: Likewise.
2949 * manual/examples/sigh1.c: Likewise.
2950 * manual/examples/sigusr.c: Likewise.
2951 * manual/examples/stpcpy.c: Likewise.
2952 * manual/examples/strdupa.c: Likewise.
2953 * manual/examples/strftim.c: Likewise.
2954 * manual/examples/strncat.c: Likewise.
2955 * manual/examples/subopt.c: Likewise.
2956 * manual/examples/swapcontext.c: Likewise.
2957 * manual/examples/termios.c: Likewise.
2958 * manual/examples/testopt.c: Likewise.
2959 * manual/examples/testpass.c: Likewise.
2960 * manual/examples/timeval_subtract.c: Likewise.
2961
01ae168d
RM
2962 [BZ #13792]
2963 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2964 function to ...
2965 * manual/timeval_subtract.c.texi: ... here, new file.
2966
49efa33d
DM
29672012-03-02 David S. Miller <davem@davemloft.net>
2968
2969 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2970
28afd92d
JM
29712012-03-02 Joseph Myers <joseph@codesourcery.com>
2972
804360ed
JM
2973 [BZ #3976]
2974 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2975 (__sin): Save and restore rounding mode and use round-to-nearest
2976 for all computations.
2977 (__cos): Save and restore rounding mode and use round-to-nearest
2978 for all computations.
2979 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2980 <fenv.h>.
2981 (tan): Save and restore rounding mode and use round-to-nearest for
2982 all computations.
2983 * math/libm-test.inc (cos_test_tonearest): New function.
2984 (cos_test_towardzero): Likewise.
2985 (cos_test_downward): Likewise.
2986 (cos_test_upward): Likewise.
2987 (sin_test_tonearest): Likewise.
2988 (sin_test_towardzero): Likewise.
2989 (sin_test_downward): Likewise.
2990 (sin_test_upward): Likewise.
2991 (tan_test_tonearest): Likewise.
2992 (tan_test_towardzero): Likewise.
2993 (tan_test_downward): Likewise.
2994 (tan_test_upward): Likewise.
2995 (main): Call the new functions.
2996 * sysdeps/i386/fpu/libm-test-ulps: Update.
2997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2998
a6d06d7b
JM
2999 [BZ #10135]
3000 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
3001 small n, then large n, before computing and testing k+n.
3002 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3003 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
3004 Likewise.
3005 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
3006 Likewise.
3007 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
3008 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
3009 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
3010 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
3011 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3012 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3013 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
3014 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
3015 * math/libm-test.inc (scalbn_test): Add more tests.
3016 (scalbln_test): Likewise.
3017
07e12bb3
JM
3018 * manual/filesys.texi (mode_t): Describe constraints on size and
3019 signedness, not exact equivalence to a particular type.
3020 (ino_t): Likewise.
3021 (ino64_t): Likewise.
3022 (dev_t): Likewise.
3023 (nlink_t): Likewise.
3024 (blkcnt_t): Likewise.
3025 (blkcnt64_t): Likewise.
3026 * manual/llio.texi (off_t): Likewise.
3027
28afd92d
JM
3028 [BZ #3976]
3029 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
3030 (__ieee754_exp): Save and restore rounding mode and use
3031 round-to-nearest for all computations.
3032 * math/libm-test.inc (exp_test_tonearest): New function.
3033 (exp_test_towardzero): Likewise.
3034 (exp_test_downward): Likewise.
3035 (exp_test_upward): Likewise.
3036 (main): Call the new functions.
3037 * sysdeps/i386/fpu/libm-test-ulps: Update.
3038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3039
b1eeb65d
CD
30402012-03-01 Chris Demetriou <cgd@google.com>
3041
3042 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
3043 have predictable order.
3044
53362a4b
DM
30452012-03-01 David S. Miller <davem@davemloft.net>
3046
3c969083
DM
3047 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
3048
759707de
DM
3049 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
3050 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
3051 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
3052 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
3053
dfdb8ff2
DM
3054 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
3055 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
3056 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
3057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
3058 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
3059 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
3060 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
3061 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
3062 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
3063
ead89f96
DM
3064 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3065
7f66bd07
DM
3066 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
3067 * sysdeps/sparc/fpu/libm-test-ulps: to here.
3068 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
3069
53362a4b
DM
3070 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
3071 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3072 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3073 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
3074 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
3075 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
3076 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
3077 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3078 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3079 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
3080 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
3081 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3082 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3083 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3084 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3085 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3086 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
3087 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
3088 * sysdeps/sparc/elf/configure: Regenerated.
3089
7b1902cb
JM
30902012-03-01 Joseph Myers <joseph@codesourcery.com>
3091
bec039bc
JM
3092 * configure.in (AS, LD): Require binutils 2.20 or later.
3093 * configure: Regenerated.
3094 * manual/install.texi (Tools for Compilation): Give binutils 2.20
3095 as required minimum version.
3096 * INSTALL: Regenerated.
3097
7b1902cb
JM
3098 [BZ #2541]
3099 [BZ #4108]
3100 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
3101 before squaring exponent.
3102 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
3103 bottom long double and 27 bits of top long double before squaring
3104 exponent.
3105 * math/libm-test.inc (erfc_test): Add more tests.
3106 * sysdeps/i386/fpu/libm-test-ulps: Update.
3107 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3109
f775c276
KT
31102012-03-01 Kai Tietz <ktietz@redhat.com>
3111
3112 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
3113 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
3114 containing bit-fields.
3115 * soft-fp/extended.h (_FP_UNION_E): Likewise.
3116 * soft-fp/single.h (_FP_UNION_S): Likewise.
3117 * soft-fp/double.h (_FP_UNION_D): Likewise.
3118
5b8a4d4a
JM
31192012-02-29 Joseph Myers <joseph@codesourcery.com>
3120
0bab47b6
JM
3121 [BZ #13786]
3122 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
3123 not include ../strcmp.S.
3124 [USE_AS_STRNCASECMP_L]: Likewise.
3125 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
3126 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
3127 * sysdeps/i386/i686/multiarch/strncase_l-c.c
3128 (__strncasecmp_l_ia32): Define as alias to
3129 __strncasecmp_l_nonascii.
3130
0fcad3e2
JM
3131 [BZ #5794]
3132 * math/libm-test.inc (expm1_test): Add test for bug 5794.
3133 * sysdeps/i386/fpu/libm-test-ulps: Update.
3134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3135
5b8a4d4a
JM
3136 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
3137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3138
8fdceb2e
JL
31392012-02-29 Jeff Law <law@redhat.com>
3140
3141 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
3142 out of bounds read.
3143
1f393a11
MP
31442012-02-29 Marek Polacek <polacek@redhat.com>
3145
3146 [BZ #13706]
3147 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
3148 * elf/Makefile: Add rules to run tst-unused-dep.out.
3149
8847f037
DM
31502012-02-28 David S. Miller <davem@davemloft.net>
3151
3152 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
3153 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
3154 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
3155 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
3156 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
3157 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
3158
169d7f11
JM
31592012-02-29 Joseph Myers <joseph@codesourcery.com>
3160
3161 * math/libm-test.inc (llround_test): Move one test from
3162 lround_test. Use TEST_f_L in moved test.
3163 (lround_test): Move misplaced test to llround_test. Add testcase
3164 from bug 2561.
3165
39adf059
UD
31662012-02-28 Ulrich Drepper <drepper@gmail.com>
3167
3168 * sysdeps/x86_64/fpu/e_expf.S: New file.
3169 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
3170
71b5d1c5
SB
31712012-02-28 Stanislav Brabec <sbrabec@suse.cz>
3172
3173 [BZ #13637]
3174 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
3175 of remain_len that may cause incomplete multi-byte character and
3176 false match.
3177 * posix/bug-regex33.c: New file.
3178 * posix/Makefile (tests): Add bug-regex33.
3179
1f77f049
JM
31802012-02-28 Joseph Myers <joseph@codesourcery.com>
3181
3182 * manual/macros.texi: New file.
3183 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
3184 * manual/libc.texinfo: Include macros.texi.
3185 * manual/creatute.texi: Likewise.
3186 * manual/install.texi: Likewise.
3187 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
3188 @glibcadj{} in references to the GNU C Library.
3189 * manual/charset.texi: Likewise.
3190 * manual/conf.texi: Likewise.
3191 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
3192 when not using those macros.
3193 * manual/creature.texi: Likewise.
3194 * manual/crypt.texi: Likewise.
3195 * manual/errno.texi: Likewise.
3196 * manual/filesys.texi: Likewise.
3197 * manual/header.texi: Likewise.
3198 * manual/install.texi: Likewise.
3199 * manual/intro.texi: Likewise.
3200 * manual/io.texi: Likewise.
3201 * manual/job.texi: Likewise.
3202 * manual/lang.texi: Likewise.
3203 * manual/libc.texiinfo: Likewise.
3204 * manual/llio.texi: Likewise.
3205 * manual/locale.texi: Likewise.
3206 * manual/maint.texi: Likewise.
3207 * manual/math.texi: Likewise.
3208 * manual/memory.texi: Likewise.
3209 * manual/message.texi: Likewise.
3210 * manual/nss.texi: Likewise.
3211 * manual/pattern.texi: Likewise.
3212 * manual/process.texi: Likewise.
3213 * manual/resource.texi: Likewise.
3214 * manual/search.texi: Likewise.
3215 * manual/setjmp.texi: Likewise.
3216 * manual/signal.texi: Likewise.
3217 * manual/socket.texi: Likewise.
3218 * manual/startup.texi: Likewise.
3219 * manual/stdio.texi: Likewise.
3220 * manual/string.texi: Likewise.
3221 * manual/sysinfo.texi: Likewise.
3222 * manual/syslog.texi: Likewise.
3223 * manual/terminal.texi: Likewise.
3224 * manual/time.texi: Likewise.
3225 * manual/users.texi: Likewise.
3226 * INSTALL: Regenerated.
3227 * NOTES: Regenerated.
d40c5d54 3228 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 3229
450bf206
AS
32302012-02-28 Andreas Schwab <schwab@linux-m68k.org>
3231
3232 * include/dirent.h: Include <dirstream.h> before
3233 <dirent/dirent.h>.
3234
741a235b
DM
32352012-02-28 David S. Miller <davem@davemloft.net>
3236
3237 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
3238 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
3239 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
3240 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
3241
d6b5aa58
DM
32422012-02-27 David S. Miller <davem@davemloft.net>
3243
1aff59a3
DM
3244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
3245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
3246 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
3247 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
3248
d6b5aa58
DM
3249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
3250 frame pointer instead of stack pointer relative arg slot.
3251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3252 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3253 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3254
433f48bf
CD
32552012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
3256
3257 [BZ #3992]
3258 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
3259
d674b76d
DM
32602012-02-27 David S. Miller <davem@davemloft.net>
3261
3262 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
3263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
3266 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3267 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3268 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
3269 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
3270
0e7727f7
JM
32712012-02-27 Joseph Myers <joseph@codesourcery.com>
3272
3273 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
3274 later. Allow versions 5-9.
43be4ca2 3275 * configure: Regenerated.
0e7727f7
JM
3276 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
3277 required minimum version and 4.6 as recommended version. Do not
3278 mention bugs in GCC 2.7 and 2.8.
43be4ca2 3279 * INSTALL: Regenerated.
0e7727f7 3280
a78bc654
DM
32812012-02-27 David S. Miller <davem@davemloft.net>
3282
428d5830
DM
3283 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
3284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
3285 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
3286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
3287 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
3288 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
3289 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
3290 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
3291
a78bc654
DM
3292 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
3293 manipulate bits before adding and subtracting TWO112[sx].
3294 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3295
4579f81c
RM
32962012-02-27 Roland McGrath <roland@hack.frob.com>
3297
36c8acb4
RM
3298 [BZ #13775]
3299 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
3300 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
3301 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
3302 being in POSIX, because they are in 1003.1-2008.
3303
84ad622b
RM
3304 * rt/tst-aio.c: Include <fcntl.h>.
3305 * rt/tst-aio7.c: Likewise.
3306 * rt/tst-aio64.c: Likewise.
3307
4579f81c
RM
3308 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
3309
abd923db
JM
33102012-02-27 Joseph Myers <joseph@codesourcery.com>
3311
3312 * manual/install.texi (--with-headers): Describe headers as
3313 interface headers, not private headers.
3314 (Specific advice for GNU/Linux systems): Describe use of headers
3315 from "make headers_install", not private headers from older
3316 kernels.
43be4ca2 3317 * INSTALL: Regenerated.
abd923db
JM
3318 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
3319 Change to 2.6.19.
3320 * sysdeps/unix/sysv/linux/configure: Regenerated.
3321
6664049b
JM
3322 * manual/llio.texi (fclean): Remove documentation.
3323
bb8b6697
JM
3324 * manual/Makefile (libc-texi-generated): New variable. Include
3325 version.texi.
3326 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
3327 $(libc-texi-generated), not duplicated list of files.
3328 (version.texi, stamp-version): New rules.
3329 (realclean): Remove $(libc-texi-generated), not individual files
3330 from that list. Do not remove dir-add.texinfo.
3331 * manual/libc.texinfo: Comment out uses of edition numbers and
3332 references to printed manual. Remove last-updated dates.
3333 (EDITION): Comment out.
3334 (ISBN): Likewise.
3335 (VERSION, UPDATED): Remove.
3336 (version.texi): Include.
3337
12e5c3b9
AS
33382012-02-27 Andreas Schwab <schwab@linux-m68k.org>
3339
3340 * sysdeps/posix/spawni.c: Include <signal.h>.
3341 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
3342 * sysdeps/pthread/aio_fsync.c: Likewise.
3343
4efeffc1 33442012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 3345
ba63ba08
UD
3346 * conform/Makefile (tests): Run only when not cross-compiling and
3347 when fast-check is not defined.
3348
d94a4670
UD
3349 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
3350 * conform/data/limits.h-data: Fixes for POSIX2008.
3351 * conform/run-conformtest.sh: Run all tests.
3352 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
3353 headers.
3354 * include/bits/dlfcn.h: Likewise.
3355 * include/langinfo.h: Likewise.
3356 * include/monetary.h: Likewise.
3357 * include/sys/poll.h: Likewise.
3358
3359 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
3360 for __USE_GNU.
3361 * posix/spawn.h: Define __need_sigset_t.
3362 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
3363 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
3364 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
3365 to get sigevent_t only.
3366 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
3367 only for __USE_GNU.
3368 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3369 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3370 process_vm_writev only for __USE_GNU.
3371 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
3372
3373 * conform/Makefile: For now ignore errors from run-conformtest.
3374 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
3375 POSIX to avoid namespace pollution. Don't prepend headers.
3376 * conform/data/aio.h-data: Fixes for POSIX testing.
3377 * conform/data/fcntl.h-data: Likewise.
3378 * conform/data/glob.h-data: Likewise.
3379 * conform/data/grp.h-data: Likewise.
3380 * conform/data/pthread.h-data: Likewise.
3381 * conform/data/pwd.h-data: Likewise.
3382 * conform/data/signal.h-data: Likewise.
3383 * conform/data/spawn.h-data: Likewise.
3384 * conform/data/stdio.h-data: Likewise.
3385 * conform/data/stdlib.h-data: Likewise.
3386 * conform/data/stropts.h-data: Likewise.
3387 * conform/data/sys/mman.h-data: Likewise.
3388 * conform/data/sys/stat.h-data: Likewise.
3389 * conform/data/sys/types.h-data: Likewise.
3390 * conform/data/sys/wait.h-data: Likewise.
3391 * conform/data/time.h-data: Likewise.
3392 * conform/data/unistd.h-data: Likewise.
3393 * conform/data/utime.h-data: Likewise.
3394
3395 * io/sys/stat.h: fchmod was always in POSIX.
3396 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
3397 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
3398 * rt/aio.h: Define __need_timespec before including <time.h>.
3399 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
3400 struct. Add forward declaration of pthread_attr_t and use it in
3401 sigevent.
3402 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3403 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3404 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
3405 always remove CLK_TCK definition.
3406
c20105c3
AS
34072012-02-26 Andreas Schwab <schwab@linux-m68k.org>
3408
3409 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
3410
7a270350
UD
34112012-02-25 Ulrich Drepper <drepper@gmail.com>
3412
31341567
UD
3413 * conform/run-conformtest.sh: New file.
3414 * conform/Makefile: Run run-conformtest for tests.
3415 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
3416 support.
3417
3418 * conform/data/uchar.h-data: New file.
3419 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
3420 * conform/data/arpa/inet.h-data: Likewise.
3421 * conform/data/assert.h-data: Likewise.
3422 * conform/data/complex.h-data: Likewise.
3423 * conform/data/cpio.h-data: Likewise.
3424 * conform/data/ctype.h-data: Likewise.
3425 * conform/data/dirent.h-data: Likewise.
3426 * conform/data/dlfcn.h-data: Likewise.
3427 * conform/data/errno.h-data: Likewise.
3428 * conform/data/fcntl.h-data: Likewise.
3429 * conform/data/float.h-data: Likewise.
3430 * conform/data/fmtmsg.h-data: Likewise.
3431 * conform/data/fnmatch.h-data: Likewise.
3432 * conform/data/ftw.h-data: Likewise.
3433 * conform/data/glob.h-data: Likewise.
3434 * conform/data/grp.h-data: Likewise.
3435 * conform/data/iconv.h-data: Likewise.
3436 * conform/data/inttypes.h-data: Likewise.
3437 * conform/data/langinfo.h-data: Likewise.
3438 * conform/data/libgen.h-data: Likewise.
3439 * conform/data/limits.h-data: Likewise.
3440 * conform/data/locale.h-data: Likewise.
3441 * conform/data/math.h-data: Likewise.
3442 * conform/data/monetary.h-data: Likewise.
3443 * conform/data/mqueue.h-data: Likewise.
3444 * conform/data/ndbm.h-data: Likewise.
3445 * conform/data/net/if.h-data: Likewise.
3446 * conform/data/netdb.h-data: Likewise.
3447 * conform/data/netinet/in.h-data: Likewise.
3448 * conform/data/nl_types.h-data: Likewise.
3449 * conform/data/poll.h-data: Likewise.
3450 * conform/data/pthread.h-data: Likewise.
3451 * conform/data/pwd.h-data: Likewise.
3452 * conform/data/regex.h-data: Likewise.
3453 * conform/data/sched.h-data: Likewise.
3454 * conform/data/search.h-data: Likewise.
3455 * conform/data/semaphore.h-data: Likewise.
3456 * conform/data/setjmp.h-data: Likewise.
3457 * conform/data/signal.h-data: Likewise.
3458 * conform/data/spawn.h-data: Likewise.
3459 * conform/data/stdarg.h-data: Likewise.
3460 * conform/data/stdio.h-data: Likewise.
3461 * conform/data/stdlib.h-data: Likewise.
3462 * conform/data/string.h-data: Likewise.
3463 * conform/data/strings.h-data: Likewise.
3464 * conform/data/stropts.h-data: Likewise.
3465 * conform/data/sys/ipc.h-data: Likewise.
3466 * conform/data/sys/mman.h-data: Likewise.
3467 * conform/data/sys/msg.h-data: Likewise.
3468 * conform/data/sys/resource.h-data: Likewise.
3469 * conform/data/sys/select.h-data: Likewise.
3470 * conform/data/sys/sem.h-data: Likewise.
3471 * conform/data/sys/shm.h-data: Likewise.
3472 * conform/data/sys/socket.h-data: Likewise.
3473 * conform/data/sys/stat.h-data: Likewise.
3474 * conform/data/sys/statvfs.h-data: Likewise.
3475 * conform/data/sys/time.h-data: Likewise.
3476 * conform/data/sys/timeb.h-data: Likewise.
3477 * conform/data/sys/times.h-data: Likewise.
3478 * conform/data/sys/types.h-data: Likewise.
3479 * conform/data/sys/uio.h-data: Likewise.
3480 * conform/data/sys/un.h-data: Likewise.
3481 * conform/data/sys/utsname.h-data: Likewise.
3482 * conform/data/sys/wait.h-data: Likewise.
3483 * conform/data/syslog.h-data: Likewise.
3484 * conform/data/tar.h-data: Likewise.
3485 * conform/data/termios.h-data: Likewise.
3486 * conform/data/utime.h-data: Likewise.
3487 * conform/data/utmpx.h-data: Likewise.
3488 * conform/data/varargs.h-data: Likewise.
3489 * conform/data/wchar.h-data: Likewise.
3490 * conform/data/wctype.h-data: Likewise.
3491 * conform/data/wordexp.h-data: Likewise.
3492
3493 * include/stropts.h: New file.
3494 * include/uchar.h: New file.
3495 * include/aio.h: Changes to allow conformtest.pl to use the headers.
3496 * include/assert.h: Likewise.
3497 * include/ctype.h: Likewise.
3498 * include/dirent.h: Likewise.
3499 * include/dlfcn.h: Likewise.
3500 * include/fcntl.h: Likewise.
3501 * include/fnmatch.h: Likewise.
3502 * include/glob.h: Likewise.
3503 * include/grp.h: Likewise.
3504 * include/libio.h: Likewise.
3505 * include/locale.h: Likewise.
3506 * include/math.h: Likewise.
3507 * include/net/if.h: Likewise.
3508 * include/netdb.h: Likewise.
3509 * include/netinet/in.h: Likewise.
3510 * include/pthread.h: Likewise.
3511 * include/pwd.h: Likewise.
3512 * include/regex.h: Likewise.
3513 * include/sched.h: Likewise.
3514 * include/search.h: Likewise.
3515 * include/setjmp.h: Likewise.
3516 * include/signal.h: Likewise.
3517 * include/stdio.h: Likewise.
3518 * include/stdlib.h: Likewise.
3519 * include/string.h: Likewise.
3520 * include/sys/cdefs.h: Likewise.
3521 * include/sys/mman.h: Likewise.
3522 * include/sys/msg.h: Likewise.
3523 * include/sys/resource.h: Likewise.
3524 * include/sys/select.h: Likewise.
3525 * include/sys/socket.h: Likewise.
3526 * include/sys/stat.h: Likewise.
3527 * include/sys/statvfs.h: Likewise.
3528 * include/sys/time.h: Likewise.
3529 * include/sys/times.h: Likewise.
3530 * include/sys/uio.h: Likewise.
3531 * include/sys/utsname.h: Likewise.
3532 * include/sys/wait.h: Likewise.
3533 * include/termios.h: Likewise.
3534 * include/time.h: Likewise.
3535 * include/ulimit.h: Likewise.
3536 * include/unistd.h: Likewise.
3537 * include/utime.h: Likewise.
3538 * include/wchar.h: Likewise.
3539 * include/wctype.h: Likewise.
3540 * include/wordexp.h: Likewise.
3541
3542 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3543
7a270350
UD
3544 * time/time.h: TIME_UTC must be a macro.
3545 Make timespec_get available for ISO C11 only as well.
3546
7724defc
UD
35472012-02-24 Ulrich Drepper <drepper@gmail.com>
3548
3549 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
3550 Reported by Peng Haitao <penght@cn.fujitsu.com>.
3551
6b1d1d46
JM
35522012-02-24 Joseph Myers <joseph@codesourcery.com>
3553
3554 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 3555
0f8bbd69
JM
35562012-02-24 Joseph Myers <joseph@codesourcery.com>
3557
3558 * manual/texinfo.tex: Update to version 2012-01-19.16.
3559
66ab80bc
JM
35602012-02-24 Joseph Myers <joseph@codesourcery.com>
3561
3562 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3563
74981cc5
RM
35642012-02-24 Roland McGrath <roland@hack.frob.com>
3565
ee968201
RM
3566 [BZ #13738]
3567 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3568 * manual/fdl-1.3.texi: New file.
3569 * manual/fdl-1.1.texi: File removed.
3570
74981cc5
RM
3571 [BZ #13738]
3572 * manual/libc.texinfo (FDL_VERSION): New @set.
3573 Use it for mention of FDL in cover text.
3574 (Documentation License): Use it in @include file name.
3575
7bb764bc
JM
35762012-02-22 Joseph Myers <joseph@codesourcery.com>
3577 Roland McGrath <roland@hack.frob.com>
3578
3579 [BZ #5461]
3580 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3581 not LONG_LONG_MAX and LONG_LONG_MIN.
3582 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3583 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
3584 name.
3585 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3586
6cbeae47
JM
35872012-02-22 Joseph Myers <joseph@codesourcery.com>
3588
3589 [BZ #2547]
3590 [BZ #11365]
3591 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3592 manipulate bits before adding and subtracting TWO23[sx].
3593 * math/libm-test.inc (nearbyint_test): Add more tests.
3594
fe45ce09
JM
35952012-02-22 Joseph Myers <joseph@codesourcery.com>
3596
3597 [BZ #2548]
3598 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3599 bits before adding and subtracting TWO23[sx].
3600 * math/libm-test.inc (rint_test): Add more tests.
3601 (rint_test_tonearest): Likewise.
3602 (rint_test_towardzero): Likewise.
3603 (rint_test_downward): Likewise.
3604 (rint_test_upward: Likewise.
3605
ff3b3d82
JM
36062012-02-22 Joseph Myers <joseph@codesourcery.com>
3607
3608 [BZ #10110]
3609 * include/stdc-predef.h: New file. Extracted from features.h.
3610 * include/features.h: Include stdc-predef.h.
3611 * Makefile (headers): Add stdc-predef.h.
3612 * CONFORMANCE (Compiler limitations): Update.
3613
ef0aab35
JM
36142012-02-22 Joseph Myers <joseph@codesourcery.com>
3615
3616 * manual/libc.texinfo (VERSION, UPDATED): Revert.
3617
58639409
DM
36182012-02-21 David S. Miller <davem@davemloft.net>
3619
3620 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3621 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3622
c0e70b25
DM
36232012-02-20 David S. Miller <davem@davemloft.net>
3624
3625 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3626 using a normal save/restore sequence, rather than allocating a
3627 dummy stack frame just to store a frame pointer and restore.
3628 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3629
fb06851d
JM
36302012-02-21 Joseph Myers <joseph@codesourcery.com>
3631
3632 * manual/install.texi: Fix stray word in line-wrapped comment.
3633
7a8b71c3
DM
36342012-02-20 David S. Miller <davem@davemloft.net>
3635
d510c123
DM
3636 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3637 both binutils and gcc support GOTDATA.
3638
0722d7c2
DM
3639 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3640 "rd %pc" in the PIC register setup sequences.
3641
3d2b3019
DM
3642 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3643 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3644 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3645 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3646 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3647 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3648 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3649 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3650 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3651 (SYSCALL_ERROR_HANDLER): Likewise.
3652 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3653 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3654 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3655 (SYSCALL_ERROR_HANDLER): Likewise.
3656
c80098a9
DM
3657 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3658 (HAVE_GCC_GOTDATA): New.
3659 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3660 relocation support in both binutils and gcc.
3661 * sysdeps/sparc/elf/configure: Regenerate.
3662
3a2545a0
DM
3663 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3664 * sysdeps/sparc/sparc32/elf/configure: Delete.
3665 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3666 * sysdeps/sparc/sparc64/elf/configure: Delete.
3667 * sysdeps/sparc/elf/configure.in: New file.
3668 * sysdeps/sparc/elf/configure: Generate.
3669
7a8b71c3
DM
3670 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3671 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3672 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3673 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3674 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3675
f1e86fca
JM
36762012-02-21 Joseph Myers <joseph@codesourcery.com>
3677
3678 * manual/install.texi: Do not mention specific glibc version
3679 numbers.
3680 * manual/libc.texinfo (VERSION, UPDATED): Update.
3681 (@copying): Use @copyright{} and range of years.
3682
0e7dfaef
JM
36832012-02-21 Joseph Myers <joseph@codesourcery.com>
3684
3685 [BZ #13695]
3686 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3687 [crti.S not in sysdirs] (generated): Do not append.
3688 [crti.S not in sysdirs] (omit-deps): Likewise.
3689 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3690 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3691 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3692 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3693 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3694 Likewise.
3695 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3696 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3697 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3698 * csu/defs.awk: Remove file.
3699 * sysdeps/generic/initfini.c: Likewise.
3700 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3701 variable.
3702 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3703 Likewise.
3704
599af3ca
JM
37052012-02-20 Joseph Myers <joseph@codesourcery.com>
3706
3707 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3708 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3709 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3710 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3711 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3712 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3713 <bits/epoll.h>.
3714 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3715 (__EPOLL_PACKED): Define to empty if not defined by
3716 <bits/epoll.h>.
3717 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3718 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3719 bits/epoll.h.
3720
0e499750
JM
37212012-02-20 Joseph Myers <joseph@codesourcery.com>
3722
3723 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3724 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3725 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3726 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3727 <bits/timerfd.h>.
3728 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3729 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3730 bits/timerfd.h.
3731
5ad91f6e
JM
37322012-02-20 Joseph Myers <joseph@codesourcery.com>
3733
3734 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3735 in C locale.
3736 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3737 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3738 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3740
06b99b02
AJ
37412012-02-20 Aurelien Jarno <aurelien@aurel32.net>
3742
3743 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3744 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3745
7638c0fd
AS
37462012-02-19 Andreas Schwab <schwab@linux-m68k.org>
3747
3748 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3749 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3750 defined.
3751 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3752 Likewise.
3753 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3754 entry for 2.16.
3755
92221550
AJ
37562012-02-19 Aurelien Jarno <aurelien@aurel32.net>
3757
3758 * math/w_acos.c: Use non-signaling floating-point comparisons.
3759 * math/w_acosf.c: Likewise.
3760 * math/w_acosh.c: Likewise.
3761 * math/w_acoshf.c: Likewise.
3762 * math/w_acoshl.c: Likewise.
3763 * math/w_acosl.c: Likewise.
3764 * math/w_asin.c: Likewise.
3765 * math/w_asinf.c: Likewise.
3766 * math/w_asinl.c: Likewise.
3767 * math/w_atanh.c: Likewise.
3768 * math/w_atanhf.c: Likewise.
3769 * math/w_atanhl.c: Likewise.
3770 * math/w_exp2.c: Likewise.
3771 * math/w_exp2f.c: Likewise.
3772 * math/w_exp2l.c: Likewise.
3773 * math/w_j0.c: Likewise.
3774 * math/w_j0f.c: Likewise.
3775 * math/w_j0l.c: Likewise.
3776 * math/w_j1.c: Likewise.
3777 * math/w_j1f.c: Likewise.
3778 * math/w_j1l.c: Likewise.
3779 * math/w_jn.c: Likewise.
3780 * math/w_jnf.c: Likewise.
3781 * math/w_log.c: Likewise.
3782 * math/w_log10.c: Likewise.
3783 * math/w_log10f.c: Likewise.
3784 * math/w_log10l.c: Likewise.
3785 * math/w_log2.c: Likewise.
3786 * math/w_log2f.c: Likewise.
3787 * math/w_log2l.c: Likewise.
3788 * math/w_logf.c: Likewise.
3789 * math/w_logl.c: Likewise.
3790 * math/w_sqrt.c: Likewise.
3791 * math/w_sqrtf.c: Likewise.
3792 * math/w_sqrtl.c: Likewise.
3793 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3794 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3795 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3796 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3797 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3798
ebaf36eb
JM
37992012-02-19 Joseph Myers <joseph@codesourcery.com>
3800
3801 [BZ #9739]
3802 * manual/string.texi (strnlen): Use correct parameter name in
3803 equivalent expression.
3804
71c254a6
JM
38052012-02-19 Joseph Myers <joseph@codesourcery.com>
3806
3807 [BZ #11174]
3808 * manual/users.texi (seteuid): Consistently use neweuid for
3809 argument name.
3810
16d2c631
JM
38112012-02-19 Joseph Myers <joseph@codesourcery.com>
3812
3813 [BZ #13704]
3814 * manual/nss.texi (Services in the NSS configuration): Correct
3815 list of services in example configuration file.
3816
cd837b09
NB
38172012-02-19 Nick Bowler <nbowler@draconx.ca>
3818
3819 [BZ #11322]
3820 * manual/arith.texi: Remove statements about negative zero
3821 behaving identically to zero.
3822
02c4bbad
JM
38232012-02-18 Joseph Myers <joseph@codesourcery.com>
3824
3825 [BZ #5993]
3826 * manual/install.texi: Do not document upgrading from libc5.
3827
366842e7
JM
38282012-02-18 Joseph Myers <joseph@codesourcery.com>
3829
3830 [BZ #4596]
3831 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3832
dd54084d
DM
38332012-02-18 David S. Miller <davem@davemloft.net>
3834
3835 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3836 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3837 %o7 across the call.
3838 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3839 instead.
3840 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3841 SETUP_PIC_REG_LEAF.
3842 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3843 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3844 * sysdeps/sparc/crtn.S: Likewise.
3845
2bcc53a3
UD
38462012-02-17 Ulrich Drepper <drepper@gmail.com>
3847
3848 * aout/Makefile: Remove.
3849
09c093b5
RK
38502012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3851
3852 [BZ #13058]
3853 * manual/examples/argp-ex1.c (main): Format definition in GNU
3854 style.
3855 * manual/examples/argp-ex2.c (main): Likewise.
3856 * manual/examples/argp-ex3.c (main): Likewise.
3857 * manual/examples/argp-ex4.c (main): Likewise.
3858 * manual/examples/longopt.c (main): Use new-style prototype
3859 definition.
3860 * manual/examples/strncat.c (main): Specify return type and use
3861 (void) for arguments.
3862 * manual/examples/subopt.c (main): Use char **argv argument.
3863
2ee633a2
JM
38642012-02-17 Joseph Myers <joseph@codesourcery.com>
3865
3866 [BZ #5077]
3867 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3868 rounding modes.
3869
0520adde
FB
38702012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3871
3872 [BZ #6907]
3873 * manual/string.texi (strchr): Change when strchrnul is
3874 recommended.
3875
3f4081cd
DGM
38762012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3877
3878 [BZ #174]
3879 * manual/locale.texi (setlocale): Document LOCPATH.
3880
d1b10e78
JM
38812012-02-17 Joseph Myers <joseph@codesourcery.com>
3882
3883 [BZ #10210]
3884 * manual/process.texi (execle): Move @dots{} before last argument.
3885
79c6869c
PB
38862012-02-17 Paul Bolle <pebolle@tiscali.nl>
3887
3888 [BZ #12047]
3889 * manual/charset.texi (Generic Charset Conversion): Fix typo
3890 (LC_TYPE -> LC_CTYPE).
3891
cc6e48bc
NB
38922012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3893
3894 [BZ #5805]
3895 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3896 (scalbnf): Likewise.
3897 (scalbnl): Likewise.
3898 (scalbln): Likewise.
3899 (scalblnf): Likewise.
3900 (scalblnl): Likewise.
3901 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3902 (vwarnx): Likewise.
3903 (verr): Likewise.
3904 (verrx): Likewise.
3905 * manual/filesys.texi (telldir): Use braces around return type.
3906 * manual/llio.texi (mmap): Add space after comma.
3907 (mmap64): Likewise.
3908 * manual/math.texi (jn): Use @var{} on parameter names.
3909 (jnf): Likewise.
3910 (jnl): Likewise.
3911 (yn): Likewise.
3912 (ynf): Likewise.
3913 (ynl): Likewise.
3914 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3915 line.
3916 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3917 "...".
3918 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3919 (sched_get_priority_max): Likewise.
3920 * manual/signal.texi (sigvec): Add space after comma.
3921 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3922 names.
3923 (if_indextoname): Likewise.
3924 (if_freenameindex): Likewise.
3925 (sendto): Use ',' instead of '.' in prototype.
3926 * manual/startup.texi (syscall): Use @dots{} instead of literal
3927 "...".
3928 * manual/stdio.texi (__fpending): Separate initial words of
3929 paragraph from @deftypefun line.
3930 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3931 "...".
3932 (vsyslog): Use @var{} on parameter names.
3933 * manual/terminal.texi (stty): Use @var{} on parameter names.
3934 * manual/users.texi (getutmp): Use @var{} on parameter names.
3935 (getutmpx): Likewise.
3936
5b23062f
JM
39372012-02-17 Joseph Myers <joseph@codesourcery.com>
3938
3939 [BZ #6884]
3940 * manual/stdio.texi (fopen): Fix typos in description of
3941 ",ccs=STRING".
3942
8dee4833
AJ
39432012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3944
3945 [BZ #4026]
3946 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3947 get clock_id definition.
3948
9078ce93
TS
39492012-02-17 Thomas Schwinge <thomas@schwinge.name>
3950
3951 [BZ #4822]
3952 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3953 (madvise): Cast every argument to void on its own.
3954
3835c55f
JM
39552012-02-17 Joseph Myers <joseph@codesourcery.com>
3956
3957 [BZ #9902]
3958 * manual/startup.texi (Exit Status): Fix typo.
3959
35c47e37
JM
39602012-02-17 Joseph Myers <joseph@codesourcery.com>
3961
3962 [BZ #10140]
3963 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3964 * manual/examples/argp-ex2.c: Likewise.
3965 * manual/examples/argp-ex3.c: Likewise.
3966
e3b69ca7
RH
39672012-02-16 Richard Henderson <rth@redhat.com>
3968
3969 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3970 * sysdeps/s390/s390-32/initfini.c: Remove.
3971 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3972 * sysdeps/s390/s390-64/initfini.c: Remove.
3973
df83af67
KK
39742012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3975
3976 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3977 compiler output for sysdeps/generic/initfini.c.
3978 * sysdeps/sh/elf/initfini.c: Remove file.
3979
f63f3380
DM
39802012-02-16 David S. Miller <davem@davemloft.net>
3981
fb59b3a4
DM
3982 [BZ #11494]
3983 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3984
f63f3380
DM
3985 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3986 * sysdeps/sparc/crti.S: New file.
3987 * sysdeps/sparc/crtn.S: New file.
3988 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3989 * sysdeps/sparc/sparc64/Makefile: Likewise.
3990
df6a4a4a
MF
39912012-02-15 Mike Frysinger <vapier@gentoo.org>
3992
6dd8f3dc 3993 [BZ #3335]
df6a4a4a
MF
3994 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3995
1cac7236
RM
39962012-02-15 Roland McGrath <roland@hack.frob.com>
3997
d2c736f8
RM
3998 [BZ #4822]
3999 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
4000
1cac7236
RM
4001 * mach/devstream.c (cookie_io_functions_t): Macro removed.
4002 (write, read, close): Likewise.
4003 Patch by Aurelien Jarno <aurelien@aurel32.net>.
4004
8e475601
JM
40052012-02-15 Joseph Myers <joseph@codesourcery.com>
4006
4007 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
4008 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
4009 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
4010 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
4011 <bits/signalfd.h>.
4012 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
4013 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4014 bits/signalfd.h.
4015
ed656b40
MP
40162012-02-14 Marek Polacek <polacek@redhat.com>
4017
4018 * sysdeps/x86_64/crti.S: New file.
4019 * sysdeps/x86_64/crtn.S: New file.
4020 * sysdeps/x86_64/elf/initfini.c: Remove file.
4021
2a979d3a
JM
40222012-02-13 Joseph Myers <joseph@codesourcery.com>
4023
4024 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
4025 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
4026 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
4027 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
4028 <bits/inotify.h>.
4029 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
4030 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4031 bits/inotify.h.
4032
2a418ac3
JM
40332012-02-13 Joseph Myers <joseph@codesourcery.com>
4034
4035 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
4036 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
4037 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
4038 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
4039 <bits/eventfd.h>.
4040 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
4041 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4042 bits/eventfd.h.
4043
fb779be7
TS
40442012-02-10 Thomas Schwinge <thomas@codesourcery.com>
4045
e19e83c5
RM
4046 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
4047 __feraiseexcept instead of feraiseexcept.
7c35ffed 4048
fb779be7
TS
4049 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
4050 nanosleep invocations.
4051 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
4052 strings, and add error checking for a nanosleep invocations.
4053
59ba27a6
PE
40542012-02-09 Paul Eggert <eggert@cs.ucla.edu>
4055
4056 Replace FSF snail mail address with URLs, as per GNU coding standards.
4057 Most of the snail mail addresses were wrong anyway, and omitting
4058 them makes the source code easier to maintain. Almost all of the
4059 changes are to license notices and to locale LC_IDENTIFICATION
4060 addresses, except for this one:
4061 * manual/libc.texinfo: In "Published by", give the FSF's URL,
4062 not its snail mail address.
4063
57b957eb
RH
40642012-02-09 Richard Henderson <rth@twiddle.net>
4065
af850b1c
RH
4066 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
4067 of kernel-features.h.
4068
57b957eb
RH
4069 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
4070
6b73181a
MP
40712012-02-08 Marek Polacek <polacek@redhat.com>
4072
4073 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
4074 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
4075 * sysdeps/gnu/_G_config.h: Likewise.
4076 * sysdeps/generic/_G_config.h: Likewise.
4077
26ecc33a
AS
40782012-02-08 Andreas Schwab <schwab@linux-m68k.org>
4079
6c6dbc63
AS
4080 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
4081 tests.
4082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4083
e216c012
AS
4084 * sysdeps/powerpc/powerpc32/crti.S: New file.
4085 * sysdeps/powerpc/powerpc32/crtn.S: New file.
4086 * sysdeps/powerpc/powerpc64/crti.S: New file.
4087 * sysdeps/powerpc/powerpc64/crtn.S: New file.
4088
26ecc33a
AS
4089 * Makeconfig (have-initfini): Don't set.
4090 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
4091 * configure.in (nopic_initfini): Don't substitute.
4092 * config.h.in (HAVE_INITFINI): Don't #undef.
4093 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
4094 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
4095
3add8e13
JM
40962012-02-08 Joseph Myers <joseph@codesourcery.com>
4097
4098 Support crti.S and crtn.S provided directly by architectures.
4099 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
4100 [crti.S in sysdirs] (omit-deps): Likewise.
4101 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
4102 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
4103 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
4104 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
4105 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
4106 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
4107 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
4108 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
4109 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
4110 compiler output for sysdeps/generic/initfini.c.
4111 * sysdeps/i386/elf/Makefile: Remove file.
4112 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
4113
a22f12b4
MP
41142012-02-07 Marek Polacek <polacek@redhat.com>
4115
4116 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
4117 * sysdeps/gnu/_G_config.h: Likewise.
4118 * sysdeps/mach/hurd/_G_config.h: Likewise.
4119
148cf100
MP
41202012-02-07 Marek Polacek <polacek@redhat.com>
4121
4122 * math/Makefile (tests): Add tst-CMPLX2.
4123 * math/tst-CMPLX2.c: New file.
4124
cfdc0dd7
AS
41252012-02-07 Andreas Schwab <schwab@linux-m68k.org>
4126
84ba42c4
AS
4127 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4128
cfdc0dd7
AS
4129 * math/libm-test.inc (jn_test): Add missing L suffix.
4130
622c86f4
MP
41312012-02-06 Marek Polacek <polacek@redhat.com>
4132
4133 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
4134 * sysdeps/i386/fpu/e_powf.S: Likewise.
4135 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4136 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4137 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4138 * sysdeps/i386/fpu/e_pow.S: Likewise.
4139 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4140 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4141 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4142 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4143 * sysdeps/i386/fpu/e_log2.S: Likewise.
4144 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4145 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4146 * sysdeps/i386/fpu/e_powl.S: Likewise.
4147 * sysdeps/i386/fpu/s_log1p.S: Likewise.
4148 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4149 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4150 * sysdeps/i386/fpu/e_logl.S: Likewise.
4151 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4152 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
4153 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4154 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4155 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4156 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4157 * sysdeps/i386/fpu/e_log.S: Likewise.
4158 * sysdeps/i386/fpu/s_cexp.S: Likewise.
4159 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4160 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4161 * sysdeps/i386/fpu/e_logf.S: Likewise.
4162 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4163 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4164 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4165 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4166 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4167 * sysdeps/i386/fpu/e_log10.S: Likewise.
4168 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4169 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4170 * sysdeps/i386/fpu/s_asinh.S: Likewise.
4171 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4172 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4173 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4174 * sysdeps/i386/asm-syntax.h: Likewise.
4175 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4176 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4177 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4178 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
4179 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
4180 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4181 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4182 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4183 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4184 * sysdeps/powerpc/sysdep.h: Likewise.
4185 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
4186 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4187
d4a54ac6
JM
41882012-02-06 Joseph Myers <joseph@codesourcery.com>
4189
4190 [BZ #411]
4191 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
4192
314054ea
JM
41932012-02-06 Joseph Myers <joseph@codesourcery.com>
4194
4195 * sysdeps/i386/sysdep.h: Include <features.h>.
4196 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
4197 version.
4198
d8e0ca50
JM
41992012-02-05 Joseph Myers <joseph@codesourcery.com>
4200
4201 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
4202 Define.
4203 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
4204 LOAD_PIC_REG_STR.
4205
b1da7dd9
JM
42062012-02-03 Joseph Myers <joseph@codesourcery.com>
4207
4208 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
4209 (SETUP_PIC_REG): Use GET_PC_THUNK.
4210 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
4211 macro.
4212
9a1d9254
JM
42132012-02-03 Joseph Myers <joseph@codesourcery.com>
4214
4215 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
4216 for non-PIC compilation.
4217 (SETUP_PIC_REG): Add .p2align directive.
4218 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
4219 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4220 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4221 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4222 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4223 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4224 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4225 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4226 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4227 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4228 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4229 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4230 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4231 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4232 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4233 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4234 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4235 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4236 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4237 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4238 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4239 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4240 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4241 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4242 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4243 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4244 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4245 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4246 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4247 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4248 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4249 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4250 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4251 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4252 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4253 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4254 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4255 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4256 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4257 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4258 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4259
65dc3b75
JM
42602012-02-03 Joseph Myers <joseph@codesourcery.com>
4261
4262 * math/tst-CMPLX.c: Include <stdio.h>.
4263
d55bf177
JM
42642012-01-31 Joseph Myers <joseph@codesourcery.com>
4265
4266 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
4267 float.
4268 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4269 * sysdeps/sparc/bits/mathdef.h: Likewise.
4270
69db4f8f
MP
42712012-01-31 Marek Polacek <polacek@redhat.com>
4272
4273 * libio/libio.h: Don't define _PARAMS.
4274 * locale/programs/config.h: Don't define PARAMS.
4275 * stdlib/strtol_l.c: Likewise.
4276 (__strtol_l): Remove PARAMS from the prototype.
4277
41b81892
UD
42782012-01-31 Ulrich Drepper <drepper@gmail.com>
4279
3b49edc0
UD
4280 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
4281 names. Just use the correct names. Remove unnecessary wrapper
4282 functions.
4283 * malloc/arena.c: Likewise.
4284 * malloc/hooks.c: Likewise.
4285
41b81892
UD
4286 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
4287 ARENA_TEST says not to. Simplify test for creation of a new arena.
4288 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
4289
27a25b6e
UD
42902012-01-30 Ulrich Drepper <drepper@gmail.com>
4291
4292 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
4293 into tail calls.
4294 (update_get_addr): New function.
4295 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
4296 GET_ADDR_MODULE parameter.
4297
c8a89e7d
JM
42982012-01-30 Joseph Myers <joseph@codesourcery.com>
4299
4300 * crypt/cert.c: Remove __STDC__ conditionals.
4301 * crypt/crypt-entry.c: Likewise.
4302 * crypt/crypt_util.c: Likewise.
4303 * libio/filedoalloc.c: Likewise.
4304 * libio/fileops.c: Likewise.
4305 * libio/genops.c: Likewise.
4306 * libio/iofclose.c: Likewise.
4307 * libio/iofdopen.c: Likewise.
4308 * libio/iofopen.c: Likewise.
4309 * libio/iofopen64.c: Likewise.
4310 * libio/iogetdelim.c: Likewise.
4311 * libio/iopopen.c: Likewise.
4312 * libio/obprintf.c: Likewise.
4313 * libio/oldfileops.c: Likewise.
4314 * libio/oldiofclose.c: Likewise.
4315 * libio/oldiofdopen.c: Likewise.
4316 * libio/oldiofopen.c: Likewise.
4317 * libio/oldiopopen.c: Likewise.
4318 * libio/wfiledoalloc.c: Likewise.
4319 * libio/wgenops.c: Likewise.
4320 * locale/programs/xmalloc.c: Likewise.
4321 * misc/syslog.c: Likewise.
4322 * stdio-common/xbug.c: Likewise.
4323 * string/memchr.c: Likewise.
4324 * string/memcmp.c: Likewise.
4325 * string/memrchr.c: Likewise.
4326 * string/rawmemchr.c: Likewise.
4327 * sysdeps/posix/getcwd.c: Likewise.
4328 * time/strftime_l.c: Likewise.
4329
3b100462
JM
43302012-01-30 Joseph Myers <joseph@codesourcery.com>
4331
4332 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
4333 * config.make.in (config-cflags-sse2avx): Define.
4334 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
4335 Fix typo.
4336
607998af
CM
43372012-01-29 Chris Metcalf <cmetcalf@tilera.com>
4338
4339 * scripts/config.guess: Update from upstream config git repository.
4340 * scripts/config.sub: Likewise.
4341
3601428f
CM
43422012-01-28 Chris Metcalf <cmetcalf@tilera.com>
4343
3ac8b282
CM
4344 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
4345 (EM_NUM): Update.
4346 (R_TILEPRO_*, R_TILEGX_*): New macros.
4347
e034841e
CM
4348 * scripts/firstversions.awk: Fix bug in version range handling.
4349
540d7568
CM
4350 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
4351
3601428f
CM
4352 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
4353
463de862
CM
4354 * include/sys/epoll.h: New file.
4355 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
4356 libc_hidden_def.
4357
73139a76
UD
43582012-01-28 Ulrich Drepper <drepper@gmail.com>
4359
96bc5b45
UD
4360 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
4361 Avoid unnecessary __WORDSIZE == 64 test.
4362 (fmaxf): Use VEX format if possible.
4363 (fmax): Likewise.
4364 (fminf): Likewise.
4365 (fmin): Likewise.
4366
56f6f6a2
UD
4367 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
4368 * math/math_private.h: Remove libc_fegetround* and
4369 libc_fesetround*.
4370 * sysdeps/i386/configure.in: Check for -msse2avx.
4371 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
4372 also if SSE2AVX is defined.
4373 Remove libc_fegetround* and libc_fesetround*.
4374 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
4375 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
4376 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
4377 of HAS_YMM_USABLE.
4378 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4379 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4380 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4381 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4382 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4383
73139a76
UD
4384 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
4385
d73f93a4
AZ
43862012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4387
4388 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
4389 size is not set.
4390 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4391
6ee65ed6
UD
43922012-01-27 Ulrich Drepper <drepper@gmail.com>
4393
4394 [BZ #13618]
4395 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
4396 relocation.
4397 * Makeconfig (libm): Define.
4398 * elf/Makefile: Add rules to build and run tst-relsort1.
4399 * elf/tst-relsort1.c: New file.
4400 * elf/tst-relsort1mod1.c: New file.
4401 * elf/tst-relsort1mod2.c: New file.
4402
8db21882
JM
44032012-01-27 Joseph Myers <joseph@codesourcery.com>
4404
4405 * math/s_ldexp.c: Remove __STDC__ conditionals.
4406 * math/s_ldexpf.c: Likewise.
4407 * math/s_ldexpl.c: Likewise.
4408 * math/s_nextafter.c: Likewise.
4409 * math/s_nexttowardf.c: Likewise.
4410 * math/s_significand.c: Likewise.
4411 * math/s_significandf.c: Likewise.
4412 * math/s_significandl.c: Likewise.
4413 * math/w_jnl.c: Likewise.
4414 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4415 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4416 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4417 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4418 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4419 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4420 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
4421 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4422 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4423 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4424 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4425 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4426 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4427 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4428 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4429 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4430 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4431 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4432 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4433 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4434 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4435 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4436 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4437 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4438 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4439 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4440 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4441 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4442 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4443 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4444 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4445 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4446 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4447 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4448 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4449 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4450 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4451 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4452 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4453 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4454 * sysdeps/ieee754/k_standard.c: Likewise.
4455 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4456 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4457 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4458 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4459 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4460 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4461 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4462 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4463 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4464 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4465 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4466 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4467 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4468 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4469 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4470 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4471 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4472 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4473 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4474 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4475 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4476 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4477 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4478 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4479 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4480 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4481 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4482 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4483 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4484 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4485 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4486 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4487 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4488 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4489 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4490 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4491 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4492 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4493 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4494 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4495 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4496 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4497 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4498 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4499 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4500 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4501 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4502 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4503 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4504 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4505 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4506 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4507 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4508 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4509 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4510 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4511 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4512 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4513 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4514 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4515 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4516 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4517 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4518 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4519 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4520 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4521 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4522 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4523 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4524 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4525 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4526 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4527 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4528 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4529 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4530 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4531 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4532 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4533 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4534 * sysdeps/ieee754/s_matherr.c: Likewise.
4535 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4536 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4537 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4538 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4539
965a54a4
JM
45402012-01-26 Joseph Myers <joseph@codesourcery.com>
4541
4542 * crypt/md5.h: Remove __STDC__ conditionals.
4543 * libio/libioP.h: Likewise.
4544 * locale/programs/config.h: Likewise.
4545 * sysdeps/generic/sysdep.h: Likewise.
4546 * sysdeps/i386/asm-syntax.h: Likewise.
4547 * sysdeps/s390/asm-syntax.h: Likewise.
4548 * sysdeps/unix/sysdep.h: Likewise.
4549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4551
7071ad79
JM
45522012-01-26 Joseph Myers <joseph@codesourcery.com>
4553
4554 * libio/libio.h: Remove __STDC__ conditionals.
4555 * malloc/obstack.h: Likewise.
4556 * math/complex.h: Likewise.
4557 * math/math.h: Likewise.
4558 * sysdeps/generic/_G_config.h: Likewise.
4559 * sysdeps/gnu/_G_config.h: Likewise.
4560 * sysdeps/mach/hurd/_G_config.h: Likewise.
4561 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4562 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4563 * sysdeps/sparc/bits/mathdef.h: Likewise.
4564
afc5ed09
UD
45652012-01-26 Ulrich Drepper <drepper@gmail.com>
4566
4567 [BZ #13583]
4568 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 4569 Clean up HAS_* macros.
afc5ed09 4570 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
4571 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4572 possible.
4573 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4574 HAS_AVX.
4575 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4576 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4577 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4578 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4579 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 4580
bdb6de1d
JM
45812012-01-25 Joseph Myers <joseph@codesourcery.com>
4582
4583 * elf/tst-unique3.cc (gets): Remove declaration.
4584 * elf/tst-unique3lib.cc (gets): Likewise.
4585 * elf/tst-unique3lib2.cc (gets): Likewise.
4586 * elf/tst-unique4.cc (gets): Likewise.
4587
b15549e6
UD
45882012-01-24 Ulrich Drepper <drepper@gmail.com>
4589
4590 * include/stdio.h: Add C++ protection. Add gets declarations and
4591 definitions.
4592 * debug/tst-chk1.c: Don't declare gets here.
4593 * stdio-common/tst-gets.c: Likewise.
4594
a037381f
JM
45952012-01-24 Joseph Myers <joseph@codesourcery.com>
4596
4597 * posix/glob: Remove directory.
4598
f1d4aa75
JM
45992012-01-24 Joseph Myers <joseph@codesourcery.com>
4600
4601 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4602
81c0c964
PT
46032012-01-22 Pino Toscano <toscano.pino@tiscali.it>
4604
4605 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4606 of the non-standard EPFNOSUPPORT.
4607
0ea698ae
ST
46082011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
4609
4610 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4611 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4612 ANYWHERE set to 1 only on KERN_NO_SPACE error.
4613
d220b117
UD
46142012-01-21 Ulrich Drepper <drepper@gmail.com>
4615
4616 * wcsmbs/uchar.h: Test __STDC_VERSION__.
4617
3e1aa84e
UD
46182012-01-20 Ulrich Drepper <drepper@gmail.com>
4619
4620 * nscd/aicache.c (addhstaiX): Do not cache negative results of
4621 transient errors.
4622 * nscd/grpcache.c (cache_addgr): Likewise.
4623 * nscd/hstcache.c (cache_addhst): Likewise.
4624 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4625 * nscd/pwdcache.c (cache_addpw): Likewise.
4626 * nscd/servicescache.c (cache_addserv): Likewise.
4627
400aa020
UD
46282012-01-16 Ulrich Drepper <drepper@gmail.com>
4629
d77e7869
UD
4630 * malloc/malloc.c: Various cleanups.
4631 * malloc/hooks.c: Likewise.
4632
400aa020
UD
4633 * stdlib/Makefile (tests): Add bug-fmtmsg1.
4634 * stdlib/bug-fmtmsg1.c: New file.
4635
4636 * stdlib/fmtmsg.c (init): Add missing unlock.
4637 Patch by Peng Haitao <penght@cn.fujitsu.com>.
4638
e0a309cf
MP
46392012-01-12 Marek Polacek <polacek@redhat.com>
4640
4641 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4642 and _GNU_SOURCE.
4643
929d11c7
WS
46442012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4645
4646 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4647 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4648 macro to ensure uniqueness of label name.
4649 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4650 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4651
41d0e869
UD
46522012-01-11 Ulrich Drepper <drepper@gmail.com>
4653
0cc5ed3b
UD
4654 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4655
41d0e869
UD
4656 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4657 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4658 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4659 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4660
a47a831a
UD
46612012-01-10 Ulrich Drepper <drepper@gmail.com>
4662
daa891c0
UD
4663 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4664
4665 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4666 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4667 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4668
e58ef0f2
UD
4669 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4670
a47a831a 4671 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
4672 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4673 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 4674 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
4675
4676 * math/bits/math-finite.h: Add ldexp support.
4677
a0bfc9c7
MP
46782012-01-10 Marek Polacek <polacek@redhat.com>
4679
4680 * locale/programs/localedef.h (show_archive_content): Add noreturn
4681 attribute.
4682
d6e97a1d
UD
46832012-01-09 Ulrich Drepper <drepper@gmail.com>
4684
4685 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4686
d5835c26
UD
46872012-01-08 Ulrich Drepper <drepper@gmail.com>
4688
e5f484c6
UD
4689 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4690
d5835c26
UD
4691 * io/Makefile (headers): Add bits/poll2.h.
4692
d1f741e9
WS
46932011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
4694
4695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4696 typo #include statement.
4697
ec09c1c4
UD
46982012-01-08 Ulrich Drepper <drepper@gmail.com>
4699
4700 * include/sys/cdefs.h: Define __attribute_alloc_size.
4701 * catgets/gencat.c: Add alloc_size attribute and apply consistently
4702 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4703 * elf/pldd.c: Likewise.
4704 * iconv/iconv_charmap.c: Likewise.
4705 * iconv/iconvconfig.c: Likewise.
4706 * iconv/strtab.c: Likewise.
4707 * locale/programs/locale.c: Likewise.
4708 * locale/programs/localedef.h: Likewise.
4709 * locale/programs/simple-hash.c: Likewise.
4710 * nscd/nscd.h: Likewise.
4711 * nss/makedb.c: Likewise.
4712 * sysdeps/generic/ldconfig.h: Likewise.
4713 * locale/programs/localedef.c: Remove xmalloc prototype.
4714 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4715
20b38e03
PP
47162012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4717
4718 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4719 appropriate.
4720
a0da5fe1
UD
47212012-01-08 Ulrich Drepper <drepper@gmail.com>
4722
1d5a644a 4723 * math/Makefile (tests): Add tst-CMPLX.
669704fd 4724 * math/tst-CMPLX.c: New file.
1d5a644a 4725
8784a6db
UD
4726 * math/complex.h (CMPLXL): Fix typo.
4727
d9a216c0
UD
4728 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4729 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4730 GLIBC_2.16.
4731 * debug/tst-chk1.c: Add poll and ppoll tests.
4732 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4733 * include/sys/poll.h: Add hidden proto for ppoll.
4734 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4735 * sysdeps/mach/hurd/ppoll.c: Likewise.
4736 * io/ppoll.c: Likewise.
4737 * debug/poll_chk.c: New file.
4738 * debug/ppoll_chk.c: New file.
4739 * include/bits/poll2.h: New file.
4740 * io/bits/poll2.h: New file.
4741
ac097f5c
UD
4742 [BZ #1350]
4743 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4744
2119dcfa
UD
4745 * configure.in: static is always set to yes. Remove.
4746 * config.make.in: Don't set build-static.
4747 * Makeconfig: Remove use of build-static.
4748 * dlfcn/Makefile: Likewise.
4749 * elf/Makefile: Likewise.
4750 * math/Makefile: Likewise.
4751 * misc/Makefile: Likewise.
4752 * nptl/Makefile: Likewise.
4753 * sysdeps/mach/hurd/Makefile: Likewise.
4754
121766a9
UD
4755 * configure.in: PWD_P is not used anymore.
4756 * config.make.in: Remove PWD_P entry.
4757
51a1d39c 4758 * configure.in: Remove last remnants of RANLIB.
8720d066 4759 No need to check for signed size_t anymore.
215f4bdc
UD
4760 Don't set libc_commonpagesize and libc_relro_required here for Alpha
4761 and IA-64.
3857022a 4762 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
4763 * aclocal.m4: Likewise.
4764
d3ed7225
UD
4765 * wcsmbs/mbrtoc16.c: Implement using towc function.
4766 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4767 * wcsmbs/wcsmbsload.c: Likewise.
4768 * iconv/gconv_simple.c: Likewise.
4769 * iconv/gconv_int.h: Likewise.
4770 * iconv/gconv_builtin.h: Likewise.
4771 * iconv/iconv_prog.c: Remove CHAR16 handling.
4772
4773 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4774
4775 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4776
a0da5fe1
UD
4777 * configure.in: Remove --with-elf and --enable-bounded options.
4778 Dont set base_machine for ia64. More non-ELF conditions removed.
4779 Remove testing and setting of leading underscore information.
4780 * config.make.in (build-bounded): Set to no.
4781 * config.h.in: Remove NO_UNDERSCORES entry.
4782 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4783 them.
4784 * csu/start.c: Remove !NO_UNDERSCORE code.
4785 * locale/localeinfo.h: Likewise.
4786 * sysdeps/generic/machine-gmon.h: Likewise.
4787 * sysdeps/generic/sysdep.h: Likewise.
4788 * sysdeps/i386/sysdep.h: Likewise.
4789 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4790 * sysdeps/mach/sysdep.h: Likewise.
4791 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4792 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4793 * sysdeps/sh/sysdep.h: Likewise.
4794 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4795 * sysdeps/unix/i386/sysdep.S: Likewise.
4796 * sysdeps/unix/sparc/start.c: Likewise.
4797 * sysdeps/unix/sparc/sysdep.S: Likewise.
4798 * sysdeps/unix/sparc/sysdep.h: Likewise.
4799 * sysdeps/unix/start.c: Likewise.
4800 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4801 * sysdeps/x86_64/sysdep.h: Likewise.
4802
df78418a
UD
48032012-01-07 Ulrich Drepper <drepper@gmail.com>
4804
a784e502
UD
4805 [BZ #13553]
4806 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4807 for non-gcc.
4808 * argp/argp-fmtstream.h: Use const instead __const.
4809 * argp/argp.h: Likewise.
4810 * assert/assert.h: Likewise.
4811 * bits/fenv.h: Likewise.
4812 * bits/sched.h: Likewise.
4813 * bits/sigset.h: Likewise.
4814 * bits/sigthread.h: Likewise.
4815 * catgets/nl_types.h: Likewise.
4816 * conform/data/pthread.h-data: Likewise.
4817 * crypt/crypt-private.h: Likewise.
4818 * crypt/crypt.h: Likewise.
4819 * crypt/crypt_util.c: Likewise.
4820 * ctype/ctype.h: Likewise.
4821 * debug/execinfo.h: Likewise.
4822 * debug/mbsnrtowcs_chk.c: Likewise.
4823 * debug/mbsrtowcs_chk.c: Likewise.
4824 * debug/wcsnrtombs_chk.c: Likewise.
4825 * debug/wcsrtombs_chk.c: Likewise.
4826 * debug/wcstombs_chk.c: Likewise.
4827 * dirent/dirent.h: Likewise.
4828 * dlfcn/dlfcn.h: Likewise.
4829 * elf/neededtest4.c: Likewise.
4830 * grp/grp.h: Likewise.
4831 * gshadow/gshadow.h: Likewise.
4832 * iconv/gconv.h: Likewise.
4833 * iconv/gconv_int.h: Likewise.
4834 * iconv/gconv_simple.c: Likewise.
4835 * iconv/iconv.h: Likewise.
4836 * iconv/loop.c: Likewise.
4837 * iconv/skeleton.c: Likewise.
4838 * include/aio.h: Likewise.
4839 * include/aliases.h: Likewise.
4840 * include/argz.h: Likewise.
4841 * include/arpa/inet.h: Likewise.
4842 * include/assert.h: Likewise.
4843 * include/dirent.h: Likewise.
4844 * include/dlfcn.h: Likewise.
4845 * include/execinfo.h: Likewise.
4846 * include/fcntl.h: Likewise.
4847 * include/fenv.h: Likewise.
4848 * include/glob.h: Likewise.
4849 * include/grp.h: Likewise.
4850 * include/libintl.h: Likewise.
4851 * include/mntent.h: Likewise.
4852 * include/netdb.h: Likewise.
4853 * include/pwd.h: Likewise.
4854 * include/rpc/netdb.h: Likewise.
4855 * include/sched.h: Likewise.
4856 * include/search.h: Likewise.
4857 * include/shadow.h: Likewise.
4858 * include/signal.h: Likewise.
4859 * include/stdio.h: Likewise.
4860 * include/stdlib.h: Likewise.
4861 * include/string.h: Likewise.
4862 * include/sys/socket.h: Likewise.
4863 * include/sys/stat.h: Likewise.
4864 * include/sys/statfs.h: Likewise.
4865 * include/sys/statvfs.h: Likewise.
4866 * include/sys/syslog.h: Likewise.
4867 * include/sys/time.h: Likewise.
4868 * include/sys/uio.h: Likewise.
4869 * include/time.h: Likewise.
4870 * include/unistd.h: Likewise.
4871 * include/utmp.h: Likewise.
4872 * include/wchar.h: Likewise.
4873 * include/wctype.h: Likewise.
4874 * inet/aliases.h: Likewise.
4875 * inet/arpa/inet.h: Likewise.
4876 * inet/netinet/ether.h: Likewise.
4877 * inet/netinet/in.h: Likewise.
4878 * intl/libintl.h: Likewise.
4879 * io/bits/fcntl2.h: Likewise.
4880 * io/fcntl.h: Likewise.
4881 * io/ftw.h: Likewise.
4882 * io/sys/poll.h: Likewise.
4883 * io/sys/stat.h: Likewise.
4884 * io/sys/statfs.h: Likewise.
4885 * io/sys/statvfs.h: Likewise.
4886 * io/utime.h: Likewise.
4887 * libio/bits/stdio.h: Likewise.
4888 * libio/bits/stdio2.h: Likewise.
4889 * libio/libio.h: Likewise.
4890 * libio/libioP.h: Likewise.
4891 * libio/stdio.h: Likewise.
4892 * locale/lc-ctype.c: Likewise.
4893 * locale/locale.h: Likewise.
4894 * login/utmp.h: Likewise.
4895 * malloc/arena.c: Likewise.
4896 * malloc/malloc.c: Likewise.
4897 * malloc/malloc.h: Likewise.
4898 * malloc/mcheck.c: Likewise.
4899 * malloc/mtrace.c: Likewise.
4900 * math/bits/mathcalls.h: Likewise.
4901 * math/fenv.h: Likewise.
4902 * math/math_private.h: Likewise.
4903 * misc/bits/error.h: Likewise.
4904 * misc/bits/syslog.h: Likewise.
4905 * misc/err.h: Likewise.
4906 * misc/error.h: Likewise.
4907 * misc/fstab.h: Likewise.
4908 * misc/mntent.h: Likewise.
4909 * misc/regexp.h: Likewise.
4910 * misc/search.h: Likewise.
4911 * misc/sgtty.h: Likewise.
4912 * misc/sys/mman.h: Likewise.
4913 * misc/sys/syslog.h: Likewise.
4914 * misc/sys/uio.h: Likewise.
4915 * misc/sys/xattr.h: Likewise.
4916 * misc/ttyent.h: Likewise.
4917 * nis/rpcsvc/ypclnt.h: Likewise.
4918 * nss/nss.h: Likewise.
4919 * posix/bits/unistd.h: Likewise.
4920 * posix/fnmatch.h: Likewise.
4921 * posix/glob.h: Likewise.
4922 * posix/sched.h: Likewise.
4923 * posix/spawn.h: Likewise.
4924 * posix/sys/wait.h: Likewise.
4925 * posix/unistd.h: Likewise.
4926 * posix/wordexp.h: Likewise.
4927 * pwd/pwd.h: Likewise.
4928 * resolv/netdb.h: Likewise.
4929 * resource/sys/resource.h: Likewise.
4930 * rt/aio.h: Likewise.
4931 * rt/bits/mqueue2.h: Likewise.
4932 * rt/mqueue.h: Likewise.
4933 * shadow/shadow.h: Likewise.
4934 * signal/signal.h: Likewise.
4935 * socket/send.c: Likewise.
4936 * socket/sendto.c: Likewise.
4937 * socket/sys/socket.h: Likewise.
4938 * stdio-common/printf.h: Likewise.
4939 * stdlib/bits/stdlib.h: Likewise.
4940 * stdlib/fmtmsg.h: Likewise.
4941 * stdlib/monetary.h: Likewise.
4942 * stdlib/stdlib.h: Likewise.
4943 * stdlib/ucontext.h: Likewise.
4944 * streams/stropts.h: Likewise.
4945 * string/argz.h: Likewise.
4946 * string/bits/string2.h: Likewise.
4947 * string/string.h: Likewise.
4948 * string/strings.h: Likewise.
4949 * sunrpc/rpc/auth.h: Likewise.
4950 * sunrpc/rpc/auth_des.h: Likewise.
4951 * sunrpc/rpc/clnt.h: Likewise.
4952 * sunrpc/rpc/netdb.h: Likewise.
4953 * sunrpc/rpc/pmap_clnt.h: Likewise.
4954 * sunrpc/rpc/xdr.h: Likewise.
4955 * sysdeps/generic/inttypes.h: Likewise.
4956 * sysdeps/generic/net/if.h: Likewise.
4957 * sysdeps/generic/sys/swap.h: Likewise.
4958 * sysdeps/gnu/net/if.h: Likewise.
4959 * sysdeps/gnu/utmpx.h: Likewise.
4960 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4961 * sysdeps/i386/i486/bits/string.h: Likewise.
4962 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4963 * sysdeps/s390/bits/string.h: Likewise.
4964 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4965 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4966 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4967 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4968 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4969 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4970 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4971 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4972 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4973 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4974 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4975 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4976 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4977 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4978 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4979 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4980 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4981 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4982 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4983 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4984 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4985 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4986 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4987 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4988 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4989 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4990 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4991 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4992 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4993 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4994 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4995 * sysvipc/sys/ipc.h: Likewise.
4996 * sysvipc/sys/msg.h: Likewise.
4997 * sysvipc/sys/sem.h: Likewise.
4998 * sysvipc/sys/shm.h: Likewise.
4999 * termios/termios.h: Likewise.
5000 * time/sys/time.h: Likewise.
5001 * time/time.h: Likewise.
5002 * wcsmbs/bits/wchar2.h: Likewise.
5003 * wcsmbs/uchar.h: Likewise.
5004 * wcsmbs/wchar.h: Likewise.
5005 * wctype/wctype.h: Likewise.
5006
0269750c
UD
5007 [BZ #13551]
5008 * Makeconfig: Remove all but ELF support including AIX support.
5009 * Makerules: Likewise.
5010 * config.h.in: Likewise.
5011 * config.make.in: Likewise.
5012 * configure: Likewise.
5013 * configure.in: Likewise.
5014 * csu/Makefile: Likewise.
5015 * csu/version.c: Likewise.
5016 * debug/Makefile: Likewise.
5017 * dlfcn/Makefile: Likewise.
5018 * elf/Makefile: Likewise.
5019 * extra-lib.mk: Likewise.
5020 * iconv/Makefile: Likewise.
5021 * include/libc-symbols.h: Likewise.
5022 * include/shlib-compat.h: Likewise.
5023 * resolv/Makefile: Likewise.
5024 * resolv/res_libc.c: Likewise.
5025 * rt/Makefile: Likewise.
5026 * sysdeps/i386/asm-syntax.h: Likewise.
5027 * sysdeps/i386/sysdep.h: Likewise.
5028 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5029 * sysdeps/mach/sysdep.h: Likewise.
5030 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
5031 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
5032 * sysdeps/s390/asm-syntax.h: Likewise.
5033 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5034 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5035 * sysdeps/sh/sysdep.h: Likewise.
5036 * sysdeps/unix/sparc/sysdep.h: Likewise.
5037 * sysdeps/wordsize-32/divdi3.c: Likewise.
5038 * sysdeps/x86_64/sysdep.h: Likewise.
5039
00bbd29b
UD
5040 * argp/Versions: Remove _argp_unlock_xxx.
5041
5042 [BZ #13559]
5043 * abilist/ld.abilist: Update. Adjust for removal of tls option.
5044 * abilist/libBrokenLocale.abilist: Likewise.
5045 * abilist/libanl.abilist: Likewise.
5046 * abilist/libc.abilist: Likewise.
5047 * abilist/libcrypt.abilist: Likewise.
5048 * abilist/libdl.abilist: Likewise.
5049 * abilist/libm.abilist: Likewise.
5050 * abilist/libnsl.abilist: Likewise.
5051 * abilist/libpthread.abilist: Likewise.
5052 * abilist/libresolv.abilist: Likewise.
5053 * abilist/librt.abilist: Likewise.
5054 * abilist/libthread_db.abilist: Likewise.
5055 * abilist/libutil.abilist: Likewise.
5056 * abilist/libnss_db.abilist: New file.
5057
5058 * scripts/abilist.awk: Add support for indirect functions.
5059
a2693a0e
UD
5060 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
5061
3f05895f
UD
5062 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
5063
ecb6fb48
UD
5064 * shlib-versions: Remove entries for ports architectures.
5065
664f8cb9
UD
5066 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
5067 files in ports.
5068 * elf/stackguard-macros.h: Remove support for IA-64.
5069 * elf/tst-auditmod1.c: Likewise.
5070 * sysdeps/generic/ldsodefs.h: Likewise.
5071
7ae81d88
UD
5072 * sysdeps/unix/sysv/linux/configure.in: Ports should define
5073 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
5074 configure files.
5075
bdeba135
UD
5076 [BZ #13552]
5077 * configure.in: Remove --enable-omitfp support.
5078 * FAQ.in: Adjust.
5079 * config.make.in: Likewise.
5080 * Makeconfig: Likewise.
5081 * manual/install.texi: Likewise.
5082
d75a0a62
UD
5083 In case anyone cares, the IA-64 architecture could move to ports.
5084 * sysdeps/ia64/*: Removed.
5085 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 5086 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 5087
dcc9756b
UD
5088 [BZ #13555]
5089 * configure.in: Remove entries for unsupported architectures.
5090
d3761ebc 5091 [BZ #13533]
9954432e
UD
5092 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
5093 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
5094 routines.
5095 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
5096 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
5097 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
5098 fall back to using wcrtomb.
5099 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
5100 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
5101 renaming.
5102 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
5103 * wcsmbs/tst-c16c32-1.c: New file.
5104
5105 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
5106 local variable.
5107
c3a87236
UD
5108 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
5109
28926a1b
UD
5110 * elf/tst-unique3.cc: Add explicit declaration of gets.
5111 * elf/tst-unique3lib.cc: Likewise.
5112 * elf/tst-unique3lib2.cc: Likewise.
5113 * elf/tst-unique4.cc: Likewise.
5114
df78418a
UD
5115 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
5116
8ecd6b2a
JM
51172012-01-06 Joseph Myers <joseph@codesourcery.com>
5118
5119 [BZ #13566]
5120 * assert/assert.h (static_assert): Don't define for C++.
5121 * libio/stdio.h (gets): Do declare for C++ <= C++11.
5122 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
5123
9f115170
UD
51242012-01-03 Ulrich Drepper <drepper@gmail.com>
5125
5e0d0300
UD
5126 * iconv/loop.c (single loop): Fix assertion in storing of
5127 remaining bytes.
5128
9f115170
UD
5129 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
5130
81fb02b0
UD
51312012-01-01 Ulrich Drepper <drepper@gmail.com>
5132
5133 * posix/getconf.c: Update copyright year.
5134 * nss/getent.c: Likewise.
a316c1f6 5135 * nss/makedb.c: Likewise.
81fb02b0
UD
5136 * iconv/iconvconfig.c: Likewise.
5137 * iconv/iconv_prog.c: Likewise.
5138 * elf/ldconfig.c: Likewise.
a316c1f6
UD
5139 * elf/pldd.c: Likewise.
5140 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
5141 * catgets/gencat.c: Likewise.
5142 * csu/version.c: Likewise.
5143 * elf/ldd.bash.in: Likewise.
5144 * elf/sprof.c (print_version): Likewise.
5145 * locale/programs/locale.c: Likewise.
5146 * locale/programs/localedef.c: Likewise.
a316c1f6 5147 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
5148 * nscd/nscd.c (print_version): Likewise.
5149 * debug/xtrace.sh: Likewise.
5150 * malloc/memusage.sh: Likewise.
5151 * malloc/mtrace.pl: Likewise.
5152 * debug/catchsegv.sh: Likewise.
5153
2ba92745
JJ
51542011-12-30 Jakub Jelinek <jakub@redhat.com>
5155
5156 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
5157 pure attribute.
5158
dadebdae
UD
51592011-12-24 Ulrich Drepper <drepper@gmail.com>
5160
d3761ebc 5161 [BZ #13533]
db6af3eb
UD
5162 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
5163 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
5164 transformations.
5165 * iconv/gconv_int.h: Likewise.
5166 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
5167 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
5168 from libc for GLIBC_2.16.
5169 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
5170 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
5171 * wcsmbs/uchar.h: Really define mbstate_t.
5172 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
5173 * wcsmbs/c16rtomb.c: New file.
5174 * wcsmbs/mbrtoc16.c: New file.
5175 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
5176 for C/POSIX locale.
5177 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
5178 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
5179
dadebdae
UD
5180 * wcsmbs/wchar.h: Add missing __restrict.
5181
67371b56
UD
51822011-12-23 Ulrich Drepper <drepper@gmail.com>
5183
74033a25
UD
5184 [BZ #13532]
5185 * time/Makefile (routines): Add timespec_get.
5186 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
5187 * time/time.h: Define TIME_UTC and declare timespec_get. Define
5188 timespec for ISO C11.
5189 * time/timespec_get.c: New file.
5190 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
5191 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
5192
380d7e87
UD
5193 [BZ #13531]
5194 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
5195 * stdlib/stdlib.h: Declare aligned_alloc.
5196 * Versions.def: Add GLIBC_2.16 for libc.
5197 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
5198
4e9e7a35
UD
5199 [BZ 13527]
5200 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
5201 ISO C11.
5202
380d7e87 5203 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
5204 code.
5205
03a71829
UD
5206 [BZ #13528]
5207 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
5208
839e283e
UD
5209 [BZ #13529]
5210 * assert/assert.h (static_assert): Define.
5211
ce5294e2 5212 * version.h: Update for 2.16 development version.
90fa7312 5213
8d44e150 5214 [BZ #13526]
d7809905
UD
5215 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
5216 _ISOC11_SOURCE.
5217
c0da14cd
UD
5218 * version.h (RELEASE): Bump for 2.15 release.
5219 * include/features.h (__GLIBC_MINOR__): Bump to 15.
5220
530a3249
MP
5221 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
5222 Patch by Marek Polacek <mpolacek@redhat.com>.
5223
67371b56
UD
5224 * bits/byteswap.h: Protect long long constants with __extension__.
5225 * sysdeps/i386/bits/byteswap.h: Likewise.
5226 * sysdeps/ia64/bits/byteswap.h: Likewise.
5227 * sysdeps/s390/bits/byteswap.h: Likewise.
5228 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5229
15db4de1
LD
52302011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5231
5232 [BZ #13540]
bbe315ea
LD
5233 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
5234 destination buffer.
15db4de1
LD
5235 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5236
2b2596b1
MP
52372011-12-23 Marek Polacek <polacek@redhat.com>
5238
5239 * elf/dl-addr.c (determine_info): Add inline keyword.
5240 * elf/tst-auditmod4b.c (check_avx): Likewise.
5241 * elf/tst-auditmod6b.c (check_avx): Likewise.
5242 * elf/tst-auditmod6c.c (check_avx): Likewise.
5243 * elf/tst-auditmod7b.c (check_avx): Likewise.
5244
70c6c246
UD
52452011-12-23 Ulrich Drepper <drepper@gmail.com>
5246
5247 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
5248 !__SSE_MATH__.
5249
c044cf14
LD
52502011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5251
15db4de1 5252 [BZ #13540]
c044cf14
LD
5253 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
5254 processing for last bytes.
5255
6b13d9d9
BH
52562011-08-06 Bruno Haible <bruno@clisp.org>
5257
d455f537
BH
5258 [BZ #13061]
5259 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
5260 U+0385, not to U+1FEE.
5261
6b13d9d9
BH
5262 [BZ #13062]
5263 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
5264 entry for U+00A5 U+0301.
5265
db910efd
UD
52662011-12-22 Ulrich Drepper <drepper@gmail.com>
5267
27deeafc
UD
5268 [BZ #13166]
5269 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
5270 buffer for the output is too small.
5271
aed9d171
UD
5272 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
5273 optimization.
5274
db910efd
UD
5275 [BZ #13185]
5276 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
5277 SSE flags if possible.
5278
2bd779ae
LD
52792011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5280
e7f9dac3 5281 [BZ #13540]
2bd779ae
LD
5282 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
5283 processing for last bytes.
5284
154bfc16
JM
52852011-12-22 Joseph Myers <joseph@codesourcery.com>
5286
5287 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
5288 (syscall-list-default-options, syscall-list-default-condition)
5289 (syscall-list-includes): Define.
5290 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
5291 list of ABIs and options and #if conditions for each ABI. Do not
5292 handle common syscalls between ABIs specially.
5293 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
5294 Remove.
5295 (syscall-list-variants, syscall-list-32bit-options)
5296 (syscall-list-32bit-condition, syscall-list-64bit-options)
5297 (syscall-list-64bit-condition): Define.
5298 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
5299 (syscall-list-variants, syscall-list-32bit-options)
5300 (syscall-list-32bit-condition, syscall-list-64bit-options)
5301 (syscall-list-64bit-condition): Define.
5302 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
5303 Remove.
5304 (syscall-list-variants, syscall-list-32bit-options)
5305 (syscall-list-32bit-condition, syscall-list-64bit-options)
5306 (syscall-list-64bit-condition): Define.
5307 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
5308 Remove.
5309 (syscall-list-variants, syscall-list-32bit-options)
5310 (syscall-list-32bit-condition, syscall-list-64bit-options)
5311 (syscall-list-64bit-condition): Define.
5312
21eaf3a5
UD
53132011-12-22 Ulrich Drepper <drepper@gmail.com>
5314
16c6f992
UD
5315 * locale/iso-639.def: Add brx entry.
5316
41043168
UD
5317 [BZ #13328]
5318 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
5319 Proposed by Mariusz_Cukr <marcukr@op.pl>.
5320
21eaf3a5
UD
5321 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
5322 __feraiseexcept_renamed.
5323
e3a851a2
UD
53242011-12-21 Ulrich Drepper <drepper@gmail.com>
5325
4920765e
UD
5326 [BZ #13538]
5327 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
5328 EPOLLET with unsigned values.
5329 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5330 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5331
e3a851a2
UD
5332 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
5333 to large cancellation.
5334 * math/s_cacoshf.c: Likewise.
5335 * math/s_cacoshl.c: Likewise.
5336
b27e24b8
RK
53372011-11-18 Richard B. Kreckel <kreckel@ginac.de>
5338
5339 [BZ #13305]
aebefeee 5340 [BZ #12786]
b27e24b8
RK
5341 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
5342 * math/s_cacoshf.c: Likewise.
5343 * math/s_cacoshl.c: Likewise.
5344
ee190f67
UD
53452011-12-21 Ulrich Drepper <drepper@gmail.com>
5346
5347 [BZ #13439]
5348 * iconv/gconv.h: Define __GCONV_SWAP.
5349 * iconvdata/unicode.c: The swap bit must be stored in __flags.
5350 * iconvdata/utf-16.c: Likewise.
5351 * iconvdata/utf-32.c: Likewise.
5352
707f25df
AS
53532011-12-21 Andreas Schwab <schwab@linux-m68k.org>
5354
5355 [BZ #13524]
5356 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
5357 numerator after shifting it by one limb.
5358
d2daaa1e
RÁE
53592011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
5360
5361 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
5362 under [__USE_EXTERN_INLINES].
5363
a4647e72
UD
53642011-12-17 Ulrich Drepper <drepper@gmail.com>
5365
5366 [BZ #13446]
5367 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
5368
f0b264f1
AZ
53692011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5370
5371 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
5372 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
5373 optimized code.
5374 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
5375 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
5376 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
5377 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
5378 for strncasecmp/strncasecmp_l compilation.
5379 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
5380 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
5381
8ef4f244
MP
53822011-12-08 Marek Polacek <mpolacek@redhat.com>
5383
5384 [BZ #13484]
5385 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
5386 of __asm__.
5387
97ac2654
UD
53882011-12-17 Ulrich Drepper <drepper@gmail.com>
5389
5390 [BZ #13506]
5391 * time/tzfile.c (__tzfile_read): Check values from file header.
5392
91d2a845
WS
53932011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5394
5395 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
5396 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
5397 * powerpc/powerpc32/dl-start.S: Likewise.
5398 * powerpc/powerpc32/elf/start.S: Likewise.
5399 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5400 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
5401 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5402 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
5403 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5404 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
5405 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
5406 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5407 * powerpc/powerpc32/fpu/s_round.S: Likewise.
5408 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5409 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5410 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5411 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5412 * powerpc/powerpc32/memset.S: Likewise.
5413 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5414 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5415 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5416 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5417 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5418 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5419 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5420 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5421 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
5422 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
5423 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
5424 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5425 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5426
a1267ba1
AZ
54272011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5428
5429 * math/libm-test.inc: Added more nearbyint tests.
5430 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5431 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5432 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5433 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5434
ad8ac1bd
RL
54352011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
5436
5437 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5438 FD_CLOEXEC.
5439
1d3e4b61
UD
54402011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5441
5442 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5443 Add wcscpy-ssse3 wcscpy-c.
5444 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5445 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5446 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5447 * sysdeps/x86_64/wcschr.S: New file.
5448 * sysdeps/x86_64/wcsrchr.S: New file.
5449 * string/test-strcmp.c: Remove checking of wcscmp function for
5450 wrong alignments.
5451 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5452 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5453 wcsrchr-sse2 wcsrchr-c.
5454 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5455 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5456 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5457 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5458 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5459 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5460 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5461 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5462 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5463 * wcsmbc/wcschr.c (WCSCHR): New macro.
5464
5b330a2d
UD
54652011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5466
5467 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5468 * wcsmbs/test-wcsrchr.c: New file.
5469 * string/test-strrchr.c: Add wcsrchr support.
5470 (WIDE): New macro.
5471 * wcsmbs/test-wcscpy.c: New file.
5472 * string/test-strcpy.c: Add wcscpy support.
5473 (WIDE): New macro.
26428b7c 5474
f039c043
UD
54752011-12-10 Ulrich Drepper <drepper@gmail.com>
5476
5477 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5478 the inner loop.
5479
850fb039
AS
54802011-12-06 Andreas Schwab <schwab@linux-m68k.org>
5481
5482 [BZ #13472]
5483 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5484
4efbd5cb
UD
54852011-12-04 Ulrich Drepper <drepper@gmail.com>
5486
52ff5dd0 5487 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 5488 Minor optimizations.
52ff5dd0 5489
4efbd5cb
UD
5490 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5491 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5492 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5493
8a426e12
UD
54942011-12-03 Ulrich Drepper <drepper@gmail.com>
5495
aff2453d
UD
5496 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5497 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5498 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5499 for gcc to avoid warnings.
5500 * inet/Makefile (tests): Add tst-checks.
5501 * inet/tst-checks.c: New file.
5502
5503 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5504 warning.
5505
5506 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5507 __wmemcmp_sse2.
5508
5509 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5510 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5511
8a426e12
UD
5512 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5513
9bea3473
UD
55142011-12-02 Ulrich Drepper <drepper@gmail.com>
5515
3a965496
UD
5516 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5517 problem.
5518
9bea3473
UD
5519 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5520
f101631b
UD
55212011-11-29 Joseph Myers <joseph@codesourcery.com>
5522
5523 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5524 conditional on GCC version.
5525 (__arch_compare_and_exchange_val_8_acq)
5526 (__arch_compare_and_exchange_val_16_acq)
5527 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5528 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5529 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5530
a98275aa
UD
55312011-12-02 Joseph Myers <joseph@codesourcery.com>
5532
5533 * sysdeps/sh/backtrace.c: New file.
5534
d4cc29a2
AS
55352011-12-02 Andreas Schwab <schwab@redhat.com>
5536
5537 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
5538 parenthesis.
5539
6257af2d
AS
55402011-12-01 Andreas Schwab <schwab@redhat.com>
5541
5542 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5543 falling back to utime.
5544
b5f44c1a
AS
55452011-11-30 Andreas Schwab <schwab@redhat.com>
5546
5547 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
5548 expectations for float.
5549
f3a6cc0a
AS
55502011-11-29 Andreas Schwab <schwab@redhat.com>
5551
5552 * locale/weight.h (findidx): Add parameter len.
5553 * locale/weightwc.h (findidx): Likewise.
5554 * posix/fnmatch_loop.c (FCT): Adjust caller.
5555 * posix/regcomp.c (build_equiv_class): Likewise.
5556 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
5557 * posix/regexec.c (check_node_accept_bytes): Likewise.
5558 * string/strcoll_l.c (STRCOLL): Likewise.
5559 * string/strxfrm_l.c (STRXFRM): Likewise.
5560
9d65ea3a
UD
55612011-11-17 Ulrich Drepper <drepper@gmail.com>
5562
5563 * Makefile.in: Remove CVSOPT handling.
5564 * configure.in: Remove use of AC_REVISION.
5565 * iconvdata/Makefile (distribute): No need to filter out CVS.
5566 * scripts/list-sources.sh: Remove CVS, subversion and monotone
5567 handling.
5568
5583a086
AS
55692011-11-16 Andreas Schwab <schwab@redhat.com>
5570
5571 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5572 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5573 [USE_AS_STRNCASECMP_L]: Likewise.
5574 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5575 NO_TLS_DIRECT_SEG_REFS.
5576 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5577 Fix argument offsets for non-PIC.
5578 [USE_AS_STRNCASECMP_L]: Likewise.
5579 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5580 NO_TLS_DIRECT_SEG_REFS.
5581
d62a8200
UD
55822011-11-15 Ulrich Drepper <drepper@gmail.com>
5583
9d65ea3a 5584 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
5585 O_CLOEXEC.
5586 * locale/loadlocale.c (_nl_load_locale): Likewise.
5587
09f93bd3
AS
55882011-11-15 Andreas Schwab <schwab@redhat.com>
5589
446514f9
AS
5590 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5591 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5592 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5593 (SYSCALL_GETTIME): Set errno on error.
5594
09f93bd3
AS
5595 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5596 count references to noai6ai_cached.
5597
312be3f9
UD
55982011-11-15 Ulrich Drepper <drepper@gmail.com>
5599
5600 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5601
5602 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5603 FD_CLOEXEC for /proc/self/maps.
5604
5605 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5606 FD_CLOEXEC for /proc/meminfo.
5607
5608 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5609 gai.conf.
5610
5611 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
5612 FD_CLOEXEC for given file.
5613
5614 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5615
5616 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5617 FD_CLOEXEC for /etc/hosts.
5618 (_gethtent): Likewise.
5619
5620 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5621
5622 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5623 cancellation and set FD_CLOEXEC for /etc/netgroup.
5624
5625 * nss/nss_files/files-key.c (search): Don't allow cancellation when
5626 reading /etc/publickey.
5627
5628 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5629 allow cancellation when reading /etc/group.
5630
5631 * nss/nss_files/files-alias.c (internal_setent): Don't allow
5632 cancellation.
5633 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
5634
5635 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5636 when using data file.
5637
5638 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5639
5640 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5641 (write_nis_obj): Use "c" and "e" in fopen.
5642
5643 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5644
5645 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5646
5647 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5648
5649 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5650
5651 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5652 locale.alias.
5653
5654 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5655
5656 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5657
5658 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5659
5660 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5661 file parsing and set FD_CLOEXEC.
5662
82af0fa8
UD
56632011-11-14 Ulrich Drepper <drepper@gmail.com>
5664
5665 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5666
a5fb313c
AS
56672011-11-14 Andreas Schwab <schwab@redhat.com>
5668
5669 * malloc/arena.c (arena_get2): Don't call reused_arena when
5670 _int_new_arena failed.
5671
6abf3465
UD
56722011-11-14 Ulrich Drepper <drepper@gmail.com>
5673
5674 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5675 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5676 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5677 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5678 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5679 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5680 to compile strcasecmp and strncasecmp.
5681 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5682 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5683
5684 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5685
76e3966e
UD
56862011-11-13 Ulrich Drepper <drepper@gmail.com>
5687
5688 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5689 locale-defines.sym to gen-as-const-headers.
5690 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5691 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5692 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5693 to compile strcasecmp and strncasecmp.
5694 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5695 strcasecmp_l and strncasecmp_l.
5696 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5697 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5698 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5699 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5700 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5701 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5702 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5703 * sysdeps/i386/i686/multiarch/strncase.S: New file.
5704 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5705 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5706 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5707
ab26144e
UD
57082011-11-12 Ulrich Drepper <drepper@gmail.com>
5709
7edb22ef
UD
5710 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5711 result of SYSDEP_GETTIME_CPU to retval.
5712 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5713 parameter list to macro. Remove trailing semicolon. Adjust users.
5714
9694fc44
UD
5715 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5716 variable.
5717
8ad89ef8
UD
5718 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5719 mantissa words.
5720 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5721
0c822ef9
UD
5722 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5723 from unused variable.
5724
874e0564
UD
5725 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5726 DWARF definitions.
5727 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5728 for assembling.
5729
3a2edc79
UD
5730 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5731 over namespaces.
5732
f3c2577f
UD
5733 * sunrpc/rpc_prot.c (rejected): Fix case value.
5734
294ce126
UD
5735 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5736 unsigned long long int to avoid warnings in shift.
5737
5e2b63c6
UD
5738 * posix/regex_internal.c (re_string_reconstruct): Actually use result
5739 of use of trans.
5740 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5741 variable tmp.
5742
e7f4b08e
UD
5743 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5744 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5745 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5746
ab26144e
UD
5747 * nis/nis_table.c (nis_list): Use variable of correct type for
5748 result of __follow_path call.
5749
8a6d5255
AZ
57502011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5751
5752 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5753 of math functions ceil, trunc, floor, round, and sqrt, when
5754 avaliable on the platform.
5755 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5756 name clash.
5757 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5758 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5759 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5760
aaddc98c
MP
57612011-10-30 Marek Polacek <mpolacek@redhat.com>
5762
5763 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5764 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5765
95b7042b
RM
57662011-11-11 Roland McGrath <roland@hack.frob.com>
5767
5768 * include/unistd.h: Fix __readlink return type.
5769 Reported by Chris Metcalf <cmetcalf@tilera.com>.
5770
57769839
UD
57712011-11-11 Ulrich Drepper <drepper@gmail.com>
5772
5773 * stdlib/ucontext.h: Undo last change for makecontext.
5774
edc5984d
AS
57752011-11-11 Andreas Schwab <schwab@redhat.com>
5776
98591e58
AS
5777 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5778
edc5984d
AS
5779 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5780 * setjmp/setjmp.h: Mark functions as non-leaf.
5781 * setjmp/bits/setjmp2.h: Likewise.
5782 * stdlib/ucontext.h: Likewise.
5783
77cdc054
AS
57842011-11-10 Andreas Schwab <schwab@redhat.com>
5785
5786 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5787 (reused_arena): Don't check arena limit.
5788 (arena_get2): Atomically check arena limit.
5789
fe72eebd
UD
57902011-11-08 Ulrich Drepper <drepper@gmail.com>
5791
5f078c32
UD
5792 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5793 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5794
fe72eebd
UD
5795 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5796 instructions.
5797
ae1bc2fa
AS
57982011-11-07 Andreas Schwab <schwab@redhat.com>
5799
7583a88d
AS
5800 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5801 handler when locking.
5802
ae1bc2fa
AS
5803 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5804 Fix size of allocated buffer.
5805
10fb0bfa
AS
58062011-11-04 Andreas Schwab <schwab@redhat.com>
5807
998832a4
AS
5808 [BZ #10103]
5809 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5810 declarations for long double functions.
5811 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5812
10fb0bfa
AS
5813 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5814
3d7ba52b
AS
58152011-11-03 Andreas Schwab <schwab@redhat.com>
5816
a9ae54a1
AS
5817 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5818 installed.
5819
3d7ba52b
AS
5820 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5821 is disabled.
5822
bc8db248
ST
58232011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5824
5825 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5826
45b96dd6
AS
58272011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5828
647776f6
AS
5829 * include/alloca.h (stackinfo_alloca_round): Define.
5830 (extend_alloca): Use it.
5831 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5832 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5833 here.
5834
d91a8b93
AS
5835 * scripts/check-local-headers.sh: Ignore libaudit.h.
5836
45b96dd6
AS
5837 * nscd/Makefile (extra-objs): Make recursively expanded.
5838
432d41ce
UD
58392011-11-01 Ulrich Drepper <drepper@gmail.com>
5840
34372fc6
UD
5841 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5842 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5843
fadb59f8
UD
5844 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5845 * posix/tst-rfc3484-2.c: Likewise.
5846 * posix/tst-rfc3484-3.c: Likewise.
5847
78239589
UD
5848 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5849 process_vm_writev.
5850 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5851 process_vm_writev.
5852 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5853 process_vm_writev from libc using GLIBC_2.15 version.
5854
432d41ce
UD
5855 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5856
02f9c6cf
PP
58572011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5858
5859 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5860 stack usage.
5861
3a2c0242
UD
58622011-10-31 Ulrich Drepper <drepper@gmail.com>
5863
f4ec4833
UD
5864 [BZ #13367]
5865 * nss/getent.c (initgroups_keys): Show error message in case no group
5866 names are given.
5867
3a2c0242
UD
5868 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5869 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5870 __bump_nl_timestamp.
5871 * nscd/connections (nscd_init): When host database is served open
5872 netlink socket and request notification about configuration changes.
5873 (main_loop_poll): Track netlink file descriptor and bump timestamp
5874 in case data becomes available.
5875 (main_loop_epoll): Likewise.
5876 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5877 (database_pers_head): Add extra_data fileds.
5878 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5879 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5880 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5881 Adjust caller.
5882 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5883 in6ai data, call __free_in6ai.
5884 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5885 Add -DHAVE_NETLINK.
5886 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5887 interface information. Reuse previous data if netlink timestamp
5888 is not changed.
5889 (__bump_nl_timestamp): New function.
5890 (__free_in6ai): New function.
5891
636064eb
UD
58922011-10-30 Ulrich Drepper <drepper@gmail.com>
5893
5894 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5895 close_not_cancel_no_status here.
5896 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5897
9beb2334
UD
58982011-10-29 Ulrich Drepper <drepper@gmail.com>
5899
6ef76f3b
UD
5900 [BZ #13276]
5901 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5902 return value.
5903
0ffc4f3e 5904 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
5905 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5906 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5907
cb95113e
UD
59082011-07-03 Andreas Jaeger <aj@suse.de>
5909
5910 [BZ #10709]
5911 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5912 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5913 * math/libm-test.inc (sin_test): Add test case.
5914
a1b560ff
UD
59152011-10-29 Ulrich Drepper <drepper@gmail.com>
5916
c9aaface
UD
5917 [BZ #13337]
5918 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5919 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5920
d272e7f1
UD
5921 * elf/chroot_canon.c (chroot_canon): Cleanups.
5922
1bc33071
UD
5923 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5924
1760874d
TJ
5925 [BZ #13335]
5926 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5927 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5928
51d91b18
UD
5929 * string/test-strchr.c: Make usable for strchrnul testing.
5930 * string/test-strchrnul.c: New file.
5931 * string/Makefile (strop-tests): Add strchrnul.
5932
a1b560ff 5933 * po/it.po: Update from translation team.
b611fb81 5934 * po/es.po: Likewise.
a1b560ff 5935
a5b81e1f
UD
59362011-10-28 Ulrich Drepper <drepper@gmail.com>
5937
fd52bc6d
UD
5938 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5939 the three constants needed as parameters. Drop the others.
5940 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5941 __m128i_strloadu_tolower.
52e4b9eb
UD
5942 Create and initialize variable zero and use it in all the places
5943 where _mm_setzero_si128 was used.
fd52bc6d 5944
a5b81e1f
UD
5945 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5946 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5947 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5948 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5949 anymore.
5950 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5951 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5952 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5953 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5954 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5955 __mpranred, __mptan.
5956 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5957 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5958 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5959 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5960 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5961 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5962 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5963 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5964 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5965
b4343346
AS
59662011-10-28 Andreas Schwab <schwab@redhat.com>
5967
0c92d8a8
AS
5968 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5969 redefine if SHARED.
5970 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5971
b4343346
AS
5972 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5973 wide char related routines to wcsmbs subdir.
5974
3871f58f
AS
59752011-10-27 Andreas Schwab <schwab@redhat.com>
5976
5977 [BZ #13344]
5978 * misc/sys/cdefs.h (__THROWNL): Define.
5979 * posix/unistd.h: Use __THREADNL instead of __THREAD
5980 for memory synchronization functions.
5981
94d44d9f
RM
59822011-10-26 Roland McGrath <roland@hack.frob.com>
5983
21b64b15 5984 [BZ #13349]
94d44d9f
RM
5985 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5986 doesn't exist.
5987 * manual/stdio.texi (Obstack Streams): Node removed.
5988
f6ce9294
AS
59892011-10-26 Andreas Schwab <schwab@redhat.com>
5990
80479147
AS
5991 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5992 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5993 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5994
f6ce9294
AS
5995 * math/math_private.h (math_force_eval): Allow non-addressable
5996 arguments.
5997 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5998
618280a1
UD
59992011-10-25 Ulrich Drepper <drepper@gmail.com>
6000
e0016b11
UD
6001 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
6002 file is not needed.
6003
6004 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
6005 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
6006 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6007 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6008 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6009 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6010 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6011 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
6012 Add AVX variants.
6013 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
6014 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
6015 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
6016 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
6017 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
6018 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
6019 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
6020 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
6021 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
6022 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
6023 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
6024 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
6025 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
6026 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
6027 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
6028 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
6029 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
6030 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
6031 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
6032
6033 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
6034 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
6035
618280a1
UD
6036 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
6037 place. Use VEX encoding when compiling for AVX.
6038
37822576
AS
60392011-10-25 Andreas Schwab <schwab@redhat.com>
6040
1f1e1947
AS
6041 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
6042 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6043
37822576
AS
6044 * string/test-strchr.c (do_test): Don't generate NUL bytes.
6045
31ea014d
UD
60462011-10-25 Ulrich Drepper <drepper@gmail.com>
6047
d7826aa1 6048 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 6049 useless if() expression.
d7826aa1
UD
6050 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6051 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6052 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6053 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6054 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6055 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6056 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6057 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6058 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6059 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6060 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6061 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6062 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6063 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6064 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6065 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6066 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6067 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6068 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6069
31ea014d
UD
6070 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
6071
16437fec
AS
60722011-10-25 Andreas Schwab <schwab@redhat.com>
6073
6074 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
6075 condition.
6076 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6077
31d3cc00
UD
60782011-10-25 Ulrich Drepper <drepper@gmail.com>
6079
6080 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
6081 .text section. Avoid duplicate constants.
6082 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6083 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6084 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6085 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6086 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6087 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6088 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6089 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6090 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6091 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
6092 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6093 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6094 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
6095 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
6096 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
6097 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
6098 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
6099 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6100 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6101 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6102 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6103 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6104 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6105 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
6106 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
6107 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
6108 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
6109 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
6110 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
6111 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
6112 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
6113 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
6114 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6115 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
6116 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
6117 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
6118 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
6119 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
6120 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
6121 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
6122 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
6123 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
6124 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
6125 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
6126 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
6127
58985aa9
UD
61282011-10-24 Ulrich Drepper <drepper@gmail.com>
6129
202c9deb
UD
6130 * sysdeps/x86_64/dla.h: Move to ...
6131 * sysdeps/x86_64/fpu/dla.h: ...here.
6132 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
6133 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 6134
af968f62
UD
6135 * config.make.in: Add have-mfma4 entry.
6136 * configure.in: Substitute libc_cv_cc_fma4.
6137 * math/Makefile (dbl-only-routines): Add sincostab.
6138 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
6139 Use __sincostab not sincos.
6140 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
6141 name is a macro.
6142 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6143 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6144 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6145 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
6146 using __copysign.
6147 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
6148 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
6149 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
6150 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
6151 and __inv.
6152 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
6153 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
6154 __copysign.
6155 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
6156 define aliases when function name is a macro.
6157 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
6158 sysdeps/ieee754/dbl-64/sincos.tbl.
6159 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
6160 fma4-enabled routines.
6161 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
6162 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
6163 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
6164 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
6165 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
6166 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
6167 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
6168 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
6169 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
6170 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
6171 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
6172 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
6173 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
6174 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
6175 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
6176 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
6177 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
6178 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
6179 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
6180 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
6181 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
6182 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
6183 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
6184 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
6185 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
6186 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
6187 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
6188 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
6189 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
6190 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
6191
58985aa9
UD
6192 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
6193 rename.
6194 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6195 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6196 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6197 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6198 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6199 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6200 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6201 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6202
a201fbcf
AS
62032011-10-24 Andreas Schwab <schwab@redhat.com>
6204
6205 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
6206
fc2ee42a
LD
62072011-10-23 Ulrich Drepper <drepper@gmail.com>
6208
bb3129bd
UD
6209 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
6210
0275fff8
UD
6211 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
6212 prediction.
6213 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
6214
2fa2ae85
UD
6215 * string/strnlen.c: Don't define STRNLEN, reverse logic.
6216 Remove unused variable magic_bits.
6217 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
6218
fc2ee42a
LD
6219 * string/strnlen.c: Define and use STRNLEN macro.
6220 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
6221 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
6222 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
6223 * wcsmbs/wcslen.c: Define and use WCSLEN.
6224 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
6225 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
6226 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
6227 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
6228 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
6229 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
6230 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6231
ce7dd29f
LD
62322011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6233
6234 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6235 strnlen-sse2-no-bsf.
6236 Rename strlen-no-bsf to strlen-sse2-no-bsf.
6237 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
6238 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
6239 Add strnlen support.
6240 (USE_AS_STRNLEN): New macro.
6241 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
6242 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
6243 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
6244 * sysdeps/x86_64/wcslen.S: New file.
6245
979c70a3
MZ
62462011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
6247
6248 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6249 XMM-moves are used for copying on small sizes.
6250
2d09f82f
LD
62512011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6252
6253 * wcsmbs/Makefile (strop-tests): Add wcschr.
6254 * wcsmbs/test-wcschr.c: New file.
6255 * string/test-strchr.c: Update.
6256 Add wcschr support.
6257 (WIDE): New macro.
6258
619fccca
LD
62592011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6260
2d09f82f 6261 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
6262 * wcsmbs/test-wcslen.c: New file.
6263 * string/test-strlen.c: Update.
6264 Add wcslen support.
6265 (WIDE): New macro.
6266
09f699ea
UD
62672011-10-23 Ulrich Drepper <drepper@gmail.com>
6268
6269 * po/it.po: Update from translation team.
6270
95584d3b
LD
62712011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6272
6273 * sysdeps/x86_64/wcscmp.S: Update.
6274 Fix wrong comparison semantics.
6275 wcscmp shall use signed comparison not unsigned.
6276 Don't use substraction to avoid overflow bug.
6277 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6278 * wcsmbc/wcscmp.c: Likewise.
6279 * string/test-strcmp.c: Likewise.
6280 Add new tests to check cases with negative values.
6281
c8b3296b
UD
62822011-10-23 Ulrich Drepper <drepper@gmail.com>
6283
6284 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
6285 * sysdeps/x86_64/dla.h: ...here. New file.
6286 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
6287 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6288 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6289 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6290 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6291 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6292 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6293 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6294 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6295
246ad57a
AS
62962011-10-23 Andreas Schwab <schwab@linux-m68k.org>
6297
6298 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
6299 __ynl_finite aliases.
6300
a1a87169
UD
63012011-10-22 Ulrich Drepper <drepper@gmail.com>
6302
0d355eb7
UD
6303 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6304
a1a87169
UD
6305 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
6306 define DLA_FMA.
6307 [DLA_FMA] (EMULV): Use DLA_FMA.
6308 [DLA_FMA] (MUL12): Use EMULV.
6309 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
6310 that are not needed.
6311 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6312 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6313 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6314 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6315 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6316 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6317 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6318
ee2aafe0
AS
63192011-10-22 Andreas Schwab <schwab@linux-m68k.org>
6320
6321 * math/s_nan.c: Undef __nan.
6322 * math/s_nanf.c: Undef __nanf.
6323 * math/s_nanl.c: Undef __nanl.
6324 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
6325 "math_private.h".
6326
bc62c2fb
UD
63272011-10-22 Ulrich Drepper <drepper@gmail.com>
6328
77425c63
UD
6329 * math/s_catan.c: Add branch predictions.
6330 * math/s_catanf.c: Likewise.
6331 * math/s_catanh.c: Likewise.
6332 * math/s_catanhf.c: Likewise.
6333 * math/s_catanhl.c: Likewise.
6334 * math/s_catanl.c: Likewise.
6335 * math/s_cexp.c: Likewise.
6336 * math/s_cexpf.c: Likewise.
6337 * math/s_cexpl.c: Likewise.
6338 * math/s_clog.c: Likewise.
6339 * math/s_clog10.c: Likewise.
6340 * math/s_clog10f.c: Likewise.
6341 * math/s_clog10l.c: Likewise.
6342 * math/s_clogf.c: Likewise.
6343 * math/s_clogl.c: Likewise.
6344 * math/s_csqrt.c: Likewise.
6345 * math/s_csqrtf.c: Likewise.
6346 * math/s_csqrtl.c: Likewise.
6347 * math/s_ctanf.c: Likewise.
6348 * math/s_ctanh.c: Likewise.
6349 * math/s_ctanhf.c: Likewise.
6350 * math/s_ctanhl.c: Likewise.
6351 * math/s_ctanl.c: Likewise.
6352
bc62c2fb
UD
6353 * math/math_private.h: Define __nan, __nanf, __nanl.
6354 * math/s_cacosh.c: Include <math_private.h>.
6355 * math/s_cacoshl.c: Likewise.
6356 * math/s_casinh.c: Likewise.
6357 * math/s_casinhf.c: Likewise.
6358 * math/s_casinhl.c: Likewise.
6359 * math/s_ccos.c: Rely entire on ccosh.
6360 * math/s_ccosf.c: Rely entire on ccoshf.
6361 * math/s_ccosl.c: Rely entirely on ccoshl.
6362 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
6363 Remove tests for FE_INVALID.
6364 * math/s_ccoshf.c: Likewise.
6365 * math/s_ccoshl.c: Likewise.
6366 * math/s_csin.c: Likewise.
6367 * math/s_csinf.c: Likewise.
6368 * math/s_csinh.c Likewise.
6369 * math/s_csinhf.c: Likewise.
6370 * math/s_csinhl.c: Likewise.
6371 * math/s_csinl.c: Likewise.
6372 * math/s_ctan.c: Likewise.
6373 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
6374 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
6375 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
6376
8ec250a4
UD
63772011-10-21 Ulrich Drepper <drepper@gmail.com>
6378
c196fed8
UD
6379 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
6380 compilation problems.
6381
8ec250a4
UD
6382 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
6383 __builtin_expect.
6384
8d4f46c6
UD
63852011-10-20 Ulrich Drepper <drepper@gmail.com>
6386
ed72b654
UD
6387 * sysdeps/i386/configure.in: Test for -mfma4 option.
6388 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
6389 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
6390 COMMON_CPUID_INDEX_80000001.
6391 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
6392 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
6393 use it if FMA3 is not supported.
6394 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6395
8d4f46c6
UD
6396 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
6397 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6398
d45c60c2
AS
63992011-10-20 Andreas Schwab <schwab@redhat.com>
6400
6401 [BZ #12892]
6402 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
6403 it would create a cycle with a link time dependency.
6404
d9a4d2ab
UD
64052011-10-19 Ulrich Drepper <drepper@gmail.com>
6406
855d1560
UD
6407 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
6408 instruction.
6409 * string/Makefile (strop-tests): Add rawmemchr.
6410 * string/test-rawmemchr.c: New file.
6411
d9a4d2ab
UD
6412 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
6413 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
6414 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
6415 when compiling str{,n}casecmp and when AVX is available. Hook up
6416 new optimized code in initializers.
6417
8f3b1ffe
AS
64182011-10-19 Andreas Schwab <schwab@redhat.com>
6419
6420 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
6421 __feraiseexcept instead of feraiseexcept.
6422
d38f1dba
UD
64232011-10-18 Ulrich Drepper <drepper@gmail.com>
6424
d9a8d0ab
UD
6425 * math/math_private.h: Define defaults for libc_fetestexcept and
6426 libc_feupdateenv.
6427 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
6428 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6429 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6430 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6431 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6432 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6433 libc_fetestexcept and libc_feupdateenv.
6434
4855e3dd
UD
6435 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6436 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6437 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6438 * sysdeps/x86_64/fpu/math_private.h: Define special version of
6439 libc_feholdexcept_setround.
6440
581d30e3
UD
6441 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6442 Add s_nearbyint-c and s_nearbyintf-c.
6443 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6444 nearbyintf inlines.
6445 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6446 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6447 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6448 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6449
d38f1dba
UD
6450 * math/math_private.h: Define defaults for libc_fegetround,
6451 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6452 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6453 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6454 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6455 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6456 standard functions.
6457 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6458 Remove comments and hacks for old compiler versions.
6459 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6460 libc_fegetround, libc_fesetround, libc_feholdexcept, and
6461 libc_feholdexceptl.
6462
caa6c9d8
AS
64632011-10-18 Andreas Schwab <schwab@redhat.com>
6464
6465 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
6466 (__feraiseexcept_renamed): Add __NTH.
6467 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
6468 namespace violations.
6469
97c066e6
UD
64702011-10-17 Ulrich Drepper <drepper@gmail.com>
6471
99ce7b04
UD
6472 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6473
1004d182
UD
6474 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6475
228a984d
UD
6476 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6477 recently added interfaces.
6478 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6479
c8553a6a
UD
6480 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6481 about macro parameter expansion.
6482
ed22dcf6
UD
6483 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6484 __NO_MATH_INLINES is defined. Cleanups.
6485
6486 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6487 and __floorf is target has SSE4.1.
6488 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6489 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6490 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6491 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6492
b171c137
UD
6493 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6494 name.
6495 (floorf): Likewise.
6496
97c066e6
UD
6497 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6498
629f62ef
AS
64992011-10-17 Andreas Schwab <schwab@redhat.com>
6500
49a43d80
AS
6501 * misc/sys/cdefs.h: Fix last change.
6502
629f62ef
AS
6503 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6504 database lookup.
6505
e453f6cd
UD
65062011-10-16 Ulrich Drepper <drepper@gmail.com>
6507
aa78043a
UD
6508 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6509
ad0f5cad
UD
6510 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6511 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6512 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6513 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6514 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6515 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6516 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6517 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6518 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6519 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6520 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6521 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6522 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6523 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6524 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6525 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6526 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6527 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6528 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6529 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6530 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6531 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6532
6533 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6534 ceil, ceilf, floor, floorf.
6535
6536 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6537 Perform IRELATIVE relocations last.
6538
e453f6cd
UD
6539 * elf/do-rel.h: Add another parameter nrelative, replacing the
6540 local variable with the same name. Change name of the function
6541 to end in Rel or Rela (uppercase).
6542 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6543 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
6544 elf_dynamic_do_##reloc function.
6545
fd5bdc09
UD
65462011-10-15 Ulrich Drepper <drepper@gmail.com>
6547
79b195b5
UD
6548 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
6549 is sufficient, at least on modern CPUs.
6550
d4a28569
UD
6551 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
6552
b61099b5
UD
6553 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
6554 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
6555
bcf01e6d
UD
6556 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
6557 __expl_finite.
6558 * math/bits/math-finite.h: Add entries for exp.
6559 * math/e_expl.c: Add __*_finite alias.
6560 * sysdeps/i386/fpu/e_exp.S: Likewise.
6561 * sysdeps/i386/fpu/e_expf.S: Likewise.
6562 * sysdeps/i386/fpu/e_expl.c: Likewise.
6563 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6564 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6565 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6566 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6567 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6568 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6569 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6570
ba1a0d59
UD
6571 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6572 is sufficient, at least on modern CPUs.
6573
fd5bdc09
UD
6574 * ctype/ctype-info.c (__ctype_init): Define.
6575 * include/ctype.h (__ctype_init): Declare.
6576 (__ctype_b_loc): The variable is always initialized.
6577 (__ctype_toupper_loc): Likewise.
6578 (__ctype_tolower_loc): Likewise.
6579 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6580 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6581
7872cfb0
AS
65822011-10-15 Andreas Schwab <schwab@linux-m68k.org>
6583
b468825a
AS
6584 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6585
7872cfb0
AS
6586 * configure.in: Also look in $cxxmachine/include for C++ system
6587 headers.
6588
be13f7bf
LD
65892011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6590
6591 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6592 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6593 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6594 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
6595 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6596 (USE_AS_WMEMCMP): New macro.
6597 Fixing indents.
6598 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6599 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6600 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6601 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6602 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6603 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6604 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6605 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6606 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6607 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6608 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6609 (USE_AS_WMEMCMP): New macro.
6610 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6611 * sysdeps/string/test-memcmp.c: Update.
6612 Fix simple_wmemcmp.
6613 Add new tests.
6614 * wcsmbs/wmemcmp.c: Update.
6615 (WMEMCMP): New macro.
6616 Fix overflow bug.
6617
556a2007
AJ
66182011-10-12 Andreas Jaeger <aj@suse.de>
6619
6620 [BZ #13268]
6621 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6622
538faaa7
UD
66232011-10-15 Ulrich Drepper <drepper@gmail.com>
6624
ab6737ff
UD
6625 * libio/iofwide.c (do_length): Avoid warning.
6626
538faaa7
UD
6627 * ctype/ctype.h (__isctype_f): Add missing __THROW.
6628
396a21b1
UD
66292011-10-14 Ulrich Drepper <drepper@gmail.com>
6630
cdf2901f
UD
6631 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6632
38ad40ce
UD
6633 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6634 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6635 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6636 * sysdeps/i386/i686/fpu/e_log.S: New file.
6637 * sysdeps/i386/i686/fpu/e_logf.S: New file.
6638 * sysdeps/i386/i686/fpu/e_logl.S: New file.
6639
396a21b1
UD
6640 * ctype/ctype.h: Add support for inlined isXXX functions when
6641 compiling C++ code.
6642
6b1f68c9
AS
66432011-10-14 Andreas Schwab <schwab@redhat.com>
6644
349290c0
AS
6645 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6646
6b1f68c9
AS
6647 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6648
f2282d42
RM
66492011-10-13 Roland McGrath <roland@hack.frob.com>
6650
6651 [BZ #13291]
6652 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6653
5298ffa8
AS
66542011-10-13 Andreas Schwab <schwab@redhat.com>
6655
714fad23
AS
6656 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6657 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6658 feraiseexcept.
6659
81dcc7fb
AS
6660 * sysdeps/x86_64/memrchr.S: Check for zero size.
6661
5298ffa8
AS
6662 * string/stratcliff.c: Add memrchr tests.
6663
951fbcec
LD
66642011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6665
6666 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6667 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6668 rawmemchr-sse2 rawmemchr-sse2-bsf.
6669 * sysdeps/i386/i686/multiarch/memchr.S: New file.
6670 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6671 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6672 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6673 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6674 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6675 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6676 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6677 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6678 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6679 * string/memrchr.c (MEMRCHR): New macro.
6680
0ac5ae23
UD
66812011-10-12 Ulrich Drepper <drepper@gmail.com>
6682
6683 Add integration with gcc's -ffinite-math-only and optimize wrapper
6684 functions in libm.
6685 * Versions.def: Define GLIBC_2.15 version for libm.
6686 * math/Makefile (headers): Add bits/math-finite.h.
6687 * math/bits/math-finite.h: New file.
6688 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6689 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6690 * math/e_acoshl.c: Add __*_finite alias.
6691 * math/e_acosl.c: Likewise.
6692 * math/e_asinl.c: Likewise.
6693 * math/e_atan2l.c: Likewise.
6694 * math/e_atanhl.c: Likewise.
6695 * math/e_coshl.c: Likewise.
6696 * math/e_exp10.c: Likewise.
6697 * math/e_exp10f.c: Likewise.
6698 * math/e_exp10l.c: Likewise.
6699 * math/e_exp2l.c: Likewise.
6700 * math/e_fmodl.c: Likewise.
6701 * math/e_gammal_r.c: Likewise.
6702 * math/e_hypotl.c: Likewise.
6703 * math/e_j0l.c: Likewise.
6704 * math/e_j1l.c: Likewise.
6705 * math/e_jnl.c: Likewise.
6706 * math/e_lgammal_r.c: Likewise.
6707 * math/e_log10l.c: Likewise.
6708 * math/e_log2l.c: Likewise.
6709 * math/e_logl.c: Likewise.
6710 * math/e_powl.c: Likewise.
6711 * math/e_sinhl.c: Likewise.
6712 * math/e_sqrtl.c: Likewise.
6713 * math/e_scalb.c: Completely rewritten and optimized.
6714 * math/e_scalbf.c: Likewise.
6715 * math/e_scalbl.c: Likewise.
6716 * math/w_acos.c: Likewise.
6717 * math/w_acosf.c: Likewise.
6718 * math/w_acosl.c: Likewise.
6719 * math/w_acosh.c: Likewise.
6720 * math/w_acoshf.c: Likewise.
6721 * math/w_acoshl.c: Likewise.
6722 * math/w_asin.c: Likewise.
6723 * math/w_asinf.c: Likewise.
6724 * math/w_asinl.c: Likewise.
6725 * math/w_atan2.c: Likewise.
6726 * math/w_atan2f.c: Likewise.
6727 * math/w_atan2l.c: Likewise.
6728 * math/w_atanh.c: Likewise.
6729 * math/w_atanhf.c: Likewise.
6730 * math/w_atanhl.c: Likewise.
6731 * math/w_exp10.c: Likewise.
6732 * math/w_exp10f.c: Likewise.
6733 * math/w_exp10l.c: Likewise.
6734 * math/w_fmod.c: Likewise.
6735 * math/w_fmodf.c: Likewise.
6736 * math/w_fmodl.c: Likewise.
6737 * math/w_j0.c: Likewise.
6738 * math/w_j0f.c: Likewise.
6739 * math/w_j0l.c: Likewise.
6740 * math/w_j1.c: Likewise.
6741 * math/w_j1f.c: Likewise.
6742 * math/w_j1l.c: Likewise.
6743 * math/w_jn.c: Likewise.
6744 * math/w_jnf.c: Likewise.
6745 * math/w_log.c: Likewise.
6746 * math/w_logf.c: Likewise.
6747 * math/w_logl.c: Likewise.
6748 * math/w_log10.c: Likewise.
6749 * math/w_log10f.c: Likewise.
6750 * math/w_log10l.c: Likewise.
6751 * math/w_log2.c: Likewise.
6752 * math/w_log2f.c: Likewise.
6753 * math/w_log2l.c: Likewise.
6754 * math/w_pow.c: Likewise.
6755 * math/w_powf.c: Likewise.
6756 * math/w_powl.c: Likewise.
6757 * math/w_remainder.c: Likewise.
6758 * math/w_remainderf.c: Likewise.
6759 * math/w_remainderl.c: Likewise.
6760 * math/w_scalb.c: Likewise.
6761 * math/w_scalbf.c: Likewise.
6762 * math/w_scalbl.c: Likewise.
6763 * math/w_sqrt.c: Likewise.
6764 * math/w_sqrtf.c: Likewise.
6765 * math/w_sqrtl.c: Likewise.
6766 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6767 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
6768 used.
6769 * math/math_private.h: Declare __kernel_standard_f.
6770 * math/w_cosh.c: Remove cruft and optimize a bit.
6771 * math/w_coshf.c: Likewise.
6772 * math/w_coshl.c: Likewise.
6773 * math/w_exp2.c: Likewise.
6774 * math/w_exp2f.c: Likewise.
6775 * math/w_exp2l.c: Likewise.
6776 * math/w_hypot.c: Likewise.
6777 * math/w_hypotf.c: Likewise.
6778 * math/w_hypotl.c: Likewise.
6779 * math/w_lgamma.c: Likewise.
6780 * math/w_lgamma_r.c: Likewise.
6781 * math/w_lgammaf.c: Likewise.
6782 * math/w_lgammaf_r.c: Likewise.
6783 * math/w_lgammal.c: Likewise.
6784 * math/w_lgammal_r.c: Likewise.
6785 * math/w_sinh.c: Likewise.
6786 * math/w_sinhf.c: Likewise.
6787 * math/w_sinhl.c: Likewise.
6788 * math/w_tgamma.c: Likewise.
6789 * math/w_tgammaf.c: Likewise.
6790 * math/w_tgammal.c: Likewise.
6791 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6792 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6793 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6794 Minor optimizations. Pretty printing. Remove cruft.
6795 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6796 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6797 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6798 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6799 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6800 * sysdeps/i386/fpu/e_asin.S: Likewise.
6801 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6802 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6803 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6804 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6805 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6806 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6807 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6808 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6809 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6810 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6811 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6812 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6813 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6814 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6815 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6816 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6817 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6818 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6819 * sysdeps/i386/fpu/e_log.S: Likewise.
6820 * sysdeps/i386/fpu/e_log10.S: Likewise.
6821 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6822 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6823 * sysdeps/i386/fpu/e_log2.S: Likewise.
6824 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6825 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6826 * sysdeps/i386/fpu/e_logf.S: Likewise.
6827 * sysdeps/i386/fpu/e_logl.S: Likewise.
6828 * sysdeps/i386/fpu/e_pow.S: Likewise.
6829 * sysdeps/i386/fpu/e_powf.S: Likewise.
6830 * sysdeps/i386/fpu/e_powl.S: Likewise.
6831 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6832 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6833 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6834 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6835 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6836 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6837 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6838 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6839 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6840 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6841 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6842 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6843 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6844 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6845 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6846 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6847 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6848 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6849 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6850 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6851 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6852 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6853 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6854 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6855 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6856 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6857 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6858 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6859 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6860 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6861 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6862 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6863 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6864 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6865 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6866 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6867 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6868 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6869 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6870 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6871 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6872 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6873 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6874 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6875 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6876 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6877 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6878 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6879 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6880 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6881 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6882 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6883 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6884 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6885 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6886 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6887 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6888 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6889 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6890 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6891 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6892 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6893 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6894 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6895 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6896 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6897 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6898 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6899 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6900 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6901 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6902 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6903 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6904 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6905 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6906 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6907 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6908 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6909 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6910 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6911 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6912 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6913 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6914 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6915 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6916 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6917 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6918 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6919 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6920 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6921 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6922 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6923 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6924 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6925 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6926 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6927 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6928 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6929 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6930 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6931 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6932 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6933 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6934 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6935 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6936 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6937 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6938 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6939 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6940 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6941 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6942 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6943 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6944 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6945 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6946 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6947 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6948 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6949 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6950 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6951 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6952 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6953 (__isnanf): Likewise.
6954 (__isinf_ns): Likewise.
6955 (__isinf_nsf): Likewise.
6956 (__finite): Likewise.
6957 (__finitef): Likewise.
6958 (__ieee754_sqrt): Define as macro.
6959 (__ieee754_sqrtf): Define as macro.
6960 (__ieee754_sqrtl): Define as macro.
6961 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6962 inlined copy.
6963 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6964 __FINITE_MATH_ONLY__ consistent.
6965 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6966
12cc2fcd
AS
69672011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6968
a843a204
AS
6969 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6970 of rawmemchr.
6971
12cc2fcd
AS
6972 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6973
c853acd5
UD
69742011-10-09 Ulrich Drepper <drepper@gmail.com>
6975
6976 * po/ja.po: Update from translation team.
6977
c658d255
RM
69782011-10-08 Roland McGrath <roland@hack.frob.com>
6979
110946e4
RM
6980 * locale/programs/locarchive.c (prepare_address_space): New function.
6981 (create_archive, enlarge_archive, open_archive): Use it.
6982
50604220
RM
6983 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6984 inside [SHARED], where it is used.
6985
c658d255
RM
6986 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6987
6988 * nss/getent.c (netgroup_keys): Remove unused variable.
6989 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6990
6a621eb7
UD
69912011-10-08 Ulrich Drepper <drepper@gmail.com>
6992
7edb55ce
UD
6993 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6994 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6995 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6996 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6997 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6998 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6999 * math/Makefile (libm-calls): Add s_isinf_ns.
7000 * math/divtc3.c: Use __isinf_nsl instead of isinf.
7001 * math/multc3.c: Likewise.
7002 * math/s_casin.c: Likewise.
7003 * math/s_casinf.c: Likewise.
7004 * math/s_casinl.c: Likewise.
7005 * math/s_ccos.c: Likewise.
7006 * math/s_ccosf.c: Likewise.
7007 * math/s_ccosl.c: Likewise.
7008 * math/s_ctan.c: Likewise.
7009 * math/s_ctanf.c: Likewise.
7010 * math/s_ctanh.c: Likewise.
7011 * math/s_ctanhf.c: Likewise.
7012 * math/s_ctanhl.c: Likewise.
7013 * math/s_ctanl.c: Likewise.
7014 * math/w_fmod.c: Likewise.
7015 * math/w_fmodf.c: Likewise.
7016 * math/w_fmodl.c: Likewise.
7017 * math/w_remainder.c: Likewise.
7018 * math/w_remainderf.c: Likewise.
7019 * math/w_remainderl.c: Likewise.
7020 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
7021 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
7022 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
7023 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
7024 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
7025 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
7026 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
7027 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
7028
187da0ae
UD
7029 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
7030 of the number.
7031 * stdio-common/printf_fphex.c: Likewise.
7032 * stdio-common/printf_size.c: Likewise.
7033
9277c064
UD
7034 * math/e_exp10.c: Include math_private.h using <...> not "...".
7035 * math/e_exp10f.c: Likewise.
7036 * math/e_exp10l.c: Likewise.
7037 * math/e_exp2l.c: Likewise.
7038 * math/e_j0l.c: Likewise.
7039 * math/e_j1l.c: Likewise.
7040 * math/e_jnl.c: Likewise.
7041 * math/e_lgammal_r.c: Likewise.
7042 * math/e_rem_pio2l.c: Likewise.
7043 * math/e_scalb.c: Likewise.
7044 * math/e_scalbf.c: Likewise.
7045 * math/e_scalbl.c: Likewise.
7046 * math/k_cosl.c: Likewise.
7047 * math/k_sinl.c: Likewise.
7048 * math/k_tanl.c: Likewise.
7049 * math/s_cacoshf.c: Likewise.
7050 * math/s_catan.c: Likewise.
7051 * math/s_catanf.c: Likewise.
7052 * math/s_catanh.c: Likewise.
7053 * math/s_catanhf.c: Likewise.
7054 * math/s_catanhl.c: Likewise.
7055 * math/s_catanl.c: Likewise.
7056 * math/s_ccosh.c: Likewise.
7057 * math/s_ccoshf.c: Likewise.
7058 * math/s_ccoshl.c: Likewise.
7059 * math/s_cexp.c: Likewise.
7060 * math/s_cexpf.c: Likewise.
7061 * math/s_cexpl.c: Likewise.
7062 * math/s_clog.c: Likewise.
7063 * math/s_clog10.c: Likewise.
7064 * math/s_clog10f.c: Likewise.
7065 * math/s_clog10l.c: Likewise.
7066 * math/s_clogf.c: Likewise.
7067 * math/s_clogl.c: Likewise.
7068 * math/s_csin.c: Likewise.
7069 * math/s_csinf.c: Likewise.
7070 * math/s_csinh.c: Likewise.
7071 * math/s_csinhf.c: Likewise.
7072 * math/s_csinhl.c: Likewise.
7073 * math/s_csinl.c: Likewise.
7074 * math/s_csqrt.c: Likewise.
7075 * math/s_csqrtf.c: Likewise.
7076 * math/s_csqrtl.c: Likewise.
7077 * math/s_ctan.c: Likewise.
7078 * math/s_ctanf.c: Likewise.
7079 * math/s_ctanh.c: Likewise.
7080 * math/s_ctanhf.c: Likewise.
7081 * math/s_ctanhl.c: Likewise.
7082 * math/s_ctanl.c: Likewise.
7083 * math/s_ldexp.c: Likewise.
7084 * math/s_ldexpf.c: Likewise.
7085 * math/s_ldexpl.c: Likewise.
7086 * math/s_significand.c: Likewise.
7087 * math/s_significandf.c: Likewise.
7088 * math/s_significandl.c: Likewise.
7089 * math/w_acos.c: Likewise.
7090 * math/w_acosf.c: Likewise.
7091 * math/w_acosh.c: Likewise.
7092 * math/w_acoshf.c: Likewise.
7093 * math/w_acoshl.c: Likewise.
7094 * math/w_acosl.c: Likewise.
7095 * math/w_asin.c: Likewise.
7096 * math/w_asinf.c: Likewise.
7097 * math/w_asinl.c: Likewise.
7098 * math/w_atan2.c: Likewise.
7099 * math/w_atan2f.c: Likewise.
7100 * math/w_atan2l.c: Likewise.
7101 * math/w_atanh.c: Likewise.
7102 * math/w_atanhf.c: Likewise.
7103 * math/w_atanhl.c: Likewise.
7104 * math/w_cosh.c: Likewise.
7105 * math/w_coshf.c: Likewise.
7106 * math/w_coshl.c: Likewise.
7107 * math/w_dremf.c: Likewise.
7108 * math/w_exp10.c: Likewise.
7109 * math/w_exp10f.c: Likewise.
7110 * math/w_exp10l.c: Likewise.
7111 * math/w_exp2.c: Likewise.
7112 * math/w_exp2f.c: Likewise.
7113 * math/w_fmod.c: Likewise.
7114 * math/w_fmodf.c: Likewise.
7115 * math/w_fmodl.c: Likewise.
7116 * math/w_hypot.c: Likewise.
7117 * math/w_hypotf.c: Likewise.
7118 * math/w_hypotl.c: Likewise.
7119 * math/w_j0.c: Likewise.
7120 * math/w_j0f.c: Likewise.
7121 * math/w_j0l.c: Likewise.
7122 * math/w_j1.c: Likewise.
7123 * math/w_j1f.c: Likewise.
7124 * math/w_j1l.c: Likewise.
7125 * math/w_jn.c: Likewise.
7126 * math/w_jnf.c: Likewise.
7127 * math/w_jnl.c: Likewise.
7128 * math/w_lgamma.c: Likewise.
7129 * math/w_lgamma_r.c: Likewise.
7130 * math/w_lgammaf.c: Likewise.
7131 * math/w_lgammaf_r.c: Likewise.
7132 * math/w_lgammal.c: Likewise.
7133 * math/w_lgammal_r.c: Likewise.
7134 * math/w_log.c: Likewise.
7135 * math/w_log10.c: Likewise.
7136 * math/w_log10f.c: Likewise.
7137 * math/w_log10l.c: Likewise.
7138 * math/w_log2.c: Likewise.
7139 * math/w_log2f.c: Likewise.
7140 * math/w_log2l.c: Likewise.
7141 * math/w_logf.c: Likewise.
7142 * math/w_logl.c: Likewise.
7143 * math/w_pow.c: Likewise.
7144 * math/w_powf.c: Likewise.
7145 * math/w_powl.c: Likewise.
7146 * math/w_remainder.c: Likewise.
7147 * math/w_remainderf.c: Likewise.
7148 * math/w_remainderl.c: Likewise.
7149 * math/w_scalb.c: Likewise.
7150 * math/w_scalbf.c: Likewise.
7151 * math/w_scalbl.c: Likewise.
7152 * math/w_sinh.c: Likewise.
7153 * math/w_sinhf.c: Likewise.
7154 * math/w_sinhl.c: Likewise.
7155 * math/w_sqrt.c: Likewise.
7156 * math/w_sqrtf.c: Likewise.
7157 * math/w_sqrtl.c: Likewise.
7158 * math/w_tgamma.c: Likewise.
7159 * math/w_tgammaf.c: Likewise.
7160 * math/w_tgammal.c: Likewise.
7161
6a621eb7
UD
7162 * po/ja.po: Update from translation team.
7163
bf582445
AJ
71642011-09-29 Andreas Jaeger <aj@suse.de>
7165
f9efbf3a
AJ
7166 [BZ #13179]
7167 * sunrpc/netname.c (netname2host): Fix logic.
7168
bf582445
AJ
7169 [BZ #6779]
7170 [BZ #6783]
7171 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
7172 correctly.
7173 * math/w_remainder.c (__remainder): Likewise.
7174 * math/w_remainderf.c (__remainderf): Likewise.
7175 * math/libm-test.inc (remainder_test): Add test cases.
7176
48693bea
AK
71772011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7178
7179 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
7180 sdiv_qrnnd.
7181
42622229
LD
71822011-10-07 Ulrich Drepper <drepper@gmail.com>
7183
7184 * string/test-memcmp.c: Avoid unncessary #defines.
7185 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7186
093ecf92
LD
71872011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7188
7189 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
7190 Use new sse2 version for core i3 - i7 as it's faster
7191 than sse42 version.
7192 (bit_Prefer_PMINUB_for_stringop): New.
7193 * sysdeps/x86_64/rawmemchr.S: Update.
7194 Replace with faster SSE2 version.
7195 * sysdeps/x86_64/memrchr.S: New file.
7196 * sysdeps/x86_64/memchr.S: Update.
7197 Replace with faster SSE2 version.
7198
fde56e5c
MP
71992011-09-12 Marek Polacek <mpolacek@redhat.com>
7200
7201 * elf/dl-load.c (lose): Add cast to avoid warning.
7202
21fd49a9
UD
72032011-10-07 Ulrich Drepper <drepper@gmail.com>
7204
5a06e643
UD
7205 * po/ca.po: Update from translation team.
7206
684ae515
UD
7207 * inet/getnetgrent_r.c: Hook up nscd.
7208 * nscd/Makefile (routines): Add nscd_netgroup.
7209 (nscd-modules): Add netgroupcache.
7210 (CFLAGS-netgroupcache.c): Define.
7211 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
7212 (cache_search): Add const to second parameter.
7213 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
7214 INNETGR.
7215 (dbs): Add netgrdb entry.
7216 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
7217 (verify_persistent_db): Handle netgrdb.
7218 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
7219 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
7220 GETFDNETGR.
7221 (netgroup_response_header): Define.
7222 (innetgroup_response_header): Define.
7223 (datahead): Add netgroup_response_header and innetgroup_response_header
7224 elements.
7225 * nscd/nscd.conf: Add entries for netgroup cache.
7226 * nscd/nscd.h (dbtype): Add netgrdb.
7227 (_PATH_NSCD_NETGROUP_DB): Define.
7228 (netgroup_iov_disabled): Declare.
7229 (xmalloc, xcalloc, xrealloc): Move declarations here.
7230 (cache_search): Adjust prototype.
7231 Add netgroup-related prototypes.
7232 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
7233 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
7234 (__nscd_innetgr): Declare.
7235 * nscd/selinux.c (perms): Use access_vector_t as element type and
7236 add netgroup-related initializers.
7237 * nscd/netgroupcache.c: New file.
7238 * nscd/nscd_netgroup.c: New file.
7239 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
7240 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
7241 For four parameters use innetgr.
7242 * nss/nss_files/files-init.c: Add definition and callback for netgr.
7243 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
7244 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
7245 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
7246
21fd49a9
UD
7247 * nscd/connections.c (register_traced_file): Don't register file
7248 for disabled databases.
7249
054c0457
UD
72502011-10-06 Ulrich Drepper <drepper@gmail.com>
7251
32b63198
UD
7252 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
7253
054c0457
UD
7254 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
7255 from tree and freeing node.
7256
64031225
JO
72572011-09-25 Jiri Olsa <jolsa@redhat.com>
7258
7259 * nss/nsswitch.c (__nss_database_lookup): Handle
7260 nss_parse_service_list out of memory case.
7261
0490345c
JO
72622011-09-15 Jiri Olsa <jolsa@redhat.com>
7263
7264 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
7265 out of memory case.
7266
3a62d00d
AS
72672011-10-04 Andreas Schwab <schwab@redhat.com>
7268
7269 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
7270 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
7271 pass it down.
7272 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
7273 elf_machine_rela, elf_machine_lazy_rel.
7274 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
7275 (ELF_DYNAMIC_DO_REL): Likewise.
7276 (ELF_DYNAMIC_DO_RELA): Likewise.
7277 (ELF_DYNAMIC_RELOCATE): Likewise.
7278 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
7279 to ELF_DYNAMIC_DO_REL.
7280 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
7281 (dl_main): In trace mode always set __RTLD_NOIFUNC.
7282 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
7283 elf_machine_rela.
7284 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
7285 skip_ifunc, don't call ifunc function if non-zero.
7286 (elf_machine_rela): Likewise.
7287 (elf_machine_lazy_rel): Likewise.
7288 (elf_machine_lazy_rela): Likewise.
7289 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
7290 (elf_machine_lazy_rel): Likewise.
7291 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
7292 Likewise.
7293 (elf_machine_lazy_rel): Likewise.
7294 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7295 Likewise.
7296 (elf_machine_lazy_rel): Likewise.
7297 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
7298 (elf_machine_lazy_rel): Likewise.
7299 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
7300 (elf_machine_lazy_rel): Likewise.
7301 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7302 (elf_machine_lazy_rel): Likewise.
7303 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7304 (elf_machine_lazy_rel): Likewise.
7305 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7306 (elf_machine_lazy_rel): Likewise.
7307 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7308 (elf_machine_lazy_rel): Likewise.
7309
68577918
UD
73102011-09-28 Ulrich Drepper <drepper@gmail.com>
7311
7312 * nss/nss_files/files-init.c (_nss_files_init): Use static
7313 initialization for all the *_traced_file variables.
7314
68822d74
AS
73152011-09-28 Andreas Schwab <schwab@redhat.com>
7316
7317 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7318
2056100b
RM
73192011-09-27 Roland McGrath <roland@hack.frob.com>
7320
7321 [BZ #13226]
7322 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
7323
32c76b63
AS
73242011-09-27 Andreas Schwab <schwab@redhat.com>
7325
7326 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7327 Reread the line before reparsing it.
7328
bf972c9d
AS
73292011-09-26 Andreas Schwab <schwab@redhat.com>
7330
7331 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
7332
e057a1b5
JM
73332011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
7334 Maxim Kuvyrkov <maxim@codesourcery.com>
7335 Joseph Myers <joseph@codesourcery.com>
7336
7337 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
7338 if needed for __stack_chk_guard.
7339
bc7e1c36
RM
73402011-09-19 Roland McGrath <roland@hack.frob.com>
7341
ecb1482f
RM
7342 * sysdeps/posix/spawni.c (script_execute): Always define it.
7343 It will be optimized away if unused.
7344 (maybe_script_execute): New function.
7345 (__spawni): Call it.
7346
bc7e1c36
RM
7347 * Makerules: Don't include tls.make.
7348 (config-tls): Always set to thread.
7349 * tls.make.c: File removed.
7350
1c3b002b
MF
73512011-09-19 Mike Frysinger <vapier@gentoo.org>
7352
7353 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
7354 * config.make.in (CPPFLAGS-config): New substituted variable.
7355
2840865d
UD
73562011-09-15 Ulrich Drepper <drepper@gmail.com>
7357
88738eb6
UD
7358 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
7359
cbf645a6 7360 [BZ #13192]
2840865d
UD
7361 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
7362 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
7363
b402e91a
RM
73642011-09-15 Roland McGrath <roland@hack.frob.com>
7365
7366 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
7367 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
7368 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7369 (CALL_FAIL): Likewise.
7370 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
7371 (CALL_FAIL): Macro removed.
7372 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
7373
4c1a1f71
UD
73742011-09-15 Ulrich Drepper <drepper@gmail.com>
7375
7376 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
7377 for __FINITE_MATH_ONLY__ == 1.
7378
edc121be
AS
73792011-09-15 Andreas Schwab <schwab@redhat.com>
7380
7381 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
7382 __ieee754_sqrt instead of sqrt.
7383 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
7384 __ieee754_sqrtf instead of sqrtf.
7385 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7386 __floorf instead of floorf.
7387 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
7388 __floorf, __truncf instead of floorf, truncf.
7389
cd205654
UD
73902011-09-14 Ulrich Drepper <drepper@gmail.com>
7391
ee4d0315
UD
7392 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
7393
cd205654
UD
7394 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
7395 __extern_always_inline.
7396 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
7397 32-bit.
7398
48b67d71
AS
73992011-09-14 Andreas Schwab <schwab@redhat.com>
7400
7401 * elf/rtld.c (dl_main): Also relocate in dependency order when
7402 doing symbol dependency testing.
7403
1ae12c75
AS
74042011-09-13 Andreas Schwab <schwab@linux-m68k.org>
7405
7406 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7407 Always define `refsym'.
7408
995a80df
AS
74092011-09-13 Andreas Schwab <schwab@redhat.com>
7410
e529793b
AS
7411 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
7412 (__FD_ELT): Renamed from __FDELT.
7413 * misc/bits/select2.h (__FD_ELT): Likewise.
7414 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
7415 __FD_MASK instead of __FDELT, __FDMASK.
7416 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7417 Likewise.
7418 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7419 Likewise.
7420
52d4fef8
AS
7421 * elf/Makefile (gen-ldd): Fix pattern.
7422
995a80df
AS
7423 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
7424 (init_tls): Likewise.
7425
8682f8b0
UD
74262011-09-12 Ulrich Drepper <drepper@gmail.com>
7427
7428 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7429
de82006d
AS
74302011-09-12 Andreas Schwab <schwab@redhat.com>
7431
a7c8e6a1
AS
7432 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7433 `struct cmsghdr *' instead of `void *'.
7434 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7435 Likewise.
7436
0f31fe77
AS
74372011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7438
7439 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7440 if non-absolute.
7441 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7442 ldd_rewrite_script.
0f31fe77 7443
32b4c839
UD
74442011-09-11 Ulrich Drepper <drepper@gmail.com>
7445
83cd1420
UD
7446 * configure.in: Remove --with-tls option.
7447 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7448 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7449 out in case it is missing.
7450 * sysdeps/ia64/elf/configure.in: Likewise.
7451 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7452 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7453 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7454 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7455 * sysdeps/sh/elf/configure.in: Likewise.
7456 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7457 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7458 * sysdeps/x86_64/elf/configure.in: Likewise.
7459 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7460 * sysdeps/mach/hurd/tls.h: Likewise.
7461
633f745d
UD
7462 [BZ #13067]
7463 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7464
f318beb8
UD
7465 [BZ #13090]
7466 * configure.in: Fix use of AC_INIT.
7467
32b4c839
UD
7468 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7469
3ce1f295
UD
74702011-09-10 Ulrich Drepper <drepper@gmail.com>
7471
bb016596
UD
7472 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7473 __set_errno.
8e58439c
UD
7474 * malloc/hooks.c: Likewise.
7475
aebae053 7476 [BZ #11929]
02d46fc4
UD
7477 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
7478 variables statically.
7479 (narenas): Initialize.
7480 (list_lock): Initialize.
bb016596
UD
7481 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
7482 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
7483 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7484 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
7485 Add initializers to main_arena and mp_.
7486 (malloc_state): Remove pagesize member. Change all users to use
7487 GLRO(dl_pagesize).
7488
7489 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7490 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
7491 is always initialized.
7492
22a89187
UD
7493 * malloc/malloc.c: Removed unused configurations and dead code.
7494 * malloc/arena.c: Likewise.
7495 * malloc/hooks.c: Likewise.
02d46fc4 7496 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 7497
d063d164
UD
7498 * include/tls.h: Removed. USE___THREAD must always be defined.
7499 * bits/libc-tsd.h: Don't handle !USE___THREAD.
7500 * elf/dl-libc.c: Likewise.
7501 * elf/dl-tsd.c: Likewise.
7502 * include/errno.h: Likewise.
7503 * include/netdb.h: Likewise.
7504 * include/resolv.h: Likewise.
7505 * inet/herrno-loc.c: Likewise.
7506 * inet/herrno.c: Likewise.
7507 * malloc/arena.c: Likewise.
7508 * malloc/hooks.c: Likewise.
7509 * malloc/malloc.c: Likewise.
7510 * resolv/res-state.c: Likewise.
7511 * resolv/res_libc.c: Likewise.
7512 * sysdeps/i386/dl-machine.h: Likewise.
7513 * sysdeps/ia64/dl-machine.h: Likewise.
7514 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7515 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7516 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7517 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7518 * sysdeps/sh/dl-machine.h: Likewise.
7519 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7520 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7521 * sysdeps/unix/i386/sysdep.S: Likewise.
7522 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7523 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7524 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7525 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7526 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7527 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7528 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7529 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7530 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7531 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7532 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7533 * sysdeps/x86_64/dl-machine.h: Likewise.
7534 * tls.make.c: Likewise.
7535
3ce1f295
UD
7536 * configure.in: Remove --with-__thread option. Make tests for
7537 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7538 tls_model attribute fail if no support is available. Remove
7539 USE_IN_LIBIO.
7540 * Makeconfig: Adjust for dropped configure option. All features are
7541 now mandatory.
7542 * Makerules: Likewise.
7543 * Versions.def: Likewise.
7544 * argp/argp-fmtstream.c: Likewise.
7545 * argp/argp-fmtstream.h: Likewise.
7546 * argp/argp-help.c: Likewise.
7547 * assert/assert.c: Likewise.
7548 * config.h.in: Likewise.
7549 * config.make.in: Likewise.
7550 * configure: Likewise.
7551 * configure.in: Likewise.
7552 * csu/Versions: Likewise.
7553 * csu/init.c: Likewise.
7554 * elf/tst-audit2.c: Likewise.
7555 * elf/tst-tls10.c: Likewise.
7556 * elf/tst-tls10.h: Likewise.
7557 * elf/tst-tls11.c: Likewise.
7558 * elf/tst-tls12.c: Likewise.
7559 * elf/tst-tls14.c: Likewise.
7560 * elf/tst-tlsmod11.c: Likewise.
7561 * elf/tst-tlsmod12.c: Likewise.
7562 * elf/tst-tlsmod13.c: Likewise.
7563 * elf/tst-tlsmod13a.c: Likewise.
7564 * elf/tst-tlsmod14a.c: Likewise.
7565 * elf/tst-tlsmod15b.c: Likewise.
7566 * elf/tst-tlsmod16a.c: Likewise.
7567 * elf/tst-tlsmod16b.c: Likewise.
7568 * elf/tst-tlsmod7.c: Likewise.
7569 * elf/tst-tlsmod8.c: Likewise.
7570 * elf/tst-tlsmod9.c: Likewise.
7571 * gmon/gmon.c: Likewise.
7572 * grp/fgetgrent_r.c: Likewise.
7573 * grp/putgrent.c: Likewise.
7574 * hurd/fopenport.c: Likewise.
7575 * include/libc-symbols.h: Likewise.
7576 * include/tls.h: Likewise.
7577 * intl/gettextP.h: Likewise.
7578 * intl/loadinfo.h: Likewise.
7579 * locale/global-locale.c: Likewise.
7580 * locale/localeinfo.h: Likewise.
7581 * mach/devstream.c: Likewise.
7582 * malloc/arena.c: Likewise.
7583 * malloc/set-freeres.c: Likewise.
7584 * misc/err.c: Likewise.
7585 * misc/getttyent.c: Likewise.
7586 * misc/mntent_r.c: Likewise.
7587 * posix/getopt.c: Likewise.
7588 * posix/wordexp.c: Likewise.
7589 * pwd/fgetpwent_r.c: Likewise.
7590 * resolv/Versions: Likewise.
7591 * resolv/res_hconf.c: Likewise.
7592 * shadow/fgetspent_r.c: Likewise.
7593 * shadow/putspent.c: Likewise.
7594 * stdio-common/printf_fphex.c: Likewise.
7595 * stdio-common/tmpfile.c: Likewise.
7596 * stdlib/abort.c: Likewise.
7597 * stdlib/fmtmsg.c: Likewise.
7598 * sunrpc/auth_unix.c: Likewise.
7599 * sunrpc/clnt_perr.c: Likewise.
7600 * sunrpc/clnt_tcp.c: Likewise.
7601 * sunrpc/clnt_udp.c: Likewise.
7602 * sunrpc/clnt_unix.c: Likewise.
7603 * sunrpc/openchild.c: Likewise.
7604 * sunrpc/svc_simple.c: Likewise.
7605 * sunrpc/svc_tcp.c: Likewise.
7606 * sunrpc/svc_udp.c: Likewise.
7607 * sunrpc/svc_unix.c: Likewise.
7608 * sunrpc/xdr.c: Likewise.
7609 * sunrpc/xdr_array.c: Likewise.
7610 * sunrpc/xdr_rec.c: Likewise.
7611 * sunrpc/xdr_ref.c: Likewise.
7612 * sunrpc/xdr_stdio.c: Likewise.
7613
1248c1c4
PB
76142011-09-09 Ulrich Drepper <drepper@gmail.com>
7615
7616 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7617
76182011-07-03 Andreas Jaeger <aj@suse.de>
7619
7620 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7621 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7622 regenerate with gen-libm-tests.pl.
7623
76242010-05-12 Petr Baudis <pasky@suse.cz>
7625
7626 [BZ #11589]
7627 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7628 around j0() zero points by switching to j1().
7629 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7630 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7631 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7632 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7633
f22e1074
UD
76342011-09-09 Ulrich Drepper <drepper@gmail.com>
7635
f19009c1
UD
7636 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7637 instead of 0.
7638 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7639 instead of 0. .
7640 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7641 Patch in part by Pavel Roskin <proski@gnu.org>.
7642
3f8cc204
UD
7643 [BZ #13138]
7644 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7645 realloc.
7646 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
7647 Free memory block if necessary.
7648
f22e1074
UD
7649 [BZ #12847]
7650 * libio/genops.c (INTDEF): For string streams the _lock pointer can
7651 be NULL. Don't lock in this case.
7652
0a2349f9
RM
76532011-09-09 Roland McGrath <roland@hack.frob.com>
7654
7655 * elf/elf.h (ELFOSABI_GNU): New macro.
7656 (ELFOSABI_LINUX): Define to that.
7657
f3cdd467
DZ
76582011-07-29 Denis Zaitceff <zaitceff@gmail.com>
7659
7660 * string/strncat.c (strncat): Undef the symbol in case it has been
7661 defined in bits/string.h.
7662
74718d13
UD
76632011-09-09 Ulrich Drepper <drepper@gmail.com>
7664
633e9e0f
UD
7665 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7666
0a2349f9 7667 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
7668 link map.
7669
f9924780
AJ
76702011-08-17 Andreas Jaeger <aj@suse.de>
7671
7672 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7673
7f5517aa
PP
76742011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7675 Ian Lance Taylor <iant@google.com>
7676
7677 * math/libm-test.inc (lround_test): New testcase.
7678 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7679
762011fe
UD
76802011-09-08 Ulrich Drepper <drepper@gmail.com>
7681
92963737
UD
7682 * Makefile: Remove support for automatic cvs check-ins.
7683 * Makerules: Likewise.
7684 * config.make.in: Likewise.
7685 * configure.in: Likewise.
7686 * intl/Makefile: Likewise.
7687 * locale/Makefile: Likewise.
7688 * po/Makefile: Likewise.
7689 * posix/Makefile: Likewise.
7690 * sysdeps/gnu/Makefile: Likewise.
7691 * sysdeps/mach/hurd/Makefile: Likewise.
7692 * sysdeps/sparc/sparc32/Makefile: Likewise.
7693
b0727fd8
JS
7694 [BZ #13118]
7695 * posix/Makefile (bug-regex32-ENV): Define.
7696 Patch by John Stanley <jpsinthemix@verizon.net>.
7697
a0f33f99
UD
7698 * misc/Makefile (headers): Add bits/select2.h.
7699 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7700 * misc/bits/select2.h: New file.
7701 * include/bits/select2.h: New file.
7702 * debug/Makefile (routines): Add fdelt_chk.
7703 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7704 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7705 FD_ISSET.
7706 * debug/fdelt_chk.c: New file.
7707
762011fe
UD
7708 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
7709 * wcsmbs/test-wmemcmp.c: Likewise.
7710 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 7711 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
7712
77132011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7714
7715 * string/Makefile (strop-tests): Add memcmp.
7716 * string/test-wmemcmp.c: New file.
7717 * string/test-memcmp.c: Add wmemcmp support.
7718
7f513ec8
RM
77192011-09-08 Roland McGrath <roland@hack.frob.com>
7720
0442afb4
RM
7721 [BZ #13153]
7722 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7723 2011-07-19 change.
7724
7f513ec8
RM
7725 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7726 garbage value in a __mach_port_mod_refs call in the cases of the
7727 task-self and thread-self ports.
7728
a12b2239
ST
77292011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7730
7731 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7732
610f9ab4
AS
77332011-09-08 Andreas Schwab <schwab@redhat.com>
7734
7f513ec8 7735 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 7736
48882a1a
LD
77372011-09-07 Ulrich Drepper <drepper@gmail.com>
7738
b49865be
UD
7739 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7740
fdc86bc9
UD
7741 * elf/dl-libc.c (dlerror_run): Pass back error code from
7742 dl_catch_error.
7743
c966526a
UD
7744 [BZ #13123]
7745 * elf/dl-load.c (lose): Free l_origin if it is valid.
7746
48882a1a
LD
7747 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7748 names.
7749 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7750 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7751 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7752 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7753 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7754 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7755
77a2a8b4
AZ
77562011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7757
7758 * sysdeps/powerpc/fpu/e_hypot.c: New file.
7759 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7760 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7761 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7762 * sysdeps/powerpc/fpu/k_cosf.c: New file.
7763 * sysdeps/powerpc/fpu/k_sinf.c: New file.
7764 * sysdeps/powerpc/fpu/s_cosf.c: New file.
7765 * sysdeps/powerpc/fpu/s_sinf.c: New file.
7766 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7767 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7768
24f579d8
AM
77692011-08-15 Alan Modra <amodra@gmail.com>
7770
7771 [BZ #13092]
7772 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7773 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7774 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
7775 ppc_mcount to static-only-routines.
7776 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7777 __mcount_internal.
7778 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7779 __mcount_internal with usual JUMPTARGET. Remove useless nop.
7780
3d4837df
UD
77812011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7782
7783 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7784 for finite and infinity parameters.
7785
22700377
WS
77862011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7787
7788 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7789 and add nop instructions for throughput optimization.
7790 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7791
5025581e
WS
77922011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7793
7794 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7795 aligned copy for power7 with vector-scalar instructions.
7796 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7797
08a300c9
L
77982011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7799
7800 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7801 AVX check.
7802
59178ef9
AS
78032011-09-07 Andreas Schwab <schwab@redhat.com>
7804
7805 [BZ #13144]
7806 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7807 last change.
7808
e38ba7ab
UD
78092011-09-07 Ulrich Drepper <drepper@gmail.com>
7810
7811 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7812 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7813 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7814 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7815 clock_gettime.
7816
d53a73ac
UD
78172011-09-06 Ulrich Drepper <drepper@gmail.com>
7818
fc8bffcc
UD
7819 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7820 Forgot to demangle the pointer.
7821
ceaa0c5d
UD
7822 * sysdeps/i386/sysdep.h: Define atom_text_section.
7823 * sysdeps/x86_64/sysdep.h: Likewise.
7824 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7825 section with atom_text_section.
7826 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7827 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7828 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7829 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7830 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7831
a77d3c17
UD
7832 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7833 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7834 already be defined. Change to take two parameters and don't assign
7835 result to variable. Adjust all users.
7836 Define INTERNAL_GETTIME if not already defined.
7837 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7838 call.
7839 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7840 HAVE_CLOCK_GETTIME_VSYSCALL.
7841 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7842
d53a73ac
UD
7843 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7844 gettimeofday vsyscall, just use time.
7845
a8f84144
AS
78462011-09-06 Andreas Schwab <schwab@redhat.com>
7847
7848 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7849 <errno.h>.
7850
ef606249
UD
78512011-09-06 Ulrich Drepper <drepper@gmail.com>
7852
7853 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7854 syscall on x86-64.
7855 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7856 syscall.
7857 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7858 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7859 syscall if possible.
7860
6585cb60
UD
78612011-09-05 Ulrich Drepper <drepper@gmail.com>
7862
7863 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7864 e_ident. Don't pass to find_mapsXX.
7865 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7866
a5f524e4
LD
78672011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7868
7869 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7870 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7871 * sysdeps/x86_64/multiarch/strchr.S: Update.
7872 Check bit_slow_BSF bit.
7873 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7874 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7875 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7876
554881ef
UD
78772011-09-05 Ulrich Drepper <drepper@gmail.com>
7878
d96de963
UD
7879 [BZ #13134]
7880 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7881 before glibc 2.15.
7882 (tryshell): Define.
7883 (__spawni): Change last parameter to be flag. Test
7884 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7885 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7886 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7887 * posix/spawni.c: Likewise.
7888 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7889 * posix/spawnp.c: Likewise. Change normal version to use
7890 SPAWN_XFLAGS_USE_PATH.
7891 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7892 SPAWN_XFLAGS_TRY_SHELL.
7893
d48e5868
UD
7894 [BZ #13150]
7895 * posix/glob.h: Remove gcc 1.x support.
7896
554881ef
UD
7897 [BZ #13068]
7898 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7899
693fb948
LD
79002011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7901
7902 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7903 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7904 strrchr-sse2-bsf
7905 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7906 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7907 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7908 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7909 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7910 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7911
1b48c537
UD
79122011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7913
49d42c37
UD
7914 * sysdeps/x86_64/wcscmp.S: New file.
7915
1b48c537
UD
7916 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7917 wcscmp-c wcscmp-sse2
7918 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7919 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7920 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7921 * wcsmbs/wcscmp.c: Allow renaming.
7922
15c95c5d
DM
79232011-09-05 David S. Miller <davem@davemloft.net>
7924
7925 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7926 stack slot, rather than the struct return pointer slot.
7927 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7928 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7930 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7931
2f0ad8f3
UD
79322011-09-05 Ulrich Drepper <drepper@gmail.com>
7933
d88ae418
UD
7934 * po/ja.po: Update from translation team.
7935
2f0ad8f3
UD
7936 [BZ #13144]
7937 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7938 kernel in 64-bit binaries.
7939
5f4318d1
DM
79402011-09-01 David S. Miller <davem@davemloft.net>
7941
7942 * elf/elf.h (HWCAP_SPARC_*): Move to..
7943 * sysdeps/sparc/sysdep.h: this new file and add new values.
7944 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7945 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7946 _DL_HWCAP_COUNT to 24.
7947 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7948 entries.
7949 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7950 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7951 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7952 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7953 instead of magic constants.
7954 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7955
3ba57516
DM
79562011-08-31 David S. Miller <davem@davemloft.net>
7957
7958 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7959 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7960 Reimplement to do errno handling inline.
7961 (SYSCALL_ERROR_HANDLER): New macro.
7962 (__SYSCALL_STRING): Do not do errno handling in asm.
7963 (__CLONE_SYSCALL_STRING): Delete.
7964 (__INTERNAL_SYSCALL_STRING): Delete.
7965 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7966 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7967 (PSEUDO): Reimplement to do errno handling inline.
7968 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7969 (SYSCALL_ERROR_HANDLER): New macro.
7970 (__SYSCALL_STRING): Do not do errno handling in asm.
7971 (__CLONE_SYSCALL_STRING): Delete.
7972 (__INTERNAL_SYSCALL_STRING): Delete.
7973 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7974 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7975 i386.
7976 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7977 (inline_syscall*): Add 'err' argument.
7978 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7979 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7980 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7981 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7982
7983 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7984 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7985
2bc17433
AS
79862011-08-30 Andreas Schwab <schwab@redhat.com>
7987
7988 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7989
fbeb5f4d
JO
79902011-08-29 Jiri Olsa <jolsa@redhat.com>
7991
7992 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7993 directive.
7994
ad69cc26
DM
79952011-08-24 David S. Miller <davem@davemloft.net>
7996
7997 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7998
39dd69df
AS
79992011-08-24 Andreas Schwab <schwab@redhat.com>
8000
8001 * elf/Makefile: Add rules to build and run unload8 test.
8002 * elf/unload8.c: New file.
8003 * elf/unload8mod1.c: New file.
8004 * elf/unload8mod1x.c: New file.
8005 * elf/unload8mod2.c: New file.
8006 * elf/unload8mod3.c: New file.
8007
8008 * elf/dl-close.c (_dl_close_worker): Reset private search list if
8009 it wasn't used.
8010
2c0b250a
DM
80112011-08-23 David S. Miller <davem@davemloft.net>
8012
8013 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
8014 subtract stack bias.
8015 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
8016 %sp not %fp in calculations.
8017 (_JMPBUF_UNWINDS_ADJ): Likewise.
8018
22044b48
DM
8019 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
8020 (aio_suspend): Call it to force an exception region around the
8021 AIO_MISC_WAIT() invocation.
8022
2cae4995
AS
80232011-08-23 Andreas Schwab <schwab@redhat.com>
8024
8025 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
8026 backslash.
8027
873a772e
AJ
80282011-07-04 Aurelien Jarno <aurelien@aurel32.net>
8029
8030 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
8031 protection macro.
8032 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
8033 and <dl-machine.h>.
8034 (Elf64_FuncDesc): Remove.
8035
25ad0df1
DM
80362011-08-22 David S. Miller <davem@davemloft.net>
8037
8038 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
8039 sigaltstack check, add missing cfi directives.
8040 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
8041 missing cfi directives, and sigaltstack handling.
8042
e888bcbe
AS
80432011-08-16 Andreas Schwab <schwab@redhat.com>
8044
8045 [BZ #11724]
8046 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
8047 object is seen twice.
8048 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8049
8050 * elf/Makefile (distribute): Add tst-initorder2.c.
8051 (tests): Add tst-initorder2.
8052 (modules-names): Add tst-initorder2a tst-initorder2b
8053 tst-initorder2c tst-initorder2d. Add rules to build them.
8054 ($(objpfx)tst-initorder2.out): New rule.
8055 * elf/tst-initorder2.c: New file.
8056 * elf/tst-initorder2.exp: New file.
8057
87162f46
AS
80582011-08-22 Andreas Schwab <schwab@redhat.com>
8059
70538b7f
AS
8060 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
8061
f55ffe58
AS
8062 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
8063 dependencies back to end of function.
8064
87162f46
AS
8065 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8066 $(elfobjdir)/ld.so.
8067
91b392a4
UD
80682011-08-21 Ulrich Drepper <drepper@gmail.com>
8069
8070 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
8071 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
8072 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
8073 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
8074 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
8075 of __vdso_gettimeofday.
8076 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
8077 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
8078 attribute_hidden.
8079 (_libc_vdso_platform_setup): Remove initialization of
8080 __vdso_gettimeofday and __vdso_time.
8081
5c43483f
UD
80822011-08-20 Ulrich Drepper <drepper@gmail.com>
8083
775a77e7
UD
8084 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
8085 and fgetc_unlocked.
8086 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
8087 getc_unlocked.
89f447ed 8088
49c74ba9
UD
8089 * elf/dl-open.c (add_to_global): Report additions to the global scope
8090 for LD_DEBUG=scopes.
8091 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 8092 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 8093
5c43483f
UD
8094 [BZ #13114]
8095 * stdio-common/Makefile (tests): Add bug24.
8096 * stdio-common/bug24.c: New file.
8097
a101b025
AJ
80982011-08-19 Andreas Jaeger <aj@suse.de>
8099
8100 [BZ #13114]
8101 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
8102 non-existant file when using close-on-exec mode.
8103
c88f1766
UD
81042011-08-20 Ulrich Drepper <drepper@gmail.com>
8105
0276a718
UD
8106 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
8107 the very first instruction.
8108
c88f1766
UD
8109 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
8110 the CFI state in the end.
8111 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
8112 inclusion of dl-trampoline.h.
8113 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
8114
51ccffa0
AS
81152011-08-19 Andreas Schwab <schwab@redhat.com>
8116
94d7165f
AS
8117 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
8118 expectations for long double.
8119
51ccffa0
AS
8120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
8121 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
8122
fd708658 81232011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
8124
8125 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
8126 artificual limit depends upon the system page size.
8127
44f0a71e
UD
81282011-08-17 Ulrich Drepper <drepper@gmail.com>
8129
8130 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
8131 * resolv/Makefile: Define CFLAGS-libresolv.
8132
8de79a24
AS
81332011-08-17 Andreas Schwab <schwab@redhat.com>
8134
8135 * nss/makedb.c (compute_tables): Make variables used in nested
8136 function static.
8137
27724598
UD
81382011-08-17 Ulrich Drepper <drepper@gmail.com>
8139
c5305d88
UD
8140 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
8141 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
8142 if buffer was too small.
8143
27724598
UD
8144 * elf/pldd.c (main): Attach to all threads in the process.
8145 Rewrite /proc handling to use *at functions.
8146
076fe015
UD
81472011-08-16 Ulrich Drepper <drepper@gmail.com>
8148
174baab3
UD
8149 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
8150 specifies first scope to show.
8151 (dl_open_worker): Update callers. Move printing scope of new
8152 object to before the relocation.
44f0a71e 8153 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
8154 * sysdeps/generic/ldsodefs.h: Update declaration.
8155
076fe015
UD
8156 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
8157 string for the scope number.
8158
a60df2c3
UD
81592011-08-14 Ulrich Drepper <drepper@gmail.com>
8160
8161 * nscd/servicescache.c (cache_addserv): Make sure written is always
8162 initialized.
8163
5e4287d1
RM
81642011-08-14 Roland McGrath <roland@hack.frob.com>
8165
85ae0589
RM
8166 * sysdeps/i386/i486/bits/atomic.h
8167 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
8168 statement expression, so as to suppress "set but not used" warning.
8169 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
8170
69f63097
RM
8171 * string/strncat.c (STRNCAT): Use prototype definition.
8172
675456ef
RM
8173 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
8174 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
8175 -Iprograms here.
8176 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
8177 (localedef-modules): Add localedef.
8178 (locale-modules): Add locale.
8179
5e4287d1
RM
8180 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
8181 * elf/rtld.c (dl_main): Invert order of assignment in last change,
8182 to avoid a warning.
8183
9c96ff23
DM
81842011-08-14 David S. Miller <davem@davemloft.net>
8185
8186 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
8187 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
8188
f9ddf089
UD
81892011-08-13 Ulrich Drepper <drepper@gmail.com>
8190
44f0a71e 8191 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
8192 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
8193 * elf/rtld.c (dl_main): Set l_name of vDSO.
8194 Call _dl_show_scope when DL_DEBUG_SCOPES.
8195 (process_dl_debug): Recognize scopes flag and also set it for all.
8196 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
8197 Declare _dl_show_scope.
8198
1dc27704
UD
8199 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
8200 (do_dlopen): Pass caller_dlopen to dl_open.
8201 (__libc_dlopen_mode): Initialize caller_dlopen.
8202
f9ddf089
UD
8203 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
8204 of libc. Make tolower call locale-independent. Optimize a bit by
8205 using isdigit instead of isalnum.
8206 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
8207
9ac533d3
UD
82082011-08-12 Ulrich Drepper <drepper@gmail.com>
8209
8210 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
8211 was a dependency or dynamically loaded.
8212
89edf2e9
UD
82132011-08-11 Ulrich Drepper <drepper@gmail.com>
8214
8e999d29
UD
8215 * intl/l10nflist.c: Allow architecture-specific pop function.
8216 * sysdeps/x86_64/l10nflist.c: New file.
8217
89edf2e9
UD
8218 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
8219 classification.
8220
14d96785
AS
82212011-08-10 Andreas Schwab <schwab@redhat.com>
8222
8223 * include/dirent.h: Add libc_hidden_proto for scandirat and
8224 scandirat64. Don't declare __scandirat64.
8225 * dirent/scandirat.c: Add libc_hidden_def.
8226 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
8227 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
8228
6761ac04
DM
82292011-08-10 David S. Miller <davem@davemloft.net>
8230
8231 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
8232 enum.
8233 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8234 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8235 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8236
c55fbd1e
UD
82372011-08-09 Ulrich Drepper <drepper@gmail.com>
8238
8239 * Versions.def [libc]: Add GLIBC_2.15.
8240 * dirent/Makefile (routines): Add scandirat and scandirat64.
8241 * dirent/Versions [libc]: Export scandirat and scandirat64 for
8242 GLIBC_2.15.
8243 * dirent/dirent.h: Declare scandirat and scandirat64.
8244 * dirent/scandirat.c: New file.
8245 * dirent/scandirat64.c: New file.
8246 * sysdeps/wordsize-64/scandirat.c: New file.
8247 * sysdeps/wordsize-64/scandirat64.c: New file.
8248 * dirent/opendir.c: Define opendirat.
8249 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
8250 using scandirat.
8251 * dirent/scandir64.c: Adjust for scandir.c change.
8252 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
8253 __scandirat64, and __scandir_cancel_handler.
8254 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
8255 additional parameter and use openat instead of open (outside of ld.so).
8256 Add new __opendir as wrapper around __opendirat.
8257 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
8258 here without requiring old scandirat implementation.
8259
879165f2
UD
82602011-08-08 Ulrich Drepper <drepper@gmail.com>
8261
8262 * dirent/scandir.c (cancel_handler): Renamed to
8263 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
8264 defined. Adjust users.
8265 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
8266 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
8267
cb7e923b
UD
82682011-08-04 Ulrich Drepper <drepper@gmail.com>
8269
16292edd
UD
8270 * string/test-string.h (IMPL): Use __STRING to expand name and then
8271 stringify it.
8272
cb7e923b
UD
8273 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
8274 of cleanups.
8275
cff82933
LD
82762011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8277
8278 * string/Makefile: Update.
8279 (strop-tests): Append strncat.
8280 * string/test-wcscmp.c: New file.
8281 New comprehensive test for wcscmp.
8282 * string/test-strcmp.c: Update.
8283 (WIDE): New define.
8284
9be9bfcc
AS
82852011-07-22 Andreas Schwab <schwab@redhat.com>
8286
8287 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
8288 line.
8289
2e96f1c7
AS
82902011-07-26 Andreas Schwab <schwab@redhat.com>
8291
8292 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8293 encoding to ACE if AI_IDN.
8294
85188888
JJ
82952011-08-01 Jakub Jelinek <jakub@redhat.com>
8296
8297 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
8298 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
8299
5fa16e9b
LD
83002011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8301
8302 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
8303 Fix overflow bug in strncat.
8304 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8305
8306 * string/test-strncat.c: Update.
8307 Add new tests for checking overflow bugs.
8308
83092011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8310
8311 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8312 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
8313 * sysdeps/i386/i686/multiarch/strcat.S: New file.
8314 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
8315 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
8316 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
8317 * sysdeps/i386/i686/multiarch/strncat.S: New file.
8318 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
8319 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
8320
8321 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
8322 (USE_AS_STRCAT): Define.
8323 Add strcat and strncat support.
8324 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8325
8c1a459f
AS
83262011-07-25 Andreas Schwab <schwab@redhat.com>
8327
8328 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
8329 __n bigger than INT_MAX+1.
8330 (__strncmp_g): Likewise.
8331
bba33c28
UD
83322011-07-23 Ulrich Drepper <drepper@gmail.com>
8333
798be72d
UD
8334 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
8335 * libio/stido.h: Likewise.
8336
8accd4dc
UD
8337 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
8338 (AF_NFC): Define.
8339 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
8340 (AF_NFC): Define.
8341
cbff0d96
UD
8342 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
8343 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8344 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8345 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8346 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8347
9191c04a
UD
8348 [BZ #13021]
8349 * scripts/test-installation.pl: Don't expect libnss_test1 to be
8350 installed.
8351
bba33c28
UD
8352 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
8353 typo.
8354 (_dl_x86_64_save_sse): Likewise.
8355
90f139dd
UD
83562011-07-22 Ulrich Drepper <drepper@gmail.com>
8357
1aae088a
UD
8358 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
8359 OSXSAVE.
8360 (_dl_x86_64_save_sse): Likewise.
8361
8e2045f5
UD
8362 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
8363
90f139dd
UD
8364 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
8365
1d002f25
AS
83662011-07-21 Andreas Schwab <schwab@redhat.com>
8367
8368 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
8369 change.
8370 (_dl_x86_64_save_sse): Use correct AVX check.
8371
21137f89
UD
83722011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8373
8374 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
8375 bug in strncpy/strncat.
8376 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8377
a65c0b7a
UD
83782011-07-21 Ulrich Drepper <drepper@gmail.com>
8379
8380 * string/tester.c (test_strcat): Add tests for different alignments
8381 of source and destination.
8382 (test_strncat): Likewise.
8383
6986b98a
UD
83842011-07-20 Ulrich Drepper <drepper@gmail.com>
8385
90bb2039
UD
8386 [BZ #12852]
8387 * posix/glob.c (glob): Check passed in values before using them in
8388 expressions to avoid some overflows.
8389 (glob_in_dir): Likewise.
8390
5644ef54
UD
8391 [BZ #13007]
8392 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
8393 check for AVX enablement so that we don't crash with old kernels and
8394 new hardware.
8395 * elf/tst-audit4.c: Add same checks here.
8396 * elf/tst-audit6.c: Likewise.
8397
8398 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 8399
bfc9dc9b
AS
84002011-07-09 Andreas Schwab <schwab@linux-m68k.org>
8401
8402 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
8403
702e64bb
UD
84042011-07-20 Ulrich Drepper <drepper@gmail.com>
8405
8406 * po/cs.po: Update from translation team.
8407 * po/bg.po: Likewise.
8408
295e904f
MP
84092011-07-12 Marek Polacek <mpolacek@redhat.com>
8410
8411 * misc/sys/cdefs.h: Add support for const attribute.
8412 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
8413 to gnu_dev_{major,minor,makedev} functions.
8414
3ff94596
MP
84152011-07-20 Marek Polacek <mpolacek@redhat.com>
8416
8417 * intl/dcigettext.c (get_output_charset): Add missing bracket.
8418
28b59fca
AS
84192011-07-20 Andreas Schwab <schwab@redhat.com>
8420
8421 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
8422 strlen results.
8423
19df733e
AK
84242011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8425
8426 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8427 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
8428 register in order to avoid conflicts with the soft frame pointer
8429 being held in r11 when necessary.
8430 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8431 (INTERNAL_VSYSCALL_NCS): Likewise.
8432
c8835729
MP
84332011-07-14 Marek Polacek <mpolacek@redhat.com>
8434
8435 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8436 * elf/dl-fini.c (_dl_fini): Adjust caller.
8437 * elf/dl-close.c (_dl_close_worker): Likewise.
8438 * sysdeps/generic/ldsodefs.h: Adjust declaration.
8439
b902330c
MP
84402011-07-15 Marek Polacek <mpolacek@redhat.com>
8441
8991e135
MP
8442 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8443 "aux_cache->nlibs < 0".
8444
b902330c
MP
8445 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8446 in the reload-count case.
8447
99710781
LD
84482011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8449
8450 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8451 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8452 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8453 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8454 * sysdeps/x86_64/multiarch/strcat.S: New file.
8455 * sysdeps/x86_64/multiarch/strncat.S: New file.
8456 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8457 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8458 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8459 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8460 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8461 (USE_AS_STRCAT): Define.
8462 Add strcat and strncat support.
8463 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8464 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8465 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8466 * string/strncat.c: Update.
8467 (USE_AS_STRNCAT): Define.
8468 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8469 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8470 and i7.
8471 * sysdeps/x86_64/multiarch/init-arch.h
8472 (bit_Prefer_PMINUB_for_stringop): New.
8473 (index_Prefer_PMINUB_for_stringop): Likewise.
8474 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8475 bit_Prefer_PMINUB_for_stringop.
8476
7dc6bd90
UD
84772011-07-19 Ulrich Drepper <drepper@gmail.com>
8478
8479 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8480 buffer64.
8481 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8482 of casting of buffer.
8483 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8484 buffer32 and buffer64.
8485 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8486 writes instead of casting of buffer.
8487 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8488 buffer32.
8489 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8490 casting of buffer.
8491
e0e72284
AS
84922011-07-19 Andreas Schwab <schwab@redhat.com>
8493
8494 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8495
feb1eb0b
UD
84962011-07-19 Ulrich Drepper <drepper@gmail.com>
8497
8498 * nscd/nscd.c (termination_handler): Don't do anything for a database
8499 if it has not yet been initialized.
8500
298711ff
UD
85012011-07-18 Ulrich Drepper <drepper@gmail.com>
8502
8503 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8504
85052011-07-15 Marek Polacek <mpolacek@redhat.com>
8506
8507 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8508
f9d68389
UD
85092011-07-18 Ulrich Drepper <drepper@gmail.com>
8510
8511 * po/nl.po: Update from translation team.
8512 * po/sv.po: Likewise.
8513
db290cf5
RM
85142011-07-16 Roland McGrath <roland@hack.frob.com>
8515
8516 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8517 now disallowed by GCC.
5c550700 8518
fd5e21c7
RM
8519 * configure.in (use-default-link): Default to yes if a test -shared
8520 link meets our qualifications.
8521 * configure: Regenerated.
8522
5c550700
RM
8523 * config.make.in (output-format): New variable.
8524 * configure.in: Check for ld --print-output-format support.
8525 * configure: Regenerated.
8526 * Makerules ($(common-objpfx)format.lds)
8527 [$(output-format) != unknown]: Just use $(output-format),
8528 instead of the linker-script munging.
8529
9fa2c032
RM
85302011-07-14 Roland McGrath <roland@hack.frob.com>
8531
a6928d51
RM
8532 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8533 of $(common-objpfx)shlib.lds.
8534 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8535
661607b3
RM
8536 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8537 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8538
9fa2c032
RM
8539 * configure.in (-z relro check): Adjust test code to add a large
8540 writable data section after it.
8541 * configure: Regenerated.
8542
defe9061
RM
85432011-07-11 Roland McGrath <roland@hack.frob.com>
8544
8545 * configure.in (-z relro check): Fix test code to make the variable
8546 truly const.
8547 * configure: Regenerated.
8548
319b9ad4
UD
85492011-07-11 Ulrich Drepper <drepper@gmail.com>
8550
8551 * nscd/nscd.h (struct traced_file): Define.
8552 (struct database_dyn): Remove inotify_descr, reset_res, and filename
8553 elements. Add traced_files.
8554 (inotify_fd): Declare.
8555 (register_traced_file): Declare.
8556 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
8557 (inotify_fd): Export.
8558 (resolv_conf_descr): Remove.
8559 (nscd_init): Move inotify descriptor creation to main.
8560 Don't register files for notification here.
8561 (register_traced_file): New function.
8562 (invalidate_cache): Don't use reset_res to determine whether to call
8563 res_init, go through the list of registered files.
8564 (main_loop_poll): The inotify descriptors are now stored in the
8565 structures for the traced files.
8566 (main_loop_epoll): Likewise
8567 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
8568 to __nss_disable_nscd.
8569 * nscd/cache.c (prune_cache): There is no single inotify descriptor
8570 for a database anymore. Check the records for all the registered
8571 files instead.
8572 * nss/Makefile (libnss_files-routines): Add files-init.
8573 (libnss_db-routines): Add db-init.
8574 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8575 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8576 * nss/nss_db/db-init.c: New file.
8577 * nss/nss_files/files-init.c: New file.
8578 * nss/nsswitch.c (nss_load_library): New function. Broken out of
8579 __nss_lookup_function.
8580 (__nss_lookup_function): Call nss_load_library.
8581 (nss_load_all_libraries): New function.
8582 (__nss_disable_nscd): Take parameter with callback function for files
8583 to register. Set is_nscd. Load all the DSOs for the NSS modules
8584 used for the cached services.
8585 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8586 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8587 options for features to all the files in nscd.
8588
8589 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8590
23bee3e8
RM
85912011-07-10 Roland McGrath <roland@hack.frob.com>
8592
8593 * csu/elf-init.c (__libc_csu_init): Comment typo.
8594
46a5b7f0
UD
85952011-07-09 Ulrich Drepper <drepper@gmail.com>
8596
8597 * po/pl.po: Update from translation team.
8598 * po/ja.po: Likewise.
8599 * po/ru.po: Likewise.
8600 * po/ko.po: Likewise.
8601 * po/fr.po: Likewise.
8602
d30cf5bb
RM
86032011-07-09 Roland McGrath <roland@hack.frob.com>
8604
113ddea4
RM
8605 * configure.in (.ctors/.dtors header and trailer check):
8606 Use an empirical test on a built program.
8607 * configure: Regenerated.
8608
574920b4
RM
8609 * configure.in (-z relro check): Use an empirical test on a built DSO.
8610 Detect, but do not require, on ia64.
8611 * configure: Regenerated.
8612
d30cf5bb
RM
8613 * configure.in (READELF): Find it with AC_CHECK_TOOL.
8614 Update tests that use readelf to use $READELF instead.
8615 * configure: Regenerated.
8616
8538fdb3
UD
86172011-07-08 Ulrich Drepper <drepper@gmail.com>
8618
8619 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8620 if the result is not used.
8621
04d08991
AJ
86222011-07-05 Andreas Jaeger <aj@suse.de>
8623
8624 [BZ#9696]
8625 * stdlib/tst-strtod.c: Add testcase.
8626
de283087
AD
86272011-07-07 Ulrich Drepper <drepper@gmail.com>
8628
4e5f31c8 8629 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 8630 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
8631 The latter has a higher limit. Take additional parameter to pass to
8632 the new function.
8633 (__pathconf): Pass file to __statfs_link_max.
8634 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8635 __statfs_link_max.
8636 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8637 __statfs_link_max.
8638
de283087
AD
8639 [BZ #12868]
8640 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8641 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8642 Handle Lustre.
8643 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8644 (__statfs_filesize_max): Likewise.
8645 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8646
c75fa153
AJ
86472011-07-05 Andreas Jaeger <aj@suse.de>
8648
8649 * resolv/res_comp.c (dn_skipname): Remove unused variable.
8650
1a544854
UD
86512011-07-06 Marek Polacek <mpolacek@redhat.com>
8652
8653 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8654 `status' variable.
8655 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8656 Likewise.
8657
6f0eec67
UD
86582011-07-04 H.J. Lu <hongjiu.lu@intel.com>
8659
8660 * Makefile (strop-tests): Add strncat.
8661 * string/test-strncat.c: New file.
8662
aae30307
UD
86632011-06-30 Marek Polacek <mpolacek@redhat.com>
8664
8665 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8666
c0cfb5eb
UD
86672011-06-21 Andreas Jaeger <aj@suse.de>
8668
8669 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8670 Copy rule from iconvdata/Makefile.
8671
01636b21
UD
86722011-07-06 Ulrich Drepper <drepper@gmail.com>
8673
8674 [BZ #12922]
8675 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8676 but no long options are defined, just return 'W'.
8677
9895c8bc
UD
86782011-06-22 Marek Polacek <mpolacek@redhat.com>
8679
8680 [BZ #9696]
8681 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8682
5d4cf042
UD
86832011-07-06 Ulrich Drepper <drepper@gmail.com>
8684
8685 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8686 netgroups to read.
960e5535 8687 (innetgr): Likewise.
5d4cf042 8688
751eb97e
RM
86892011-07-05 Roland McGrath <roland@hack.frob.com>
8690
8691 * config.make.in (install_root): Default to $(DESTDIR).
8692
f15f1e45
UD
86932011-07-05 Ulrich Drepper <drepper@gmail.com>
8694
8695 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8696
4e34ac6a
RM
86972011-07-02 Roland McGrath <roland@hack.frob.com>
8698
5e9b6af4
RM
8699 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8700
84f9ea0f
RM
8701 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8702 containing directory rather than embedding absolute directory names.
8703
ea5ee9f7
RM
8704 * scripts/check-local-headers.sh: Rewritten using awk.
8705 Match by word, not by line. Print error messages for matches.
8706 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8707
1b74661a
RM
8708 * Makerules [shlib-lds-flags empty]:
8709 ($(common-objpfx)libc_pic.opts): New target.
8710 ($(common-objpfx)libc_pic.os.clean): New target.
8711 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8712
8713 * config.make.in (OBJCOPY): New variable.
8714 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8715 * configure: Regenerated.
8716
f781ef40
RM
8717 * config.make.in (use-default-link): New variable.
8718 * configure.in (use_default_link): Grok --with-default-link to set it.
8719 * configure: Regenerated.
8720 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8721 (shlib-lds, shlib-lds-flags): Define to empty.
8722
2d4fa81e
RM
8723 * Makerules (shlib-lds): New variable.
8724 (shlib-lds-flags): New variable.
8725 (build-shlib, build-moduile, build-module-asneeded): Use it.
8726 ($(common-objpfx)libc.so): Use $(shlib-lds).
8727 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8728 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8729
31fffa6b
RM
8730 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8731 DT_FLAGS/DT_FLAGS_1 with zero flags.
8732
4e34ac6a
RM
8733 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8734 linker script munging.
8735
fcfc776b
UD
87362011-07-02 Ulrich Drepper <drepper@gmail.com>
8737
8738 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8739 as 128-bit value.
8740 * crypt/sha512.c (sha512_process_block): Perform total addition using
8741 128-bit if possible.
8742 (__sha512_finish_ctx): Likewise.
8743 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8744 as 64-bit value.
8745 * crypt/sha256.c (SWAP64): Define.
8746 (sha256_process_block): Perform total addition using 64-bit if
8747 possible.
8748 (__sha256_finish_ctx): Likewise.
8749
99231d9a
UD
87502011-07-01 Ulrich Drepper <drepper@gmail.com>
8751
8752 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
8753 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8754 * nscd/hstcache.c (cache_addhst): Likewise.
8755 * nscd/grpcache.c (cache_addgr): Likewise.
8756 * nscd/aicache.c (addhstaiX): Likewise
8757 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8758
445b4a53
TK
87592011-07-01 Thorsten Kukuk <kukuk@suse.de>
8760
8761 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8762 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8763 * nscd/hstcache.c (cache_addhst): Likewise.
8764 * nscd/grpcache.c (cache_addgr): Likewise.
8765 * nscd/aicache.c (addhstaiX): Likewise
8766
6d4d8e8e
AS
87672011-07-01 Andreas Schwab <schwab@redhat.com>
8768
8769 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8770 domain only when needed.
8771
89f654c5
AS
87722011-06-30 Andreas Schwab <schwab@redhat.com>
8773
8774 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8775 is always restored.
8776
cf3b23ff
UD
87772011-06-29 Ulrich Drepper <drepper@gmail.com>
8778
8779 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8780 are re-adding the entry.
8781 * nscd/servicescache.c (cache_addserv): Likewise.
8782
751626f9
AJ
87832011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8784
8785 * sysdeps/generic/dl-irel.h: fix protection against multiple
8786 inclusions.
8787 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8788
9113ea1f
UD
87892011-06-28 Ulrich Drepper <drepper@gmail.com>
8790
5c0b8d90
UD
8791 [BZ #12935]
8792 * malloc/memusage.sh: Fix quoting in message.
8793 * debug/xtrace.sh: Likewise.
8794
9113ea1f
UD
8795 * configure.in: Remove support for --experimental-malloc option, make
8796 it the default.
8797 * config.make.in: Likewise.
8798 * malloc/Makefile: Likewise.
8799
a4172181
AS
88002011-06-27 Andreas Schwab <schwab@redhat.com>
8801
8802 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8803 two-byte characters.
8804
78a7eee7
RM
88052011-06-27 Roland McGrath <roland@hack.frob.com>
8806
62bede13
RM
8807 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8808 AC_CACHE_CHECK invocation.
8809 * configure: Regenerated.
8810
78a7eee7
RM
8811 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8812
5ce33a62
UD
88132011-06-27 Ulrich Drepper <drepper@gmail.com>
8814
034807a9
UD
8815 [BZ #12350]
8816 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8817 bit from old_res_options.
8818
4902da17
UD
8819 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8820
5ce33a62
UD
8821 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8822 value type for setfct.
8823
c2344f56
L
88242011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8825
8826 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8827 __gettimeofday instead of gettimeofday.
8828
68468076
UD
88292011-06-26 Ulrich Drepper <drepper@gmail.com>
8830
8831 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8832
acb0d739
L
88332011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8834
8835 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8836
8837 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8838 info.
8839
8912479f
L
88402011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8841
8842 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8843 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8844 strcpy-sse2-unaligned strncpy-sse2-unaligned
8845 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8846 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8847 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8848 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8849 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8850 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8851 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8852 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8853 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8854 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8855 (STRCPY): Support SSE2 and SSSE3 versions.
8856
d5495a11
UD
88572011-06-24 Ulrich Drepper <drepper@gmail.com>
8858
8859 [BZ #12874]
8860 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8861 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8862 kernels which artificially limit size of requests.
8863
0b1cbaae
L
88642011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8865
8866 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8867 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8868 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8869 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8870 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8871 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8872 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8873 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8874 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8875 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8876 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8877 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8878 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8879 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8880 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8881 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8882 Enable unaligned load optimization for Intel Core i3, i5 and i7
8883 processors.
8884 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8885 Define.
8886 (index_Fast_Unaligned_Load): Define.
8887 (HAS_FAST_UNALIGNED_LOAD): Define.
8888
07f494a0
MP
88892011-06-23 Marek Polacek <mpolacek@redhat.com>
8890
8891 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8892
fa3fc0fe
UD
88932011-06-22 Ulrich Drepper <drepper@gmail.com>
8894
8895 [BZ #12907]
8896 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8897 until it is clear that the information is realy needed.
8898 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8899
e12df166
AS
89002011-06-22 Andreas Schwab <schwab@redhat.com>
8901
8902 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8903
852eb34d
UD
89042011-06-22 Ulrich Drepper <drepper@gmail.com>
8905
84e2a551
UD
8906 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8907 /sys/devices/system/cpu/online if it is usable.
8908
852eb34d
UD
8909 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8910 reading the information from the /proc filesystem to once a second.
8911
6e502e19
UD
89122011-06-21 Andreas Jaeger <aj@suse.de>
8913
8914 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8915 NULL after inclusion of kernel headers.
8916
75d39ff2
UD
89172011-06-21 Ulrich Drepper <drepper@gmail.com>
8918
51f9aa6a
UD
8919 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8920 calls to internal_setent.
8921
c0244a9d
UD
8922 [BZ #12885]
8923 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8924 addresses using gethostbyname4_r ignore IPv4 addresses.
8925
c5e3c2ae
UD
8926 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8927 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8928
75d39ff2
UD
8929 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8930
42675c6f
DM
89312011-06-20 David S. Miller <davem@davemloft.net>
8932
8933 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8934 inclusions.
8935 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8936
8937 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8938 (elf_irel): Use it.
8939 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8940 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8941 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8942 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8943 * sysdeps/x86_64/dl-irel.h: Likewise.
8944
8945 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8946 * elf/dl-sym.c: Likewise.
8947
57912a71
UD
89482011-06-15 Ulrich Drepper <drepper@gmail.com>
8949
8950 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8951 need to dereference resplen2.
8952
ee22793d
AS
89532011-06-14 Andreas Schwab <schwab@redhat.com>
8954
8955 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8956
a9e836b0
UD
89572011-06-15 Ulrich Drepper <drepper@gmail.com>
8958
77fb9117
UD
8959 * Makeconfig: Define vardbdir and inst_vardbdir.
8960 * nss/Makefile: Add rules to install db-Makefile.
8961
40c1b22c
UD
8962 * nss/nss_db/db-XXX.c: Cleanup.
8963
9f2da732
UD
8964 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8965 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8966 GLIBC_PRIVATE.
8967 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8968 * nss/makedb.c: Implement -g option to specify that value strings
8969 are generated and should not be added to table iterated over for
8970 get*ent calls.
8971 * nss/nss_db/db-initgroups.c: New file.
8972
82e9a1f7
UD
8973 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8974 interface.
8975
c41af17e
UD
8976 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8977 (internal_getgrouplist): Adjust to name change.
8978 Update use_initgroups_entry if this is not the first call.
8979 * nss/databases.def: Add initgroups entry.
8980
a9e836b0
UD
8981 * nss/makedb.c (compute_tables): Check result of multiple hash table
8982 sizes to minimize maximum chain length.
8983
2666d441
UD
89842011-06-14 Ulrich Drepper <drepper@gmail.com>
8985
8986 * Versions.def: Add entry for libnss_db.
8987 * shlib-versions: Likewise.
8988 * nss/Makefile: Add rules to build libnss_db.
8989 * nss/Versions: Add libnss_db information. Organize libnss_files
8990 entries better.
8991 * nss/db-Makefile: Add gshadow support. Change rules for the new
8992 makedb progra. Some minor improvements to generate smaller files.
8993 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8994 here from...
8995 * nss/makedb.c: ...here.
8996 Improve database format to be smaller and require less memory at
8997 runtime.
8998 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8999 db anymore.
9000 * nss/nss_db/db-netgrp.c: Likewise.
9001 * nss/nss_db/db-open.c: Likewise.
9002 * nss/nss_files/flies-XXX.x: Adjust comments.
9003 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
9004 * nss/nss_files/files-grp.c: Likewise.
9005 * nss/nss_files/files-hosts.c: Likewise.
9006 * nss/nss_files/files-network.c: Likewise.
9007 * nss/nss_files/files-proto.c: Likewise.
9008 * nss/nss_files/files-pwd.c: Likewise.
9009 * nss/nss_files/files-rpc.c: Likewise.
9010 * nss/nss_files/files-service.c: Likewise.
9011 * nss/nss_files/files-sgrp.c: Likewise.
9012 * nss/nss_files/files-spwd.c: Likewise.
9013 * nss/nss_db/db-alias.c: Removed.
9014 * nss/nss_db/dummy-db.h: Removed.
9015
9ee76b5a
UD
90162011-06-02 Ulrich Drepper <drepper@gmail.com>
9017
9018 * nss/makedb.c: Rewritten to not use database library.
9019 * nss/Makefile: Update to build new makedb program.
9020
c71ca1f8
AJ
90212011-06-14 Andreas Jaeger <aj@suse.de>
9022
9023 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
9024 memset declaration.
9025
3154bfb8
UD
90262011-06-10 Andreas Schwab <schwab@redhat.com>
9027
9028 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
9029 tmpbuf.
9030
b350afab
RM
90312011-06-10 Roland McGrath <roland@hack.frob.com>
9032
decd4e50
RM
9033 * Makerules (shlib.lds): Fail if the linker script comes out empty.
9034 * elf/Makefile ($(objpfx)ld.so): Likewise.
9035
5615eaf2
RM
9036 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
9037 Don't list ld.so twice in dependencies.
9038
9039 * posix/bug-regex31.c: Include <stdlib.h>.
9040
9041 * nscd/hstcache.c (cache_addhst): Remove unused variable.
9042
9043 * nis/nss_compat/compat-spwd.c
9044 (getspent_next_nss_netgr): Remove unused variable.
9045 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
9046
9047 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
9048 nonmembers" output to use the right array.
9049
9050 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
9051
9052 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
9053
9054 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
9055 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
9056 * catgets/gencat.c (read_input_file): Likewise.
9057 * locale/programs/locarchive.c (enlarge_archive): Likewise.
9058
9059 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
9060 variable definition inside #if's controlling its use.
9061
9062 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
9063
9064 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
9065
9066 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
9067
9068 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
9069 unreachable code.
9070
9071 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
9072
b68e08db
RM
9073 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
9074 * configure: Regenerated.
9075
b350afab
RM
9076 * Makerules: Revert last change.
9077 * elf/Makefile: Likewise.
9078
28368601
RM
90792011-06-09 Roland McGrath <roland@hack.frob.com>
9080
9081 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
9082 * elf/Makefile ($(objpfx)librtld.os): Likewise.
9083 (reloc-link): Likewise.
9084
11988f8f
UD
90852011-06-09 Ulrich Drepper <drepper@gmail.com>
9086
9087 * elf/Makefile: Add rules to build pldd.
9088 * elf/pldd.c: New file.
9089 * elf/pldd-xx.c: New file.
9090
e80fab37
UD
90912011-06-07 Ulrich Drepper <drepper@gmail.com>
9092
9093 * version.h: Update for 2.15 development version.
9094
9b849836
DM
90952011-06-07 David S. Miller <davem@davemloft.net>
9096
9097 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
9098 ifuncs.
9099 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
9100 elf_machine_lazy_rel): Likewise.
9101 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9102 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
9103 elf_machine_lazy_rel): Likewise.
9104 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
9105 dl_hwcap via passed in argument.
9106 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
9107 Likewise.
9108
5a31b283
AK
91092011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9110
9111 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
9112
069e52f8
RM
91132011-06-06 Roland McGrath <roland@hack.frob.com>
9114
9115 [BZ #12849]
9116 * manual/fdl-1.1.texi: New file, verbatim from:
9117 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
9118 * manual/lgpl-2.1.texi: New file, verbatim from:
9119 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
9120 * manual/Makefile (licenses): New variable, list those new file names.
9121 (texis): Use it.
9122 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
9123
9124 * manual/fdl.texi: File removed.
9125 * manual/lesser.texi: File removed.
9126 * manual/libc.texinfo (Copying, Documentation License):
9127 Use new @include file names, put @appendix directive before @include.
9128
f16846a5
JJ
91292011-06-04 Jakub Jelinek <jakub@redhat.com>
9130
9131 [BZ #12841]
9132 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
9133 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
9134 (mq_open): Add __NTH.
9135
3d29045b
L
91362011-06-02 H.J. Lu <hongjiu.lu@intel.com>
9137
9138 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9139 Assume Intel Core i3/i5/i7 processor if AVX is available.
9140
8c297311
UD
91412011-05-31 Ulrich Drepper <drepper@gmail.com>
9142
9143 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9144 typo.
9145
c8fc0c91
UD
91462011-05-31 Andreas Schwab <schwab@redhat.com>
9147
9148 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
9149 memory. Use alloca_account. Fix memory leak when retrying.
9150
5b27a807
UD
91512011-05-31 Ulrich Drepper <drepper@gmail.com>
9152
356f8bc6
UD
9153 * version.h (RELEASE): Bump for 2.14 release.
9154 * include/features.h (__GLIBC_MINOR__): Bump to 14.
9155
5b27a807
UD
9156 * config.make.in (RANLIB): Remove entry.
9157
01f16ab0
UD
91582011-05-30 Ulrich Drepper <drepper@gmail.com>
9159
41fce8bd
UD
9160 * po/Makefile (po-sed-cmd): Add ksh to extensions.
9161 (libc.pot): Work around missing support for .ksh extension in xgettext.
9162
4769ae77
UD
9163 [BZ #12684]
9164 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
9165 if both request failed.
9166 (send_dg): In case of server errors clear resplen or *resplen2.
9167
6b1e7d19
UD
9168 [BZ #12454]
9169 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
9170 when there are multiple maps.
9171 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
9172 (_dl_fini): Remove test here.
9173
01f16ab0
UD
9174 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
9175
b1ebd700
UD
91762011-05-29 Ulrich Drepper <drepper@gmail.com>
9177
7ae22829
UD
9178 [BZ #12350]
9179 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
9180 bit from old_res_options.
9181 (gaih_inet): Likewise.
9182
553149f6 9183 [BZ #11099]
18a84741 9184 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
9185 as signed.
9186
652ffab1
UD
9187 * resolv/res_init.c (res_setoptions): Make the code more compact.
9188
16985fd0
UD
9189 [BZ #11558]
9190 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
9191 set RES_USEVC.
9192
0464f746
UD
9193 [BZ #11634]
9194 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
9195
7d17596c
UD
9196 * malloc/malloc.h: Mark malloc hook variables as deprecated.
9197
cf6bbbd7
UD
9198 [BZ #11781]
9199 * malloc/malloc.h: Declare malloc hook variables as volatile.
9200
13f1ab36
UD
9201 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
9202 in last patch.
9203
b1ebd700
UD
9204 [BZ #11799]
9205 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 9206 raise in the comment.
80e2212d
UD
9207 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9208 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9209 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 9210
ce67228d
UD
92112011-05-28 Ulrich Drepper <drepper@gmail.com>
9212
8887a920
UD
9213 [BZ #12811]
9214 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
9215 grow the buffers more if it already has to be sufficient.
9216 (build_wcs_upper_buffer): Likewise.
9217 * posix/regexec.c (check_matching): Likewise.
9218 (clean_state_log_if_needed): Likewise.
9219 (extend_buffers): Don't enlarge buffers beyond size of the input
9220 buffer.
9221 Patches mostly by Emil Wojak <emil@wojak.eu>.
9222 * posix/bug-regex32.c: New file.
9223 * posix/Makefile (tests): Add bug-regex32.
9224
4f031072
UD
9225 * locale/findlocale.c (_nl_find_locale): Return right away if
9226 _nl_explode_name failed.
9227 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9228
d0478f0c
UD
9229 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
9230
de81b246
UD
9231 * debug/xtrace.sh: Unify messages.
9232 * malloc/memusage.sh: Likewise.
9233
c738465a
UD
9234 [BZ #12813]
9235 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
9236 time symbol from vDSO. Substitute with vsyscall if not available.
9237 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
9238 __vdso_time.
9239
f1f929d7
UD
9240 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
9241 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
9242 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
9243 Add sendmmsg and internal_sendmmsg.
9244 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
9245 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
9246 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
9247
ce67228d
UD
9248 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
9249 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
9250 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
9251
e57420c6
UD
92522011-05-27 Ulrich Drepper <drepper@gmail.com>
9253
a8509ca5
UD
9254 [BZ #12813]
9255 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
9256 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
9257 available.
9258 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
9259 __vdso_getcpu.
9260
e57420c6
UD
9261 [BZ #12814]
9262 * iconvdata/Makefile (tests): Add bug-iconv9.
9263 * iconvdata/bug-iconv9.c: New file.
9264
4d07db15
AS
92652011-05-27 Andreas Schwab <schwab@redhat.com>
9266
9267 [BZ #12814]
9268 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
9269
ea486f69
JJ
92702011-05-25 Jakub Jelinek <jakub@redhat.com>
9271
9272 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9273 (struct user_regs_struct): Change intcs field back to cs.
9274
6f038433
UD
92752011-05-25 Ulrich Drepper <drepper@gmail.com>
9276
9277 * po/ja.po: Update from translation team.
9278
67f86a25
UD
92792011-05-23 Ulrich Drepper <drepper@gmail.com>
9280
9281 [BZ #12795]
9282 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
9283 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
9284
def7fbd6
AS
92852011-05-20 Andreas Schwab <schwab@redhat.com>
9286
9287 * stdlib/longlong.h: Update from GCC.
9288
f50ef8f1
AS
92892011-05-23 Andreas Schwab <schwab@redhat.com>
9290
9291 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
9292 parameter name.
9293 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
9294 Add parameter name.
9295 (__sysconf): Pass it down.
9296
de7ce8f1
UD
92972011-05-22 Ulrich Drepper <drepper@gmail.com>
9298
f2962a71
UD
9299 [BZ #12671]
9300 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
9301 some situations.
9302 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9303 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
9304 add in in __libc_use_alloca calls. Adjust callers.
9305 (glob): Use malloc in some situations.
9306
de7ce8f1
UD
9307 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
9308 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
9309 pltexit.
9310
aec84f53
UD
93112011-05-21 Ulrich Drepper <drepper@gmail.com>
9312
05bb4a68
UD
9313 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
9314 and CLOCK_BOOTTIME_ALARM.
9315
7ea72f99
UD
9316 [BZ #12782]
9317 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
9318 is returned.
9319
7e4afad5
UD
9320 * string/_strerror.c (__strerror_r): Print negative errors as signed
9321 numbers.
9322
8e211fec
UD
9323 [BZ #12777]
9324 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
9325 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
9326 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
9327
f7d82dc9
UD
9328 * configure.in: Fix typo in redirection and correct removal of test
9329 files in two cases.
9330
cc9e536d
UD
9331 [BZ #12788]
9332 * locale/setlocale.c (new_composite_name): Fix test to check for
9333 identical name of all categories.
9334
aec84f53
UD
9335 [BZ #12792]
9336 * libio/filedoalloc.c (local_isatty): New function.
9337 (_IO_file_doallocate): Use local_isatty.
9338 * stdio-common/perror.c (perror): In case a new stream is used
9339 forward the stream error.
9340 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
9341 error flag.
9342
78e64fdc
RT
93432011-05-20 Ulrich Drepper <drepper@gmail.com>
9344
34a9094f
UD
9345 [BZ #11869]
9346 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
9347 alloca.
9348 * include/alloca.h (extend_alloca_account): Define.
9349
78e64fdc
RT
9350 [BZ #11857]
9351 * posix/regex.h: Fix comments with documentation of user-accessible
9352 fields after compilation and describe correct free'ing of pattern
9353 after re_compile_pattern.
9354 Patch by Reuben Thomas <rrt@sc3d.org>.
9355
457bddfc
RA
93562011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
9357
9358 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
9359 and -mno-altivec to prevent the compiler from using Altivec and/or
9360 VSX instructions when the corresponding registers are not available.
9361
a4527b51
AS
93622011-05-19 Andreas Schwab <schwab@redhat.com>
9363
9364 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
9365
ed690b2f
UD
93662011-05-19 Ulrich Drepper <drepper@gmail.com>
9367
9368 * libio/freopen.c (freopen): Use __dup2, not dup2.
9369 * libio/freopen64.c (freopen64): Likewise.
9370
8db73634
L
93712011-05-17 H.J. Lu <hongjiu.lu@intel.com>
9372
9373 [BZ #12775]
9374 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
9375 * math/Makefile (tests): Add test-powl.
9376 (CFLAGS-test-powl.c): Define.
9377 * math/test-powl.c: New file.
9378
0a197a9d
L
93792011-05-16 H.J. Lu <hongjiu.lu@intel.com>
9380
9381 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
9382
ee30c380
UD
93832011-05-17 Ulrich Drepper <drepper@gmail.com>
9384
9385 [BZ #11837]
9386 * iconvdata/gb18030.c: Update to GB18020-2005.
9387
6ce75379
UD
93882011-05-16 Ulrich Drepper <drepper@gmail.com>
9389
a4b89fd8
AR
9390 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
9391 RE_SYNTAX_POSIX_AWK): Update to match recent development.
9392 Patch by Aharon Robbins <arnold@skeeve.com>.
9393
ea389b12
UD
9394 [BZ #11892]
9395 * stdlib/putenv.c (putenv): Don't always create copy of the variable
9396 on the stack.
9397
68a3f91f
UD
9398 [BZ #11895]
9399 * misc/pselect.c (__pselect): Handle timeout value errors hidden
9400 through underflows.
9401
15cc7dd1
UD
9402 [BZ #12766]
9403 * misc/error.c (error_at_line): Ensure file_name and old_file_name
9404 point to strings before performing equality test for error_one_per_line
9405 mode.
9406
f3799213
UD
9407 [BZ #11697]
9408 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
9409
d79a9c94
UD
9410 [BZ #11820]
9411 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9412 (struct user_fpregs_struct): Avoid __uint*_t types.
9413
56e5eb46
UD
9414 [BZ #6420]
9415 * malloc/mtrace.c (tr_where): Add additional parameter to point to
9416 symbol info. Use it instead of calling _dl_addr locally.
9417 (lock_and_info): New function.
9418 (tr_freehook): Call lock_and_info and pass symbol info as additional
9419 parameter to tr_where.
9420 (tr_mallochook): Likewise.
9421 (tr_reallochook): Likewise.
9422 (tr_memalignhook): Likewise.
9423
6ce75379
UD
9424 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
9425 used and couldn't be at all thread-safe.
9426
f8a3b5bf
UD
94272011-05-15 Ulrich Drepper <drepper@gmail.com>
9428
94b7cc37
UD
9429 * libio/freopen.c (freopen): Don't close old file descriptor
9430 before the new one is opened. Instead dup the new file descriptor
9431 to the old one after the new stream is created.
9432 * libio/freopen64.c (freopen64): Likewise.
9433 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9434 * libio/fileops.c (_IO_new_file_close_it): Handle new
9435 _IO_FLAGS2_NOCLOSE flag.
9436 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9437 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9438 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9439 _IO_FLAGS2_NOCLOSE flag.
9440 * include/unistd.h: Add hidden_proto for dup3.
9441 Define __have_dup3.
9442 * io/dup3.c: Define hidden symbol.
9443 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9444
bd25564e
UD
9445 [BZ #7101]
9446 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9447 when an incomplete long option is used.
9448 * posix/tst-getopt_long1.c: New file.
9449 * posix/Makefile (tests): Add tst-getopt_long1.
9450
c84cfef4
UD
9451 [BZ #10138]
9452 * scripts/config.guess: Update from autoconf-2.68.
9453 * scripts/config.sub: Likewise.
9454
3b85df27
UD
9455 [BZ #10157]
9456 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9457 tests into ...
9458 (has_cpuclock): ...this. New function.
9459 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9460 macro here based on has_cpuclock code.
9461
15a856b1
UD
9462 [BZ #10149]
9463 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9464 First byte (not low byte) is now always NUL.
9465 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9466
05f399e6
UD
9467 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9468 Use non-cancelable interfaces.
9469
10a52685 9470 [BZ #9809]
94ecc67d
UD
9471 * locale/iso-639.def: Add entry for Sorani.
9472
f8a3b5bf
UD
9473 [BZ #11901]
9474 * include/stdlib.h: Move include protection to the right place.
9475 Define abort_msg_s. Declare __abort_msg with it.
9476 * stdlib/abort.c (__abort_msg): Adjust type.
9477 * assert/assert.c (__assert_fail_base): New function. Majority
9478 of code from __assert_fail. Allocate memory for __abort_msg with
9479 mmap.
9480 (__assert_fail): Now call __assert_fail_base.
9481 * assert/assert-perr.c: Remove bulk of implementation. Use
9482 __assert_fail_base.
9483 * include/assert.hL Declare __assert_fail_base.
9484 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9485 mmap.
9486 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9487
1af4e298
UD
94882011-05-14 Ulrich Drepper <drepper@gmail.com>
9489
f8a3b5bf 9490 [BZ #11952]
d26dfc60
MG
9491 [BZ #12453]
9492 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9493 until all modules are registered in the DTV.
9494 * elf/Makefile: Add rules to build and run tst-tls19.
9495 * elf/tst-tls19.c: New file.
9496 * elf/tst-tls19mod1.c: New file.
9497 * elf/tst-tls19mod2.c: New file.
9498 * elf/tst-tls19mod3.c: New file.
9499 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9500
2fc54d6f
UD
9501 [BZ #12083]
9502 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9503 correctly.
9504
98d76b46
UD
9505 [BZ #12601]
9506 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9507 two-byte sequence errors.
9508 * iconvdata/Makefile (tests): Add bug-iconv8.
9509 * iconvdata/bug-iconv8.c: New file.
9510
da3c19ef
UD
9511 [BZ #12626]
9512 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9513 buf2 definition.
9514
ca408c15
UD
9515 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9516
d6f67f7d
UD
9517 [BZ #12432]
9518 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9519 (dummy_getcfa): New function.
9520 (init): Get _Unwind_GetCFA address, use dummy if not found.
9521 (backtrace_helper): In recursion check, also check whether CFA changes.
9522 (__backtrace): Completely initialize arg.
9523
1af4e298 9524 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
9525 storing incomplete byte sequence in state object. Avoid testing for
9526 guaranteed too small input if we know there is enough data available.
1af4e298 9527
da62f81b
AS
95282011-05-11 Andreas Schwab <schwab@redhat.com>
9529
9530 * Makeconfig (+link-pie): Indent.
9531 * Rules (binaries-pie): Define if $(have-fpie) and
9532 $(build-shared).
9533 (binaries-shared): Also filter out $(binaries-pie).
9534 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9535 * nscd/Makefile (others-pie): Add nscd.
9536 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9537 ($(objpfx)nscd): Remove command override.
9538 * login/Makefile (others-pie): Add pt_chown.
9539 ($(objpfx)pt_chown): Remove command override.
9540 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9541 remove command overrides.
9542
fcabc0f8
UD
95432011-05-13 Ulrich Drepper <drepper@gmail.com>
9544
20030ae6
UD
9545 * libio/tst_putwc.c: Fix error messages.
9546
fcabc0f8
UD
9547 [BZ #12724]
9548 * libio/fileops.c (_IO_new_file_close_it): Always flush when
9549 currently writing and seek to current position when not.
9550 * libio/Makefile (tests): Add bug-fclose1.
9551 * libio/bug-fclose1.c: New file.
9552
320a5dc0
PB
95532011-05-12 Ulrich Drepper <drepper@gmail.com>
9554
9555 [BZ #12511]
9556 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
9557 don't set DF_1_NODELETE here.
9558 (do_lookup_x): When entering new entry test for copy relocation
9559 and if necessary set DF_1_NODELETE flag.
9560 * elf/tst-unique4.cc: New file.
9561 * elf/tst-unique4.h: New file.
9562 * elf/tst-unique4lib.cc: New file.
9563 * elf/Makefile: Add rules to build and run tst-unique4.
9564 Patch by Piotr Bury <pbury@goahead.com>.
9565
22836f52
UD
95662011-05-11 Ulrich Drepper <drepper@gmail.com>
9567
f574184a
UD
9568 [BZ #12052]
9569 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9570
e1fb097f
UD
9571 [BZ #12625]
9572 * misc/mntent_r.c (addmntent): Flush the stream after the output
9573
22836f52
UD
9574 [BZ #12393]
9575 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9576 (is_trusted_path_normalize): Skip initial colon. Append slash
9577 to empty buffer. Duplicate is_trusted_path code but allow
9578 constructed patch to be prefix.
9579 (is_dst): Allow $ORIGIN followed by /.
9580 (_dl_dst_substitute): Correct clearing of check_for_trusted.
9581 Correct testing of result of is_trusted_path_normalize
9582 (decompose_rpath): Fix warning.
9583
7b3b0b2a
UD
95842011-05-10 Ulrich Drepper <drepper@gmail.com>
9585
9586 [BZ #11257]
9587 * grp/initgroups.c (internal_getgrouplist): When we found the service
9588 list through the initgroups entry in nsswitch.conf do not always
9589 continue on a successful lookup. Don't always use the
eac80ce2 9590 __nss_group_database value if it is set.
7b3b0b2a
UD
9591 * nss/nsswitch.conf (initgroups): Change action for successful db
9592 lookup to continue for compatibility.
9593
2a81eaa5
UD
95942011-05-09 Ulrich Drepper <drepper@gmail.com>
9595
be97a69e
UD
9596 [BZ #11532]
9597 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9598 and CP774 modules.
9599 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9600 and CP774 modules.
9601 * iconvdata/tst-tables.sh: Likewise.
9602 * iconvdata/cp770.c: New file.
9603 * iconvdata/cp771.c: New file.
9604 * iconvdata/cp772.c: New file.
9605 * iconvdata/cp773.c: New file.
9606 * iconvdata/cp774.c: New file.
9607 * iconvdata/testdata/CP770: New file.
9608 * iconvdata/testdata/CP770..UTF8: New file.
9609 * iconvdata/testdata/CP771: New file.
9610 * iconvdata/testdata/CP771..UTF8: New file.
9611 * iconvdata/testdata/CP772: New file.
9612 * iconvdata/testdata/CP772..UTF8: New file.
9613 * iconvdata/testdata/CP773: New file.
9614 * iconvdata/testdata/CP773..UTF8: New file.
9615 * iconvdata/testdata/CP774: New file.
9616 * iconvdata/testdata/CP774..UTF8: New file.
9617
9618 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9619 END CHARMAP line.
9620 * iconvdata/gen-8bit-gap.sh: Likewise.
9621 * iconvdata/gen-8bit.sh: Likewise.
9622
c1e9e399
UD
9623 * locale/iso-639.def: Add ary entry.
9624
24c55fb3 9625 [BZ #11258]
96b4b1b0
UD
9626 * locale/C-translit.h.in: Add U20A1 transliteration.
9627
bdc2f971
KB
9628 [BZ #12178]
9629 * locale/iso-639.def: Add wae entry.
9630 Patch by Kevin Bortis <bortis@translate-wae.ch>.
9631
2952b117
UD
9632 [BZ #12545]
9633 * locale/programs/localedef.c (construct_output_path): Use ssize_t
9634 for n.
9635
2a81eaa5
UD
9636 [BZ #12711]
9637 * locale/C-translit.h.in: Add entry for U20B9.
9638 Patch by pravin.d.s@gmail.com.
9639
28377d1b
UD
96402011-05-08 Ulrich Drepper <drepper@gmail.com>
9641
7fb90fb8
UD
9642 [BZ #12713]
9643 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9644 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
9645 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
9646 in rtld. Use *stat64.
7fb90fb8 9647 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 9648 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 9649 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
9650 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9651 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9652 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9653 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9654 __fstatat64 macros.
7fb90fb8
UD
9655 * include/dirent.h: Add libc_hidden_proto for rewinddir.
9656 * dirent/rewinddir.c: Add libc_hidden_def.
9657 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 9658 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 9659
28377d1b
UD
9660 * include/dirent.h (__alloc_dir): Add flags parameter.
9661 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9662 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9663 __alloc_dir.
9664 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
9665 from fdopendir if O_CLOEXEC is already set.
9666
66bdbaa4
AM
96672011-03-15 Alan Modra <amodra@gmail.com>
9668
9669 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9670 l_tls_firstbyte_offset non-zero. Save padding offset in
9671 l_tls_firstbyte_offset for later use.
9672 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9673 freeing static tls block.
9674
95721191
JN
96752011-03-05 Jonathan Nieder <jrnieder@gmail.com>
9676
9677 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9678 where #ifdef was intended. The intent is to prevent ARG_MAX from
9679 being defined by the kernel headers.
9680
f87dfb1f
UD
96812011-05-07 Ulrich Drepper <drepper@gmail.com>
9682
9683 [BZ #12734]
9684 * resolv/resolv.h: Define RES_NOTLDQUERY.
9685 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9686 no-tld-query and set RES_NOTLDQUERY.
9687 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9688 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9689 modern BIND to search name as TLD unless forbidden.
9690
47c3cd7a
UD
96912011-05-07 Petr Baudis <pasky@suse.cz>
9692 Ulrich Drepper <drepper@gmail.com>
9693
9694 [BZ #12393]
9695 * elf/dl-load.c (fillin_rpath): Move trusted path check...
9696 (is_trusted_path): ...to here.
c1e9ea35 9697 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 9698 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 9699 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 9700
8a35c912
PP
97012011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9702
9703 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9704 __BEGIN/__END_DECLS.
9705
acd41f47
UD
97062011-05-06 Ulrich Drepper <drepper@gmail.com>
9707
9708 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9709 NSS_STATUS_NOTFOUND if no record was found.
9710
597df647
AS
97112011-05-05 Andreas Schwab <schwab@redhat.com>
9712
9713 * sunrpc/Makefile (headers): Add rpc/netdb.h.
9714 (headers-not-in-tirpc): Remove rpc/netdb.h
9715 * resolv/netdb.h: Revert last change.
9716
b9af1301
PP
97172011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9718
9719 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9720 circular dependency between libgcc.a and libc.a.
9721
4e34d5f5
AS
97222011-05-05 Andreas Schwab <schwab@redhat.com>
9723
9724 * resolv/netdb.h: Don't include <rpc/netdb.h>.
9725 * nis/Makefile: Don't install rpcsvc/*.
9726 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9727 instead of <rpc/types.h>.
9728 (MAXHOSTNAMELEN): Define.
9729
00ee369c
AS
97302011-05-03 Andreas Schwab <schwab@redhat.com>
9731
9732 * elf/ldconfig.c (add_dir): Don't crash on empty path.
9733
0b592a30
MB
97342011-04-28 Maciej Babinski <mbabinski@google.com>
9735
9736 [BZ #12714]
9737 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9738 gethostbyname4_r when IPv6 results are possible.
9739
6e04cbbe
UD
97402011-05-02 Ulrich Drepper <drepper@gmail.com>
9741
9742 [BZ #12723]
9743 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9744 _PC_PIPE_BUF handling.
9745
e4ecafe0
BH
97462011-04-30 Bruno Haible <bruno@clisp.org>
9747
9748 [BZ #12717]
9749 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9750 * resolv/netdb.h (getnameinfo): Change type of flags parameter
9751 to 'int'.
9752 * inet/getnameinfo.c (getnameinfo): Likewise.
9753
125ee683
UD
97542011-04-29 Ulrich Drepper <drepper@gmail.com>
9755
9756 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9757 to groups setting in database lookup.
9758 * nss/nsswitch.conf: Add initgroups entry.
9759
b722481a
EB
97602011-04-22 Ulrich Drepper <drepper@gmail.com>
9761
9762 [BZ #12685]
9763 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9764 mode string.
9765 Patch by Eric Blake <eblake@redhat.com>.
9766
4df46dbd
L
97672011-04-20 H.J. Lu <hongjiu.lu@intel.com>
9768
9769 * sunrpc/Makefile (need-export-routines): Add svc_run.
9770 (routines): Remove svc_run.
9771 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9772 * sunrpc/clnt_perr.c (clnt_perrno): Export.
9773 * sunrpc/svc_run.c (svc_run): Likewise.
9774 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9775
e84142d2
UD
97762011-04-21 Ulrich Drepper <drepper@gmail.com>
9777
9778 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9779 problem in reallocation in last patch.
9780
877175d8
UD
97812011-04-20 Ulrich Drepper <drepper@gmail.com>
9782
9783 * sunrpc/Makefile: Move inclusion of Rules.
9784
ab8eed78
UD
97852011-04-19 Ulrich Drepper <drepper@gmail.com>
9786
9787 * nss/nss_files/files-initgroups.c: New file.
9788 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9789 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9790 _nss_files_initgroups_dyn.
9791
e3d8f584
RS
97922011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9793
9794 * elf/elf.h (R_ARM_IRELATIVE): Define.
9795
af190f45
UD
97962011-04-19 Ulrich Drepper <drepper@gmail.com>
9797
9798 * po/ru.po: Update from translation team.
9799
53cf59ef
UD
98002011-04-17 Ulrich Drepper <drepper@gmail.com>
9801
9802 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9803 dependencies.
9804
4c559bcd
MF
98052011-02-06 Mike Frysinger <vapier@gentoo.org>
9806
9807 [BZ #12653]
9808 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9809 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9810 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9811 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9812 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9813
4420675c
AS
98142011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9815
9816 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9817 differing bytes.
9818 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9819 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9820 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9821
75ea32ab
UD
98222011-04-17 Ulrich Drepper <drepper@gmail.com>
9823
9824 [BZ #12420]
9825 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9826 storing it.
9827 * stdlib/bug-getcontext.c: New file.
9828 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9829
27390476
AK
98302011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9831
9832 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9833 instructions into .machine "z9-109".
9834 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9835 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9836
10442705
AK
98372011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9838
9839 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9840 between environment variables and auxiliary vector.
9841
7b57bfe5
UD
98422011-04-16 Ulrich Drepper <drepper@gmail.com>
9843
9844 * Makefile: Add rules to build linkobj/libc.so.
9845 * include/libc-symbols.h: Define libc_hidden_nolink.
9846 * include/rpc/auth.h: Mark functions which are to be hidden.
9847 * include/rpc/auth_des.h: Likewise.
9848 * include/rpc/auth_unix.h: Likewise.
9849 * include/rpc/clnt.h: Likewise.
9850 * include/rpc/des_crypt.h: Likewise.
9851 * include/rpc/key_prot.h: Likewise.
9852 * include/rpc/pmap_clnt.h: Likewise.
9853 * include/rpc/pmap_prot.h: Likewise.
9854 * include/rpc/pmap_rmt.h: Likewise.
9855 * include/rpc/rpc_msg.h: Likewise.
9856 * include/rpc/svc.h: Likewise.
9857 * include/rpc/svc_auth.h: Likewise.
9858 * include/rpc/xdr.h: Likewise.
9859 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9860 * nss/Makefile: Likewise.
9861 * sunrpc/Makefile: Don't install headers. Build library with normal
9862 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9863 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9864 for the compat linking library. Remove use of INTDEF/INTUSE.
9865 * sunrpc/auth_none.c: Likewise.
9866 * sunrpc/auth_unix.c: Likewise.
9867 * sunrpc/authdes_prot.c: Likewise.
9868 * sunrpc/authuxprot.c: Likewise.
9869 * sunrpc/clnt_gen.c: Likewise.
9870 * sunrpc/clnt_perr.c: Likewise.
9871 * sunrpc/clnt_raw.c: Likewise.
9872 * sunrpc/clnt_simp.c: Likewise.
9873 * sunrpc/clnt_tcp.c: Likewise.
9874 * sunrpc/clnt_udp.c: Likewise.
9875 * sunrpc/clnt_unix.c: Likewise.
9876 * sunrpc/des_crypt.c: Likewise.
9877 * sunrpc/des_soft.c: Likewise.
9878 * sunrpc/get_myaddr.c: Likewise.
9879 * sunrpc/key_call.c: Likewise.
9880 * sunrpc/key_prot.c: Likewise.
9881 * sunrpc/netname.c: Likewise.
9882 * sunrpc/pm_getmaps.c: Likewise.
9883 * sunrpc/pm_getport.c: Likewise.
9884 * sunrpc/pmap_clnt.c: Likewise.
9885 * sunrpc/pmap_prot.c: Likewise.
9886 * sunrpc/pmap_prot2.c: Likewise.
9887 * sunrpc/pmap_rmt.c: Likewise.
9888 * sunrpc/publickey.c: Likewise.
9889 * sunrpc/rpc_cmsg.c: Likewise.
9890 * sunrpc/rpc_common.c: Likewise.
9891 * sunrpc/rpc_dtable.c: Likewise.
9892 * sunrpc/rpc_prot.c: Likewise.
9893 * sunrpc/rpc_thread.c: Likewise.
9894 * sunrpc/rtime.c: Likewise.
9895 * sunrpc/svc.c: Likewise.
9896 * sunrpc/svc_auth.c: Likewise.
9897 * sunrpc/svc_authux.c: Likewise.
9898 * sunrpc/svc_raw.c: Likewise.
9899 * sunrpc/svc_run.c: Likewise.
9900 * sunrpc/svc_simple.c: Likewise.
9901 * sunrpc/svc_tcp.c: Likewise.
9902 * sunrpc/svc_udp.c: Likewise.
9903 * sunrpc/svc_unix.c: Likewise.
9904 * sunrpc/svcauth_des.c: Likewise.
9905 * sunrpc/xcrypt.c: Likewise.
9906 * sunrpc/xdr.c: Likewise.
9907 * sunrpc/xdr_array.c: Likewise.
9908 * sunrpc/xdr_float.c: Likewise.
9909 * sunrpc/xdr_intXX_t.c: Likewise.
9910 * sunrpc/xdr_mem.c: Likewise.
9911 * sunrpc/xdr_rec.c: Likewise.
9912 * sunrpc/xdr_ref.c: Likewise.
9913 * sunrpc/xdr_sizeof.c: Likewise.
9914 * sunrpc/xdr_stdio.c: Likewise.
9915
e6c61494
UD
99162011-04-10 Ulrich Drepper <drepper@gmail.com>
9917
9918 [BZ #12650]
9919 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9920 * sysdeps/ia64/dl-tls.h: Likewise.
9921 * sysdeps/powerpc/dl-tls.h: Likewise.
9922 * sysdeps/s390/dl-tls.h: Likewise.
9923 * sysdeps/sh/dl-tls.h: Likewise.
9924 * sysdeps/sparc/dl-tls.h: Likewise.
9925 * sysdeps/x86_64/dl-tls.h: Likewise.
9926 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9927
34fe483e
AS
99282011-03-14 Andreas Schwab <schwab@redhat.com>
9929
9930 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9931 rpath element also skip the following colon.
9932 (expand_dynamic_string_token): Add is_path parameter and pass
9933 down to DL_DST_REQUIRED and _dl_dst_substitute.
9934 (decompose_rpath): Call expand_dynamic_string_token with
9935 non-zero is_path. Ignore empty rpaths.
9936 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9937 with zero is_path.
9938
f12a32e6
AS
99392011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9940
9941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9942 Make cancelable.
9943
38a7d692
UD
99442011-04-09 Ulrich Drepper <drepper@gmail.com>
9945
9946 [BZ #12655]
9947 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9948 Patch by Filipe David Manana <fdmanana@apache.org>.
9949
e451d22b
AS
99502011-04-07 Andreas Schwab <schwab@redhat.com>
9951
9952 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9953 Maintain aligned stack.
9954 (CHECK_RSP): Remove unused macro.
9955
dedc7c7b
UD
99562011-04-03 Ulrich Drepper <drepper@gmail.com>
9957
9958 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9959 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9960
94521213
UD
99612011-04-02 Ulrich Drepper <drepper@gmail.com>
9962
9963 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9964
8cb700c0 9965 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 9966
0354e355
L
99672011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9968
9969 [BZ #12518]
9970 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9971 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9972 * sysdeps/x86_64/memmove.c: New file.
9973 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9974 (memcpy): Renamed to ...
9975 (__new_memcpy): This.
9976 (memcpy): Provide GLIBC_2_14 memcpy.
9977 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9978 (memcpy): Provide GLIBC_2_2_5 memcpy.
9979
8593482f
UD
99802011-04-01 Ulrich Drepper <drepper@gmail.com>
9981
9982 [BZ #12631]
9983 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9984
81a5726b
AS
99852011-03-30 Andreas Schwab <schwab@redhat.com>
9986
9987 * misc/syncfs.c: New file.
9988 * misc/Makefile (routines): Add syncfs.
9989 * posix/unistd.h: Declare syncfs.
9990 * sysdeps/unix/syscalls.list: Add syncfs.
9991
00e5419f
AS
99922011-04-01 Andreas Schwab <schwab@redhat.com>
9993
9994 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9995 open_by_handle_at.
9996 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9997 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9998 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9999 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10000 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10001 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10002 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10003
748876bf
UD
100042011-04-01 Ulrich Drepper <drepper@gmail.com>
10005
658e451d
UD
10006 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
10007 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10008 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
10009 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10010 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10011 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10012 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10013
748876bf
UD
10014 * io/Makefile: Compile fallocate.c, fallocate64.c, and
10015 sync_file_range.c with -fexceptions.
10016 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
10017 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
10018 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
10019 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
10020 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
10021 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10022 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
10023 sync_file_range as cancellation point
10024 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
10025 now a wrapper around __call_sync_file_range with cancellation handling.
10026 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
10027 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
10028 function name to __call_sync_file_range.
10029 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
10030 Add call_sync_file_range.
748876bf 10031
6e63d5e1
AS
100322011-04-01 Andreas Schwab <schwab@redhat.com>
10033
10034 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 10035 bits/timex.h.
6e63d5e1 10036
46998f74
UD
100372011-04-01 Ulrich Drepper <drepper@gmail.com>
10038
4c1423ed
UD
10039 * iconv/iconv.h: Fix typo in comment.
10040 * io/fcntl.h: Likewise.
10041 * libio/stdio.h: Likewise.
10042 * posix/spawn.h: Likewise.
10043 * posix/unistd.h: Likewise.
10044 * stdlib/stdlib.h: Likewise.
10045 * time/time.h: Likewise.
10046 * wcsmbs/wchar.h: Likewise.
10047
158648c0
UD
10048 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
10049 open_by_handle): Add.
10050 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
10051 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
10052 Augment a few comments.
10053 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10054 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10055 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10056 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10057 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10058 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
10059 open_by_handle.
10060
46998f74
UD
10061 * io/fcntl.h (AT_EMPTY_PATH): Define.
10062
83fe108b
UD
100632011-03-30 Ulrich Drepper <drepper@gmail.com>
10064
10065 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
10066 * sysdeps/unix/sysv/linux/bits/time.h: New file.
10067 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
10068 to...
10069 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
10070 * Versions.def: Add GLIBC_2.14.
10071 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
10072 Export.
83fe108b 10073
bb242059
UD
100742011-03-22 Ulrich Drepper <drepper@gmail.com>
10075
10076 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
10077 round counter.
10078 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10079
c97a1282
L
100802011-03-20 H.J. Lu <hongjiu.lu@intel.com>
10081
10082 [BZ #12597]
10083 * string/test-strncmp.c (do_page_test): New function.
10084 (check2): Likewise.
10085 (test_main): Call check2.
10086 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
10087
2a115601
UD
100882011-03-20 Ulrich Drepper <drepper@gmail.com>
10089
10090 [BZ #12587]
10091 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
10092 Handle cache information in CPU leaf 4.
10093 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10094
8126d904
UD
100952011-03-18 Ulrich Drepper <drepper@gmail.com>
10096
042c49c6 10097 [BZ #12583]
8126d904
UD
10098 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
10099 character representation.
10100 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
10101
ccfe366e
RA
101022011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
10103
10104 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
10105 END(__isnan) to END(__isnanf) to match function entry point/label
10106 EALIGN(__isnanf,...).
10107
c6e13027
JJ
101082011-03-10 Jakub Jelinek <jakub@redhat.com>
10109
10110 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
10111
33f85a3f
UD
101122011-03-10 Ulrich Drepper <drepper@gmail.com>
10113
028478fa
UD
10114 [BZ #12510]
10115 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
10116 copy from the symbol referenced in the relocation to initialize the
10117 used variable.
10118 Patch by Piotr Bury <pbury@goahead.com>.
10119 * elf/Makefile: Add rules to build and tst-unique3.
10120 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
10121 * elf/tst-unique3.cc: New file.
10122 * elf/tst-unique3.h: New file.
10123 * elf/tst-unique3lib.cc: New file.
10124 * elf/tst-unique3lib2.cc: New file.
10125
33f85a3f
UD
10126 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
10127
03592fc7
MF
101282011-03-10 Mike Frysinger <vapier@gentoo.org>
10129
10130 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
10131 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
10132 to _start.
03592fc7 10133
6a5ee102
UD
101342011-03-06 Ulrich Drepper <drepper@gmail.com>
10135
10136 * elf/dl-load.c (_dl_map_object): If we are looking for the first
10137 to-be-loaded object along a path to loader is ld.so.
10138
7e4ba49c
HJ
101392011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10140 Ulrich Drepper <drepper@gmail.com>
10141
10142 * sysdeps/x86_64/memset.S: After aligning destination, code
10143 branches to different locations depending on the value of
10144 misalignment, when multiarch is enabled. Fix this.
10145
101462011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10147
10148 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
10149 Set _x86_64_preferred_memory_instruction for AMD processsors.
10150 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10151 Set bit_Prefer_SSE_for_memop for AMD processors.
10152
13a804de
UD
101532011-03-04 Ulrich Drepper <drepper@gmail.com>
10154
10155 * libio/fmemopen.c (fmemopen): Optimize a bit.
10156
9d25c392
AS
101572011-03-03 Andreas Schwab <schwab@redhat.com>
10158
10159 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
10160
a5543c6a
RM
101612011-03-03 Roland McGrath <roland@redhat.com>
10162
10163 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
10164
012d35f7
DM
101652011-02-28 Aurelien Jarno <aurelien@aurel32.net>
10166
7e4ba49c 10167 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
10168 __bzero_ultra1 instead of __memset_ultra1.
10169
4bff6e01
AS
101702011-02-23 Andreas Schwab <schwab@redhat.com>
10171 Ulrich Drepper <drepper@gmail.com>
10172
10173 [BZ #12509]
10174 * include/link.h (struct link_map): Add l_orig_initfini.
10175 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
10176 returning unsuccessfully.
10177 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
10178 close of a file loaded at startup, restore the original l_initfini
10179 list.
10180 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
10181 list, store the pointer.
10182 * elf/Makefile ($(objpfx)noload-mem): New rule.
10183 (noload-ENV): Define.
10184 (tests): Add $(objpfx)noload-mem.
10185 * elf/noload.c: Include <memcheck.h>.
10186 (main): Call mtrace. Close all opened handles.
10187
f2092faf
AS
101882011-02-17 Andreas Schwab <schwab@redhat.com>
10189
10190 [BZ #12454]
10191 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
10192 dependencies are missing.
10193
6c8a2e88
ST
101942011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
10195
f2092faf 10196 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
10197 Hurd needs munmap.
10198 * sysdeps/mach/hurd/ifreq.h: New file.
10199
84a42118
PB
102002011-01-27 Petr Baudis <pasky@suse.cz>
10201 Ulrich Drepper <drepper@gmail.com>
10202
071f805e 10203 [BZ 12445]#
84a42118
PB
10204 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
10205 to extend_alloca().
10206 * stdio-common/bug23.c: New file.
10207 * stdio-common/Makefile (tests): Add bug23.
10208
e23fe25b
AS
102092010-09-28 Andreas Schwab <schwab@redhat.com>
10210 Ulrich Drepper <drepper@gmail.com>
10211
10212 [BZ #12489]
10213 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
10214 before performing relro protection. At old place add assertion
10215 to make sure nothing changed.
10216
d3f02e10
NS
102172011-02-17 Nathan Sidwell <nathan@codesourcery.com>
10218 Glauber de Oliveira Costa <glommer@gmail.com>
10219
10220 * elf/elf.h: Add new ARM TLS relocs.
10221
d55fd7a5
RA
102222011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
10223
10224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10225 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
10226 cast from r3.
10227 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
10228 'tests' variable.
10229 * sysdeps/wordsize-64/tst-writev.c: New file.
10230
2206397e
RA
102312011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
10232
10233 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
10234 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
10235 insns in _dl_start to prevent a TOC reference before relocs are
10236 resolved.
10237
e9433893
UD
102382011-02-15 Ulrich Drepper <drepper@gmail.com>
10239
10240 [BZ #12469]
10241 * Makeconfig: Remove RANLIB definition.
10242 * Makerules: Don't use RANLIB.
10243 * aclocal.m4: Remove ranlib test.
10244 * configure.in: No need to check for ranlib.
10245 * elf/rtld-Rules: Don't use RANLIB.
10246
f75286c6
ST
102472011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10248
8e31c82d
ST
10249 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
10250 protection macro.
10251 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
10252 inclusion protection macro.
10253
f75286c6
ST
10254 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
10255 SIGRTMIN and SIGRTMAX and print information in that case only when
10256 SIGRTMIN is defined.
10257
c1d0e639
JJ
102582011-02-11 Jakub Jelinek <jakub@redhat.com>
10259
10260 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
10261 arginfo fn returning -1.
10262
10263 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
10264 and thousands string is zero terminated.
10265
edf9294e
AS
102662011-02-03 Andreas Schwab <schwab@redhat.com>
10267
10268 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
10269 sysdeps/unix/sysv/linux/bits/socket.h.
10270
2b7e92df
ST
102712011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10272
edf9294e
AS
10273 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
10274 (__CPU_COUNT): Remove old macros.
10275 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
10276 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
10277 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
10278 (__sched_cpualloc, __sched_cpufree): Add declarations.
10279
a4c7ea7b
UD
102802011-02-05 Ulrich Drepper <drepper@gmail.com>
10281
10282 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
10283 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
10284 * nscd/aicache.c (addhstaiX): Return timeout of added value.
10285 (readdhstai): Return value of addhstaiX call.
10286 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
10287 (addgrbyX): Return value returned by cache_addgr.
10288 (readdgrbyname): Return value returned by addgrbyX.
10289 (readdgrbygid): Likewise.
10290 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
10291 (addpwbyX): Return value returned by cache_addpw.
10292 (readdpwbyname): Return value returned by addhstbyX.
10293 (readdpwbyuid): Likewise.
10294 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
10295 (addservbyX): Return value returned by cache_addserv.
10296 (readdservbyname): Return value returned by addservbyX:
10297 (readdservbyport): Likewise.
10298 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
10299 (addhstbyX): Return value returned by cache_addhst.
10300 (readdhstbyname): Return value returned by addhstbyX.
10301 (readdhstbyaddr): Likewise.
10302 (readdhstbynamev6): Likewise.
10303 (readdhstbyaddrv6): Likewise.
10304 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
10305 (readdinitgroups): Return value returned by addinitgroupsX.
10306 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
10307 (prune_cache): Keep track of timeout value of re-added entries.
10308 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
10309 * nscd/nscd.h: Adjust prototypes of readd* functions.
10310
a0bf67cc
RM
103112011-02-04 Roland McGrath <roland@redhat.com>
10312
10313 * nis/nis_server.c (nis_servstate): Use the right name for 0.
10314 (nis_stats): Likewise.
10315 * nis/nis_modify.c (nis_modify): Likewise.
10316 * nis/nis_remove.c (nis_remove): Likewise.
10317 * nis/nis_add.c (nis_add): Likewise.
10318
10319 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
10320
10321 * posix/fnmatch_loop.c: Add some consts.
10322
10323 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
10324
435b95eb
L
103252011-02-02 H.J. Lu <hongjiu.lu@intel.com>
10326
10327 [BZ #12460]
10328 * config.make.in (config-cflags-novzeroupper): Define.
10329 * configure.in: Substitute libc_cv_cc_novzeroupper.
10330 * elf/Makefile (AVX-CFLAGS): Define.
10331 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
10332 (CFLAGS-tst-auditmod4a.c): Likewise.
10333 (CFLAGS-tst-auditmod4b.c): Likewise.
10334 (CFLAGS-tst-auditmod6b.c): Likewise.
10335 (CFLAGS-tst-auditmod6c.c): Likewise.
10336 (CFLAGS-tst-auditmod7b.c): Likewise.
10337 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
10338
8517b15e
UD
103392011-02-02 Ulrich Drepper <drepper@gmail.com>
10340
10341 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
10342 function to the callback.
10343 Patch partly by Jiri Olsa <jolsa@redhat.com>.
10344
10a656fe
AS
103452011-02-02 Andreas Schwab <schwab@redhat.com>
10346
10347 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
10348 of errno.
10349
968dad0a
UD
103502011-01-19 Ulrich Drepper <drepper@gmail.com>
10351
9f94d2ea 10352 [BZ #11724]
968dad0a
UD
10353 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
10354 of constructors.
10355 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
10356 of destructors.
10357 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
10358
10359 [BZ #11724]
10360 * elf/Makefile: Add rules to build and run new test.
10361 * elf/tst-initorder.c: New file.
10362 * elf/tst-initorder.exp: New file.
10363 * elf/tst-initordera1.c: New file.
10364 * elf/tst-initordera2.c: New file.
10365 * elf/tst-initordera3.c: New file.
10366 * elf/tst-initordera4.c: New file.
10367 * elf/tst-initorderb1.c: New file.
10368 * elf/tst-initorderb2.c: New file.
10369 * elf/tst-order-a1.c: New file.
10370 * elf/tst-order-a2.c: New file.
10371 * elf/tst-order-a3.c: New file.
10372 * elf/tst-order-a4.c: New file.
10373 * elf/tst-order-b1.c: New file.
10374 * elf/tst-order-b2.c: New file.
10375 * elf/tst-order-main.c: New file.
10376 New test case by George Gensure <werkt0@gmail.com>.
10377
86e92359
UD
103782010-10-01 Andreas Schwab <schwab@redhat.com>
10379
10380 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10381 decoding ACE if AI_CANONIDN.
10382
5d5732b0
UD
103832011-01-18 Ulrich Drepper <drepper@gmail.com>
10384
10385 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
10386
a77e8cbc
UD
103872011-01-17 Ulrich Drepper <drepper@gmail.com>
10388
6392473f
UD
10389 * version.h (RELEASE): Bump for 2.13 release.
10390 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
10391
620a0529
UD
10392 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
10393
18ba70a5
UD
10394 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
10395 MADV_NOHUGEPAGE.
32465c3e
UD
10396 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
10397 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10398 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10399 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10400 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10401 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10402
c0dafcf1
UD
10403 * posix/getconf.c: Update copyright year.
10404 * catgets/gencat.c: Likewise.
10405 * csu/version.c: Likewise.
10406 * debug/catchsegv.sh: Likewise.
10407 * debug/xtrace.sh: Likewise.
10408 * elf/ldconfig.c: Likewise.
10409 * elf/ldd.bash.in: Likewise.
10410 * elf/sprof.c (print_version): Likewise.
10411 * iconv/iconv_prog.c: Likewise.
10412 * iconv/iconvconfig.c: Likewise.
10413 * locale/programs/locale.c: Likewise.
10414 * locale/programs/localedef.c: Likewise.
10415 * malloc/memusage.sh: Likewise.
10416 * malloc/mtrace.pl: Likewise.
10417 * nscd/nscd.c (print_version): Likewise.
10418 * nss/getent.c: Likewise.
10419
a77e8cbc
UD
10420 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
10421 PF_CAIF, and PF_ALG.
10422 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10423
77e8bddf
AS
104242011-01-16 Andreas Schwab <schwab@linux-m68k.org>
10425
1f20b93a
AS
10426 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
10427 (modules-names): Use them.
10428 (ifunc-test-modules, ifunc-pie-tests): Define.
10429 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10430 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10431 (test-extras): Likewise.
10432 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10433 $(compile-command.c).
10434 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10435 (all-built-dso): Define.
10436 (check-textrel.out, check-execstack.out): Depend on it.
10437
77e8bddf
AS
10438 * configure.in: Don't override --enable-multi-arch.
10439
bc425b33
UD
104402011-01-15 Ulrich Drepper <drepper@gmail.com>
10441
10442 [BZ #6812]
10443 * nscd/hstcache.c (tryagain): Define.
10444 (cache_addhst): Return tryagain not notfound for temporary errors.
10445 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10446 failed.
10447
794c3ad3
UD
104482011-01-14 Ulrich Drepper <drepper@gmail.com>
10449
70181fdd
UD
10450 [BZ #10563]
10451 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10452 to make the syscall.
10453 * sysdeps/unix/sysv/linux/setgroups.c: New file.
10454
794c3ad3
UD
10455 [BZ #12378]
10456 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10457 and fall back to matching as normal character if the string ends before
10458 the matching ']' is found. This is what POSIX requires.
10459 * posix/testfnm.c: Adjust test result.
10460 * posix/globtest.sh: Adjust test result. Add new test.
10461 * posix/tst-fnmatch.input: Likewise.
10462 * posix/tst-fnmatch2.c: Add new test.
10463
68dc9497
AS
104642010-12-28 Andreas Schwab <schwab@linux-m68k.org>
10465
10466 * elf/Makefile (check-execstack): Revert last change. Depend on
10467 check-execstack.h.
10468 (check-execstack.h): New target.
10469 (generated): Add check-execstack.h.
10470 * elf/check-execstack.c: Include "check-execstack.h".
10471 (main): Revert last change.
10472 (handle_file): Return zero if GNU_STACK is absent and
10473 DEFAULT_STACK_PERMS doesn't include PF_X.
10474
451f001b
UD
104752011-01-13 Ulrich Drepper <drepper@gmail.com>
10476
cfa28e56
UD
10477 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10478 in child fails because the descriptor is already closed.
8cf8ce17
UD
10479 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10480 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10481 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 10482
1086d70d
UD
10483 [BZ #12397]
10484 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10485 syscall.
10486
451f001b
UD
10487 [BZ #10484]
10488 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10489 temporary buffer used to handle multi lookups locally.
a85b5cb4 10490 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 10491
08769175
UD
104922011-01-12 Ulrich Drepper <drepper@gmail.com>
10493
10494 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10495 loader is ld.so.
10496
5e49c52e
UD
104972011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
10498
10499 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10500 alignment for SSE2.
10501
60522a5f
UD
105022011-01-12 Ulrich Drepper <drepper@gmail.com>
10503
10504 [BZ #12394]
10505 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10506 characters. When rounding increased number of integer digits recompute
10507 number of groups.
10508 * stdio-common/tst-grouping.c: New file.
10509 * stdio-common/Makefile: Add rules to build and run tst-grouping.
10510
f257bbd7
UD
105112011-01-09 Ulrich Drepper <drepper@gmail.com>
10512
10513 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10514 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
10515
10516 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10517 void.
10518 * bits/select.h: Likewise.
10519
fa9c15cb
UD
105202011-01-08 Ulrich Drepper <drepper@gmail.com>
10521
10522 * po/ja.po: Update from translation team.
10523
16c2895f
DM
105242011-01-04 David S. Miller <davem@sunset.davemloft.net>
10525
10526 [BZ #11155]
10527 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10528 implementation just like for lxstat, fxstatat, et al.
10529
2543fef2
JM
105302010-12-27 Jim Meyering <meyering@redhat.com>
10531
10532 [BZ #12348]
10533 * posix/regexec.c (build_trtable): Return failure indication upon
10534 calloc failure. Otherwise, re_search_internal could infloop on OOM.
10535
98727dbe
UD
105362010-12-25 Ulrich Drepper <drepper@gmail.com>
10537
5bd6dc5c
UD
10538 [BZ #12201]
10539 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10540 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10541 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10542 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
10543
97983464
UD
10544 [BZ #12207]
10545 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
10546
98727dbe
UD
10547 [BZ #12204]
10548 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
10549 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
10550
4a531bb0
L
105512010-12-15 H.J. Lu <hongjiu.lu@intel.com>
10552
10553 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
10554 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
10555 script has SORT_BY_INIT_PRIORITY.
10556 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
10557 NO_CTORS_DTORS_SECTIONS is defined.
10558 * elf/soinit.c: Likewise.
10559 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
10560 NO_CTORS_DTORS_SECTIONS is defined.
10561 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
10562 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10563 * sysdeps/sh/init-first.c: Likewise.
10564 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10565
07eb4b71
UD
105662010-12-24 Ulrich Drepper <drepper@gmail.com>
10567
10568 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10569 always use the slow path.
10570
30950a5f
RA
105712010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
10572
10573 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10574 similar rule which adds the sysdep directories to the header search in
10575 order to pick up the correct platform stackinfo.h.
10576 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10577 perform test if it is, otherwise return successfully without testing.
10578 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10579 DEFAULT_STACK_PERMS define in stackinfo.h.
10580 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10581 defined in stackinfo.h.
10582 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10583 DEFAULT_STACK_PERMS defined in stackinfo.h.
10584 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10585 * sysdeps/ia64/stackinfo.h: Likewise.
10586 * sysdeps/s390/stackinfo.h: Likewise.
10587 * sysdeps/sh/stackinfo.h: Likewise.
10588 * sysdeps/sparc/stackinfo.h: Likewise.
10589 * sysdeps/x86_64/stackinfo.h: Likewise.
10590 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10591 PF_X for powerpc64. Retain PF_X for powerpc32.
10592
db753e2c
UD
105932010-12-19 Ulrich Drepper <drepper@gmail.com>
10594
14b697f7
UD
10595 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10596 accurately.
db753e2c
UD
10597 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10598 GETDENTS_64BIT_ALIGNED.
10599
28300719
UD
106002010-12-14 Ulrich Drepper <dreper@gmail.com>
10601
14b697f7 10602 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 10603
4f197237
AS
106042010-12-10 Andreas Schwab <schwab@redhat.com>
10605
dbb0472f
AS
10606 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10607 _GNU_SOURCE.
10608
4f197237
AS
10609 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10610 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10611 Remove __restrict.
10612 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10613 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10614
fb88ac72
UD
106152010-12-09 Ulrich Drepper <drepper@gmail.com>
10616
10617 [BZ #11655]
10618 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10619 are initialized.
10620
42acbb92
JJ
106212010-12-09 Jakub Jelinek <jakub@redhat.com>
10622
10623 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10624
c038d98d
UD
106252010-12-03 Ulrich Drepper <drepper@gmail.com>
10626
10627 * po/it.po: Update from translation team.
10628
3a4a2499
L
106292010-12-01 H.J. Lu <hongjiu.lu@intel.com>
10630
10631 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10632 unused codes.
10633
1e24cf6e
UD
106342010-11-30 Ulrich Drepper <drepper@gmail.com>
10635
10636 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10637
a7690819
AS
106382010-11-24 Andreas Schwab <schwab@redhat.com>
10639
10640 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10641 specially.
10642 (gaih_getanswer_slice): Likewise.
10643
3bf8d1b1
JJ
106442010-10-20 Jakub Jelinek <jakub@redhat.com>
10645
10646 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10647
6db52fbb
PB
106482010-05-31 Petr Baudis <pasky@suse.cz>
10649
10650 [BZ #11149]
10651 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10652 silently even in the chroot mode.
10653
eaca7569
UD
106542010-11-22 Ulrich Drepper <drepper@gmail.com>
10655
10656 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10657 last patch a bit. Pretty printing
10658
3056dcdb
UD
106592010-05-31 Petr Baudis <pasky@suse.cz>
10660
10661 [BZ #10085]
10662 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10663 initialization of skip_initgroups_dyn.
10664
cf7c9078
UD
106652010-11-19 Ulrich Drepper <drepper@gmail.com>
10666
10667 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10668 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10669
a1fb5e3e
UD
106702010-11-16 Ulrich Drepper <drepper@gmail.com>
10671
10672 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10673
3540d66b
AS
106742010-11-11 Andreas Schwab <schwab@redhat.com>
10675
10676 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10677 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10678 (tst-fnmatch-ENV): Set MALLOC_TRACE.
10679 ($(objpfx)tst-fnmatch-mem): New rule.
10680 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10681 * posix/tst-fnmatch.c (main): Call mtrace.
10682
13b69574
L
106832010-11-11 H.J. Lu <hongjiu.lu@intel.com>
10684
10685 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10686 Support Intel processor model 6 and model 0x2c.
10687
da93d214
LM
106882010-11-10 Luis Machado <luisgpm@br.ibm.com>
10689
10690 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10691 signed comparison.
10692
8ca52c6e
L
106932010-11-09 H.J. Lu <hongjiu.lu@intel.com>
10694
10695 [BZ #12205]
10696 * string/test-strncasecmp.c (check_result): New function.
10697 (do_one_test): Use it.
10698 (check1): New function.
10699 (test_main): Use it.
10700 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10701 Support strcasecmp and strncasecmp.
10702
69da074d
UD
107032010-11-08 Ulrich Drepper <drepper@gmail.com>
10704
10705 [BZ #12194]
10706 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10707 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10708
ff02d528
L
107092010-11-07 H.J. Lu <hongjiu.lu@intel.com>
10710
10711 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10712 IFUNC support.
10713 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10714 memset-x86-64.
10715 * sysdeps/x86_64/multiarch/bzero.S: New file.
10716 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10717 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10718 * sysdeps/x86_64/multiarch/memset.S: New file.
10719 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10720 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10721 Set bit_Prefer_SSE_for_memop for Intel processors.
10722 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10723 Define.
10724 (index_Prefer_SSE_for_memop): Define.
10725 (HAS_PREFER_SSE_FOR_MEMOP): Define.
10726
344d0b54
LM
107272010-11-04 Luis Machado <luisgpm@br.ibm.com>
10728
10729 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10730 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10731
c0dde15b
UD
107322010-11-03 H.J. Lu <hongjiu.lu@intel.com>
10733
10734 [BZ #12191]
10735 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10736 (__x86_64_raw_data_cache_size_half): Likewise.
10737 (__x86_64_raw_shared_cache_size): Likewise.
10738 (__x86_64_raw_shared_cache_size_half): Likewise.
10739
10740 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10741 (__x86_64_raw_data_cache_size_half): Likewise.
10742 (__x86_64_raw_shared_cache_size): Likewise.
10743 (__x86_64_raw_shared_cache_size_half): Likewise.
10744 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10745 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10746 and __x86_64_raw_shared_cache_size_half. Round
10747 __x86_64_data_cache_size_half, __x86_64_data_cache_size
10748 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10749 to multiple of 256 bytes.
10750
0e516e0e
MS
107512010-11-03 Ulrich Drepper <drepper@gmail.com>
10752
10753 [BZ #12167]
10754 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10755 of inacessible symlinks. Verify result of symlink before returning it.
10756 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10757 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10758
0e012e87
ER
107592010-10-28 Erich Ritz <erichritz@gmail.com>
10760
10761 * math/math.h (isinf): Fix typo in comment.
10762
de0ff7bc
UD
107632010-11-01 Ulrich Drepper <drepper@gmail.com>
10764
10765 * po/da.po: Update from translation team.
10766
fa41c84d
UD
107672010-10-26 Ulrich Drepper <drepper@gmail.com>
10768
10769 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10770 is added to the list.
10771
f0967738
AK
107722010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10773 Ulrich Drepper <drepper@gmail.com>
10774
10775 * elf/dl-object.c (_dl_new_object): Don't append the new object to
10776 the global list here. Move code to...
10777 (_dl_add_to_namespace_list): ...here. New function.
10778 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10779 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10780 * elf/dl-load.c (lose): Don't remove the element from the list.
10781 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10782 (_dl_map_object): Likewise.
10783
107842010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
10785
10786 [BZ #12159]
10787 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10788 into all bytes of SSE register.
10789 Patch by Richard Li <richardpku@gmail.com>.
10790
f0967738 107912010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
10792
10793 [BZ #12140]
10794 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10795 perturbing.
10796
d0b9e94f
MB
107972010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10798
10799 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10800 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10801 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10802 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10804 submachine.
10805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10806
8e9f92e9
AS
108072010-10-22 Andreas Schwab <schwab@redhat.com>
10808
10809 * include/dlfcn.h (__RTLD_SECURE): Define.
10810 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10811 mode & __RTLD_SECURE instead.
10812 (open_path): Rename preloaded parameter to secure.
10813 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10814 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10815 * elf/dl-deps.c (openaux): Likewise.
10816 * elf/rtld.c (struct map_args): Remove is_preloaded.
10817 (map_doit): Don't use it.
10818 (dl_main): Likewise.
10819 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10820 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10821
bc96fbda
AS
108222010-09-09 Andreas Schwab <schwab@redhat.com>
10823
10824 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10825 (sysd-rules-targets): Remove duplicates.
10826 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10827 rtld-%.$o dependency.
10828
22cd1c9b
AS
108292010-10-18 Andreas Schwab <schwab@redhat.com>
10830
10831 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10832 _dl_map_object do it.
10833
18edac48
UD
108342010-10-19 Ulrich Drepper <drepper@gmail.com>
10835
10836 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10837 fast fma builtins, define the macros in the C99 standard.
10838 (FP_FAST_FMAF): Likewise.
10839 (FP_FAST_FMAL): Likewise.
10840 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10841
10842 * bits/mathdef.h: Update copyright year.
10843 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10844
d2050124
MM
108452010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10846
10847 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10848 builtins, define the macros in the C99 standard.
10849 (FP_FAST_FMAF): Likewise.
10850 (FP_FAST_FMAL): Likewise.
10851 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10852 multiply/add.
10853 (FP_FAST_FMAF): Likewise.
10854
475facd1
JJ
108552010-10-15 Jakub Jelinek <jakub@redhat.com>
10856
10857 [BZ #3268]
10858 * math/libm-test.inc (fma_test): Some new testcases.
10859 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10860 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10861 y and infinite z. Do multiplication by C already in long double.
10862 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10863 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10864 y and infinite z. Do bitwise or of inexact bit into u.d.
10865 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10866 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10867 * sysdeps/i386/fpu/s_fma.S: Removed.
10868 * sysdeps/i386/fpu/s_fmal.S: Removed.
10869
7c08a05c
JJ
108702010-10-16 Jakub Jelinek <jakub@redhat.com>
10871
10872 [BZ #3268]
10873 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10874 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10875 computation is not scheduled after fetestexcept. Fix value
10876 of minimum denormal long double.
10877
f3f7372d
JJ
108782010-10-14 Jakub Jelinek <jakub@redhat.com>
10879
10880 [BZ #3268]
10881 * math/libm-test.inc (fma_test): Add some more tests.
10882 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10883 correctly.
10884
14d43591
AS
108852010-10-15 Andreas Schwab <schwab@redhat.com>
10886
10887 * scripts/data/localplt-s390-linux-gnu.data: New file.
10888 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10889
5e908464
JJ
108902010-10-13 Jakub Jelinek <jakub@redhat.com>
10891
10892 [BZ #3268]
10893 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10894 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10895 instead of dbl-64.
10896 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10897 inlines.
10898 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10899 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10900 if one of x and y is very large and the other is subnormal.
10901 * sysdeps/s390/fpu/s_fmaf.c: New file.
10902 * sysdeps/s390/fpu/s_fma.c: New file.
10903 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10904 * sysdeps/powerpc/fpu/s_fma.S: New file.
10905 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10906 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10907 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10908
109092010-10-12 Jakub Jelinek <jakub@redhat.com>
10910
10911 [BZ #3268]
10912 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10913 fma tests.
10914 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10915 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10916 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10917 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10918 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10919 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10920 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10921
b833d51f
UD
109222010-10-12 Ulrich Drepper <drepper@redhat.com>
10923
10924 [BZ #12078]
10925 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10926 * posix/bug-regex31.input: Add test case.
10927
1751705d
UD
109282010-10-11 Ulrich Drepper <drepper@gmail.com>
10929
e9b9cbf5
UD
10930 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10931 * posix/bug-regex31.input: New file.
10932
10933 [BZ #12078]
10934 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10935 (parse_sub_exp): Fix last change, use postorder.
10936
ef06edbe
UD
10937 * posix/bug-regex31.c: New file.
10938 * posix/Makefile: Add rules to build and run bug-regex31.
10939
a129c80d
UD
10940 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10941
10942 [BZ #12078]
10943 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10944
b76b818e
UD
10945 [BZ #12108]
10946 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10947 to have entries in sys_siglist.
10948
1751705d
UD
10949 [BZ #12093]
10950 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10951 be NULL.
10952
9ff8d36f
JJ
109532010-10-07 Jakub Jelinek <jakub@redhat.com>
10954
10955 [BZ #3268]
10956 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10957 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10958 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10959 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10960 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10961 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10962 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10963 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10964 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10965 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10966 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10967 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10968 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10969 * math/ftestexcept.c (fetestexcept): Likewise.
10970 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10971 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10972 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10973 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10974 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10975 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10976 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10977
af325969
UD
109782010-10-11 Ulrich Drepper <drepper@gmail.com>
10979
c579b202 10980 [BZ #12107]
af325969
UD
10981 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10982 newline.
10983
67a67b95
UD
109842010-10-06 Ulrich Drepper <drepper@gmail.com>
10985
10986 * string/bug-strstr1.c: New file.
10987 * string/Makefile: Add rules to build and run bug-strstr1.
10988
5fb308bc
EB
109892010-10-05 Eric Blake <eblake@redhat.com>
10990
10991 [BZ #12092]
10992 * string/str-two-way.h (two_way_long_needle): Always clear memory
10993 when skipping input due to the shift table.
10994
45db99c7
UD
109952010-10-03 Ulrich Drepper <drepper@gmail.com>
10996
3b111893
UD
10997 [BZ #12005]
10998 * malloc/mcheck.c: Handle large requests.
10999
45db99c7
UD
11000 [BZ #12077]
11001 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
11002 for strncmp and strncasecmp.
11003 * string/stratcliff.c: Add tests for strcmp and strncmp.
11004 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
11005
cf7a1eb8
NI
110062010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11007
11008 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
11009 __set_fpscr.
11010
6484ba5e
AJ
110112010-09-30 Andreas Jaeger <aj@suse.de>
11012
11013 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
11014 (CGROUP_SUPER_MAGIC): Define.
11015 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11016 Handle btrfs and cgroup file systems.
11017 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11018 Likewise.
11019
91c42559
LM
110202010-09-27 Luis Machado <luisgpm@br.ibm.com>
11021
11022 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
11023 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
11024
87a97932
AK
110252010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11026
11027 [BZ #12067]
11028 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
11029 trying to locate the ELF header.
11030
c21cc9bc
AS
110312010-09-27 Andreas Schwab <schwab@redhat.com>
11032
11033 [BZ #11611]
11034 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
11035 Mask out sign-bit copies when constructing f_fsid.
11036
315970f6
PB
110372010-09-24 Petr Baudis <pasky@suse.cz>
11038
11039 * debug/stack_chk_fail_local.c: Add missing licence exception.
11040 * debug/warning-nop.c: Likewise.
11041
1ac7a2c7
JM
110422010-09-15 Joseph Myers <joseph@codesourcery.com>
11043
11044 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
11045 implementing getdents64 using getdents syscall, set d_type if
11046 __ASSUME_GETDENTS32_D_TYPE.
11047
56801c50
AS
110482010-09-16 Andreas Schwab <schwab@redhat.com>
11049
11050 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
11051 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
11052
dda51327
UD
110532010-09-21 Ulrich Drepper <drepper@redhat.com>
11054
11055 [BZ #12037]
11056 * posix/unistd.h: Undo change of feature selection for ftruncate from
11057 2010-01-11.
11058
8ffcee4a
UD
110592010-09-20 Ulrich Drepper <drepper@redhat.com>
11060
a545ecd9 11061 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
11062 detection.
11063
e24f0a8b
AS
110642010-09-20 Andreas Schwab <schwab@redhat.com>
11065
11066 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
11067 fanotify_mark.
11068 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11069
7291c56f
AS
110702010-09-14 Andreas Schwab <schwab@redhat.com>
11071
11072 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
11073 variables after CHECK_SP call.
11074 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
11075
bc5fb037
AS
110762010-09-13 Andreas Schwab <schwab@redhat.com>
11077 Ulrich Drepper <drepper@redhat.com>
11078
11079 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
11080 re-relocationg ld.so.
11081 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
11082 _dl_init_paths call.
11083 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
11084 here anymore.
11085
e66e7419
UD
110862010-09-14 Ulrich Drepper <drepper@redhat.com>
11087
11088 * resolv/res_init.c (__res_vinit): Count the default server we added.
11089
c044aa75
CLT
110902010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
11091 Ulrich Drepper <drepper@redhat.com>
11092
11093 [BZ #11968]
11094 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11095 (____longjmp_chk): Use %ebx for saving value across system call.
11096 Add unwind info.
11097
32cf4069
AS
110982010-09-06 Andreas Schwab <schwab@redhat.com>
11099
11100 * manual/Makefile: Don't mix pattern rules with normal rules.
11101
817328ee
AS
111022010-09-05 Andreas Schwab <schwab@linux-m68k.org>
11103
11104 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
11105 operation.
11106 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11107 * libio/iofopncook.c (_IO_cookie_init): Likewise.
11108 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11109 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11110 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11111 Likewise.
11112
29fddf61
UD
111132010-09-04 Ulrich Drepper <drepper@redhat.com>
11114
11115 [BZ #11979]
11116 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
11117 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
11118
0959ffc9
UD
111192010-09-02 Ulrich Drepper <drepper@redhat.com>
11120
11121 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
11122 * sysdeps/x86_64/addmul_1.S: Likewise.
11123 * sysdeps/x86_64/lshift.S: Likewise.
11124 * sysdeps/x86_64/mul_1.S: Likewise.
11125 * sysdeps/x86_64/rshift.S: Likewise.
11126 * sysdeps/x86_64/sub_n.S: Likewise.
11127 * sysdeps/x86_64/submul_1.S: Likewise.
11128
ece29840
ST
111292010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
11130
0959ffc9
UD
11131 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
11132 Define __sched_param instead of SCHED_* and sched_param when
ece29840 11133 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 11134 * bits/sched.h [__need_schedparam]
ece29840 11135 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
11136 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
11137 (__defined_schedparam): Define to 1.
ece29840
ST
11138 (__sched_param): New structure, identical to sched_param.
11139 (__need_schedparam): Undefine.
11140
e53a31fe
MF
111412010-08-31 Mike Frysinger <vapier@gentoo.org>
11142
fdc0c10d
MF
11143 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
11144 (epoll_create1): Declare.
11145
e53a31fe
MF
11146 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
11147
a726d796
AS
111482010-08-31 Andreas Schwab <schwab@redhat.com>
11149
11150 [BZ #7066]
11151 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
11152 shifting retval into place.
11153
2f3e3dc7
UD
111542010-09-01 Ulrich Drepper <drepper@redhat.com>
11155
f2933da9
UD
11156 * nis/rpcsvc/nis.h: Update copyright notice.
11157 * nis/rpcsvc/nis.x: Likewise.
11158 * nis/rpcsvc/nis_callback.h: Likewise.
11159 * nis/rpcsvc/nis_callback.x: Likewise.
11160 * nis/rpcsvc/nis_object.x: Likewise.
11161 * nis/rpcsvc/nis_tags.h: Likewise.
11162 * nis/rpcsvc/yp.h: Likewise.
11163 * nis/rpcsvc/yp.x: Likewise.
11164 * nis/rpcsvc/ypupd.h: Likewise.
11165 * nis/yp_xdr.c: Likewise.
11166 * nis/ypupdate_xdr.c: Likewise.
11167
2f3e3dc7
UD
11168 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
11169 mainly the body of pmap_getport. Add parameters to specify timeouts.
11170 (pmap_getport): Use __libc_rpc_getport.
11171 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
11172 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
11173 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
11174
f3dcc2f9
AS
111752010-08-31 Andreas Schwab <schwab@linux-m68k.org>
11176
11177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
11178 fanotify_mark.
11179
6d34eb5b
RM
111802010-08-27 Roland McGrath <roland@redhat.com>
11181
11182 * sysdeps/i386/i686/multiarch/Makefile
11183 (CFLAGS-varshift.c): New variable.
11184
9ea3de11
UD
111852010-08-27 Ulrich Drepper <drepper@redhat.com>
11186
c96d23fc
UD
11187 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
11188 * sysdeps/i386/i686/multiarch/varshift.c: New file.
11189
9ea3de11
UD
11190 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
11191
11192 * sysdeps/x86_64/strlen.S: Minimal code improvement.
11193
623aac7f
L
111942010-08-26 H.J. Lu <hongjiu.lu@intel.com>
11195
11196 * sysdeps/x86_64/strlen.S: Unroll the loop.
11197 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11198 strlen-sse2 strlen-sse2-bsf.
11199 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
11200 __strlen_no_bsf if bit_Slow_BSF is set.
11201 (__strlen_sse42): Removed.
11202 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
11203 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
11204
8b2b7715
RM
112052010-08-25 Roland McGrath <roland@redhat.com>
11206
11207 * sysdeps/x86_64/multiarch/varshift.S: File removed.
11208 * sysdeps/x86_64/multiarch/varshift.c: New file.
11209 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
11210 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
11211 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
11212 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11213
e73015f2
L
112142010-08-25 H.J. Lu <hongjiu.lu@intel.com>
11215
11216 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11217 strlen-sse2 strlen-sse2-bsf.
11218 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
11219 __strlen_sse2_bsf if bit_Slow_BSF is unset.
11220 (__strlen_sse2): Removed.
11221 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
11222 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
11223 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11224 bit_Slow_BSF for Atom.
11225 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
11226 (index_Slow_BSF): Define.
11227 (HAS_SLOW_BSF): Define.
11228
df24a73e
UD
112292010-08-25 Ulrich Drepper <drepper@redhat.com>
11230
11231 [BZ #10851]
11232 * resolv/res_init.c (__res_vinit): When no server address at all
11233 is given default to loopback.
11234
f2ac4868
RM
112352010-08-24 Roland McGrath <roland@redhat.com>
11236
09055553
RM
11237 * configure.in: Remove config-name.h generation.
11238 * configure: Regenerated.
11239 * config-name.in: File removed.
11240 * scripts/config-uname.sh: New file.
11241 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
11242 ($(objdir)config-name.h): New target.
11243
f2ac4868
RM
11244 * sunrpc/rpc_parse.h: Avoid nested comment.
11245
73f27d5e
RH
112462010-08-24 Richard Henderson <rth@redhat.com>
11247 Ulrich Drepper <drepper@redhat.com>
11248 H.J. Lu <hongjiu.lu@intel.com>
11249
11250 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
11251 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
11252 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
11253 Replace _mm_srli_si128 with __m128i_shift_right. Replace
11254 _mm_alignr_epi8 with _mm_loadu_si128.
11255 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
11256 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
11257 (__m128i_shift_right): Removed.
11258 * sysdeps/i386/i686/multiarch/varshift.h: New file.
11259 * sysdeps/i386/i686/multiarch/varshift.S: New file.
11260 * sysdeps/x86_64/multiarch/varshift.h: New file.
11261 * sysdeps/x86_64/multiarch/varshift.S: New file.
11262
84b9230c
MF
112632010-08-21 Mike Frysinger <vapier@gentoo.org>
11264
11265 * configure.in: Move assembler checks to before sysdep dir checking.
11266
9bbd0ddc
PB
112672010-08-20 Petr Baudis <pasky@suse.cz>
11268
11269 * LICENSES: Sync the sunrpc license.
11270
9da4bb31
UD
112712010-08-19 Ulrich Drepper <drepper@redhat.com>
11272
a7ab6ec8
UD
11273 * sunrpc/auth_des.c: Update copyright notice once again.
11274 * sunrpc/auth_none.c: Likewise.
11275 * sunrpc/auth_unix.c: Likewise.
11276 * sunrpc/authdes_prot.c: Likewise.
11277 * sunrpc/authuxprot.c: Likewise.
11278 * sunrpc/bindrsvprt.c: Likewise.
11279 * sunrpc/clnt_gen.c: Likewise.
11280 * sunrpc/clnt_perr.c: Likewise.
11281 * sunrpc/clnt_raw.c: Likewise.
11282 * sunrpc/clnt_simp.c: Likewise.
11283 * sunrpc/clnt_tcp.c: Likewise.
11284 * sunrpc/clnt_udp.c: Likewise.
11285 * sunrpc/clnt_unix.c: Likewise.
11286 * sunrpc/des_crypt.c: Likewise.
11287 * sunrpc/des_soft.c: Likewise.
11288 * sunrpc/get_myaddr.c: Likewise.
11289 * sunrpc/getrpcport.c: Likewise.
11290 * sunrpc/key_call.c: Likewise.
11291 * sunrpc/key_prot.c: Likewise.
11292 * sunrpc/openchild.c: Likewise.
11293 * sunrpc/pm_getmaps.c: Likewise.
11294 * sunrpc/pm_getport.c: Likewise.
11295 * sunrpc/pmap_clnt.c: Likewise.
11296 * sunrpc/pmap_prot.c: Likewise.
11297 * sunrpc/pmap_prot2.c: Likewise.
11298 * sunrpc/pmap_rmt.c: Likewise.
11299 * sunrpc/rpc/auth.h: Likewise.
11300 * sunrpc/rpc/auth_unix.h: Likewise.
11301 * sunrpc/rpc/clnt.h: Likewise.
11302 * sunrpc/rpc/des_crypt.h: Likewise.
11303 * sunrpc/rpc/key_prot.h: Likewise.
11304 * sunrpc/rpc/netdb.h: Likewise.
11305 * sunrpc/rpc/pmap_clnt.h: Likewise.
11306 * sunrpc/rpc/pmap_prot.h: Likewise.
11307 * sunrpc/rpc/pmap_rmt.h: Likewise.
11308 * sunrpc/rpc/rpc.h: Likewise.
11309 * sunrpc/rpc/rpc_des.h: Likewise.
11310 * sunrpc/rpc/rpc_msg.h: Likewise.
11311 * sunrpc/rpc/svc.h: Likewise.
11312 * sunrpc/rpc/svc_auth.h: Likewise.
11313 * sunrpc/rpc/types.h: Likewise.
11314 * sunrpc/rpc/xdr.h: Likewise.
11315 * sunrpc/rpc_clntout.c: Likewise.
11316 * sunrpc/rpc_cmsg.c: Likewise.
11317 * sunrpc/rpc_common.c: Likewise.
11318 * sunrpc/rpc_cout.c: Likewise.
11319 * sunrpc/rpc_dtable.c: Likewise.
11320 * sunrpc/rpc_hout.c: Likewise.
11321 * sunrpc/rpc_main.c: Likewise.
11322 * sunrpc/rpc_parse.c: Likewise.
11323 * sunrpc/rpc_parse.h: Likewise.
11324 * sunrpc/rpc_prot.c: Likewise.
11325 * sunrpc/rpc_sample.c: Likewise.
11326 * sunrpc/rpc_scan.c: Likewise.
11327 * sunrpc/rpc_scan.h: Likewise.
11328 * sunrpc/rpc_svcout.c: Likewise.
11329 * sunrpc/rpc_tblout.c: Likewise.
11330 * sunrpc/rpc_util.c: Likewise.
11331 * sunrpc/rpc_util.h: Likewise.
11332 * sunrpc/rpcinfo.c: Likewise.
11333 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
11334 * sunrpc/rpcsvc/key_prot.x: Likewise.
11335 * sunrpc/rpcsvc/klm_prot.x: Likewise.
11336 * sunrpc/rpcsvc/mount.x: Likewise.
11337 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
11338 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
11339 * sunrpc/rpcsvc/rex.x: Likewise.
11340 * sunrpc/rpcsvc/rstat.x: Likewise.
11341 * sunrpc/rpcsvc/rusers.x: Likewise.
11342 * sunrpc/rpcsvc/sm_inter.x: Likewise.
11343 * sunrpc/rpcsvc/spray.x: Likewise.
11344 * sunrpc/rpcsvc/yppasswd.x: Likewise.
11345 * sunrpc/rtime.c: Likewise.
11346 * sunrpc/svc.c: Likewise.
11347 * sunrpc/svc_auth.c: Likewise.
11348 * sunrpc/svc_authux.c: Likewise.
11349 * sunrpc/svc_raw.c: Likewise.
11350 * sunrpc/svc_run.c: Likewise.
11351 * sunrpc/svc_simple.c: Likewise.
11352 * sunrpc/svc_tcp.c: Likewise.
11353 * sunrpc/svc_udp.c: Likewise.
11354 * sunrpc/svc_unix.c: Likewise.
11355 * sunrpc/svcauth_des.c: Likewise.
11356 * sunrpc/xcrypt.c: Likewise.
11357 * sunrpc/xdr.c: Likewise.
11358 * sunrpc/xdr_array.c: Likewise.
11359 * sunrpc/xdr_float.c: Likewise.
11360 * sunrpc/xdr_mem.c: Likewise.
11361 * sunrpc/xdr_rec.c: Likewise.
11362 * sunrpc/xdr_ref.c: Likewise.
11363 * sunrpc/xdr_sizeof.c: Likewise.
11364 * sunrpc/xdr_stdio.c: Likewise.
11365
9da4bb31
UD
11366 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
11367 handling.
11368
bdaa77bc
AS
113692010-08-19 Andreas Schwab <schwab@redhat.com>
11370
11371 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
11372
fe2f79db
LM
113732010-08-19 Luis Machado <luisgpm@br.ibm.com>
11374
11375 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
11376 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
11377 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
11378 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
11379 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
11380 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
11381 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
11382 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
11383 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
11384 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
11385 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
11386 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
11387 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
11388 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
11389
b9b42ee0
AB
113902010-07-26 Anton Blanchard <anton@samba.org>
11391
11392 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
11393 * malloc/arena.c (heap_trim): Likewise.
11394
1c06ba31
UD
113952010-08-16 Ulrich Drepper <drepper@redhat.com>
11396
11397 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
11398 here. Not...
11399 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
11400 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
11401
f8392f40
L
114022010-08-12 H.J. Lu <hongjiu.lu@intel.com>
11403
11404 * sysdeps/i386/elf/Makefile: New file.
11405
3162f12e
AS
114062010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11407
11408 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
11409 from fanotify_init.
11410 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11411 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11412
28c90b2c
UD
114132010-08-15 Ulrich Drepper <drepper@redhat.com>
11414
11415 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
11416 of strncasecmp_l.
1feccb6c 11417 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 11418
ca6bb004
UD
114192010-08-14 Ulrich Drepper <drepper@redhat.com>
11420
e9f82e0d
UD
11421 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11422 strncase_l-nonascii.
11423 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11424 Add strncase_l-ssse3.
11425 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
11426 * sysdeps/x86_64/strcmp.S: Likewise.
11427 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
11428 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11429 * sysdeps/x86_64/strncase.S: New file.
11430 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11431 * sysdeps/x86_64/strncase_l.S: New file.
11432 * string/Makefile (strop-tests): Add strncasecmp.
11433 * string/test-strncasecmp.c: New file.
11434
11435 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11436 warning.
11437
ca6bb004
UD
11438 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11439 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11440
052fa7b3
AS
114412010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11442
11443 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11444
962dba78
UD
114452010-08-12 Ulrich Drepper <drepper@redhat.com>
11446
11447 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11448 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11449 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11450
bebff237
AM
114512010-05-01 Alan Modra <amodra@gmail.com>
11452
11453 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11454 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11455 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11456 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11457 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11458 tidying. Don't tail-call __sigjmp_save for static lib.
11459 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11460 save location.
11461 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11462 (CALL_MCOUNT): Add eh info, and nop after bl.
11463 (TAIL_CALL_SYSCALL_ERROR): New macro.
11464 (PSEUDO_RET): Use it.
11465 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11466 Correct save location of integer regs and cr.
11467 (_dl_profile_resolve): Correct cr save location. Delete nops
11468 after bl when SHARED. Reduce cfi size a little by better
11469 placement of cfi directives.
11470 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11471 make a stack frame. Instead use parm save area as a temp.
11472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11473 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
11474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11475 Don't make a stack frame for parent, use parm save area.
11476 Increase child stack frame to 112 bytes. Don't save unused reg,
11477 and adjust reg usage. Set up cfi on error recovery and
11478 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11480 (__makecontext): Add dummy nop after jump to exit.
11481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11482 Use correct parm save area and cr save, reduce stack frame.
11483 Correct cfi for possible PSEUDO_RET frame setup.
11484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11485 Branch to local label emitted by PSEUDO_RET rather than
11486 __syscall_error.
11487
02637374
AS
114882010-08-12 Andreas Schwab <schwab@redhat.com>
11489
11490 [BZ #11904]
11491 * locale/programs/locale.c (print_assignment): New function.
11492 (show_locale_vars): Use it.
11493
c3e2f19b
UD
114942010-08-11 Ulrich Drepper <drepper@redhat.com>
11495
3cdaa6ad
UD
11496 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11497 field.
11498 (struct statfs64): Likewise.
11499 (_STATFS_F_FLAGS): Define.
11500 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11501 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11502 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11503 (ST_VALID): Define locally.
11504 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11505 __statvfs_getflags, use the provided value.
11506 * sysdeps/unix/sysv/linux/kernel-features.h: Define
11507 __ASSUME_STATFS_F_FLAGS.
11508
754f7da3
UD
11509 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11510
10b3bedc
UD
11511 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11512 Add sys/fanotify.h.
11513 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11514 fanotify_mask for GLIBC_2.13.
11515 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11516 fanotify_init and fanotify_mark.
11517 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11518 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11519
c08fb0d7
UD
11520 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11521 Add prlimit.
11522 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11523 prlimit64 for GLIBC_2.13.
11524 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11525 prlimit64.
11526 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11527 syscall.
11528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11529 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11530 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11531 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11532 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
11533 add prlimit alias.
11534 * sysdeps/unix/sysv/linux/prlimit.c: New file.
11535
15bac72b
UD
11536 [BZ #11903]
11537 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11538 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11539
c3e2f19b
UD
11540 * nss/Makefile: Add rules to build and run tst-nss-test1.
11541 * shlib-versions: Add entry for libnss_test1.
11542 * nss/nss_test1.c: New file.
11543 * nss/tst-nss-test1.c: New file.
11544
11545 * nss/nsswitch.c (__nss_database_custom): Define new variable.
11546 (__nss_configure_lookup): Set appropriate entry in
11547 __nss_configure_lookup to true.
11548 * nss/nsswitch.h: Define enum with indeces of databases in
11549 databases and __nss_database_custom arrays. Declare
11550 __nss_database_custom.
11551 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
11552 to avoid using nscd when custom rules are installed.
11553 * nss/getXXbyYY_r.c: Likewise.
11554 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11555
11556 * nss/nss_files/files-parse.c: Whitespace fixes.
11557
f15ce4d8
UD
115582010-08-09 Ulrich Drepper <drepper@redhat.com>
11559
11560 [BZ #11883]
11561 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
11562 * posix/fnmatch_loop.c: Likewise.
11563
d22e4cc9
AK
115642010-07-17 Andi Kleen <ak@linux.intel.com>
11565
11566 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11567 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11568 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11569 * Versions.def [GLIBC_2.13]: Add.
11570
805bc17d
UD
115712010-08-06 Ulrich Drepper <drepper@redhat.com>
11572
11573 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11574 Also fail if tpwd after pwuid call is NULL.
11575
5a42321d
ST
115762010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11577
11578 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11579 when converting to ms.
11580
fd3ebeda
ST
115812010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11582
11583 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11584 EOPNOTSUPP errors with ENOTTY.
11585 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11586 EOPNOTSUPP errors with ENOTTY.
11587
73507d3a
UD
115882010-07-31 Ulrich Drepper <drepper@redhat.com>
11589
11590 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11591 Add strcasecmp_l-ssse3.
11592 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11593 strcasecmp.
11594 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11595 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11596 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11597
fe36dd02
UD
115982010-07-30 Ulrich Drepper <drepper@redhat.com>
11599
66f6765a
UD
11600 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11601
42e08a54
UD
11602 * string/Makefile (strop-tests): Add strcasecmp.
11603 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11604 strcasecmp_l-nonascii.
11605 (gen-as-const-headers): Add locale-defines.sym.
11606 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11607 * sysdeps/x86_64/strcasecmp.S: New file.
11608 * sysdeps/x86_64/strcasecmp_l.S: New file.
11609 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11610 * sysdeps/x86_64/locale-defines.sym: New file.
11611 * string/test-strcasecmp.c: New file.
11612
fe36dd02
UD
11613 * string/test-strcasestr.c: Test both ends of the range of characters.
11614 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11615
48cbc0d6
RM
116162010-07-29 Roland McGrath <roland@redhat.com>
11617
76e6d6bc 11618 [BZ #11856]
48cbc0d6
RM
11619 * manual/locale.texi (Yes-or-No Questions): Fix example code.
11620
880113d9
UD
116212010-07-27 Ulrich Drepper <drepper@redhat.com>
11622
11623 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11624 for ld.so.
11625
deb9cabb
AS
116262010-07-27 Andreas Schwab <schwab@redhat.com>
11627
11628 * manual/memory.texi (Malloc Tunable Parameters): Document
11629 M_PERTURB.
11630
1c7570ff
RM
116312010-07-26 Roland McGrath <roland@redhat.com>
11632
11633 [BZ #11840]
11634 * configure.in (-fgnu89-inline check): Set and substitute
11635 gnu89_inline, not libc_cv_gnu89_inline.
11636 * configure: Regenerated.
11637 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11638
24fb0f88
UD
116392010-07-26 Ulrich Drepper <drepper@redhat.com>
11640
11641 * string/test-strnlen.c: New file.
11642 * string/Makefile (strop-tests): Add strnlen.
11643 * string/tester.c (test_strnlen): Add a few more test cases.
11644 * string/tst-strlen.c: Better error reporting.
11645
11646 * sysdeps/x86_64/strnlen.S: New file.
11647
8e96b93a
UD
116482010-07-24 Ulrich Drepper <drepper@redhat.com>
11649
11650 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11651 lower-latency instructions.
11652
dbc676d4
UD
116532010-07-23 Ulrich Drepper <drepper@redhat.com>
11654
11655 * string/test-strcasestr.c: New file.
11656 * string/test-strstr.c: New file.
11657 * string/Makefile (strop-tests): Add strstr and strcasestr.
11658 * string/str-two-way.h: Don't undefine MAX.
11659 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11660
f6a31e0e
AS
116612010-07-21 Andreas Schwab <schwab@redhat.com>
11662
11663 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11664 strcasestr-nonascii.
11665 (CFLAGS-strcasestr-nonascii.c): Define.
11666 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11667 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11668 Remove unused attribute.
11669
5dbc3b6c
RM
116702010-07-20 Roland McGrath <roland@redhat.com>
11671
11672 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11673 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
11674 ld.so.cache was broken. With it, there is no way to disable dsocaps
11675 like LD_HWCAP_MASK can disable hwcaps.
11676
23d101d8
EPM
116772010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11678
11679 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11680
cc9f2e47
UD
116812010-07-16 Ulrich Drepper <drepper@redhat.com>
11682
11683 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11684 call in strcasestr.
11685 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11686 __strcasestr_sse42_nonascii.
11687 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11688 strcasestr-nonascii.c.
11689 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11690
77c1b069
LM
116912010-06-15 Luis Machado <luisgpm@br.ibm.com>
11692
11693 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11694 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11695 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11696 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11697
440566c3
UD
116982010-07-09 Ulrich Drepper <drepper@redhat.com>
11699
11700 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11701 fcntl.
11702
5be9d05d
AS
117032010-07-06 Andreas Schwab <schwab@redhat.com>
11704
c30b7ee2 11705 [BZ #11577]
5be9d05d
AS
11706 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11707 dl_signal_cerror.
11708
8a492a67
UD
117092010-07-06 Ulrich Drepper <drepper@redhat.com>
11710
11711 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11712 _PC_PIPE_BUF using F_GETPIPE_SZ.
11713
713df3d5
RM
117142010-07-05 Roland McGrath <roland@redhat.com>
11715
11716 * manual/arith.texi (Rounding Functions): Fix rint description
11717 implicit in round description.
11718
702e8f14
UD
117192010-07-02 Ulrich Drepper <drepper@redhat.com>
11720
11721 * elf/Makefile: Fix linking for a few tests to make recent linker
11722 happy.
11723
52ed8be9
AS
117242010-06-30 Andreas Schwab <schwab@redhat.com>
11725
11726 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11727 $(common-objpfx)libc_nonshared.a.
11728
f47c9a11
LM
117292010-06-21 Luis Machado <luisgpm@br.ibm.com>
11730
11731 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11732 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11733 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11734 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11735 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11736 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11737 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11738 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11753 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11754 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11755 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11756 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11757 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11758 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11759 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11760 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11761 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11762 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11763 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11764 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11779
6fb8cbcb
L
117802010-06-25 H.J. Lu <hongjiu.lu@intel.com>
11781
11782 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11783 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11784 * string/memmove.c (memmove): Renamed to ...
11785 (MEMMOVE): ...this. Default to memmove.
11786 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11787 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11788 (END_CHK): Define.
11789 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11790 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11791 mempcpy-ssse3-back memmove-ssse3-back.
11792 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11793 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11794 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11795 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11796 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11797 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11798 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11799 * sysdeps/x86_64/multiarch/memmove.c: New file.
11800 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11801 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11802 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11803 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11804 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11805 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11806 Define.
11807 (index_Fast_Copy_Backward): Define.
11808 (HAS_ARCH_FEATURE): Define.
11809 (HAS_FAST_REP_STRING): Define.
11810 (HAS_FAST_COPY_BACKWARD): Define.
11811
4e733bac 118122010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
11813
11814 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11815 Restore proper fallback handling.
11816
63c4ed22
UD
118172010-06-19 Ulrich Drepper <drepper@redhat.com>
11818
ac2b484c
UD
11819 [BZ #11701]
11820 * posix/group_member.c (__group_member): Correct checking loop.
11821
63c4ed22
UD
11822 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11823 OOM in getpwuid_r correctly. Return error number when the caller
11824 should return, otherwise -1.
11825 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11826 call returning > 0 value.
11827 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11828
765ade4b
AS
118292010-06-07 Andreas Schwab <schwab@redhat.com>
11830
11831 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11832 libc_nonshared.a from targets in modules-names.
11833
80da2e09
KS
118342010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11835
11836 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11837 requires it.
11838
158db122
LM
118392010-06-10 Luis Machado <luisgpm@br.ibm.com>
11840
11841 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11842 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11843 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11844 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11845
caa78cf8
AS
118462010-06-02 Andreas Schwab <schwab@redhat.com>
11847
11848 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11849
b2ef2c01
UD
118502010-06-14 Ulrich Drepper <drepper@redhat.com>
11851
11852 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11853 and F_GETPIPE_SZ.
11854 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11855 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11856 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11857 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11858 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11859 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11860
fbd643b6
RM
118612010-06-14 Roland McGrath <roland@redhat.com>
11862
11863 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11864
f32f2869
JJ
118652010-06-07 Jakub Jelinek <jakub@redhat.com>
11866
11867 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11868 __REDIRECT followed by __THROW.
11869 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11870 * posix/getopt.h (getopt): Likewise.
11871
2a50c078
EPM
118722010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11873
11874 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11875 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11876 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11877 in AT_FLAGS.
11878 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11879 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11880
eb5ad2eb
LM
118812010-05-28 Luis Machado <luisgpm@br.ibm.com>
11882
11883 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11884
3c88fe1e
L
118852010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11886
11887 [BZ #11640]
11888 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11889 Properly check family and model.
11890
d2f73151
TY
118912010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11892
11893 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11894
ebd2e13d
LM
118952010-05-24 Luis Machado <luisgpm@br.ibm.com>
11896
11897 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11898
b32b8b45
UD
118992010-05-21 Ulrich Drepper <drepper@redhat.com>
11900
11901 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11902 symbol reference.
11903
9acbe24d
AS
119042010-05-19 Andreas Schwab <schwab@redhat.com>
11905
11906 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11907 symbol reference.
11908
f0ccf6ea
AS
119092010-05-21 Andreas Schwab <schwab@redhat.com>
11910
3d04ff3a
AS
11911 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11912 and internal_recvmmsg.
11913 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11914 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11915 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11916 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11917
f0ccf6ea
AS
11918 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11919 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11920 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11921
5b08ac57
AS
119222010-05-20 Andreas Schwab <schwab@redhat.com>
11923
11924 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11925
4828935d
LM
119262010-05-17 Luis Machado <luisgpm@br.ibm.com>
11927
11928 POWER7 optimizations.
11929 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11930 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11931
373d545e
UD
119322010-05-19 Ulrich Drepper <drepper@redhat.com>
11933
11934 * version.h: Update for 2.13 development version.
11935
21a2b1ae
AS
119362010-05-12 Andrew Stubbs <ams@codesourcery.com>
11937
11938 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11939 exceptions. Return 0.
11940
3f7dcb2b
RM
119412010-05-07 Roland McGrath <roland@redhat.com>
11942
11943 * elf/ldconfig.c (main): Add a const.
11944
5f24d53a 119452010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 11946
a160f8d8
UD
11947 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11948 (args_options): Add no-idn option.
11949 (ahosts_keys_int): Add idn_flags to ai_flags.
11950 (parse_option): Handle 'i' option to clear idn_flags.
11951
5f24d53a
UD
11952 * malloc/malloc.c (_int_free): Possible race in the most recently
11953 added check. Only act on the data if no current modification
11954 happened.
265bb1ce
UD
11955
11956See ChangeLog.17 for earlier changes.