]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Don't handle unsupported OSes in configure (base_os settings).
[thirdparty/glibc.git] / ChangeLog
CommitLineData
2ce4f015
JM
12012-04-26 Joseph Myers <joseph@codesourcery.com>
2
3 * configure.in (arm*-none*): Do not allow without
4 --enable-hacker-mode.
5 (netbsd*): Remove case setting base_os.
6 (386bsd*): Likewise.
7 (freebsd*): Likewise.
8 (bsdi*): Likewise.
9 (osf*): Likewise.
10 (sunos*): Likewise.
11 (ultrix*): Likewise.
12 (newsos*): Likewise.
13 (dynix*): Likewise.
14 (*bsd*): Likewise.
15 (sysv*): Likewise.
16 (isc*): Likewise.
17 (esix*): Likewise.
18 (sco*): Likewise.
19 (minix*): Likewise.
20 (irix4*): Likewise.
21 (irix6*): Likewise.
22 (solaris[2-9]*): Likewise.
23 (none): Likewise.
24 * configure: Regenerated.
25
0ac229c8
AZ
262012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27
28 [BZ #11521]
29 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
30 overflow or cancellation in calculating denominator.
31 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
32 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
33 down expression to avoid unexpected rounding in newer GCCs.
34 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
35
33f244f4
DM
362012-04-26 David S. Miller <davem@davemloft.net>
37
38 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
39 long-double compat symbols.
40 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
44 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
46 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
47 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
48 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
49 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
50 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
51 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
52 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53
cfa1f3e8
DM
542012-04-25 David S. Miller <davem@davemloft.net>
55
56 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
57 HWCAP_* values only after the memory barriers have been defined.
58 (atomic_full_barrier): Define.
59 (atomic_read_barrier): Define.
60 (atomic_write_barrier): Define.
61
6e236b92
SP
622012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
63
64 * shlib-versions: Add libgcc_s version information.
65 * sysdeps/generic/libgcc_s.h: Remove.
66 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
67 libgcc_s.h.
68 * sysdeps/gnu/unwind-resume.c: Likewise.
69 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
70
aab39a09
DM
712012-04-25 David S. Miller <davem@davemloft.net>
72
73 * sysdeps/unix/sparc/brk.S: Delete.
74 * sysdeps/unix/sparc/dl-brk.S: Delete.
75 * sysdeps/unix/sparc/pipe.S: Delete.
76 * sysdeps/unix/sparc/sysdep.S: Delete.
77 * sysdeps/unix/sparc/sysdep.h: Delete.
78 * sysdeps/unix/sparc/vfork.S: Delete.
79 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
80 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
81 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
82 ret_ERRVAL, r0, r1, MOVE): Define.
83 (JUMPTARGET): Remove.
84 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
85 sysdeps/unix/sparc/sysdep.h
86 (ENTRY, END): Remove.
87 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
88
a3cc4f48
JM
892012-04-25 Joseph Myers <joseph@codesourcery.com>
90
2ed8cda2
JM
91 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
92 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
93 -DIS_IN_build.
94
35d76d59
JM
95 * timezone/README: Update upstream location and email address for
96 tzcode and tzdata.
97 * timezone/zdump.c: Update from tzcode 2012b.
98 * timezone/zic.c: Likewise.
99
a3cc4f48
JM
100 * configure.in (libc_cv_as_needed): Remove test.
101 * configure: Regenerated.
102 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
103 conditional definition.
104 [$(have-as-needed) != yes] (no-as-needed): Likewise.
105 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
106 * config.make.in (have-as-needed): Remove variable.
107
ceab42c3
SP
1082012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
109 Paul Pluzhnikov <ppluzhnikov@google.com>
110
111 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
112 strings correctly.
113
3ce2865f
CLT
1142012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
115
116 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
117 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
118 * sysdeps/sh/strlen.S: Likewise.
119
f37e0d68
JM
1202012-04-24 Joseph Myers <joseph@codesourcery.com>
121
ae186e9a
JM
122 * sysdeps/unix/fork.S: Remove file.
123 * sysdeps/unix/i386/fork.S: Likewise.
124 * sysdeps/unix/sparc/fork.S: Likewise.
125
b96914af
JM
126 * sysdeps/unix/system.c: Remove file.
127 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
128
f37e0d68
JM
129 * sysdeps/unix/getegid.S: Remove file.
130 * sysdeps/unix/geteuid.S: Likewise.
131
87ef29ca
RM
1322012-04-24 Roland McGrath <roland@hack.frob.com>
133
83bcd236
RM
134 * scripts/check-localplt.awk: New file.
135 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
136 of diff.
137 * scripts/data/localplt-generic.data: Add a comment.
138
87ef29ca
RM
139 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
140 NODE when __dir_mkfile failed.
141 * sysdeps/mach/hurd/symlinkat.c: Likewise.
142 Reported by Ludovic Courtès <ludo@gnu.org>.
143
e5a6e567
AJ
1442012-04-24 Andreas Jaeger <aj@suse.de>
145
146 * Makerules (common-clean): Also remove gen-as-const-headers
147 files.
148
c1820385
JM
1492012-04-24 Joseph Myers <joseph@codesourcery.com>
150
151 * Makerules (native-compile): Do not change working directory for
152 build. Use $(OUTPUT_OPTION) in command.
153 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
154
94e02fc4
AZ
1552012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
156
157 [BZ #13886]
158 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
159 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
160 * math/libm-test.inc (floor_test): Add more tests.
161 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
162
3a533ca3
JM
1632012-04-24 Joseph Myers <joseph@codesourcery.com>
164
940ab4b3
JM
165 * sysdeps/unix/getdents.c: Remove file.
166 * sysdeps/unix/sysv/getdents.c: Likewise.
167 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
168
90e037bd
JM
169 * sysdeps/unix/syscalls.list (madvise): Add syscall from
170 sysdeps/unix/mman/syscalls.list.
171 (mmap): Likewise.
172 (mprotect): Likewise.
173 (msync): Likewise.
174 (munmap): Likewise.
175 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
176 * sysdeps/unix/mman/syscalls.list: Remove.
177 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
178
3a533ca3
JM
179 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
180 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
181 * configure: Regenerated.
182 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
183 $(libgcc_s_suffix).
184 * config.make.in (libgcc_s_suffix): Remove variable.
185
1ad743de
JM
1862012-04-23 Joseph Myers <joseph@codesourcery.com>
187
4ad451e2
JM
188 * sysdeps/unix/sysv/gethostname.c: Move to ...
189 * sysdeps/posix/gethostname.c: ... here.
190
5e37ce39
JM
191 * sysdeps/unix/execve.S: Remove file.
192
1ad743de
JM
193 * sysdeps/unix/_exit.S: Remove file.
194
4e681b5b
AJ
1952012-04-23 Andreas Jaeger <aj@suse.de>
196
197 [BZ #13739]
198 * manual/Makefile: Remove make dist support, there's no
199 need for a stand-alone documentation tar ball.
200 (TEXI2DVI): Define always, it's not in Makeconfig.
201 (dist): Removed.
202 (tar-it): Removed.
203 (edition): Removed.
204 (glibc-doc-$(edition).tar): Removed
205 (%.Z): Removed.
206 (%.gz): Removed.
207 (%.uu): Removed.
208 (ETAGS): Remove, it's in Makeconfig.
209 (move-if-change): Remove, it's in Makeconfig.
210
c0baea34
PE
2112013-04-23 Paul Eggert <eggert@cs.ucla.edu>
212
213 [BZ #13970]
214 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
215 (strtod, strtof, strtold, strtol, strtoul, strtoq)
216 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
217 (strtod_l, strtof_l, strtold_l): Remove __wur.
218 It is not necessarily an error to ignore strtol's return value.
219 One can reliably look at the stored endptr to decide whether
220 the number had valid syntax.
221
7c0616fa
AJ
2222012-04-21 Andreas Jaeger <aj@suse.de>
223
803cb6b7 224 [BZ #13739]
7c0616fa
AJ
225 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
226
b0fe253f
JM
2272012-04-21 Joseph Myers <joseph@codesourcery.com>
228
229 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
230 * sysdeps/unix/sysv/Versions: Remove file.
231
8280f22d
MT
2322012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
233
234 [BZ #13927]
235 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
236
75ce411f 2372012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
238
239 [BZ #7064]
240 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
241 version from __vm86.
242
097d59fa
JM
2432012-04-20 Joseph Myers <joseph@codesourcery.com>
244
a90f3bcb
JM
245 * sysdeps/unix/common/lxstat.c: Remove file.
246 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
247
edc7ea78
JM
248 * sysdeps/unix/sysv/Makefile: Remove file.
249
cb78c221
JM
250 * sysdeps/unix/sysv/direct.h: Remove file.
251
efa6a45f
JM
252 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
253 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
254 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
255 * sysdeps/unix/sysv/bits/signum.h: Likewise.
256 * sysdeps/unix/sysv/bits/stat.h: Likewise.
257 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
258 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
259
9c9f2d0c
JM
260 * sysdeps/unix/sysv/setrlimit.c: Remove file.
261
4541c83b
JM
262 * sysdeps/unix/xmknod.c: Remove file.
263 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
264
f5d153a0
JM
265 * sysdeps/unix/sysv/settimeofday.c: Remove file.
266
aa746595
JM
267 * sysdeps/unix/sysv/i386/time.S: Remove file.
268
cce5905e
JM
269 * sysdeps/unix/fxstat.c: Remove file.
270 * sysdeps/unix/xstat.c: Likewise.
271 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
272
37fa3841
JM
273 * sysdeps/unix/sysv/sigaction.c: Remove file.
274
ff1962a3
JM
275 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
276 (sysdep_headers): Remove variable.
277 [termio.h not in sysdep_headers] (generated): Likewise.
278 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
279 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
280 * sysdeps/unix/sysv/tcdrain.c: Likewise.
281 * sysdeps/unix/sysv/tcflow.c: Likewise.
282 * sysdeps/unix/sysv/tcflush.c: Likewise.
283 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
284 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
285 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
286 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
287 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
288
e7740d31
JM
289 * sysdeps/unix/siglist.c: Remove file.
290
ee06f18b
JM
291 * sysdeps/unix/getppid.S: Remove file.
292
097d59fa
JM
293 * sysdeps/unix/mkdir.c: Remove file.
294 * sysdeps/unix/rmdir.c: Likewise.
295
ff3d51ec
AS
2962012-04-19 Andreas Schwab <schwab@linux-m68k.org>
297
298 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
299 ERR_MAX value.
300 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
301 errlist-compat value.
302
50f81fd7
DM
3032012-04-18 David S. Miller <davem@davemloft.net>
304
305 * sysdeps/generic/memcopy.h (reg_char): Delete.
306 * debug/strcat_chk.c: Use char, not reg_char.
307 * debug/strcpy_chk.c: Likewise.
308 * debug/strncat_chk.c: Likewise.
309 * debug/strncpy_chk.c: Likewise.
310 * string/memchr.c: Likewise.
311 * string/memrchr.c: Likewise.
312 * string/rawmemchr.c: Likewise.
313 * string/strcat.c: Likewise.
314 * string/strchr.c: Likewise.
315 * string/strchrnul.c: Likewise.
316 * string/strcmp.c: Likewise.
317 * string/strcpy.c: Likewise.
318 * string/strncat.c: Likewise.
319 * string/strncmp.c: Likewise.
320 * string/strncpy.c: Likewise.
321
8ff41c46
WS
3222012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
323
324 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
325 __builtin_memcopy is called when src and dest ranges are known to not
326 overlap.
327
6b652f46
WS
3282012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
329
330 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
331 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
332 fwd_align_merge macro call.
333 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
334 bwd_align_merge macro call.
335 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
336
b282631e
WS
3372012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
338
339 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
340 bwd_align_merge macros.
341 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
342 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
343 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
344
95aa737c
DM
3452012-04-18 David S. Miller <davem@davemloft.net>
346
347 * sysdeps/sparc/sparc64/memcopy.h: Delete.
348
7a99a614
AJ
3492012-04-18 Andreas Jaeger <aj@suse.de>
350
351 [BZ# 6794]
352 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
353 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
354 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
355
356 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
357 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
358 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
359
360 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
361 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
362 Adjust for changed ldbl-128 files.
363
364 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
365 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
366 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
367
e5270c23
DM
3682012-04-17 David S. Miller <davem@davemloft.net>
369
370 * sysdeps/sparc/sparc32/memcopy.h: Delete.
371
fb5e92c9
AS
3722012-04-17 Andreas Schwab <schwab@linux-m68k.org>
373
374 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
375 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
376 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
377 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
378 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
379 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
380
76da7265
AZ
3812012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
382
383 [BZ #6794]
384 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
385 * math/libm-test.inc: Add ilogb errno and exception tests.
386 * math/w_ilogb.c: New file: ilogb wrapper.
387 * math/w_ilogbf.c: New file: ilogbf wrapper.
388 * math/w_ilogbl.c: New file: ilogbl wrapper.
389 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
390 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
391 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
392 exception being thrown with 0.0 as argument.
393 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
394 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
395 exception being thrown with 0.0 as argument.
396 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
397 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
398 exception being thrown with 0.0 as argument.
399 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
400 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
401 exception being thrown with 0.0 as argument.
402 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
403 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 404 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
405 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
406 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
407 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
408 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
409 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
410 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
411
0396e69d
PB
4122012-04-17 Petr Baudis <pasky@ucw.cz>
413
414 * include/sys/uio.h: Change __vector to __iovec to avoid clash
415 with altivec.
416
750b5926
MP
4172012-04-16 Marek Polacek <polacek@redhat.com>
418
419 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
420
751728a1
MP
4212012-04-16 Marek Polacek <polacek@redhat.com>
422
423 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
424 operands of fdivp instruction.
425
34a27407
L
4262012-04-13 H.J. Lu <hongjiu.lu@intel.com>
427
428 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
429 * elf/tst-auditmod3b.c: Likewise.
430 * elf/tst-auditmod4b.c: Likewise.
431 * elf/tst-auditmod5b.c: Likewise.
432 * elf/tst-auditmod6b.c: Likewise.
433 * elf/tst-auditmod6c.c: Likewise.
434 * elf/tst-auditmod7b.c: Likewise.
435 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
436 * sysdeps/x86_64/preconfigure.in: Likewise.
437 * sysdeps/x86_64/preconfigure: Regenerated.
438
7e73e17d
L
4392012-04-13 H.J. Lu <hongjiu.lu@intel.com>
440
441 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
442 __ILP32__.
443
c7a6ab72
AB
4442012-04-13 Antoine Balestrat <merkil33@gmail.com>
445
446 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
447 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
448
a9e8e0e0
CL
4492012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
450
451 [BZ #13973]
452 * locale/iso-639.def: Fix gl language name. Spotted by
453 Yaron Shahrabani.
454
ec98af7d
RM
4552012-04-12 Roland McGrath <roland@hack.frob.com>
456
457 [BZ #2074]
458 * libio/libio.h (__io_write_fn): Update comment.
459
247c3ede
PB
4602012-04-12 Petr Baudis <pasky@ucw.cz>
461
462 [BZ #2074]
463 * stdio.texi (Hook Functions): The user provided writer function
464 is not allowed to return -1.
465
55939d6d
DM
4662012-04-11 David S. Miller <davem@davemloft.net>
467
468 * sysdeps/sparc/fpu/libm-test-ulps: Update.
469
90020f5a
MF
4702012-04-11 Mike Frysinger <vapier@gentoo.org>
471
472 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
473 Add a leading slash to rtkaio.
474
288f9098
JM
4752012-04-11 Jim Meyering <meyering@redhat.com>
476
90020f5a
MF
477 [BZ #11959]
478 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
479 It is not necessarily an error to ignore fwrite's return
480 value. One can reliably use ferror to test for errors after
481 the fact.
288f9098 482
4be2b570
L
4832012-04-10 H.J. Lu <hongjiu.lu@intel.com>
484
485 * bits/types.h (__snseconds_t): New type.
486 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
487
488 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
489 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
490 (__SNSECONDS_T_TYPE): Likewise.
491 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
492 (__SNSECONDS_T_TYPE): Likewise.
493 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
494 (__SNSECONDS_T_TYPE): Likewise.
495
288f9098 4962012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
497
498 [BZ #2636]
499 * manual/time.texi (Processor Time): Return type of times is
500 elapsed real time since an arbitrary point in the past.
501 (CPU Time): Move CLK_TCK from here...
502 (Processor Time): ...to here. Correct description.
503 * manual/conf.texi (Constants for Sysconf): Correct description of
504 _SC_CLK_TCK.
505
d7dd4413
DM
5062012-04-10 David S. Miller <davem@davemloft.net>
507
508 [BZ #13967]
509 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
510 where the is a gap between DT_REL(A) and DT_JMPREL.
511
b46068fc
L
5122012-04-10 H.J. Lu <hongjiu.lu@intel.com>
513
514 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
515 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
516 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
517
73d65cc3
SP
5182012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
519
520 * elf/dl-support.c (_dl_inhibit_cache): New variable.
521 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
522 (dl_main): Handle --inhibit-cache.
523 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
524 _dl_inhibit_cache.
525 * elf/dl-load.c (_dl_map_object): Use it.
526 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
527
bcc8d661
JM
5282012-04-09 Joseph Myers <joseph@codesourcery.com>
529
8f9a2fae
JM
530 [BZ #13872]
531 * sysdeps/i386/fpu/e_powl.S (p78): New object.
532 (__ieee754_powl): Saturate large exponents rather than testing for
533 overflow of y*log2(x).
534 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
535 * math/libm-test.inc (pow_test): Do not permit spurious overflow
536 exceptions.
537
bcc8d661
JM
538 [BZ #11521]
539 * math/s_ctan.c: Include <float.h>.
540 (__ctan): Avoid internal overflow or cancellation in calculating
541 denominator.
542 * math/s_ctanf.c: Likewise.
543 * math/s_ctanl.c: Likewise.
544 * math/s_ctanh.c: Likewise.
545 * math/s_ctanhf.c: Likewise.
546 * math/s_ctanhl.c: Likewise.
547 * math/libm-test.inc (ctan_test): Add more tests.
548 (ctanh_test): Likewise.
549 * sysdeps/i386/fpu/libm-test-ulps: Update.
550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
551
823fbbb4
AJ
5522012-04-09 Andreas Jaeger <aj@suse.de>
553
03879793
AJ
554 [BZ #6894]
555 * manual/filesys.texi (Directory Entries): Mention that d_namlen
556 is an optional BSD extension.
557
823fbbb4
AJ
558 [BZ #10254]
559 * manual/stdio.texi (Opening Streams): Document additional fopen
560 parameters.
561
8de131cb
RM
5622012-04-09 Roland McGrath <roland@hack.frob.com>
563
564 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
565 %eax without telling the compiler.
566
c0ed9d7d
CD
5672012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
568
569 [BZ # 13963]
570 * manual/install.texi: Use sourceware.org.
571
c483f6b4
JM
5722012-04-09 Joseph Myers <joseph@codesourcery.com>
573
d7dd9453
JM
574 [BZ #13873]
575 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
576 (__ieee754_pow): Generate overflow and underflow using huge*huge
577 and tiny*tiny rather than just returning constant infinity or zero
578 for large exponents.
579 * math/libm-test.inc (pow_test): Require overflow exceptions for
580 applicable cases of large exponents.
581
c483f6b4
JM
582 [BZ #706]
583 * sysdeps/i386/fpu/e_pow.S (p10): New object.
584 (__ieee754_pow): Use iterative multiplication algorithm only for
585 integer exponents with absolute value below 1024. Check for odd
586 integer exponents when using algorithm for real exponents.
587 * math/libm-test.inc (pow_test): Add more tests.
588 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
589
d2de7579
JM
5902012-04-08 Joseph Myers <joseph@codesourcery.com>
591
592 [BZ #13705]
593 * math/libm-test.inc (exp_test): Do not allow overflow exception
594 on underflow test.
595
f77f1232
AJ
5962012-04-08 Aurelien Jarno <aurelien@aurel32.net>
597
598 [BZ #13705]
599 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
600 instead of __kernel_standard_f.
601
3884932b
MF
6022012-04-08 Mike Frysinger <vapier@gentoo.org>
603
604 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
605 * sysdeps/x86_64/memset_chk.S: Likewise.
606
54472e9c
AJ
6072012-04-08 Andreas Jaeger <aj@suse.de>
608
6ab0fbfc
AJ
609 [BZ #10153]
610 * manual/startup.texi (Environment Access): Describe return value
611 for putenv and setenv.
612
61efba8c
AJ
613 [BZ #6895]
614 * manual/filesys.texi (Directory Entries): Add description for
615 DT_LNK.
616
95c3f29a
AJ
617 [BZ #6890]
618 * manual/filesys.texi (Directory Entries): Clarify that it's file
619 system not operating system in the description of DT_UNKNOWN.
620
54472e9c
AJ
621 [BZ #6578]
622 * manual/syslog.texi (closelog): Fix reference, it's openlog.
623
624254b1
SC
6242012-04-08 Stephen Compall <s11@member.fsf.org>
625
626 [BZ #6649]
627 * manual/llio.texi (Opening and Closing Files): Add cross
628 reference to explain mode argument.
629
1e4920e0
MF
6302012-04-07 Mike Frysinger <vapier@gentoo.org>
631
632 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
633 * sysdeps/x86_64/memset_chk.S: Likewise.
634
5ed848f3
DM
6352012-04-07 David S. Miller <davem@davemloft.net>
636
637 * elf/elf.h (R_SPARC_WDISP10): Define.
638 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
639 R_SPARC_SIZE32.
640 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
641 R_SPARC_SIZE64 and R_SPARC_H34.
642
96154cd8
CD
6432012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
644
645 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
646 conditions and remove no longer applicable assertion.
647
9904dc47
L
6482012-04-06 H.J. Lu <hongjiu.lu@intel.com>
649
650 * bits/byteswap.h: Include <features.h>.
651 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
652 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
653
f8887d0a
L
6542012-04-06 H.J. Lu <hongjiu.lu@intel.com>
655
656 * bits/byteswap.h (__bswap_16): Removed.
657 Include <bits/byteswap-16.h> to get __bswap_16.
658 * sysdeps/i386/bits/byteswap.h: Likewise.
659 * sysdeps/s390/bits/byteswap.h: Likewise.
660 * sysdeps/x86_64/bits/byteswap.h: Likewise.
661 * bits/byteswap-16.h: New file.
662 * sysdeps/i386/bits/byteswap-16.h: Likewise.
663 * sysdeps/s390/bits/byteswap-16.h: Likewise.
664 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
665 * string/Makefile (headers): Add bits/byteswap-16.h.
666
62470f60
PP
6672012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
668
669 [BZ #13895]
670 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
671 extra indirection.
672 * nss/Makefile (tests-static, tests): Add tst-nss-static.
673 * nss/tst-nss-static.c: New.
674
4dad7bab
RM
6752012-04-06 Robert Millan <rmh@gnu.org>
676
677 [BZ #6486]
678 * manual/llio.texi (File Position Primitive): lseek
679 refers to WHENCE when it really means OFFSET.
680
e9142a17
AJ
6812012-04-06 Andreas Jaeger <aj@suse.de>
682
2c040eff
AJ
683 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
684 strncmp declarations.
685
e9142a17
AJ
686 * abilist/libc.abilist: Add __poll and __ppoll.
687
ff9f1c5f
DM
6882012-04-05 David S. Miller <davem@davemloft.net>
689
dcd2ae90
DM
690 * scripts/check-local-headers.sh: Accept a host triplet in the
691 path matched by the exclude regexp.
692
993eb054
DM
693 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
694 definition.
695 * sysdeps/powerpc/powerpc32/dl-machine.h
696 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
697 * sysdeps/s390/s390-32/dl-machine.h
698 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
699 * sysdeps/sparc/sparc32/dl-machine.h
700 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
701 * sysdeps/sparc/sparc64/dl-machine.h
702 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
703
ff9f1c5f
DM
704 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
705 lazy binding.
48e2e132 706 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
707 undefined symbol errors.
708
48e2e132 709 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
710 DT_NEEDED entries.
711
e80d6f94
MM
7122012-04-05 Michael Matz <matz@suse.de>
713
714 [BZ #13592]
715 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
716
349fa79f
AJ
7172012-04-05 Andreas Jaeger <aj@suse.de>
718
719 [BZ #13908]
720 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
721 comment.
722
f402708f
KK
7232012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
724
725 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
726 which ROUND is no valid rounding mode.
727
2ecccfc9
KK
7282012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
729
730 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
731 read again.
732 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
733
8a53f50f
KK
7342012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
735
736 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
737 an exception using FPU order intentionally.
738
7392012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
740
741 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
742 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
743 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
744 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
745
d653abb7
SJ
7462012-04-05 Simon Josefsson <simon@josefsson.org>
747
748 [BZ #12340]
749 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
750 EINVAL when BUFLEN is too smal.
751
c3b1bf7d
TS
7522012-04-05 Thomas Schwinge <thomas@codesourcery.com>
753
754 [BZ #13553]
755 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
756 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
757
b1aa60f3
AJ
7582012-04-03 Andreas Jaeger <aj@suse.de>
759
c3b1bf7d 760 [BZ #13938]
67f60a26
AJ
761 * manual/setjmp.texi (System V contexts): Fix sentence.
762
b1aa60f3
AJ
763 [BZ #13926]
764 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
765 New macro for this case.
766 [!__GNUC__] (__bswap_64): New inline function for this case.
767 * sysdeps/x86_64/bits/byteswap.h: Likewise.
768 * bits/byteswap.h: Likewise.
769 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
770 ull, guard with __GLIBC_HAVE_LONG_LONG.
771
772 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
773 __GLIBC_HAVE_LONG_LONG.
774
775 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
776 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
777
39c59c35
TMQMF
7782012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
779
780 [BZ #13691]
781 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
782 inptr and inend, rather than using last_ch.
783
135ffda8
DM
7842012-04-02 David S. Miller <davem@davemloft.net>
785
786 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
787 * stdio-common/printf-parse.h (read_int): Change return type to
788 'int', return -1 on INT_MAX overflow.
789 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
790 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
791 overflows INT_MAX. Check for overflow of in-format-string precision
792 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
793 SIZE_MAX not INT_MAX for integer overflow test.
794 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
795 skip the construct in the format string but do not record anything.
796 * stdio-common/bug22.c: Adjust to test both width/prevision
797 INT_MAX overflow as well as total length INT_MAX overflow. Check
798 explicitly for proper errno values.
799
228c019e
TS
8002012-04-02 Thomas Schwinge <thomas@codesourcery.com>
801
302cadd3
TS
802 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
803 CHAR_MAX.
804 * string/test-strcmp.c [! WIDE]: Likewise.
805 * time/tst-mktime2.c: Likewise for INT_MAX.
806 * string/test-string.h: #include <sys/param.h> for MIN.
807
228c019e
TS
808 * csu/init-first.c (__libc_init_first): Call __ctype_init.
809 * sysdeps/i386/init-first.c (init): Likewise.
810 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
811 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
812 * sysdeps/sh/init-first.c (init): Likewise.
813
cfa633f5
UD
8142012-04-01 Ulrich Drepper <drepper@gmail.com>
815
816 * po/ru.po: Update from translation team.
d1635ef8 817 * po/vi.po: Likewise.
cfa633f5 818
6cd0a5ea
SP
8192012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
820
821 * resolv/nss_dns/dns-host.c: Merge copyright years.
822
4b43400f
LD
8232012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
824
825 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
826 Optimize memcpy with prefetch if
827 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
828 src, dst pointers have unequal 16 byte alignments.
829
48c41d04
SP
8302012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
831
832 [BZ #13928]
833 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
834 from a CNAME entry and return the minimum ttl for the query.
835 (gaih_getanswer_slice): Likewise.
836
b8dc394d
JL
8372012-03-30 Jeff Law <law@redhat.com>
838
839 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
840 due to long keys.
841 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
842 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
843
2f5a5ed0
JL
844 * resolv/nss_dns/dns-host.c: Update copyright year.
845
1d39e359
UD
8462012-03-30 Ulrich Drepper <drepper@gmail.com>
847
c030f70c 848 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 849 requests to save a system call. Fix check that all bytes are sent.
c030f70c 850
1d39e359
UD
851 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
852 comments for sendmmsg.
853
8542012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
855
856 [BZ #13691]
857 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
858 with only 1 character between 0x0041 and 0x01b0.
859 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
860 * wcsmbs/tst-mbsnrtowcs.c: New file.
861
20fde227
DM
8622012-03-29 David S. Miller <davem@davemloft.net>
863
864 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
865 small copies by hand.
866
984a4237
JL
8672012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
868
869 [BZ #13761]
870 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
871 _nss_compat_initgroups_dyn): Fall back to malloc/free
872 for large group memberships.
873
18c9d62b
DM
8742012-03-28 David S. Miller <davem@davemloft.net>
875
88d85d4f
DM
876 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
877 that branches into memcpy.
878 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
879 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
880 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
881 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
882 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
883 bits.
884 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
885 implementation too.
886 * sysdeps/sparc/mempcpy.S: New file.
887
e5aa83e1
DM
888 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
889 the IFUNC routine in the libc case.
890 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
891
88570753
DM
892 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
893 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
894 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
895 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
896 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
897 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
898 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
899 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
900
249d7567
DM
901 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
902 loop to 256 bytes instead of 64 bytes and fix test signedness.
903
18c9d62b
DM
904 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
905 * sysdeps/sparc/sparc32/Makefile: rather than here...
906 * sysdeps/sparc/sparc64/Makefile: and here.
907
05f3d1f6
UD
9082012-03-28 Ulrich Drepper <drepper@gmail.com>
909
910 * malloc/mallocbug.c: Avoid warnings about unused variables.
911
86ae07a8
JL
9122012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
913
914 [BZ #13760]
915 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
916 in the right place. Discard and retry query if response is
917 larger than input buffer size.
918
41bf21a1
JM
9192012-03-28 Joseph Myers <joseph@codesourcery.com>
920
d6270972
JM
921 [BZ #369]
922 [BZ #2678]
923 [BZ #3866]
924 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
925 x for large integer exponent.
926 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
927 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
928 sign of result as needed afterwards.
929 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
930 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
931 result for underflowing pow the same as for overflow.
932 (__kernel_standard_l): Handle powl overflow and underflow here
933 rather than calling __kernel_standard.
934 * math/libm-test.inc (pow_test): Add more tests.
935
414fca03 936 [BZ #3868]
41bf21a1
JM
937 [BZ #13879]
938 [BZ #13910]
939 [BZ #13911]
940 [BZ #13912]
941 [BZ #13913]
942 [BZ #13915]
943 [BZ #13916]
944 [BZ #13917]
945 [BZ #13918]
946 [BZ #13919]
947 [BZ #13920]
948 [BZ #13921]
949 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
950 * sysdeps/ieee754/k_standard.c: Include <float.h>.
951 (__kernel_standard_l): New function.
952 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
953 __kernel_standard.
954 * math/w_acosl.c (__acosl): Likewise.
955 * math/w_asinl.c (__asinl): Likewise.
956 * math/w_atan2l.c (__atan2l): Likewise.
957 * math/w_atanhl.c (__atanhl): Likewise.
958 * math/w_coshl.c (__coshl): Likewise.
959 * math/w_exp10l.c (__exp10l): Likewise.
960 * math/w_exp2l.c (__exp2l): Likewise.
961 * math/w_fmodl.c (__fmodl): Likewise.
962 * math/w_hypotl.c (__hypotl): Likewise.
963 * math/w_j0l.c (__j0l, __y0l): Likewise.
964 * math/w_j1l.c (__j1l, __y1l): Likewise.
965 * math/w_jnl.c (__jnl, __ynl): Likewise.
966 * math/w_lgammal.c (__lgammal): Likewise.
967 * math/w_log10l.c (__log10l): Likewise.
968 * math/w_log2l.c (__log2l): Likewise.
969 * math/w_logl.c (__logl): Likewise.
970 * math/w_powl.c (__powl): Likewise.
971 * math/w_remainderl.c (__remainderl): Likewise.
972 * math/w_scalbl.c (sysv_scalbl): Likewise.
973 * math/w_sinhl.c (__sinhl): Likewise.
974 * math/w_sqrtl.c (__sqrtl): Likewise.
975 * math/w_tgammal.c (__tgammal): Likewise.
976 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
977 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
978 * math/libm-test.inc (acos_test): Add more tests.
979 (acosh_test): Likewise.
980 (asin_test): Likewise.
981 (atanh_test): Likewise.
982 (exp_test): Likewise.
983 (exp10_test): Likewise.
984 (exp2_test): Likewise.
985 (expm1_test): Likewise.
986 (lgamma_test): Likewise.
987 (log_test): Likewise.
988 (log10_test): Likewise.
989 (log1p_test): Likewise.
990 (log2_test): Likewise.
991 (pow_test): Do not allow some spurious overflow exceptions.
992 (sqrt_test): Add more tests.
993 (tgamma_test): Likewise.
994 (y0_test): Likewise.
995 (y1_test): Likewise.
996 (yn_test): Likewise.
997
dd62fda6
AB
9982012-03-27 Anton Blanchard <anton@samba.org>
999
1000 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
1001 MAP_HUGETLB.
1002 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1003 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
1004 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1005
1e3cdfda
AJ
10062012-03-27 David S. Miller <davem@davemloft.net>
1007
b855ab85
DM
1008 * conform/Makefile: Run run-conformtest.sh using $(BASH).
1009
1e3cdfda
AJ
1010 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
1011 have-as-vis3 check.
1012
10132012-03-27 Andreas Jaeger <aj@suse.de>
1014
1015 * sysdeps/x86_64/elf/configure.in: Moved to ...
1016 * sysdeps/x86_64/configure.in: ... here.
1017 * sysdeps/x86_64/elf/start.S: Moved to ...
1018 * sysdeps/x86_64/start.S: ... here.
1019 * sysdeps/x86_64/elf/configure: Delete.
1020
1021 * sysdeps/x86_64/configure.in: Merge contents from
1022 sysdeps/i386/configure.in (without i686 check).
1023
1024 * sysdeps/i386/elf/Versions: Merge into ...
1025 * sysdeps/i386/Versions: ... this.
1026 * sysdeps/i386/elf/Versions: Delete file.
1027 * sysdeps/i386/elf/start.S: Moved to ...
1028 * sysdeps/i386/start.S: ...here.
1029 * sysdeps/i386/elf/configure.in: Merge into...
1030 * sysdeps/i386/configure.in: ...here.
1031 * sysdeps/i386/elf/configure.in: Delete file.
1032 * sysdeps/i386/elf/configure: Delete file.
1033
1034 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
1035 * debug/backtracesyms.c: ... here.
1036 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
1037 * debug/backtracesymsfd.c: ... here.
1038 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
1039 * sysdeps/generic/ifunc-sel.h: ... here.
1040
1041 * sysdeps/unix/i386/start.c: Delete file.
1042 * sysdeps/unix/sparc/start.c: Delete file.
1043 * sysdeps/unix/start.c: Delete file.
1044
1045 * sysdeps/sh/elf/configure.in: Moved to ...
1046 * sysdeps/sh/configure.in: ... here.
1047 * sysdeps/sh/elf/start.S: Moved to ...
1048 * sysdeps/sh/start.S: ... here.
1049 * sysdeps/sh/elf/configure: Delete file.
1050
1051 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
1052 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
1053 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
1054 * sysdeps/powerpc/powerpc64/entry.h: ... here.
1055 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
1056 * sysdeps/powerpc/powerpc64/start.S: here.
1057 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
1058 * sysdeps/powerpc/powerpc64/Makefile: ... this.
1059 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
1060 * sysdeps/powerpc/powerpc64/configure.in: ... this.
1061 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
1062
1063 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
1064 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
1065 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
1066 * sysdeps/powerpc/powerpc32/start.S: ... here.
1067 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
1068 * sysdeps/powerpc/powerpc32/configure.in: ... this.
1069 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
1070
1071 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
1072 * sysdeps/powerpc/ifunc-sel.h: ... here.
1073 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
1074 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
1075
1076 * sysdeps/sparc/elf/configure.in: Moved to ...
1077 * sysdeps/sparc/configure.in: ... here.
1078 * sysdeps/sparc/elf/configure: Delete file.
1079 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
1080 * sysdeps/sparc/sparc32/start.S: ... here.
1081 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
1082 * sysdeps/sparc/sparc64/start.S: ... here.
1083 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
1084 * sysdeps/sparc/sparc32/Makefile: ... this.
1085 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
1086 * sysdeps/sparc/sparc64/Makefile: ... this.
1087
1088 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
1089 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
1090 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
1091 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
1092 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
1093 * sysdeps/s390/s390-32/setjmp.S: ... here.
1094 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
1095 * sysdeps/s390/s390-32/configure.in: ... here.
1096 * sysdeps/s390/s390-32/elf/configure: Delete file.
1097 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
1098 * sysdeps/s390/s390-32/start.S: ... here.
1099
1100 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
1101 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
1102 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
1103 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
1104 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
1105 * sysdeps/s390/s390-64/setjmp.S: ... here.
1106 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
1107 * sysdeps/s390/s390-64/configure.in: ... here
1108 * sysdeps/s390/s390-64/elf/configure: Delete file.
1109 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
1110 * sysdeps/s390/s390-64/start.S: ... here.
1111 * sysdeps/s390/s390-64/elf/configure: Delete.
1112
1113 * configure.in: Remove support for elf directories in sysdeps.
1114
1115 * configure: Regenerated.
1116 * sysdeps/i386/configure: Regenerated.
1117 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1118 * sysdeps/powerpc/powerpc64/configure: Regenerated.
1119 * sysdeps/s390/s390-32/configure: Regenerated.
1120 * sysdeps/s390/s390-64/configure: Regenerated.
1121 * sysdeps/sh/configure: Regenerated.
1122 * sysdeps/sparc/configure: Regenerated.
1123 * sysdeps/x86_64/configure: Regenerated.
1124
a3f61311
AS
11252012-03-26 Andreas Schwab <schwab@linux-m68k.org>
1126
c876e002
AS
1127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1128
a3f61311
AS
1129 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
1130 denormal result into account.
1131
ac4c54f0
RM
11322012-03-25 Roland McGrath <roland@hack.frob.com>
1133
1134 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
1135 Reported by Allan McRae <allan@archlinux.org>.
1136
6a9b9c02
JL
11372012-03-23 Jeff Law <law@redhat.com>
1138
1139 * nss/getnssent.c (__nss_getent): Fix typo.
1140
4c42a0c1
DM
11412012-03-23 David S. Miller <davem@davemloft.net>
1142
1143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1144
1532c7ac
L
11452012-03-23 H.J. Lu <hongjiu.lu@intel.com>
1146
1147 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
1148 to pad to uint64_t for each field.
1149 (dl_tls_index): Replace unsigned long with uint64_t.
1150
3ff42526
PP
11512012-03-23 Daniel Jacobowitz <dmj@google.com>
1152 Paul Pluzhnikov <ppluzhnikov@google.com>
1153
1154 [BZ #6528]
1155 * grp/Makefile (otherlibs): Don't set it.
1156 * inet/Makefile (otherlibs): Likewise.
1157 * login/Makefile (otherlibs): Likewise.
1158 * nscd/Makefile (otherlibs): Likewise.
1159 * posix/Makefile (otherlibs): Likewise.
1160 * pwd/Makefile (otherlibs): Likewise.
1161 * rt/Makefile (otherlibs): Likewise.
1162 * sunrpc/Makefile (otherlibs): Likewise.
1163 * nss/Makefile (otherlibs): Likewise.
1164 Add libnss_files to routines and static-only-routines.
1165 ($(objpfx)getent): Remove rule.
1166 * resolv/Makefile: Add libnss_dns and libresolv to routines and
1167 static-only-routines.
1168
7c69cd14
JM
11692012-03-22 Joseph Myers <joseph@codesourcery.com>
1170
1171 [BZ #13892]
1172 * math/s_cexp.c: Include <float.h>.
1173 (__cexp): Handle exp result overflowing not necessarily
1174 overflowing both real and imaginary parts of result.
1175 * math/s_cexpf.c: Likewise.
1176 * math/s_cexpl.c: Likewise.
1177 * math/libm-test.inc (cexp_test): Add more tests.
1178 * sysdeps/i386/fpu/libm-test-ulps: Update.
1179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1180
81b035fe
L
11812012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1182
1183 * include/link.h (ELFW): New macro.
1184 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
1185 Replace ELF64_R_TYPE with ELFW(R_TYPE).
1186
1da7940c
L
11872012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1188
1189 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
1190 with uint64_t.
1191
b749dbb9
L
11922012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1193
1194 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
1195 declaration.
1196 (struct La_x32_retval): Likewise.
1197
2ff87f3f
L
11982012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1199
1200 * sysdeps/x86_64/preconfigure.in: New file.
1201 * sysdeps/x86_64/preconfigure: New generated file.
1202
c0df8e69
JM
12032012-03-22 Joseph Myers <joseph@codesourcery.com>
1204
48e44791
JM
1205 [BZ #13824]
1206 * math/e_exp2l.c: Include <float.h>.
1207 (__ieee754_exp2l): Handle overflow and underflow cases
1208 separately. Only pass fractional part of argument to
1209 __ieee754_expl.
1210 * math/libm-test.inc (exp2_test): Add more tests.
1211
c0df8e69
JM
1212 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
1213 negating x to take absolute value.
1214 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
1215 Likewise.
1216 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1217 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
1218 Likewise.
1219 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
1220 computing low part if x was negated.
1221 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1222
c8e43ba7
L
12232012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1224
1225 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
1226 la_x32_gnu_pltexit.
1227 (pltexit): Cast int_retval to ptrdiff_t.
1228 * elf/tst-auditmod3b.c: Likewise.
1229 * elf/tst-auditmod4b.c: Likewise.
1230 * elf/tst-auditmod5b.c: Likewise.
1231 * elf/tst-auditmod6b.c: Likewise.
1232 * elf/tst-auditmod6c.c: Likewise.
1233 * elf/tst-auditmod7b.c: Likewise.
1234
1235 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
1236 and x32_gnu_pltexit.
1237
1238 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
1239 __ELF_NATIVE_CLASS.
1240 (La_x32_regs): New macro.
1241 (La_x32_retval): Likewise.
1242 (la_x32_gnu_pltenter): New function prototype.
1243 (la_x32_gnu_pltexit): Likewise.
1244
7998fa78
AS
12452012-03-21 Andreas Schwab <schwab@linux-m68k.org>
1246
dcb33988
AS
1247 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
1248 exponent.
1249
233fc563
AS
1250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1251
7998fa78
AS
1252 * configure.in (libc_cv_cc_nofma): Check for option to disable
1253 generation of FMA instructions.
1254 * configure: Regenerate.
1255 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
1256 * sysdeps/ieee754/dbl-64/Makefile: New file.
1257 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1258 Remove brandred-fma4.
1259 (CFLAGS-brandred-fma4.c): Remove.
1260 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
1261 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
1262 define.
1263 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
1264 define.
1265
8e95c99a
L
12662012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1267
1268 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1269 LLONG_MAX != LONG_MAX.
1270 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1271 (_fitoa_word): Likewise.
1272 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
1273 LLONG_MAX != LONG_MAX.
1274 * stdio-common/_itowa.h: Include <_itoa.h>.
1275 (_itowa_word): Use _ITOA_WORD_TYPE on value.
1276 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
1277 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
1278 only if not defined.
1279 (_ITOA_WORD_TYPE): Likewise.
1280 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1281 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
1282
6f4db457
DM
12832012-03-21 David S. Miller <davem@davemloft.net>
1284
1285 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1286
7785fe5a
L
12872012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1288
1289 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
1290 of x86_64 when setting libc_cv_slibdir, libdir and
1291 libc_cv_localedir.
1292 * sysdeps/unix/sysv/linux/configure: Regenerated.
1293
4535cd55
JM
12942012-03-21 Joseph Myers <joseph@codesourcery.com>
1295
1296 * manual/lang.texi (Old Varargs): Remove section.
1297 (How Variadic): Update menu.
1298 (va_start): Do not mention varargs.h.
1299
17228132
TS
13002012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1301 Joseph Myers <joseph@codesourcery.com>
1302
1303 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
1304 link test.
1305 * configure: Regenerated.
1306
8149f976
TS
13072012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1308
05f3d1f6
UD
1309 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
1310 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
1311 conformtest.pl
8149f976 1312
1a4ac776
JM
13132012-03-21 Joseph Myers <joseph@codesourcery.com>
1314
be22ce65
JM
1315 * NOTES: Remove.
1316 * Makefile (files-for-dist): Remove NOTES.
1317 (NOTES): Remove rule.
1318 * README: Don't refer to NOTES.
1319 * manual/creature.texi: Don't include macros.texi.
1320 * manual/intro.texi (creature.texi): Remove comment referring to
1321 NOTES.
1322
40b601fb
JM
1323 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
1324 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
1325 * configure: Regenerated.
1326 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
1327 LIBC_TRY_CC_OPTION.
1328 (libc_cv_as_i686): Likewise.
1329 (libc_cv_cc_avx): Likewise.
1330 (libc_cv_cc_sse2avx): Likewise.
1331 (libc_cv_cc_fma4): Likewise.
1332 (libc_cv_cc_novzeroupper): Likewise.
1333 * sysdeps/i386/configure: Regenerated.
1334
1a4ac776
JM
1335 [BZ #13883]
1336 * sysdeps/i386/fpu/s_cexp.S: Remove.
1337 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1338 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1339 * math/libm-test.inc (cexp_test): Add more tests.
1340 * sysdeps/i386/fpu/libm-test-ulps: Update.
1341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1342
a458e7fe
AM
13432012-03-21 Allan McRae <allan@archlinux.org>
1344
1345 * timezone/Makefile: Do not install iso3166.tab and zone.tab
1346
0cb7efc5
JM
13472012-03-21 Joseph Myers <joseph@codesourcery.com>
1348
1349 [BZ #13871]
1350 * math/w_exp2.c: Do not include <float.h>.
1351 (o_threshold, u_threshold): Remove.
1352 (__exp2): Calculate result before checking finiteness and calling
1353 __kernel_standard.
1354 * math/w_exp2f.c: Likewise.
1355 * math/w_exp2l.c: Likewise.
1356 * math/libm-test.inc (exp2_test): Require overflow exception for
1357 1e6 input.
2460d3aa
JM
1358
1359 [BZ #3866]
1360 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
1361 range of signed 64-bit integers before using fistpll. Remove
1362 checks for whether integers fit in mantissa bits.
1363 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
1364 the range of signed 32-bit integers before using fistpl. Remove
1365 checks for whether integers fit in mantissa bits.
1366 * sysdeps/i386/fpu/e_powl.S (p64): New object.
1367 (__ieee754_powl): Test for y outside the range of signed 64-bit
1368 integers before using fistpll. Reduce 64-bit values to 63-bit
1369 ones as needed.
1370 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
1371 divide-by-zero is raised for zero to large negative powers.
1372 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
1373 (__ieee754_powl): Test for y outside the range of signed 64-bit
1374 integers before using fistpll. Reduce 64-bit values to 63-bit
1375 ones as needed.
1376 * math/libm-test.inc (pow_test): Add more tests.
1377
eb96ffb0
L
13782012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1379
1380 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
1381 <stdio-common/_itoa.h>.
1382 * debug/segfault.c: Likewise.
1383 * elf/dl-cache.c: Likewise.
1384 * elf/dl-minimal.c: Likewise.
1385 * elf/dl-misc.c: Likewise.
1386 * elf/dl-sysdep.c: Likewise.
1387 * elf/dl-version.c: Likewise.
1388 * elf/rtld.c: Likewise.
1389 * hurd/hurdsock.c: Likewise.
1390 * hurd/lookup-retry.c: Likewise.
1391 * malloc/malloc.c: Likewise.
1392 * malloc/mtrace.c: Likewise.
1393 * nscd/nscd_getgr_r.c: Likewise.
1394 * nscd/nscd_getpw_r.c: Likewise.
1395 * nscd/nscd_getserv_r.c: Likewise.
1396 * posix/getopt_init.c: Likewise.
1397 * posix/wordexp.c: Likewise.
1398 * stdio-common/_itoa.c: Likewise.
1399 * stdio-common/printf_fphex.c: Likewise.
1400 * stdio-common/vfprintf.c: Likewise.
1401 * string/_strerror.c: Likewise.
1402 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
1403 * sysdeps/i386/i686/hp-timing.h: Likewise.
1404 * sysdeps/mach/_strerror.c: Likewise.
1405 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
1406 * sysdeps/mach/hurd/sethostid.c: Likewise.
1407 * sysdeps/mach/hurd/xmknodat.c: Likewise.
1408 * sysdeps/mach/xpg-strerror.c: Likewise.
1409 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1410 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1411 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
1412 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
1413 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1414 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
1415 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1416 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1417 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
1418 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
1419 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1420 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1421 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1422 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1423 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1424 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
1425 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1426 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1427 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1428 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1429 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
1430
1431 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
1432
1433 * stdio-common/_itoa.h: Moved to ...
1434 * sysdeps/generic/_itoa.h: Here.
1435
1436 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
1437
1438 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
1439 instead of "_itoa.h" and "_itowa.h".
1440 * stdio-common/vfprintf.: Likewise.
1441
d1af992d
L
14422012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1443
1444 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
1445 <bits/wordsize.h>.
1446 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
1447 (__signbit): Likwise.
1448 (llrintf): Likwise.
1449 (llrint): Likwise.
1450
114883e0
L
14512012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1452
1453 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
1454 __WORDSIZE != 64.
1455
c135cc1b
JM
14562012-03-20 Joseph Myers <joseph@codesourcery.com>
1457
1458 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
1459 OVERFLOW_EXCEPTION_OK.
1460 * math/libm-test.inc ("Philosophy"): Update comment about
1461 exception testing.
1462 (OVERFLOW_EXCEPTION): Define.
1463 (OVERFLOW_EXCEPTION_OK): Likewise.
1464 (INVALID_EXCEPTION_OK): Renumber.
1465 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1466 (IGNORE_ZERO_INF_SIGN): Likewise.
1467 (test_exceptions): Handle FE_OVERFLOW.
1468 (exp10_test): Expect overflow exceptions.
1469 (exp2_test): Likewise.
1470 (expm1_test): Likewise.
1471 (nextafter_test): Likewise.
1472 (pow_test): Likewise.
1473 (scalbn_test): Likewise.
1474 (scalbln_test): Likewise.
1475
95443d88
L
14762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1477
1478 * sysdeps/x86_64/bits/atomic.h
1479 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
1480 64bit integer.
1481 (atomic_exchange_acq): Likewise.
1482 (__arch_exchange_and_add_body): Likewise.
1483 (__arch_add_body): Likewise.
1484 (atomic_add_negative): Likewise.
1485 (atomic_add_zero): Likewise.
1486
490df6c4
L
14872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1488
c2722551 1489 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
1490 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
1491
5e52b189
L
14922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1493
1494 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
1495 Check __x86_64__ instead of __WORDSIZE.
1496
a9879d4c
L
14972012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1498
1499 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
1500
5df98260
DM
15012012-03-19 David S. Miller <davem@davemloft.net>
1502
e1497744
DM
1503 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1504
5df98260
DM
1505 * sysdeps/sparc/fpu/fenv_private.h: New file.
1506 * sysdeps/sparc/fpu/math_private.h: Use it.
1507 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1508 Remove.
1509 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1510 (libc_feholdexcept_setroundl): Remove.
1511 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1512 Remove.
1513 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1514 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1515
b4c35121
L
15162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1517
1518 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1519 int64_t instead of long int.
1520 (INSERT_WORDS64): Likwise.
1521
56965fd7
L
15222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1523
1524 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1525 _Unwind_GetCFA return to _Unwind_Ptr first.
1526
83d1aec8
JM
15272012-03-19 Joseph Myers <joseph@codesourcery.com>
1528
1897ad44
JM
1529 [BZ #13629]
1530 * math/s_clog.c: Include <float.h>.
1531 (__clog): Scale large or subnormal inputs.
1532 * math/s_clogf.c: Likewise.
1533 * math/s_clogl.c: Likewise.
1534 * math/s_clog10.c: Include <float.h>.
1535 (M_LOG10_2): Define.
1536 (__clog10): Scale large or subnormal inputs.
1537 * math/s_clog10f.c: Likewise.
1538 * math/s_clog10l.c: Likewise.
1539 * math/libm-test.inc (clog_test): Add more tests.
1540 (clog10_test): Likewise.
1541 * sysdeps/i386/fpu/libm-test-ulps: Update.
1542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1543
7726d6a9
JM
1544 [BZ #11451]
1545 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1546 x and y.
1547 * math/libm-test.inc (atan2_test): Add another test.
1548
83d1aec8
JM
1549 * Makerules (common-objdir-compile): Remove.
1550 * sysdeps/unix/Makefile (config-generated): Do not add
1551 $(unix-generated) to variable.
1552 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1553 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1554 Remove rule.
1555 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1556 Likewise.
1557 [generic bits/local_lim.h] (before-compile): Do not append to
1558 variable.
1559 [generic bits/local_lim.h] (common-generated): Likewise.
1560 [generic sys/param.h] (before-compile): Do not append to variable.
1561 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1562 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1563 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1564 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1565 include.
1566 [generic sys/param.h] (sys/param.h-includes): Remove variable.
1567 [generic sys/param.h] (sys/param.h-includes): Remove rule.
1568 [generic sys/param.h] ($(addprefix
1569 $(common-objpfx),$(sys/param.h-includes))): Likewise.
1570 [generic sys/param.h] (common-generated): Do not append to
1571 variable.
1572 [generic sys/param.h] (sysdep_headers): Likewise.
1573 [generic bits/errno.h] (before-compile): Do not append to
1574 variable.
1575 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
1576 rule.
1577 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
1578 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
1579 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
1580 [generic bits/errno.h] (common-generated): Do not append to
1581 variable.
1582 [generic bits/ioctls.h] (before-compile): Do not append to
1583 variable.
1584 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
1585 rule.
1586 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
1587 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
1588 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
1589 rule.
1590 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
1591 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
1592 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
1593 [generic bits/ioctls.h] (common-generated): Do not append to
1594 variable.
1595 [generic sys/syscall.h] (syscall.h): Remove variable.
1596 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
1597 rule.
1598 [generic sys/syscall.h] (before-compile): Do not append to
1599 variable.
1600 [generic sys/syscall.h] (common-generated): Likewise.
1601 * sysdeps/unix/errnos-tmpl.c: Remove file.
1602 * sysdeps/unix/errnos.awk: Likewise.
1603 * sysdeps/unix/ioctls-tmpl.c: Likewise.
1604 * sysdeps/unix/ioctls.awk: Likewise.
1605 * sysdeps/unix/mk-local_lim.c: Likewise.
1606 * sysdeps/unix/snarf-ioctls: Likewise.
1607
4851a949
RH
16082012-03-19 Richard Henderson <rth@twiddle.net>
1609
bd37f2ee
RH
1610 * sysdeps/i386/fpu/fenv_private.h: New file.
1611 * sysdeps/i386/fpu/math_private.h: Use it.
1612 (math_opt_barrier, math_force_eval): Remove.
1613 (libc_feholdexcept_setround_53bit): Remove.
1614 (libc_feupdateenv_53bit): Remove.
1615 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1616 (math_opt_barrier, math_force_eval): Remove.
1617 (libc_feholdexcept): Remove.
1618 (libc_feholdexcept_setround): Remove.
1619 (libc_fetestexcept, libc_fesetenv): Remove.
1620 (libc_feupdateenv_test): Remove.
1621 (libc_feupdateenv, libc_feholdsetround): Remove.
1622 (libc_feresetround): Remove.
1623
d0adc922
RH
1624 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1625 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1626
0fe0f1f8
RH
1627 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1628 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1629 (libc_feupdateenv_testl): New.
1630 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1631 (libc_feupdateenv_testf): New.
1632 (libc_feupdateenv): Use libc_feupdateenv_test.
1633 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1634 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1635
eb92c487
RH
1636 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1637 (libc_feholdsetroundf, libc_feholdsetroundl): New.
1638 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1639 (libc_feresetround_noex): New.
1640 (libc_feresetround_noexf): New.
1641 (libc_feresetround_noexl): New.
1642 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1643 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1644 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1645 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1646 SET_RESTORE_ROUND.
1647 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1648 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1649 (__cos): Likewise.
1650 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1651 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1652 SET_RESTORE_ROUND_NOEX.
1653 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1654 SET_RESTORE_ROUND_NOEXF.
1655 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1656 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1657 (libc_feholdsetroundf): New.
1658 (libc_feresetround, libc_feresetroundf): New.
1659
7d2e8012
RH
1660 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1661 (libc_feholdexcept_setround_53bit): Convert from macro to function.
1662 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
1663
b4dabbb4
RH
1664 * sysdeps/generic/math_private.h: Include <fenv.h>.
1665 (default_libc_feholdexcept): New.
1666 (default_libc_feholdexcept_setround): New.
1667 (default_libc_fesetenv, default_libc_feupdateenv): New.
1668 (libc_feholdexcept): Only define if undefined.
1669 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1670 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1671 (libc_feholdexcept_setroundl): Likewise.
1672 (libc_feholdexcept_setround_53bit): Likewise.
1673 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1674 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1675 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1676 (libc_feupdateenv_53bit): Likewise.
1677 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1678 (libc_feholdexcept): Convert from macro to inline function.
1679 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1680 (libc_fesetenv, libc_feupdateenv): Likewise.
1681
4851a949
RH
1682 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1683 not previously defined.
1684 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1685 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1686 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1687 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1688 * sysdeps/ieee754/flt-32/math_private.h: New file.
1689 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1690 math_private.h below SET_FLOAT_WORD.
1691 (__isnan, __isinf_ns, __finite): Remove.
1692 (__isnanf, __isinf_nsf, __finitef): Remove.
1693
e79d442e
AS
16942012-03-18 Andreas Schwab <schwab@linux-m68k.org>
1695
1696 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1697
90b80344
DM
16982012-03-17 David S. Miller <davem@davemloft.net>
1699
1700 [BZ #6471]
1701 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1702 for 2.16.
1703
edc21804
DM
17042012-03-16 David S. Miller <davem@davemloft.net>
1705
77e927af
DM
1706 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1707 warnings.
1708
374976dd
DM
1709 [BZ #6471]
1710 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1711 properly.
1712 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1713 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1714 sysdep_routines when subdir is sysvipc.
1715 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1716 __getshmlba helper.
1717
edc21804
DM
1718 * sysdeps/sparc/fpu/libm-test/ulps: Update.
1719
473c3ef3
L
17202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1721
1722 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1723 [__LP64__].
1724
eb0f39b6
L
17252012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1726
1727 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1728 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1729 (__lround): Renamed to ...
1730 (__llround): This. Replace long int with long long int.
1731 Define lround functions as aliases of llround functions.
1732 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1733
6b6cd74b
L
17342012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1735
1736 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1737 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
1738 adresses to uintptr_t. Replace "long int" and "unsigned long
1739 int" with "greg_t" on va_arg.
1740
f1a77b01
L
17412012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1742
1743 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1744 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1745
1746 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1747 Move e_machine check before EI_CLASS check. Handle x32
1748 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1749 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1750 SKIP_EM_IA_64 and include
1751 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1752
1753 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1754 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1755 (add_system_dir): New macro.
1756
1757 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1758 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1759
11b90b9f
JM
17602012-03-16 Joseph Myers <joseph@codesourcery.com>
1761
c36e1d23
JM
1762 [BZ #2551]
1763 [BZ #2552]
1764 [BZ #2553]
1765 [BZ #2554]
1766 [BZ #2562]
1767 [BZ #2563]
1768 [BZ #2565]
1769 [BZ #2566]
1770 [BZ #2576]
1771 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1772 (y0): Likewise.
1773 * math/w_j0f.c (j0f): Likewise.
1774 (y0f): Likewise.
1775 * math/w_j0l.c (__j0l): Likewise.
1776 (__y0l): Likewise.
1777 * math/w_j1.c (j1): Likewise.
1778 (y1): Likewise.
1779 * math/w_j1f.c (j1f): Likewise.
1780 (y1f): Likewise.
1781 * math/w_j1l.c (__j1l): Likewise.
1782 (__y1l): Likewise.
1783 * math/w_jn.c (jn): Likewise.
1784 (yn): Likewise.
1785 * math/w_jnf.c (jnf): Likewise.
1786 (ynf): Likewise.
1787 * math/w_jnl.c (__jnl): Likewise.
1788 (__ynl): Likewise.
1789 * math/libm-test.inc (j0_test): Add more tests.
1790 (j1_test): Likewise.
1791 (jn_test): Likewise. Add trailing semicolon to existing test.
1792 (y0_test): Likewise.
1793 (y1_test): Likewise.
1794 * sysdeps/i386/fpu/libm-test-ulps: Update.
1795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1796
11b90b9f
JM
1797 [BZ #13851]
1798 [BZ #13854]
1799 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1800 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1801 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1802 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1803 (__tanl): Set errno for infinite argument.
1804 * sysdeps/i386/fpu/mptan.c: Remove.
1805 * sysdeps/i386/fpu/s_tan.S: Likewise.
1806 * sysdeps/i386/fpu/s_tanl.S: Likewise.
1807 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1808 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1809 * math/libm-test.inc (tan_test): Add more tests and enable more
1810 tests for double and long double.
1811 * sysdeps/i386/fpu/libm-test-ulps: Update.
1812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1813
6a1bd2a1
JK
18142012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1815
1816 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1817 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1818
10a803e0
RM
18192012-03-16 Roland McGrath <roland@hack.frob.com>
1820
1821 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1822 * configure.in: Use it for both main tree and add-ons.
1823 * configure: Regenerated.
1824
f196c7f7
L
18252012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1826
1827 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1828
8848d99d
JM
18292012-03-16 Joseph Myers <joseph@codesourcery.com>
1830
96cbe7f4
JM
1831 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1832 in comment.
1833
8848d99d
JM
1834 [BZ #13851]
1835 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1836 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1837 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1838 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1839 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1840 infinite argument.
1841 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1842 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1843 != 0 for prec == 2.
1844 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1845 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1846 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1847 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1848 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1849 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1850 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1851 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1852 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1853 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1854 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1855 * math/libm-test.inc (cos_test): Add more tests and enable more
1856 tests for long double.
1857 (sin_test): Likewise.
1858 (sincos_test): Likewise.
1859 * sysdeps/i386/fpu/libm-test-ulps: Update.
1860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1861
dd7f4703
DM
18622012-03-16 David S. Miller <davem@davemloft.net>
1863
1864 * sysdeps/sparc/fpu/math_private.h: New file.
1865
006f1daa
DM
18662012-03-15 David S. Miller <davem@davemloft.net>
1867
c0c83bc8
DM
1868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1869 file.
e6a62e18 1870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
1871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1872 file.
e6a62e18
DM
1873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1874 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1875 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1876 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1877 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1878 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1879 sysdep routines.
1880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1881
88cb87d9
DM
1882 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1883 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1884
006f1daa 1885 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
1886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1887 sparc-ifunc.h
006f1daa 1888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
1889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1890 Likewise.
1891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1892 Likewise.
006f1daa
DM
1893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
1896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1897 Likewise.
006f1daa
DM
1898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
1902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1903 Likewise.
1904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1905 Likewise.
006f1daa
DM
1906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1910 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1911 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1912 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1913 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1914 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1915 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1916 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1917 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1918 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1919 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1920 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1921 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1922 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1923 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1924 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1925 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1926 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1927 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1928 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1929 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1930
11e0098e
AS
19312012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1932
1933 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1934 scaling.
1935 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1936
e85b09d0
AJ
19372012-03-15 Andreas Jaeger <aj@suse.de>
1938
1939 [BZ #13852]
1940 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1941 ieee754/flt-32 implementation for sin, cos and sincos.
1942 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1943 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1944 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1945 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1946 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1947 ieee754/flt-32 implementation for tan.
1948
1949 * math/libm-test.inc (cos_test): Enable some large input tests for
1950 float as well
1951 (sin_test): Likewise.
1952 (sincos_test): Likewise.
1953 (tan_test): Add tests for large input.
1954
1955 * sysdeps/i386/fpu/libm-test-ulps: Update.
1956
81c64153
AJ
19572012-03-15 Andreas Jaeger <aj@suse.de>
1958
1959 [BZ #13658]
1960 * math/libm-test.inc (cos_test): Add more test cases.
1961 (sin_test): Likewise.
1962 (sincos_test): Likewise.
1963
7bbfa5c6
AJ
19642012-03-15 Andreas Jaeger <aj@suse.de>
1965
1966 [BZ #13837]
1967 * math/libm-test.inc (cos_test): Add a test case for large input
1968 value.
1969 (sin_test): Likewise.
1970 (sincos_test): Likewise.
1971
19722012-03-15 Andreas Jaeger <aj@suse.de>,
1973 Joseph Myers <joseph@codesourcery.com>
1974
1975 [BZ #13658]
0671f479 1976 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
1977 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1978 * sysdeps/i386/fpu/branred.c: Likewise.
1979 * sysdeps/i386/fpu/dosincos.c: Likewise.
1980 * sysdeps/i386/fpu/mpa.c: Likewise.
1981 * sysdeps/i386/fpu/s_cos.S: Likewise.
1982 * sysdeps/i386/fpu/s_sin.S: Likewise.
1983 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1984 * sysdeps/i386/fpu/sincos32.c: Likewise.
1985
1986 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1987 Define.
1988 (libc_feupdateenv_53bit): Define.
1989 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1990 Define.
1991 (libc_feupdateenv_53bit): Define.
1992
1993 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1994 53 bit (without extend i386 double precision).
1995
1996 * math/libm-test.inc (sincos_test): Add tests for large input.
1997 (sin): Likewise.
1998 (cos): Likewise.
1999
2000 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2001
9cad04ea
AS
20022012-03-15 Andreas Schwab <schwab@linux-m68k.org>
2003
2004 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2005
f7062b9a
DM
20062012-03-15 David S. Miller <davem@davemloft.net>
2007
2008 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
2009 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
2010 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
2011 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
2012 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
2013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
2014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
2015 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
2016 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
2017 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
2018 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
2019 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
2020 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
2021 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
2022 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
2023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
2024 file.
f7062b9a 2025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
2026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
2027 file.
f7062b9a 2028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
2029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
2030 file.
f7062b9a 2031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
2032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
2033 file.
f7062b9a
DM
2034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
2035 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
2036 fmin/fmax sysdep routines.
2037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2038
7bd951ff
DM
20392012-03-14 David S. Miller <davem@davemloft.net>
2040
559398ab
DM
2041 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
2042 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
2043 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
2044 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
2045 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
2046 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
2047 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
2048 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
2049 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
2050 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
2051 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
2052 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
2053 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
2054 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
2055 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
2056 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
2057 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
2058 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
2059 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
2060 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
2061 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
2062 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
2063 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
2064 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
2065 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
2066 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
2067 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
2068 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
2069 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
2070 routines.
2071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
2072 file.
559398ab 2073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
2074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
2075 file.
559398ab 2076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
2077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
2078 file.
559398ab 2079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
2080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
2081 file.
559398ab 2082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
2083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
2084 file.
559398ab 2085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
2086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
2087 file.
2088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
2089 file.
2090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
2091 file.
2092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
2093 file.
2094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
2095 New file.
2096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
2097 file.
2098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
2099 file.
559398ab 2100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
2101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
2102 file.
559398ab 2103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
2104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
2105 file.
559398ab 2106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
2107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
2108 file.
559398ab 2109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
2110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
2111 VIS3 routines.
559398ab
DM
2112
2113 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2114 New file.
2115
5a1c1e32
DM
2116 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2117
eae47a36
DM
2118 * sysdeps/sparc/configure.in: New file.
2119 * sysdeps/sparc/configure: Generate.
2120 * configure.in (libc_cv_sparc_as_vis3): Substitute.
2121 * configure: Regenerate.
2122 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
2123 * config.make.in (have-as-vis3): New.
2124 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
2125 available use -Av9d instead of -Av9a.
2126 * sysdeps/sparc/sparc64/Makefile: Likewise.
2127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
2128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
2129 New file.
2130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
2131 file.
2132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
2133 New file.
2134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
2135 file.
eae47a36
DM
2136 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
2137 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
2138 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
2139 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
2140 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
2141
c0c83bc8
DM
2142 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
2143 fzeros/fnegs to load 0x80000000 into a float register instead of
2144 using the stack.
7bd951ff
DM
2145 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
2146
bd951ccb
JM
21472012-03-14 Joseph Myers <joseph@codesourcery.com>
2148
2149 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2150 bits/syscall.h.
2151 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
2152 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
2153 ($(inst_includedir)/bits/syscall.h): Remove rule.
2154 ($(objpfx)bits/syscall.d): Include instead of
2155 $(objpfx)syscall-list.d.
2156 (generated): Change syscall-list.h and syscall-list.d to
2157 bits/syscall.h and bits/syscall.d.
2158
bb4e6db2
RM
21592012-03-14 Roland McGrath <roland@hack.frob.com>
2160
2161 [BZ #13846]
2162 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
2163
aa4a2ae1
JM
21642012-03-14 Joseph Myers <joseph@codesourcery.com>
2165
e456826d
JM
2166 [BZ #13841]
2167 * math/s_csqrt.c: Include <float.h>.
2168 (__csqrt): Scale large or subnormal inputs.
2169 * math/s_csqrtf.c: Likewise.
2170 * math/s_csqrtl.c: Likewise.
2171 * math/libm-test.inc (csqrt_test): Add more tests.
2172 * sysdeps/i386/fpu/libm-test-ulps: Update.
2173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2174
aa4a2ae1
JM
2175 [BZ #13840]
2176 * math/libm-test.inc (hypot_test): Add more tests.
2177
7c10fd35
DM
21782012-03-13 David S. Miller <davem@davemloft.net>
2179
2180 [BZ #13840]
2181 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
2182 double-precision for the calculation instead of scaling.
2183
f453b98b
JM
21842012-03-13 Joseph Myers <joseph@codesourcery.com>
2185
2186 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
2187 manipulate bits before adding and subtracting TWO52[sx].
2188 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
2189 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2190 Likewise.
2191 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
2192
09a3453f
DM
21932012-03-13 David S. Miller <davem@davemloft.net>
2194
8e59da90
DM
2195 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
2196 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
2197 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
2198 rtld-global-offsets.h
2199 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2200
2a8ab7f2
DM
2201 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
2202 large parameters.
2203
10f62770
DM
2204 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
2205
5f0bdb18
DM
2206 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
2207 'err' in the ifdef scope in which it is actually used.
2208
09a3453f
DM
2209 * nss/nss_db/db-init.c: Include string.h
2210
b4b2eb5e
DM
22112012-03-12 David S. Miller <davem@davemloft.net>
2212
98bb2f1c
DM
2213 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
2214 masking out of the most significant byte of random value used.
2215 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2216 Fix coding style in previous change.
2217
b4b2eb5e
DM
2218 * sysdeps/unix/sysv/linux/kernel-features.h
2219 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
2220 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
2221 expression.
2222 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
2223 later.
2224
6e226b09
DM
22252012-03-11 David S. Miller <davem@davemloft.net>
2226
a1bcbd40
DM
2227 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2228 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
2229 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
2230 for 'resultvar' otherwise things get truncated on 64-bit.
2231
cb9d6174
DM
2232 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2233 Fix masking out of the most significant byte of random value used.
2234
6e226b09
DM
2235 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2236
058c132d
AS
22372012-03-10 Andreas Schwab <schwab@linux-m68k.org>
2238
2239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2240
2d2cd515
DM
22412012-03-09 David S. Miller <davem@davemloft.net>
2242
2243 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
2244 variables with appropriate CPP guards.
2245 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
2246 frame pointer, not the stack pointer. Correct layout comments. Fix test
2247 on resulting framesize and the management of the outregs buffer for pltexit.
2248 Preserve floating point return values across _dl_call_pltexit call.
2249 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
2250 framesize and the management of the outregs buffer for pltexit.
2251 Preserve floating point return values across _dl_call_pltexit
2252 call.
2253 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
2254 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
2255 (print_exit): Fix format string for return register value.
2256
9a07f9d0
JM
22572012-03-10 Joseph Myers <joseph@codesourcery.com>
2258
2259 * sunrpc/Makefile (others): Add rpcgen.
2260 ($(objpfx)rpcgen): Remove special build rule and dependency on
2261 libc.
2262 * sunrpc/rpcgen.c: New file.
2263
547b5e30
PE
22642012-03-09 Paul Eggert <eggert@cs.ucla.edu>
2265
c524201a
PE
2266 [BZ #13673]
2267 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
2268 * stdio-common/bug-vfprintf-nargs.c: Likewise.
2269 * sysdeps/i386/crti.S: Likewise.
2270 * sysdeps/i386/crtn.S: Likewise.
2271 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
2272 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
2273 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
2274 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
2275 * sysdeps/sh/crti.S: Likewise.
2276 * sysdeps/sh/crtn.S: Likewise.
2277 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2278
7b6235f2
PE
2279 [BZ #13673]
2280 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
2281 with URL.
2282 * locale/programs/locfile-kw.gperf: Likewise.
2283 * locale/programs/charmap-kw.h: Regenerated.
2284 * locale/programs/locfile-kw.h: Likewise.
2285
547b5e30
PE
2286 [BZ #13673]
2287 * intl/plural.y: Replace FSF snail mail address with URL.
2288 * intl/plural.c: Regenerated.
2289
5f0a5dae
RH
22902012-03-09 Richard Henderson <rth@twiddle.net>
2291
2292 * include/math_private.h: Remove file.
2293 * math/math_private.h: Move file ...
2294 * sysdeps/generic/math_private.h: ... here.
2295
b8c03620
RH
2296 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
2297 * sysdeps/powerpc/fpu/math_private.h: Likewise.
2298 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2299
4e234f5d 2300 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
2301 and <math_private.h>.
2302 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2303 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2304 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2305 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2306 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2307 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2308 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2309 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2310 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2311 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2312 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2313 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2314 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2315 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2316 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2317 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2318 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2319 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2320 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2321 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2322 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2323 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2324 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2325 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2326 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2327 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2328 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2329 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2330 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2331 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2332 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2333 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2334 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2335 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2336 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2337 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2338 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2339 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2340 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2341 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2342 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
2343 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2344 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2345 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2346 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2347 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2348 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
2349 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2350 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2351 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2352 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2353 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
2354 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2355 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2356 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2357 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2358 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2359 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2360 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2361 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
2362 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2363 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2364 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2365 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2366 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
2367 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2368 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2369 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2370 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
2371 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
2372 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2373 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2374 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2375 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2376 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
2377 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2378 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
2379 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2380 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
2381 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
2382 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2383 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
2384 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2385 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
2386 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2387 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2388 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
2389 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2390 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
2391 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2392 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2393 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
2394 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2395 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
2396 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
2397 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
2398 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2399 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2400 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2401 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
2402 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
2403 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
2404 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
2405 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
2406 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2407 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
2408 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2409 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
2410 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2411 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2412 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2413 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2414 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2415 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2416 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
2417 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2418 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2419 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2420 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2421 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2422 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2423 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2424 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2425 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
2426 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2427 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2428 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2429 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
2430 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2431 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
2432 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
2433 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2434 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2435 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
2436 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
2437 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2438 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2439 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2440 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
2441 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2442 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2443 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2444 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2445 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
2446 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
2447 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2448 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2449 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2450 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2451 * sysdeps/ieee754/k_standard.c: Likewise.
2452 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2453 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2454 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2455 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2456 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2457 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2458 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2459 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2460 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2461 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2462 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2463 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2464 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2465 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2466 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2467 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2468 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2469 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2470 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2471 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2472 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2473 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2474 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2475 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2476 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2477 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2478 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2479 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2480 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2481 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2482 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2483 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2484 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2485 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2486 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2487 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2488 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2489 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
2490 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2491 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2492 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2493 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2494 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2495 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2496 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2497 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2498 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2499 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2500 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2501 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2502 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2503 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2504 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2505 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2506 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2507 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2508 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2509 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2510 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2511 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2512 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2513 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2514 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2515 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2516 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2517 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2518 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2519 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2520 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2521 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2522 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2523 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2524 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2525 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2526 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2527 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2528 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2529 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2530 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2531 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2532 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2533 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2534 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2535 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2536 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2537 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2538 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2539 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2540 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2541 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2542 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2543 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2544 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2545 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2546 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2547 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2548 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2549 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2550 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2551 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2552 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2553 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2554 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2555 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2556 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2557 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2558 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2559 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2560 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2561 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2562 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2563 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2564 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2565 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2566 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2567 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2568 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2569 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2570 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2571 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2572 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2573 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2574 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2575 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2576 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2577 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2578 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2579 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2580 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2581 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2582 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2583 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2584 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2585 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2586 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2587 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2588 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
2589 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2590 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2591 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
2592 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
2593 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2594 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
2595 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
2596 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2597 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2598 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2599 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2600 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2601 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
2602 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2603 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2604 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2605 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2606 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
2607 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
2608 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2609 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2610 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2611 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2612 * sysdeps/ieee754/s_lib_version.c: Likewise.
2613 * sysdeps/ieee754/s_matherr.c: Likewise.
2614 * sysdeps/ieee754/s_signgam.c: Likewise.
2615 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2616 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2617 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2618 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2619 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2620 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2621 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2622 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2623 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2624 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2625 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2626 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2627 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2628 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2629 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2630 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2631 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2632 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2633 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2634 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2635 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 2636
1991fa03
JM
26372012-03-09 Joseph Myers <joseph@codesourcery.com>
2638
2639 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2640 * sunrpc/rpc_main.c: Likewise.
2641 * sunrpc/rpc_svcout.c: Likewise.
2642
60d6f5a6
DM
26432012-03-09 David S. Miller <davem@davemloft.net>
2644
2645 * include/math_private.h: New file.
2646
4962050e
JM
26472012-03-09 Joseph Myers <joseph@codesourcery.com>
2648
02a6f887
JM
2649 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2650 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2651 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2652 from <bits/socket_type.h>.
2653 (enum __socket_type): Don't define here.
2654 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2655 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2656 bits/socket_type.h.
2657
c6e013c1
JM
2658 [BZ #13566]
2659 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2660 checking __USE_GNU.
2661
4962050e
JM
2662 * Makerules ($(inst_includedir)/%.h): New rule.
2663 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2664 (install-others): Remove variable setting.
2665 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2666
38842f45
RH
26672012-03-08 Richard Henderson <rth@twiddle.net>
2668
67bb6da6
RH
2669 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2670 from macro to inline function; merge with the
2671 !__LIBC_INTERNAL_MATH_INLINES version.
2672 (__ieee754_sqrtf): Likewise.
2673
15194b4b
RH
2674 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2675 to inline function.
2676 (__rintf, __floor, __floorf): Likewise.
2677
64e21ede
RH
2678 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2679 macro to inline function.
2680 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2681
38842f45
RH
2682 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2683 not <math/math_private.h>.
2684
c64bf5fe
DM
26852012-03-08 David S. Miller <davem@davemloft.net>
2686
2687 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2688 copyright year.
2689 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2690
82d86f28
TS
26912012-03-08 Thomas Schwinge <thomas@codesourcery.com>
2692
2693 * resolv/gai_misc.c (handle_requests): Fix struct timespec
2694 normalization.
2695 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2696 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2697
aea5d727
UD
26982012-03-08 Ulrich Drepper <drepper@gmail.com>
2699
2700 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
2701 be defined individually, they must be defined as a block. Define
2702 S for printing a string instead of hidint the different by using a
2703 macro for adding the 'l'.
2704 * stdio-common/tst-fphex-wide.c: Adjust.
2705
70bca0a3
MP
27062012-03-07 Marek Polacek <polacek@redhat.com>
2707
2708 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2709
65b81130
MP
27102012-03-08 Marek Polacek <polacek@redhat.com>
2711
2712 [BZ #13806]
2713 * stdio-common/Makefile (tests): Add tst-fphex-wide.
2714 * stdio-common/tst-fphex.c: Define a few macros to make the
2715 test reusable. Use them.
2716 * stdio-common/tst-fphex-wide.c: New file.
2717
07037eeb
JM
27182012-03-08 Joseph Myers <joseph@codesourcery.com>
2719
a7a93d50
JM
2720 [BZ #6911]
2721 * manual/macros.texi (gnusystems): New macro.
2722 (nongnusystems): Likewise.
2723 (gnulinuxhurdsystems): Likewise.
2724 (gnuhurdsystems): Likewise..
2725 (gnulinuxsystems): Likewise.
2726 * manual/charset.texi: Use new macros or @theglibc{} to refer to
2727 variants of the GNU system, not "GNU system".
2728 * manual/conf.texi: Likewise.
2729 * manual/errno.texi: Likewise. Update example of errno macro
2730 expansion.
2731 * manual/filesys.texi: Likewise.
2732 (getumask): Document as specific to GNU/Hurd.
2733 * manual/install.texi: Likewise. Reword some references to
2734 GNU/Linux.
2735 * manual/intro.texi: Likewise.
2736 * manual/io.texi: Likewise.
2737 (File Name Portability): Detail which constraints are inapplicable
2738 to all GNU systems and which are only inapplicable to GNU/Hurd.
2739 * manual/job.texi: Likewise.
2740 * manual/llio.texi: Likewise.
2741 (O_NOCTTY): Document as present on GNU/Linux.
2742 * manual/maint.texi: Likewise.
2743 * manual/memory.texi: Likewise.
2744 * manual/pattern.texi: Likewise.
2745 * manual/pipe.texi: Likewise.
2746 * manual/process.texi: Likewise.
2747 * manual/resource.texi: Likewise.
2748 (RUSAGE_CHILDREN): Remove statement about specifying a particular
2749 child on GNU/Hurd.
2750 * manual/setjmp.texi: Likewise.
2751 * manual/signal.texi: Likewise.
2752 * manual/startup.texi: Likewise.
2753 * manual/stdio.texi: Likewise.
2754 * manual/terminal.texi: Likewise.
2755 (ONLCR): Document as POSIX.
2756 (OXTABS): Document availability on GNU/Linux as XTABS.
2757 (ONOEOT): Document availability separately from other bits.
2758 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2759 * manual/time.texi: Likewise.
2760 * manual/users.texi: Likewise.
2761 * INSTALL: Regenerated.
2762 * sysdeps/gnu/errlist.c: Regenerated.
2763
07037eeb
JM
2764 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2765 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2766 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
2767 puts.
2768 * configure: Regenerated.
2769
d1d3431a
JM
27702012-03-07 Joseph Myers <joseph@codesourcery.com>
2771
af6a1e37
JM
2772 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2773 default includes instead of AC_HEADER_CHECK.
2774 * sysdeps/i386/configure: Regenerated.
2775
d1d3431a
JM
2776 [BZ #10716]
2777 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2778 * math/s_cacoshf.c (__cacoshf): Likewise.
2779 * math/s_cacoshl.c (__cacoshl): Likewise.
2780 * math/s_casinh.c (__casinh): Set signs of result from argument.
2781 * math/s_casinhf.c (__casinhf): Likewise.
2782 * math/s_casinhl.c (__casinhl): Likewise.
2783 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2784 (casinh_test): Add more tests.
2785 * sysdeps/i386/fpu/libm-test-ulps: Update.
2786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2787
482ff4da
UD
27882012-03-07 Ulrich Drepper <drepper@gmail.com>
2789
872fda05
UD
2790 * po/zh_TW.po: Update from translation team.
2791
a4300c7a
UD
2792 * login/Makefile (distribute): Remove variable.
2793 * catgets/Makefile: Likewise.
2794 * mach/Makefile: Likewise.
2795 * malloc/Makefile: Likewise.
2796 * misc/Makefile: Likewise.
2797 * iconv/Makefile: Likewise.
2798 * nscd/Makefile: Likewise.
2799 * hurd/Makefile: Likewise.
2800 * manual/Makefile: Likewise.
2801 * locale/Makefile: Likewise.
2802 * intl/Makefile: Likewise.
2803 * conform/Makefile: Likewise.
2804 * nss/Makefile: Likewise.
2805 * time/Makefile: Likewise.
2806 * soft-fp/Makefile: Likewise.
2807 * dirent/Makefile: Likewise.
2808 * gmon/Makefile: Likewise.
2809 * po/Makefile: Likewise.
2810 * rt/Makefile: Likewise.
2811 * socket/Makefile: Likewise.
2812 * math/Makefile: Likewise.
2813 * signal/Makefile: Likewise.
2814 * debug/Makefile: Likewise.
2815 * elf/Makefile: Likewise.
2816 * timezone/Makefile: Likewise.
2817 * stdlib/Makefile: Likewise.
2818 * iconvdata/Makefile: Likewise.
2819 * sunrpc/Makefile: Likewise.
2820 * io/Makefile: Likewise.
2821 * argp/Makefile: Likewise.
2822 * inet/Makefile: Likewise.
2823 * hesiod/Makefile: Likewise.
2824 * grp/Makefile: Likewise.
2825 * csu/Makefile: Likewise.
2826 * wctype/Makefile: Likewise.
2827 * crypt/Makefile: Likewise.
2828 * libio/Makefile: Likewise.
2829 * string/Makefile: Likewise.
2830 * nis/Makefile: Likewise.
2831 * resolv/Makefile: Likewise.
2832 * stdio-common/Makefile: Likewise.
2833 * wcsmbs/Makefile: Likewise.
2834 * dlfcn/Makefile: Likewise.
2835 * posix/Makefile: Likewise.
2836
482ff4da
UD
2837 * timezone/Makefile: Don't install timezone files, just the programs
2838 and scripts.
2839
f72ed77d
UD
28402012-03-06 Ulrich Drepper <drepper@gmail.com>
2841
a000466f
UD
2842 * nss/databases.def: Add missing gshadow entry.
2843
f72ed77d
UD
2844 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2845
a53b7a4e
MP
28462012-03-06 Marek Polacek <polacek@redhat.com>
2847
2848 [BZ #13726]
2849 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2850 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2851 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2852 * stdio-common/tst-long-dbl-fphex.c: New file.
2853
e9258400
DM
28542012-03-06 David S. Miller <davem@davemloft.net>
2855
2856 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2857 (set_obp_int): New function.
2858 (get_obp_int): New function.
2859 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
2860 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2861 Avoid unused variable warnings on 'val' and use builtin_expect.
2862 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2863 __builtin_expect.
e9258400
DM
2864 (INLINE_CLONE_SYSCALL): Likewise.
2865
3bd2c723
DM
28662012-03-05 David S. Miller <davem@davemloft.net>
2867
2868 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2869
bbb78d03
AS
28702012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2871
884c5db4
AS
2872 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2873
bbb78d03
AS
2874 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2875 only for |x| >= 40.
2876 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2877
1c9f702a 28782012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
2879
2880 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2881 Replace gettimeofday with __vdso_gettimeofday.
2882
7be16f82
RM
2883 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2884 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2885 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
2886
2887 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2888 time with __vdso_time.
2889
ed58a00f
JM
28902012-03-05 Joseph Myers <joseph@codesourcery.com>
2891
2892 * manual/lang.texi (size_t): Note types to which size_t may be
2893 equivalent with the GNU C Library, but do not describe when
2894 differences between them are significant.
2895
30ee4ced
AJ
28962012-03-05 Andreas Jaeger <aj@suse.de>
2897
2898 * sysdeps/i386/fpu/libm-test-ulps: Update.
2899
b7cd39e8
JM
29002012-03-05 Joseph Myers <joseph@codesourcery.com>
2901
2902 [BZ #3976]
2903 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2904 (__ieee754_pow): Save and restore rounding mode and use
2905 round-to-nearest for main computations.
2906 * math/libm-test.inc (pow_test_tonearest): New function.
2907 (pow_test_towardzero): Likewise.
2908 (pow_test_downward): Likewise.
2909 (pow_test_upward): Likewise.
2910 (main): Call the new functions.
2911 * sysdeps/i386/fpu/libm-test-ulps: Update.
2912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
2913
2914 [BZ #3976]
2915 * math/libm-test.inc (cosh_test_tonearest): New function.
2916 (cosh_test_towardzero): Likewise.
2917 (cosh_test_downward): Likewise.
2918 (cosh_test_upward): Likewise.
2919 (sinh_test_tonearest): Likewise.
2920 (sinh_test_towardzero): Likewise.
2921 (sinh_test_downward): Likewise.
2922 (sinh_test_upward): Likewise.
2923 (main): Call the new functions.
2924 * sysdeps/i386/fpu/libm-test-ulps: Update.
2925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2926
6c6a98c9
TV
29272012-03-05 Tom de Vries <tom@codesourcery.com>
2928
2929 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2930 default stack guard is set in last bytes.
2931 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2932
21bb2d2e 29332012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 2934
21bb2d2e 2935 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 2936
21bb2d2e
AJ
2937 [BZ #13656]
2938 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2939 possibly allocate from heap instead of stack.
2940 * stdio-common/bug-vfprintf-nargs.c: New file.
2941 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 2942
c6922934
AS
29432012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2944
2945 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2946
bc957d53
MP
29472012-03-03 Marek Polacek <polacek@redhat.com>
2948
2949 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2950 * math/math_private.h: Likewise.
2951 * stdlib/tst-strtod.c: Likewise.
2952 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2953 * sysdeps/x86_64/bits/atomic.h: Likewise.
2954
6358490d
DM
29552012-03-02 David S. Miller <davem@davemloft.net>
2956
2957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2961 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2962 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2963 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2964 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2965
01ae168d
RM
29662012-03-02 Roland McGrath <roland@hack.frob.com>
2967
d9a17c07
RM
2968 [BZ #13792]
2969 * manual/examples/README: New file, says the example source files
2970 can be used under GPL>=2.
2971 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2972 line containing just "*/".
2973 * manual/examples/add.c: Add copyright header (GPL>=2).
2974 * manual/examples/argp-ex1.c: Likewise.
2975 * manual/examples/argp-ex2.c: Likewise.
2976 * manual/examples/argp-ex3.c: Likewise.
2977 * manual/examples/argp-ex4.c: Likewise.
2978 * manual/examples/atexit.c: Likewise.
2979 * manual/examples/db.c: Likewise.
2980 * manual/examples/dir.c: Likewise.
2981 * manual/examples/dir2.c: Likewise.
2982 * manual/examples/execinfo.c: Likewise.
2983 * manual/examples/filecli.c: Likewise.
2984 * manual/examples/filesrv.c: Likewise.
2985 * manual/examples/fmtmsgexpl.c: Likewise.
2986 * manual/examples/genpass.c: Likewise.
2987 * manual/examples/inetcli.c: Likewise.
2988 * manual/examples/inetsrv.c: Likewise.
2989 * manual/examples/isockad.c: Likewise.
2990 * manual/examples/longopt.c: Likewise.
2991 * manual/examples/memopen.c: Likewise.
2992 * manual/examples/memstrm.c: Likewise.
2993 * manual/examples/mkfsock.c: Likewise.
2994 * manual/examples/mkisock.c: Likewise.
2995 * manual/examples/mygetpass.c: Likewise.
2996 * manual/examples/pipe.c: Likewise.
2997 * manual/examples/popen.c: Likewise.
2998 * manual/examples/rprintf.c: Likewise.
2999 * manual/examples/search.c: Likewise.
3000 * manual/examples/select.c: Likewise.
3001 * manual/examples/setjmp.c: Likewise.
3002 * manual/examples/sigh1.c: Likewise.
3003 * manual/examples/sigusr.c: Likewise.
3004 * manual/examples/stpcpy.c: Likewise.
3005 * manual/examples/strdupa.c: Likewise.
3006 * manual/examples/strftim.c: Likewise.
3007 * manual/examples/strncat.c: Likewise.
3008 * manual/examples/subopt.c: Likewise.
3009 * manual/examples/swapcontext.c: Likewise.
3010 * manual/examples/termios.c: Likewise.
3011 * manual/examples/testopt.c: Likewise.
3012 * manual/examples/testpass.c: Likewise.
3013 * manual/examples/timeval_subtract.c: Likewise.
3014
01ae168d
RM
3015 [BZ #13792]
3016 * manual/time.texi (Elapsed Time): Move timeval_subtract example
3017 function to ...
3018 * manual/timeval_subtract.c.texi: ... here, new file.
3019
49efa33d
DM
30202012-03-02 David S. Miller <davem@davemloft.net>
3021
3022 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
3023
28afd92d
JM
30242012-03-02 Joseph Myers <joseph@codesourcery.com>
3025
804360ed
JM
3026 [BZ #3976]
3027 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
3028 (__sin): Save and restore rounding mode and use round-to-nearest
3029 for all computations.
3030 (__cos): Save and restore rounding mode and use round-to-nearest
3031 for all computations.
3032 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
3033 <fenv.h>.
3034 (tan): Save and restore rounding mode and use round-to-nearest for
3035 all computations.
3036 * math/libm-test.inc (cos_test_tonearest): New function.
3037 (cos_test_towardzero): Likewise.
3038 (cos_test_downward): Likewise.
3039 (cos_test_upward): Likewise.
3040 (sin_test_tonearest): Likewise.
3041 (sin_test_towardzero): Likewise.
3042 (sin_test_downward): Likewise.
3043 (sin_test_upward): Likewise.
3044 (tan_test_tonearest): Likewise.
3045 (tan_test_towardzero): Likewise.
3046 (tan_test_downward): Likewise.
3047 (tan_test_upward): Likewise.
3048 (main): Call the new functions.
3049 * sysdeps/i386/fpu/libm-test-ulps: Update.
3050 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3051
a6d06d7b
JM
3052 [BZ #10135]
3053 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
3054 small n, then large n, before computing and testing k+n.
3055 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3056 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
3057 Likewise.
3058 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
3059 Likewise.
3060 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
3061 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
3062 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
3063 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
3064 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3065 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3066 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
3067 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
3068 * math/libm-test.inc (scalbn_test): Add more tests.
3069 (scalbln_test): Likewise.
3070
07e12bb3
JM
3071 * manual/filesys.texi (mode_t): Describe constraints on size and
3072 signedness, not exact equivalence to a particular type.
3073 (ino_t): Likewise.
3074 (ino64_t): Likewise.
3075 (dev_t): Likewise.
3076 (nlink_t): Likewise.
3077 (blkcnt_t): Likewise.
3078 (blkcnt64_t): Likewise.
3079 * manual/llio.texi (off_t): Likewise.
3080
28afd92d
JM
3081 [BZ #3976]
3082 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
3083 (__ieee754_exp): Save and restore rounding mode and use
3084 round-to-nearest for all computations.
3085 * math/libm-test.inc (exp_test_tonearest): New function.
3086 (exp_test_towardzero): Likewise.
3087 (exp_test_downward): Likewise.
3088 (exp_test_upward): Likewise.
3089 (main): Call the new functions.
3090 * sysdeps/i386/fpu/libm-test-ulps: Update.
3091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3092
b1eeb65d
CD
30932012-03-01 Chris Demetriou <cgd@google.com>
3094
3095 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
3096 have predictable order.
3097
53362a4b
DM
30982012-03-01 David S. Miller <davem@davemloft.net>
3099
3c969083
DM
3100 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
3101
759707de
DM
3102 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
3103 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
3104 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
3105 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
3106
dfdb8ff2
DM
3107 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
3108 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
3109 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
3110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
3111 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
3112 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
3113 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
3114 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
3115 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
3116
ead89f96
DM
3117 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3118
7f66bd07
DM
3119 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
3120 * sysdeps/sparc/fpu/libm-test-ulps: to here.
3121 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
3122
53362a4b
DM
3123 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
3124 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3125 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3126 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
3127 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
3128 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
3129 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
3130 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3131 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3132 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
3133 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
3134 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3135 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3136 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3137 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3138 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3139 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
3140 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
3141 * sysdeps/sparc/elf/configure: Regenerated.
3142
7b1902cb
JM
31432012-03-01 Joseph Myers <joseph@codesourcery.com>
3144
bec039bc
JM
3145 * configure.in (AS, LD): Require binutils 2.20 or later.
3146 * configure: Regenerated.
3147 * manual/install.texi (Tools for Compilation): Give binutils 2.20
3148 as required minimum version.
3149 * INSTALL: Regenerated.
3150
7b1902cb
JM
3151 [BZ #2541]
3152 [BZ #4108]
3153 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
3154 before squaring exponent.
3155 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
3156 bottom long double and 27 bits of top long double before squaring
3157 exponent.
3158 * math/libm-test.inc (erfc_test): Add more tests.
3159 * sysdeps/i386/fpu/libm-test-ulps: Update.
3160 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3162
f775c276
KT
31632012-03-01 Kai Tietz <ktietz@redhat.com>
3164
3165 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
3166 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
3167 containing bit-fields.
3168 * soft-fp/extended.h (_FP_UNION_E): Likewise.
3169 * soft-fp/single.h (_FP_UNION_S): Likewise.
3170 * soft-fp/double.h (_FP_UNION_D): Likewise.
3171
5b8a4d4a
JM
31722012-02-29 Joseph Myers <joseph@codesourcery.com>
3173
0bab47b6
JM
3174 [BZ #13786]
3175 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
3176 not include ../strcmp.S.
3177 [USE_AS_STRNCASECMP_L]: Likewise.
3178 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
3179 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
3180 * sysdeps/i386/i686/multiarch/strncase_l-c.c
3181 (__strncasecmp_l_ia32): Define as alias to
3182 __strncasecmp_l_nonascii.
3183
0fcad3e2
JM
3184 [BZ #5794]
3185 * math/libm-test.inc (expm1_test): Add test for bug 5794.
3186 * sysdeps/i386/fpu/libm-test-ulps: Update.
3187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3188
5b8a4d4a
JM
3189 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
3190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3191
8fdceb2e
JL
31922012-02-29 Jeff Law <law@redhat.com>
3193
3194 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
3195 out of bounds read.
3196
1f393a11
MP
31972012-02-29 Marek Polacek <polacek@redhat.com>
3198
3199 [BZ #13706]
3200 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
3201 * elf/Makefile: Add rules to run tst-unused-dep.out.
3202
8847f037
DM
32032012-02-28 David S. Miller <davem@davemloft.net>
3204
3205 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
3206 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
3207 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
3208 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
3209 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
3210 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
3211
169d7f11
JM
32122012-02-29 Joseph Myers <joseph@codesourcery.com>
3213
3214 * math/libm-test.inc (llround_test): Move one test from
3215 lround_test. Use TEST_f_L in moved test.
3216 (lround_test): Move misplaced test to llround_test. Add testcase
3217 from bug 2561.
3218
39adf059
UD
32192012-02-28 Ulrich Drepper <drepper@gmail.com>
3220
3221 * sysdeps/x86_64/fpu/e_expf.S: New file.
3222 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
3223
71b5d1c5
SB
32242012-02-28 Stanislav Brabec <sbrabec@suse.cz>
3225
3226 [BZ #13637]
3227 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
3228 of remain_len that may cause incomplete multi-byte character and
3229 false match.
3230 * posix/bug-regex33.c: New file.
3231 * posix/Makefile (tests): Add bug-regex33.
3232
1f77f049
JM
32332012-02-28 Joseph Myers <joseph@codesourcery.com>
3234
3235 * manual/macros.texi: New file.
3236 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
3237 * manual/libc.texinfo: Include macros.texi.
3238 * manual/creatute.texi: Likewise.
3239 * manual/install.texi: Likewise.
3240 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
3241 @glibcadj{} in references to the GNU C Library.
3242 * manual/charset.texi: Likewise.
3243 * manual/conf.texi: Likewise.
3244 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
3245 when not using those macros.
3246 * manual/creature.texi: Likewise.
3247 * manual/crypt.texi: Likewise.
3248 * manual/errno.texi: Likewise.
3249 * manual/filesys.texi: Likewise.
3250 * manual/header.texi: Likewise.
3251 * manual/install.texi: Likewise.
3252 * manual/intro.texi: Likewise.
3253 * manual/io.texi: Likewise.
3254 * manual/job.texi: Likewise.
3255 * manual/lang.texi: Likewise.
3256 * manual/libc.texiinfo: Likewise.
3257 * manual/llio.texi: Likewise.
3258 * manual/locale.texi: Likewise.
3259 * manual/maint.texi: Likewise.
3260 * manual/math.texi: Likewise.
3261 * manual/memory.texi: Likewise.
3262 * manual/message.texi: Likewise.
3263 * manual/nss.texi: Likewise.
3264 * manual/pattern.texi: Likewise.
3265 * manual/process.texi: Likewise.
3266 * manual/resource.texi: Likewise.
3267 * manual/search.texi: Likewise.
3268 * manual/setjmp.texi: Likewise.
3269 * manual/signal.texi: Likewise.
3270 * manual/socket.texi: Likewise.
3271 * manual/startup.texi: Likewise.
3272 * manual/stdio.texi: Likewise.
3273 * manual/string.texi: Likewise.
3274 * manual/sysinfo.texi: Likewise.
3275 * manual/syslog.texi: Likewise.
3276 * manual/terminal.texi: Likewise.
3277 * manual/time.texi: Likewise.
3278 * manual/users.texi: Likewise.
3279 * INSTALL: Regenerated.
3280 * NOTES: Regenerated.
d40c5d54 3281 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 3282
450bf206
AS
32832012-02-28 Andreas Schwab <schwab@linux-m68k.org>
3284
3285 * include/dirent.h: Include <dirstream.h> before
3286 <dirent/dirent.h>.
3287
741a235b
DM
32882012-02-28 David S. Miller <davem@davemloft.net>
3289
3290 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
3291 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
3292 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
3293 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
3294
d6b5aa58
DM
32952012-02-27 David S. Miller <davem@davemloft.net>
3296
1aff59a3
DM
3297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
3298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
3299 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
3300 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
3301
d6b5aa58
DM
3302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
3303 frame pointer instead of stack pointer relative arg slot.
3304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3305 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3306 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3307
433f48bf
CD
33082012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
3309
3310 [BZ #3992]
3311 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
3312
d674b76d
DM
33132012-02-27 David S. Miller <davem@davemloft.net>
3314
3315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
3316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3317 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
3319 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3320 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3321 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
3322 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
3323
0e7727f7
JM
33242012-02-27 Joseph Myers <joseph@codesourcery.com>
3325
3326 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
3327 later. Allow versions 5-9.
43be4ca2 3328 * configure: Regenerated.
0e7727f7
JM
3329 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
3330 required minimum version and 4.6 as recommended version. Do not
3331 mention bugs in GCC 2.7 and 2.8.
43be4ca2 3332 * INSTALL: Regenerated.
0e7727f7 3333
a78bc654
DM
33342012-02-27 David S. Miller <davem@davemloft.net>
3335
428d5830
DM
3336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
3337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
3338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
3339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
3340 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
3341 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
3342 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
3343 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
3344
a78bc654
DM
3345 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
3346 manipulate bits before adding and subtracting TWO112[sx].
3347 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3348
4579f81c
RM
33492012-02-27 Roland McGrath <roland@hack.frob.com>
3350
36c8acb4
RM
3351 [BZ #13775]
3352 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
3353 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
3354 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
3355 being in POSIX, because they are in 1003.1-2008.
3356
84ad622b
RM
3357 * rt/tst-aio.c: Include <fcntl.h>.
3358 * rt/tst-aio7.c: Likewise.
3359 * rt/tst-aio64.c: Likewise.
3360
4579f81c
RM
3361 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
3362
abd923db
JM
33632012-02-27 Joseph Myers <joseph@codesourcery.com>
3364
3365 * manual/install.texi (--with-headers): Describe headers as
3366 interface headers, not private headers.
3367 (Specific advice for GNU/Linux systems): Describe use of headers
3368 from "make headers_install", not private headers from older
3369 kernels.
43be4ca2 3370 * INSTALL: Regenerated.
abd923db
JM
3371 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
3372 Change to 2.6.19.
3373 * sysdeps/unix/sysv/linux/configure: Regenerated.
3374
6664049b
JM
3375 * manual/llio.texi (fclean): Remove documentation.
3376
bb8b6697
JM
3377 * manual/Makefile (libc-texi-generated): New variable. Include
3378 version.texi.
3379 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
3380 $(libc-texi-generated), not duplicated list of files.
3381 (version.texi, stamp-version): New rules.
3382 (realclean): Remove $(libc-texi-generated), not individual files
3383 from that list. Do not remove dir-add.texinfo.
3384 * manual/libc.texinfo: Comment out uses of edition numbers and
3385 references to printed manual. Remove last-updated dates.
3386 (EDITION): Comment out.
3387 (ISBN): Likewise.
3388 (VERSION, UPDATED): Remove.
3389 (version.texi): Include.
3390
12e5c3b9
AS
33912012-02-27 Andreas Schwab <schwab@linux-m68k.org>
3392
3393 * sysdeps/posix/spawni.c: Include <signal.h>.
3394 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
3395 * sysdeps/pthread/aio_fsync.c: Likewise.
3396
4efeffc1 33972012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 3398
ba63ba08
UD
3399 * conform/Makefile (tests): Run only when not cross-compiling and
3400 when fast-check is not defined.
3401
d94a4670
UD
3402 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
3403 * conform/data/limits.h-data: Fixes for POSIX2008.
3404 * conform/run-conformtest.sh: Run all tests.
3405 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
3406 headers.
3407 * include/bits/dlfcn.h: Likewise.
3408 * include/langinfo.h: Likewise.
3409 * include/monetary.h: Likewise.
3410 * include/sys/poll.h: Likewise.
3411
3412 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
3413 for __USE_GNU.
3414 * posix/spawn.h: Define __need_sigset_t.
3415 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
3416 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
3417 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
3418 to get sigevent_t only.
3419 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
3420 only for __USE_GNU.
3421 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3422 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3423 process_vm_writev only for __USE_GNU.
3424 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
3425
3426 * conform/Makefile: For now ignore errors from run-conformtest.
3427 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
3428 POSIX to avoid namespace pollution. Don't prepend headers.
3429 * conform/data/aio.h-data: Fixes for POSIX testing.
3430 * conform/data/fcntl.h-data: Likewise.
3431 * conform/data/glob.h-data: Likewise.
3432 * conform/data/grp.h-data: Likewise.
3433 * conform/data/pthread.h-data: Likewise.
3434 * conform/data/pwd.h-data: Likewise.
3435 * conform/data/signal.h-data: Likewise.
3436 * conform/data/spawn.h-data: Likewise.
3437 * conform/data/stdio.h-data: Likewise.
3438 * conform/data/stdlib.h-data: Likewise.
3439 * conform/data/stropts.h-data: Likewise.
3440 * conform/data/sys/mman.h-data: Likewise.
3441 * conform/data/sys/stat.h-data: Likewise.
3442 * conform/data/sys/types.h-data: Likewise.
3443 * conform/data/sys/wait.h-data: Likewise.
3444 * conform/data/time.h-data: Likewise.
3445 * conform/data/unistd.h-data: Likewise.
3446 * conform/data/utime.h-data: Likewise.
3447
3448 * io/sys/stat.h: fchmod was always in POSIX.
3449 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
3450 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
3451 * rt/aio.h: Define __need_timespec before including <time.h>.
3452 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
3453 struct. Add forward declaration of pthread_attr_t and use it in
3454 sigevent.
3455 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3456 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3457 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
3458 always remove CLK_TCK definition.
3459
c20105c3
AS
34602012-02-26 Andreas Schwab <schwab@linux-m68k.org>
3461
3462 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
3463
7a270350
UD
34642012-02-25 Ulrich Drepper <drepper@gmail.com>
3465
31341567
UD
3466 * conform/run-conformtest.sh: New file.
3467 * conform/Makefile: Run run-conformtest for tests.
3468 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
3469 support.
3470
3471 * conform/data/uchar.h-data: New file.
3472 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
3473 * conform/data/arpa/inet.h-data: Likewise.
3474 * conform/data/assert.h-data: Likewise.
3475 * conform/data/complex.h-data: Likewise.
3476 * conform/data/cpio.h-data: Likewise.
3477 * conform/data/ctype.h-data: Likewise.
3478 * conform/data/dirent.h-data: Likewise.
3479 * conform/data/dlfcn.h-data: Likewise.
3480 * conform/data/errno.h-data: Likewise.
3481 * conform/data/fcntl.h-data: Likewise.
3482 * conform/data/float.h-data: Likewise.
3483 * conform/data/fmtmsg.h-data: Likewise.
3484 * conform/data/fnmatch.h-data: Likewise.
3485 * conform/data/ftw.h-data: Likewise.
3486 * conform/data/glob.h-data: Likewise.
3487 * conform/data/grp.h-data: Likewise.
3488 * conform/data/iconv.h-data: Likewise.
3489 * conform/data/inttypes.h-data: Likewise.
3490 * conform/data/langinfo.h-data: Likewise.
3491 * conform/data/libgen.h-data: Likewise.
3492 * conform/data/limits.h-data: Likewise.
3493 * conform/data/locale.h-data: Likewise.
3494 * conform/data/math.h-data: Likewise.
3495 * conform/data/monetary.h-data: Likewise.
3496 * conform/data/mqueue.h-data: Likewise.
3497 * conform/data/ndbm.h-data: Likewise.
3498 * conform/data/net/if.h-data: Likewise.
3499 * conform/data/netdb.h-data: Likewise.
3500 * conform/data/netinet/in.h-data: Likewise.
3501 * conform/data/nl_types.h-data: Likewise.
3502 * conform/data/poll.h-data: Likewise.
3503 * conform/data/pthread.h-data: Likewise.
3504 * conform/data/pwd.h-data: Likewise.
3505 * conform/data/regex.h-data: Likewise.
3506 * conform/data/sched.h-data: Likewise.
3507 * conform/data/search.h-data: Likewise.
3508 * conform/data/semaphore.h-data: Likewise.
3509 * conform/data/setjmp.h-data: Likewise.
3510 * conform/data/signal.h-data: Likewise.
3511 * conform/data/spawn.h-data: Likewise.
3512 * conform/data/stdarg.h-data: Likewise.
3513 * conform/data/stdio.h-data: Likewise.
3514 * conform/data/stdlib.h-data: Likewise.
3515 * conform/data/string.h-data: Likewise.
3516 * conform/data/strings.h-data: Likewise.
3517 * conform/data/stropts.h-data: Likewise.
3518 * conform/data/sys/ipc.h-data: Likewise.
3519 * conform/data/sys/mman.h-data: Likewise.
3520 * conform/data/sys/msg.h-data: Likewise.
3521 * conform/data/sys/resource.h-data: Likewise.
3522 * conform/data/sys/select.h-data: Likewise.
3523 * conform/data/sys/sem.h-data: Likewise.
3524 * conform/data/sys/shm.h-data: Likewise.
3525 * conform/data/sys/socket.h-data: Likewise.
3526 * conform/data/sys/stat.h-data: Likewise.
3527 * conform/data/sys/statvfs.h-data: Likewise.
3528 * conform/data/sys/time.h-data: Likewise.
3529 * conform/data/sys/timeb.h-data: Likewise.
3530 * conform/data/sys/times.h-data: Likewise.
3531 * conform/data/sys/types.h-data: Likewise.
3532 * conform/data/sys/uio.h-data: Likewise.
3533 * conform/data/sys/un.h-data: Likewise.
3534 * conform/data/sys/utsname.h-data: Likewise.
3535 * conform/data/sys/wait.h-data: Likewise.
3536 * conform/data/syslog.h-data: Likewise.
3537 * conform/data/tar.h-data: Likewise.
3538 * conform/data/termios.h-data: Likewise.
3539 * conform/data/utime.h-data: Likewise.
3540 * conform/data/utmpx.h-data: Likewise.
3541 * conform/data/varargs.h-data: Likewise.
3542 * conform/data/wchar.h-data: Likewise.
3543 * conform/data/wctype.h-data: Likewise.
3544 * conform/data/wordexp.h-data: Likewise.
3545
3546 * include/stropts.h: New file.
3547 * include/uchar.h: New file.
3548 * include/aio.h: Changes to allow conformtest.pl to use the headers.
3549 * include/assert.h: Likewise.
3550 * include/ctype.h: Likewise.
3551 * include/dirent.h: Likewise.
3552 * include/dlfcn.h: Likewise.
3553 * include/fcntl.h: Likewise.
3554 * include/fnmatch.h: Likewise.
3555 * include/glob.h: Likewise.
3556 * include/grp.h: Likewise.
3557 * include/libio.h: Likewise.
3558 * include/locale.h: Likewise.
3559 * include/math.h: Likewise.
3560 * include/net/if.h: Likewise.
3561 * include/netdb.h: Likewise.
3562 * include/netinet/in.h: Likewise.
3563 * include/pthread.h: Likewise.
3564 * include/pwd.h: Likewise.
3565 * include/regex.h: Likewise.
3566 * include/sched.h: Likewise.
3567 * include/search.h: Likewise.
3568 * include/setjmp.h: Likewise.
3569 * include/signal.h: Likewise.
3570 * include/stdio.h: Likewise.
3571 * include/stdlib.h: Likewise.
3572 * include/string.h: Likewise.
3573 * include/sys/cdefs.h: Likewise.
3574 * include/sys/mman.h: Likewise.
3575 * include/sys/msg.h: Likewise.
3576 * include/sys/resource.h: Likewise.
3577 * include/sys/select.h: Likewise.
3578 * include/sys/socket.h: Likewise.
3579 * include/sys/stat.h: Likewise.
3580 * include/sys/statvfs.h: Likewise.
3581 * include/sys/time.h: Likewise.
3582 * include/sys/times.h: Likewise.
3583 * include/sys/uio.h: Likewise.
3584 * include/sys/utsname.h: Likewise.
3585 * include/sys/wait.h: Likewise.
3586 * include/termios.h: Likewise.
3587 * include/time.h: Likewise.
3588 * include/ulimit.h: Likewise.
3589 * include/unistd.h: Likewise.
3590 * include/utime.h: Likewise.
3591 * include/wchar.h: Likewise.
3592 * include/wctype.h: Likewise.
3593 * include/wordexp.h: Likewise.
3594
3595 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3596
7a270350
UD
3597 * time/time.h: TIME_UTC must be a macro.
3598 Make timespec_get available for ISO C11 only as well.
3599
7724defc
UD
36002012-02-24 Ulrich Drepper <drepper@gmail.com>
3601
3602 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
3603 Reported by Peng Haitao <penght@cn.fujitsu.com>.
3604
6b1d1d46
JM
36052012-02-24 Joseph Myers <joseph@codesourcery.com>
3606
3607 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 3608
0f8bbd69
JM
36092012-02-24 Joseph Myers <joseph@codesourcery.com>
3610
3611 * manual/texinfo.tex: Update to version 2012-01-19.16.
3612
66ab80bc
JM
36132012-02-24 Joseph Myers <joseph@codesourcery.com>
3614
3615 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3616
74981cc5
RM
36172012-02-24 Roland McGrath <roland@hack.frob.com>
3618
ee968201
RM
3619 [BZ #13738]
3620 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3621 * manual/fdl-1.3.texi: New file.
3622 * manual/fdl-1.1.texi: File removed.
3623
74981cc5
RM
3624 [BZ #13738]
3625 * manual/libc.texinfo (FDL_VERSION): New @set.
3626 Use it for mention of FDL in cover text.
3627 (Documentation License): Use it in @include file name.
3628
7bb764bc
JM
36292012-02-22 Joseph Myers <joseph@codesourcery.com>
3630 Roland McGrath <roland@hack.frob.com>
3631
3632 [BZ #5461]
3633 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3634 not LONG_LONG_MAX and LONG_LONG_MIN.
3635 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3636 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
3637 name.
3638 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3639
6cbeae47
JM
36402012-02-22 Joseph Myers <joseph@codesourcery.com>
3641
3642 [BZ #2547]
3643 [BZ #11365]
3644 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3645 manipulate bits before adding and subtracting TWO23[sx].
3646 * math/libm-test.inc (nearbyint_test): Add more tests.
3647
fe45ce09
JM
36482012-02-22 Joseph Myers <joseph@codesourcery.com>
3649
3650 [BZ #2548]
3651 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3652 bits before adding and subtracting TWO23[sx].
3653 * math/libm-test.inc (rint_test): Add more tests.
3654 (rint_test_tonearest): Likewise.
3655 (rint_test_towardzero): Likewise.
3656 (rint_test_downward): Likewise.
3657 (rint_test_upward: Likewise.
3658
ff3b3d82
JM
36592012-02-22 Joseph Myers <joseph@codesourcery.com>
3660
3661 [BZ #10110]
3662 * include/stdc-predef.h: New file. Extracted from features.h.
3663 * include/features.h: Include stdc-predef.h.
3664 * Makefile (headers): Add stdc-predef.h.
3665 * CONFORMANCE (Compiler limitations): Update.
3666
ef0aab35
JM
36672012-02-22 Joseph Myers <joseph@codesourcery.com>
3668
3669 * manual/libc.texinfo (VERSION, UPDATED): Revert.
3670
58639409
DM
36712012-02-21 David S. Miller <davem@davemloft.net>
3672
3673 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3674 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3675
c0e70b25
DM
36762012-02-20 David S. Miller <davem@davemloft.net>
3677
3678 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3679 using a normal save/restore sequence, rather than allocating a
3680 dummy stack frame just to store a frame pointer and restore.
3681 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3682
fb06851d
JM
36832012-02-21 Joseph Myers <joseph@codesourcery.com>
3684
3685 * manual/install.texi: Fix stray word in line-wrapped comment.
3686
7a8b71c3
DM
36872012-02-20 David S. Miller <davem@davemloft.net>
3688
d510c123
DM
3689 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3690 both binutils and gcc support GOTDATA.
3691
0722d7c2
DM
3692 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3693 "rd %pc" in the PIC register setup sequences.
3694
3d2b3019
DM
3695 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3696 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3697 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3698 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3699 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3700 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3701 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3702 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3703 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3704 (SYSCALL_ERROR_HANDLER): Likewise.
3705 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3706 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3707 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3708 (SYSCALL_ERROR_HANDLER): Likewise.
3709
c80098a9
DM
3710 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3711 (HAVE_GCC_GOTDATA): New.
3712 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3713 relocation support in both binutils and gcc.
3714 * sysdeps/sparc/elf/configure: Regenerate.
3715
3a2545a0
DM
3716 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3717 * sysdeps/sparc/sparc32/elf/configure: Delete.
3718 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3719 * sysdeps/sparc/sparc64/elf/configure: Delete.
3720 * sysdeps/sparc/elf/configure.in: New file.
3721 * sysdeps/sparc/elf/configure: Generate.
3722
7a8b71c3
DM
3723 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3724 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3725 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3726 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3727 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3728
f1e86fca
JM
37292012-02-21 Joseph Myers <joseph@codesourcery.com>
3730
3731 * manual/install.texi: Do not mention specific glibc version
3732 numbers.
3733 * manual/libc.texinfo (VERSION, UPDATED): Update.
3734 (@copying): Use @copyright{} and range of years.
3735
0e7dfaef
JM
37362012-02-21 Joseph Myers <joseph@codesourcery.com>
3737
3738 [BZ #13695]
3739 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3740 [crti.S not in sysdirs] (generated): Do not append.
3741 [crti.S not in sysdirs] (omit-deps): Likewise.
3742 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3743 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3744 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3745 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3746 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3747 Likewise.
3748 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3749 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3750 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3751 * csu/defs.awk: Remove file.
3752 * sysdeps/generic/initfini.c: Likewise.
3753 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3754 variable.
3755 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3756 Likewise.
3757
599af3ca
JM
37582012-02-20 Joseph Myers <joseph@codesourcery.com>
3759
3760 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3761 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3762 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3763 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3764 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3765 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3766 <bits/epoll.h>.
3767 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3768 (__EPOLL_PACKED): Define to empty if not defined by
3769 <bits/epoll.h>.
3770 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3771 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3772 bits/epoll.h.
3773
0e499750
JM
37742012-02-20 Joseph Myers <joseph@codesourcery.com>
3775
3776 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3777 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3778 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3779 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3780 <bits/timerfd.h>.
3781 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3782 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3783 bits/timerfd.h.
3784
5ad91f6e
JM
37852012-02-20 Joseph Myers <joseph@codesourcery.com>
3786
3787 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3788 in C locale.
3789 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3790 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3791 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3793
06b99b02
AJ
37942012-02-20 Aurelien Jarno <aurelien@aurel32.net>
3795
3796 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3797 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3798
7638c0fd
AS
37992012-02-19 Andreas Schwab <schwab@linux-m68k.org>
3800
3801 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3802 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3803 defined.
3804 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3805 Likewise.
3806 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3807 entry for 2.16.
3808
92221550
AJ
38092012-02-19 Aurelien Jarno <aurelien@aurel32.net>
3810
3811 * math/w_acos.c: Use non-signaling floating-point comparisons.
3812 * math/w_acosf.c: Likewise.
3813 * math/w_acosh.c: Likewise.
3814 * math/w_acoshf.c: Likewise.
3815 * math/w_acoshl.c: Likewise.
3816 * math/w_acosl.c: Likewise.
3817 * math/w_asin.c: Likewise.
3818 * math/w_asinf.c: Likewise.
3819 * math/w_asinl.c: Likewise.
3820 * math/w_atanh.c: Likewise.
3821 * math/w_atanhf.c: Likewise.
3822 * math/w_atanhl.c: Likewise.
3823 * math/w_exp2.c: Likewise.
3824 * math/w_exp2f.c: Likewise.
3825 * math/w_exp2l.c: Likewise.
3826 * math/w_j0.c: Likewise.
3827 * math/w_j0f.c: Likewise.
3828 * math/w_j0l.c: Likewise.
3829 * math/w_j1.c: Likewise.
3830 * math/w_j1f.c: Likewise.
3831 * math/w_j1l.c: Likewise.
3832 * math/w_jn.c: Likewise.
3833 * math/w_jnf.c: Likewise.
3834 * math/w_log.c: Likewise.
3835 * math/w_log10.c: Likewise.
3836 * math/w_log10f.c: Likewise.
3837 * math/w_log10l.c: Likewise.
3838 * math/w_log2.c: Likewise.
3839 * math/w_log2f.c: Likewise.
3840 * math/w_log2l.c: Likewise.
3841 * math/w_logf.c: Likewise.
3842 * math/w_logl.c: Likewise.
3843 * math/w_sqrt.c: Likewise.
3844 * math/w_sqrtf.c: Likewise.
3845 * math/w_sqrtl.c: Likewise.
3846 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3847 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3848 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3849 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3850 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3851
ebaf36eb
JM
38522012-02-19 Joseph Myers <joseph@codesourcery.com>
3853
3854 [BZ #9739]
3855 * manual/string.texi (strnlen): Use correct parameter name in
3856 equivalent expression.
3857
71c254a6
JM
38582012-02-19 Joseph Myers <joseph@codesourcery.com>
3859
3860 [BZ #11174]
3861 * manual/users.texi (seteuid): Consistently use neweuid for
3862 argument name.
3863
16d2c631
JM
38642012-02-19 Joseph Myers <joseph@codesourcery.com>
3865
3866 [BZ #13704]
3867 * manual/nss.texi (Services in the NSS configuration): Correct
3868 list of services in example configuration file.
3869
cd837b09
NB
38702012-02-19 Nick Bowler <nbowler@draconx.ca>
3871
3872 [BZ #11322]
3873 * manual/arith.texi: Remove statements about negative zero
3874 behaving identically to zero.
3875
02c4bbad
JM
38762012-02-18 Joseph Myers <joseph@codesourcery.com>
3877
3878 [BZ #5993]
3879 * manual/install.texi: Do not document upgrading from libc5.
3880
366842e7
JM
38812012-02-18 Joseph Myers <joseph@codesourcery.com>
3882
3883 [BZ #4596]
3884 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3885
dd54084d
DM
38862012-02-18 David S. Miller <davem@davemloft.net>
3887
3888 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3889 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3890 %o7 across the call.
3891 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3892 instead.
3893 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3894 SETUP_PIC_REG_LEAF.
3895 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3896 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3897 * sysdeps/sparc/crtn.S: Likewise.
3898
2bcc53a3
UD
38992012-02-17 Ulrich Drepper <drepper@gmail.com>
3900
3901 * aout/Makefile: Remove.
3902
09c093b5
RK
39032012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3904
3905 [BZ #13058]
3906 * manual/examples/argp-ex1.c (main): Format definition in GNU
3907 style.
3908 * manual/examples/argp-ex2.c (main): Likewise.
3909 * manual/examples/argp-ex3.c (main): Likewise.
3910 * manual/examples/argp-ex4.c (main): Likewise.
3911 * manual/examples/longopt.c (main): Use new-style prototype
3912 definition.
3913 * manual/examples/strncat.c (main): Specify return type and use
3914 (void) for arguments.
3915 * manual/examples/subopt.c (main): Use char **argv argument.
3916
2ee633a2
JM
39172012-02-17 Joseph Myers <joseph@codesourcery.com>
3918
3919 [BZ #5077]
3920 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3921 rounding modes.
3922
0520adde
FB
39232012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3924
3925 [BZ #6907]
3926 * manual/string.texi (strchr): Change when strchrnul is
3927 recommended.
3928
3f4081cd
DGM
39292012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3930
3931 [BZ #174]
3932 * manual/locale.texi (setlocale): Document LOCPATH.
3933
d1b10e78
JM
39342012-02-17 Joseph Myers <joseph@codesourcery.com>
3935
3936 [BZ #10210]
3937 * manual/process.texi (execle): Move @dots{} before last argument.
3938
79c6869c
PB
39392012-02-17 Paul Bolle <pebolle@tiscali.nl>
3940
3941 [BZ #12047]
3942 * manual/charset.texi (Generic Charset Conversion): Fix typo
3943 (LC_TYPE -> LC_CTYPE).
3944
cc6e48bc
NB
39452012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3946
3947 [BZ #5805]
3948 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3949 (scalbnf): Likewise.
3950 (scalbnl): Likewise.
3951 (scalbln): Likewise.
3952 (scalblnf): Likewise.
3953 (scalblnl): Likewise.
3954 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3955 (vwarnx): Likewise.
3956 (verr): Likewise.
3957 (verrx): Likewise.
3958 * manual/filesys.texi (telldir): Use braces around return type.
3959 * manual/llio.texi (mmap): Add space after comma.
3960 (mmap64): Likewise.
3961 * manual/math.texi (jn): Use @var{} on parameter names.
3962 (jnf): Likewise.
3963 (jnl): Likewise.
3964 (yn): Likewise.
3965 (ynf): Likewise.
3966 (ynl): Likewise.
3967 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3968 line.
3969 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3970 "...".
3971 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3972 (sched_get_priority_max): Likewise.
3973 * manual/signal.texi (sigvec): Add space after comma.
3974 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3975 names.
3976 (if_indextoname): Likewise.
3977 (if_freenameindex): Likewise.
3978 (sendto): Use ',' instead of '.' in prototype.
3979 * manual/startup.texi (syscall): Use @dots{} instead of literal
3980 "...".
3981 * manual/stdio.texi (__fpending): Separate initial words of
3982 paragraph from @deftypefun line.
3983 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3984 "...".
3985 (vsyslog): Use @var{} on parameter names.
3986 * manual/terminal.texi (stty): Use @var{} on parameter names.
3987 * manual/users.texi (getutmp): Use @var{} on parameter names.
3988 (getutmpx): Likewise.
3989
5b23062f
JM
39902012-02-17 Joseph Myers <joseph@codesourcery.com>
3991
3992 [BZ #6884]
3993 * manual/stdio.texi (fopen): Fix typos in description of
3994 ",ccs=STRING".
3995
8dee4833
AJ
39962012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3997
3998 [BZ #4026]
3999 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
4000 get clock_id definition.
4001
9078ce93
TS
40022012-02-17 Thomas Schwinge <thomas@schwinge.name>
4003
4004 [BZ #4822]
4005 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
4006 (madvise): Cast every argument to void on its own.
4007
3835c55f
JM
40082012-02-17 Joseph Myers <joseph@codesourcery.com>
4009
4010 [BZ #9902]
4011 * manual/startup.texi (Exit Status): Fix typo.
4012
35c47e37
JM
40132012-02-17 Joseph Myers <joseph@codesourcery.com>
4014
4015 [BZ #10140]
4016 * manual/examples/argp-ex1.c: Include <stdlib.h>.
4017 * manual/examples/argp-ex2.c: Likewise.
4018 * manual/examples/argp-ex3.c: Likewise.
4019
e3b69ca7
RH
40202012-02-16 Richard Henderson <rth@redhat.com>
4021
4022 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
4023 * sysdeps/s390/s390-32/initfini.c: Remove.
4024 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
4025 * sysdeps/s390/s390-64/initfini.c: Remove.
4026
df83af67
KK
40272012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4028
4029 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
4030 compiler output for sysdeps/generic/initfini.c.
4031 * sysdeps/sh/elf/initfini.c: Remove file.
4032
f63f3380
DM
40332012-02-16 David S. Miller <davem@davemloft.net>
4034
fb59b3a4
DM
4035 [BZ #11494]
4036 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
4037
f63f3380
DM
4038 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
4039 * sysdeps/sparc/crti.S: New file.
4040 * sysdeps/sparc/crtn.S: New file.
4041 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
4042 * sysdeps/sparc/sparc64/Makefile: Likewise.
4043
df6a4a4a
MF
40442012-02-15 Mike Frysinger <vapier@gentoo.org>
4045
6dd8f3dc 4046 [BZ #3335]
df6a4a4a
MF
4047 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
4048
1cac7236
RM
40492012-02-15 Roland McGrath <roland@hack.frob.com>
4050
d2c736f8
RM
4051 [BZ #4822]
4052 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
4053
1cac7236
RM
4054 * mach/devstream.c (cookie_io_functions_t): Macro removed.
4055 (write, read, close): Likewise.
4056 Patch by Aurelien Jarno <aurelien@aurel32.net>.
4057
8e475601
JM
40582012-02-15 Joseph Myers <joseph@codesourcery.com>
4059
4060 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
4061 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
4062 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
4063 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
4064 <bits/signalfd.h>.
4065 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
4066 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4067 bits/signalfd.h.
4068
ed656b40
MP
40692012-02-14 Marek Polacek <polacek@redhat.com>
4070
4071 * sysdeps/x86_64/crti.S: New file.
4072 * sysdeps/x86_64/crtn.S: New file.
4073 * sysdeps/x86_64/elf/initfini.c: Remove file.
4074
2a979d3a
JM
40752012-02-13 Joseph Myers <joseph@codesourcery.com>
4076
4077 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
4078 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
4079 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
4080 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
4081 <bits/inotify.h>.
4082 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
4083 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4084 bits/inotify.h.
4085
2a418ac3
JM
40862012-02-13 Joseph Myers <joseph@codesourcery.com>
4087
4088 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
4089 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
4090 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
4091 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
4092 <bits/eventfd.h>.
4093 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
4094 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4095 bits/eventfd.h.
4096
fb779be7
TS
40972012-02-10 Thomas Schwinge <thomas@codesourcery.com>
4098
e19e83c5
RM
4099 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
4100 __feraiseexcept instead of feraiseexcept.
7c35ffed 4101
fb779be7
TS
4102 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
4103 nanosleep invocations.
4104 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
4105 strings, and add error checking for a nanosleep invocations.
4106
59ba27a6
PE
41072012-02-09 Paul Eggert <eggert@cs.ucla.edu>
4108
4109 Replace FSF snail mail address with URLs, as per GNU coding standards.
4110 Most of the snail mail addresses were wrong anyway, and omitting
4111 them makes the source code easier to maintain. Almost all of the
4112 changes are to license notices and to locale LC_IDENTIFICATION
4113 addresses, except for this one:
4114 * manual/libc.texinfo: In "Published by", give the FSF's URL,
4115 not its snail mail address.
4116
57b957eb
RH
41172012-02-09 Richard Henderson <rth@twiddle.net>
4118
af850b1c
RH
4119 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
4120 of kernel-features.h.
4121
57b957eb
RH
4122 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
4123
6b73181a
MP
41242012-02-08 Marek Polacek <polacek@redhat.com>
4125
4126 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
4127 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
4128 * sysdeps/gnu/_G_config.h: Likewise.
4129 * sysdeps/generic/_G_config.h: Likewise.
4130
26ecc33a
AS
41312012-02-08 Andreas Schwab <schwab@linux-m68k.org>
4132
6c6dbc63
AS
4133 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
4134 tests.
4135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4136
e216c012
AS
4137 * sysdeps/powerpc/powerpc32/crti.S: New file.
4138 * sysdeps/powerpc/powerpc32/crtn.S: New file.
4139 * sysdeps/powerpc/powerpc64/crti.S: New file.
4140 * sysdeps/powerpc/powerpc64/crtn.S: New file.
4141
26ecc33a
AS
4142 * Makeconfig (have-initfini): Don't set.
4143 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
4144 * configure.in (nopic_initfini): Don't substitute.
4145 * config.h.in (HAVE_INITFINI): Don't #undef.
4146 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
4147 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
4148
3add8e13
JM
41492012-02-08 Joseph Myers <joseph@codesourcery.com>
4150
4151 Support crti.S and crtn.S provided directly by architectures.
4152 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
4153 [crti.S in sysdirs] (omit-deps): Likewise.
4154 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
4155 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
4156 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
4157 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
4158 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
4159 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
4160 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
4161 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
4162 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
4163 compiler output for sysdeps/generic/initfini.c.
4164 * sysdeps/i386/elf/Makefile: Remove file.
4165 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
4166
a22f12b4
MP
41672012-02-07 Marek Polacek <polacek@redhat.com>
4168
4169 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
4170 * sysdeps/gnu/_G_config.h: Likewise.
4171 * sysdeps/mach/hurd/_G_config.h: Likewise.
4172
148cf100
MP
41732012-02-07 Marek Polacek <polacek@redhat.com>
4174
4175 * math/Makefile (tests): Add tst-CMPLX2.
4176 * math/tst-CMPLX2.c: New file.
4177
cfdc0dd7
AS
41782012-02-07 Andreas Schwab <schwab@linux-m68k.org>
4179
84ba42c4
AS
4180 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4181
cfdc0dd7
AS
4182 * math/libm-test.inc (jn_test): Add missing L suffix.
4183
622c86f4
MP
41842012-02-06 Marek Polacek <polacek@redhat.com>
4185
4186 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
4187 * sysdeps/i386/fpu/e_powf.S: Likewise.
4188 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4189 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4190 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4191 * sysdeps/i386/fpu/e_pow.S: Likewise.
4192 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4193 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4194 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4195 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4196 * sysdeps/i386/fpu/e_log2.S: Likewise.
4197 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4198 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4199 * sysdeps/i386/fpu/e_powl.S: Likewise.
4200 * sysdeps/i386/fpu/s_log1p.S: Likewise.
4201 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4202 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4203 * sysdeps/i386/fpu/e_logl.S: Likewise.
4204 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4205 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
4206 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4207 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4208 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4209 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4210 * sysdeps/i386/fpu/e_log.S: Likewise.
4211 * sysdeps/i386/fpu/s_cexp.S: Likewise.
4212 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4213 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4214 * sysdeps/i386/fpu/e_logf.S: Likewise.
4215 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4216 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4217 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4218 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4219 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4220 * sysdeps/i386/fpu/e_log10.S: Likewise.
4221 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4222 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4223 * sysdeps/i386/fpu/s_asinh.S: Likewise.
4224 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4225 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4226 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4227 * sysdeps/i386/asm-syntax.h: Likewise.
4228 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4229 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4230 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4231 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
4232 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
4233 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4234 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4235 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4236 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4237 * sysdeps/powerpc/sysdep.h: Likewise.
4238 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
4239 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4240
d4a54ac6
JM
42412012-02-06 Joseph Myers <joseph@codesourcery.com>
4242
4243 [BZ #411]
4244 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
4245
314054ea
JM
42462012-02-06 Joseph Myers <joseph@codesourcery.com>
4247
4248 * sysdeps/i386/sysdep.h: Include <features.h>.
4249 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
4250 version.
4251
d8e0ca50
JM
42522012-02-05 Joseph Myers <joseph@codesourcery.com>
4253
4254 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
4255 Define.
4256 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
4257 LOAD_PIC_REG_STR.
4258
b1da7dd9
JM
42592012-02-03 Joseph Myers <joseph@codesourcery.com>
4260
4261 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
4262 (SETUP_PIC_REG): Use GET_PC_THUNK.
4263 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
4264 macro.
4265
9a1d9254
JM
42662012-02-03 Joseph Myers <joseph@codesourcery.com>
4267
4268 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
4269 for non-PIC compilation.
4270 (SETUP_PIC_REG): Add .p2align directive.
4271 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
4272 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4273 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4274 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4275 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4276 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4277 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4278 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4279 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4280 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4281 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4282 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4283 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4284 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4285 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4286 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4287 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4288 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4289 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4290 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4291 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4292 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4293 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4294 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4295 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4296 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4297 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4298 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4299 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4300 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4301 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4302 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4303 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4304 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4305 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4306 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4307 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4308 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4309 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4310 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4311 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4312
65dc3b75
JM
43132012-02-03 Joseph Myers <joseph@codesourcery.com>
4314
4315 * math/tst-CMPLX.c: Include <stdio.h>.
4316
d55bf177
JM
43172012-01-31 Joseph Myers <joseph@codesourcery.com>
4318
4319 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
4320 float.
4321 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4322 * sysdeps/sparc/bits/mathdef.h: Likewise.
4323
69db4f8f
MP
43242012-01-31 Marek Polacek <polacek@redhat.com>
4325
4326 * libio/libio.h: Don't define _PARAMS.
4327 * locale/programs/config.h: Don't define PARAMS.
4328 * stdlib/strtol_l.c: Likewise.
4329 (__strtol_l): Remove PARAMS from the prototype.
4330
41b81892
UD
43312012-01-31 Ulrich Drepper <drepper@gmail.com>
4332
3b49edc0
UD
4333 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
4334 names. Just use the correct names. Remove unnecessary wrapper
4335 functions.
4336 * malloc/arena.c: Likewise.
4337 * malloc/hooks.c: Likewise.
4338
41b81892
UD
4339 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
4340 ARENA_TEST says not to. Simplify test for creation of a new arena.
4341 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
4342
27a25b6e
UD
43432012-01-30 Ulrich Drepper <drepper@gmail.com>
4344
4345 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
4346 into tail calls.
4347 (update_get_addr): New function.
4348 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
4349 GET_ADDR_MODULE parameter.
4350
c8a89e7d
JM
43512012-01-30 Joseph Myers <joseph@codesourcery.com>
4352
4353 * crypt/cert.c: Remove __STDC__ conditionals.
4354 * crypt/crypt-entry.c: Likewise.
4355 * crypt/crypt_util.c: Likewise.
4356 * libio/filedoalloc.c: Likewise.
4357 * libio/fileops.c: Likewise.
4358 * libio/genops.c: Likewise.
4359 * libio/iofclose.c: Likewise.
4360 * libio/iofdopen.c: Likewise.
4361 * libio/iofopen.c: Likewise.
4362 * libio/iofopen64.c: Likewise.
4363 * libio/iogetdelim.c: Likewise.
4364 * libio/iopopen.c: Likewise.
4365 * libio/obprintf.c: Likewise.
4366 * libio/oldfileops.c: Likewise.
4367 * libio/oldiofclose.c: Likewise.
4368 * libio/oldiofdopen.c: Likewise.
4369 * libio/oldiofopen.c: Likewise.
4370 * libio/oldiopopen.c: Likewise.
4371 * libio/wfiledoalloc.c: Likewise.
4372 * libio/wgenops.c: Likewise.
4373 * locale/programs/xmalloc.c: Likewise.
4374 * misc/syslog.c: Likewise.
4375 * stdio-common/xbug.c: Likewise.
4376 * string/memchr.c: Likewise.
4377 * string/memcmp.c: Likewise.
4378 * string/memrchr.c: Likewise.
4379 * string/rawmemchr.c: Likewise.
4380 * sysdeps/posix/getcwd.c: Likewise.
4381 * time/strftime_l.c: Likewise.
4382
3b100462
JM
43832012-01-30 Joseph Myers <joseph@codesourcery.com>
4384
4385 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
4386 * config.make.in (config-cflags-sse2avx): Define.
4387 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
4388 Fix typo.
4389
607998af
CM
43902012-01-29 Chris Metcalf <cmetcalf@tilera.com>
4391
4392 * scripts/config.guess: Update from upstream config git repository.
4393 * scripts/config.sub: Likewise.
4394
3601428f
CM
43952012-01-28 Chris Metcalf <cmetcalf@tilera.com>
4396
3ac8b282
CM
4397 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
4398 (EM_NUM): Update.
4399 (R_TILEPRO_*, R_TILEGX_*): New macros.
4400
e034841e
CM
4401 * scripts/firstversions.awk: Fix bug in version range handling.
4402
540d7568
CM
4403 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
4404
3601428f
CM
4405 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
4406
463de862
CM
4407 * include/sys/epoll.h: New file.
4408 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
4409 libc_hidden_def.
4410
73139a76
UD
44112012-01-28 Ulrich Drepper <drepper@gmail.com>
4412
96bc5b45
UD
4413 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
4414 Avoid unnecessary __WORDSIZE == 64 test.
4415 (fmaxf): Use VEX format if possible.
4416 (fmax): Likewise.
4417 (fminf): Likewise.
4418 (fmin): Likewise.
4419
56f6f6a2
UD
4420 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
4421 * math/math_private.h: Remove libc_fegetround* and
4422 libc_fesetround*.
4423 * sysdeps/i386/configure.in: Check for -msse2avx.
4424 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
4425 also if SSE2AVX is defined.
4426 Remove libc_fegetround* and libc_fesetround*.
4427 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
4428 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
4429 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
4430 of HAS_YMM_USABLE.
4431 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4432 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4433 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4434 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4435 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4436
73139a76
UD
4437 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
4438
d73f93a4
AZ
44392012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4440
4441 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
4442 size is not set.
4443 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4444
6ee65ed6
UD
44452012-01-27 Ulrich Drepper <drepper@gmail.com>
4446
4447 [BZ #13618]
4448 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
4449 relocation.
4450 * Makeconfig (libm): Define.
4451 * elf/Makefile: Add rules to build and run tst-relsort1.
4452 * elf/tst-relsort1.c: New file.
4453 * elf/tst-relsort1mod1.c: New file.
4454 * elf/tst-relsort1mod2.c: New file.
4455
8db21882
JM
44562012-01-27 Joseph Myers <joseph@codesourcery.com>
4457
4458 * math/s_ldexp.c: Remove __STDC__ conditionals.
4459 * math/s_ldexpf.c: Likewise.
4460 * math/s_ldexpl.c: Likewise.
4461 * math/s_nextafter.c: Likewise.
4462 * math/s_nexttowardf.c: Likewise.
4463 * math/s_significand.c: Likewise.
4464 * math/s_significandf.c: Likewise.
4465 * math/s_significandl.c: Likewise.
4466 * math/w_jnl.c: Likewise.
4467 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4468 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4469 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4470 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4471 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4472 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4473 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
4474 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4475 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4476 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4477 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4478 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4479 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4480 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4481 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4482 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4483 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4484 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4485 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4486 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4487 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4488 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4489 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4490 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4491 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4492 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4493 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4494 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4495 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4496 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4497 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4498 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4499 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4500 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4501 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4502 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4503 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4504 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4505 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4506 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4507 * sysdeps/ieee754/k_standard.c: Likewise.
4508 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4509 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4510 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4511 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4512 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4513 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4514 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4515 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4516 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4517 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4518 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4519 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4520 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4521 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4522 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4523 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4524 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4525 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4526 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4527 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4528 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4529 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4530 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4531 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4532 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4533 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4534 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4535 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4536 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4537 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4538 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4539 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4540 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4541 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4542 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4543 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4544 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4545 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4546 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4547 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4548 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4549 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4550 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4551 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4552 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4553 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4554 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4555 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4556 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4557 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4558 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4559 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4560 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4561 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4562 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4563 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4564 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4565 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4566 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4567 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4568 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4569 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4570 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4571 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4572 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4573 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4574 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4575 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4576 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4577 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4578 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4579 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4580 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4581 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4582 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4583 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4584 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4585 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4586 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4587 * sysdeps/ieee754/s_matherr.c: Likewise.
4588 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4589 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4590 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4591 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4592
965a54a4
JM
45932012-01-26 Joseph Myers <joseph@codesourcery.com>
4594
4595 * crypt/md5.h: Remove __STDC__ conditionals.
4596 * libio/libioP.h: Likewise.
4597 * locale/programs/config.h: Likewise.
4598 * sysdeps/generic/sysdep.h: Likewise.
4599 * sysdeps/i386/asm-syntax.h: Likewise.
4600 * sysdeps/s390/asm-syntax.h: Likewise.
4601 * sysdeps/unix/sysdep.h: Likewise.
4602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4604
7071ad79
JM
46052012-01-26 Joseph Myers <joseph@codesourcery.com>
4606
4607 * libio/libio.h: Remove __STDC__ conditionals.
4608 * malloc/obstack.h: Likewise.
4609 * math/complex.h: Likewise.
4610 * math/math.h: Likewise.
4611 * sysdeps/generic/_G_config.h: Likewise.
4612 * sysdeps/gnu/_G_config.h: Likewise.
4613 * sysdeps/mach/hurd/_G_config.h: Likewise.
4614 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4615 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4616 * sysdeps/sparc/bits/mathdef.h: Likewise.
4617
afc5ed09
UD
46182012-01-26 Ulrich Drepper <drepper@gmail.com>
4619
4620 [BZ #13583]
4621 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 4622 Clean up HAS_* macros.
afc5ed09 4623 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
4624 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4625 possible.
4626 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4627 HAS_AVX.
4628 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4629 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4630 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4631 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4632 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 4633
bdb6de1d
JM
46342012-01-25 Joseph Myers <joseph@codesourcery.com>
4635
4636 * elf/tst-unique3.cc (gets): Remove declaration.
4637 * elf/tst-unique3lib.cc (gets): Likewise.
4638 * elf/tst-unique3lib2.cc (gets): Likewise.
4639 * elf/tst-unique4.cc (gets): Likewise.
4640
b15549e6
UD
46412012-01-24 Ulrich Drepper <drepper@gmail.com>
4642
4643 * include/stdio.h: Add C++ protection. Add gets declarations and
4644 definitions.
4645 * debug/tst-chk1.c: Don't declare gets here.
4646 * stdio-common/tst-gets.c: Likewise.
4647
a037381f
JM
46482012-01-24 Joseph Myers <joseph@codesourcery.com>
4649
4650 * posix/glob: Remove directory.
4651
f1d4aa75
JM
46522012-01-24 Joseph Myers <joseph@codesourcery.com>
4653
4654 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4655
81c0c964
PT
46562012-01-22 Pino Toscano <toscano.pino@tiscali.it>
4657
4658 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4659 of the non-standard EPFNOSUPPORT.
4660
0ea698ae
ST
46612011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
4662
4663 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4664 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4665 ANYWHERE set to 1 only on KERN_NO_SPACE error.
4666
d220b117
UD
46672012-01-21 Ulrich Drepper <drepper@gmail.com>
4668
4669 * wcsmbs/uchar.h: Test __STDC_VERSION__.
4670
3e1aa84e
UD
46712012-01-20 Ulrich Drepper <drepper@gmail.com>
4672
4673 * nscd/aicache.c (addhstaiX): Do not cache negative results of
4674 transient errors.
4675 * nscd/grpcache.c (cache_addgr): Likewise.
4676 * nscd/hstcache.c (cache_addhst): Likewise.
4677 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4678 * nscd/pwdcache.c (cache_addpw): Likewise.
4679 * nscd/servicescache.c (cache_addserv): Likewise.
4680
400aa020
UD
46812012-01-16 Ulrich Drepper <drepper@gmail.com>
4682
d77e7869
UD
4683 * malloc/malloc.c: Various cleanups.
4684 * malloc/hooks.c: Likewise.
4685
400aa020
UD
4686 * stdlib/Makefile (tests): Add bug-fmtmsg1.
4687 * stdlib/bug-fmtmsg1.c: New file.
4688
4689 * stdlib/fmtmsg.c (init): Add missing unlock.
4690 Patch by Peng Haitao <penght@cn.fujitsu.com>.
4691
e0a309cf
MP
46922012-01-12 Marek Polacek <polacek@redhat.com>
4693
4694 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4695 and _GNU_SOURCE.
4696
929d11c7
WS
46972012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4698
4699 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4700 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4701 macro to ensure uniqueness of label name.
4702 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4703 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4704
41d0e869
UD
47052012-01-11 Ulrich Drepper <drepper@gmail.com>
4706
0cc5ed3b
UD
4707 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4708
41d0e869
UD
4709 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4710 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4711 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4712 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4713
a47a831a
UD
47142012-01-10 Ulrich Drepper <drepper@gmail.com>
4715
daa891c0
UD
4716 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4717
4718 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4719 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4720 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4721
e58ef0f2
UD
4722 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4723
a47a831a 4724 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
4725 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4726 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 4727 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
4728
4729 * math/bits/math-finite.h: Add ldexp support.
4730
a0bfc9c7
MP
47312012-01-10 Marek Polacek <polacek@redhat.com>
4732
4733 * locale/programs/localedef.h (show_archive_content): Add noreturn
4734 attribute.
4735
d6e97a1d
UD
47362012-01-09 Ulrich Drepper <drepper@gmail.com>
4737
4738 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4739
d5835c26
UD
47402012-01-08 Ulrich Drepper <drepper@gmail.com>
4741
e5f484c6
UD
4742 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4743
d5835c26
UD
4744 * io/Makefile (headers): Add bits/poll2.h.
4745
d1f741e9
WS
47462011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
4747
4748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4749 typo #include statement.
4750
ec09c1c4
UD
47512012-01-08 Ulrich Drepper <drepper@gmail.com>
4752
4753 * include/sys/cdefs.h: Define __attribute_alloc_size.
4754 * catgets/gencat.c: Add alloc_size attribute and apply consistently
4755 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4756 * elf/pldd.c: Likewise.
4757 * iconv/iconv_charmap.c: Likewise.
4758 * iconv/iconvconfig.c: Likewise.
4759 * iconv/strtab.c: Likewise.
4760 * locale/programs/locale.c: Likewise.
4761 * locale/programs/localedef.h: Likewise.
4762 * locale/programs/simple-hash.c: Likewise.
4763 * nscd/nscd.h: Likewise.
4764 * nss/makedb.c: Likewise.
4765 * sysdeps/generic/ldconfig.h: Likewise.
4766 * locale/programs/localedef.c: Remove xmalloc prototype.
4767 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4768
20b38e03
PP
47692012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4770
4771 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4772 appropriate.
4773
a0da5fe1
UD
47742012-01-08 Ulrich Drepper <drepper@gmail.com>
4775
1d5a644a 4776 * math/Makefile (tests): Add tst-CMPLX.
669704fd 4777 * math/tst-CMPLX.c: New file.
1d5a644a 4778
8784a6db
UD
4779 * math/complex.h (CMPLXL): Fix typo.
4780
d9a216c0
UD
4781 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4782 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4783 GLIBC_2.16.
4784 * debug/tst-chk1.c: Add poll and ppoll tests.
4785 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4786 * include/sys/poll.h: Add hidden proto for ppoll.
4787 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4788 * sysdeps/mach/hurd/ppoll.c: Likewise.
4789 * io/ppoll.c: Likewise.
4790 * debug/poll_chk.c: New file.
4791 * debug/ppoll_chk.c: New file.
4792 * include/bits/poll2.h: New file.
4793 * io/bits/poll2.h: New file.
4794
ac097f5c
UD
4795 [BZ #1350]
4796 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4797
2119dcfa
UD
4798 * configure.in: static is always set to yes. Remove.
4799 * config.make.in: Don't set build-static.
4800 * Makeconfig: Remove use of build-static.
4801 * dlfcn/Makefile: Likewise.
4802 * elf/Makefile: Likewise.
4803 * math/Makefile: Likewise.
4804 * misc/Makefile: Likewise.
4805 * nptl/Makefile: Likewise.
4806 * sysdeps/mach/hurd/Makefile: Likewise.
4807
121766a9
UD
4808 * configure.in: PWD_P is not used anymore.
4809 * config.make.in: Remove PWD_P entry.
4810
51a1d39c 4811 * configure.in: Remove last remnants of RANLIB.
8720d066 4812 No need to check for signed size_t anymore.
215f4bdc
UD
4813 Don't set libc_commonpagesize and libc_relro_required here for Alpha
4814 and IA-64.
3857022a 4815 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
4816 * aclocal.m4: Likewise.
4817
d3ed7225
UD
4818 * wcsmbs/mbrtoc16.c: Implement using towc function.
4819 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4820 * wcsmbs/wcsmbsload.c: Likewise.
4821 * iconv/gconv_simple.c: Likewise.
4822 * iconv/gconv_int.h: Likewise.
4823 * iconv/gconv_builtin.h: Likewise.
4824 * iconv/iconv_prog.c: Remove CHAR16 handling.
4825
4826 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4827
4828 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4829
a0da5fe1
UD
4830 * configure.in: Remove --with-elf and --enable-bounded options.
4831 Dont set base_machine for ia64. More non-ELF conditions removed.
4832 Remove testing and setting of leading underscore information.
4833 * config.make.in (build-bounded): Set to no.
4834 * config.h.in: Remove NO_UNDERSCORES entry.
4835 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4836 them.
4837 * csu/start.c: Remove !NO_UNDERSCORE code.
4838 * locale/localeinfo.h: Likewise.
4839 * sysdeps/generic/machine-gmon.h: Likewise.
4840 * sysdeps/generic/sysdep.h: Likewise.
4841 * sysdeps/i386/sysdep.h: Likewise.
4842 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4843 * sysdeps/mach/sysdep.h: Likewise.
4844 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4845 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4846 * sysdeps/sh/sysdep.h: Likewise.
4847 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4848 * sysdeps/unix/i386/sysdep.S: Likewise.
4849 * sysdeps/unix/sparc/start.c: Likewise.
4850 * sysdeps/unix/sparc/sysdep.S: Likewise.
4851 * sysdeps/unix/sparc/sysdep.h: Likewise.
4852 * sysdeps/unix/start.c: Likewise.
4853 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4854 * sysdeps/x86_64/sysdep.h: Likewise.
4855
df78418a
UD
48562012-01-07 Ulrich Drepper <drepper@gmail.com>
4857
a784e502
UD
4858 [BZ #13553]
4859 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4860 for non-gcc.
4861 * argp/argp-fmtstream.h: Use const instead __const.
4862 * argp/argp.h: Likewise.
4863 * assert/assert.h: Likewise.
4864 * bits/fenv.h: Likewise.
4865 * bits/sched.h: Likewise.
4866 * bits/sigset.h: Likewise.
4867 * bits/sigthread.h: Likewise.
4868 * catgets/nl_types.h: Likewise.
4869 * conform/data/pthread.h-data: Likewise.
4870 * crypt/crypt-private.h: Likewise.
4871 * crypt/crypt.h: Likewise.
4872 * crypt/crypt_util.c: Likewise.
4873 * ctype/ctype.h: Likewise.
4874 * debug/execinfo.h: Likewise.
4875 * debug/mbsnrtowcs_chk.c: Likewise.
4876 * debug/mbsrtowcs_chk.c: Likewise.
4877 * debug/wcsnrtombs_chk.c: Likewise.
4878 * debug/wcsrtombs_chk.c: Likewise.
4879 * debug/wcstombs_chk.c: Likewise.
4880 * dirent/dirent.h: Likewise.
4881 * dlfcn/dlfcn.h: Likewise.
4882 * elf/neededtest4.c: Likewise.
4883 * grp/grp.h: Likewise.
4884 * gshadow/gshadow.h: Likewise.
4885 * iconv/gconv.h: Likewise.
4886 * iconv/gconv_int.h: Likewise.
4887 * iconv/gconv_simple.c: Likewise.
4888 * iconv/iconv.h: Likewise.
4889 * iconv/loop.c: Likewise.
4890 * iconv/skeleton.c: Likewise.
4891 * include/aio.h: Likewise.
4892 * include/aliases.h: Likewise.
4893 * include/argz.h: Likewise.
4894 * include/arpa/inet.h: Likewise.
4895 * include/assert.h: Likewise.
4896 * include/dirent.h: Likewise.
4897 * include/dlfcn.h: Likewise.
4898 * include/execinfo.h: Likewise.
4899 * include/fcntl.h: Likewise.
4900 * include/fenv.h: Likewise.
4901 * include/glob.h: Likewise.
4902 * include/grp.h: Likewise.
4903 * include/libintl.h: Likewise.
4904 * include/mntent.h: Likewise.
4905 * include/netdb.h: Likewise.
4906 * include/pwd.h: Likewise.
4907 * include/rpc/netdb.h: Likewise.
4908 * include/sched.h: Likewise.
4909 * include/search.h: Likewise.
4910 * include/shadow.h: Likewise.
4911 * include/signal.h: Likewise.
4912 * include/stdio.h: Likewise.
4913 * include/stdlib.h: Likewise.
4914 * include/string.h: Likewise.
4915 * include/sys/socket.h: Likewise.
4916 * include/sys/stat.h: Likewise.
4917 * include/sys/statfs.h: Likewise.
4918 * include/sys/statvfs.h: Likewise.
4919 * include/sys/syslog.h: Likewise.
4920 * include/sys/time.h: Likewise.
4921 * include/sys/uio.h: Likewise.
4922 * include/time.h: Likewise.
4923 * include/unistd.h: Likewise.
4924 * include/utmp.h: Likewise.
4925 * include/wchar.h: Likewise.
4926 * include/wctype.h: Likewise.
4927 * inet/aliases.h: Likewise.
4928 * inet/arpa/inet.h: Likewise.
4929 * inet/netinet/ether.h: Likewise.
4930 * inet/netinet/in.h: Likewise.
4931 * intl/libintl.h: Likewise.
4932 * io/bits/fcntl2.h: Likewise.
4933 * io/fcntl.h: Likewise.
4934 * io/ftw.h: Likewise.
4935 * io/sys/poll.h: Likewise.
4936 * io/sys/stat.h: Likewise.
4937 * io/sys/statfs.h: Likewise.
4938 * io/sys/statvfs.h: Likewise.
4939 * io/utime.h: Likewise.
4940 * libio/bits/stdio.h: Likewise.
4941 * libio/bits/stdio2.h: Likewise.
4942 * libio/libio.h: Likewise.
4943 * libio/libioP.h: Likewise.
4944 * libio/stdio.h: Likewise.
4945 * locale/lc-ctype.c: Likewise.
4946 * locale/locale.h: Likewise.
4947 * login/utmp.h: Likewise.
4948 * malloc/arena.c: Likewise.
4949 * malloc/malloc.c: Likewise.
4950 * malloc/malloc.h: Likewise.
4951 * malloc/mcheck.c: Likewise.
4952 * malloc/mtrace.c: Likewise.
4953 * math/bits/mathcalls.h: Likewise.
4954 * math/fenv.h: Likewise.
4955 * math/math_private.h: Likewise.
4956 * misc/bits/error.h: Likewise.
4957 * misc/bits/syslog.h: Likewise.
4958 * misc/err.h: Likewise.
4959 * misc/error.h: Likewise.
4960 * misc/fstab.h: Likewise.
4961 * misc/mntent.h: Likewise.
4962 * misc/regexp.h: Likewise.
4963 * misc/search.h: Likewise.
4964 * misc/sgtty.h: Likewise.
4965 * misc/sys/mman.h: Likewise.
4966 * misc/sys/syslog.h: Likewise.
4967 * misc/sys/uio.h: Likewise.
4968 * misc/sys/xattr.h: Likewise.
4969 * misc/ttyent.h: Likewise.
4970 * nis/rpcsvc/ypclnt.h: Likewise.
4971 * nss/nss.h: Likewise.
4972 * posix/bits/unistd.h: Likewise.
4973 * posix/fnmatch.h: Likewise.
4974 * posix/glob.h: Likewise.
4975 * posix/sched.h: Likewise.
4976 * posix/spawn.h: Likewise.
4977 * posix/sys/wait.h: Likewise.
4978 * posix/unistd.h: Likewise.
4979 * posix/wordexp.h: Likewise.
4980 * pwd/pwd.h: Likewise.
4981 * resolv/netdb.h: Likewise.
4982 * resource/sys/resource.h: Likewise.
4983 * rt/aio.h: Likewise.
4984 * rt/bits/mqueue2.h: Likewise.
4985 * rt/mqueue.h: Likewise.
4986 * shadow/shadow.h: Likewise.
4987 * signal/signal.h: Likewise.
4988 * socket/send.c: Likewise.
4989 * socket/sendto.c: Likewise.
4990 * socket/sys/socket.h: Likewise.
4991 * stdio-common/printf.h: Likewise.
4992 * stdlib/bits/stdlib.h: Likewise.
4993 * stdlib/fmtmsg.h: Likewise.
4994 * stdlib/monetary.h: Likewise.
4995 * stdlib/stdlib.h: Likewise.
4996 * stdlib/ucontext.h: Likewise.
4997 * streams/stropts.h: Likewise.
4998 * string/argz.h: Likewise.
4999 * string/bits/string2.h: Likewise.
5000 * string/string.h: Likewise.
5001 * string/strings.h: Likewise.
5002 * sunrpc/rpc/auth.h: Likewise.
5003 * sunrpc/rpc/auth_des.h: Likewise.
5004 * sunrpc/rpc/clnt.h: Likewise.
5005 * sunrpc/rpc/netdb.h: Likewise.
5006 * sunrpc/rpc/pmap_clnt.h: Likewise.
5007 * sunrpc/rpc/xdr.h: Likewise.
5008 * sysdeps/generic/inttypes.h: Likewise.
5009 * sysdeps/generic/net/if.h: Likewise.
5010 * sysdeps/generic/sys/swap.h: Likewise.
5011 * sysdeps/gnu/net/if.h: Likewise.
5012 * sysdeps/gnu/utmpx.h: Likewise.
5013 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
5014 * sysdeps/i386/i486/bits/string.h: Likewise.
5015 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
5016 * sysdeps/s390/bits/string.h: Likewise.
5017 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
5018 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
5019 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
5020 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
5021 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
5022 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
5023 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
5024 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
5025 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
5026 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5027 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
5028 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5029 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
5030 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5031 * sysdeps/unix/sysv/linux/readv.c: Likewise.
5032 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
5033 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5034 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5035 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5036 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5037 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5038 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
5039 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
5040 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
5041 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
5042 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
5043 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
5044 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5045 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
5046 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
5047 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
5048 * sysvipc/sys/ipc.h: Likewise.
5049 * sysvipc/sys/msg.h: Likewise.
5050 * sysvipc/sys/sem.h: Likewise.
5051 * sysvipc/sys/shm.h: Likewise.
5052 * termios/termios.h: Likewise.
5053 * time/sys/time.h: Likewise.
5054 * time/time.h: Likewise.
5055 * wcsmbs/bits/wchar2.h: Likewise.
5056 * wcsmbs/uchar.h: Likewise.
5057 * wcsmbs/wchar.h: Likewise.
5058 * wctype/wctype.h: Likewise.
5059
0269750c
UD
5060 [BZ #13551]
5061 * Makeconfig: Remove all but ELF support including AIX support.
5062 * Makerules: Likewise.
5063 * config.h.in: Likewise.
5064 * config.make.in: Likewise.
5065 * configure: Likewise.
5066 * configure.in: Likewise.
5067 * csu/Makefile: Likewise.
5068 * csu/version.c: Likewise.
5069 * debug/Makefile: Likewise.
5070 * dlfcn/Makefile: Likewise.
5071 * elf/Makefile: Likewise.
5072 * extra-lib.mk: Likewise.
5073 * iconv/Makefile: Likewise.
5074 * include/libc-symbols.h: Likewise.
5075 * include/shlib-compat.h: Likewise.
5076 * resolv/Makefile: Likewise.
5077 * resolv/res_libc.c: Likewise.
5078 * rt/Makefile: Likewise.
5079 * sysdeps/i386/asm-syntax.h: Likewise.
5080 * sysdeps/i386/sysdep.h: Likewise.
5081 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5082 * sysdeps/mach/sysdep.h: Likewise.
5083 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
5084 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
5085 * sysdeps/s390/asm-syntax.h: Likewise.
5086 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5087 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5088 * sysdeps/sh/sysdep.h: Likewise.
5089 * sysdeps/unix/sparc/sysdep.h: Likewise.
5090 * sysdeps/wordsize-32/divdi3.c: Likewise.
5091 * sysdeps/x86_64/sysdep.h: Likewise.
5092
00bbd29b
UD
5093 * argp/Versions: Remove _argp_unlock_xxx.
5094
5095 [BZ #13559]
5096 * abilist/ld.abilist: Update. Adjust for removal of tls option.
5097 * abilist/libBrokenLocale.abilist: Likewise.
5098 * abilist/libanl.abilist: Likewise.
5099 * abilist/libc.abilist: Likewise.
5100 * abilist/libcrypt.abilist: Likewise.
5101 * abilist/libdl.abilist: Likewise.
5102 * abilist/libm.abilist: Likewise.
5103 * abilist/libnsl.abilist: Likewise.
5104 * abilist/libpthread.abilist: Likewise.
5105 * abilist/libresolv.abilist: Likewise.
5106 * abilist/librt.abilist: Likewise.
5107 * abilist/libthread_db.abilist: Likewise.
5108 * abilist/libutil.abilist: Likewise.
5109 * abilist/libnss_db.abilist: New file.
5110
5111 * scripts/abilist.awk: Add support for indirect functions.
5112
a2693a0e
UD
5113 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
5114
3f05895f
UD
5115 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
5116
ecb6fb48
UD
5117 * shlib-versions: Remove entries for ports architectures.
5118
664f8cb9
UD
5119 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
5120 files in ports.
5121 * elf/stackguard-macros.h: Remove support for IA-64.
5122 * elf/tst-auditmod1.c: Likewise.
5123 * sysdeps/generic/ldsodefs.h: Likewise.
5124
7ae81d88
UD
5125 * sysdeps/unix/sysv/linux/configure.in: Ports should define
5126 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
5127 configure files.
5128
bdeba135
UD
5129 [BZ #13552]
5130 * configure.in: Remove --enable-omitfp support.
5131 * FAQ.in: Adjust.
5132 * config.make.in: Likewise.
5133 * Makeconfig: Likewise.
5134 * manual/install.texi: Likewise.
5135
d75a0a62
UD
5136 In case anyone cares, the IA-64 architecture could move to ports.
5137 * sysdeps/ia64/*: Removed.
5138 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 5139 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 5140
dcc9756b
UD
5141 [BZ #13555]
5142 * configure.in: Remove entries for unsupported architectures.
5143
d3761ebc 5144 [BZ #13533]
9954432e
UD
5145 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
5146 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
5147 routines.
5148 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
5149 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
5150 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
5151 fall back to using wcrtomb.
5152 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
5153 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
5154 renaming.
5155 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
5156 * wcsmbs/tst-c16c32-1.c: New file.
5157
5158 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
5159 local variable.
5160
c3a87236
UD
5161 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
5162
28926a1b
UD
5163 * elf/tst-unique3.cc: Add explicit declaration of gets.
5164 * elf/tst-unique3lib.cc: Likewise.
5165 * elf/tst-unique3lib2.cc: Likewise.
5166 * elf/tst-unique4.cc: Likewise.
5167
df78418a
UD
5168 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
5169
8ecd6b2a
JM
51702012-01-06 Joseph Myers <joseph@codesourcery.com>
5171
5172 [BZ #13566]
5173 * assert/assert.h (static_assert): Don't define for C++.
5174 * libio/stdio.h (gets): Do declare for C++ <= C++11.
5175 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
5176
9f115170
UD
51772012-01-03 Ulrich Drepper <drepper@gmail.com>
5178
5e0d0300
UD
5179 * iconv/loop.c (single loop): Fix assertion in storing of
5180 remaining bytes.
5181
9f115170
UD
5182 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
5183
81fb02b0
UD
51842012-01-01 Ulrich Drepper <drepper@gmail.com>
5185
5186 * posix/getconf.c: Update copyright year.
5187 * nss/getent.c: Likewise.
a316c1f6 5188 * nss/makedb.c: Likewise.
81fb02b0
UD
5189 * iconv/iconvconfig.c: Likewise.
5190 * iconv/iconv_prog.c: Likewise.
5191 * elf/ldconfig.c: Likewise.
a316c1f6
UD
5192 * elf/pldd.c: Likewise.
5193 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
5194 * catgets/gencat.c: Likewise.
5195 * csu/version.c: Likewise.
5196 * elf/ldd.bash.in: Likewise.
5197 * elf/sprof.c (print_version): Likewise.
5198 * locale/programs/locale.c: Likewise.
5199 * locale/programs/localedef.c: Likewise.
a316c1f6 5200 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
5201 * nscd/nscd.c (print_version): Likewise.
5202 * debug/xtrace.sh: Likewise.
5203 * malloc/memusage.sh: Likewise.
5204 * malloc/mtrace.pl: Likewise.
5205 * debug/catchsegv.sh: Likewise.
5206
2ba92745
JJ
52072011-12-30 Jakub Jelinek <jakub@redhat.com>
5208
5209 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
5210 pure attribute.
5211
dadebdae
UD
52122011-12-24 Ulrich Drepper <drepper@gmail.com>
5213
d3761ebc 5214 [BZ #13533]
db6af3eb
UD
5215 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
5216 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
5217 transformations.
5218 * iconv/gconv_int.h: Likewise.
5219 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
5220 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
5221 from libc for GLIBC_2.16.
5222 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
5223 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
5224 * wcsmbs/uchar.h: Really define mbstate_t.
5225 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
5226 * wcsmbs/c16rtomb.c: New file.
5227 * wcsmbs/mbrtoc16.c: New file.
5228 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
5229 for C/POSIX locale.
5230 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
5231 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
5232
dadebdae
UD
5233 * wcsmbs/wchar.h: Add missing __restrict.
5234
67371b56
UD
52352011-12-23 Ulrich Drepper <drepper@gmail.com>
5236
74033a25
UD
5237 [BZ #13532]
5238 * time/Makefile (routines): Add timespec_get.
5239 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
5240 * time/time.h: Define TIME_UTC and declare timespec_get. Define
5241 timespec for ISO C11.
5242 * time/timespec_get.c: New file.
5243 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
5244 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
5245
380d7e87
UD
5246 [BZ #13531]
5247 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
5248 * stdlib/stdlib.h: Declare aligned_alloc.
5249 * Versions.def: Add GLIBC_2.16 for libc.
5250 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
5251
4e9e7a35
UD
5252 [BZ 13527]
5253 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
5254 ISO C11.
5255
380d7e87 5256 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
5257 code.
5258
03a71829
UD
5259 [BZ #13528]
5260 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
5261
839e283e
UD
5262 [BZ #13529]
5263 * assert/assert.h (static_assert): Define.
5264
ce5294e2 5265 * version.h: Update for 2.16 development version.
90fa7312 5266
8d44e150 5267 [BZ #13526]
d7809905
UD
5268 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
5269 _ISOC11_SOURCE.
5270
c0da14cd
UD
5271 * version.h (RELEASE): Bump for 2.15 release.
5272 * include/features.h (__GLIBC_MINOR__): Bump to 15.
5273
530a3249
MP
5274 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
5275 Patch by Marek Polacek <mpolacek@redhat.com>.
5276
67371b56
UD
5277 * bits/byteswap.h: Protect long long constants with __extension__.
5278 * sysdeps/i386/bits/byteswap.h: Likewise.
5279 * sysdeps/ia64/bits/byteswap.h: Likewise.
5280 * sysdeps/s390/bits/byteswap.h: Likewise.
5281 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5282
15db4de1
LD
52832011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5284
5285 [BZ #13540]
bbe315ea
LD
5286 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
5287 destination buffer.
15db4de1
LD
5288 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5289
2b2596b1
MP
52902011-12-23 Marek Polacek <polacek@redhat.com>
5291
5292 * elf/dl-addr.c (determine_info): Add inline keyword.
5293 * elf/tst-auditmod4b.c (check_avx): Likewise.
5294 * elf/tst-auditmod6b.c (check_avx): Likewise.
5295 * elf/tst-auditmod6c.c (check_avx): Likewise.
5296 * elf/tst-auditmod7b.c (check_avx): Likewise.
5297
70c6c246
UD
52982011-12-23 Ulrich Drepper <drepper@gmail.com>
5299
5300 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
5301 !__SSE_MATH__.
5302
c044cf14
LD
53032011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5304
15db4de1 5305 [BZ #13540]
c044cf14
LD
5306 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
5307 processing for last bytes.
5308
6b13d9d9
BH
53092011-08-06 Bruno Haible <bruno@clisp.org>
5310
d455f537
BH
5311 [BZ #13061]
5312 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
5313 U+0385, not to U+1FEE.
5314
6b13d9d9
BH
5315 [BZ #13062]
5316 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
5317 entry for U+00A5 U+0301.
5318
db910efd
UD
53192011-12-22 Ulrich Drepper <drepper@gmail.com>
5320
27deeafc
UD
5321 [BZ #13166]
5322 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
5323 buffer for the output is too small.
5324
aed9d171
UD
5325 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
5326 optimization.
5327
db910efd
UD
5328 [BZ #13185]
5329 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
5330 SSE flags if possible.
5331
2bd779ae
LD
53322011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5333
e7f9dac3 5334 [BZ #13540]
2bd779ae
LD
5335 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
5336 processing for last bytes.
5337
154bfc16
JM
53382011-12-22 Joseph Myers <joseph@codesourcery.com>
5339
5340 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
5341 (syscall-list-default-options, syscall-list-default-condition)
5342 (syscall-list-includes): Define.
5343 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
5344 list of ABIs and options and #if conditions for each ABI. Do not
5345 handle common syscalls between ABIs specially.
5346 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
5347 Remove.
5348 (syscall-list-variants, syscall-list-32bit-options)
5349 (syscall-list-32bit-condition, syscall-list-64bit-options)
5350 (syscall-list-64bit-condition): Define.
5351 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
5352 (syscall-list-variants, syscall-list-32bit-options)
5353 (syscall-list-32bit-condition, syscall-list-64bit-options)
5354 (syscall-list-64bit-condition): Define.
5355 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
5356 Remove.
5357 (syscall-list-variants, syscall-list-32bit-options)
5358 (syscall-list-32bit-condition, syscall-list-64bit-options)
5359 (syscall-list-64bit-condition): Define.
5360 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
5361 Remove.
5362 (syscall-list-variants, syscall-list-32bit-options)
5363 (syscall-list-32bit-condition, syscall-list-64bit-options)
5364 (syscall-list-64bit-condition): Define.
5365
21eaf3a5
UD
53662011-12-22 Ulrich Drepper <drepper@gmail.com>
5367
16c6f992
UD
5368 * locale/iso-639.def: Add brx entry.
5369
41043168
UD
5370 [BZ #13328]
5371 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
5372 Proposed by Mariusz_Cukr <marcukr@op.pl>.
5373
21eaf3a5
UD
5374 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
5375 __feraiseexcept_renamed.
5376
e3a851a2
UD
53772011-12-21 Ulrich Drepper <drepper@gmail.com>
5378
4920765e
UD
5379 [BZ #13538]
5380 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
5381 EPOLLET with unsigned values.
5382 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5383 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5384
e3a851a2
UD
5385 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
5386 to large cancellation.
5387 * math/s_cacoshf.c: Likewise.
5388 * math/s_cacoshl.c: Likewise.
5389
b27e24b8
RK
53902011-11-18 Richard B. Kreckel <kreckel@ginac.de>
5391
5392 [BZ #13305]
aebefeee 5393 [BZ #12786]
b27e24b8
RK
5394 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
5395 * math/s_cacoshf.c: Likewise.
5396 * math/s_cacoshl.c: Likewise.
5397
ee190f67
UD
53982011-12-21 Ulrich Drepper <drepper@gmail.com>
5399
5400 [BZ #13439]
5401 * iconv/gconv.h: Define __GCONV_SWAP.
5402 * iconvdata/unicode.c: The swap bit must be stored in __flags.
5403 * iconvdata/utf-16.c: Likewise.
5404 * iconvdata/utf-32.c: Likewise.
5405
707f25df
AS
54062011-12-21 Andreas Schwab <schwab@linux-m68k.org>
5407
5408 [BZ #13524]
5409 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
5410 numerator after shifting it by one limb.
5411
d2daaa1e
RÁE
54122011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
5413
5414 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
5415 under [__USE_EXTERN_INLINES].
5416
a4647e72
UD
54172011-12-17 Ulrich Drepper <drepper@gmail.com>
5418
5419 [BZ #13446]
5420 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
5421
f0b264f1
AZ
54222011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5423
5424 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
5425 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
5426 optimized code.
5427 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
5428 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
5429 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
5430 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
5431 for strncasecmp/strncasecmp_l compilation.
5432 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
5433 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
5434
8ef4f244
MP
54352011-12-08 Marek Polacek <mpolacek@redhat.com>
5436
5437 [BZ #13484]
5438 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
5439 of __asm__.
5440
97ac2654
UD
54412011-12-17 Ulrich Drepper <drepper@gmail.com>
5442
5443 [BZ #13506]
5444 * time/tzfile.c (__tzfile_read): Check values from file header.
5445
91d2a845
WS
54462011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5447
5448 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
5449 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
5450 * powerpc/powerpc32/dl-start.S: Likewise.
5451 * powerpc/powerpc32/elf/start.S: Likewise.
5452 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5453 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
5454 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5455 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
5456 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5457 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
5458 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
5459 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5460 * powerpc/powerpc32/fpu/s_round.S: Likewise.
5461 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5462 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5463 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5464 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5465 * powerpc/powerpc32/memset.S: Likewise.
5466 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5467 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5468 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5469 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5470 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5471 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5472 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5473 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5474 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
5475 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
5476 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
5477 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5478 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5479
a1267ba1
AZ
54802011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5481
5482 * math/libm-test.inc: Added more nearbyint tests.
5483 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5484 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5485 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5486 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5487
ad8ac1bd
RL
54882011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
5489
5490 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5491 FD_CLOEXEC.
5492
1d3e4b61
UD
54932011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5494
5495 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5496 Add wcscpy-ssse3 wcscpy-c.
5497 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5498 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5499 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5500 * sysdeps/x86_64/wcschr.S: New file.
5501 * sysdeps/x86_64/wcsrchr.S: New file.
5502 * string/test-strcmp.c: Remove checking of wcscmp function for
5503 wrong alignments.
5504 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5505 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5506 wcsrchr-sse2 wcsrchr-c.
5507 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5508 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5509 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5510 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5511 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5512 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5513 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5514 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5515 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5516 * wcsmbc/wcschr.c (WCSCHR): New macro.
5517
5b330a2d
UD
55182011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5519
5520 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5521 * wcsmbs/test-wcsrchr.c: New file.
5522 * string/test-strrchr.c: Add wcsrchr support.
5523 (WIDE): New macro.
5524 * wcsmbs/test-wcscpy.c: New file.
5525 * string/test-strcpy.c: Add wcscpy support.
5526 (WIDE): New macro.
26428b7c 5527
f039c043
UD
55282011-12-10 Ulrich Drepper <drepper@gmail.com>
5529
5530 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5531 the inner loop.
5532
850fb039
AS
55332011-12-06 Andreas Schwab <schwab@linux-m68k.org>
5534
5535 [BZ #13472]
5536 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5537
4efbd5cb
UD
55382011-12-04 Ulrich Drepper <drepper@gmail.com>
5539
52ff5dd0 5540 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 5541 Minor optimizations.
52ff5dd0 5542
4efbd5cb
UD
5543 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5544 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5545 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5546
8a426e12
UD
55472011-12-03 Ulrich Drepper <drepper@gmail.com>
5548
aff2453d
UD
5549 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5550 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5551 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5552 for gcc to avoid warnings.
5553 * inet/Makefile (tests): Add tst-checks.
5554 * inet/tst-checks.c: New file.
5555
5556 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5557 warning.
5558
5559 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5560 __wmemcmp_sse2.
5561
5562 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5563 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5564
8a426e12
UD
5565 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5566
9bea3473
UD
55672011-12-02 Ulrich Drepper <drepper@gmail.com>
5568
3a965496
UD
5569 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5570 problem.
5571
9bea3473
UD
5572 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5573
f101631b
UD
55742011-11-29 Joseph Myers <joseph@codesourcery.com>
5575
5576 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5577 conditional on GCC version.
5578 (__arch_compare_and_exchange_val_8_acq)
5579 (__arch_compare_and_exchange_val_16_acq)
5580 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5581 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5582 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5583
a98275aa
UD
55842011-12-02 Joseph Myers <joseph@codesourcery.com>
5585
5586 * sysdeps/sh/backtrace.c: New file.
5587
d4cc29a2
AS
55882011-12-02 Andreas Schwab <schwab@redhat.com>
5589
5590 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
5591 parenthesis.
5592
6257af2d
AS
55932011-12-01 Andreas Schwab <schwab@redhat.com>
5594
5595 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5596 falling back to utime.
5597
b5f44c1a
AS
55982011-11-30 Andreas Schwab <schwab@redhat.com>
5599
5600 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
5601 expectations for float.
5602
f3a6cc0a
AS
56032011-11-29 Andreas Schwab <schwab@redhat.com>
5604
5605 * locale/weight.h (findidx): Add parameter len.
5606 * locale/weightwc.h (findidx): Likewise.
5607 * posix/fnmatch_loop.c (FCT): Adjust caller.
5608 * posix/regcomp.c (build_equiv_class): Likewise.
5609 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
5610 * posix/regexec.c (check_node_accept_bytes): Likewise.
5611 * string/strcoll_l.c (STRCOLL): Likewise.
5612 * string/strxfrm_l.c (STRXFRM): Likewise.
5613
9d65ea3a
UD
56142011-11-17 Ulrich Drepper <drepper@gmail.com>
5615
5616 * Makefile.in: Remove CVSOPT handling.
5617 * configure.in: Remove use of AC_REVISION.
5618 * iconvdata/Makefile (distribute): No need to filter out CVS.
5619 * scripts/list-sources.sh: Remove CVS, subversion and monotone
5620 handling.
5621
5583a086
AS
56222011-11-16 Andreas Schwab <schwab@redhat.com>
5623
5624 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5625 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5626 [USE_AS_STRNCASECMP_L]: Likewise.
5627 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5628 NO_TLS_DIRECT_SEG_REFS.
5629 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5630 Fix argument offsets for non-PIC.
5631 [USE_AS_STRNCASECMP_L]: Likewise.
5632 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5633 NO_TLS_DIRECT_SEG_REFS.
5634
d62a8200
UD
56352011-11-15 Ulrich Drepper <drepper@gmail.com>
5636
9d65ea3a 5637 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
5638 O_CLOEXEC.
5639 * locale/loadlocale.c (_nl_load_locale): Likewise.
5640
09f93bd3
AS
56412011-11-15 Andreas Schwab <schwab@redhat.com>
5642
446514f9
AS
5643 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5644 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5645 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5646 (SYSCALL_GETTIME): Set errno on error.
5647
09f93bd3
AS
5648 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5649 count references to noai6ai_cached.
5650
312be3f9
UD
56512011-11-15 Ulrich Drepper <drepper@gmail.com>
5652
5653 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5654
5655 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5656 FD_CLOEXEC for /proc/self/maps.
5657
5658 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5659 FD_CLOEXEC for /proc/meminfo.
5660
5661 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5662 gai.conf.
5663
5664 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
5665 FD_CLOEXEC for given file.
5666
5667 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5668
5669 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5670 FD_CLOEXEC for /etc/hosts.
5671 (_gethtent): Likewise.
5672
5673 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5674
5675 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5676 cancellation and set FD_CLOEXEC for /etc/netgroup.
5677
5678 * nss/nss_files/files-key.c (search): Don't allow cancellation when
5679 reading /etc/publickey.
5680
5681 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5682 allow cancellation when reading /etc/group.
5683
5684 * nss/nss_files/files-alias.c (internal_setent): Don't allow
5685 cancellation.
5686 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
5687
5688 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5689 when using data file.
5690
5691 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5692
5693 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5694 (write_nis_obj): Use "c" and "e" in fopen.
5695
5696 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5697
5698 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5699
5700 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5701
5702 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5703
5704 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5705 locale.alias.
5706
5707 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5708
5709 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5710
5711 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5712
5713 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5714 file parsing and set FD_CLOEXEC.
5715
82af0fa8
UD
57162011-11-14 Ulrich Drepper <drepper@gmail.com>
5717
5718 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5719
a5fb313c
AS
57202011-11-14 Andreas Schwab <schwab@redhat.com>
5721
5722 * malloc/arena.c (arena_get2): Don't call reused_arena when
5723 _int_new_arena failed.
5724
6abf3465
UD
57252011-11-14 Ulrich Drepper <drepper@gmail.com>
5726
5727 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5728 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5729 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5730 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5731 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5732 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5733 to compile strcasecmp and strncasecmp.
5734 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5735 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5736
5737 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5738
76e3966e
UD
57392011-11-13 Ulrich Drepper <drepper@gmail.com>
5740
5741 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5742 locale-defines.sym to gen-as-const-headers.
5743 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5744 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5745 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5746 to compile strcasecmp and strncasecmp.
5747 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5748 strcasecmp_l and strncasecmp_l.
5749 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5750 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5751 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5752 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5753 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5754 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5755 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5756 * sysdeps/i386/i686/multiarch/strncase.S: New file.
5757 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5758 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5759 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5760
ab26144e
UD
57612011-11-12 Ulrich Drepper <drepper@gmail.com>
5762
7edb22ef
UD
5763 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5764 result of SYSDEP_GETTIME_CPU to retval.
5765 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5766 parameter list to macro. Remove trailing semicolon. Adjust users.
5767
9694fc44
UD
5768 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5769 variable.
5770
8ad89ef8
UD
5771 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5772 mantissa words.
5773 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5774
0c822ef9
UD
5775 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5776 from unused variable.
5777
874e0564
UD
5778 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5779 DWARF definitions.
5780 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5781 for assembling.
5782
3a2edc79
UD
5783 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5784 over namespaces.
5785
f3c2577f
UD
5786 * sunrpc/rpc_prot.c (rejected): Fix case value.
5787
294ce126
UD
5788 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5789 unsigned long long int to avoid warnings in shift.
5790
5e2b63c6
UD
5791 * posix/regex_internal.c (re_string_reconstruct): Actually use result
5792 of use of trans.
5793 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5794 variable tmp.
5795
e7f4b08e
UD
5796 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5797 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5798 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5799
ab26144e
UD
5800 * nis/nis_table.c (nis_list): Use variable of correct type for
5801 result of __follow_path call.
5802
8a6d5255
AZ
58032011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5804
5805 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5806 of math functions ceil, trunc, floor, round, and sqrt, when
5807 avaliable on the platform.
5808 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5809 name clash.
5810 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5811 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5812 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5813
aaddc98c
MP
58142011-10-30 Marek Polacek <mpolacek@redhat.com>
5815
5816 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5817 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5818
95b7042b
RM
58192011-11-11 Roland McGrath <roland@hack.frob.com>
5820
5821 * include/unistd.h: Fix __readlink return type.
5822 Reported by Chris Metcalf <cmetcalf@tilera.com>.
5823
57769839
UD
58242011-11-11 Ulrich Drepper <drepper@gmail.com>
5825
5826 * stdlib/ucontext.h: Undo last change for makecontext.
5827
edc5984d
AS
58282011-11-11 Andreas Schwab <schwab@redhat.com>
5829
98591e58
AS
5830 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5831
edc5984d
AS
5832 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5833 * setjmp/setjmp.h: Mark functions as non-leaf.
5834 * setjmp/bits/setjmp2.h: Likewise.
5835 * stdlib/ucontext.h: Likewise.
5836
77cdc054
AS
58372011-11-10 Andreas Schwab <schwab@redhat.com>
5838
5839 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5840 (reused_arena): Don't check arena limit.
5841 (arena_get2): Atomically check arena limit.
5842
fe72eebd
UD
58432011-11-08 Ulrich Drepper <drepper@gmail.com>
5844
5f078c32
UD
5845 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5846 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5847
fe72eebd
UD
5848 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5849 instructions.
5850
ae1bc2fa
AS
58512011-11-07 Andreas Schwab <schwab@redhat.com>
5852
7583a88d
AS
5853 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5854 handler when locking.
5855
ae1bc2fa
AS
5856 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5857 Fix size of allocated buffer.
5858
10fb0bfa
AS
58592011-11-04 Andreas Schwab <schwab@redhat.com>
5860
998832a4
AS
5861 [BZ #10103]
5862 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5863 declarations for long double functions.
5864 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5865
10fb0bfa
AS
5866 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5867
3d7ba52b
AS
58682011-11-03 Andreas Schwab <schwab@redhat.com>
5869
a9ae54a1
AS
5870 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5871 installed.
5872
3d7ba52b
AS
5873 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5874 is disabled.
5875
bc8db248
ST
58762011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5877
5878 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5879
45b96dd6
AS
58802011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5881
647776f6
AS
5882 * include/alloca.h (stackinfo_alloca_round): Define.
5883 (extend_alloca): Use it.
5884 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5885 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5886 here.
5887
d91a8b93
AS
5888 * scripts/check-local-headers.sh: Ignore libaudit.h.
5889
45b96dd6
AS
5890 * nscd/Makefile (extra-objs): Make recursively expanded.
5891
432d41ce
UD
58922011-11-01 Ulrich Drepper <drepper@gmail.com>
5893
34372fc6
UD
5894 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5895 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5896
fadb59f8
UD
5897 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5898 * posix/tst-rfc3484-2.c: Likewise.
5899 * posix/tst-rfc3484-3.c: Likewise.
5900
78239589
UD
5901 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5902 process_vm_writev.
5903 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5904 process_vm_writev.
5905 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5906 process_vm_writev from libc using GLIBC_2.15 version.
5907
432d41ce
UD
5908 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5909
02f9c6cf
PP
59102011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5911
5912 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5913 stack usage.
5914
3a2c0242
UD
59152011-10-31 Ulrich Drepper <drepper@gmail.com>
5916
f4ec4833
UD
5917 [BZ #13367]
5918 * nss/getent.c (initgroups_keys): Show error message in case no group
5919 names are given.
5920
3a2c0242
UD
5921 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5922 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5923 __bump_nl_timestamp.
5924 * nscd/connections (nscd_init): When host database is served open
5925 netlink socket and request notification about configuration changes.
5926 (main_loop_poll): Track netlink file descriptor and bump timestamp
5927 in case data becomes available.
5928 (main_loop_epoll): Likewise.
5929 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5930 (database_pers_head): Add extra_data fileds.
5931 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5932 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5933 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5934 Adjust caller.
5935 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5936 in6ai data, call __free_in6ai.
5937 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5938 Add -DHAVE_NETLINK.
5939 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5940 interface information. Reuse previous data if netlink timestamp
5941 is not changed.
5942 (__bump_nl_timestamp): New function.
5943 (__free_in6ai): New function.
5944
636064eb
UD
59452011-10-30 Ulrich Drepper <drepper@gmail.com>
5946
5947 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5948 close_not_cancel_no_status here.
5949 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5950
9beb2334
UD
59512011-10-29 Ulrich Drepper <drepper@gmail.com>
5952
6ef76f3b
UD
5953 [BZ #13276]
5954 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5955 return value.
5956
0ffc4f3e 5957 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
5958 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5959 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5960
cb95113e
UD
59612011-07-03 Andreas Jaeger <aj@suse.de>
5962
5963 [BZ #10709]
5964 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5965 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5966 * math/libm-test.inc (sin_test): Add test case.
5967
a1b560ff
UD
59682011-10-29 Ulrich Drepper <drepper@gmail.com>
5969
c9aaface
UD
5970 [BZ #13337]
5971 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5972 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5973
d272e7f1
UD
5974 * elf/chroot_canon.c (chroot_canon): Cleanups.
5975
1bc33071
UD
5976 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5977
1760874d
TJ
5978 [BZ #13335]
5979 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5980 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5981
51d91b18
UD
5982 * string/test-strchr.c: Make usable for strchrnul testing.
5983 * string/test-strchrnul.c: New file.
5984 * string/Makefile (strop-tests): Add strchrnul.
5985
a1b560ff 5986 * po/it.po: Update from translation team.
b611fb81 5987 * po/es.po: Likewise.
a1b560ff 5988
a5b81e1f
UD
59892011-10-28 Ulrich Drepper <drepper@gmail.com>
5990
fd52bc6d
UD
5991 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5992 the three constants needed as parameters. Drop the others.
5993 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5994 __m128i_strloadu_tolower.
52e4b9eb
UD
5995 Create and initialize variable zero and use it in all the places
5996 where _mm_setzero_si128 was used.
fd52bc6d 5997
a5b81e1f
UD
5998 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5999 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
6000 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
6001 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
6002 anymore.
6003 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
6004 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
6005 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
6006 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
6007 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
6008 __mpranred, __mptan.
6009 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
6010 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
6011 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
6012 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
6013 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
6014 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
6015 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
6016 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
6017 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
6018
b4343346
AS
60192011-10-28 Andreas Schwab <schwab@redhat.com>
6020
0c92d8a8
AS
6021 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
6022 redefine if SHARED.
6023 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
6024
b4343346
AS
6025 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
6026 wide char related routines to wcsmbs subdir.
6027
3871f58f
AS
60282011-10-27 Andreas Schwab <schwab@redhat.com>
6029
6030 [BZ #13344]
6031 * misc/sys/cdefs.h (__THROWNL): Define.
6032 * posix/unistd.h: Use __THREADNL instead of __THREAD
6033 for memory synchronization functions.
6034
94d44d9f
RM
60352011-10-26 Roland McGrath <roland@hack.frob.com>
6036
21b64b15 6037 [BZ #13349]
94d44d9f
RM
6038 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
6039 doesn't exist.
6040 * manual/stdio.texi (Obstack Streams): Node removed.
6041
f6ce9294
AS
60422011-10-26 Andreas Schwab <schwab@redhat.com>
6043
80479147
AS
6044 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
6045 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6046 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6047
f6ce9294
AS
6048 * math/math_private.h (math_force_eval): Allow non-addressable
6049 arguments.
6050 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
6051
618280a1
UD
60522011-10-25 Ulrich Drepper <drepper@gmail.com>
6053
e0016b11
UD
6054 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
6055 file is not needed.
6056
6057 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
6058 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
6059 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6060 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6061 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6062 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6063 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6064 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
6065 Add AVX variants.
6066 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
6067 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
6068 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
6069 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
6070 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
6071 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
6072 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
6073 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
6074 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
6075 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
6076 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
6077 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
6078 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
6079 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
6080 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
6081 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
6082 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
6083 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
6084 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
6085
6086 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
6087 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
6088
618280a1
UD
6089 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
6090 place. Use VEX encoding when compiling for AVX.
6091
37822576
AS
60922011-10-25 Andreas Schwab <schwab@redhat.com>
6093
1f1e1947
AS
6094 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
6095 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6096
37822576
AS
6097 * string/test-strchr.c (do_test): Don't generate NUL bytes.
6098
31ea014d
UD
60992011-10-25 Ulrich Drepper <drepper@gmail.com>
6100
d7826aa1 6101 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 6102 useless if() expression.
d7826aa1
UD
6103 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6104 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6105 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6106 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6107 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6108 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6109 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6110 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6111 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6112 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6113 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6114 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6115 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6116 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6117 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6118 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6119 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6120 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6121 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6122
31ea014d
UD
6123 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
6124
16437fec
AS
61252011-10-25 Andreas Schwab <schwab@redhat.com>
6126
6127 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
6128 condition.
6129 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6130
31d3cc00
UD
61312011-10-25 Ulrich Drepper <drepper@gmail.com>
6132
6133 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
6134 .text section. Avoid duplicate constants.
6135 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6136 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6137 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6138 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6139 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6140 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6141 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6142 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6143 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6144 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
6145 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6146 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6147 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
6148 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
6149 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
6150 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
6151 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
6152 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6153 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6154 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6155 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6156 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6157 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6158 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
6159 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
6160 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
6161 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
6162 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
6163 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
6164 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
6165 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
6166 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
6167 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6168 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
6169 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
6170 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
6171 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
6172 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
6173 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
6174 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
6175 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
6176 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
6177 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
6178 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
6179 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
6180
58985aa9
UD
61812011-10-24 Ulrich Drepper <drepper@gmail.com>
6182
202c9deb
UD
6183 * sysdeps/x86_64/dla.h: Move to ...
6184 * sysdeps/x86_64/fpu/dla.h: ...here.
6185 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
6186 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 6187
af968f62
UD
6188 * config.make.in: Add have-mfma4 entry.
6189 * configure.in: Substitute libc_cv_cc_fma4.
6190 * math/Makefile (dbl-only-routines): Add sincostab.
6191 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
6192 Use __sincostab not sincos.
6193 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
6194 name is a macro.
6195 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6196 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6197 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6198 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
6199 using __copysign.
6200 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
6201 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
6202 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
6203 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
6204 and __inv.
6205 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
6206 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
6207 __copysign.
6208 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
6209 define aliases when function name is a macro.
6210 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
6211 sysdeps/ieee754/dbl-64/sincos.tbl.
6212 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
6213 fma4-enabled routines.
6214 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
6215 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
6216 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
6217 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
6218 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
6219 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
6220 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
6221 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
6222 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
6223 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
6224 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
6225 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
6226 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
6227 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
6228 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
6229 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
6230 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
6231 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
6232 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
6233 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
6234 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
6235 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
6236 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
6237 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
6238 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
6239 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
6240 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
6241 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
6242 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
6243 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
6244
58985aa9
UD
6245 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
6246 rename.
6247 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6248 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6249 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6250 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6251 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6252 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6253 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6254 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6255
a201fbcf
AS
62562011-10-24 Andreas Schwab <schwab@redhat.com>
6257
6258 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
6259
fc2ee42a
LD
62602011-10-23 Ulrich Drepper <drepper@gmail.com>
6261
bb3129bd
UD
6262 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
6263
0275fff8
UD
6264 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
6265 prediction.
6266 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
6267
2fa2ae85
UD
6268 * string/strnlen.c: Don't define STRNLEN, reverse logic.
6269 Remove unused variable magic_bits.
6270 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
6271
fc2ee42a
LD
6272 * string/strnlen.c: Define and use STRNLEN macro.
6273 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
6274 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
6275 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
6276 * wcsmbs/wcslen.c: Define and use WCSLEN.
6277 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
6278 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
6279 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
6280 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
6281 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
6282 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
6283 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6284
ce7dd29f
LD
62852011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6286
6287 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6288 strnlen-sse2-no-bsf.
6289 Rename strlen-no-bsf to strlen-sse2-no-bsf.
6290 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
6291 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
6292 Add strnlen support.
6293 (USE_AS_STRNLEN): New macro.
6294 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
6295 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
6296 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
6297 * sysdeps/x86_64/wcslen.S: New file.
6298
979c70a3
MZ
62992011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
6300
6301 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6302 XMM-moves are used for copying on small sizes.
6303
2d09f82f
LD
63042011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6305
6306 * wcsmbs/Makefile (strop-tests): Add wcschr.
6307 * wcsmbs/test-wcschr.c: New file.
6308 * string/test-strchr.c: Update.
6309 Add wcschr support.
6310 (WIDE): New macro.
6311
619fccca
LD
63122011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6313
2d09f82f 6314 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
6315 * wcsmbs/test-wcslen.c: New file.
6316 * string/test-strlen.c: Update.
6317 Add wcslen support.
6318 (WIDE): New macro.
6319
09f699ea
UD
63202011-10-23 Ulrich Drepper <drepper@gmail.com>
6321
6322 * po/it.po: Update from translation team.
6323
95584d3b
LD
63242011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6325
6326 * sysdeps/x86_64/wcscmp.S: Update.
6327 Fix wrong comparison semantics.
6328 wcscmp shall use signed comparison not unsigned.
6329 Don't use substraction to avoid overflow bug.
6330 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6331 * wcsmbc/wcscmp.c: Likewise.
6332 * string/test-strcmp.c: Likewise.
6333 Add new tests to check cases with negative values.
6334
c8b3296b
UD
63352011-10-23 Ulrich Drepper <drepper@gmail.com>
6336
6337 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
6338 * sysdeps/x86_64/dla.h: ...here. New file.
6339 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
6340 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6341 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6342 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6343 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6344 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6345 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6346 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6347 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6348
246ad57a
AS
63492011-10-23 Andreas Schwab <schwab@linux-m68k.org>
6350
6351 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
6352 __ynl_finite aliases.
6353
a1a87169
UD
63542011-10-22 Ulrich Drepper <drepper@gmail.com>
6355
0d355eb7
UD
6356 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6357
a1a87169
UD
6358 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
6359 define DLA_FMA.
6360 [DLA_FMA] (EMULV): Use DLA_FMA.
6361 [DLA_FMA] (MUL12): Use EMULV.
6362 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
6363 that are not needed.
6364 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6365 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6366 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6367 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6368 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6369 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6370 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6371
ee2aafe0
AS
63722011-10-22 Andreas Schwab <schwab@linux-m68k.org>
6373
6374 * math/s_nan.c: Undef __nan.
6375 * math/s_nanf.c: Undef __nanf.
6376 * math/s_nanl.c: Undef __nanl.
6377 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
6378 "math_private.h".
6379
bc62c2fb
UD
63802011-10-22 Ulrich Drepper <drepper@gmail.com>
6381
77425c63
UD
6382 * math/s_catan.c: Add branch predictions.
6383 * math/s_catanf.c: Likewise.
6384 * math/s_catanh.c: Likewise.
6385 * math/s_catanhf.c: Likewise.
6386 * math/s_catanhl.c: Likewise.
6387 * math/s_catanl.c: Likewise.
6388 * math/s_cexp.c: Likewise.
6389 * math/s_cexpf.c: Likewise.
6390 * math/s_cexpl.c: Likewise.
6391 * math/s_clog.c: Likewise.
6392 * math/s_clog10.c: Likewise.
6393 * math/s_clog10f.c: Likewise.
6394 * math/s_clog10l.c: Likewise.
6395 * math/s_clogf.c: Likewise.
6396 * math/s_clogl.c: Likewise.
6397 * math/s_csqrt.c: Likewise.
6398 * math/s_csqrtf.c: Likewise.
6399 * math/s_csqrtl.c: Likewise.
6400 * math/s_ctanf.c: Likewise.
6401 * math/s_ctanh.c: Likewise.
6402 * math/s_ctanhf.c: Likewise.
6403 * math/s_ctanhl.c: Likewise.
6404 * math/s_ctanl.c: Likewise.
6405
bc62c2fb
UD
6406 * math/math_private.h: Define __nan, __nanf, __nanl.
6407 * math/s_cacosh.c: Include <math_private.h>.
6408 * math/s_cacoshl.c: Likewise.
6409 * math/s_casinh.c: Likewise.
6410 * math/s_casinhf.c: Likewise.
6411 * math/s_casinhl.c: Likewise.
6412 * math/s_ccos.c: Rely entire on ccosh.
6413 * math/s_ccosf.c: Rely entire on ccoshf.
6414 * math/s_ccosl.c: Rely entirely on ccoshl.
6415 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
6416 Remove tests for FE_INVALID.
6417 * math/s_ccoshf.c: Likewise.
6418 * math/s_ccoshl.c: Likewise.
6419 * math/s_csin.c: Likewise.
6420 * math/s_csinf.c: Likewise.
6421 * math/s_csinh.c Likewise.
6422 * math/s_csinhf.c: Likewise.
6423 * math/s_csinhl.c: Likewise.
6424 * math/s_csinl.c: Likewise.
6425 * math/s_ctan.c: Likewise.
6426 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
6427 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
6428 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
6429
8ec250a4
UD
64302011-10-21 Ulrich Drepper <drepper@gmail.com>
6431
c196fed8
UD
6432 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
6433 compilation problems.
6434
8ec250a4
UD
6435 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
6436 __builtin_expect.
6437
8d4f46c6
UD
64382011-10-20 Ulrich Drepper <drepper@gmail.com>
6439
ed72b654
UD
6440 * sysdeps/i386/configure.in: Test for -mfma4 option.
6441 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
6442 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
6443 COMMON_CPUID_INDEX_80000001.
6444 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
6445 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
6446 use it if FMA3 is not supported.
6447 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6448
8d4f46c6
UD
6449 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
6450 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6451
d45c60c2
AS
64522011-10-20 Andreas Schwab <schwab@redhat.com>
6453
6454 [BZ #12892]
6455 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
6456 it would create a cycle with a link time dependency.
6457
d9a4d2ab
UD
64582011-10-19 Ulrich Drepper <drepper@gmail.com>
6459
855d1560
UD
6460 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
6461 instruction.
6462 * string/Makefile (strop-tests): Add rawmemchr.
6463 * string/test-rawmemchr.c: New file.
6464
d9a4d2ab
UD
6465 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
6466 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
6467 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
6468 when compiling str{,n}casecmp and when AVX is available. Hook up
6469 new optimized code in initializers.
6470
8f3b1ffe
AS
64712011-10-19 Andreas Schwab <schwab@redhat.com>
6472
6473 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
6474 __feraiseexcept instead of feraiseexcept.
6475
d38f1dba
UD
64762011-10-18 Ulrich Drepper <drepper@gmail.com>
6477
d9a8d0ab
UD
6478 * math/math_private.h: Define defaults for libc_fetestexcept and
6479 libc_feupdateenv.
6480 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
6481 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6482 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6483 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6484 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6485 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6486 libc_fetestexcept and libc_feupdateenv.
6487
4855e3dd
UD
6488 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6489 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6490 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6491 * sysdeps/x86_64/fpu/math_private.h: Define special version of
6492 libc_feholdexcept_setround.
6493
581d30e3
UD
6494 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6495 Add s_nearbyint-c and s_nearbyintf-c.
6496 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6497 nearbyintf inlines.
6498 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6499 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6500 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6501 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6502
d38f1dba
UD
6503 * math/math_private.h: Define defaults for libc_fegetround,
6504 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6505 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6506 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6507 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6508 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6509 standard functions.
6510 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6511 Remove comments and hacks for old compiler versions.
6512 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6513 libc_fegetround, libc_fesetround, libc_feholdexcept, and
6514 libc_feholdexceptl.
6515
caa6c9d8
AS
65162011-10-18 Andreas Schwab <schwab@redhat.com>
6517
6518 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
6519 (__feraiseexcept_renamed): Add __NTH.
6520 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
6521 namespace violations.
6522
97c066e6
UD
65232011-10-17 Ulrich Drepper <drepper@gmail.com>
6524
99ce7b04
UD
6525 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6526
1004d182
UD
6527 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6528
228a984d
UD
6529 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6530 recently added interfaces.
6531 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6532
c8553a6a
UD
6533 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6534 about macro parameter expansion.
6535
ed22dcf6
UD
6536 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6537 __NO_MATH_INLINES is defined. Cleanups.
6538
6539 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6540 and __floorf is target has SSE4.1.
6541 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6542 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6543 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6544 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6545
b171c137
UD
6546 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6547 name.
6548 (floorf): Likewise.
6549
97c066e6
UD
6550 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6551
629f62ef
AS
65522011-10-17 Andreas Schwab <schwab@redhat.com>
6553
49a43d80
AS
6554 * misc/sys/cdefs.h: Fix last change.
6555
629f62ef
AS
6556 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6557 database lookup.
6558
e453f6cd
UD
65592011-10-16 Ulrich Drepper <drepper@gmail.com>
6560
aa78043a
UD
6561 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6562
ad0f5cad
UD
6563 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6564 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6565 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6566 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6567 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6568 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6569 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6570 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6571 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6572 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6573 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6574 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6575 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6576 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6577 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6578 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6579 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6580 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6581 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6582 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6583 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6584 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6585
6586 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6587 ceil, ceilf, floor, floorf.
6588
6589 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6590 Perform IRELATIVE relocations last.
6591
e453f6cd
UD
6592 * elf/do-rel.h: Add another parameter nrelative, replacing the
6593 local variable with the same name. Change name of the function
6594 to end in Rel or Rela (uppercase).
6595 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6596 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
6597 elf_dynamic_do_##reloc function.
6598
fd5bdc09
UD
65992011-10-15 Ulrich Drepper <drepper@gmail.com>
6600
79b195b5
UD
6601 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
6602 is sufficient, at least on modern CPUs.
6603
d4a28569
UD
6604 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
6605
b61099b5
UD
6606 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
6607 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
6608
bcf01e6d
UD
6609 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
6610 __expl_finite.
6611 * math/bits/math-finite.h: Add entries for exp.
6612 * math/e_expl.c: Add __*_finite alias.
6613 * sysdeps/i386/fpu/e_exp.S: Likewise.
6614 * sysdeps/i386/fpu/e_expf.S: Likewise.
6615 * sysdeps/i386/fpu/e_expl.c: Likewise.
6616 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6617 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6618 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6619 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6620 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6621 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6622 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6623
ba1a0d59
UD
6624 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6625 is sufficient, at least on modern CPUs.
6626
fd5bdc09
UD
6627 * ctype/ctype-info.c (__ctype_init): Define.
6628 * include/ctype.h (__ctype_init): Declare.
6629 (__ctype_b_loc): The variable is always initialized.
6630 (__ctype_toupper_loc): Likewise.
6631 (__ctype_tolower_loc): Likewise.
6632 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6633 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6634
7872cfb0
AS
66352011-10-15 Andreas Schwab <schwab@linux-m68k.org>
6636
b468825a
AS
6637 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6638
7872cfb0
AS
6639 * configure.in: Also look in $cxxmachine/include for C++ system
6640 headers.
6641
be13f7bf
LD
66422011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6643
6644 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6645 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6646 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6647 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
6648 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6649 (USE_AS_WMEMCMP): New macro.
6650 Fixing indents.
6651 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6652 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6653 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6654 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6655 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6656 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6657 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6658 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6659 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6660 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6661 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6662 (USE_AS_WMEMCMP): New macro.
6663 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6664 * sysdeps/string/test-memcmp.c: Update.
6665 Fix simple_wmemcmp.
6666 Add new tests.
6667 * wcsmbs/wmemcmp.c: Update.
6668 (WMEMCMP): New macro.
6669 Fix overflow bug.
6670
556a2007
AJ
66712011-10-12 Andreas Jaeger <aj@suse.de>
6672
6673 [BZ #13268]
6674 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6675
538faaa7
UD
66762011-10-15 Ulrich Drepper <drepper@gmail.com>
6677
ab6737ff
UD
6678 * libio/iofwide.c (do_length): Avoid warning.
6679
538faaa7
UD
6680 * ctype/ctype.h (__isctype_f): Add missing __THROW.
6681
396a21b1
UD
66822011-10-14 Ulrich Drepper <drepper@gmail.com>
6683
cdf2901f
UD
6684 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6685
38ad40ce
UD
6686 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6687 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6688 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6689 * sysdeps/i386/i686/fpu/e_log.S: New file.
6690 * sysdeps/i386/i686/fpu/e_logf.S: New file.
6691 * sysdeps/i386/i686/fpu/e_logl.S: New file.
6692
396a21b1
UD
6693 * ctype/ctype.h: Add support for inlined isXXX functions when
6694 compiling C++ code.
6695
6b1f68c9
AS
66962011-10-14 Andreas Schwab <schwab@redhat.com>
6697
349290c0
AS
6698 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6699
6b1f68c9
AS
6700 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6701
f2282d42
RM
67022011-10-13 Roland McGrath <roland@hack.frob.com>
6703
6704 [BZ #13291]
6705 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6706
5298ffa8
AS
67072011-10-13 Andreas Schwab <schwab@redhat.com>
6708
714fad23
AS
6709 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6710 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6711 feraiseexcept.
6712
81dcc7fb
AS
6713 * sysdeps/x86_64/memrchr.S: Check for zero size.
6714
5298ffa8
AS
6715 * string/stratcliff.c: Add memrchr tests.
6716
951fbcec
LD
67172011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6718
6719 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6720 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6721 rawmemchr-sse2 rawmemchr-sse2-bsf.
6722 * sysdeps/i386/i686/multiarch/memchr.S: New file.
6723 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6724 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6725 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6726 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6727 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6728 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6729 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6730 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6731 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6732 * string/memrchr.c (MEMRCHR): New macro.
6733
0ac5ae23
UD
67342011-10-12 Ulrich Drepper <drepper@gmail.com>
6735
6736 Add integration with gcc's -ffinite-math-only and optimize wrapper
6737 functions in libm.
6738 * Versions.def: Define GLIBC_2.15 version for libm.
6739 * math/Makefile (headers): Add bits/math-finite.h.
6740 * math/bits/math-finite.h: New file.
6741 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6742 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6743 * math/e_acoshl.c: Add __*_finite alias.
6744 * math/e_acosl.c: Likewise.
6745 * math/e_asinl.c: Likewise.
6746 * math/e_atan2l.c: Likewise.
6747 * math/e_atanhl.c: Likewise.
6748 * math/e_coshl.c: Likewise.
6749 * math/e_exp10.c: Likewise.
6750 * math/e_exp10f.c: Likewise.
6751 * math/e_exp10l.c: Likewise.
6752 * math/e_exp2l.c: Likewise.
6753 * math/e_fmodl.c: Likewise.
6754 * math/e_gammal_r.c: Likewise.
6755 * math/e_hypotl.c: Likewise.
6756 * math/e_j0l.c: Likewise.
6757 * math/e_j1l.c: Likewise.
6758 * math/e_jnl.c: Likewise.
6759 * math/e_lgammal_r.c: Likewise.
6760 * math/e_log10l.c: Likewise.
6761 * math/e_log2l.c: Likewise.
6762 * math/e_logl.c: Likewise.
6763 * math/e_powl.c: Likewise.
6764 * math/e_sinhl.c: Likewise.
6765 * math/e_sqrtl.c: Likewise.
6766 * math/e_scalb.c: Completely rewritten and optimized.
6767 * math/e_scalbf.c: Likewise.
6768 * math/e_scalbl.c: Likewise.
6769 * math/w_acos.c: Likewise.
6770 * math/w_acosf.c: Likewise.
6771 * math/w_acosl.c: Likewise.
6772 * math/w_acosh.c: Likewise.
6773 * math/w_acoshf.c: Likewise.
6774 * math/w_acoshl.c: Likewise.
6775 * math/w_asin.c: Likewise.
6776 * math/w_asinf.c: Likewise.
6777 * math/w_asinl.c: Likewise.
6778 * math/w_atan2.c: Likewise.
6779 * math/w_atan2f.c: Likewise.
6780 * math/w_atan2l.c: Likewise.
6781 * math/w_atanh.c: Likewise.
6782 * math/w_atanhf.c: Likewise.
6783 * math/w_atanhl.c: Likewise.
6784 * math/w_exp10.c: Likewise.
6785 * math/w_exp10f.c: Likewise.
6786 * math/w_exp10l.c: Likewise.
6787 * math/w_fmod.c: Likewise.
6788 * math/w_fmodf.c: Likewise.
6789 * math/w_fmodl.c: Likewise.
6790 * math/w_j0.c: Likewise.
6791 * math/w_j0f.c: Likewise.
6792 * math/w_j0l.c: Likewise.
6793 * math/w_j1.c: Likewise.
6794 * math/w_j1f.c: Likewise.
6795 * math/w_j1l.c: Likewise.
6796 * math/w_jn.c: Likewise.
6797 * math/w_jnf.c: Likewise.
6798 * math/w_log.c: Likewise.
6799 * math/w_logf.c: Likewise.
6800 * math/w_logl.c: Likewise.
6801 * math/w_log10.c: Likewise.
6802 * math/w_log10f.c: Likewise.
6803 * math/w_log10l.c: Likewise.
6804 * math/w_log2.c: Likewise.
6805 * math/w_log2f.c: Likewise.
6806 * math/w_log2l.c: Likewise.
6807 * math/w_pow.c: Likewise.
6808 * math/w_powf.c: Likewise.
6809 * math/w_powl.c: Likewise.
6810 * math/w_remainder.c: Likewise.
6811 * math/w_remainderf.c: Likewise.
6812 * math/w_remainderl.c: Likewise.
6813 * math/w_scalb.c: Likewise.
6814 * math/w_scalbf.c: Likewise.
6815 * math/w_scalbl.c: Likewise.
6816 * math/w_sqrt.c: Likewise.
6817 * math/w_sqrtf.c: Likewise.
6818 * math/w_sqrtl.c: Likewise.
6819 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6820 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
6821 used.
6822 * math/math_private.h: Declare __kernel_standard_f.
6823 * math/w_cosh.c: Remove cruft and optimize a bit.
6824 * math/w_coshf.c: Likewise.
6825 * math/w_coshl.c: Likewise.
6826 * math/w_exp2.c: Likewise.
6827 * math/w_exp2f.c: Likewise.
6828 * math/w_exp2l.c: Likewise.
6829 * math/w_hypot.c: Likewise.
6830 * math/w_hypotf.c: Likewise.
6831 * math/w_hypotl.c: Likewise.
6832 * math/w_lgamma.c: Likewise.
6833 * math/w_lgamma_r.c: Likewise.
6834 * math/w_lgammaf.c: Likewise.
6835 * math/w_lgammaf_r.c: Likewise.
6836 * math/w_lgammal.c: Likewise.
6837 * math/w_lgammal_r.c: Likewise.
6838 * math/w_sinh.c: Likewise.
6839 * math/w_sinhf.c: Likewise.
6840 * math/w_sinhl.c: Likewise.
6841 * math/w_tgamma.c: Likewise.
6842 * math/w_tgammaf.c: Likewise.
6843 * math/w_tgammal.c: Likewise.
6844 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6845 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6846 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6847 Minor optimizations. Pretty printing. Remove cruft.
6848 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6849 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6850 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6851 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6852 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6853 * sysdeps/i386/fpu/e_asin.S: Likewise.
6854 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6855 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6856 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6857 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6858 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6859 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6860 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6861 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6862 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6863 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6864 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6865 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6866 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6867 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6868 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6869 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6870 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6871 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6872 * sysdeps/i386/fpu/e_log.S: Likewise.
6873 * sysdeps/i386/fpu/e_log10.S: Likewise.
6874 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6875 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6876 * sysdeps/i386/fpu/e_log2.S: Likewise.
6877 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6878 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6879 * sysdeps/i386/fpu/e_logf.S: Likewise.
6880 * sysdeps/i386/fpu/e_logl.S: Likewise.
6881 * sysdeps/i386/fpu/e_pow.S: Likewise.
6882 * sysdeps/i386/fpu/e_powf.S: Likewise.
6883 * sysdeps/i386/fpu/e_powl.S: Likewise.
6884 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6885 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6886 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6887 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6888 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6889 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6890 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6891 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6892 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6893 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6894 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6895 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6896 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6897 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6898 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6899 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6900 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6901 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6902 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6903 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6904 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6905 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6906 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6907 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6908 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6909 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6910 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6911 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6912 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6913 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6914 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6915 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6916 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6917 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6918 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6919 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6920 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6921 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6922 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6923 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6924 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6925 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6926 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6927 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6928 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6929 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6930 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6931 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6932 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6933 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6934 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6935 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6936 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6937 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6938 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6939 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6940 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6941 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6942 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6943 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6944 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6945 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6946 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6947 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6948 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6949 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6950 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6951 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6952 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6953 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6954 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6955 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6956 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6957 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6958 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6959 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6960 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6961 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6962 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6963 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6964 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6965 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6966 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6967 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6968 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6969 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6970 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6971 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6972 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6973 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6974 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6975 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6976 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6977 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6978 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6979 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6980 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6981 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6982 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6983 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6984 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6985 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6986 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6987 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6988 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6989 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6990 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6991 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6992 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6993 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6994 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6995 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6996 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6997 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6998 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6999 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
7000 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7001 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
7002 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
7003 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
7004 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
7005 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
7006 (__isnanf): Likewise.
7007 (__isinf_ns): Likewise.
7008 (__isinf_nsf): Likewise.
7009 (__finite): Likewise.
7010 (__finitef): Likewise.
7011 (__ieee754_sqrt): Define as macro.
7012 (__ieee754_sqrtf): Define as macro.
7013 (__ieee754_sqrtl): Define as macro.
7014 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
7015 inlined copy.
7016 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
7017 __FINITE_MATH_ONLY__ consistent.
7018 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
7019
12cc2fcd
AS
70202011-10-10 Andreas Schwab <schwab@linux-m68k.org>
7021
a843a204
AS
7022 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
7023 of rawmemchr.
7024
12cc2fcd
AS
7025 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
7026
c853acd5
UD
70272011-10-09 Ulrich Drepper <drepper@gmail.com>
7028
7029 * po/ja.po: Update from translation team.
7030
c658d255
RM
70312011-10-08 Roland McGrath <roland@hack.frob.com>
7032
110946e4
RM
7033 * locale/programs/locarchive.c (prepare_address_space): New function.
7034 (create_archive, enlarge_archive, open_archive): Use it.
7035
50604220
RM
7036 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
7037 inside [SHARED], where it is used.
7038
c658d255
RM
7039 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
7040
7041 * nss/getent.c (netgroup_keys): Remove unused variable.
7042 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7043
6a621eb7
UD
70442011-10-08 Ulrich Drepper <drepper@gmail.com>
7045
7edb55ce
UD
7046 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
7047 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
7048 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
7049 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
7050 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
7051 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
7052 * math/Makefile (libm-calls): Add s_isinf_ns.
7053 * math/divtc3.c: Use __isinf_nsl instead of isinf.
7054 * math/multc3.c: Likewise.
7055 * math/s_casin.c: Likewise.
7056 * math/s_casinf.c: Likewise.
7057 * math/s_casinl.c: Likewise.
7058 * math/s_ccos.c: Likewise.
7059 * math/s_ccosf.c: Likewise.
7060 * math/s_ccosl.c: Likewise.
7061 * math/s_ctan.c: Likewise.
7062 * math/s_ctanf.c: Likewise.
7063 * math/s_ctanh.c: Likewise.
7064 * math/s_ctanhf.c: Likewise.
7065 * math/s_ctanhl.c: Likewise.
7066 * math/s_ctanl.c: Likewise.
7067 * math/w_fmod.c: Likewise.
7068 * math/w_fmodf.c: Likewise.
7069 * math/w_fmodl.c: Likewise.
7070 * math/w_remainder.c: Likewise.
7071 * math/w_remainderf.c: Likewise.
7072 * math/w_remainderl.c: Likewise.
7073 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
7074 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
7075 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
7076 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
7077 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
7078 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
7079 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
7080 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
7081
187da0ae
UD
7082 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
7083 of the number.
7084 * stdio-common/printf_fphex.c: Likewise.
7085 * stdio-common/printf_size.c: Likewise.
7086
9277c064
UD
7087 * math/e_exp10.c: Include math_private.h using <...> not "...".
7088 * math/e_exp10f.c: Likewise.
7089 * math/e_exp10l.c: Likewise.
7090 * math/e_exp2l.c: Likewise.
7091 * math/e_j0l.c: Likewise.
7092 * math/e_j1l.c: Likewise.
7093 * math/e_jnl.c: Likewise.
7094 * math/e_lgammal_r.c: Likewise.
7095 * math/e_rem_pio2l.c: Likewise.
7096 * math/e_scalb.c: Likewise.
7097 * math/e_scalbf.c: Likewise.
7098 * math/e_scalbl.c: Likewise.
7099 * math/k_cosl.c: Likewise.
7100 * math/k_sinl.c: Likewise.
7101 * math/k_tanl.c: Likewise.
7102 * math/s_cacoshf.c: Likewise.
7103 * math/s_catan.c: Likewise.
7104 * math/s_catanf.c: Likewise.
7105 * math/s_catanh.c: Likewise.
7106 * math/s_catanhf.c: Likewise.
7107 * math/s_catanhl.c: Likewise.
7108 * math/s_catanl.c: Likewise.
7109 * math/s_ccosh.c: Likewise.
7110 * math/s_ccoshf.c: Likewise.
7111 * math/s_ccoshl.c: Likewise.
7112 * math/s_cexp.c: Likewise.
7113 * math/s_cexpf.c: Likewise.
7114 * math/s_cexpl.c: Likewise.
7115 * math/s_clog.c: Likewise.
7116 * math/s_clog10.c: Likewise.
7117 * math/s_clog10f.c: Likewise.
7118 * math/s_clog10l.c: Likewise.
7119 * math/s_clogf.c: Likewise.
7120 * math/s_clogl.c: Likewise.
7121 * math/s_csin.c: Likewise.
7122 * math/s_csinf.c: Likewise.
7123 * math/s_csinh.c: Likewise.
7124 * math/s_csinhf.c: Likewise.
7125 * math/s_csinhl.c: Likewise.
7126 * math/s_csinl.c: Likewise.
7127 * math/s_csqrt.c: Likewise.
7128 * math/s_csqrtf.c: Likewise.
7129 * math/s_csqrtl.c: Likewise.
7130 * math/s_ctan.c: Likewise.
7131 * math/s_ctanf.c: Likewise.
7132 * math/s_ctanh.c: Likewise.
7133 * math/s_ctanhf.c: Likewise.
7134 * math/s_ctanhl.c: Likewise.
7135 * math/s_ctanl.c: Likewise.
7136 * math/s_ldexp.c: Likewise.
7137 * math/s_ldexpf.c: Likewise.
7138 * math/s_ldexpl.c: Likewise.
7139 * math/s_significand.c: Likewise.
7140 * math/s_significandf.c: Likewise.
7141 * math/s_significandl.c: Likewise.
7142 * math/w_acos.c: Likewise.
7143 * math/w_acosf.c: Likewise.
7144 * math/w_acosh.c: Likewise.
7145 * math/w_acoshf.c: Likewise.
7146 * math/w_acoshl.c: Likewise.
7147 * math/w_acosl.c: Likewise.
7148 * math/w_asin.c: Likewise.
7149 * math/w_asinf.c: Likewise.
7150 * math/w_asinl.c: Likewise.
7151 * math/w_atan2.c: Likewise.
7152 * math/w_atan2f.c: Likewise.
7153 * math/w_atan2l.c: Likewise.
7154 * math/w_atanh.c: Likewise.
7155 * math/w_atanhf.c: Likewise.
7156 * math/w_atanhl.c: Likewise.
7157 * math/w_cosh.c: Likewise.
7158 * math/w_coshf.c: Likewise.
7159 * math/w_coshl.c: Likewise.
7160 * math/w_dremf.c: Likewise.
7161 * math/w_exp10.c: Likewise.
7162 * math/w_exp10f.c: Likewise.
7163 * math/w_exp10l.c: Likewise.
7164 * math/w_exp2.c: Likewise.
7165 * math/w_exp2f.c: Likewise.
7166 * math/w_fmod.c: Likewise.
7167 * math/w_fmodf.c: Likewise.
7168 * math/w_fmodl.c: Likewise.
7169 * math/w_hypot.c: Likewise.
7170 * math/w_hypotf.c: Likewise.
7171 * math/w_hypotl.c: Likewise.
7172 * math/w_j0.c: Likewise.
7173 * math/w_j0f.c: Likewise.
7174 * math/w_j0l.c: Likewise.
7175 * math/w_j1.c: Likewise.
7176 * math/w_j1f.c: Likewise.
7177 * math/w_j1l.c: Likewise.
7178 * math/w_jn.c: Likewise.
7179 * math/w_jnf.c: Likewise.
7180 * math/w_jnl.c: Likewise.
7181 * math/w_lgamma.c: Likewise.
7182 * math/w_lgamma_r.c: Likewise.
7183 * math/w_lgammaf.c: Likewise.
7184 * math/w_lgammaf_r.c: Likewise.
7185 * math/w_lgammal.c: Likewise.
7186 * math/w_lgammal_r.c: Likewise.
7187 * math/w_log.c: Likewise.
7188 * math/w_log10.c: Likewise.
7189 * math/w_log10f.c: Likewise.
7190 * math/w_log10l.c: Likewise.
7191 * math/w_log2.c: Likewise.
7192 * math/w_log2f.c: Likewise.
7193 * math/w_log2l.c: Likewise.
7194 * math/w_logf.c: Likewise.
7195 * math/w_logl.c: Likewise.
7196 * math/w_pow.c: Likewise.
7197 * math/w_powf.c: Likewise.
7198 * math/w_powl.c: Likewise.
7199 * math/w_remainder.c: Likewise.
7200 * math/w_remainderf.c: Likewise.
7201 * math/w_remainderl.c: Likewise.
7202 * math/w_scalb.c: Likewise.
7203 * math/w_scalbf.c: Likewise.
7204 * math/w_scalbl.c: Likewise.
7205 * math/w_sinh.c: Likewise.
7206 * math/w_sinhf.c: Likewise.
7207 * math/w_sinhl.c: Likewise.
7208 * math/w_sqrt.c: Likewise.
7209 * math/w_sqrtf.c: Likewise.
7210 * math/w_sqrtl.c: Likewise.
7211 * math/w_tgamma.c: Likewise.
7212 * math/w_tgammaf.c: Likewise.
7213 * math/w_tgammal.c: Likewise.
7214
6a621eb7
UD
7215 * po/ja.po: Update from translation team.
7216
bf582445
AJ
72172011-09-29 Andreas Jaeger <aj@suse.de>
7218
f9efbf3a
AJ
7219 [BZ #13179]
7220 * sunrpc/netname.c (netname2host): Fix logic.
7221
bf582445
AJ
7222 [BZ #6779]
7223 [BZ #6783]
7224 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
7225 correctly.
7226 * math/w_remainder.c (__remainder): Likewise.
7227 * math/w_remainderf.c (__remainderf): Likewise.
7228 * math/libm-test.inc (remainder_test): Add test cases.
7229
48693bea
AK
72302011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7231
7232 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
7233 sdiv_qrnnd.
7234
42622229
LD
72352011-10-07 Ulrich Drepper <drepper@gmail.com>
7236
7237 * string/test-memcmp.c: Avoid unncessary #defines.
7238 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7239
093ecf92
LD
72402011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7241
7242 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
7243 Use new sse2 version for core i3 - i7 as it's faster
7244 than sse42 version.
7245 (bit_Prefer_PMINUB_for_stringop): New.
7246 * sysdeps/x86_64/rawmemchr.S: Update.
7247 Replace with faster SSE2 version.
7248 * sysdeps/x86_64/memrchr.S: New file.
7249 * sysdeps/x86_64/memchr.S: Update.
7250 Replace with faster SSE2 version.
7251
fde56e5c
MP
72522011-09-12 Marek Polacek <mpolacek@redhat.com>
7253
7254 * elf/dl-load.c (lose): Add cast to avoid warning.
7255
21fd49a9
UD
72562011-10-07 Ulrich Drepper <drepper@gmail.com>
7257
5a06e643
UD
7258 * po/ca.po: Update from translation team.
7259
684ae515
UD
7260 * inet/getnetgrent_r.c: Hook up nscd.
7261 * nscd/Makefile (routines): Add nscd_netgroup.
7262 (nscd-modules): Add netgroupcache.
7263 (CFLAGS-netgroupcache.c): Define.
7264 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
7265 (cache_search): Add const to second parameter.
7266 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
7267 INNETGR.
7268 (dbs): Add netgrdb entry.
7269 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
7270 (verify_persistent_db): Handle netgrdb.
7271 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
7272 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
7273 GETFDNETGR.
7274 (netgroup_response_header): Define.
7275 (innetgroup_response_header): Define.
7276 (datahead): Add netgroup_response_header and innetgroup_response_header
7277 elements.
7278 * nscd/nscd.conf: Add entries for netgroup cache.
7279 * nscd/nscd.h (dbtype): Add netgrdb.
7280 (_PATH_NSCD_NETGROUP_DB): Define.
7281 (netgroup_iov_disabled): Declare.
7282 (xmalloc, xcalloc, xrealloc): Move declarations here.
7283 (cache_search): Adjust prototype.
7284 Add netgroup-related prototypes.
7285 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
7286 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
7287 (__nscd_innetgr): Declare.
7288 * nscd/selinux.c (perms): Use access_vector_t as element type and
7289 add netgroup-related initializers.
7290 * nscd/netgroupcache.c: New file.
7291 * nscd/nscd_netgroup.c: New file.
7292 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
7293 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
7294 For four parameters use innetgr.
7295 * nss/nss_files/files-init.c: Add definition and callback for netgr.
7296 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
7297 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
7298 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
7299
21fd49a9
UD
7300 * nscd/connections.c (register_traced_file): Don't register file
7301 for disabled databases.
7302
054c0457
UD
73032011-10-06 Ulrich Drepper <drepper@gmail.com>
7304
32b63198
UD
7305 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
7306
054c0457
UD
7307 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
7308 from tree and freeing node.
7309
64031225
JO
73102011-09-25 Jiri Olsa <jolsa@redhat.com>
7311
7312 * nss/nsswitch.c (__nss_database_lookup): Handle
7313 nss_parse_service_list out of memory case.
7314
0490345c
JO
73152011-09-15 Jiri Olsa <jolsa@redhat.com>
7316
7317 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
7318 out of memory case.
7319
3a62d00d
AS
73202011-10-04 Andreas Schwab <schwab@redhat.com>
7321
7322 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
7323 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
7324 pass it down.
7325 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
7326 elf_machine_rela, elf_machine_lazy_rel.
7327 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
7328 (ELF_DYNAMIC_DO_REL): Likewise.
7329 (ELF_DYNAMIC_DO_RELA): Likewise.
7330 (ELF_DYNAMIC_RELOCATE): Likewise.
7331 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
7332 to ELF_DYNAMIC_DO_REL.
7333 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
7334 (dl_main): In trace mode always set __RTLD_NOIFUNC.
7335 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
7336 elf_machine_rela.
7337 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
7338 skip_ifunc, don't call ifunc function if non-zero.
7339 (elf_machine_rela): Likewise.
7340 (elf_machine_lazy_rel): Likewise.
7341 (elf_machine_lazy_rela): Likewise.
7342 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
7343 (elf_machine_lazy_rel): Likewise.
7344 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
7345 Likewise.
7346 (elf_machine_lazy_rel): Likewise.
7347 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7348 Likewise.
7349 (elf_machine_lazy_rel): Likewise.
7350 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
7351 (elf_machine_lazy_rel): Likewise.
7352 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
7353 (elf_machine_lazy_rel): Likewise.
7354 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7355 (elf_machine_lazy_rel): Likewise.
7356 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7357 (elf_machine_lazy_rel): Likewise.
7358 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7359 (elf_machine_lazy_rel): Likewise.
7360 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7361 (elf_machine_lazy_rel): Likewise.
7362
68577918
UD
73632011-09-28 Ulrich Drepper <drepper@gmail.com>
7364
7365 * nss/nss_files/files-init.c (_nss_files_init): Use static
7366 initialization for all the *_traced_file variables.
7367
68822d74
AS
73682011-09-28 Andreas Schwab <schwab@redhat.com>
7369
7370 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7371
2056100b
RM
73722011-09-27 Roland McGrath <roland@hack.frob.com>
7373
7374 [BZ #13226]
7375 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
7376
32c76b63
AS
73772011-09-27 Andreas Schwab <schwab@redhat.com>
7378
7379 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7380 Reread the line before reparsing it.
7381
bf972c9d
AS
73822011-09-26 Andreas Schwab <schwab@redhat.com>
7383
7384 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
7385
e057a1b5
JM
73862011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
7387 Maxim Kuvyrkov <maxim@codesourcery.com>
7388 Joseph Myers <joseph@codesourcery.com>
7389
7390 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
7391 if needed for __stack_chk_guard.
7392
bc7e1c36
RM
73932011-09-19 Roland McGrath <roland@hack.frob.com>
7394
ecb1482f
RM
7395 * sysdeps/posix/spawni.c (script_execute): Always define it.
7396 It will be optimized away if unused.
7397 (maybe_script_execute): New function.
7398 (__spawni): Call it.
7399
bc7e1c36
RM
7400 * Makerules: Don't include tls.make.
7401 (config-tls): Always set to thread.
7402 * tls.make.c: File removed.
7403
1c3b002b
MF
74042011-09-19 Mike Frysinger <vapier@gentoo.org>
7405
7406 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
7407 * config.make.in (CPPFLAGS-config): New substituted variable.
7408
2840865d
UD
74092011-09-15 Ulrich Drepper <drepper@gmail.com>
7410
88738eb6
UD
7411 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
7412
cbf645a6 7413 [BZ #13192]
2840865d
UD
7414 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
7415 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
7416
b402e91a
RM
74172011-09-15 Roland McGrath <roland@hack.frob.com>
7418
7419 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
7420 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
7421 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7422 (CALL_FAIL): Likewise.
7423 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
7424 (CALL_FAIL): Macro removed.
7425 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
7426
4c1a1f71
UD
74272011-09-15 Ulrich Drepper <drepper@gmail.com>
7428
7429 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
7430 for __FINITE_MATH_ONLY__ == 1.
7431
edc121be
AS
74322011-09-15 Andreas Schwab <schwab@redhat.com>
7433
7434 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
7435 __ieee754_sqrt instead of sqrt.
7436 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
7437 __ieee754_sqrtf instead of sqrtf.
7438 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7439 __floorf instead of floorf.
7440 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
7441 __floorf, __truncf instead of floorf, truncf.
7442
cd205654
UD
74432011-09-14 Ulrich Drepper <drepper@gmail.com>
7444
ee4d0315
UD
7445 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
7446
cd205654
UD
7447 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
7448 __extern_always_inline.
7449 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
7450 32-bit.
7451
48b67d71
AS
74522011-09-14 Andreas Schwab <schwab@redhat.com>
7453
7454 * elf/rtld.c (dl_main): Also relocate in dependency order when
7455 doing symbol dependency testing.
7456
1ae12c75
AS
74572011-09-13 Andreas Schwab <schwab@linux-m68k.org>
7458
7459 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7460 Always define `refsym'.
7461
995a80df
AS
74622011-09-13 Andreas Schwab <schwab@redhat.com>
7463
e529793b
AS
7464 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
7465 (__FD_ELT): Renamed from __FDELT.
7466 * misc/bits/select2.h (__FD_ELT): Likewise.
7467 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
7468 __FD_MASK instead of __FDELT, __FDMASK.
7469 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7470 Likewise.
7471 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7472 Likewise.
7473
52d4fef8
AS
7474 * elf/Makefile (gen-ldd): Fix pattern.
7475
995a80df
AS
7476 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
7477 (init_tls): Likewise.
7478
8682f8b0
UD
74792011-09-12 Ulrich Drepper <drepper@gmail.com>
7480
7481 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7482
de82006d
AS
74832011-09-12 Andreas Schwab <schwab@redhat.com>
7484
a7c8e6a1
AS
7485 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7486 `struct cmsghdr *' instead of `void *'.
7487 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7488 Likewise.
7489
0f31fe77
AS
74902011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7491
7492 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7493 if non-absolute.
7494 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7495 ldd_rewrite_script.
0f31fe77 7496
32b4c839
UD
74972011-09-11 Ulrich Drepper <drepper@gmail.com>
7498
83cd1420
UD
7499 * configure.in: Remove --with-tls option.
7500 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7501 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7502 out in case it is missing.
7503 * sysdeps/ia64/elf/configure.in: Likewise.
7504 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7505 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7506 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7507 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7508 * sysdeps/sh/elf/configure.in: Likewise.
7509 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7510 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7511 * sysdeps/x86_64/elf/configure.in: Likewise.
7512 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7513 * sysdeps/mach/hurd/tls.h: Likewise.
7514
633f745d
UD
7515 [BZ #13067]
7516 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7517
f318beb8
UD
7518 [BZ #13090]
7519 * configure.in: Fix use of AC_INIT.
7520
32b4c839
UD
7521 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7522
3ce1f295
UD
75232011-09-10 Ulrich Drepper <drepper@gmail.com>
7524
bb016596
UD
7525 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7526 __set_errno.
8e58439c
UD
7527 * malloc/hooks.c: Likewise.
7528
aebae053 7529 [BZ #11929]
02d46fc4
UD
7530 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
7531 variables statically.
7532 (narenas): Initialize.
7533 (list_lock): Initialize.
bb016596
UD
7534 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
7535 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
7536 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7537 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
7538 Add initializers to main_arena and mp_.
7539 (malloc_state): Remove pagesize member. Change all users to use
7540 GLRO(dl_pagesize).
7541
7542 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7543 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
7544 is always initialized.
7545
22a89187
UD
7546 * malloc/malloc.c: Removed unused configurations and dead code.
7547 * malloc/arena.c: Likewise.
7548 * malloc/hooks.c: Likewise.
02d46fc4 7549 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 7550
d063d164
UD
7551 * include/tls.h: Removed. USE___THREAD must always be defined.
7552 * bits/libc-tsd.h: Don't handle !USE___THREAD.
7553 * elf/dl-libc.c: Likewise.
7554 * elf/dl-tsd.c: Likewise.
7555 * include/errno.h: Likewise.
7556 * include/netdb.h: Likewise.
7557 * include/resolv.h: Likewise.
7558 * inet/herrno-loc.c: Likewise.
7559 * inet/herrno.c: Likewise.
7560 * malloc/arena.c: Likewise.
7561 * malloc/hooks.c: Likewise.
7562 * malloc/malloc.c: Likewise.
7563 * resolv/res-state.c: Likewise.
7564 * resolv/res_libc.c: Likewise.
7565 * sysdeps/i386/dl-machine.h: Likewise.
7566 * sysdeps/ia64/dl-machine.h: Likewise.
7567 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7568 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7569 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7570 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7571 * sysdeps/sh/dl-machine.h: Likewise.
7572 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7573 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7574 * sysdeps/unix/i386/sysdep.S: Likewise.
7575 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7576 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7577 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7578 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7579 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7580 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7581 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7582 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7583 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7584 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7585 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7586 * sysdeps/x86_64/dl-machine.h: Likewise.
7587 * tls.make.c: Likewise.
7588
3ce1f295
UD
7589 * configure.in: Remove --with-__thread option. Make tests for
7590 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7591 tls_model attribute fail if no support is available. Remove
7592 USE_IN_LIBIO.
7593 * Makeconfig: Adjust for dropped configure option. All features are
7594 now mandatory.
7595 * Makerules: Likewise.
7596 * Versions.def: Likewise.
7597 * argp/argp-fmtstream.c: Likewise.
7598 * argp/argp-fmtstream.h: Likewise.
7599 * argp/argp-help.c: Likewise.
7600 * assert/assert.c: Likewise.
7601 * config.h.in: Likewise.
7602 * config.make.in: Likewise.
7603 * configure: Likewise.
7604 * configure.in: Likewise.
7605 * csu/Versions: Likewise.
7606 * csu/init.c: Likewise.
7607 * elf/tst-audit2.c: Likewise.
7608 * elf/tst-tls10.c: Likewise.
7609 * elf/tst-tls10.h: Likewise.
7610 * elf/tst-tls11.c: Likewise.
7611 * elf/tst-tls12.c: Likewise.
7612 * elf/tst-tls14.c: Likewise.
7613 * elf/tst-tlsmod11.c: Likewise.
7614 * elf/tst-tlsmod12.c: Likewise.
7615 * elf/tst-tlsmod13.c: Likewise.
7616 * elf/tst-tlsmod13a.c: Likewise.
7617 * elf/tst-tlsmod14a.c: Likewise.
7618 * elf/tst-tlsmod15b.c: Likewise.
7619 * elf/tst-tlsmod16a.c: Likewise.
7620 * elf/tst-tlsmod16b.c: Likewise.
7621 * elf/tst-tlsmod7.c: Likewise.
7622 * elf/tst-tlsmod8.c: Likewise.
7623 * elf/tst-tlsmod9.c: Likewise.
7624 * gmon/gmon.c: Likewise.
7625 * grp/fgetgrent_r.c: Likewise.
7626 * grp/putgrent.c: Likewise.
7627 * hurd/fopenport.c: Likewise.
7628 * include/libc-symbols.h: Likewise.
7629 * include/tls.h: Likewise.
7630 * intl/gettextP.h: Likewise.
7631 * intl/loadinfo.h: Likewise.
7632 * locale/global-locale.c: Likewise.
7633 * locale/localeinfo.h: Likewise.
7634 * mach/devstream.c: Likewise.
7635 * malloc/arena.c: Likewise.
7636 * malloc/set-freeres.c: Likewise.
7637 * misc/err.c: Likewise.
7638 * misc/getttyent.c: Likewise.
7639 * misc/mntent_r.c: Likewise.
7640 * posix/getopt.c: Likewise.
7641 * posix/wordexp.c: Likewise.
7642 * pwd/fgetpwent_r.c: Likewise.
7643 * resolv/Versions: Likewise.
7644 * resolv/res_hconf.c: Likewise.
7645 * shadow/fgetspent_r.c: Likewise.
7646 * shadow/putspent.c: Likewise.
7647 * stdio-common/printf_fphex.c: Likewise.
7648 * stdio-common/tmpfile.c: Likewise.
7649 * stdlib/abort.c: Likewise.
7650 * stdlib/fmtmsg.c: Likewise.
7651 * sunrpc/auth_unix.c: Likewise.
7652 * sunrpc/clnt_perr.c: Likewise.
7653 * sunrpc/clnt_tcp.c: Likewise.
7654 * sunrpc/clnt_udp.c: Likewise.
7655 * sunrpc/clnt_unix.c: Likewise.
7656 * sunrpc/openchild.c: Likewise.
7657 * sunrpc/svc_simple.c: Likewise.
7658 * sunrpc/svc_tcp.c: Likewise.
7659 * sunrpc/svc_udp.c: Likewise.
7660 * sunrpc/svc_unix.c: Likewise.
7661 * sunrpc/xdr.c: Likewise.
7662 * sunrpc/xdr_array.c: Likewise.
7663 * sunrpc/xdr_rec.c: Likewise.
7664 * sunrpc/xdr_ref.c: Likewise.
7665 * sunrpc/xdr_stdio.c: Likewise.
7666
1248c1c4
PB
76672011-09-09 Ulrich Drepper <drepper@gmail.com>
7668
7669 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7670
76712011-07-03 Andreas Jaeger <aj@suse.de>
7672
7673 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7674 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7675 regenerate with gen-libm-tests.pl.
7676
76772010-05-12 Petr Baudis <pasky@suse.cz>
7678
7679 [BZ #11589]
7680 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7681 around j0() zero points by switching to j1().
7682 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7683 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7684 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7685 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7686
f22e1074
UD
76872011-09-09 Ulrich Drepper <drepper@gmail.com>
7688
f19009c1
UD
7689 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7690 instead of 0.
7691 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7692 instead of 0. .
7693 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7694 Patch in part by Pavel Roskin <proski@gnu.org>.
7695
3f8cc204
UD
7696 [BZ #13138]
7697 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7698 realloc.
7699 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
7700 Free memory block if necessary.
7701
f22e1074
UD
7702 [BZ #12847]
7703 * libio/genops.c (INTDEF): For string streams the _lock pointer can
7704 be NULL. Don't lock in this case.
7705
0a2349f9
RM
77062011-09-09 Roland McGrath <roland@hack.frob.com>
7707
7708 * elf/elf.h (ELFOSABI_GNU): New macro.
7709 (ELFOSABI_LINUX): Define to that.
7710
f3cdd467
DZ
77112011-07-29 Denis Zaitceff <zaitceff@gmail.com>
7712
7713 * string/strncat.c (strncat): Undef the symbol in case it has been
7714 defined in bits/string.h.
7715
74718d13
UD
77162011-09-09 Ulrich Drepper <drepper@gmail.com>
7717
633e9e0f
UD
7718 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7719
0a2349f9 7720 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
7721 link map.
7722
f9924780
AJ
77232011-08-17 Andreas Jaeger <aj@suse.de>
7724
7725 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7726
7f5517aa
PP
77272011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7728 Ian Lance Taylor <iant@google.com>
7729
7730 * math/libm-test.inc (lround_test): New testcase.
7731 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7732
762011fe
UD
77332011-09-08 Ulrich Drepper <drepper@gmail.com>
7734
92963737
UD
7735 * Makefile: Remove support for automatic cvs check-ins.
7736 * Makerules: Likewise.
7737 * config.make.in: Likewise.
7738 * configure.in: Likewise.
7739 * intl/Makefile: Likewise.
7740 * locale/Makefile: Likewise.
7741 * po/Makefile: Likewise.
7742 * posix/Makefile: Likewise.
7743 * sysdeps/gnu/Makefile: Likewise.
7744 * sysdeps/mach/hurd/Makefile: Likewise.
7745 * sysdeps/sparc/sparc32/Makefile: Likewise.
7746
b0727fd8
JS
7747 [BZ #13118]
7748 * posix/Makefile (bug-regex32-ENV): Define.
7749 Patch by John Stanley <jpsinthemix@verizon.net>.
7750
a0f33f99
UD
7751 * misc/Makefile (headers): Add bits/select2.h.
7752 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7753 * misc/bits/select2.h: New file.
7754 * include/bits/select2.h: New file.
7755 * debug/Makefile (routines): Add fdelt_chk.
7756 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7757 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7758 FD_ISSET.
7759 * debug/fdelt_chk.c: New file.
7760
762011fe
UD
7761 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
7762 * wcsmbs/test-wmemcmp.c: Likewise.
7763 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 7764 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
7765
77662011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7767
7768 * string/Makefile (strop-tests): Add memcmp.
7769 * string/test-wmemcmp.c: New file.
7770 * string/test-memcmp.c: Add wmemcmp support.
7771
7f513ec8
RM
77722011-09-08 Roland McGrath <roland@hack.frob.com>
7773
0442afb4
RM
7774 [BZ #13153]
7775 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7776 2011-07-19 change.
7777
7f513ec8
RM
7778 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7779 garbage value in a __mach_port_mod_refs call in the cases of the
7780 task-self and thread-self ports.
7781
a12b2239
ST
77822011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7783
7784 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7785
610f9ab4
AS
77862011-09-08 Andreas Schwab <schwab@redhat.com>
7787
7f513ec8 7788 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 7789
48882a1a
LD
77902011-09-07 Ulrich Drepper <drepper@gmail.com>
7791
b49865be
UD
7792 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7793
fdc86bc9
UD
7794 * elf/dl-libc.c (dlerror_run): Pass back error code from
7795 dl_catch_error.
7796
c966526a
UD
7797 [BZ #13123]
7798 * elf/dl-load.c (lose): Free l_origin if it is valid.
7799
48882a1a
LD
7800 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7801 names.
7802 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7803 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7804 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7805 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7806 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7807 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7808
77a2a8b4
AZ
78092011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7810
7811 * sysdeps/powerpc/fpu/e_hypot.c: New file.
7812 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7813 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7814 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7815 * sysdeps/powerpc/fpu/k_cosf.c: New file.
7816 * sysdeps/powerpc/fpu/k_sinf.c: New file.
7817 * sysdeps/powerpc/fpu/s_cosf.c: New file.
7818 * sysdeps/powerpc/fpu/s_sinf.c: New file.
7819 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7820 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7821
24f579d8
AM
78222011-08-15 Alan Modra <amodra@gmail.com>
7823
7824 [BZ #13092]
7825 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7826 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7827 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
7828 ppc_mcount to static-only-routines.
7829 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7830 __mcount_internal.
7831 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7832 __mcount_internal with usual JUMPTARGET. Remove useless nop.
7833
3d4837df
UD
78342011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7835
7836 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7837 for finite and infinity parameters.
7838
22700377
WS
78392011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7840
7841 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7842 and add nop instructions for throughput optimization.
7843 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7844
5025581e
WS
78452011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7846
7847 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7848 aligned copy for power7 with vector-scalar instructions.
7849 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7850
08a300c9
L
78512011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7852
7853 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7854 AVX check.
7855
59178ef9
AS
78562011-09-07 Andreas Schwab <schwab@redhat.com>
7857
7858 [BZ #13144]
7859 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7860 last change.
7861
e38ba7ab
UD
78622011-09-07 Ulrich Drepper <drepper@gmail.com>
7863
7864 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7865 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7866 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7867 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7868 clock_gettime.
7869
d53a73ac
UD
78702011-09-06 Ulrich Drepper <drepper@gmail.com>
7871
fc8bffcc
UD
7872 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7873 Forgot to demangle the pointer.
7874
ceaa0c5d
UD
7875 * sysdeps/i386/sysdep.h: Define atom_text_section.
7876 * sysdeps/x86_64/sysdep.h: Likewise.
7877 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7878 section with atom_text_section.
7879 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7880 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7881 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7882 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7883 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7884
a77d3c17
UD
7885 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7886 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7887 already be defined. Change to take two parameters and don't assign
7888 result to variable. Adjust all users.
7889 Define INTERNAL_GETTIME if not already defined.
7890 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7891 call.
7892 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7893 HAVE_CLOCK_GETTIME_VSYSCALL.
7894 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7895
d53a73ac
UD
7896 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7897 gettimeofday vsyscall, just use time.
7898
a8f84144
AS
78992011-09-06 Andreas Schwab <schwab@redhat.com>
7900
7901 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7902 <errno.h>.
7903
ef606249
UD
79042011-09-06 Ulrich Drepper <drepper@gmail.com>
7905
7906 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7907 syscall on x86-64.
7908 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7909 syscall.
7910 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7911 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7912 syscall if possible.
7913
6585cb60
UD
79142011-09-05 Ulrich Drepper <drepper@gmail.com>
7915
7916 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7917 e_ident. Don't pass to find_mapsXX.
7918 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7919
a5f524e4
LD
79202011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7921
7922 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7923 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7924 * sysdeps/x86_64/multiarch/strchr.S: Update.
7925 Check bit_slow_BSF bit.
7926 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7927 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7928 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7929
554881ef
UD
79302011-09-05 Ulrich Drepper <drepper@gmail.com>
7931
d96de963
UD
7932 [BZ #13134]
7933 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7934 before glibc 2.15.
7935 (tryshell): Define.
7936 (__spawni): Change last parameter to be flag. Test
7937 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7938 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7939 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7940 * posix/spawni.c: Likewise.
7941 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7942 * posix/spawnp.c: Likewise. Change normal version to use
7943 SPAWN_XFLAGS_USE_PATH.
7944 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7945 SPAWN_XFLAGS_TRY_SHELL.
7946
d48e5868
UD
7947 [BZ #13150]
7948 * posix/glob.h: Remove gcc 1.x support.
7949
554881ef
UD
7950 [BZ #13068]
7951 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7952
693fb948
LD
79532011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7954
7955 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7956 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7957 strrchr-sse2-bsf
7958 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7959 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7960 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7961 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7962 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7963 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7964
1b48c537
UD
79652011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7966
49d42c37
UD
7967 * sysdeps/x86_64/wcscmp.S: New file.
7968
1b48c537
UD
7969 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7970 wcscmp-c wcscmp-sse2
7971 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7972 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7973 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7974 * wcsmbs/wcscmp.c: Allow renaming.
7975
15c95c5d
DM
79762011-09-05 David S. Miller <davem@davemloft.net>
7977
7978 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7979 stack slot, rather than the struct return pointer slot.
7980 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7981 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7983 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7984
2f0ad8f3
UD
79852011-09-05 Ulrich Drepper <drepper@gmail.com>
7986
d88ae418
UD
7987 * po/ja.po: Update from translation team.
7988
2f0ad8f3
UD
7989 [BZ #13144]
7990 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7991 kernel in 64-bit binaries.
7992
5f4318d1
DM
79932011-09-01 David S. Miller <davem@davemloft.net>
7994
7995 * elf/elf.h (HWCAP_SPARC_*): Move to..
7996 * sysdeps/sparc/sysdep.h: this new file and add new values.
7997 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7998 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7999 _DL_HWCAP_COUNT to 24.
8000 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8001 entries.
8002 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
8003 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
8004 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
8005 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
8006 instead of magic constants.
8007 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
8008
3ba57516
DM
80092011-08-31 David S. Miller <davem@davemloft.net>
8010
8011 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
8012 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
8013 Reimplement to do errno handling inline.
8014 (SYSCALL_ERROR_HANDLER): New macro.
8015 (__SYSCALL_STRING): Do not do errno handling in asm.
8016 (__CLONE_SYSCALL_STRING): Delete.
8017 (__INTERNAL_SYSCALL_STRING): Delete.
8018 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
8019 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
8020 (PSEUDO): Reimplement to do errno handling inline.
8021 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
8022 (SYSCALL_ERROR_HANDLER): New macro.
8023 (__SYSCALL_STRING): Do not do errno handling in asm.
8024 (__CLONE_SYSCALL_STRING): Delete.
8025 (__INTERNAL_SYSCALL_STRING): Delete.
8026 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
8027 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
8028 i386.
8029 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
8030 (inline_syscall*): Add 'err' argument.
8031 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
8032 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
8033 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
8034 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
8035
8036 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
8037 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
8038
2bc17433
AS
80392011-08-30 Andreas Schwab <schwab@redhat.com>
8040
8041 * elf/rtld.c (dl_main): Relocate objects in dependency order.
8042
fbeb5f4d
JO
80432011-08-29 Jiri Olsa <jolsa@redhat.com>
8044
8045 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
8046 directive.
8047
ad69cc26
DM
80482011-08-24 David S. Miller <davem@davemloft.net>
8049
8050 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
8051
39dd69df
AS
80522011-08-24 Andreas Schwab <schwab@redhat.com>
8053
8054 * elf/Makefile: Add rules to build and run unload8 test.
8055 * elf/unload8.c: New file.
8056 * elf/unload8mod1.c: New file.
8057 * elf/unload8mod1x.c: New file.
8058 * elf/unload8mod2.c: New file.
8059 * elf/unload8mod3.c: New file.
8060
8061 * elf/dl-close.c (_dl_close_worker): Reset private search list if
8062 it wasn't used.
8063
2c0b250a
DM
80642011-08-23 David S. Miller <davem@davemloft.net>
8065
8066 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
8067 subtract stack bias.
8068 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
8069 %sp not %fp in calculations.
8070 (_JMPBUF_UNWINDS_ADJ): Likewise.
8071
22044b48
DM
8072 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
8073 (aio_suspend): Call it to force an exception region around the
8074 AIO_MISC_WAIT() invocation.
8075
2cae4995
AS
80762011-08-23 Andreas Schwab <schwab@redhat.com>
8077
8078 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
8079 backslash.
8080
873a772e
AJ
80812011-07-04 Aurelien Jarno <aurelien@aurel32.net>
8082
8083 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
8084 protection macro.
8085 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
8086 and <dl-machine.h>.
8087 (Elf64_FuncDesc): Remove.
8088
25ad0df1
DM
80892011-08-22 David S. Miller <davem@davemloft.net>
8090
8091 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
8092 sigaltstack check, add missing cfi directives.
8093 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
8094 missing cfi directives, and sigaltstack handling.
8095
e888bcbe
AS
80962011-08-16 Andreas Schwab <schwab@redhat.com>
8097
8098 [BZ #11724]
8099 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
8100 object is seen twice.
8101 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8102
8103 * elf/Makefile (distribute): Add tst-initorder2.c.
8104 (tests): Add tst-initorder2.
8105 (modules-names): Add tst-initorder2a tst-initorder2b
8106 tst-initorder2c tst-initorder2d. Add rules to build them.
8107 ($(objpfx)tst-initorder2.out): New rule.
8108 * elf/tst-initorder2.c: New file.
8109 * elf/tst-initorder2.exp: New file.
8110
87162f46
AS
81112011-08-22 Andreas Schwab <schwab@redhat.com>
8112
70538b7f
AS
8113 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
8114
f55ffe58
AS
8115 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
8116 dependencies back to end of function.
8117
87162f46
AS
8118 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8119 $(elfobjdir)/ld.so.
8120
91b392a4
UD
81212011-08-21 Ulrich Drepper <drepper@gmail.com>
8122
8123 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
8124 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
8125 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
8126 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
8127 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
8128 of __vdso_gettimeofday.
8129 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
8130 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
8131 attribute_hidden.
8132 (_libc_vdso_platform_setup): Remove initialization of
8133 __vdso_gettimeofday and __vdso_time.
8134
5c43483f
UD
81352011-08-20 Ulrich Drepper <drepper@gmail.com>
8136
775a77e7
UD
8137 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
8138 and fgetc_unlocked.
8139 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
8140 getc_unlocked.
89f447ed 8141
49c74ba9
UD
8142 * elf/dl-open.c (add_to_global): Report additions to the global scope
8143 for LD_DEBUG=scopes.
8144 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 8145 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 8146
5c43483f
UD
8147 [BZ #13114]
8148 * stdio-common/Makefile (tests): Add bug24.
8149 * stdio-common/bug24.c: New file.
8150
a101b025
AJ
81512011-08-19 Andreas Jaeger <aj@suse.de>
8152
8153 [BZ #13114]
8154 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
8155 non-existant file when using close-on-exec mode.
8156
c88f1766
UD
81572011-08-20 Ulrich Drepper <drepper@gmail.com>
8158
0276a718
UD
8159 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
8160 the very first instruction.
8161
c88f1766
UD
8162 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
8163 the CFI state in the end.
8164 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
8165 inclusion of dl-trampoline.h.
8166 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
8167
51ccffa0
AS
81682011-08-19 Andreas Schwab <schwab@redhat.com>
8169
94d7165f
AS
8170 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
8171 expectations for long double.
8172
51ccffa0
AS
8173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
8174 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
8175
fd708658 81762011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
8177
8178 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
8179 artificual limit depends upon the system page size.
8180
44f0a71e
UD
81812011-08-17 Ulrich Drepper <drepper@gmail.com>
8182
8183 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
8184 * resolv/Makefile: Define CFLAGS-libresolv.
8185
8de79a24
AS
81862011-08-17 Andreas Schwab <schwab@redhat.com>
8187
8188 * nss/makedb.c (compute_tables): Make variables used in nested
8189 function static.
8190
27724598
UD
81912011-08-17 Ulrich Drepper <drepper@gmail.com>
8192
c5305d88
UD
8193 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
8194 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
8195 if buffer was too small.
8196
27724598
UD
8197 * elf/pldd.c (main): Attach to all threads in the process.
8198 Rewrite /proc handling to use *at functions.
8199
076fe015
UD
82002011-08-16 Ulrich Drepper <drepper@gmail.com>
8201
174baab3
UD
8202 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
8203 specifies first scope to show.
8204 (dl_open_worker): Update callers. Move printing scope of new
8205 object to before the relocation.
44f0a71e 8206 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
8207 * sysdeps/generic/ldsodefs.h: Update declaration.
8208
076fe015
UD
8209 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
8210 string for the scope number.
8211
a60df2c3
UD
82122011-08-14 Ulrich Drepper <drepper@gmail.com>
8213
8214 * nscd/servicescache.c (cache_addserv): Make sure written is always
8215 initialized.
8216
5e4287d1
RM
82172011-08-14 Roland McGrath <roland@hack.frob.com>
8218
85ae0589
RM
8219 * sysdeps/i386/i486/bits/atomic.h
8220 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
8221 statement expression, so as to suppress "set but not used" warning.
8222 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
8223
69f63097
RM
8224 * string/strncat.c (STRNCAT): Use prototype definition.
8225
675456ef
RM
8226 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
8227 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
8228 -Iprograms here.
8229 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
8230 (localedef-modules): Add localedef.
8231 (locale-modules): Add locale.
8232
5e4287d1
RM
8233 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
8234 * elf/rtld.c (dl_main): Invert order of assignment in last change,
8235 to avoid a warning.
8236
9c96ff23
DM
82372011-08-14 David S. Miller <davem@davemloft.net>
8238
8239 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
8240 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
8241
f9ddf089
UD
82422011-08-13 Ulrich Drepper <drepper@gmail.com>
8243
44f0a71e 8244 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
8245 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
8246 * elf/rtld.c (dl_main): Set l_name of vDSO.
8247 Call _dl_show_scope when DL_DEBUG_SCOPES.
8248 (process_dl_debug): Recognize scopes flag and also set it for all.
8249 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
8250 Declare _dl_show_scope.
8251
1dc27704
UD
8252 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
8253 (do_dlopen): Pass caller_dlopen to dl_open.
8254 (__libc_dlopen_mode): Initialize caller_dlopen.
8255
f9ddf089
UD
8256 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
8257 of libc. Make tolower call locale-independent. Optimize a bit by
8258 using isdigit instead of isalnum.
8259 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
8260
9ac533d3
UD
82612011-08-12 Ulrich Drepper <drepper@gmail.com>
8262
8263 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
8264 was a dependency or dynamically loaded.
8265
89edf2e9
UD
82662011-08-11 Ulrich Drepper <drepper@gmail.com>
8267
8e999d29
UD
8268 * intl/l10nflist.c: Allow architecture-specific pop function.
8269 * sysdeps/x86_64/l10nflist.c: New file.
8270
89edf2e9
UD
8271 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
8272 classification.
8273
14d96785
AS
82742011-08-10 Andreas Schwab <schwab@redhat.com>
8275
8276 * include/dirent.h: Add libc_hidden_proto for scandirat and
8277 scandirat64. Don't declare __scandirat64.
8278 * dirent/scandirat.c: Add libc_hidden_def.
8279 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
8280 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
8281
6761ac04
DM
82822011-08-10 David S. Miller <davem@davemloft.net>
8283
8284 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
8285 enum.
8286 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8287 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8288 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8289
c55fbd1e
UD
82902011-08-09 Ulrich Drepper <drepper@gmail.com>
8291
8292 * Versions.def [libc]: Add GLIBC_2.15.
8293 * dirent/Makefile (routines): Add scandirat and scandirat64.
8294 * dirent/Versions [libc]: Export scandirat and scandirat64 for
8295 GLIBC_2.15.
8296 * dirent/dirent.h: Declare scandirat and scandirat64.
8297 * dirent/scandirat.c: New file.
8298 * dirent/scandirat64.c: New file.
8299 * sysdeps/wordsize-64/scandirat.c: New file.
8300 * sysdeps/wordsize-64/scandirat64.c: New file.
8301 * dirent/opendir.c: Define opendirat.
8302 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
8303 using scandirat.
8304 * dirent/scandir64.c: Adjust for scandir.c change.
8305 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
8306 __scandirat64, and __scandir_cancel_handler.
8307 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
8308 additional parameter and use openat instead of open (outside of ld.so).
8309 Add new __opendir as wrapper around __opendirat.
8310 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
8311 here without requiring old scandirat implementation.
8312
879165f2
UD
83132011-08-08 Ulrich Drepper <drepper@gmail.com>
8314
8315 * dirent/scandir.c (cancel_handler): Renamed to
8316 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
8317 defined. Adjust users.
8318 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
8319 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
8320
cb7e923b
UD
83212011-08-04 Ulrich Drepper <drepper@gmail.com>
8322
16292edd
UD
8323 * string/test-string.h (IMPL): Use __STRING to expand name and then
8324 stringify it.
8325
cb7e923b
UD
8326 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
8327 of cleanups.
8328
cff82933
LD
83292011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8330
8331 * string/Makefile: Update.
8332 (strop-tests): Append strncat.
8333 * string/test-wcscmp.c: New file.
8334 New comprehensive test for wcscmp.
8335 * string/test-strcmp.c: Update.
8336 (WIDE): New define.
8337
9be9bfcc
AS
83382011-07-22 Andreas Schwab <schwab@redhat.com>
8339
8340 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
8341 line.
8342
2e96f1c7
AS
83432011-07-26 Andreas Schwab <schwab@redhat.com>
8344
8345 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8346 encoding to ACE if AI_IDN.
8347
85188888
JJ
83482011-08-01 Jakub Jelinek <jakub@redhat.com>
8349
8350 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
8351 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
8352
5fa16e9b
LD
83532011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8354
8355 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
8356 Fix overflow bug in strncat.
8357 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8358
8359 * string/test-strncat.c: Update.
8360 Add new tests for checking overflow bugs.
8361
83622011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8363
8364 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8365 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
8366 * sysdeps/i386/i686/multiarch/strcat.S: New file.
8367 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
8368 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
8369 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
8370 * sysdeps/i386/i686/multiarch/strncat.S: New file.
8371 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
8372 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
8373
8374 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
8375 (USE_AS_STRCAT): Define.
8376 Add strcat and strncat support.
8377 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8378
8c1a459f
AS
83792011-07-25 Andreas Schwab <schwab@redhat.com>
8380
8381 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
8382 __n bigger than INT_MAX+1.
8383 (__strncmp_g): Likewise.
8384
bba33c28
UD
83852011-07-23 Ulrich Drepper <drepper@gmail.com>
8386
798be72d
UD
8387 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
8388 * libio/stido.h: Likewise.
8389
8accd4dc
UD
8390 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
8391 (AF_NFC): Define.
8392 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
8393 (AF_NFC): Define.
8394
cbff0d96
UD
8395 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
8396 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8397 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8398 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8399 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8400
9191c04a
UD
8401 [BZ #13021]
8402 * scripts/test-installation.pl: Don't expect libnss_test1 to be
8403 installed.
8404
bba33c28
UD
8405 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
8406 typo.
8407 (_dl_x86_64_save_sse): Likewise.
8408
90f139dd
UD
84092011-07-22 Ulrich Drepper <drepper@gmail.com>
8410
1aae088a
UD
8411 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
8412 OSXSAVE.
8413 (_dl_x86_64_save_sse): Likewise.
8414
8e2045f5
UD
8415 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
8416
90f139dd
UD
8417 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
8418
1d002f25
AS
84192011-07-21 Andreas Schwab <schwab@redhat.com>
8420
8421 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
8422 change.
8423 (_dl_x86_64_save_sse): Use correct AVX check.
8424
21137f89
UD
84252011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8426
8427 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
8428 bug in strncpy/strncat.
8429 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8430
a65c0b7a
UD
84312011-07-21 Ulrich Drepper <drepper@gmail.com>
8432
8433 * string/tester.c (test_strcat): Add tests for different alignments
8434 of source and destination.
8435 (test_strncat): Likewise.
8436
6986b98a
UD
84372011-07-20 Ulrich Drepper <drepper@gmail.com>
8438
90bb2039
UD
8439 [BZ #12852]
8440 * posix/glob.c (glob): Check passed in values before using them in
8441 expressions to avoid some overflows.
8442 (glob_in_dir): Likewise.
8443
5644ef54
UD
8444 [BZ #13007]
8445 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
8446 check for AVX enablement so that we don't crash with old kernels and
8447 new hardware.
8448 * elf/tst-audit4.c: Add same checks here.
8449 * elf/tst-audit6.c: Likewise.
8450
8451 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 8452
bfc9dc9b
AS
84532011-07-09 Andreas Schwab <schwab@linux-m68k.org>
8454
8455 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
8456
702e64bb
UD
84572011-07-20 Ulrich Drepper <drepper@gmail.com>
8458
8459 * po/cs.po: Update from translation team.
8460 * po/bg.po: Likewise.
8461
295e904f
MP
84622011-07-12 Marek Polacek <mpolacek@redhat.com>
8463
8464 * misc/sys/cdefs.h: Add support for const attribute.
8465 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
8466 to gnu_dev_{major,minor,makedev} functions.
8467
3ff94596
MP
84682011-07-20 Marek Polacek <mpolacek@redhat.com>
8469
8470 * intl/dcigettext.c (get_output_charset): Add missing bracket.
8471
28b59fca
AS
84722011-07-20 Andreas Schwab <schwab@redhat.com>
8473
8474 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
8475 strlen results.
8476
19df733e
AK
84772011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8478
8479 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8480 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
8481 register in order to avoid conflicts with the soft frame pointer
8482 being held in r11 when necessary.
8483 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8484 (INTERNAL_VSYSCALL_NCS): Likewise.
8485
c8835729
MP
84862011-07-14 Marek Polacek <mpolacek@redhat.com>
8487
8488 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8489 * elf/dl-fini.c (_dl_fini): Adjust caller.
8490 * elf/dl-close.c (_dl_close_worker): Likewise.
8491 * sysdeps/generic/ldsodefs.h: Adjust declaration.
8492
b902330c
MP
84932011-07-15 Marek Polacek <mpolacek@redhat.com>
8494
8991e135
MP
8495 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8496 "aux_cache->nlibs < 0".
8497
b902330c
MP
8498 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8499 in the reload-count case.
8500
99710781
LD
85012011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8502
8503 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8504 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8505 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8506 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8507 * sysdeps/x86_64/multiarch/strcat.S: New file.
8508 * sysdeps/x86_64/multiarch/strncat.S: New file.
8509 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8510 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8511 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8512 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8513 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8514 (USE_AS_STRCAT): Define.
8515 Add strcat and strncat support.
8516 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8517 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8518 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8519 * string/strncat.c: Update.
8520 (USE_AS_STRNCAT): Define.
8521 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8522 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8523 and i7.
8524 * sysdeps/x86_64/multiarch/init-arch.h
8525 (bit_Prefer_PMINUB_for_stringop): New.
8526 (index_Prefer_PMINUB_for_stringop): Likewise.
8527 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8528 bit_Prefer_PMINUB_for_stringop.
8529
7dc6bd90
UD
85302011-07-19 Ulrich Drepper <drepper@gmail.com>
8531
8532 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8533 buffer64.
8534 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8535 of casting of buffer.
8536 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8537 buffer32 and buffer64.
8538 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8539 writes instead of casting of buffer.
8540 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8541 buffer32.
8542 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8543 casting of buffer.
8544
e0e72284
AS
85452011-07-19 Andreas Schwab <schwab@redhat.com>
8546
8547 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8548
feb1eb0b
UD
85492011-07-19 Ulrich Drepper <drepper@gmail.com>
8550
8551 * nscd/nscd.c (termination_handler): Don't do anything for a database
8552 if it has not yet been initialized.
8553
298711ff
UD
85542011-07-18 Ulrich Drepper <drepper@gmail.com>
8555
8556 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8557
85582011-07-15 Marek Polacek <mpolacek@redhat.com>
8559
8560 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8561
f9d68389
UD
85622011-07-18 Ulrich Drepper <drepper@gmail.com>
8563
8564 * po/nl.po: Update from translation team.
8565 * po/sv.po: Likewise.
8566
db290cf5
RM
85672011-07-16 Roland McGrath <roland@hack.frob.com>
8568
8569 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8570 now disallowed by GCC.
5c550700 8571
fd5e21c7
RM
8572 * configure.in (use-default-link): Default to yes if a test -shared
8573 link meets our qualifications.
8574 * configure: Regenerated.
8575
5c550700
RM
8576 * config.make.in (output-format): New variable.
8577 * configure.in: Check for ld --print-output-format support.
8578 * configure: Regenerated.
8579 * Makerules ($(common-objpfx)format.lds)
8580 [$(output-format) != unknown]: Just use $(output-format),
8581 instead of the linker-script munging.
8582
9fa2c032
RM
85832011-07-14 Roland McGrath <roland@hack.frob.com>
8584
a6928d51
RM
8585 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8586 of $(common-objpfx)shlib.lds.
8587 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8588
661607b3
RM
8589 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8590 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8591
9fa2c032
RM
8592 * configure.in (-z relro check): Adjust test code to add a large
8593 writable data section after it.
8594 * configure: Regenerated.
8595
defe9061
RM
85962011-07-11 Roland McGrath <roland@hack.frob.com>
8597
8598 * configure.in (-z relro check): Fix test code to make the variable
8599 truly const.
8600 * configure: Regenerated.
8601
319b9ad4
UD
86022011-07-11 Ulrich Drepper <drepper@gmail.com>
8603
8604 * nscd/nscd.h (struct traced_file): Define.
8605 (struct database_dyn): Remove inotify_descr, reset_res, and filename
8606 elements. Add traced_files.
8607 (inotify_fd): Declare.
8608 (register_traced_file): Declare.
8609 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
8610 (inotify_fd): Export.
8611 (resolv_conf_descr): Remove.
8612 (nscd_init): Move inotify descriptor creation to main.
8613 Don't register files for notification here.
8614 (register_traced_file): New function.
8615 (invalidate_cache): Don't use reset_res to determine whether to call
8616 res_init, go through the list of registered files.
8617 (main_loop_poll): The inotify descriptors are now stored in the
8618 structures for the traced files.
8619 (main_loop_epoll): Likewise
8620 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
8621 to __nss_disable_nscd.
8622 * nscd/cache.c (prune_cache): There is no single inotify descriptor
8623 for a database anymore. Check the records for all the registered
8624 files instead.
8625 * nss/Makefile (libnss_files-routines): Add files-init.
8626 (libnss_db-routines): Add db-init.
8627 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8628 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8629 * nss/nss_db/db-init.c: New file.
8630 * nss/nss_files/files-init.c: New file.
8631 * nss/nsswitch.c (nss_load_library): New function. Broken out of
8632 __nss_lookup_function.
8633 (__nss_lookup_function): Call nss_load_library.
8634 (nss_load_all_libraries): New function.
8635 (__nss_disable_nscd): Take parameter with callback function for files
8636 to register. Set is_nscd. Load all the DSOs for the NSS modules
8637 used for the cached services.
8638 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8639 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8640 options for features to all the files in nscd.
8641
8642 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8643
23bee3e8
RM
86442011-07-10 Roland McGrath <roland@hack.frob.com>
8645
8646 * csu/elf-init.c (__libc_csu_init): Comment typo.
8647
46a5b7f0
UD
86482011-07-09 Ulrich Drepper <drepper@gmail.com>
8649
8650 * po/pl.po: Update from translation team.
8651 * po/ja.po: Likewise.
8652 * po/ru.po: Likewise.
8653 * po/ko.po: Likewise.
8654 * po/fr.po: Likewise.
8655
d30cf5bb
RM
86562011-07-09 Roland McGrath <roland@hack.frob.com>
8657
113ddea4
RM
8658 * configure.in (.ctors/.dtors header and trailer check):
8659 Use an empirical test on a built program.
8660 * configure: Regenerated.
8661
574920b4
RM
8662 * configure.in (-z relro check): Use an empirical test on a built DSO.
8663 Detect, but do not require, on ia64.
8664 * configure: Regenerated.
8665
d30cf5bb
RM
8666 * configure.in (READELF): Find it with AC_CHECK_TOOL.
8667 Update tests that use readelf to use $READELF instead.
8668 * configure: Regenerated.
8669
8538fdb3
UD
86702011-07-08 Ulrich Drepper <drepper@gmail.com>
8671
8672 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8673 if the result is not used.
8674
04d08991
AJ
86752011-07-05 Andreas Jaeger <aj@suse.de>
8676
8677 [BZ#9696]
8678 * stdlib/tst-strtod.c: Add testcase.
8679
de283087
AD
86802011-07-07 Ulrich Drepper <drepper@gmail.com>
8681
4e5f31c8 8682 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 8683 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
8684 The latter has a higher limit. Take additional parameter to pass to
8685 the new function.
8686 (__pathconf): Pass file to __statfs_link_max.
8687 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8688 __statfs_link_max.
8689 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8690 __statfs_link_max.
8691
de283087
AD
8692 [BZ #12868]
8693 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8694 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8695 Handle Lustre.
8696 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8697 (__statfs_filesize_max): Likewise.
8698 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8699
c75fa153
AJ
87002011-07-05 Andreas Jaeger <aj@suse.de>
8701
8702 * resolv/res_comp.c (dn_skipname): Remove unused variable.
8703
1a544854
UD
87042011-07-06 Marek Polacek <mpolacek@redhat.com>
8705
8706 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8707 `status' variable.
8708 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8709 Likewise.
8710
6f0eec67
UD
87112011-07-04 H.J. Lu <hongjiu.lu@intel.com>
8712
8713 * Makefile (strop-tests): Add strncat.
8714 * string/test-strncat.c: New file.
8715
aae30307
UD
87162011-06-30 Marek Polacek <mpolacek@redhat.com>
8717
8718 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8719
c0cfb5eb
UD
87202011-06-21 Andreas Jaeger <aj@suse.de>
8721
8722 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8723 Copy rule from iconvdata/Makefile.
8724
01636b21
UD
87252011-07-06 Ulrich Drepper <drepper@gmail.com>
8726
8727 [BZ #12922]
8728 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8729 but no long options are defined, just return 'W'.
8730
9895c8bc
UD
87312011-06-22 Marek Polacek <mpolacek@redhat.com>
8732
8733 [BZ #9696]
8734 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8735
5d4cf042
UD
87362011-07-06 Ulrich Drepper <drepper@gmail.com>
8737
8738 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8739 netgroups to read.
960e5535 8740 (innetgr): Likewise.
5d4cf042 8741
751eb97e
RM
87422011-07-05 Roland McGrath <roland@hack.frob.com>
8743
8744 * config.make.in (install_root): Default to $(DESTDIR).
8745
f15f1e45
UD
87462011-07-05 Ulrich Drepper <drepper@gmail.com>
8747
8748 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8749
4e34ac6a
RM
87502011-07-02 Roland McGrath <roland@hack.frob.com>
8751
5e9b6af4
RM
8752 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8753
84f9ea0f
RM
8754 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8755 containing directory rather than embedding absolute directory names.
8756
ea5ee9f7
RM
8757 * scripts/check-local-headers.sh: Rewritten using awk.
8758 Match by word, not by line. Print error messages for matches.
8759 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8760
1b74661a
RM
8761 * Makerules [shlib-lds-flags empty]:
8762 ($(common-objpfx)libc_pic.opts): New target.
8763 ($(common-objpfx)libc_pic.os.clean): New target.
8764 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8765
8766 * config.make.in (OBJCOPY): New variable.
8767 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8768 * configure: Regenerated.
8769
f781ef40
RM
8770 * config.make.in (use-default-link): New variable.
8771 * configure.in (use_default_link): Grok --with-default-link to set it.
8772 * configure: Regenerated.
8773 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8774 (shlib-lds, shlib-lds-flags): Define to empty.
8775
2d4fa81e
RM
8776 * Makerules (shlib-lds): New variable.
8777 (shlib-lds-flags): New variable.
8778 (build-shlib, build-moduile, build-module-asneeded): Use it.
8779 ($(common-objpfx)libc.so): Use $(shlib-lds).
8780 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8781 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8782
31fffa6b
RM
8783 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8784 DT_FLAGS/DT_FLAGS_1 with zero flags.
8785
4e34ac6a
RM
8786 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8787 linker script munging.
8788
fcfc776b
UD
87892011-07-02 Ulrich Drepper <drepper@gmail.com>
8790
8791 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8792 as 128-bit value.
8793 * crypt/sha512.c (sha512_process_block): Perform total addition using
8794 128-bit if possible.
8795 (__sha512_finish_ctx): Likewise.
8796 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8797 as 64-bit value.
8798 * crypt/sha256.c (SWAP64): Define.
8799 (sha256_process_block): Perform total addition using 64-bit if
8800 possible.
8801 (__sha256_finish_ctx): Likewise.
8802
99231d9a
UD
88032011-07-01 Ulrich Drepper <drepper@gmail.com>
8804
8805 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
8806 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8807 * nscd/hstcache.c (cache_addhst): Likewise.
8808 * nscd/grpcache.c (cache_addgr): Likewise.
8809 * nscd/aicache.c (addhstaiX): Likewise
8810 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8811
445b4a53
TK
88122011-07-01 Thorsten Kukuk <kukuk@suse.de>
8813
8814 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8815 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8816 * nscd/hstcache.c (cache_addhst): Likewise.
8817 * nscd/grpcache.c (cache_addgr): Likewise.
8818 * nscd/aicache.c (addhstaiX): Likewise
8819
6d4d8e8e
AS
88202011-07-01 Andreas Schwab <schwab@redhat.com>
8821
8822 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8823 domain only when needed.
8824
89f654c5
AS
88252011-06-30 Andreas Schwab <schwab@redhat.com>
8826
8827 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8828 is always restored.
8829
cf3b23ff
UD
88302011-06-29 Ulrich Drepper <drepper@gmail.com>
8831
8832 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8833 are re-adding the entry.
8834 * nscd/servicescache.c (cache_addserv): Likewise.
8835
751626f9
AJ
88362011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8837
8838 * sysdeps/generic/dl-irel.h: fix protection against multiple
8839 inclusions.
8840 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8841
9113ea1f
UD
88422011-06-28 Ulrich Drepper <drepper@gmail.com>
8843
5c0b8d90
UD
8844 [BZ #12935]
8845 * malloc/memusage.sh: Fix quoting in message.
8846 * debug/xtrace.sh: Likewise.
8847
9113ea1f
UD
8848 * configure.in: Remove support for --experimental-malloc option, make
8849 it the default.
8850 * config.make.in: Likewise.
8851 * malloc/Makefile: Likewise.
8852
a4172181
AS
88532011-06-27 Andreas Schwab <schwab@redhat.com>
8854
8855 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8856 two-byte characters.
8857
78a7eee7
RM
88582011-06-27 Roland McGrath <roland@hack.frob.com>
8859
62bede13
RM
8860 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8861 AC_CACHE_CHECK invocation.
8862 * configure: Regenerated.
8863
78a7eee7
RM
8864 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8865
5ce33a62
UD
88662011-06-27 Ulrich Drepper <drepper@gmail.com>
8867
034807a9
UD
8868 [BZ #12350]
8869 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8870 bit from old_res_options.
8871
4902da17
UD
8872 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8873
5ce33a62
UD
8874 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8875 value type for setfct.
8876
c2344f56
L
88772011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8878
8879 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8880 __gettimeofday instead of gettimeofday.
8881
68468076
UD
88822011-06-26 Ulrich Drepper <drepper@gmail.com>
8883
8884 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8885
acb0d739
L
88862011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8887
8888 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8889
8890 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8891 info.
8892
8912479f
L
88932011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8894
8895 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8896 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8897 strcpy-sse2-unaligned strncpy-sse2-unaligned
8898 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8899 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8900 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8901 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8902 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8903 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8904 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8905 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8906 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8907 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8908 (STRCPY): Support SSE2 and SSSE3 versions.
8909
d5495a11
UD
89102011-06-24 Ulrich Drepper <drepper@gmail.com>
8911
8912 [BZ #12874]
8913 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8914 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8915 kernels which artificially limit size of requests.
8916
0b1cbaae
L
89172011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8918
8919 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8920 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8921 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8922 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8923 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8924 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8925 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8926 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8927 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8928 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8929 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8930 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8931 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8932 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8933 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8934 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8935 Enable unaligned load optimization for Intel Core i3, i5 and i7
8936 processors.
8937 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8938 Define.
8939 (index_Fast_Unaligned_Load): Define.
8940 (HAS_FAST_UNALIGNED_LOAD): Define.
8941
07f494a0
MP
89422011-06-23 Marek Polacek <mpolacek@redhat.com>
8943
8944 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8945
fa3fc0fe
UD
89462011-06-22 Ulrich Drepper <drepper@gmail.com>
8947
8948 [BZ #12907]
8949 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8950 until it is clear that the information is realy needed.
8951 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8952
e12df166
AS
89532011-06-22 Andreas Schwab <schwab@redhat.com>
8954
8955 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8956
852eb34d
UD
89572011-06-22 Ulrich Drepper <drepper@gmail.com>
8958
84e2a551
UD
8959 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8960 /sys/devices/system/cpu/online if it is usable.
8961
852eb34d
UD
8962 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8963 reading the information from the /proc filesystem to once a second.
8964
6e502e19
UD
89652011-06-21 Andreas Jaeger <aj@suse.de>
8966
8967 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8968 NULL after inclusion of kernel headers.
8969
75d39ff2
UD
89702011-06-21 Ulrich Drepper <drepper@gmail.com>
8971
51f9aa6a
UD
8972 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8973 calls to internal_setent.
8974
c0244a9d
UD
8975 [BZ #12885]
8976 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8977 addresses using gethostbyname4_r ignore IPv4 addresses.
8978
c5e3c2ae
UD
8979 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8980 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8981
75d39ff2
UD
8982 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8983
42675c6f
DM
89842011-06-20 David S. Miller <davem@davemloft.net>
8985
8986 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8987 inclusions.
8988 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8989
8990 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8991 (elf_irel): Use it.
8992 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8993 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8994 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8995 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8996 * sysdeps/x86_64/dl-irel.h: Likewise.
8997
8998 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8999 * elf/dl-sym.c: Likewise.
9000
57912a71
UD
90012011-06-15 Ulrich Drepper <drepper@gmail.com>
9002
9003 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
9004 need to dereference resplen2.
9005
ee22793d
AS
90062011-06-14 Andreas Schwab <schwab@redhat.com>
9007
9008 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
9009
a9e836b0
UD
90102011-06-15 Ulrich Drepper <drepper@gmail.com>
9011
77fb9117
UD
9012 * Makeconfig: Define vardbdir and inst_vardbdir.
9013 * nss/Makefile: Add rules to install db-Makefile.
9014
40c1b22c
UD
9015 * nss/nss_db/db-XXX.c: Cleanup.
9016
9f2da732
UD
9017 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
9018 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
9019 GLIBC_PRIVATE.
9020 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
9021 * nss/makedb.c: Implement -g option to specify that value strings
9022 are generated and should not be added to table iterated over for
9023 get*ent calls.
9024 * nss/nss_db/db-initgroups.c: New file.
9025
82e9a1f7
UD
9026 * nss/getent.c: Add support for initgroups lookups through getgrouplist
9027 interface.
9028
c41af17e
UD
9029 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
9030 (internal_getgrouplist): Adjust to name change.
9031 Update use_initgroups_entry if this is not the first call.
9032 * nss/databases.def: Add initgroups entry.
9033
a9e836b0
UD
9034 * nss/makedb.c (compute_tables): Check result of multiple hash table
9035 sizes to minimize maximum chain length.
9036
2666d441
UD
90372011-06-14 Ulrich Drepper <drepper@gmail.com>
9038
9039 * Versions.def: Add entry for libnss_db.
9040 * shlib-versions: Likewise.
9041 * nss/Makefile: Add rules to build libnss_db.
9042 * nss/Versions: Add libnss_db information. Organize libnss_files
9043 entries better.
9044 * nss/db-Makefile: Add gshadow support. Change rules for the new
9045 makedb progra. Some minor improvements to generate smaller files.
9046 * nss/nss_db/nss_db.h: Move NSS database header data structures to
9047 here from...
9048 * nss/makedb.c: ...here.
9049 Improve database format to be smaller and require less memory at
9050 runtime.
9051 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
9052 db anymore.
9053 * nss/nss_db/db-netgrp.c: Likewise.
9054 * nss/nss_db/db-open.c: Likewise.
9055 * nss/nss_files/flies-XXX.x: Adjust comments.
9056 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
9057 * nss/nss_files/files-grp.c: Likewise.
9058 * nss/nss_files/files-hosts.c: Likewise.
9059 * nss/nss_files/files-network.c: Likewise.
9060 * nss/nss_files/files-proto.c: Likewise.
9061 * nss/nss_files/files-pwd.c: Likewise.
9062 * nss/nss_files/files-rpc.c: Likewise.
9063 * nss/nss_files/files-service.c: Likewise.
9064 * nss/nss_files/files-sgrp.c: Likewise.
9065 * nss/nss_files/files-spwd.c: Likewise.
9066 * nss/nss_db/db-alias.c: Removed.
9067 * nss/nss_db/dummy-db.h: Removed.
9068
9ee76b5a
UD
90692011-06-02 Ulrich Drepper <drepper@gmail.com>
9070
9071 * nss/makedb.c: Rewritten to not use database library.
9072 * nss/Makefile: Update to build new makedb program.
9073
c71ca1f8
AJ
90742011-06-14 Andreas Jaeger <aj@suse.de>
9075
9076 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
9077 memset declaration.
9078
3154bfb8
UD
90792011-06-10 Andreas Schwab <schwab@redhat.com>
9080
9081 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
9082 tmpbuf.
9083
b350afab
RM
90842011-06-10 Roland McGrath <roland@hack.frob.com>
9085
decd4e50
RM
9086 * Makerules (shlib.lds): Fail if the linker script comes out empty.
9087 * elf/Makefile ($(objpfx)ld.so): Likewise.
9088
5615eaf2
RM
9089 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
9090 Don't list ld.so twice in dependencies.
9091
9092 * posix/bug-regex31.c: Include <stdlib.h>.
9093
9094 * nscd/hstcache.c (cache_addhst): Remove unused variable.
9095
9096 * nis/nss_compat/compat-spwd.c
9097 (getspent_next_nss_netgr): Remove unused variable.
9098 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
9099
9100 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
9101 nonmembers" output to use the right array.
9102
9103 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
9104
9105 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
9106
9107 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
9108 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
9109 * catgets/gencat.c (read_input_file): Likewise.
9110 * locale/programs/locarchive.c (enlarge_archive): Likewise.
9111
9112 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
9113 variable definition inside #if's controlling its use.
9114
9115 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
9116
9117 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
9118
9119 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
9120
9121 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
9122 unreachable code.
9123
9124 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
9125
b68e08db
RM
9126 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
9127 * configure: Regenerated.
9128
b350afab
RM
9129 * Makerules: Revert last change.
9130 * elf/Makefile: Likewise.
9131
28368601
RM
91322011-06-09 Roland McGrath <roland@hack.frob.com>
9133
9134 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
9135 * elf/Makefile ($(objpfx)librtld.os): Likewise.
9136 (reloc-link): Likewise.
9137
11988f8f
UD
91382011-06-09 Ulrich Drepper <drepper@gmail.com>
9139
9140 * elf/Makefile: Add rules to build pldd.
9141 * elf/pldd.c: New file.
9142 * elf/pldd-xx.c: New file.
9143
e80fab37
UD
91442011-06-07 Ulrich Drepper <drepper@gmail.com>
9145
9146 * version.h: Update for 2.15 development version.
9147
9b849836
DM
91482011-06-07 David S. Miller <davem@davemloft.net>
9149
9150 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
9151 ifuncs.
9152 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
9153 elf_machine_lazy_rel): Likewise.
9154 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9155 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
9156 elf_machine_lazy_rel): Likewise.
9157 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
9158 dl_hwcap via passed in argument.
9159 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
9160 Likewise.
9161
5a31b283
AK
91622011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9163
9164 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
9165
069e52f8
RM
91662011-06-06 Roland McGrath <roland@hack.frob.com>
9167
9168 [BZ #12849]
9169 * manual/fdl-1.1.texi: New file, verbatim from:
9170 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
9171 * manual/lgpl-2.1.texi: New file, verbatim from:
9172 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
9173 * manual/Makefile (licenses): New variable, list those new file names.
9174 (texis): Use it.
9175 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
9176
9177 * manual/fdl.texi: File removed.
9178 * manual/lesser.texi: File removed.
9179 * manual/libc.texinfo (Copying, Documentation License):
9180 Use new @include file names, put @appendix directive before @include.
9181
f16846a5
JJ
91822011-06-04 Jakub Jelinek <jakub@redhat.com>
9183
9184 [BZ #12841]
9185 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
9186 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
9187 (mq_open): Add __NTH.
9188
3d29045b
L
91892011-06-02 H.J. Lu <hongjiu.lu@intel.com>
9190
9191 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9192 Assume Intel Core i3/i5/i7 processor if AVX is available.
9193
8c297311
UD
91942011-05-31 Ulrich Drepper <drepper@gmail.com>
9195
9196 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9197 typo.
9198
c8fc0c91
UD
91992011-05-31 Andreas Schwab <schwab@redhat.com>
9200
9201 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
9202 memory. Use alloca_account. Fix memory leak when retrying.
9203
5b27a807
UD
92042011-05-31 Ulrich Drepper <drepper@gmail.com>
9205
356f8bc6
UD
9206 * version.h (RELEASE): Bump for 2.14 release.
9207 * include/features.h (__GLIBC_MINOR__): Bump to 14.
9208
5b27a807
UD
9209 * config.make.in (RANLIB): Remove entry.
9210
01f16ab0
UD
92112011-05-30 Ulrich Drepper <drepper@gmail.com>
9212
41fce8bd
UD
9213 * po/Makefile (po-sed-cmd): Add ksh to extensions.
9214 (libc.pot): Work around missing support for .ksh extension in xgettext.
9215
4769ae77
UD
9216 [BZ #12684]
9217 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
9218 if both request failed.
9219 (send_dg): In case of server errors clear resplen or *resplen2.
9220
6b1e7d19
UD
9221 [BZ #12454]
9222 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
9223 when there are multiple maps.
9224 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
9225 (_dl_fini): Remove test here.
9226
01f16ab0
UD
9227 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
9228
b1ebd700
UD
92292011-05-29 Ulrich Drepper <drepper@gmail.com>
9230
7ae22829
UD
9231 [BZ #12350]
9232 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
9233 bit from old_res_options.
9234 (gaih_inet): Likewise.
9235
553149f6 9236 [BZ #11099]
18a84741 9237 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
9238 as signed.
9239
652ffab1
UD
9240 * resolv/res_init.c (res_setoptions): Make the code more compact.
9241
16985fd0
UD
9242 [BZ #11558]
9243 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
9244 set RES_USEVC.
9245
0464f746
UD
9246 [BZ #11634]
9247 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
9248
7d17596c
UD
9249 * malloc/malloc.h: Mark malloc hook variables as deprecated.
9250
cf6bbbd7
UD
9251 [BZ #11781]
9252 * malloc/malloc.h: Declare malloc hook variables as volatile.
9253
13f1ab36
UD
9254 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
9255 in last patch.
9256
b1ebd700
UD
9257 [BZ #11799]
9258 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 9259 raise in the comment.
80e2212d
UD
9260 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9261 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9262 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 9263
ce67228d
UD
92642011-05-28 Ulrich Drepper <drepper@gmail.com>
9265
8887a920
UD
9266 [BZ #12811]
9267 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
9268 grow the buffers more if it already has to be sufficient.
9269 (build_wcs_upper_buffer): Likewise.
9270 * posix/regexec.c (check_matching): Likewise.
9271 (clean_state_log_if_needed): Likewise.
9272 (extend_buffers): Don't enlarge buffers beyond size of the input
9273 buffer.
9274 Patches mostly by Emil Wojak <emil@wojak.eu>.
9275 * posix/bug-regex32.c: New file.
9276 * posix/Makefile (tests): Add bug-regex32.
9277
4f031072
UD
9278 * locale/findlocale.c (_nl_find_locale): Return right away if
9279 _nl_explode_name failed.
9280 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9281
d0478f0c
UD
9282 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
9283
de81b246
UD
9284 * debug/xtrace.sh: Unify messages.
9285 * malloc/memusage.sh: Likewise.
9286
c738465a
UD
9287 [BZ #12813]
9288 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
9289 time symbol from vDSO. Substitute with vsyscall if not available.
9290 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
9291 __vdso_time.
9292
f1f929d7
UD
9293 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
9294 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
9295 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
9296 Add sendmmsg and internal_sendmmsg.
9297 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
9298 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
9299 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
9300
ce67228d
UD
9301 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
9302 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
9303 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
9304
e57420c6
UD
93052011-05-27 Ulrich Drepper <drepper@gmail.com>
9306
a8509ca5
UD
9307 [BZ #12813]
9308 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
9309 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
9310 available.
9311 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
9312 __vdso_getcpu.
9313
e57420c6
UD
9314 [BZ #12814]
9315 * iconvdata/Makefile (tests): Add bug-iconv9.
9316 * iconvdata/bug-iconv9.c: New file.
9317
4d07db15
AS
93182011-05-27 Andreas Schwab <schwab@redhat.com>
9319
9320 [BZ #12814]
9321 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
9322
ea486f69
JJ
93232011-05-25 Jakub Jelinek <jakub@redhat.com>
9324
9325 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9326 (struct user_regs_struct): Change intcs field back to cs.
9327
6f038433
UD
93282011-05-25 Ulrich Drepper <drepper@gmail.com>
9329
9330 * po/ja.po: Update from translation team.
9331
67f86a25
UD
93322011-05-23 Ulrich Drepper <drepper@gmail.com>
9333
9334 [BZ #12795]
9335 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
9336 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
9337
def7fbd6
AS
93382011-05-20 Andreas Schwab <schwab@redhat.com>
9339
9340 * stdlib/longlong.h: Update from GCC.
9341
f50ef8f1
AS
93422011-05-23 Andreas Schwab <schwab@redhat.com>
9343
9344 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
9345 parameter name.
9346 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
9347 Add parameter name.
9348 (__sysconf): Pass it down.
9349
de7ce8f1
UD
93502011-05-22 Ulrich Drepper <drepper@gmail.com>
9351
f2962a71
UD
9352 [BZ #12671]
9353 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
9354 some situations.
9355 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9356 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
9357 add in in __libc_use_alloca calls. Adjust callers.
9358 (glob): Use malloc in some situations.
9359
de7ce8f1
UD
9360 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
9361 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
9362 pltexit.
9363
aec84f53
UD
93642011-05-21 Ulrich Drepper <drepper@gmail.com>
9365
05bb4a68
UD
9366 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
9367 and CLOCK_BOOTTIME_ALARM.
9368
7ea72f99
UD
9369 [BZ #12782]
9370 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
9371 is returned.
9372
7e4afad5
UD
9373 * string/_strerror.c (__strerror_r): Print negative errors as signed
9374 numbers.
9375
8e211fec
UD
9376 [BZ #12777]
9377 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
9378 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
9379 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
9380
f7d82dc9
UD
9381 * configure.in: Fix typo in redirection and correct removal of test
9382 files in two cases.
9383
cc9e536d
UD
9384 [BZ #12788]
9385 * locale/setlocale.c (new_composite_name): Fix test to check for
9386 identical name of all categories.
9387
aec84f53
UD
9388 [BZ #12792]
9389 * libio/filedoalloc.c (local_isatty): New function.
9390 (_IO_file_doallocate): Use local_isatty.
9391 * stdio-common/perror.c (perror): In case a new stream is used
9392 forward the stream error.
9393 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
9394 error flag.
9395
78e64fdc
RT
93962011-05-20 Ulrich Drepper <drepper@gmail.com>
9397
34a9094f
UD
9398 [BZ #11869]
9399 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
9400 alloca.
9401 * include/alloca.h (extend_alloca_account): Define.
9402
78e64fdc
RT
9403 [BZ #11857]
9404 * posix/regex.h: Fix comments with documentation of user-accessible
9405 fields after compilation and describe correct free'ing of pattern
9406 after re_compile_pattern.
9407 Patch by Reuben Thomas <rrt@sc3d.org>.
9408
457bddfc
RA
94092011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
9410
9411 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
9412 and -mno-altivec to prevent the compiler from using Altivec and/or
9413 VSX instructions when the corresponding registers are not available.
9414
a4527b51
AS
94152011-05-19 Andreas Schwab <schwab@redhat.com>
9416
9417 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
9418
ed690b2f
UD
94192011-05-19 Ulrich Drepper <drepper@gmail.com>
9420
9421 * libio/freopen.c (freopen): Use __dup2, not dup2.
9422 * libio/freopen64.c (freopen64): Likewise.
9423
8db73634
L
94242011-05-17 H.J. Lu <hongjiu.lu@intel.com>
9425
9426 [BZ #12775]
9427 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
9428 * math/Makefile (tests): Add test-powl.
9429 (CFLAGS-test-powl.c): Define.
9430 * math/test-powl.c: New file.
9431
0a197a9d
L
94322011-05-16 H.J. Lu <hongjiu.lu@intel.com>
9433
9434 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
9435
ee30c380
UD
94362011-05-17 Ulrich Drepper <drepper@gmail.com>
9437
9438 [BZ #11837]
9439 * iconvdata/gb18030.c: Update to GB18020-2005.
9440
6ce75379
UD
94412011-05-16 Ulrich Drepper <drepper@gmail.com>
9442
a4b89fd8
AR
9443 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
9444 RE_SYNTAX_POSIX_AWK): Update to match recent development.
9445 Patch by Aharon Robbins <arnold@skeeve.com>.
9446
ea389b12
UD
9447 [BZ #11892]
9448 * stdlib/putenv.c (putenv): Don't always create copy of the variable
9449 on the stack.
9450
68a3f91f
UD
9451 [BZ #11895]
9452 * misc/pselect.c (__pselect): Handle timeout value errors hidden
9453 through underflows.
9454
15cc7dd1
UD
9455 [BZ #12766]
9456 * misc/error.c (error_at_line): Ensure file_name and old_file_name
9457 point to strings before performing equality test for error_one_per_line
9458 mode.
9459
f3799213
UD
9460 [BZ #11697]
9461 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
9462
d79a9c94
UD
9463 [BZ #11820]
9464 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9465 (struct user_fpregs_struct): Avoid __uint*_t types.
9466
56e5eb46
UD
9467 [BZ #6420]
9468 * malloc/mtrace.c (tr_where): Add additional parameter to point to
9469 symbol info. Use it instead of calling _dl_addr locally.
9470 (lock_and_info): New function.
9471 (tr_freehook): Call lock_and_info and pass symbol info as additional
9472 parameter to tr_where.
9473 (tr_mallochook): Likewise.
9474 (tr_reallochook): Likewise.
9475 (tr_memalignhook): Likewise.
9476
6ce75379
UD
9477 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
9478 used and couldn't be at all thread-safe.
9479
f8a3b5bf
UD
94802011-05-15 Ulrich Drepper <drepper@gmail.com>
9481
94b7cc37
UD
9482 * libio/freopen.c (freopen): Don't close old file descriptor
9483 before the new one is opened. Instead dup the new file descriptor
9484 to the old one after the new stream is created.
9485 * libio/freopen64.c (freopen64): Likewise.
9486 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9487 * libio/fileops.c (_IO_new_file_close_it): Handle new
9488 _IO_FLAGS2_NOCLOSE flag.
9489 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9490 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9491 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9492 _IO_FLAGS2_NOCLOSE flag.
9493 * include/unistd.h: Add hidden_proto for dup3.
9494 Define __have_dup3.
9495 * io/dup3.c: Define hidden symbol.
9496 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9497
bd25564e
UD
9498 [BZ #7101]
9499 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9500 when an incomplete long option is used.
9501 * posix/tst-getopt_long1.c: New file.
9502 * posix/Makefile (tests): Add tst-getopt_long1.
9503
c84cfef4
UD
9504 [BZ #10138]
9505 * scripts/config.guess: Update from autoconf-2.68.
9506 * scripts/config.sub: Likewise.
9507
3b85df27
UD
9508 [BZ #10157]
9509 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9510 tests into ...
9511 (has_cpuclock): ...this. New function.
9512 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9513 macro here based on has_cpuclock code.
9514
15a856b1
UD
9515 [BZ #10149]
9516 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9517 First byte (not low byte) is now always NUL.
9518 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9519
05f399e6
UD
9520 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9521 Use non-cancelable interfaces.
9522
10a52685 9523 [BZ #9809]
94ecc67d
UD
9524 * locale/iso-639.def: Add entry for Sorani.
9525
f8a3b5bf
UD
9526 [BZ #11901]
9527 * include/stdlib.h: Move include protection to the right place.
9528 Define abort_msg_s. Declare __abort_msg with it.
9529 * stdlib/abort.c (__abort_msg): Adjust type.
9530 * assert/assert.c (__assert_fail_base): New function. Majority
9531 of code from __assert_fail. Allocate memory for __abort_msg with
9532 mmap.
9533 (__assert_fail): Now call __assert_fail_base.
9534 * assert/assert-perr.c: Remove bulk of implementation. Use
9535 __assert_fail_base.
9536 * include/assert.hL Declare __assert_fail_base.
9537 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9538 mmap.
9539 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9540
1af4e298
UD
95412011-05-14 Ulrich Drepper <drepper@gmail.com>
9542
f8a3b5bf 9543 [BZ #11952]
d26dfc60
MG
9544 [BZ #12453]
9545 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9546 until all modules are registered in the DTV.
9547 * elf/Makefile: Add rules to build and run tst-tls19.
9548 * elf/tst-tls19.c: New file.
9549 * elf/tst-tls19mod1.c: New file.
9550 * elf/tst-tls19mod2.c: New file.
9551 * elf/tst-tls19mod3.c: New file.
9552 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9553
2fc54d6f
UD
9554 [BZ #12083]
9555 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9556 correctly.
9557
98d76b46
UD
9558 [BZ #12601]
9559 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9560 two-byte sequence errors.
9561 * iconvdata/Makefile (tests): Add bug-iconv8.
9562 * iconvdata/bug-iconv8.c: New file.
9563
da3c19ef
UD
9564 [BZ #12626]
9565 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9566 buf2 definition.
9567
ca408c15
UD
9568 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9569
d6f67f7d
UD
9570 [BZ #12432]
9571 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9572 (dummy_getcfa): New function.
9573 (init): Get _Unwind_GetCFA address, use dummy if not found.
9574 (backtrace_helper): In recursion check, also check whether CFA changes.
9575 (__backtrace): Completely initialize arg.
9576
1af4e298 9577 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
9578 storing incomplete byte sequence in state object. Avoid testing for
9579 guaranteed too small input if we know there is enough data available.
1af4e298 9580
da62f81b
AS
95812011-05-11 Andreas Schwab <schwab@redhat.com>
9582
9583 * Makeconfig (+link-pie): Indent.
9584 * Rules (binaries-pie): Define if $(have-fpie) and
9585 $(build-shared).
9586 (binaries-shared): Also filter out $(binaries-pie).
9587 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9588 * nscd/Makefile (others-pie): Add nscd.
9589 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9590 ($(objpfx)nscd): Remove command override.
9591 * login/Makefile (others-pie): Add pt_chown.
9592 ($(objpfx)pt_chown): Remove command override.
9593 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9594 remove command overrides.
9595
fcabc0f8
UD
95962011-05-13 Ulrich Drepper <drepper@gmail.com>
9597
20030ae6
UD
9598 * libio/tst_putwc.c: Fix error messages.
9599
fcabc0f8
UD
9600 [BZ #12724]
9601 * libio/fileops.c (_IO_new_file_close_it): Always flush when
9602 currently writing and seek to current position when not.
9603 * libio/Makefile (tests): Add bug-fclose1.
9604 * libio/bug-fclose1.c: New file.
9605
320a5dc0
PB
96062011-05-12 Ulrich Drepper <drepper@gmail.com>
9607
9608 [BZ #12511]
9609 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
9610 don't set DF_1_NODELETE here.
9611 (do_lookup_x): When entering new entry test for copy relocation
9612 and if necessary set DF_1_NODELETE flag.
9613 * elf/tst-unique4.cc: New file.
9614 * elf/tst-unique4.h: New file.
9615 * elf/tst-unique4lib.cc: New file.
9616 * elf/Makefile: Add rules to build and run tst-unique4.
9617 Patch by Piotr Bury <pbury@goahead.com>.
9618
22836f52
UD
96192011-05-11 Ulrich Drepper <drepper@gmail.com>
9620
f574184a
UD
9621 [BZ #12052]
9622 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9623
e1fb097f
UD
9624 [BZ #12625]
9625 * misc/mntent_r.c (addmntent): Flush the stream after the output
9626
22836f52
UD
9627 [BZ #12393]
9628 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9629 (is_trusted_path_normalize): Skip initial colon. Append slash
9630 to empty buffer. Duplicate is_trusted_path code but allow
9631 constructed patch to be prefix.
9632 (is_dst): Allow $ORIGIN followed by /.
9633 (_dl_dst_substitute): Correct clearing of check_for_trusted.
9634 Correct testing of result of is_trusted_path_normalize
9635 (decompose_rpath): Fix warning.
9636
7b3b0b2a
UD
96372011-05-10 Ulrich Drepper <drepper@gmail.com>
9638
9639 [BZ #11257]
9640 * grp/initgroups.c (internal_getgrouplist): When we found the service
9641 list through the initgroups entry in nsswitch.conf do not always
9642 continue on a successful lookup. Don't always use the
eac80ce2 9643 __nss_group_database value if it is set.
7b3b0b2a
UD
9644 * nss/nsswitch.conf (initgroups): Change action for successful db
9645 lookup to continue for compatibility.
9646
2a81eaa5
UD
96472011-05-09 Ulrich Drepper <drepper@gmail.com>
9648
be97a69e
UD
9649 [BZ #11532]
9650 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9651 and CP774 modules.
9652 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9653 and CP774 modules.
9654 * iconvdata/tst-tables.sh: Likewise.
9655 * iconvdata/cp770.c: New file.
9656 * iconvdata/cp771.c: New file.
9657 * iconvdata/cp772.c: New file.
9658 * iconvdata/cp773.c: New file.
9659 * iconvdata/cp774.c: New file.
9660 * iconvdata/testdata/CP770: New file.
9661 * iconvdata/testdata/CP770..UTF8: New file.
9662 * iconvdata/testdata/CP771: New file.
9663 * iconvdata/testdata/CP771..UTF8: New file.
9664 * iconvdata/testdata/CP772: New file.
9665 * iconvdata/testdata/CP772..UTF8: New file.
9666 * iconvdata/testdata/CP773: New file.
9667 * iconvdata/testdata/CP773..UTF8: New file.
9668 * iconvdata/testdata/CP774: New file.
9669 * iconvdata/testdata/CP774..UTF8: New file.
9670
9671 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9672 END CHARMAP line.
9673 * iconvdata/gen-8bit-gap.sh: Likewise.
9674 * iconvdata/gen-8bit.sh: Likewise.
9675
c1e9e399
UD
9676 * locale/iso-639.def: Add ary entry.
9677
24c55fb3 9678 [BZ #11258]
96b4b1b0
UD
9679 * locale/C-translit.h.in: Add U20A1 transliteration.
9680
bdc2f971
KB
9681 [BZ #12178]
9682 * locale/iso-639.def: Add wae entry.
9683 Patch by Kevin Bortis <bortis@translate-wae.ch>.
9684
2952b117
UD
9685 [BZ #12545]
9686 * locale/programs/localedef.c (construct_output_path): Use ssize_t
9687 for n.
9688
2a81eaa5
UD
9689 [BZ #12711]
9690 * locale/C-translit.h.in: Add entry for U20B9.
9691 Patch by pravin.d.s@gmail.com.
9692
28377d1b
UD
96932011-05-08 Ulrich Drepper <drepper@gmail.com>
9694
7fb90fb8
UD
9695 [BZ #12713]
9696 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9697 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
9698 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
9699 in rtld. Use *stat64.
7fb90fb8 9700 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 9701 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 9702 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
9703 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9704 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9705 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9706 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9707 __fstatat64 macros.
7fb90fb8
UD
9708 * include/dirent.h: Add libc_hidden_proto for rewinddir.
9709 * dirent/rewinddir.c: Add libc_hidden_def.
9710 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 9711 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 9712
28377d1b
UD
9713 * include/dirent.h (__alloc_dir): Add flags parameter.
9714 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9715 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9716 __alloc_dir.
9717 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
9718 from fdopendir if O_CLOEXEC is already set.
9719
66bdbaa4
AM
97202011-03-15 Alan Modra <amodra@gmail.com>
9721
9722 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9723 l_tls_firstbyte_offset non-zero. Save padding offset in
9724 l_tls_firstbyte_offset for later use.
9725 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9726 freeing static tls block.
9727
95721191
JN
97282011-03-05 Jonathan Nieder <jrnieder@gmail.com>
9729
9730 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9731 where #ifdef was intended. The intent is to prevent ARG_MAX from
9732 being defined by the kernel headers.
9733
f87dfb1f
UD
97342011-05-07 Ulrich Drepper <drepper@gmail.com>
9735
9736 [BZ #12734]
9737 * resolv/resolv.h: Define RES_NOTLDQUERY.
9738 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9739 no-tld-query and set RES_NOTLDQUERY.
9740 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9741 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9742 modern BIND to search name as TLD unless forbidden.
9743
47c3cd7a
UD
97442011-05-07 Petr Baudis <pasky@suse.cz>
9745 Ulrich Drepper <drepper@gmail.com>
9746
9747 [BZ #12393]
9748 * elf/dl-load.c (fillin_rpath): Move trusted path check...
9749 (is_trusted_path): ...to here.
c1e9ea35 9750 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 9751 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 9752 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 9753
8a35c912
PP
97542011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9755
9756 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9757 __BEGIN/__END_DECLS.
9758
acd41f47
UD
97592011-05-06 Ulrich Drepper <drepper@gmail.com>
9760
9761 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9762 NSS_STATUS_NOTFOUND if no record was found.
9763
597df647
AS
97642011-05-05 Andreas Schwab <schwab@redhat.com>
9765
9766 * sunrpc/Makefile (headers): Add rpc/netdb.h.
9767 (headers-not-in-tirpc): Remove rpc/netdb.h
9768 * resolv/netdb.h: Revert last change.
9769
b9af1301
PP
97702011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9771
9772 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9773 circular dependency between libgcc.a and libc.a.
9774
4e34d5f5
AS
97752011-05-05 Andreas Schwab <schwab@redhat.com>
9776
9777 * resolv/netdb.h: Don't include <rpc/netdb.h>.
9778 * nis/Makefile: Don't install rpcsvc/*.
9779 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9780 instead of <rpc/types.h>.
9781 (MAXHOSTNAMELEN): Define.
9782
00ee369c
AS
97832011-05-03 Andreas Schwab <schwab@redhat.com>
9784
9785 * elf/ldconfig.c (add_dir): Don't crash on empty path.
9786
0b592a30
MB
97872011-04-28 Maciej Babinski <mbabinski@google.com>
9788
9789 [BZ #12714]
9790 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9791 gethostbyname4_r when IPv6 results are possible.
9792
6e04cbbe
UD
97932011-05-02 Ulrich Drepper <drepper@gmail.com>
9794
9795 [BZ #12723]
9796 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9797 _PC_PIPE_BUF handling.
9798
e4ecafe0
BH
97992011-04-30 Bruno Haible <bruno@clisp.org>
9800
9801 [BZ #12717]
9802 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9803 * resolv/netdb.h (getnameinfo): Change type of flags parameter
9804 to 'int'.
9805 * inet/getnameinfo.c (getnameinfo): Likewise.
9806
125ee683
UD
98072011-04-29 Ulrich Drepper <drepper@gmail.com>
9808
9809 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9810 to groups setting in database lookup.
9811 * nss/nsswitch.conf: Add initgroups entry.
9812
b722481a
EB
98132011-04-22 Ulrich Drepper <drepper@gmail.com>
9814
9815 [BZ #12685]
9816 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9817 mode string.
9818 Patch by Eric Blake <eblake@redhat.com>.
9819
4df46dbd
L
98202011-04-20 H.J. Lu <hongjiu.lu@intel.com>
9821
9822 * sunrpc/Makefile (need-export-routines): Add svc_run.
9823 (routines): Remove svc_run.
9824 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9825 * sunrpc/clnt_perr.c (clnt_perrno): Export.
9826 * sunrpc/svc_run.c (svc_run): Likewise.
9827 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9828
e84142d2
UD
98292011-04-21 Ulrich Drepper <drepper@gmail.com>
9830
9831 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9832 problem in reallocation in last patch.
9833
877175d8
UD
98342011-04-20 Ulrich Drepper <drepper@gmail.com>
9835
9836 * sunrpc/Makefile: Move inclusion of Rules.
9837
ab8eed78
UD
98382011-04-19 Ulrich Drepper <drepper@gmail.com>
9839
9840 * nss/nss_files/files-initgroups.c: New file.
9841 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9842 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9843 _nss_files_initgroups_dyn.
9844
e3d8f584
RS
98452011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9846
9847 * elf/elf.h (R_ARM_IRELATIVE): Define.
9848
af190f45
UD
98492011-04-19 Ulrich Drepper <drepper@gmail.com>
9850
9851 * po/ru.po: Update from translation team.
9852
53cf59ef
UD
98532011-04-17 Ulrich Drepper <drepper@gmail.com>
9854
9855 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9856 dependencies.
9857
4c559bcd
MF
98582011-02-06 Mike Frysinger <vapier@gentoo.org>
9859
9860 [BZ #12653]
9861 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9862 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9863 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9864 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9865 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9866
4420675c
AS
98672011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9868
9869 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9870 differing bytes.
9871 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9872 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9873 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9874
75ea32ab
UD
98752011-04-17 Ulrich Drepper <drepper@gmail.com>
9876
9877 [BZ #12420]
9878 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9879 storing it.
9880 * stdlib/bug-getcontext.c: New file.
9881 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9882
27390476
AK
98832011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9884
9885 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9886 instructions into .machine "z9-109".
9887 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9888 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9889
10442705
AK
98902011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9891
9892 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9893 between environment variables and auxiliary vector.
9894
7b57bfe5
UD
98952011-04-16 Ulrich Drepper <drepper@gmail.com>
9896
9897 * Makefile: Add rules to build linkobj/libc.so.
9898 * include/libc-symbols.h: Define libc_hidden_nolink.
9899 * include/rpc/auth.h: Mark functions which are to be hidden.
9900 * include/rpc/auth_des.h: Likewise.
9901 * include/rpc/auth_unix.h: Likewise.
9902 * include/rpc/clnt.h: Likewise.
9903 * include/rpc/des_crypt.h: Likewise.
9904 * include/rpc/key_prot.h: Likewise.
9905 * include/rpc/pmap_clnt.h: Likewise.
9906 * include/rpc/pmap_prot.h: Likewise.
9907 * include/rpc/pmap_rmt.h: Likewise.
9908 * include/rpc/rpc_msg.h: Likewise.
9909 * include/rpc/svc.h: Likewise.
9910 * include/rpc/svc_auth.h: Likewise.
9911 * include/rpc/xdr.h: Likewise.
9912 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9913 * nss/Makefile: Likewise.
9914 * sunrpc/Makefile: Don't install headers. Build library with normal
9915 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9916 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9917 for the compat linking library. Remove use of INTDEF/INTUSE.
9918 * sunrpc/auth_none.c: Likewise.
9919 * sunrpc/auth_unix.c: Likewise.
9920 * sunrpc/authdes_prot.c: Likewise.
9921 * sunrpc/authuxprot.c: Likewise.
9922 * sunrpc/clnt_gen.c: Likewise.
9923 * sunrpc/clnt_perr.c: Likewise.
9924 * sunrpc/clnt_raw.c: Likewise.
9925 * sunrpc/clnt_simp.c: Likewise.
9926 * sunrpc/clnt_tcp.c: Likewise.
9927 * sunrpc/clnt_udp.c: Likewise.
9928 * sunrpc/clnt_unix.c: Likewise.
9929 * sunrpc/des_crypt.c: Likewise.
9930 * sunrpc/des_soft.c: Likewise.
9931 * sunrpc/get_myaddr.c: Likewise.
9932 * sunrpc/key_call.c: Likewise.
9933 * sunrpc/key_prot.c: Likewise.
9934 * sunrpc/netname.c: Likewise.
9935 * sunrpc/pm_getmaps.c: Likewise.
9936 * sunrpc/pm_getport.c: Likewise.
9937 * sunrpc/pmap_clnt.c: Likewise.
9938 * sunrpc/pmap_prot.c: Likewise.
9939 * sunrpc/pmap_prot2.c: Likewise.
9940 * sunrpc/pmap_rmt.c: Likewise.
9941 * sunrpc/publickey.c: Likewise.
9942 * sunrpc/rpc_cmsg.c: Likewise.
9943 * sunrpc/rpc_common.c: Likewise.
9944 * sunrpc/rpc_dtable.c: Likewise.
9945 * sunrpc/rpc_prot.c: Likewise.
9946 * sunrpc/rpc_thread.c: Likewise.
9947 * sunrpc/rtime.c: Likewise.
9948 * sunrpc/svc.c: Likewise.
9949 * sunrpc/svc_auth.c: Likewise.
9950 * sunrpc/svc_authux.c: Likewise.
9951 * sunrpc/svc_raw.c: Likewise.
9952 * sunrpc/svc_run.c: Likewise.
9953 * sunrpc/svc_simple.c: Likewise.
9954 * sunrpc/svc_tcp.c: Likewise.
9955 * sunrpc/svc_udp.c: Likewise.
9956 * sunrpc/svc_unix.c: Likewise.
9957 * sunrpc/svcauth_des.c: Likewise.
9958 * sunrpc/xcrypt.c: Likewise.
9959 * sunrpc/xdr.c: Likewise.
9960 * sunrpc/xdr_array.c: Likewise.
9961 * sunrpc/xdr_float.c: Likewise.
9962 * sunrpc/xdr_intXX_t.c: Likewise.
9963 * sunrpc/xdr_mem.c: Likewise.
9964 * sunrpc/xdr_rec.c: Likewise.
9965 * sunrpc/xdr_ref.c: Likewise.
9966 * sunrpc/xdr_sizeof.c: Likewise.
9967 * sunrpc/xdr_stdio.c: Likewise.
9968
e6c61494
UD
99692011-04-10 Ulrich Drepper <drepper@gmail.com>
9970
9971 [BZ #12650]
9972 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9973 * sysdeps/ia64/dl-tls.h: Likewise.
9974 * sysdeps/powerpc/dl-tls.h: Likewise.
9975 * sysdeps/s390/dl-tls.h: Likewise.
9976 * sysdeps/sh/dl-tls.h: Likewise.
9977 * sysdeps/sparc/dl-tls.h: Likewise.
9978 * sysdeps/x86_64/dl-tls.h: Likewise.
9979 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9980
34fe483e
AS
99812011-03-14 Andreas Schwab <schwab@redhat.com>
9982
9983 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9984 rpath element also skip the following colon.
9985 (expand_dynamic_string_token): Add is_path parameter and pass
9986 down to DL_DST_REQUIRED and _dl_dst_substitute.
9987 (decompose_rpath): Call expand_dynamic_string_token with
9988 non-zero is_path. Ignore empty rpaths.
9989 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9990 with zero is_path.
9991
f12a32e6
AS
99922011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9993
9994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9995 Make cancelable.
9996
38a7d692
UD
99972011-04-09 Ulrich Drepper <drepper@gmail.com>
9998
9999 [BZ #12655]
10000 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
10001 Patch by Filipe David Manana <fdmanana@apache.org>.
10002
e451d22b
AS
100032011-04-07 Andreas Schwab <schwab@redhat.com>
10004
10005 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
10006 Maintain aligned stack.
10007 (CHECK_RSP): Remove unused macro.
10008
dedc7c7b
UD
100092011-04-03 Ulrich Drepper <drepper@gmail.com>
10010
10011 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
10012 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
10013
94521213
UD
100142011-04-02 Ulrich Drepper <drepper@gmail.com>
10015
10016 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
10017
8cb700c0 10018 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 10019
0354e355
L
100202011-03-26 H.J. Lu <hongjiu.lu@intel.com>
10021
10022 [BZ #12518]
10023 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
10024 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
10025 * sysdeps/x86_64/memmove.c: New file.
10026 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
10027 (memcpy): Renamed to ...
10028 (__new_memcpy): This.
10029 (memcpy): Provide GLIBC_2_14 memcpy.
10030 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
10031 (memcpy): Provide GLIBC_2_2_5 memcpy.
10032
8593482f
UD
100332011-04-01 Ulrich Drepper <drepper@gmail.com>
10034
10035 [BZ #12631]
10036 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
10037
81a5726b
AS
100382011-03-30 Andreas Schwab <schwab@redhat.com>
10039
10040 * misc/syncfs.c: New file.
10041 * misc/Makefile (routines): Add syncfs.
10042 * posix/unistd.h: Declare syncfs.
10043 * sysdeps/unix/syscalls.list: Add syncfs.
10044
00e5419f
AS
100452011-04-01 Andreas Schwab <schwab@redhat.com>
10046
10047 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
10048 open_by_handle_at.
10049 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10050 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10051 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10052 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10053 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10054 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10055 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10056
748876bf
UD
100572011-04-01 Ulrich Drepper <drepper@gmail.com>
10058
658e451d
UD
10059 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
10060 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10061 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
10062 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10063 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10064 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10065 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10066
748876bf
UD
10067 * io/Makefile: Compile fallocate.c, fallocate64.c, and
10068 sync_file_range.c with -fexceptions.
10069 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
10070 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
10071 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
10072 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
10073 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
10074 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10075 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
10076 sync_file_range as cancellation point
10077 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
10078 now a wrapper around __call_sync_file_range with cancellation handling.
10079 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
10080 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
10081 function name to __call_sync_file_range.
10082 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
10083 Add call_sync_file_range.
748876bf 10084
6e63d5e1
AS
100852011-04-01 Andreas Schwab <schwab@redhat.com>
10086
10087 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 10088 bits/timex.h.
6e63d5e1 10089
46998f74
UD
100902011-04-01 Ulrich Drepper <drepper@gmail.com>
10091
4c1423ed
UD
10092 * iconv/iconv.h: Fix typo in comment.
10093 * io/fcntl.h: Likewise.
10094 * libio/stdio.h: Likewise.
10095 * posix/spawn.h: Likewise.
10096 * posix/unistd.h: Likewise.
10097 * stdlib/stdlib.h: Likewise.
10098 * time/time.h: Likewise.
10099 * wcsmbs/wchar.h: Likewise.
10100
158648c0
UD
10101 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
10102 open_by_handle): Add.
10103 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
10104 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
10105 Augment a few comments.
10106 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10107 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10108 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10109 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10110 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10111 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
10112 open_by_handle.
10113
46998f74
UD
10114 * io/fcntl.h (AT_EMPTY_PATH): Define.
10115
83fe108b
UD
101162011-03-30 Ulrich Drepper <drepper@gmail.com>
10117
10118 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
10119 * sysdeps/unix/sysv/linux/bits/time.h: New file.
10120 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
10121 to...
10122 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
10123 * Versions.def: Add GLIBC_2.14.
10124 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
10125 Export.
83fe108b 10126
bb242059
UD
101272011-03-22 Ulrich Drepper <drepper@gmail.com>
10128
10129 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
10130 round counter.
10131 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10132
c97a1282
L
101332011-03-20 H.J. Lu <hongjiu.lu@intel.com>
10134
10135 [BZ #12597]
10136 * string/test-strncmp.c (do_page_test): New function.
10137 (check2): Likewise.
10138 (test_main): Call check2.
10139 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
10140
2a115601
UD
101412011-03-20 Ulrich Drepper <drepper@gmail.com>
10142
10143 [BZ #12587]
10144 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
10145 Handle cache information in CPU leaf 4.
10146 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10147
8126d904
UD
101482011-03-18 Ulrich Drepper <drepper@gmail.com>
10149
042c49c6 10150 [BZ #12583]
8126d904
UD
10151 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
10152 character representation.
10153 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
10154
ccfe366e
RA
101552011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
10156
10157 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
10158 END(__isnan) to END(__isnanf) to match function entry point/label
10159 EALIGN(__isnanf,...).
10160
c6e13027
JJ
101612011-03-10 Jakub Jelinek <jakub@redhat.com>
10162
10163 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
10164
33f85a3f
UD
101652011-03-10 Ulrich Drepper <drepper@gmail.com>
10166
028478fa
UD
10167 [BZ #12510]
10168 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
10169 copy from the symbol referenced in the relocation to initialize the
10170 used variable.
10171 Patch by Piotr Bury <pbury@goahead.com>.
10172 * elf/Makefile: Add rules to build and tst-unique3.
10173 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
10174 * elf/tst-unique3.cc: New file.
10175 * elf/tst-unique3.h: New file.
10176 * elf/tst-unique3lib.cc: New file.
10177 * elf/tst-unique3lib2.cc: New file.
10178
33f85a3f
UD
10179 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
10180
03592fc7
MF
101812011-03-10 Mike Frysinger <vapier@gentoo.org>
10182
10183 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
10184 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
10185 to _start.
03592fc7 10186
6a5ee102
UD
101872011-03-06 Ulrich Drepper <drepper@gmail.com>
10188
10189 * elf/dl-load.c (_dl_map_object): If we are looking for the first
10190 to-be-loaded object along a path to loader is ld.so.
10191
7e4ba49c
HJ
101922011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10193 Ulrich Drepper <drepper@gmail.com>
10194
10195 * sysdeps/x86_64/memset.S: After aligning destination, code
10196 branches to different locations depending on the value of
10197 misalignment, when multiarch is enabled. Fix this.
10198
101992011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10200
10201 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
10202 Set _x86_64_preferred_memory_instruction for AMD processsors.
10203 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10204 Set bit_Prefer_SSE_for_memop for AMD processors.
10205
13a804de
UD
102062011-03-04 Ulrich Drepper <drepper@gmail.com>
10207
10208 * libio/fmemopen.c (fmemopen): Optimize a bit.
10209
9d25c392
AS
102102011-03-03 Andreas Schwab <schwab@redhat.com>
10211
10212 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
10213
a5543c6a
RM
102142011-03-03 Roland McGrath <roland@redhat.com>
10215
10216 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
10217
012d35f7
DM
102182011-02-28 Aurelien Jarno <aurelien@aurel32.net>
10219
7e4ba49c 10220 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
10221 __bzero_ultra1 instead of __memset_ultra1.
10222
4bff6e01
AS
102232011-02-23 Andreas Schwab <schwab@redhat.com>
10224 Ulrich Drepper <drepper@gmail.com>
10225
10226 [BZ #12509]
10227 * include/link.h (struct link_map): Add l_orig_initfini.
10228 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
10229 returning unsuccessfully.
10230 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
10231 close of a file loaded at startup, restore the original l_initfini
10232 list.
10233 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
10234 list, store the pointer.
10235 * elf/Makefile ($(objpfx)noload-mem): New rule.
10236 (noload-ENV): Define.
10237 (tests): Add $(objpfx)noload-mem.
10238 * elf/noload.c: Include <memcheck.h>.
10239 (main): Call mtrace. Close all opened handles.
10240
f2092faf
AS
102412011-02-17 Andreas Schwab <schwab@redhat.com>
10242
10243 [BZ #12454]
10244 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
10245 dependencies are missing.
10246
6c8a2e88
ST
102472011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
10248
f2092faf 10249 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
10250 Hurd needs munmap.
10251 * sysdeps/mach/hurd/ifreq.h: New file.
10252
84a42118
PB
102532011-01-27 Petr Baudis <pasky@suse.cz>
10254 Ulrich Drepper <drepper@gmail.com>
10255
071f805e 10256 [BZ 12445]#
84a42118
PB
10257 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
10258 to extend_alloca().
10259 * stdio-common/bug23.c: New file.
10260 * stdio-common/Makefile (tests): Add bug23.
10261
e23fe25b
AS
102622010-09-28 Andreas Schwab <schwab@redhat.com>
10263 Ulrich Drepper <drepper@gmail.com>
10264
10265 [BZ #12489]
10266 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
10267 before performing relro protection. At old place add assertion
10268 to make sure nothing changed.
10269
d3f02e10
NS
102702011-02-17 Nathan Sidwell <nathan@codesourcery.com>
10271 Glauber de Oliveira Costa <glommer@gmail.com>
10272
10273 * elf/elf.h: Add new ARM TLS relocs.
10274
d55fd7a5
RA
102752011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
10276
10277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10278 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
10279 cast from r3.
10280 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
10281 'tests' variable.
10282 * sysdeps/wordsize-64/tst-writev.c: New file.
10283
2206397e
RA
102842011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
10285
10286 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
10287 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
10288 insns in _dl_start to prevent a TOC reference before relocs are
10289 resolved.
10290
e9433893
UD
102912011-02-15 Ulrich Drepper <drepper@gmail.com>
10292
10293 [BZ #12469]
10294 * Makeconfig: Remove RANLIB definition.
10295 * Makerules: Don't use RANLIB.
10296 * aclocal.m4: Remove ranlib test.
10297 * configure.in: No need to check for ranlib.
10298 * elf/rtld-Rules: Don't use RANLIB.
10299
f75286c6
ST
103002011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10301
8e31c82d
ST
10302 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
10303 protection macro.
10304 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
10305 inclusion protection macro.
10306
f75286c6
ST
10307 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
10308 SIGRTMIN and SIGRTMAX and print information in that case only when
10309 SIGRTMIN is defined.
10310
c1d0e639
JJ
103112011-02-11 Jakub Jelinek <jakub@redhat.com>
10312
10313 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
10314 arginfo fn returning -1.
10315
10316 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
10317 and thousands string is zero terminated.
10318
edf9294e
AS
103192011-02-03 Andreas Schwab <schwab@redhat.com>
10320
10321 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
10322 sysdeps/unix/sysv/linux/bits/socket.h.
10323
2b7e92df
ST
103242011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10325
edf9294e
AS
10326 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
10327 (__CPU_COUNT): Remove old macros.
10328 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
10329 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
10330 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
10331 (__sched_cpualloc, __sched_cpufree): Add declarations.
10332
a4c7ea7b
UD
103332011-02-05 Ulrich Drepper <drepper@gmail.com>
10334
10335 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
10336 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
10337 * nscd/aicache.c (addhstaiX): Return timeout of added value.
10338 (readdhstai): Return value of addhstaiX call.
10339 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
10340 (addgrbyX): Return value returned by cache_addgr.
10341 (readdgrbyname): Return value returned by addgrbyX.
10342 (readdgrbygid): Likewise.
10343 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
10344 (addpwbyX): Return value returned by cache_addpw.
10345 (readdpwbyname): Return value returned by addhstbyX.
10346 (readdpwbyuid): Likewise.
10347 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
10348 (addservbyX): Return value returned by cache_addserv.
10349 (readdservbyname): Return value returned by addservbyX:
10350 (readdservbyport): Likewise.
10351 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
10352 (addhstbyX): Return value returned by cache_addhst.
10353 (readdhstbyname): Return value returned by addhstbyX.
10354 (readdhstbyaddr): Likewise.
10355 (readdhstbynamev6): Likewise.
10356 (readdhstbyaddrv6): Likewise.
10357 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
10358 (readdinitgroups): Return value returned by addinitgroupsX.
10359 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
10360 (prune_cache): Keep track of timeout value of re-added entries.
10361 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
10362 * nscd/nscd.h: Adjust prototypes of readd* functions.
10363
a0bf67cc
RM
103642011-02-04 Roland McGrath <roland@redhat.com>
10365
10366 * nis/nis_server.c (nis_servstate): Use the right name for 0.
10367 (nis_stats): Likewise.
10368 * nis/nis_modify.c (nis_modify): Likewise.
10369 * nis/nis_remove.c (nis_remove): Likewise.
10370 * nis/nis_add.c (nis_add): Likewise.
10371
10372 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
10373
10374 * posix/fnmatch_loop.c: Add some consts.
10375
10376 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
10377
435b95eb
L
103782011-02-02 H.J. Lu <hongjiu.lu@intel.com>
10379
10380 [BZ #12460]
10381 * config.make.in (config-cflags-novzeroupper): Define.
10382 * configure.in: Substitute libc_cv_cc_novzeroupper.
10383 * elf/Makefile (AVX-CFLAGS): Define.
10384 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
10385 (CFLAGS-tst-auditmod4a.c): Likewise.
10386 (CFLAGS-tst-auditmod4b.c): Likewise.
10387 (CFLAGS-tst-auditmod6b.c): Likewise.
10388 (CFLAGS-tst-auditmod6c.c): Likewise.
10389 (CFLAGS-tst-auditmod7b.c): Likewise.
10390 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
10391
8517b15e
UD
103922011-02-02 Ulrich Drepper <drepper@gmail.com>
10393
10394 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
10395 function to the callback.
10396 Patch partly by Jiri Olsa <jolsa@redhat.com>.
10397
10a656fe
AS
103982011-02-02 Andreas Schwab <schwab@redhat.com>
10399
10400 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
10401 of errno.
10402
968dad0a
UD
104032011-01-19 Ulrich Drepper <drepper@gmail.com>
10404
9f94d2ea 10405 [BZ #11724]
968dad0a
UD
10406 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
10407 of constructors.
10408 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
10409 of destructors.
10410 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
10411
10412 [BZ #11724]
10413 * elf/Makefile: Add rules to build and run new test.
10414 * elf/tst-initorder.c: New file.
10415 * elf/tst-initorder.exp: New file.
10416 * elf/tst-initordera1.c: New file.
10417 * elf/tst-initordera2.c: New file.
10418 * elf/tst-initordera3.c: New file.
10419 * elf/tst-initordera4.c: New file.
10420 * elf/tst-initorderb1.c: New file.
10421 * elf/tst-initorderb2.c: New file.
10422 * elf/tst-order-a1.c: New file.
10423 * elf/tst-order-a2.c: New file.
10424 * elf/tst-order-a3.c: New file.
10425 * elf/tst-order-a4.c: New file.
10426 * elf/tst-order-b1.c: New file.
10427 * elf/tst-order-b2.c: New file.
10428 * elf/tst-order-main.c: New file.
10429 New test case by George Gensure <werkt0@gmail.com>.
10430
86e92359
UD
104312010-10-01 Andreas Schwab <schwab@redhat.com>
10432
10433 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10434 decoding ACE if AI_CANONIDN.
10435
5d5732b0
UD
104362011-01-18 Ulrich Drepper <drepper@gmail.com>
10437
10438 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
10439
a77e8cbc
UD
104402011-01-17 Ulrich Drepper <drepper@gmail.com>
10441
6392473f
UD
10442 * version.h (RELEASE): Bump for 2.13 release.
10443 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
10444
620a0529
UD
10445 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
10446
18ba70a5
UD
10447 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
10448 MADV_NOHUGEPAGE.
32465c3e
UD
10449 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
10450 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10451 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10452 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10453 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10454 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10455
c0dafcf1
UD
10456 * posix/getconf.c: Update copyright year.
10457 * catgets/gencat.c: Likewise.
10458 * csu/version.c: Likewise.
10459 * debug/catchsegv.sh: Likewise.
10460 * debug/xtrace.sh: Likewise.
10461 * elf/ldconfig.c: Likewise.
10462 * elf/ldd.bash.in: Likewise.
10463 * elf/sprof.c (print_version): Likewise.
10464 * iconv/iconv_prog.c: Likewise.
10465 * iconv/iconvconfig.c: Likewise.
10466 * locale/programs/locale.c: Likewise.
10467 * locale/programs/localedef.c: Likewise.
10468 * malloc/memusage.sh: Likewise.
10469 * malloc/mtrace.pl: Likewise.
10470 * nscd/nscd.c (print_version): Likewise.
10471 * nss/getent.c: Likewise.
10472
a77e8cbc
UD
10473 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
10474 PF_CAIF, and PF_ALG.
10475 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10476
77e8bddf
AS
104772011-01-16 Andreas Schwab <schwab@linux-m68k.org>
10478
1f20b93a
AS
10479 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
10480 (modules-names): Use them.
10481 (ifunc-test-modules, ifunc-pie-tests): Define.
10482 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10483 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10484 (test-extras): Likewise.
10485 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10486 $(compile-command.c).
10487 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10488 (all-built-dso): Define.
10489 (check-textrel.out, check-execstack.out): Depend on it.
10490
77e8bddf
AS
10491 * configure.in: Don't override --enable-multi-arch.
10492
bc425b33
UD
104932011-01-15 Ulrich Drepper <drepper@gmail.com>
10494
10495 [BZ #6812]
10496 * nscd/hstcache.c (tryagain): Define.
10497 (cache_addhst): Return tryagain not notfound for temporary errors.
10498 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10499 failed.
10500
794c3ad3
UD
105012011-01-14 Ulrich Drepper <drepper@gmail.com>
10502
70181fdd
UD
10503 [BZ #10563]
10504 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10505 to make the syscall.
10506 * sysdeps/unix/sysv/linux/setgroups.c: New file.
10507
794c3ad3
UD
10508 [BZ #12378]
10509 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10510 and fall back to matching as normal character if the string ends before
10511 the matching ']' is found. This is what POSIX requires.
10512 * posix/testfnm.c: Adjust test result.
10513 * posix/globtest.sh: Adjust test result. Add new test.
10514 * posix/tst-fnmatch.input: Likewise.
10515 * posix/tst-fnmatch2.c: Add new test.
10516
68dc9497
AS
105172010-12-28 Andreas Schwab <schwab@linux-m68k.org>
10518
10519 * elf/Makefile (check-execstack): Revert last change. Depend on
10520 check-execstack.h.
10521 (check-execstack.h): New target.
10522 (generated): Add check-execstack.h.
10523 * elf/check-execstack.c: Include "check-execstack.h".
10524 (main): Revert last change.
10525 (handle_file): Return zero if GNU_STACK is absent and
10526 DEFAULT_STACK_PERMS doesn't include PF_X.
10527
451f001b
UD
105282011-01-13 Ulrich Drepper <drepper@gmail.com>
10529
cfa28e56
UD
10530 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10531 in child fails because the descriptor is already closed.
8cf8ce17
UD
10532 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10533 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10534 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 10535
1086d70d
UD
10536 [BZ #12397]
10537 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10538 syscall.
10539
451f001b
UD
10540 [BZ #10484]
10541 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10542 temporary buffer used to handle multi lookups locally.
a85b5cb4 10543 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 10544
08769175
UD
105452011-01-12 Ulrich Drepper <drepper@gmail.com>
10546
10547 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10548 loader is ld.so.
10549
5e49c52e
UD
105502011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
10551
10552 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10553 alignment for SSE2.
10554
60522a5f
UD
105552011-01-12 Ulrich Drepper <drepper@gmail.com>
10556
10557 [BZ #12394]
10558 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10559 characters. When rounding increased number of integer digits recompute
10560 number of groups.
10561 * stdio-common/tst-grouping.c: New file.
10562 * stdio-common/Makefile: Add rules to build and run tst-grouping.
10563
f257bbd7
UD
105642011-01-09 Ulrich Drepper <drepper@gmail.com>
10565
10566 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10567 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
10568
10569 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10570 void.
10571 * bits/select.h: Likewise.
10572
fa9c15cb
UD
105732011-01-08 Ulrich Drepper <drepper@gmail.com>
10574
10575 * po/ja.po: Update from translation team.
10576
16c2895f
DM
105772011-01-04 David S. Miller <davem@sunset.davemloft.net>
10578
10579 [BZ #11155]
10580 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10581 implementation just like for lxstat, fxstatat, et al.
10582
2543fef2
JM
105832010-12-27 Jim Meyering <meyering@redhat.com>
10584
10585 [BZ #12348]
10586 * posix/regexec.c (build_trtable): Return failure indication upon
10587 calloc failure. Otherwise, re_search_internal could infloop on OOM.
10588
98727dbe
UD
105892010-12-25 Ulrich Drepper <drepper@gmail.com>
10590
5bd6dc5c
UD
10591 [BZ #12201]
10592 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10593 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10594 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10595 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
10596
97983464
UD
10597 [BZ #12207]
10598 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
10599
98727dbe
UD
10600 [BZ #12204]
10601 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
10602 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
10603
4a531bb0
L
106042010-12-15 H.J. Lu <hongjiu.lu@intel.com>
10605
10606 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
10607 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
10608 script has SORT_BY_INIT_PRIORITY.
10609 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
10610 NO_CTORS_DTORS_SECTIONS is defined.
10611 * elf/soinit.c: Likewise.
10612 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
10613 NO_CTORS_DTORS_SECTIONS is defined.
10614 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
10615 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10616 * sysdeps/sh/init-first.c: Likewise.
10617 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10618
07eb4b71
UD
106192010-12-24 Ulrich Drepper <drepper@gmail.com>
10620
10621 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10622 always use the slow path.
10623
30950a5f
RA
106242010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
10625
10626 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10627 similar rule which adds the sysdep directories to the header search in
10628 order to pick up the correct platform stackinfo.h.
10629 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10630 perform test if it is, otherwise return successfully without testing.
10631 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10632 DEFAULT_STACK_PERMS define in stackinfo.h.
10633 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10634 defined in stackinfo.h.
10635 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10636 DEFAULT_STACK_PERMS defined in stackinfo.h.
10637 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10638 * sysdeps/ia64/stackinfo.h: Likewise.
10639 * sysdeps/s390/stackinfo.h: Likewise.
10640 * sysdeps/sh/stackinfo.h: Likewise.
10641 * sysdeps/sparc/stackinfo.h: Likewise.
10642 * sysdeps/x86_64/stackinfo.h: Likewise.
10643 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10644 PF_X for powerpc64. Retain PF_X for powerpc32.
10645
db753e2c
UD
106462010-12-19 Ulrich Drepper <drepper@gmail.com>
10647
14b697f7
UD
10648 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10649 accurately.
db753e2c
UD
10650 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10651 GETDENTS_64BIT_ALIGNED.
10652
28300719
UD
106532010-12-14 Ulrich Drepper <dreper@gmail.com>
10654
14b697f7 10655 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 10656
4f197237
AS
106572010-12-10 Andreas Schwab <schwab@redhat.com>
10658
dbb0472f
AS
10659 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10660 _GNU_SOURCE.
10661
4f197237
AS
10662 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10663 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10664 Remove __restrict.
10665 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10666 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10667
fb88ac72
UD
106682010-12-09 Ulrich Drepper <drepper@gmail.com>
10669
10670 [BZ #11655]
10671 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10672 are initialized.
10673
42acbb92
JJ
106742010-12-09 Jakub Jelinek <jakub@redhat.com>
10675
10676 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10677
c038d98d
UD
106782010-12-03 Ulrich Drepper <drepper@gmail.com>
10679
10680 * po/it.po: Update from translation team.
10681
3a4a2499
L
106822010-12-01 H.J. Lu <hongjiu.lu@intel.com>
10683
10684 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10685 unused codes.
10686
1e24cf6e
UD
106872010-11-30 Ulrich Drepper <drepper@gmail.com>
10688
10689 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10690
a7690819
AS
106912010-11-24 Andreas Schwab <schwab@redhat.com>
10692
10693 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10694 specially.
10695 (gaih_getanswer_slice): Likewise.
10696
3bf8d1b1
JJ
106972010-10-20 Jakub Jelinek <jakub@redhat.com>
10698
10699 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10700
6db52fbb
PB
107012010-05-31 Petr Baudis <pasky@suse.cz>
10702
10703 [BZ #11149]
10704 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10705 silently even in the chroot mode.
10706
eaca7569
UD
107072010-11-22 Ulrich Drepper <drepper@gmail.com>
10708
10709 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10710 last patch a bit. Pretty printing
10711
3056dcdb
UD
107122010-05-31 Petr Baudis <pasky@suse.cz>
10713
10714 [BZ #10085]
10715 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10716 initialization of skip_initgroups_dyn.
10717
cf7c9078
UD
107182010-11-19 Ulrich Drepper <drepper@gmail.com>
10719
10720 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10721 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10722
a1fb5e3e
UD
107232010-11-16 Ulrich Drepper <drepper@gmail.com>
10724
10725 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10726
3540d66b
AS
107272010-11-11 Andreas Schwab <schwab@redhat.com>
10728
10729 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10730 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10731 (tst-fnmatch-ENV): Set MALLOC_TRACE.
10732 ($(objpfx)tst-fnmatch-mem): New rule.
10733 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10734 * posix/tst-fnmatch.c (main): Call mtrace.
10735
13b69574
L
107362010-11-11 H.J. Lu <hongjiu.lu@intel.com>
10737
10738 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10739 Support Intel processor model 6 and model 0x2c.
10740
da93d214
LM
107412010-11-10 Luis Machado <luisgpm@br.ibm.com>
10742
10743 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10744 signed comparison.
10745
8ca52c6e
L
107462010-11-09 H.J. Lu <hongjiu.lu@intel.com>
10747
10748 [BZ #12205]
10749 * string/test-strncasecmp.c (check_result): New function.
10750 (do_one_test): Use it.
10751 (check1): New function.
10752 (test_main): Use it.
10753 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10754 Support strcasecmp and strncasecmp.
10755
69da074d
UD
107562010-11-08 Ulrich Drepper <drepper@gmail.com>
10757
10758 [BZ #12194]
10759 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10760 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10761
ff02d528
L
107622010-11-07 H.J. Lu <hongjiu.lu@intel.com>
10763
10764 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10765 IFUNC support.
10766 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10767 memset-x86-64.
10768 * sysdeps/x86_64/multiarch/bzero.S: New file.
10769 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10770 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10771 * sysdeps/x86_64/multiarch/memset.S: New file.
10772 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10773 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10774 Set bit_Prefer_SSE_for_memop for Intel processors.
10775 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10776 Define.
10777 (index_Prefer_SSE_for_memop): Define.
10778 (HAS_PREFER_SSE_FOR_MEMOP): Define.
10779
344d0b54
LM
107802010-11-04 Luis Machado <luisgpm@br.ibm.com>
10781
10782 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10783 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10784
c0dde15b
UD
107852010-11-03 H.J. Lu <hongjiu.lu@intel.com>
10786
10787 [BZ #12191]
10788 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10789 (__x86_64_raw_data_cache_size_half): Likewise.
10790 (__x86_64_raw_shared_cache_size): Likewise.
10791 (__x86_64_raw_shared_cache_size_half): Likewise.
10792
10793 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10794 (__x86_64_raw_data_cache_size_half): Likewise.
10795 (__x86_64_raw_shared_cache_size): Likewise.
10796 (__x86_64_raw_shared_cache_size_half): Likewise.
10797 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10798 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10799 and __x86_64_raw_shared_cache_size_half. Round
10800 __x86_64_data_cache_size_half, __x86_64_data_cache_size
10801 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10802 to multiple of 256 bytes.
10803
0e516e0e
MS
108042010-11-03 Ulrich Drepper <drepper@gmail.com>
10805
10806 [BZ #12167]
10807 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10808 of inacessible symlinks. Verify result of symlink before returning it.
10809 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10810 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10811
0e012e87
ER
108122010-10-28 Erich Ritz <erichritz@gmail.com>
10813
10814 * math/math.h (isinf): Fix typo in comment.
10815
de0ff7bc
UD
108162010-11-01 Ulrich Drepper <drepper@gmail.com>
10817
10818 * po/da.po: Update from translation team.
10819
fa41c84d
UD
108202010-10-26 Ulrich Drepper <drepper@gmail.com>
10821
10822 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10823 is added to the list.
10824
f0967738
AK
108252010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10826 Ulrich Drepper <drepper@gmail.com>
10827
10828 * elf/dl-object.c (_dl_new_object): Don't append the new object to
10829 the global list here. Move code to...
10830 (_dl_add_to_namespace_list): ...here. New function.
10831 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10832 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10833 * elf/dl-load.c (lose): Don't remove the element from the list.
10834 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10835 (_dl_map_object): Likewise.
10836
108372010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
10838
10839 [BZ #12159]
10840 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10841 into all bytes of SSE register.
10842 Patch by Richard Li <richardpku@gmail.com>.
10843
f0967738 108442010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
10845
10846 [BZ #12140]
10847 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10848 perturbing.
10849
d0b9e94f
MB
108502010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10851
10852 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10853 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10854 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10855 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10857 submachine.
10858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10859
8e9f92e9
AS
108602010-10-22 Andreas Schwab <schwab@redhat.com>
10861
10862 * include/dlfcn.h (__RTLD_SECURE): Define.
10863 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10864 mode & __RTLD_SECURE instead.
10865 (open_path): Rename preloaded parameter to secure.
10866 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10867 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10868 * elf/dl-deps.c (openaux): Likewise.
10869 * elf/rtld.c (struct map_args): Remove is_preloaded.
10870 (map_doit): Don't use it.
10871 (dl_main): Likewise.
10872 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10873 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10874
bc96fbda
AS
108752010-09-09 Andreas Schwab <schwab@redhat.com>
10876
10877 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10878 (sysd-rules-targets): Remove duplicates.
10879 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10880 rtld-%.$o dependency.
10881
22cd1c9b
AS
108822010-10-18 Andreas Schwab <schwab@redhat.com>
10883
10884 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10885 _dl_map_object do it.
10886
18edac48
UD
108872010-10-19 Ulrich Drepper <drepper@gmail.com>
10888
10889 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10890 fast fma builtins, define the macros in the C99 standard.
10891 (FP_FAST_FMAF): Likewise.
10892 (FP_FAST_FMAL): Likewise.
10893 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10894
10895 * bits/mathdef.h: Update copyright year.
10896 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10897
d2050124
MM
108982010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10899
10900 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10901 builtins, define the macros in the C99 standard.
10902 (FP_FAST_FMAF): Likewise.
10903 (FP_FAST_FMAL): Likewise.
10904 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10905 multiply/add.
10906 (FP_FAST_FMAF): Likewise.
10907
475facd1
JJ
109082010-10-15 Jakub Jelinek <jakub@redhat.com>
10909
10910 [BZ #3268]
10911 * math/libm-test.inc (fma_test): Some new testcases.
10912 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10913 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10914 y and infinite z. Do multiplication by C already in long double.
10915 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10916 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10917 y and infinite z. Do bitwise or of inexact bit into u.d.
10918 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10919 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10920 * sysdeps/i386/fpu/s_fma.S: Removed.
10921 * sysdeps/i386/fpu/s_fmal.S: Removed.
10922
7c08a05c
JJ
109232010-10-16 Jakub Jelinek <jakub@redhat.com>
10924
10925 [BZ #3268]
10926 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10927 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10928 computation is not scheduled after fetestexcept. Fix value
10929 of minimum denormal long double.
10930
f3f7372d
JJ
109312010-10-14 Jakub Jelinek <jakub@redhat.com>
10932
10933 [BZ #3268]
10934 * math/libm-test.inc (fma_test): Add some more tests.
10935 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10936 correctly.
10937
14d43591
AS
109382010-10-15 Andreas Schwab <schwab@redhat.com>
10939
10940 * scripts/data/localplt-s390-linux-gnu.data: New file.
10941 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10942
5e908464
JJ
109432010-10-13 Jakub Jelinek <jakub@redhat.com>
10944
10945 [BZ #3268]
10946 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10947 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10948 instead of dbl-64.
10949 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10950 inlines.
10951 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10952 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10953 if one of x and y is very large and the other is subnormal.
10954 * sysdeps/s390/fpu/s_fmaf.c: New file.
10955 * sysdeps/s390/fpu/s_fma.c: New file.
10956 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10957 * sysdeps/powerpc/fpu/s_fma.S: New file.
10958 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10959 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10960 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10961
109622010-10-12 Jakub Jelinek <jakub@redhat.com>
10963
10964 [BZ #3268]
10965 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10966 fma tests.
10967 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10968 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10969 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10970 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10971 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10972 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10973 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10974
b833d51f
UD
109752010-10-12 Ulrich Drepper <drepper@redhat.com>
10976
10977 [BZ #12078]
10978 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10979 * posix/bug-regex31.input: Add test case.
10980
1751705d
UD
109812010-10-11 Ulrich Drepper <drepper@gmail.com>
10982
e9b9cbf5
UD
10983 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10984 * posix/bug-regex31.input: New file.
10985
10986 [BZ #12078]
10987 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10988 (parse_sub_exp): Fix last change, use postorder.
10989
ef06edbe
UD
10990 * posix/bug-regex31.c: New file.
10991 * posix/Makefile: Add rules to build and run bug-regex31.
10992
a129c80d
UD
10993 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10994
10995 [BZ #12078]
10996 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10997
b76b818e
UD
10998 [BZ #12108]
10999 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
11000 to have entries in sys_siglist.
11001
1751705d
UD
11002 [BZ #12093]
11003 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
11004 be NULL.
11005
9ff8d36f
JJ
110062010-10-07 Jakub Jelinek <jakub@redhat.com>
11007
11008 [BZ #3268]
11009 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
11010 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
11011 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
11012 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
11013 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11014 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
11015 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
11016 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
11017 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
11018 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
11019 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
11020 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
11021 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11022 * math/ftestexcept.c (fetestexcept): Likewise.
11023 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
11024 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
11025 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
11026 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
11027 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
11028 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
11029 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11030
af325969
UD
110312010-10-11 Ulrich Drepper <drepper@gmail.com>
11032
c579b202 11033 [BZ #12107]
af325969
UD
11034 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
11035 newline.
11036
67a67b95
UD
110372010-10-06 Ulrich Drepper <drepper@gmail.com>
11038
11039 * string/bug-strstr1.c: New file.
11040 * string/Makefile: Add rules to build and run bug-strstr1.
11041
5fb308bc
EB
110422010-10-05 Eric Blake <eblake@redhat.com>
11043
11044 [BZ #12092]
11045 * string/str-two-way.h (two_way_long_needle): Always clear memory
11046 when skipping input due to the shift table.
11047
45db99c7
UD
110482010-10-03 Ulrich Drepper <drepper@gmail.com>
11049
3b111893
UD
11050 [BZ #12005]
11051 * malloc/mcheck.c: Handle large requests.
11052
45db99c7
UD
11053 [BZ #12077]
11054 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
11055 for strncmp and strncasecmp.
11056 * string/stratcliff.c: Add tests for strcmp and strncmp.
11057 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
11058
cf7a1eb8
NI
110592010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11060
11061 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
11062 __set_fpscr.
11063
6484ba5e
AJ
110642010-09-30 Andreas Jaeger <aj@suse.de>
11065
11066 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
11067 (CGROUP_SUPER_MAGIC): Define.
11068 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11069 Handle btrfs and cgroup file systems.
11070 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11071 Likewise.
11072
91c42559
LM
110732010-09-27 Luis Machado <luisgpm@br.ibm.com>
11074
11075 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
11076 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
11077
87a97932
AK
110782010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11079
11080 [BZ #12067]
11081 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
11082 trying to locate the ELF header.
11083
c21cc9bc
AS
110842010-09-27 Andreas Schwab <schwab@redhat.com>
11085
11086 [BZ #11611]
11087 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
11088 Mask out sign-bit copies when constructing f_fsid.
11089
315970f6
PB
110902010-09-24 Petr Baudis <pasky@suse.cz>
11091
11092 * debug/stack_chk_fail_local.c: Add missing licence exception.
11093 * debug/warning-nop.c: Likewise.
11094
1ac7a2c7
JM
110952010-09-15 Joseph Myers <joseph@codesourcery.com>
11096
11097 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
11098 implementing getdents64 using getdents syscall, set d_type if
11099 __ASSUME_GETDENTS32_D_TYPE.
11100
56801c50
AS
111012010-09-16 Andreas Schwab <schwab@redhat.com>
11102
11103 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
11104 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
11105
dda51327
UD
111062010-09-21 Ulrich Drepper <drepper@redhat.com>
11107
11108 [BZ #12037]
11109 * posix/unistd.h: Undo change of feature selection for ftruncate from
11110 2010-01-11.
11111
8ffcee4a
UD
111122010-09-20 Ulrich Drepper <drepper@redhat.com>
11113
a545ecd9 11114 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
11115 detection.
11116
e24f0a8b
AS
111172010-09-20 Andreas Schwab <schwab@redhat.com>
11118
11119 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
11120 fanotify_mark.
11121 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11122
7291c56f
AS
111232010-09-14 Andreas Schwab <schwab@redhat.com>
11124
11125 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
11126 variables after CHECK_SP call.
11127 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
11128
bc5fb037
AS
111292010-09-13 Andreas Schwab <schwab@redhat.com>
11130 Ulrich Drepper <drepper@redhat.com>
11131
11132 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
11133 re-relocationg ld.so.
11134 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
11135 _dl_init_paths call.
11136 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
11137 here anymore.
11138
e66e7419
UD
111392010-09-14 Ulrich Drepper <drepper@redhat.com>
11140
11141 * resolv/res_init.c (__res_vinit): Count the default server we added.
11142
c044aa75
CLT
111432010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
11144 Ulrich Drepper <drepper@redhat.com>
11145
11146 [BZ #11968]
11147 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11148 (____longjmp_chk): Use %ebx for saving value across system call.
11149 Add unwind info.
11150
32cf4069
AS
111512010-09-06 Andreas Schwab <schwab@redhat.com>
11152
11153 * manual/Makefile: Don't mix pattern rules with normal rules.
11154
817328ee
AS
111552010-09-05 Andreas Schwab <schwab@linux-m68k.org>
11156
11157 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
11158 operation.
11159 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11160 * libio/iofopncook.c (_IO_cookie_init): Likewise.
11161 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11162 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11163 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11164 Likewise.
11165
29fddf61
UD
111662010-09-04 Ulrich Drepper <drepper@redhat.com>
11167
11168 [BZ #11979]
11169 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
11170 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
11171
0959ffc9
UD
111722010-09-02 Ulrich Drepper <drepper@redhat.com>
11173
11174 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
11175 * sysdeps/x86_64/addmul_1.S: Likewise.
11176 * sysdeps/x86_64/lshift.S: Likewise.
11177 * sysdeps/x86_64/mul_1.S: Likewise.
11178 * sysdeps/x86_64/rshift.S: Likewise.
11179 * sysdeps/x86_64/sub_n.S: Likewise.
11180 * sysdeps/x86_64/submul_1.S: Likewise.
11181
ece29840
ST
111822010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
11183
0959ffc9
UD
11184 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
11185 Define __sched_param instead of SCHED_* and sched_param when
ece29840 11186 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 11187 * bits/sched.h [__need_schedparam]
ece29840 11188 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
11189 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
11190 (__defined_schedparam): Define to 1.
ece29840
ST
11191 (__sched_param): New structure, identical to sched_param.
11192 (__need_schedparam): Undefine.
11193
e53a31fe
MF
111942010-08-31 Mike Frysinger <vapier@gentoo.org>
11195
fdc0c10d
MF
11196 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
11197 (epoll_create1): Declare.
11198
e53a31fe
MF
11199 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
11200
a726d796
AS
112012010-08-31 Andreas Schwab <schwab@redhat.com>
11202
11203 [BZ #7066]
11204 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
11205 shifting retval into place.
11206
2f3e3dc7
UD
112072010-09-01 Ulrich Drepper <drepper@redhat.com>
11208
f2933da9
UD
11209 * nis/rpcsvc/nis.h: Update copyright notice.
11210 * nis/rpcsvc/nis.x: Likewise.
11211 * nis/rpcsvc/nis_callback.h: Likewise.
11212 * nis/rpcsvc/nis_callback.x: Likewise.
11213 * nis/rpcsvc/nis_object.x: Likewise.
11214 * nis/rpcsvc/nis_tags.h: Likewise.
11215 * nis/rpcsvc/yp.h: Likewise.
11216 * nis/rpcsvc/yp.x: Likewise.
11217 * nis/rpcsvc/ypupd.h: Likewise.
11218 * nis/yp_xdr.c: Likewise.
11219 * nis/ypupdate_xdr.c: Likewise.
11220
2f3e3dc7
UD
11221 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
11222 mainly the body of pmap_getport. Add parameters to specify timeouts.
11223 (pmap_getport): Use __libc_rpc_getport.
11224 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
11225 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
11226 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
11227
f3dcc2f9
AS
112282010-08-31 Andreas Schwab <schwab@linux-m68k.org>
11229
11230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
11231 fanotify_mark.
11232
6d34eb5b
RM
112332010-08-27 Roland McGrath <roland@redhat.com>
11234
11235 * sysdeps/i386/i686/multiarch/Makefile
11236 (CFLAGS-varshift.c): New variable.
11237
9ea3de11
UD
112382010-08-27 Ulrich Drepper <drepper@redhat.com>
11239
c96d23fc
UD
11240 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
11241 * sysdeps/i386/i686/multiarch/varshift.c: New file.
11242
9ea3de11
UD
11243 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
11244
11245 * sysdeps/x86_64/strlen.S: Minimal code improvement.
11246
623aac7f
L
112472010-08-26 H.J. Lu <hongjiu.lu@intel.com>
11248
11249 * sysdeps/x86_64/strlen.S: Unroll the loop.
11250 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11251 strlen-sse2 strlen-sse2-bsf.
11252 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
11253 __strlen_no_bsf if bit_Slow_BSF is set.
11254 (__strlen_sse42): Removed.
11255 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
11256 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
11257
8b2b7715
RM
112582010-08-25 Roland McGrath <roland@redhat.com>
11259
11260 * sysdeps/x86_64/multiarch/varshift.S: File removed.
11261 * sysdeps/x86_64/multiarch/varshift.c: New file.
11262 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
11263 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
11264 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
11265 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11266
e73015f2
L
112672010-08-25 H.J. Lu <hongjiu.lu@intel.com>
11268
11269 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11270 strlen-sse2 strlen-sse2-bsf.
11271 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
11272 __strlen_sse2_bsf if bit_Slow_BSF is unset.
11273 (__strlen_sse2): Removed.
11274 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
11275 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
11276 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11277 bit_Slow_BSF for Atom.
11278 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
11279 (index_Slow_BSF): Define.
11280 (HAS_SLOW_BSF): Define.
11281
df24a73e
UD
112822010-08-25 Ulrich Drepper <drepper@redhat.com>
11283
11284 [BZ #10851]
11285 * resolv/res_init.c (__res_vinit): When no server address at all
11286 is given default to loopback.
11287
f2ac4868
RM
112882010-08-24 Roland McGrath <roland@redhat.com>
11289
09055553
RM
11290 * configure.in: Remove config-name.h generation.
11291 * configure: Regenerated.
11292 * config-name.in: File removed.
11293 * scripts/config-uname.sh: New file.
11294 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
11295 ($(objdir)config-name.h): New target.
11296
f2ac4868
RM
11297 * sunrpc/rpc_parse.h: Avoid nested comment.
11298
73f27d5e
RH
112992010-08-24 Richard Henderson <rth@redhat.com>
11300 Ulrich Drepper <drepper@redhat.com>
11301 H.J. Lu <hongjiu.lu@intel.com>
11302
11303 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
11304 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
11305 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
11306 Replace _mm_srli_si128 with __m128i_shift_right. Replace
11307 _mm_alignr_epi8 with _mm_loadu_si128.
11308 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
11309 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
11310 (__m128i_shift_right): Removed.
11311 * sysdeps/i386/i686/multiarch/varshift.h: New file.
11312 * sysdeps/i386/i686/multiarch/varshift.S: New file.
11313 * sysdeps/x86_64/multiarch/varshift.h: New file.
11314 * sysdeps/x86_64/multiarch/varshift.S: New file.
11315
84b9230c
MF
113162010-08-21 Mike Frysinger <vapier@gentoo.org>
11317
11318 * configure.in: Move assembler checks to before sysdep dir checking.
11319
9bbd0ddc
PB
113202010-08-20 Petr Baudis <pasky@suse.cz>
11321
11322 * LICENSES: Sync the sunrpc license.
11323
9da4bb31
UD
113242010-08-19 Ulrich Drepper <drepper@redhat.com>
11325
a7ab6ec8
UD
11326 * sunrpc/auth_des.c: Update copyright notice once again.
11327 * sunrpc/auth_none.c: Likewise.
11328 * sunrpc/auth_unix.c: Likewise.
11329 * sunrpc/authdes_prot.c: Likewise.
11330 * sunrpc/authuxprot.c: Likewise.
11331 * sunrpc/bindrsvprt.c: Likewise.
11332 * sunrpc/clnt_gen.c: Likewise.
11333 * sunrpc/clnt_perr.c: Likewise.
11334 * sunrpc/clnt_raw.c: Likewise.
11335 * sunrpc/clnt_simp.c: Likewise.
11336 * sunrpc/clnt_tcp.c: Likewise.
11337 * sunrpc/clnt_udp.c: Likewise.
11338 * sunrpc/clnt_unix.c: Likewise.
11339 * sunrpc/des_crypt.c: Likewise.
11340 * sunrpc/des_soft.c: Likewise.
11341 * sunrpc/get_myaddr.c: Likewise.
11342 * sunrpc/getrpcport.c: Likewise.
11343 * sunrpc/key_call.c: Likewise.
11344 * sunrpc/key_prot.c: Likewise.
11345 * sunrpc/openchild.c: Likewise.
11346 * sunrpc/pm_getmaps.c: Likewise.
11347 * sunrpc/pm_getport.c: Likewise.
11348 * sunrpc/pmap_clnt.c: Likewise.
11349 * sunrpc/pmap_prot.c: Likewise.
11350 * sunrpc/pmap_prot2.c: Likewise.
11351 * sunrpc/pmap_rmt.c: Likewise.
11352 * sunrpc/rpc/auth.h: Likewise.
11353 * sunrpc/rpc/auth_unix.h: Likewise.
11354 * sunrpc/rpc/clnt.h: Likewise.
11355 * sunrpc/rpc/des_crypt.h: Likewise.
11356 * sunrpc/rpc/key_prot.h: Likewise.
11357 * sunrpc/rpc/netdb.h: Likewise.
11358 * sunrpc/rpc/pmap_clnt.h: Likewise.
11359 * sunrpc/rpc/pmap_prot.h: Likewise.
11360 * sunrpc/rpc/pmap_rmt.h: Likewise.
11361 * sunrpc/rpc/rpc.h: Likewise.
11362 * sunrpc/rpc/rpc_des.h: Likewise.
11363 * sunrpc/rpc/rpc_msg.h: Likewise.
11364 * sunrpc/rpc/svc.h: Likewise.
11365 * sunrpc/rpc/svc_auth.h: Likewise.
11366 * sunrpc/rpc/types.h: Likewise.
11367 * sunrpc/rpc/xdr.h: Likewise.
11368 * sunrpc/rpc_clntout.c: Likewise.
11369 * sunrpc/rpc_cmsg.c: Likewise.
11370 * sunrpc/rpc_common.c: Likewise.
11371 * sunrpc/rpc_cout.c: Likewise.
11372 * sunrpc/rpc_dtable.c: Likewise.
11373 * sunrpc/rpc_hout.c: Likewise.
11374 * sunrpc/rpc_main.c: Likewise.
11375 * sunrpc/rpc_parse.c: Likewise.
11376 * sunrpc/rpc_parse.h: Likewise.
11377 * sunrpc/rpc_prot.c: Likewise.
11378 * sunrpc/rpc_sample.c: Likewise.
11379 * sunrpc/rpc_scan.c: Likewise.
11380 * sunrpc/rpc_scan.h: Likewise.
11381 * sunrpc/rpc_svcout.c: Likewise.
11382 * sunrpc/rpc_tblout.c: Likewise.
11383 * sunrpc/rpc_util.c: Likewise.
11384 * sunrpc/rpc_util.h: Likewise.
11385 * sunrpc/rpcinfo.c: Likewise.
11386 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
11387 * sunrpc/rpcsvc/key_prot.x: Likewise.
11388 * sunrpc/rpcsvc/klm_prot.x: Likewise.
11389 * sunrpc/rpcsvc/mount.x: Likewise.
11390 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
11391 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
11392 * sunrpc/rpcsvc/rex.x: Likewise.
11393 * sunrpc/rpcsvc/rstat.x: Likewise.
11394 * sunrpc/rpcsvc/rusers.x: Likewise.
11395 * sunrpc/rpcsvc/sm_inter.x: Likewise.
11396 * sunrpc/rpcsvc/spray.x: Likewise.
11397 * sunrpc/rpcsvc/yppasswd.x: Likewise.
11398 * sunrpc/rtime.c: Likewise.
11399 * sunrpc/svc.c: Likewise.
11400 * sunrpc/svc_auth.c: Likewise.
11401 * sunrpc/svc_authux.c: Likewise.
11402 * sunrpc/svc_raw.c: Likewise.
11403 * sunrpc/svc_run.c: Likewise.
11404 * sunrpc/svc_simple.c: Likewise.
11405 * sunrpc/svc_tcp.c: Likewise.
11406 * sunrpc/svc_udp.c: Likewise.
11407 * sunrpc/svc_unix.c: Likewise.
11408 * sunrpc/svcauth_des.c: Likewise.
11409 * sunrpc/xcrypt.c: Likewise.
11410 * sunrpc/xdr.c: Likewise.
11411 * sunrpc/xdr_array.c: Likewise.
11412 * sunrpc/xdr_float.c: Likewise.
11413 * sunrpc/xdr_mem.c: Likewise.
11414 * sunrpc/xdr_rec.c: Likewise.
11415 * sunrpc/xdr_ref.c: Likewise.
11416 * sunrpc/xdr_sizeof.c: Likewise.
11417 * sunrpc/xdr_stdio.c: Likewise.
11418
9da4bb31
UD
11419 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
11420 handling.
11421
bdaa77bc
AS
114222010-08-19 Andreas Schwab <schwab@redhat.com>
11423
11424 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
11425
fe2f79db
LM
114262010-08-19 Luis Machado <luisgpm@br.ibm.com>
11427
11428 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
11429 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
11430 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
11431 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
11432 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
11433 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
11434 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
11435 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
11436 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
11437 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
11438 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
11439 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
11440 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
11441 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
11442
b9b42ee0
AB
114432010-07-26 Anton Blanchard <anton@samba.org>
11444
11445 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
11446 * malloc/arena.c (heap_trim): Likewise.
11447
1c06ba31
UD
114482010-08-16 Ulrich Drepper <drepper@redhat.com>
11449
11450 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
11451 here. Not...
11452 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
11453 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
11454
f8392f40
L
114552010-08-12 H.J. Lu <hongjiu.lu@intel.com>
11456
11457 * sysdeps/i386/elf/Makefile: New file.
11458
3162f12e
AS
114592010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11460
11461 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
11462 from fanotify_init.
11463 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11464 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11465
28c90b2c
UD
114662010-08-15 Ulrich Drepper <drepper@redhat.com>
11467
11468 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
11469 of strncasecmp_l.
1feccb6c 11470 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 11471
ca6bb004
UD
114722010-08-14 Ulrich Drepper <drepper@redhat.com>
11473
e9f82e0d
UD
11474 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11475 strncase_l-nonascii.
11476 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11477 Add strncase_l-ssse3.
11478 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
11479 * sysdeps/x86_64/strcmp.S: Likewise.
11480 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
11481 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11482 * sysdeps/x86_64/strncase.S: New file.
11483 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11484 * sysdeps/x86_64/strncase_l.S: New file.
11485 * string/Makefile (strop-tests): Add strncasecmp.
11486 * string/test-strncasecmp.c: New file.
11487
11488 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11489 warning.
11490
ca6bb004
UD
11491 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11492 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11493
052fa7b3
AS
114942010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11495
11496 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11497
962dba78
UD
114982010-08-12 Ulrich Drepper <drepper@redhat.com>
11499
11500 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11501 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11502 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11503
bebff237
AM
115042010-05-01 Alan Modra <amodra@gmail.com>
11505
11506 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11507 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11508 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11509 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11510 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11511 tidying. Don't tail-call __sigjmp_save for static lib.
11512 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11513 save location.
11514 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11515 (CALL_MCOUNT): Add eh info, and nop after bl.
11516 (TAIL_CALL_SYSCALL_ERROR): New macro.
11517 (PSEUDO_RET): Use it.
11518 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11519 Correct save location of integer regs and cr.
11520 (_dl_profile_resolve): Correct cr save location. Delete nops
11521 after bl when SHARED. Reduce cfi size a little by better
11522 placement of cfi directives.
11523 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11524 make a stack frame. Instead use parm save area as a temp.
11525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11526 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
11527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11528 Don't make a stack frame for parent, use parm save area.
11529 Increase child stack frame to 112 bytes. Don't save unused reg,
11530 and adjust reg usage. Set up cfi on error recovery and
11531 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11533 (__makecontext): Add dummy nop after jump to exit.
11534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11535 Use correct parm save area and cr save, reduce stack frame.
11536 Correct cfi for possible PSEUDO_RET frame setup.
11537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11538 Branch to local label emitted by PSEUDO_RET rather than
11539 __syscall_error.
11540
02637374
AS
115412010-08-12 Andreas Schwab <schwab@redhat.com>
11542
11543 [BZ #11904]
11544 * locale/programs/locale.c (print_assignment): New function.
11545 (show_locale_vars): Use it.
11546
c3e2f19b
UD
115472010-08-11 Ulrich Drepper <drepper@redhat.com>
11548
3cdaa6ad
UD
11549 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11550 field.
11551 (struct statfs64): Likewise.
11552 (_STATFS_F_FLAGS): Define.
11553 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11554 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11555 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11556 (ST_VALID): Define locally.
11557 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11558 __statvfs_getflags, use the provided value.
11559 * sysdeps/unix/sysv/linux/kernel-features.h: Define
11560 __ASSUME_STATFS_F_FLAGS.
11561
754f7da3
UD
11562 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11563
10b3bedc
UD
11564 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11565 Add sys/fanotify.h.
11566 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11567 fanotify_mask for GLIBC_2.13.
11568 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11569 fanotify_init and fanotify_mark.
11570 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11571 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11572
c08fb0d7
UD
11573 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11574 Add prlimit.
11575 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11576 prlimit64 for GLIBC_2.13.
11577 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11578 prlimit64.
11579 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11580 syscall.
11581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11582 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11583 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11584 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11585 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
11586 add prlimit alias.
11587 * sysdeps/unix/sysv/linux/prlimit.c: New file.
11588
15bac72b
UD
11589 [BZ #11903]
11590 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11591 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11592
c3e2f19b
UD
11593 * nss/Makefile: Add rules to build and run tst-nss-test1.
11594 * shlib-versions: Add entry for libnss_test1.
11595 * nss/nss_test1.c: New file.
11596 * nss/tst-nss-test1.c: New file.
11597
11598 * nss/nsswitch.c (__nss_database_custom): Define new variable.
11599 (__nss_configure_lookup): Set appropriate entry in
11600 __nss_configure_lookup to true.
11601 * nss/nsswitch.h: Define enum with indeces of databases in
11602 databases and __nss_database_custom arrays. Declare
11603 __nss_database_custom.
11604 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
11605 to avoid using nscd when custom rules are installed.
11606 * nss/getXXbyYY_r.c: Likewise.
11607 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11608
11609 * nss/nss_files/files-parse.c: Whitespace fixes.
11610
f15ce4d8
UD
116112010-08-09 Ulrich Drepper <drepper@redhat.com>
11612
11613 [BZ #11883]
11614 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
11615 * posix/fnmatch_loop.c: Likewise.
11616
d22e4cc9
AK
116172010-07-17 Andi Kleen <ak@linux.intel.com>
11618
11619 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11620 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11621 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11622 * Versions.def [GLIBC_2.13]: Add.
11623
805bc17d
UD
116242010-08-06 Ulrich Drepper <drepper@redhat.com>
11625
11626 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11627 Also fail if tpwd after pwuid call is NULL.
11628
5a42321d
ST
116292010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11630
11631 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11632 when converting to ms.
11633
fd3ebeda
ST
116342010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11635
11636 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11637 EOPNOTSUPP errors with ENOTTY.
11638 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11639 EOPNOTSUPP errors with ENOTTY.
11640
73507d3a
UD
116412010-07-31 Ulrich Drepper <drepper@redhat.com>
11642
11643 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11644 Add strcasecmp_l-ssse3.
11645 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11646 strcasecmp.
11647 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11648 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11649 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11650
fe36dd02
UD
116512010-07-30 Ulrich Drepper <drepper@redhat.com>
11652
66f6765a
UD
11653 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11654
42e08a54
UD
11655 * string/Makefile (strop-tests): Add strcasecmp.
11656 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11657 strcasecmp_l-nonascii.
11658 (gen-as-const-headers): Add locale-defines.sym.
11659 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11660 * sysdeps/x86_64/strcasecmp.S: New file.
11661 * sysdeps/x86_64/strcasecmp_l.S: New file.
11662 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11663 * sysdeps/x86_64/locale-defines.sym: New file.
11664 * string/test-strcasecmp.c: New file.
11665
fe36dd02
UD
11666 * string/test-strcasestr.c: Test both ends of the range of characters.
11667 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11668
48cbc0d6
RM
116692010-07-29 Roland McGrath <roland@redhat.com>
11670
76e6d6bc 11671 [BZ #11856]
48cbc0d6
RM
11672 * manual/locale.texi (Yes-or-No Questions): Fix example code.
11673
880113d9
UD
116742010-07-27 Ulrich Drepper <drepper@redhat.com>
11675
11676 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11677 for ld.so.
11678
deb9cabb
AS
116792010-07-27 Andreas Schwab <schwab@redhat.com>
11680
11681 * manual/memory.texi (Malloc Tunable Parameters): Document
11682 M_PERTURB.
11683
1c7570ff
RM
116842010-07-26 Roland McGrath <roland@redhat.com>
11685
11686 [BZ #11840]
11687 * configure.in (-fgnu89-inline check): Set and substitute
11688 gnu89_inline, not libc_cv_gnu89_inline.
11689 * configure: Regenerated.
11690 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11691
24fb0f88
UD
116922010-07-26 Ulrich Drepper <drepper@redhat.com>
11693
11694 * string/test-strnlen.c: New file.
11695 * string/Makefile (strop-tests): Add strnlen.
11696 * string/tester.c (test_strnlen): Add a few more test cases.
11697 * string/tst-strlen.c: Better error reporting.
11698
11699 * sysdeps/x86_64/strnlen.S: New file.
11700
8e96b93a
UD
117012010-07-24 Ulrich Drepper <drepper@redhat.com>
11702
11703 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11704 lower-latency instructions.
11705
dbc676d4
UD
117062010-07-23 Ulrich Drepper <drepper@redhat.com>
11707
11708 * string/test-strcasestr.c: New file.
11709 * string/test-strstr.c: New file.
11710 * string/Makefile (strop-tests): Add strstr and strcasestr.
11711 * string/str-two-way.h: Don't undefine MAX.
11712 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11713
f6a31e0e
AS
117142010-07-21 Andreas Schwab <schwab@redhat.com>
11715
11716 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11717 strcasestr-nonascii.
11718 (CFLAGS-strcasestr-nonascii.c): Define.
11719 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11720 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11721 Remove unused attribute.
11722
5dbc3b6c
RM
117232010-07-20 Roland McGrath <roland@redhat.com>
11724
11725 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11726 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
11727 ld.so.cache was broken. With it, there is no way to disable dsocaps
11728 like LD_HWCAP_MASK can disable hwcaps.
11729
23d101d8
EPM
117302010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11731
11732 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11733
cc9f2e47
UD
117342010-07-16 Ulrich Drepper <drepper@redhat.com>
11735
11736 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11737 call in strcasestr.
11738 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11739 __strcasestr_sse42_nonascii.
11740 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11741 strcasestr-nonascii.c.
11742 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11743
77c1b069
LM
117442010-06-15 Luis Machado <luisgpm@br.ibm.com>
11745
11746 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11747 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11748 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11749 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11750
440566c3
UD
117512010-07-09 Ulrich Drepper <drepper@redhat.com>
11752
11753 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11754 fcntl.
11755
5be9d05d
AS
117562010-07-06 Andreas Schwab <schwab@redhat.com>
11757
c30b7ee2 11758 [BZ #11577]
5be9d05d
AS
11759 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11760 dl_signal_cerror.
11761
8a492a67
UD
117622010-07-06 Ulrich Drepper <drepper@redhat.com>
11763
11764 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11765 _PC_PIPE_BUF using F_GETPIPE_SZ.
11766
713df3d5
RM
117672010-07-05 Roland McGrath <roland@redhat.com>
11768
11769 * manual/arith.texi (Rounding Functions): Fix rint description
11770 implicit in round description.
11771
702e8f14
UD
117722010-07-02 Ulrich Drepper <drepper@redhat.com>
11773
11774 * elf/Makefile: Fix linking for a few tests to make recent linker
11775 happy.
11776
52ed8be9
AS
117772010-06-30 Andreas Schwab <schwab@redhat.com>
11778
11779 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11780 $(common-objpfx)libc_nonshared.a.
11781
f47c9a11
LM
117822010-06-21 Luis Machado <luisgpm@br.ibm.com>
11783
11784 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11785 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11786 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11787 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11788 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11789 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11790 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11791 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11806 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11807 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11808 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11809 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11810 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11811 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11812 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11813 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11814 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11815 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11816 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11817 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11832
6fb8cbcb
L
118332010-06-25 H.J. Lu <hongjiu.lu@intel.com>
11834
11835 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11836 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11837 * string/memmove.c (memmove): Renamed to ...
11838 (MEMMOVE): ...this. Default to memmove.
11839 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11840 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11841 (END_CHK): Define.
11842 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11843 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11844 mempcpy-ssse3-back memmove-ssse3-back.
11845 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11846 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11847 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11848 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11849 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11850 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11851 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11852 * sysdeps/x86_64/multiarch/memmove.c: New file.
11853 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11854 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11855 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11856 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11857 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11858 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11859 Define.
11860 (index_Fast_Copy_Backward): Define.
11861 (HAS_ARCH_FEATURE): Define.
11862 (HAS_FAST_REP_STRING): Define.
11863 (HAS_FAST_COPY_BACKWARD): Define.
11864
4e733bac 118652010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
11866
11867 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11868 Restore proper fallback handling.
11869
63c4ed22
UD
118702010-06-19 Ulrich Drepper <drepper@redhat.com>
11871
ac2b484c
UD
11872 [BZ #11701]
11873 * posix/group_member.c (__group_member): Correct checking loop.
11874
63c4ed22
UD
11875 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11876 OOM in getpwuid_r correctly. Return error number when the caller
11877 should return, otherwise -1.
11878 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11879 call returning > 0 value.
11880 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11881
765ade4b
AS
118822010-06-07 Andreas Schwab <schwab@redhat.com>
11883
11884 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11885 libc_nonshared.a from targets in modules-names.
11886
80da2e09
KS
118872010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11888
11889 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11890 requires it.
11891
158db122
LM
118922010-06-10 Luis Machado <luisgpm@br.ibm.com>
11893
11894 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11895 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11896 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11897 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11898
caa78cf8
AS
118992010-06-02 Andreas Schwab <schwab@redhat.com>
11900
11901 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11902
b2ef2c01
UD
119032010-06-14 Ulrich Drepper <drepper@redhat.com>
11904
11905 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11906 and F_GETPIPE_SZ.
11907 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11908 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11909 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11910 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11911 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11912 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11913
fbd643b6
RM
119142010-06-14 Roland McGrath <roland@redhat.com>
11915
11916 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11917
f32f2869
JJ
119182010-06-07 Jakub Jelinek <jakub@redhat.com>
11919
11920 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11921 __REDIRECT followed by __THROW.
11922 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11923 * posix/getopt.h (getopt): Likewise.
11924
2a50c078
EPM
119252010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11926
11927 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11928 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11929 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11930 in AT_FLAGS.
11931 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11932 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11933
eb5ad2eb
LM
119342010-05-28 Luis Machado <luisgpm@br.ibm.com>
11935
11936 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11937
3c88fe1e
L
119382010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11939
11940 [BZ #11640]
11941 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11942 Properly check family and model.
11943
d2f73151
TY
119442010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11945
11946 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11947
ebd2e13d
LM
119482010-05-24 Luis Machado <luisgpm@br.ibm.com>
11949
11950 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11951
b32b8b45
UD
119522010-05-21 Ulrich Drepper <drepper@redhat.com>
11953
11954 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11955 symbol reference.
11956
9acbe24d
AS
119572010-05-19 Andreas Schwab <schwab@redhat.com>
11958
11959 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11960 symbol reference.
11961
f0ccf6ea
AS
119622010-05-21 Andreas Schwab <schwab@redhat.com>
11963
3d04ff3a
AS
11964 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11965 and internal_recvmmsg.
11966 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11967 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11968 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11969 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11970
f0ccf6ea
AS
11971 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11972 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11973 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11974
5b08ac57
AS
119752010-05-20 Andreas Schwab <schwab@redhat.com>
11976
11977 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11978
4828935d
LM
119792010-05-17 Luis Machado <luisgpm@br.ibm.com>
11980
11981 POWER7 optimizations.
11982 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11983 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11984
373d545e
UD
119852010-05-19 Ulrich Drepper <drepper@redhat.com>
11986
11987 * version.h: Update for 2.13 development version.
11988
21a2b1ae
AS
119892010-05-12 Andrew Stubbs <ams@codesourcery.com>
11990
11991 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11992 exceptions. Return 0.
11993
3f7dcb2b
RM
119942010-05-07 Roland McGrath <roland@redhat.com>
11995
11996 * elf/ldconfig.c (main): Add a const.
11997
5f24d53a 119982010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 11999
a160f8d8
UD
12000 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
12001 (args_options): Add no-idn option.
12002 (ahosts_keys_int): Add idn_flags to ai_flags.
12003 (parse_option): Handle 'i' option to clear idn_flags.
12004
5f24d53a
UD
12005 * malloc/malloc.c (_int_free): Possible race in the most recently
12006 added check. Only act on the data if no current modification
12007 happened.
265bb1ce
UD
12008
12009See ChangeLog.17 for earlier changes.