]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix ctan, ctanh overflow for ldbl-128ibm (bug 11521).
[thirdparty/glibc.git] / ChangeLog
CommitLineData
0ac229c8
AZ
12012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 [BZ #11521]
4 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
5 overflow or cancellation in calculating denominator.
6 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
8 down expression to avoid unexpected rounding in newer GCCs.
9 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
10
33f244f4
DM
112012-04-26 David S. Miller <davem@davemloft.net>
12
13 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
14 long-double compat symbols.
15 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
18 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
19 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
22 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
23 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
24 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
26 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
27 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28
cfa1f3e8
DM
292012-04-25 David S. Miller <davem@davemloft.net>
30
31 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
32 HWCAP_* values only after the memory barriers have been defined.
33 (atomic_full_barrier): Define.
34 (atomic_read_barrier): Define.
35 (atomic_write_barrier): Define.
36
6e236b92
SP
372012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38
39 * shlib-versions: Add libgcc_s version information.
40 * sysdeps/generic/libgcc_s.h: Remove.
41 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
42 libgcc_s.h.
43 * sysdeps/gnu/unwind-resume.c: Likewise.
44 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
45
aab39a09
DM
462012-04-25 David S. Miller <davem@davemloft.net>
47
48 * sysdeps/unix/sparc/brk.S: Delete.
49 * sysdeps/unix/sparc/dl-brk.S: Delete.
50 * sysdeps/unix/sparc/pipe.S: Delete.
51 * sysdeps/unix/sparc/sysdep.S: Delete.
52 * sysdeps/unix/sparc/sysdep.h: Delete.
53 * sysdeps/unix/sparc/vfork.S: Delete.
54 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
55 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
56 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
57 ret_ERRVAL, r0, r1, MOVE): Define.
58 (JUMPTARGET): Remove.
59 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
60 sysdeps/unix/sparc/sysdep.h
61 (ENTRY, END): Remove.
62 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
63
a3cc4f48
JM
642012-04-25 Joseph Myers <joseph@codesourcery.com>
65
2ed8cda2
JM
66 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
67 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
68 -DIS_IN_build.
69
35d76d59
JM
70 * timezone/README: Update upstream location and email address for
71 tzcode and tzdata.
72 * timezone/zdump.c: Update from tzcode 2012b.
73 * timezone/zic.c: Likewise.
74
a3cc4f48
JM
75 * configure.in (libc_cv_as_needed): Remove test.
76 * configure: Regenerated.
77 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
78 conditional definition.
79 [$(have-as-needed) != yes] (no-as-needed): Likewise.
80 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
81 * config.make.in (have-as-needed): Remove variable.
82
ceab42c3
SP
832012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
84 Paul Pluzhnikov <ppluzhnikov@google.com>
85
86 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
87 strings correctly.
88
3ce2865f
CLT
892012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
90
91 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
92 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
93 * sysdeps/sh/strlen.S: Likewise.
94
f37e0d68
JM
952012-04-24 Joseph Myers <joseph@codesourcery.com>
96
ae186e9a
JM
97 * sysdeps/unix/fork.S: Remove file.
98 * sysdeps/unix/i386/fork.S: Likewise.
99 * sysdeps/unix/sparc/fork.S: Likewise.
100
b96914af
JM
101 * sysdeps/unix/system.c: Remove file.
102 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
103
f37e0d68
JM
104 * sysdeps/unix/getegid.S: Remove file.
105 * sysdeps/unix/geteuid.S: Likewise.
106
87ef29ca
RM
1072012-04-24 Roland McGrath <roland@hack.frob.com>
108
83bcd236
RM
109 * scripts/check-localplt.awk: New file.
110 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
111 of diff.
112 * scripts/data/localplt-generic.data: Add a comment.
113
87ef29ca
RM
114 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
115 NODE when __dir_mkfile failed.
116 * sysdeps/mach/hurd/symlinkat.c: Likewise.
117 Reported by Ludovic Courtès <ludo@gnu.org>.
118
e5a6e567
AJ
1192012-04-24 Andreas Jaeger <aj@suse.de>
120
121 * Makerules (common-clean): Also remove gen-as-const-headers
122 files.
123
c1820385
JM
1242012-04-24 Joseph Myers <joseph@codesourcery.com>
125
126 * Makerules (native-compile): Do not change working directory for
127 build. Use $(OUTPUT_OPTION) in command.
128 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
129
94e02fc4
AZ
1302012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
131
132 [BZ #13886]
133 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
134 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
135 * math/libm-test.inc (floor_test): Add more tests.
136 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
137
3a533ca3
JM
1382012-04-24 Joseph Myers <joseph@codesourcery.com>
139
940ab4b3
JM
140 * sysdeps/unix/getdents.c: Remove file.
141 * sysdeps/unix/sysv/getdents.c: Likewise.
142 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
143
90e037bd
JM
144 * sysdeps/unix/syscalls.list (madvise): Add syscall from
145 sysdeps/unix/mman/syscalls.list.
146 (mmap): Likewise.
147 (mprotect): Likewise.
148 (msync): Likewise.
149 (munmap): Likewise.
150 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
151 * sysdeps/unix/mman/syscalls.list: Remove.
152 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
153
3a533ca3
JM
154 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
155 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
156 * configure: Regenerated.
157 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
158 $(libgcc_s_suffix).
159 * config.make.in (libgcc_s_suffix): Remove variable.
160
1ad743de
JM
1612012-04-23 Joseph Myers <joseph@codesourcery.com>
162
4ad451e2
JM
163 * sysdeps/unix/sysv/gethostname.c: Move to ...
164 * sysdeps/posix/gethostname.c: ... here.
165
5e37ce39
JM
166 * sysdeps/unix/execve.S: Remove file.
167
1ad743de
JM
168 * sysdeps/unix/_exit.S: Remove file.
169
4e681b5b
AJ
1702012-04-23 Andreas Jaeger <aj@suse.de>
171
172 [BZ #13739]
173 * manual/Makefile: Remove make dist support, there's no
174 need for a stand-alone documentation tar ball.
175 (TEXI2DVI): Define always, it's not in Makeconfig.
176 (dist): Removed.
177 (tar-it): Removed.
178 (edition): Removed.
179 (glibc-doc-$(edition).tar): Removed
180 (%.Z): Removed.
181 (%.gz): Removed.
182 (%.uu): Removed.
183 (ETAGS): Remove, it's in Makeconfig.
184 (move-if-change): Remove, it's in Makeconfig.
185
c0baea34
PE
1862013-04-23 Paul Eggert <eggert@cs.ucla.edu>
187
188 [BZ #13970]
189 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
190 (strtod, strtof, strtold, strtol, strtoul, strtoq)
191 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
192 (strtod_l, strtof_l, strtold_l): Remove __wur.
193 It is not necessarily an error to ignore strtol's return value.
194 One can reliably look at the stored endptr to decide whether
195 the number had valid syntax.
196
7c0616fa
AJ
1972012-04-21 Andreas Jaeger <aj@suse.de>
198
803cb6b7 199 [BZ #13739]
7c0616fa
AJ
200 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
201
b0fe253f
JM
2022012-04-21 Joseph Myers <joseph@codesourcery.com>
203
204 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
205 * sysdeps/unix/sysv/Versions: Remove file.
206
8280f22d
MT
2072012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
208
209 [BZ #13927]
210 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
211
75ce411f 2122012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
213
214 [BZ #7064]
215 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
216 version from __vm86.
217
097d59fa
JM
2182012-04-20 Joseph Myers <joseph@codesourcery.com>
219
a90f3bcb
JM
220 * sysdeps/unix/common/lxstat.c: Remove file.
221 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
222
edc7ea78
JM
223 * sysdeps/unix/sysv/Makefile: Remove file.
224
cb78c221
JM
225 * sysdeps/unix/sysv/direct.h: Remove file.
226
efa6a45f
JM
227 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
228 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
229 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
230 * sysdeps/unix/sysv/bits/signum.h: Likewise.
231 * sysdeps/unix/sysv/bits/stat.h: Likewise.
232 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
233 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
234
9c9f2d0c
JM
235 * sysdeps/unix/sysv/setrlimit.c: Remove file.
236
4541c83b
JM
237 * sysdeps/unix/xmknod.c: Remove file.
238 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
239
f5d153a0
JM
240 * sysdeps/unix/sysv/settimeofday.c: Remove file.
241
aa746595
JM
242 * sysdeps/unix/sysv/i386/time.S: Remove file.
243
cce5905e
JM
244 * sysdeps/unix/fxstat.c: Remove file.
245 * sysdeps/unix/xstat.c: Likewise.
246 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
247
37fa3841
JM
248 * sysdeps/unix/sysv/sigaction.c: Remove file.
249
ff1962a3
JM
250 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
251 (sysdep_headers): Remove variable.
252 [termio.h not in sysdep_headers] (generated): Likewise.
253 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
254 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
255 * sysdeps/unix/sysv/tcdrain.c: Likewise.
256 * sysdeps/unix/sysv/tcflow.c: Likewise.
257 * sysdeps/unix/sysv/tcflush.c: Likewise.
258 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
259 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
260 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
261 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
262 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
263
e7740d31
JM
264 * sysdeps/unix/siglist.c: Remove file.
265
ee06f18b
JM
266 * sysdeps/unix/getppid.S: Remove file.
267
097d59fa
JM
268 * sysdeps/unix/mkdir.c: Remove file.
269 * sysdeps/unix/rmdir.c: Likewise.
270
ff3d51ec
AS
2712012-04-19 Andreas Schwab <schwab@linux-m68k.org>
272
273 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
274 ERR_MAX value.
275 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
276 errlist-compat value.
277
50f81fd7
DM
2782012-04-18 David S. Miller <davem@davemloft.net>
279
280 * sysdeps/generic/memcopy.h (reg_char): Delete.
281 * debug/strcat_chk.c: Use char, not reg_char.
282 * debug/strcpy_chk.c: Likewise.
283 * debug/strncat_chk.c: Likewise.
284 * debug/strncpy_chk.c: Likewise.
285 * string/memchr.c: Likewise.
286 * string/memrchr.c: Likewise.
287 * string/rawmemchr.c: Likewise.
288 * string/strcat.c: Likewise.
289 * string/strchr.c: Likewise.
290 * string/strchrnul.c: Likewise.
291 * string/strcmp.c: Likewise.
292 * string/strcpy.c: Likewise.
293 * string/strncat.c: Likewise.
294 * string/strncmp.c: Likewise.
295 * string/strncpy.c: Likewise.
296
8ff41c46
WS
2972012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
298
299 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
300 __builtin_memcopy is called when src and dest ranges are known to not
301 overlap.
302
6b652f46
WS
3032012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
304
305 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
306 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
307 fwd_align_merge macro call.
308 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
309 bwd_align_merge macro call.
310 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
311
b282631e
WS
3122012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
313
314 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
315 bwd_align_merge macros.
316 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
317 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
318 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
319
95aa737c
DM
3202012-04-18 David S. Miller <davem@davemloft.net>
321
322 * sysdeps/sparc/sparc64/memcopy.h: Delete.
323
7a99a614
AJ
3242012-04-18 Andreas Jaeger <aj@suse.de>
325
326 [BZ# 6794]
327 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
328 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
329 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
330
331 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
332 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
333 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
334
335 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
336 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
337 Adjust for changed ldbl-128 files.
338
339 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
340 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
341 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
342
e5270c23
DM
3432012-04-17 David S. Miller <davem@davemloft.net>
344
345 * sysdeps/sparc/sparc32/memcopy.h: Delete.
346
fb5e92c9
AS
3472012-04-17 Andreas Schwab <schwab@linux-m68k.org>
348
349 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
350 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
351 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
352 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
353 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
354 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
355
76da7265
AZ
3562012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
357
358 [BZ #6794]
359 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
360 * math/libm-test.inc: Add ilogb errno and exception tests.
361 * math/w_ilogb.c: New file: ilogb wrapper.
362 * math/w_ilogbf.c: New file: ilogbf wrapper.
363 * math/w_ilogbl.c: New file: ilogbl wrapper.
364 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
365 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
366 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
367 exception being thrown with 0.0 as argument.
368 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
369 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
370 exception being thrown with 0.0 as argument.
371 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
372 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
373 exception being thrown with 0.0 as argument.
374 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
375 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
376 exception being thrown with 0.0 as argument.
377 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
378 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 379 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
380 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
381 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
382 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
383 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
384 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
385 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
386
0396e69d
PB
3872012-04-17 Petr Baudis <pasky@ucw.cz>
388
389 * include/sys/uio.h: Change __vector to __iovec to avoid clash
390 with altivec.
391
750b5926
MP
3922012-04-16 Marek Polacek <polacek@redhat.com>
393
394 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
395
751728a1
MP
3962012-04-16 Marek Polacek <polacek@redhat.com>
397
398 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
399 operands of fdivp instruction.
400
34a27407
L
4012012-04-13 H.J. Lu <hongjiu.lu@intel.com>
402
403 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
404 * elf/tst-auditmod3b.c: Likewise.
405 * elf/tst-auditmod4b.c: Likewise.
406 * elf/tst-auditmod5b.c: Likewise.
407 * elf/tst-auditmod6b.c: Likewise.
408 * elf/tst-auditmod6c.c: Likewise.
409 * elf/tst-auditmod7b.c: Likewise.
410 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
411 * sysdeps/x86_64/preconfigure.in: Likewise.
412 * sysdeps/x86_64/preconfigure: Regenerated.
413
7e73e17d
L
4142012-04-13 H.J. Lu <hongjiu.lu@intel.com>
415
416 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
417 __ILP32__.
418
c7a6ab72
AB
4192012-04-13 Antoine Balestrat <merkil33@gmail.com>
420
421 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
422 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
423
a9e8e0e0
CL
4242012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
425
426 [BZ #13973]
427 * locale/iso-639.def: Fix gl language name. Spotted by
428 Yaron Shahrabani.
429
ec98af7d
RM
4302012-04-12 Roland McGrath <roland@hack.frob.com>
431
432 [BZ #2074]
433 * libio/libio.h (__io_write_fn): Update comment.
434
247c3ede
PB
4352012-04-12 Petr Baudis <pasky@ucw.cz>
436
437 [BZ #2074]
438 * stdio.texi (Hook Functions): The user provided writer function
439 is not allowed to return -1.
440
55939d6d
DM
4412012-04-11 David S. Miller <davem@davemloft.net>
442
443 * sysdeps/sparc/fpu/libm-test-ulps: Update.
444
90020f5a
MF
4452012-04-11 Mike Frysinger <vapier@gentoo.org>
446
447 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
448 Add a leading slash to rtkaio.
449
288f9098
JM
4502012-04-11 Jim Meyering <meyering@redhat.com>
451
90020f5a
MF
452 [BZ #11959]
453 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
454 It is not necessarily an error to ignore fwrite's return
455 value. One can reliably use ferror to test for errors after
456 the fact.
288f9098 457
4be2b570
L
4582012-04-10 H.J. Lu <hongjiu.lu@intel.com>
459
460 * bits/types.h (__snseconds_t): New type.
461 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
462
463 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
464 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
465 (__SNSECONDS_T_TYPE): Likewise.
466 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
467 (__SNSECONDS_T_TYPE): Likewise.
468 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
469 (__SNSECONDS_T_TYPE): Likewise.
470
288f9098 4712012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
472
473 [BZ #2636]
474 * manual/time.texi (Processor Time): Return type of times is
475 elapsed real time since an arbitrary point in the past.
476 (CPU Time): Move CLK_TCK from here...
477 (Processor Time): ...to here. Correct description.
478 * manual/conf.texi (Constants for Sysconf): Correct description of
479 _SC_CLK_TCK.
480
d7dd4413
DM
4812012-04-10 David S. Miller <davem@davemloft.net>
482
483 [BZ #13967]
484 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
485 where the is a gap between DT_REL(A) and DT_JMPREL.
486
b46068fc
L
4872012-04-10 H.J. Lu <hongjiu.lu@intel.com>
488
489 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
490 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
491 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
492
73d65cc3
SP
4932012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
494
495 * elf/dl-support.c (_dl_inhibit_cache): New variable.
496 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
497 (dl_main): Handle --inhibit-cache.
498 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
499 _dl_inhibit_cache.
500 * elf/dl-load.c (_dl_map_object): Use it.
501 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
502
bcc8d661
JM
5032012-04-09 Joseph Myers <joseph@codesourcery.com>
504
8f9a2fae
JM
505 [BZ #13872]
506 * sysdeps/i386/fpu/e_powl.S (p78): New object.
507 (__ieee754_powl): Saturate large exponents rather than testing for
508 overflow of y*log2(x).
509 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
510 * math/libm-test.inc (pow_test): Do not permit spurious overflow
511 exceptions.
512
bcc8d661
JM
513 [BZ #11521]
514 * math/s_ctan.c: Include <float.h>.
515 (__ctan): Avoid internal overflow or cancellation in calculating
516 denominator.
517 * math/s_ctanf.c: Likewise.
518 * math/s_ctanl.c: Likewise.
519 * math/s_ctanh.c: Likewise.
520 * math/s_ctanhf.c: Likewise.
521 * math/s_ctanhl.c: Likewise.
522 * math/libm-test.inc (ctan_test): Add more tests.
523 (ctanh_test): Likewise.
524 * sysdeps/i386/fpu/libm-test-ulps: Update.
525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
526
823fbbb4
AJ
5272012-04-09 Andreas Jaeger <aj@suse.de>
528
03879793
AJ
529 [BZ #6894]
530 * manual/filesys.texi (Directory Entries): Mention that d_namlen
531 is an optional BSD extension.
532
823fbbb4
AJ
533 [BZ #10254]
534 * manual/stdio.texi (Opening Streams): Document additional fopen
535 parameters.
536
8de131cb
RM
5372012-04-09 Roland McGrath <roland@hack.frob.com>
538
539 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
540 %eax without telling the compiler.
541
c0ed9d7d
CD
5422012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
543
544 [BZ # 13963]
545 * manual/install.texi: Use sourceware.org.
546
c483f6b4
JM
5472012-04-09 Joseph Myers <joseph@codesourcery.com>
548
d7dd9453
JM
549 [BZ #13873]
550 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
551 (__ieee754_pow): Generate overflow and underflow using huge*huge
552 and tiny*tiny rather than just returning constant infinity or zero
553 for large exponents.
554 * math/libm-test.inc (pow_test): Require overflow exceptions for
555 applicable cases of large exponents.
556
c483f6b4
JM
557 [BZ #706]
558 * sysdeps/i386/fpu/e_pow.S (p10): New object.
559 (__ieee754_pow): Use iterative multiplication algorithm only for
560 integer exponents with absolute value below 1024. Check for odd
561 integer exponents when using algorithm for real exponents.
562 * math/libm-test.inc (pow_test): Add more tests.
563 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
564
d2de7579
JM
5652012-04-08 Joseph Myers <joseph@codesourcery.com>
566
567 [BZ #13705]
568 * math/libm-test.inc (exp_test): Do not allow overflow exception
569 on underflow test.
570
f77f1232
AJ
5712012-04-08 Aurelien Jarno <aurelien@aurel32.net>
572
573 [BZ #13705]
574 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
575 instead of __kernel_standard_f.
576
3884932b
MF
5772012-04-08 Mike Frysinger <vapier@gentoo.org>
578
579 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
580 * sysdeps/x86_64/memset_chk.S: Likewise.
581
54472e9c
AJ
5822012-04-08 Andreas Jaeger <aj@suse.de>
583
6ab0fbfc
AJ
584 [BZ #10153]
585 * manual/startup.texi (Environment Access): Describe return value
586 for putenv and setenv.
587
61efba8c
AJ
588 [BZ #6895]
589 * manual/filesys.texi (Directory Entries): Add description for
590 DT_LNK.
591
95c3f29a
AJ
592 [BZ #6890]
593 * manual/filesys.texi (Directory Entries): Clarify that it's file
594 system not operating system in the description of DT_UNKNOWN.
595
54472e9c
AJ
596 [BZ #6578]
597 * manual/syslog.texi (closelog): Fix reference, it's openlog.
598
624254b1
SC
5992012-04-08 Stephen Compall <s11@member.fsf.org>
600
601 [BZ #6649]
602 * manual/llio.texi (Opening and Closing Files): Add cross
603 reference to explain mode argument.
604
1e4920e0
MF
6052012-04-07 Mike Frysinger <vapier@gentoo.org>
606
607 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
608 * sysdeps/x86_64/memset_chk.S: Likewise.
609
5ed848f3
DM
6102012-04-07 David S. Miller <davem@davemloft.net>
611
612 * elf/elf.h (R_SPARC_WDISP10): Define.
613 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
614 R_SPARC_SIZE32.
615 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
616 R_SPARC_SIZE64 and R_SPARC_H34.
617
96154cd8
CD
6182012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
619
620 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
621 conditions and remove no longer applicable assertion.
622
9904dc47
L
6232012-04-06 H.J. Lu <hongjiu.lu@intel.com>
624
625 * bits/byteswap.h: Include <features.h>.
626 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
627 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
628
f8887d0a
L
6292012-04-06 H.J. Lu <hongjiu.lu@intel.com>
630
631 * bits/byteswap.h (__bswap_16): Removed.
632 Include <bits/byteswap-16.h> to get __bswap_16.
633 * sysdeps/i386/bits/byteswap.h: Likewise.
634 * sysdeps/s390/bits/byteswap.h: Likewise.
635 * sysdeps/x86_64/bits/byteswap.h: Likewise.
636 * bits/byteswap-16.h: New file.
637 * sysdeps/i386/bits/byteswap-16.h: Likewise.
638 * sysdeps/s390/bits/byteswap-16.h: Likewise.
639 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
640 * string/Makefile (headers): Add bits/byteswap-16.h.
641
62470f60
PP
6422012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
643
644 [BZ #13895]
645 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
646 extra indirection.
647 * nss/Makefile (tests-static, tests): Add tst-nss-static.
648 * nss/tst-nss-static.c: New.
649
4dad7bab
RM
6502012-04-06 Robert Millan <rmh@gnu.org>
651
652 [BZ #6486]
653 * manual/llio.texi (File Position Primitive): lseek
654 refers to WHENCE when it really means OFFSET.
655
e9142a17
AJ
6562012-04-06 Andreas Jaeger <aj@suse.de>
657
2c040eff
AJ
658 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
659 strncmp declarations.
660
e9142a17
AJ
661 * abilist/libc.abilist: Add __poll and __ppoll.
662
ff9f1c5f
DM
6632012-04-05 David S. Miller <davem@davemloft.net>
664
dcd2ae90
DM
665 * scripts/check-local-headers.sh: Accept a host triplet in the
666 path matched by the exclude regexp.
667
993eb054
DM
668 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
669 definition.
670 * sysdeps/powerpc/powerpc32/dl-machine.h
671 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
672 * sysdeps/s390/s390-32/dl-machine.h
673 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
674 * sysdeps/sparc/sparc32/dl-machine.h
675 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
676 * sysdeps/sparc/sparc64/dl-machine.h
677 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
678
ff9f1c5f
DM
679 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
680 lazy binding.
48e2e132 681 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
682 undefined symbol errors.
683
48e2e132 684 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
685 DT_NEEDED entries.
686
e80d6f94
MM
6872012-04-05 Michael Matz <matz@suse.de>
688
689 [BZ #13592]
690 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
691
349fa79f
AJ
6922012-04-05 Andreas Jaeger <aj@suse.de>
693
694 [BZ #13908]
695 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
696 comment.
697
f402708f
KK
6982012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
699
700 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
701 which ROUND is no valid rounding mode.
702
2ecccfc9
KK
7032012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
704
705 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
706 read again.
707 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
708
8a53f50f
KK
7092012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
710
711 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
712 an exception using FPU order intentionally.
713
7142012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
715
716 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
717 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
718 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
719 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
720
d653abb7
SJ
7212012-04-05 Simon Josefsson <simon@josefsson.org>
722
723 [BZ #12340]
724 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
725 EINVAL when BUFLEN is too smal.
726
c3b1bf7d
TS
7272012-04-05 Thomas Schwinge <thomas@codesourcery.com>
728
729 [BZ #13553]
730 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
731 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
732
b1aa60f3
AJ
7332012-04-03 Andreas Jaeger <aj@suse.de>
734
c3b1bf7d 735 [BZ #13938]
67f60a26
AJ
736 * manual/setjmp.texi (System V contexts): Fix sentence.
737
b1aa60f3
AJ
738 [BZ #13926]
739 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
740 New macro for this case.
741 [!__GNUC__] (__bswap_64): New inline function for this case.
742 * sysdeps/x86_64/bits/byteswap.h: Likewise.
743 * bits/byteswap.h: Likewise.
744 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
745 ull, guard with __GLIBC_HAVE_LONG_LONG.
746
747 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
748 __GLIBC_HAVE_LONG_LONG.
749
750 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
751 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
752
39c59c35
TMQMF
7532012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
754
755 [BZ #13691]
756 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
757 inptr and inend, rather than using last_ch.
758
135ffda8
DM
7592012-04-02 David S. Miller <davem@davemloft.net>
760
761 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
762 * stdio-common/printf-parse.h (read_int): Change return type to
763 'int', return -1 on INT_MAX overflow.
764 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
765 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
766 overflows INT_MAX. Check for overflow of in-format-string precision
767 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
768 SIZE_MAX not INT_MAX for integer overflow test.
769 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
770 skip the construct in the format string but do not record anything.
771 * stdio-common/bug22.c: Adjust to test both width/prevision
772 INT_MAX overflow as well as total length INT_MAX overflow. Check
773 explicitly for proper errno values.
774
228c019e
TS
7752012-04-02 Thomas Schwinge <thomas@codesourcery.com>
776
302cadd3
TS
777 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
778 CHAR_MAX.
779 * string/test-strcmp.c [! WIDE]: Likewise.
780 * time/tst-mktime2.c: Likewise for INT_MAX.
781 * string/test-string.h: #include <sys/param.h> for MIN.
782
228c019e
TS
783 * csu/init-first.c (__libc_init_first): Call __ctype_init.
784 * sysdeps/i386/init-first.c (init): Likewise.
785 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
786 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
787 * sysdeps/sh/init-first.c (init): Likewise.
788
cfa633f5
UD
7892012-04-01 Ulrich Drepper <drepper@gmail.com>
790
791 * po/ru.po: Update from translation team.
d1635ef8 792 * po/vi.po: Likewise.
cfa633f5 793
6cd0a5ea
SP
7942012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
795
796 * resolv/nss_dns/dns-host.c: Merge copyright years.
797
4b43400f
LD
7982012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
799
800 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
801 Optimize memcpy with prefetch if
802 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
803 src, dst pointers have unequal 16 byte alignments.
804
48c41d04
SP
8052012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
806
807 [BZ #13928]
808 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
809 from a CNAME entry and return the minimum ttl for the query.
810 (gaih_getanswer_slice): Likewise.
811
b8dc394d
JL
8122012-03-30 Jeff Law <law@redhat.com>
813
814 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
815 due to long keys.
816 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
817 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
818
2f5a5ed0
JL
819 * resolv/nss_dns/dns-host.c: Update copyright year.
820
1d39e359
UD
8212012-03-30 Ulrich Drepper <drepper@gmail.com>
822
c030f70c 823 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 824 requests to save a system call. Fix check that all bytes are sent.
c030f70c 825
1d39e359
UD
826 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
827 comments for sendmmsg.
828
8292012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
830
831 [BZ #13691]
832 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
833 with only 1 character between 0x0041 and 0x01b0.
834 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
835 * wcsmbs/tst-mbsnrtowcs.c: New file.
836
20fde227
DM
8372012-03-29 David S. Miller <davem@davemloft.net>
838
839 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
840 small copies by hand.
841
984a4237
JL
8422012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
843
844 [BZ #13761]
845 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
846 _nss_compat_initgroups_dyn): Fall back to malloc/free
847 for large group memberships.
848
18c9d62b
DM
8492012-03-28 David S. Miller <davem@davemloft.net>
850
88d85d4f
DM
851 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
852 that branches into memcpy.
853 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
854 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
855 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
856 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
857 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
858 bits.
859 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
860 implementation too.
861 * sysdeps/sparc/mempcpy.S: New file.
862
e5aa83e1
DM
863 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
864 the IFUNC routine in the libc case.
865 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
866
88570753
DM
867 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
868 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
869 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
870 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
871 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
872 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
873 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
874 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
875
249d7567
DM
876 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
877 loop to 256 bytes instead of 64 bytes and fix test signedness.
878
18c9d62b
DM
879 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
880 * sysdeps/sparc/sparc32/Makefile: rather than here...
881 * sysdeps/sparc/sparc64/Makefile: and here.
882
05f3d1f6
UD
8832012-03-28 Ulrich Drepper <drepper@gmail.com>
884
885 * malloc/mallocbug.c: Avoid warnings about unused variables.
886
86ae07a8
JL
8872012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
888
889 [BZ #13760]
890 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
891 in the right place. Discard and retry query if response is
892 larger than input buffer size.
893
41bf21a1
JM
8942012-03-28 Joseph Myers <joseph@codesourcery.com>
895
d6270972
JM
896 [BZ #369]
897 [BZ #2678]
898 [BZ #3866]
899 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
900 x for large integer exponent.
901 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
902 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
903 sign of result as needed afterwards.
904 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
905 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
906 result for underflowing pow the same as for overflow.
907 (__kernel_standard_l): Handle powl overflow and underflow here
908 rather than calling __kernel_standard.
909 * math/libm-test.inc (pow_test): Add more tests.
910
414fca03 911 [BZ #3868]
41bf21a1
JM
912 [BZ #13879]
913 [BZ #13910]
914 [BZ #13911]
915 [BZ #13912]
916 [BZ #13913]
917 [BZ #13915]
918 [BZ #13916]
919 [BZ #13917]
920 [BZ #13918]
921 [BZ #13919]
922 [BZ #13920]
923 [BZ #13921]
924 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
925 * sysdeps/ieee754/k_standard.c: Include <float.h>.
926 (__kernel_standard_l): New function.
927 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
928 __kernel_standard.
929 * math/w_acosl.c (__acosl): Likewise.
930 * math/w_asinl.c (__asinl): Likewise.
931 * math/w_atan2l.c (__atan2l): Likewise.
932 * math/w_atanhl.c (__atanhl): Likewise.
933 * math/w_coshl.c (__coshl): Likewise.
934 * math/w_exp10l.c (__exp10l): Likewise.
935 * math/w_exp2l.c (__exp2l): Likewise.
936 * math/w_fmodl.c (__fmodl): Likewise.
937 * math/w_hypotl.c (__hypotl): Likewise.
938 * math/w_j0l.c (__j0l, __y0l): Likewise.
939 * math/w_j1l.c (__j1l, __y1l): Likewise.
940 * math/w_jnl.c (__jnl, __ynl): Likewise.
941 * math/w_lgammal.c (__lgammal): Likewise.
942 * math/w_log10l.c (__log10l): Likewise.
943 * math/w_log2l.c (__log2l): Likewise.
944 * math/w_logl.c (__logl): Likewise.
945 * math/w_powl.c (__powl): Likewise.
946 * math/w_remainderl.c (__remainderl): Likewise.
947 * math/w_scalbl.c (sysv_scalbl): Likewise.
948 * math/w_sinhl.c (__sinhl): Likewise.
949 * math/w_sqrtl.c (__sqrtl): Likewise.
950 * math/w_tgammal.c (__tgammal): Likewise.
951 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
952 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
953 * math/libm-test.inc (acos_test): Add more tests.
954 (acosh_test): Likewise.
955 (asin_test): Likewise.
956 (atanh_test): Likewise.
957 (exp_test): Likewise.
958 (exp10_test): Likewise.
959 (exp2_test): Likewise.
960 (expm1_test): Likewise.
961 (lgamma_test): Likewise.
962 (log_test): Likewise.
963 (log10_test): Likewise.
964 (log1p_test): Likewise.
965 (log2_test): Likewise.
966 (pow_test): Do not allow some spurious overflow exceptions.
967 (sqrt_test): Add more tests.
968 (tgamma_test): Likewise.
969 (y0_test): Likewise.
970 (y1_test): Likewise.
971 (yn_test): Likewise.
972
dd62fda6
AB
9732012-03-27 Anton Blanchard <anton@samba.org>
974
975 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
976 MAP_HUGETLB.
977 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
978 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
979 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
980
1e3cdfda
AJ
9812012-03-27 David S. Miller <davem@davemloft.net>
982
b855ab85
DM
983 * conform/Makefile: Run run-conformtest.sh using $(BASH).
984
1e3cdfda
AJ
985 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
986 have-as-vis3 check.
987
9882012-03-27 Andreas Jaeger <aj@suse.de>
989
990 * sysdeps/x86_64/elf/configure.in: Moved to ...
991 * sysdeps/x86_64/configure.in: ... here.
992 * sysdeps/x86_64/elf/start.S: Moved to ...
993 * sysdeps/x86_64/start.S: ... here.
994 * sysdeps/x86_64/elf/configure: Delete.
995
996 * sysdeps/x86_64/configure.in: Merge contents from
997 sysdeps/i386/configure.in (without i686 check).
998
999 * sysdeps/i386/elf/Versions: Merge into ...
1000 * sysdeps/i386/Versions: ... this.
1001 * sysdeps/i386/elf/Versions: Delete file.
1002 * sysdeps/i386/elf/start.S: Moved to ...
1003 * sysdeps/i386/start.S: ...here.
1004 * sysdeps/i386/elf/configure.in: Merge into...
1005 * sysdeps/i386/configure.in: ...here.
1006 * sysdeps/i386/elf/configure.in: Delete file.
1007 * sysdeps/i386/elf/configure: Delete file.
1008
1009 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
1010 * debug/backtracesyms.c: ... here.
1011 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
1012 * debug/backtracesymsfd.c: ... here.
1013 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
1014 * sysdeps/generic/ifunc-sel.h: ... here.
1015
1016 * sysdeps/unix/i386/start.c: Delete file.
1017 * sysdeps/unix/sparc/start.c: Delete file.
1018 * sysdeps/unix/start.c: Delete file.
1019
1020 * sysdeps/sh/elf/configure.in: Moved to ...
1021 * sysdeps/sh/configure.in: ... here.
1022 * sysdeps/sh/elf/start.S: Moved to ...
1023 * sysdeps/sh/start.S: ... here.
1024 * sysdeps/sh/elf/configure: Delete file.
1025
1026 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
1027 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
1028 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
1029 * sysdeps/powerpc/powerpc64/entry.h: ... here.
1030 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
1031 * sysdeps/powerpc/powerpc64/start.S: here.
1032 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
1033 * sysdeps/powerpc/powerpc64/Makefile: ... this.
1034 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
1035 * sysdeps/powerpc/powerpc64/configure.in: ... this.
1036 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
1037
1038 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
1039 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
1040 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
1041 * sysdeps/powerpc/powerpc32/start.S: ... here.
1042 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
1043 * sysdeps/powerpc/powerpc32/configure.in: ... this.
1044 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
1045
1046 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
1047 * sysdeps/powerpc/ifunc-sel.h: ... here.
1048 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
1049 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
1050
1051 * sysdeps/sparc/elf/configure.in: Moved to ...
1052 * sysdeps/sparc/configure.in: ... here.
1053 * sysdeps/sparc/elf/configure: Delete file.
1054 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
1055 * sysdeps/sparc/sparc32/start.S: ... here.
1056 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
1057 * sysdeps/sparc/sparc64/start.S: ... here.
1058 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
1059 * sysdeps/sparc/sparc32/Makefile: ... this.
1060 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
1061 * sysdeps/sparc/sparc64/Makefile: ... this.
1062
1063 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
1064 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
1065 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
1066 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
1067 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
1068 * sysdeps/s390/s390-32/setjmp.S: ... here.
1069 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
1070 * sysdeps/s390/s390-32/configure.in: ... here.
1071 * sysdeps/s390/s390-32/elf/configure: Delete file.
1072 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
1073 * sysdeps/s390/s390-32/start.S: ... here.
1074
1075 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
1076 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
1077 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
1078 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
1079 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
1080 * sysdeps/s390/s390-64/setjmp.S: ... here.
1081 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
1082 * sysdeps/s390/s390-64/configure.in: ... here
1083 * sysdeps/s390/s390-64/elf/configure: Delete file.
1084 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
1085 * sysdeps/s390/s390-64/start.S: ... here.
1086 * sysdeps/s390/s390-64/elf/configure: Delete.
1087
1088 * configure.in: Remove support for elf directories in sysdeps.
1089
1090 * configure: Regenerated.
1091 * sysdeps/i386/configure: Regenerated.
1092 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1093 * sysdeps/powerpc/powerpc64/configure: Regenerated.
1094 * sysdeps/s390/s390-32/configure: Regenerated.
1095 * sysdeps/s390/s390-64/configure: Regenerated.
1096 * sysdeps/sh/configure: Regenerated.
1097 * sysdeps/sparc/configure: Regenerated.
1098 * sysdeps/x86_64/configure: Regenerated.
1099
a3f61311
AS
11002012-03-26 Andreas Schwab <schwab@linux-m68k.org>
1101
c876e002
AS
1102 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1103
a3f61311
AS
1104 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
1105 denormal result into account.
1106
ac4c54f0
RM
11072012-03-25 Roland McGrath <roland@hack.frob.com>
1108
1109 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
1110 Reported by Allan McRae <allan@archlinux.org>.
1111
6a9b9c02
JL
11122012-03-23 Jeff Law <law@redhat.com>
1113
1114 * nss/getnssent.c (__nss_getent): Fix typo.
1115
4c42a0c1
DM
11162012-03-23 David S. Miller <davem@davemloft.net>
1117
1118 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1119
1532c7ac
L
11202012-03-23 H.J. Lu <hongjiu.lu@intel.com>
1121
1122 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
1123 to pad to uint64_t for each field.
1124 (dl_tls_index): Replace unsigned long with uint64_t.
1125
3ff42526
PP
11262012-03-23 Daniel Jacobowitz <dmj@google.com>
1127 Paul Pluzhnikov <ppluzhnikov@google.com>
1128
1129 [BZ #6528]
1130 * grp/Makefile (otherlibs): Don't set it.
1131 * inet/Makefile (otherlibs): Likewise.
1132 * login/Makefile (otherlibs): Likewise.
1133 * nscd/Makefile (otherlibs): Likewise.
1134 * posix/Makefile (otherlibs): Likewise.
1135 * pwd/Makefile (otherlibs): Likewise.
1136 * rt/Makefile (otherlibs): Likewise.
1137 * sunrpc/Makefile (otherlibs): Likewise.
1138 * nss/Makefile (otherlibs): Likewise.
1139 Add libnss_files to routines and static-only-routines.
1140 ($(objpfx)getent): Remove rule.
1141 * resolv/Makefile: Add libnss_dns and libresolv to routines and
1142 static-only-routines.
1143
7c69cd14
JM
11442012-03-22 Joseph Myers <joseph@codesourcery.com>
1145
1146 [BZ #13892]
1147 * math/s_cexp.c: Include <float.h>.
1148 (__cexp): Handle exp result overflowing not necessarily
1149 overflowing both real and imaginary parts of result.
1150 * math/s_cexpf.c: Likewise.
1151 * math/s_cexpl.c: Likewise.
1152 * math/libm-test.inc (cexp_test): Add more tests.
1153 * sysdeps/i386/fpu/libm-test-ulps: Update.
1154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1155
81b035fe
L
11562012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1157
1158 * include/link.h (ELFW): New macro.
1159 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
1160 Replace ELF64_R_TYPE with ELFW(R_TYPE).
1161
1da7940c
L
11622012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1163
1164 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
1165 with uint64_t.
1166
b749dbb9
L
11672012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1168
1169 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
1170 declaration.
1171 (struct La_x32_retval): Likewise.
1172
2ff87f3f
L
11732012-03-22 H.J. Lu <hongjiu.lu@intel.com>
1174
1175 * sysdeps/x86_64/preconfigure.in: New file.
1176 * sysdeps/x86_64/preconfigure: New generated file.
1177
c0df8e69
JM
11782012-03-22 Joseph Myers <joseph@codesourcery.com>
1179
48e44791
JM
1180 [BZ #13824]
1181 * math/e_exp2l.c: Include <float.h>.
1182 (__ieee754_exp2l): Handle overflow and underflow cases
1183 separately. Only pass fractional part of argument to
1184 __ieee754_expl.
1185 * math/libm-test.inc (exp2_test): Add more tests.
1186
c0df8e69
JM
1187 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
1188 negating x to take absolute value.
1189 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
1190 Likewise.
1191 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1192 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
1193 Likewise.
1194 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
1195 computing low part if x was negated.
1196 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1197
c8e43ba7
L
11982012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1199
1200 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
1201 la_x32_gnu_pltexit.
1202 (pltexit): Cast int_retval to ptrdiff_t.
1203 * elf/tst-auditmod3b.c: Likewise.
1204 * elf/tst-auditmod4b.c: Likewise.
1205 * elf/tst-auditmod5b.c: Likewise.
1206 * elf/tst-auditmod6b.c: Likewise.
1207 * elf/tst-auditmod6c.c: Likewise.
1208 * elf/tst-auditmod7b.c: Likewise.
1209
1210 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
1211 and x32_gnu_pltexit.
1212
1213 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
1214 __ELF_NATIVE_CLASS.
1215 (La_x32_regs): New macro.
1216 (La_x32_retval): Likewise.
1217 (la_x32_gnu_pltenter): New function prototype.
1218 (la_x32_gnu_pltexit): Likewise.
1219
7998fa78
AS
12202012-03-21 Andreas Schwab <schwab@linux-m68k.org>
1221
dcb33988
AS
1222 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
1223 exponent.
1224
233fc563
AS
1225 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1226
7998fa78
AS
1227 * configure.in (libc_cv_cc_nofma): Check for option to disable
1228 generation of FMA instructions.
1229 * configure: Regenerate.
1230 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
1231 * sysdeps/ieee754/dbl-64/Makefile: New file.
1232 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1233 Remove brandred-fma4.
1234 (CFLAGS-brandred-fma4.c): Remove.
1235 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
1236 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
1237 define.
1238 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
1239 define.
1240
8e95c99a
L
12412012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1242
1243 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1244 LLONG_MAX != LONG_MAX.
1245 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1246 (_fitoa_word): Likewise.
1247 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
1248 LLONG_MAX != LONG_MAX.
1249 * stdio-common/_itowa.h: Include <_itoa.h>.
1250 (_itowa_word): Use _ITOA_WORD_TYPE on value.
1251 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
1252 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
1253 only if not defined.
1254 (_ITOA_WORD_TYPE): Likewise.
1255 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1256 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
1257
6f4db457
DM
12582012-03-21 David S. Miller <davem@davemloft.net>
1259
1260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1261
7785fe5a
L
12622012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1263
1264 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
1265 of x86_64 when setting libc_cv_slibdir, libdir and
1266 libc_cv_localedir.
1267 * sysdeps/unix/sysv/linux/configure: Regenerated.
1268
4535cd55
JM
12692012-03-21 Joseph Myers <joseph@codesourcery.com>
1270
1271 * manual/lang.texi (Old Varargs): Remove section.
1272 (How Variadic): Update menu.
1273 (va_start): Do not mention varargs.h.
1274
17228132
TS
12752012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1276 Joseph Myers <joseph@codesourcery.com>
1277
1278 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
1279 link test.
1280 * configure: Regenerated.
1281
8149f976
TS
12822012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1283
05f3d1f6
UD
1284 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
1285 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
1286 conformtest.pl
8149f976 1287
1a4ac776
JM
12882012-03-21 Joseph Myers <joseph@codesourcery.com>
1289
be22ce65
JM
1290 * NOTES: Remove.
1291 * Makefile (files-for-dist): Remove NOTES.
1292 (NOTES): Remove rule.
1293 * README: Don't refer to NOTES.
1294 * manual/creature.texi: Don't include macros.texi.
1295 * manual/intro.texi (creature.texi): Remove comment referring to
1296 NOTES.
1297
40b601fb
JM
1298 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
1299 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
1300 * configure: Regenerated.
1301 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
1302 LIBC_TRY_CC_OPTION.
1303 (libc_cv_as_i686): Likewise.
1304 (libc_cv_cc_avx): Likewise.
1305 (libc_cv_cc_sse2avx): Likewise.
1306 (libc_cv_cc_fma4): Likewise.
1307 (libc_cv_cc_novzeroupper): Likewise.
1308 * sysdeps/i386/configure: Regenerated.
1309
1a4ac776
JM
1310 [BZ #13883]
1311 * sysdeps/i386/fpu/s_cexp.S: Remove.
1312 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1313 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1314 * math/libm-test.inc (cexp_test): Add more tests.
1315 * sysdeps/i386/fpu/libm-test-ulps: Update.
1316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1317
a458e7fe
AM
13182012-03-21 Allan McRae <allan@archlinux.org>
1319
1320 * timezone/Makefile: Do not install iso3166.tab and zone.tab
1321
0cb7efc5
JM
13222012-03-21 Joseph Myers <joseph@codesourcery.com>
1323
1324 [BZ #13871]
1325 * math/w_exp2.c: Do not include <float.h>.
1326 (o_threshold, u_threshold): Remove.
1327 (__exp2): Calculate result before checking finiteness and calling
1328 __kernel_standard.
1329 * math/w_exp2f.c: Likewise.
1330 * math/w_exp2l.c: Likewise.
1331 * math/libm-test.inc (exp2_test): Require overflow exception for
1332 1e6 input.
2460d3aa
JM
1333
1334 [BZ #3866]
1335 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
1336 range of signed 64-bit integers before using fistpll. Remove
1337 checks for whether integers fit in mantissa bits.
1338 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
1339 the range of signed 32-bit integers before using fistpl. Remove
1340 checks for whether integers fit in mantissa bits.
1341 * sysdeps/i386/fpu/e_powl.S (p64): New object.
1342 (__ieee754_powl): Test for y outside the range of signed 64-bit
1343 integers before using fistpll. Reduce 64-bit values to 63-bit
1344 ones as needed.
1345 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
1346 divide-by-zero is raised for zero to large negative powers.
1347 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
1348 (__ieee754_powl): Test for y outside the range of signed 64-bit
1349 integers before using fistpll. Reduce 64-bit values to 63-bit
1350 ones as needed.
1351 * math/libm-test.inc (pow_test): Add more tests.
1352
eb96ffb0
L
13532012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1354
1355 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
1356 <stdio-common/_itoa.h>.
1357 * debug/segfault.c: Likewise.
1358 * elf/dl-cache.c: Likewise.
1359 * elf/dl-minimal.c: Likewise.
1360 * elf/dl-misc.c: Likewise.
1361 * elf/dl-sysdep.c: Likewise.
1362 * elf/dl-version.c: Likewise.
1363 * elf/rtld.c: Likewise.
1364 * hurd/hurdsock.c: Likewise.
1365 * hurd/lookup-retry.c: Likewise.
1366 * malloc/malloc.c: Likewise.
1367 * malloc/mtrace.c: Likewise.
1368 * nscd/nscd_getgr_r.c: Likewise.
1369 * nscd/nscd_getpw_r.c: Likewise.
1370 * nscd/nscd_getserv_r.c: Likewise.
1371 * posix/getopt_init.c: Likewise.
1372 * posix/wordexp.c: Likewise.
1373 * stdio-common/_itoa.c: Likewise.
1374 * stdio-common/printf_fphex.c: Likewise.
1375 * stdio-common/vfprintf.c: Likewise.
1376 * string/_strerror.c: Likewise.
1377 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
1378 * sysdeps/i386/i686/hp-timing.h: Likewise.
1379 * sysdeps/mach/_strerror.c: Likewise.
1380 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
1381 * sysdeps/mach/hurd/sethostid.c: Likewise.
1382 * sysdeps/mach/hurd/xmknodat.c: Likewise.
1383 * sysdeps/mach/xpg-strerror.c: Likewise.
1384 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1385 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1386 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
1387 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
1388 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1389 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
1390 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1391 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1392 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
1393 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
1394 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1395 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1396 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1397 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1398 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1399 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
1400 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1401 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1402 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1403 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1404 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
1405
1406 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
1407
1408 * stdio-common/_itoa.h: Moved to ...
1409 * sysdeps/generic/_itoa.h: Here.
1410
1411 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
1412
1413 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
1414 instead of "_itoa.h" and "_itowa.h".
1415 * stdio-common/vfprintf.: Likewise.
1416
d1af992d
L
14172012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1418
1419 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
1420 <bits/wordsize.h>.
1421 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
1422 (__signbit): Likwise.
1423 (llrintf): Likwise.
1424 (llrint): Likwise.
1425
114883e0
L
14262012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1427
1428 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
1429 __WORDSIZE != 64.
1430
c135cc1b
JM
14312012-03-20 Joseph Myers <joseph@codesourcery.com>
1432
1433 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
1434 OVERFLOW_EXCEPTION_OK.
1435 * math/libm-test.inc ("Philosophy"): Update comment about
1436 exception testing.
1437 (OVERFLOW_EXCEPTION): Define.
1438 (OVERFLOW_EXCEPTION_OK): Likewise.
1439 (INVALID_EXCEPTION_OK): Renumber.
1440 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1441 (IGNORE_ZERO_INF_SIGN): Likewise.
1442 (test_exceptions): Handle FE_OVERFLOW.
1443 (exp10_test): Expect overflow exceptions.
1444 (exp2_test): Likewise.
1445 (expm1_test): Likewise.
1446 (nextafter_test): Likewise.
1447 (pow_test): Likewise.
1448 (scalbn_test): Likewise.
1449 (scalbln_test): Likewise.
1450
95443d88
L
14512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1452
1453 * sysdeps/x86_64/bits/atomic.h
1454 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
1455 64bit integer.
1456 (atomic_exchange_acq): Likewise.
1457 (__arch_exchange_and_add_body): Likewise.
1458 (__arch_add_body): Likewise.
1459 (atomic_add_negative): Likewise.
1460 (atomic_add_zero): Likewise.
1461
490df6c4
L
14622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1463
c2722551 1464 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
1465 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
1466
5e52b189
L
14672012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1468
1469 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
1470 Check __x86_64__ instead of __WORDSIZE.
1471
a9879d4c
L
14722012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1473
1474 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
1475
5df98260
DM
14762012-03-19 David S. Miller <davem@davemloft.net>
1477
e1497744
DM
1478 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1479
5df98260
DM
1480 * sysdeps/sparc/fpu/fenv_private.h: New file.
1481 * sysdeps/sparc/fpu/math_private.h: Use it.
1482 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1483 Remove.
1484 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1485 (libc_feholdexcept_setroundl): Remove.
1486 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1487 Remove.
1488 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1489 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1490
b4c35121
L
14912012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1492
1493 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1494 int64_t instead of long int.
1495 (INSERT_WORDS64): Likwise.
1496
56965fd7
L
14972012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1498
1499 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1500 _Unwind_GetCFA return to _Unwind_Ptr first.
1501
83d1aec8
JM
15022012-03-19 Joseph Myers <joseph@codesourcery.com>
1503
1897ad44
JM
1504 [BZ #13629]
1505 * math/s_clog.c: Include <float.h>.
1506 (__clog): Scale large or subnormal inputs.
1507 * math/s_clogf.c: Likewise.
1508 * math/s_clogl.c: Likewise.
1509 * math/s_clog10.c: Include <float.h>.
1510 (M_LOG10_2): Define.
1511 (__clog10): Scale large or subnormal inputs.
1512 * math/s_clog10f.c: Likewise.
1513 * math/s_clog10l.c: Likewise.
1514 * math/libm-test.inc (clog_test): Add more tests.
1515 (clog10_test): Likewise.
1516 * sysdeps/i386/fpu/libm-test-ulps: Update.
1517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1518
7726d6a9
JM
1519 [BZ #11451]
1520 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1521 x and y.
1522 * math/libm-test.inc (atan2_test): Add another test.
1523
83d1aec8
JM
1524 * Makerules (common-objdir-compile): Remove.
1525 * sysdeps/unix/Makefile (config-generated): Do not add
1526 $(unix-generated) to variable.
1527 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1528 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1529 Remove rule.
1530 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1531 Likewise.
1532 [generic bits/local_lim.h] (before-compile): Do not append to
1533 variable.
1534 [generic bits/local_lim.h] (common-generated): Likewise.
1535 [generic sys/param.h] (before-compile): Do not append to variable.
1536 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1537 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1538 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1539 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1540 include.
1541 [generic sys/param.h] (sys/param.h-includes): Remove variable.
1542 [generic sys/param.h] (sys/param.h-includes): Remove rule.
1543 [generic sys/param.h] ($(addprefix
1544 $(common-objpfx),$(sys/param.h-includes))): Likewise.
1545 [generic sys/param.h] (common-generated): Do not append to
1546 variable.
1547 [generic sys/param.h] (sysdep_headers): Likewise.
1548 [generic bits/errno.h] (before-compile): Do not append to
1549 variable.
1550 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
1551 rule.
1552 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
1553 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
1554 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
1555 [generic bits/errno.h] (common-generated): Do not append to
1556 variable.
1557 [generic bits/ioctls.h] (before-compile): Do not append to
1558 variable.
1559 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
1560 rule.
1561 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
1562 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
1563 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
1564 rule.
1565 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
1566 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
1567 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
1568 [generic bits/ioctls.h] (common-generated): Do not append to
1569 variable.
1570 [generic sys/syscall.h] (syscall.h): Remove variable.
1571 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
1572 rule.
1573 [generic sys/syscall.h] (before-compile): Do not append to
1574 variable.
1575 [generic sys/syscall.h] (common-generated): Likewise.
1576 * sysdeps/unix/errnos-tmpl.c: Remove file.
1577 * sysdeps/unix/errnos.awk: Likewise.
1578 * sysdeps/unix/ioctls-tmpl.c: Likewise.
1579 * sysdeps/unix/ioctls.awk: Likewise.
1580 * sysdeps/unix/mk-local_lim.c: Likewise.
1581 * sysdeps/unix/snarf-ioctls: Likewise.
1582
4851a949
RH
15832012-03-19 Richard Henderson <rth@twiddle.net>
1584
bd37f2ee
RH
1585 * sysdeps/i386/fpu/fenv_private.h: New file.
1586 * sysdeps/i386/fpu/math_private.h: Use it.
1587 (math_opt_barrier, math_force_eval): Remove.
1588 (libc_feholdexcept_setround_53bit): Remove.
1589 (libc_feupdateenv_53bit): Remove.
1590 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1591 (math_opt_barrier, math_force_eval): Remove.
1592 (libc_feholdexcept): Remove.
1593 (libc_feholdexcept_setround): Remove.
1594 (libc_fetestexcept, libc_fesetenv): Remove.
1595 (libc_feupdateenv_test): Remove.
1596 (libc_feupdateenv, libc_feholdsetround): Remove.
1597 (libc_feresetround): Remove.
1598
d0adc922
RH
1599 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1600 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1601
0fe0f1f8
RH
1602 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1603 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1604 (libc_feupdateenv_testl): New.
1605 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1606 (libc_feupdateenv_testf): New.
1607 (libc_feupdateenv): Use libc_feupdateenv_test.
1608 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1609 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1610
eb92c487
RH
1611 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1612 (libc_feholdsetroundf, libc_feholdsetroundl): New.
1613 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1614 (libc_feresetround_noex): New.
1615 (libc_feresetround_noexf): New.
1616 (libc_feresetround_noexl): New.
1617 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1618 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1619 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1620 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1621 SET_RESTORE_ROUND.
1622 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1623 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1624 (__cos): Likewise.
1625 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1626 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1627 SET_RESTORE_ROUND_NOEX.
1628 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1629 SET_RESTORE_ROUND_NOEXF.
1630 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1631 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1632 (libc_feholdsetroundf): New.
1633 (libc_feresetround, libc_feresetroundf): New.
1634
7d2e8012
RH
1635 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1636 (libc_feholdexcept_setround_53bit): Convert from macro to function.
1637 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
1638
b4dabbb4
RH
1639 * sysdeps/generic/math_private.h: Include <fenv.h>.
1640 (default_libc_feholdexcept): New.
1641 (default_libc_feholdexcept_setround): New.
1642 (default_libc_fesetenv, default_libc_feupdateenv): New.
1643 (libc_feholdexcept): Only define if undefined.
1644 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1645 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1646 (libc_feholdexcept_setroundl): Likewise.
1647 (libc_feholdexcept_setround_53bit): Likewise.
1648 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1649 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1650 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1651 (libc_feupdateenv_53bit): Likewise.
1652 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1653 (libc_feholdexcept): Convert from macro to inline function.
1654 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1655 (libc_fesetenv, libc_feupdateenv): Likewise.
1656
4851a949
RH
1657 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1658 not previously defined.
1659 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1660 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1661 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1662 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1663 * sysdeps/ieee754/flt-32/math_private.h: New file.
1664 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1665 math_private.h below SET_FLOAT_WORD.
1666 (__isnan, __isinf_ns, __finite): Remove.
1667 (__isnanf, __isinf_nsf, __finitef): Remove.
1668
e79d442e
AS
16692012-03-18 Andreas Schwab <schwab@linux-m68k.org>
1670
1671 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1672
90b80344
DM
16732012-03-17 David S. Miller <davem@davemloft.net>
1674
1675 [BZ #6471]
1676 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1677 for 2.16.
1678
edc21804
DM
16792012-03-16 David S. Miller <davem@davemloft.net>
1680
77e927af
DM
1681 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1682 warnings.
1683
374976dd
DM
1684 [BZ #6471]
1685 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1686 properly.
1687 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1688 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1689 sysdep_routines when subdir is sysvipc.
1690 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1691 __getshmlba helper.
1692
edc21804
DM
1693 * sysdeps/sparc/fpu/libm-test/ulps: Update.
1694
473c3ef3
L
16952012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1696
1697 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1698 [__LP64__].
1699
eb0f39b6
L
17002012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1701
1702 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1703 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1704 (__lround): Renamed to ...
1705 (__llround): This. Replace long int with long long int.
1706 Define lround functions as aliases of llround functions.
1707 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1708
6b6cd74b
L
17092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1710
1711 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1712 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
1713 adresses to uintptr_t. Replace "long int" and "unsigned long
1714 int" with "greg_t" on va_arg.
1715
f1a77b01
L
17162012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1717
1718 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1719 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1720
1721 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1722 Move e_machine check before EI_CLASS check. Handle x32
1723 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1724 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1725 SKIP_EM_IA_64 and include
1726 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1727
1728 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1729 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1730 (add_system_dir): New macro.
1731
1732 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1733 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1734
11b90b9f
JM
17352012-03-16 Joseph Myers <joseph@codesourcery.com>
1736
c36e1d23
JM
1737 [BZ #2551]
1738 [BZ #2552]
1739 [BZ #2553]
1740 [BZ #2554]
1741 [BZ #2562]
1742 [BZ #2563]
1743 [BZ #2565]
1744 [BZ #2566]
1745 [BZ #2576]
1746 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1747 (y0): Likewise.
1748 * math/w_j0f.c (j0f): Likewise.
1749 (y0f): Likewise.
1750 * math/w_j0l.c (__j0l): Likewise.
1751 (__y0l): Likewise.
1752 * math/w_j1.c (j1): Likewise.
1753 (y1): Likewise.
1754 * math/w_j1f.c (j1f): Likewise.
1755 (y1f): Likewise.
1756 * math/w_j1l.c (__j1l): Likewise.
1757 (__y1l): Likewise.
1758 * math/w_jn.c (jn): Likewise.
1759 (yn): Likewise.
1760 * math/w_jnf.c (jnf): Likewise.
1761 (ynf): Likewise.
1762 * math/w_jnl.c (__jnl): Likewise.
1763 (__ynl): Likewise.
1764 * math/libm-test.inc (j0_test): Add more tests.
1765 (j1_test): Likewise.
1766 (jn_test): Likewise. Add trailing semicolon to existing test.
1767 (y0_test): Likewise.
1768 (y1_test): Likewise.
1769 * sysdeps/i386/fpu/libm-test-ulps: Update.
1770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1771
11b90b9f
JM
1772 [BZ #13851]
1773 [BZ #13854]
1774 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1775 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1776 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1777 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1778 (__tanl): Set errno for infinite argument.
1779 * sysdeps/i386/fpu/mptan.c: Remove.
1780 * sysdeps/i386/fpu/s_tan.S: Likewise.
1781 * sysdeps/i386/fpu/s_tanl.S: Likewise.
1782 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1783 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1784 * math/libm-test.inc (tan_test): Add more tests and enable more
1785 tests for double and long double.
1786 * sysdeps/i386/fpu/libm-test-ulps: Update.
1787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1788
6a1bd2a1
JK
17892012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1790
1791 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1792 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1793
10a803e0
RM
17942012-03-16 Roland McGrath <roland@hack.frob.com>
1795
1796 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1797 * configure.in: Use it for both main tree and add-ons.
1798 * configure: Regenerated.
1799
f196c7f7
L
18002012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1801
1802 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1803
8848d99d
JM
18042012-03-16 Joseph Myers <joseph@codesourcery.com>
1805
96cbe7f4
JM
1806 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1807 in comment.
1808
8848d99d
JM
1809 [BZ #13851]
1810 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1811 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1812 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1813 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1814 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1815 infinite argument.
1816 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1817 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1818 != 0 for prec == 2.
1819 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1820 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1821 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1822 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1823 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1824 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1825 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1826 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1827 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1828 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1829 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1830 * math/libm-test.inc (cos_test): Add more tests and enable more
1831 tests for long double.
1832 (sin_test): Likewise.
1833 (sincos_test): Likewise.
1834 * sysdeps/i386/fpu/libm-test-ulps: Update.
1835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1836
dd7f4703
DM
18372012-03-16 David S. Miller <davem@davemloft.net>
1838
1839 * sysdeps/sparc/fpu/math_private.h: New file.
1840
006f1daa
DM
18412012-03-15 David S. Miller <davem@davemloft.net>
1842
c0c83bc8
DM
1843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1844 file.
e6a62e18 1845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
1846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1847 file.
e6a62e18
DM
1848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1849 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1850 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1851 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1852 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1853 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1854 sysdep routines.
1855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1856
88cb87d9
DM
1857 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1858 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1859
006f1daa 1860 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
1861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1862 sparc-ifunc.h
006f1daa 1863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
1864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1865 Likewise.
1866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1867 Likewise.
006f1daa
DM
1868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
1871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1872 Likewise.
006f1daa
DM
1873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
1877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1878 Likewise.
1879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1880 Likewise.
006f1daa
DM
1881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1885 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1886 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1887 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1888 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1889 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1890 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1891 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1892 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1893 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1894 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1895 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1896 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1897 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1898 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1899 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1900 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1901 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1902 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1903 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1904 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1905
11e0098e
AS
19062012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1907
1908 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1909 scaling.
1910 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1911
e85b09d0
AJ
19122012-03-15 Andreas Jaeger <aj@suse.de>
1913
1914 [BZ #13852]
1915 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1916 ieee754/flt-32 implementation for sin, cos and sincos.
1917 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1918 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1919 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1920 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1921 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1922 ieee754/flt-32 implementation for tan.
1923
1924 * math/libm-test.inc (cos_test): Enable some large input tests for
1925 float as well
1926 (sin_test): Likewise.
1927 (sincos_test): Likewise.
1928 (tan_test): Add tests for large input.
1929
1930 * sysdeps/i386/fpu/libm-test-ulps: Update.
1931
81c64153
AJ
19322012-03-15 Andreas Jaeger <aj@suse.de>
1933
1934 [BZ #13658]
1935 * math/libm-test.inc (cos_test): Add more test cases.
1936 (sin_test): Likewise.
1937 (sincos_test): Likewise.
1938
7bbfa5c6
AJ
19392012-03-15 Andreas Jaeger <aj@suse.de>
1940
1941 [BZ #13837]
1942 * math/libm-test.inc (cos_test): Add a test case for large input
1943 value.
1944 (sin_test): Likewise.
1945 (sincos_test): Likewise.
1946
19472012-03-15 Andreas Jaeger <aj@suse.de>,
1948 Joseph Myers <joseph@codesourcery.com>
1949
1950 [BZ #13658]
0671f479 1951 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
1952 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1953 * sysdeps/i386/fpu/branred.c: Likewise.
1954 * sysdeps/i386/fpu/dosincos.c: Likewise.
1955 * sysdeps/i386/fpu/mpa.c: Likewise.
1956 * sysdeps/i386/fpu/s_cos.S: Likewise.
1957 * sysdeps/i386/fpu/s_sin.S: Likewise.
1958 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1959 * sysdeps/i386/fpu/sincos32.c: Likewise.
1960
1961 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1962 Define.
1963 (libc_feupdateenv_53bit): Define.
1964 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1965 Define.
1966 (libc_feupdateenv_53bit): Define.
1967
1968 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1969 53 bit (without extend i386 double precision).
1970
1971 * math/libm-test.inc (sincos_test): Add tests for large input.
1972 (sin): Likewise.
1973 (cos): Likewise.
1974
1975 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1976
9cad04ea
AS
19772012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1978
1979 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1980
f7062b9a
DM
19812012-03-15 David S. Miller <davem@davemloft.net>
1982
1983 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1984 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1985 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1986 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1991 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1992 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1993 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1994 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1995 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1996 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1997 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
1998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1999 file.
f7062b9a 2000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
2001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
2002 file.
f7062b9a 2003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
2004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
2005 file.
f7062b9a 2006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
2007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
2008 file.
f7062b9a
DM
2009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
2010 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
2011 fmin/fmax sysdep routines.
2012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2013
7bd951ff
DM
20142012-03-14 David S. Miller <davem@davemloft.net>
2015
559398ab
DM
2016 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
2017 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
2018 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
2019 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
2020 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
2021 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
2022 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
2023 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
2024 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
2025 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
2026 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
2027 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
2028 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
2029 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
2030 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
2031 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
2032 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
2033 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
2034 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
2035 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
2036 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
2037 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
2038 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
2039 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
2040 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
2041 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
2042 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
2043 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
2044 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
2045 routines.
2046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
2047 file.
559398ab 2048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
2049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
2050 file.
559398ab 2051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
2052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
2053 file.
559398ab 2054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
2055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
2056 file.
559398ab 2057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
2058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
2059 file.
559398ab 2060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
2061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
2062 file.
2063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
2064 file.
2065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
2066 file.
2067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
2068 file.
2069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
2070 New file.
2071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
2072 file.
2073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
2074 file.
559398ab 2075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
2076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
2077 file.
559398ab 2078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
2079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
2080 file.
559398ab 2081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
2082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
2083 file.
559398ab 2084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
2085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
2086 VIS3 routines.
559398ab
DM
2087
2088 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2089 New file.
2090
5a1c1e32
DM
2091 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2092
eae47a36
DM
2093 * sysdeps/sparc/configure.in: New file.
2094 * sysdeps/sparc/configure: Generate.
2095 * configure.in (libc_cv_sparc_as_vis3): Substitute.
2096 * configure: Regenerate.
2097 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
2098 * config.make.in (have-as-vis3): New.
2099 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
2100 available use -Av9d instead of -Av9a.
2101 * sysdeps/sparc/sparc64/Makefile: Likewise.
2102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
2103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
2104 New file.
2105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
2106 file.
2107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
2108 New file.
2109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
2110 file.
eae47a36
DM
2111 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
2112 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
2113 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
2114 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
2115 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
2116
c0c83bc8
DM
2117 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
2118 fzeros/fnegs to load 0x80000000 into a float register instead of
2119 using the stack.
7bd951ff
DM
2120 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
2121
bd951ccb
JM
21222012-03-14 Joseph Myers <joseph@codesourcery.com>
2123
2124 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2125 bits/syscall.h.
2126 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
2127 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
2128 ($(inst_includedir)/bits/syscall.h): Remove rule.
2129 ($(objpfx)bits/syscall.d): Include instead of
2130 $(objpfx)syscall-list.d.
2131 (generated): Change syscall-list.h and syscall-list.d to
2132 bits/syscall.h and bits/syscall.d.
2133
bb4e6db2
RM
21342012-03-14 Roland McGrath <roland@hack.frob.com>
2135
2136 [BZ #13846]
2137 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
2138
aa4a2ae1
JM
21392012-03-14 Joseph Myers <joseph@codesourcery.com>
2140
e456826d
JM
2141 [BZ #13841]
2142 * math/s_csqrt.c: Include <float.h>.
2143 (__csqrt): Scale large or subnormal inputs.
2144 * math/s_csqrtf.c: Likewise.
2145 * math/s_csqrtl.c: Likewise.
2146 * math/libm-test.inc (csqrt_test): Add more tests.
2147 * sysdeps/i386/fpu/libm-test-ulps: Update.
2148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2149
aa4a2ae1
JM
2150 [BZ #13840]
2151 * math/libm-test.inc (hypot_test): Add more tests.
2152
7c10fd35
DM
21532012-03-13 David S. Miller <davem@davemloft.net>
2154
2155 [BZ #13840]
2156 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
2157 double-precision for the calculation instead of scaling.
2158
f453b98b
JM
21592012-03-13 Joseph Myers <joseph@codesourcery.com>
2160
2161 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
2162 manipulate bits before adding and subtracting TWO52[sx].
2163 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
2164 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
2165 Likewise.
2166 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
2167
09a3453f
DM
21682012-03-13 David S. Miller <davem@davemloft.net>
2169
8e59da90
DM
2170 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
2171 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
2172 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
2173 rtld-global-offsets.h
2174 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2175
2a8ab7f2
DM
2176 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
2177 large parameters.
2178
10f62770
DM
2179 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
2180
5f0bdb18
DM
2181 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
2182 'err' in the ifdef scope in which it is actually used.
2183
09a3453f
DM
2184 * nss/nss_db/db-init.c: Include string.h
2185
b4b2eb5e
DM
21862012-03-12 David S. Miller <davem@davemloft.net>
2187
98bb2f1c
DM
2188 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
2189 masking out of the most significant byte of random value used.
2190 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2191 Fix coding style in previous change.
2192
b4b2eb5e
DM
2193 * sysdeps/unix/sysv/linux/kernel-features.h
2194 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
2195 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
2196 expression.
2197 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
2198 later.
2199
6e226b09
DM
22002012-03-11 David S. Miller <davem@davemloft.net>
2201
a1bcbd40
DM
2202 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
2203 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
2204 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
2205 for 'resultvar' otherwise things get truncated on 64-bit.
2206
cb9d6174
DM
2207 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2208 Fix masking out of the most significant byte of random value used.
2209
6e226b09
DM
2210 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2211
058c132d
AS
22122012-03-10 Andreas Schwab <schwab@linux-m68k.org>
2213
2214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2215
2d2cd515
DM
22162012-03-09 David S. Miller <davem@davemloft.net>
2217
2218 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
2219 variables with appropriate CPP guards.
2220 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
2221 frame pointer, not the stack pointer. Correct layout comments. Fix test
2222 on resulting framesize and the management of the outregs buffer for pltexit.
2223 Preserve floating point return values across _dl_call_pltexit call.
2224 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
2225 framesize and the management of the outregs buffer for pltexit.
2226 Preserve floating point return values across _dl_call_pltexit
2227 call.
2228 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
2229 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
2230 (print_exit): Fix format string for return register value.
2231
9a07f9d0
JM
22322012-03-10 Joseph Myers <joseph@codesourcery.com>
2233
2234 * sunrpc/Makefile (others): Add rpcgen.
2235 ($(objpfx)rpcgen): Remove special build rule and dependency on
2236 libc.
2237 * sunrpc/rpcgen.c: New file.
2238
547b5e30
PE
22392012-03-09 Paul Eggert <eggert@cs.ucla.edu>
2240
c524201a
PE
2241 [BZ #13673]
2242 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
2243 * stdio-common/bug-vfprintf-nargs.c: Likewise.
2244 * sysdeps/i386/crti.S: Likewise.
2245 * sysdeps/i386/crtn.S: Likewise.
2246 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
2247 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
2248 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
2249 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
2250 * sysdeps/sh/crti.S: Likewise.
2251 * sysdeps/sh/crtn.S: Likewise.
2252 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2253
7b6235f2
PE
2254 [BZ #13673]
2255 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
2256 with URL.
2257 * locale/programs/locfile-kw.gperf: Likewise.
2258 * locale/programs/charmap-kw.h: Regenerated.
2259 * locale/programs/locfile-kw.h: Likewise.
2260
547b5e30
PE
2261 [BZ #13673]
2262 * intl/plural.y: Replace FSF snail mail address with URL.
2263 * intl/plural.c: Regenerated.
2264
5f0a5dae
RH
22652012-03-09 Richard Henderson <rth@twiddle.net>
2266
2267 * include/math_private.h: Remove file.
2268 * math/math_private.h: Move file ...
2269 * sysdeps/generic/math_private.h: ... here.
2270
b8c03620
RH
2271 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
2272 * sysdeps/powerpc/fpu/math_private.h: Likewise.
2273 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2274
4e234f5d 2275 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
2276 and <math_private.h>.
2277 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2278 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2279 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2280 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2281 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2282 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2283 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2284 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2285 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2286 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2287 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2288 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2289 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2290 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2291 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2292 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2293 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2294 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2295 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2296 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2297 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2298 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2299 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2300 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2301 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2302 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2303 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2304 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2305 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2306 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2307 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2308 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2309 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2310 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2311 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2312 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2313 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2314 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2315 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2316 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2317 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
2318 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2319 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2320 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2321 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2322 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2323 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
2324 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2325 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2326 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2327 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2328 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
2329 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2330 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2331 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2332 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2333 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2334 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2335 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2336 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
2337 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2338 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2339 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2340 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2341 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
2342 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2343 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2344 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2345 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
2346 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
2347 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2348 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2349 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2350 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2351 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
2352 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2353 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
2354 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2355 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
2356 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
2357 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2358 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
2359 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2360 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
2361 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2362 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2363 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
2364 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2365 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
2366 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2367 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2368 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
2369 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2370 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
2371 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
2372 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
2373 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2374 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2375 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2376 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
2377 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
2378 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
2379 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
2380 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
2381 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2382 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
2383 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2384 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
2385 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2386 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2387 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2388 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2389 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2390 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2391 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
2392 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2393 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2394 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2395 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2396 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2397 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2398 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2399 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2400 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
2401 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2402 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2403 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2404 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
2405 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2406 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
2407 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
2408 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2409 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2410 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
2411 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
2412 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2413 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2414 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2415 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
2416 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2417 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2418 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2419 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2420 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
2421 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
2422 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2423 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2424 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2425 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2426 * sysdeps/ieee754/k_standard.c: Likewise.
2427 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2428 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2429 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2430 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2431 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2432 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2433 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2434 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2435 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2436 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2437 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2438 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2439 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2440 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2441 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2442 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2443 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2444 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2445 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2446 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2447 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2448 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2449 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2450 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2451 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2452 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2453 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2454 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2455 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2456 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2457 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2458 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2459 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2460 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2461 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2462 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2463 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2464 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
2465 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2466 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2467 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2468 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2469 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2470 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2471 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2472 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2473 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2474 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2475 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2476 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2477 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2478 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2479 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2480 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2481 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2482 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2483 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2484 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2485 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2486 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2487 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2488 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2489 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2490 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2491 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2492 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2493 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2494 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2495 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2496 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2497 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2498 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2499 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2500 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2501 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2502 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2503 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2504 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2505 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2506 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2507 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2508 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2509 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2510 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2511 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2512 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2513 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2514 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2515 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2516 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2517 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2518 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2519 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2520 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2521 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2522 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2523 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2524 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2525 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2526 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2527 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2528 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2529 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2530 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2531 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2532 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2533 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2534 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2535 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2536 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2537 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2538 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2539 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2540 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2541 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2542 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2543 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2544 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2545 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2546 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2547 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2548 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2549 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2550 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2551 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2552 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2553 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2554 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2555 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2556 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2557 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2558 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2559 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2560 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2561 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2562 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2563 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
2564 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2565 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2566 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
2567 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
2568 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2569 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
2570 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
2571 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2572 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2573 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2574 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2575 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2576 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
2577 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2578 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2579 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2580 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2581 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
2582 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
2583 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2584 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2585 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2586 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2587 * sysdeps/ieee754/s_lib_version.c: Likewise.
2588 * sysdeps/ieee754/s_matherr.c: Likewise.
2589 * sysdeps/ieee754/s_signgam.c: Likewise.
2590 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2591 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2592 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2593 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2594 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2595 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2596 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2597 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2598 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2599 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2600 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2601 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2602 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2603 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2604 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2605 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2606 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2607 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2608 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2609 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2610 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 2611
1991fa03
JM
26122012-03-09 Joseph Myers <joseph@codesourcery.com>
2613
2614 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2615 * sunrpc/rpc_main.c: Likewise.
2616 * sunrpc/rpc_svcout.c: Likewise.
2617
60d6f5a6
DM
26182012-03-09 David S. Miller <davem@davemloft.net>
2619
2620 * include/math_private.h: New file.
2621
4962050e
JM
26222012-03-09 Joseph Myers <joseph@codesourcery.com>
2623
02a6f887
JM
2624 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2625 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2626 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2627 from <bits/socket_type.h>.
2628 (enum __socket_type): Don't define here.
2629 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2630 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2631 bits/socket_type.h.
2632
c6e013c1
JM
2633 [BZ #13566]
2634 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2635 checking __USE_GNU.
2636
4962050e
JM
2637 * Makerules ($(inst_includedir)/%.h): New rule.
2638 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2639 (install-others): Remove variable setting.
2640 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2641
38842f45
RH
26422012-03-08 Richard Henderson <rth@twiddle.net>
2643
67bb6da6
RH
2644 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2645 from macro to inline function; merge with the
2646 !__LIBC_INTERNAL_MATH_INLINES version.
2647 (__ieee754_sqrtf): Likewise.
2648
15194b4b
RH
2649 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2650 to inline function.
2651 (__rintf, __floor, __floorf): Likewise.
2652
64e21ede
RH
2653 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2654 macro to inline function.
2655 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2656
38842f45
RH
2657 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2658 not <math/math_private.h>.
2659
c64bf5fe
DM
26602012-03-08 David S. Miller <davem@davemloft.net>
2661
2662 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2663 copyright year.
2664 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2665
82d86f28
TS
26662012-03-08 Thomas Schwinge <thomas@codesourcery.com>
2667
2668 * resolv/gai_misc.c (handle_requests): Fix struct timespec
2669 normalization.
2670 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2671 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2672
aea5d727
UD
26732012-03-08 Ulrich Drepper <drepper@gmail.com>
2674
2675 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
2676 be defined individually, they must be defined as a block. Define
2677 S for printing a string instead of hidint the different by using a
2678 macro for adding the 'l'.
2679 * stdio-common/tst-fphex-wide.c: Adjust.
2680
70bca0a3
MP
26812012-03-07 Marek Polacek <polacek@redhat.com>
2682
2683 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2684
65b81130
MP
26852012-03-08 Marek Polacek <polacek@redhat.com>
2686
2687 [BZ #13806]
2688 * stdio-common/Makefile (tests): Add tst-fphex-wide.
2689 * stdio-common/tst-fphex.c: Define a few macros to make the
2690 test reusable. Use them.
2691 * stdio-common/tst-fphex-wide.c: New file.
2692
07037eeb
JM
26932012-03-08 Joseph Myers <joseph@codesourcery.com>
2694
a7a93d50
JM
2695 [BZ #6911]
2696 * manual/macros.texi (gnusystems): New macro.
2697 (nongnusystems): Likewise.
2698 (gnulinuxhurdsystems): Likewise.
2699 (gnuhurdsystems): Likewise..
2700 (gnulinuxsystems): Likewise.
2701 * manual/charset.texi: Use new macros or @theglibc{} to refer to
2702 variants of the GNU system, not "GNU system".
2703 * manual/conf.texi: Likewise.
2704 * manual/errno.texi: Likewise. Update example of errno macro
2705 expansion.
2706 * manual/filesys.texi: Likewise.
2707 (getumask): Document as specific to GNU/Hurd.
2708 * manual/install.texi: Likewise. Reword some references to
2709 GNU/Linux.
2710 * manual/intro.texi: Likewise.
2711 * manual/io.texi: Likewise.
2712 (File Name Portability): Detail which constraints are inapplicable
2713 to all GNU systems and which are only inapplicable to GNU/Hurd.
2714 * manual/job.texi: Likewise.
2715 * manual/llio.texi: Likewise.
2716 (O_NOCTTY): Document as present on GNU/Linux.
2717 * manual/maint.texi: Likewise.
2718 * manual/memory.texi: Likewise.
2719 * manual/pattern.texi: Likewise.
2720 * manual/pipe.texi: Likewise.
2721 * manual/process.texi: Likewise.
2722 * manual/resource.texi: Likewise.
2723 (RUSAGE_CHILDREN): Remove statement about specifying a particular
2724 child on GNU/Hurd.
2725 * manual/setjmp.texi: Likewise.
2726 * manual/signal.texi: Likewise.
2727 * manual/startup.texi: Likewise.
2728 * manual/stdio.texi: Likewise.
2729 * manual/terminal.texi: Likewise.
2730 (ONLCR): Document as POSIX.
2731 (OXTABS): Document availability on GNU/Linux as XTABS.
2732 (ONOEOT): Document availability separately from other bits.
2733 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2734 * manual/time.texi: Likewise.
2735 * manual/users.texi: Likewise.
2736 * INSTALL: Regenerated.
2737 * sysdeps/gnu/errlist.c: Regenerated.
2738
07037eeb
JM
2739 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2740 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2741 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
2742 puts.
2743 * configure: Regenerated.
2744
d1d3431a
JM
27452012-03-07 Joseph Myers <joseph@codesourcery.com>
2746
af6a1e37
JM
2747 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2748 default includes instead of AC_HEADER_CHECK.
2749 * sysdeps/i386/configure: Regenerated.
2750
d1d3431a
JM
2751 [BZ #10716]
2752 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2753 * math/s_cacoshf.c (__cacoshf): Likewise.
2754 * math/s_cacoshl.c (__cacoshl): Likewise.
2755 * math/s_casinh.c (__casinh): Set signs of result from argument.
2756 * math/s_casinhf.c (__casinhf): Likewise.
2757 * math/s_casinhl.c (__casinhl): Likewise.
2758 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2759 (casinh_test): Add more tests.
2760 * sysdeps/i386/fpu/libm-test-ulps: Update.
2761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2762
482ff4da
UD
27632012-03-07 Ulrich Drepper <drepper@gmail.com>
2764
872fda05
UD
2765 * po/zh_TW.po: Update from translation team.
2766
a4300c7a
UD
2767 * login/Makefile (distribute): Remove variable.
2768 * catgets/Makefile: Likewise.
2769 * mach/Makefile: Likewise.
2770 * malloc/Makefile: Likewise.
2771 * misc/Makefile: Likewise.
2772 * iconv/Makefile: Likewise.
2773 * nscd/Makefile: Likewise.
2774 * hurd/Makefile: Likewise.
2775 * manual/Makefile: Likewise.
2776 * locale/Makefile: Likewise.
2777 * intl/Makefile: Likewise.
2778 * conform/Makefile: Likewise.
2779 * nss/Makefile: Likewise.
2780 * time/Makefile: Likewise.
2781 * soft-fp/Makefile: Likewise.
2782 * dirent/Makefile: Likewise.
2783 * gmon/Makefile: Likewise.
2784 * po/Makefile: Likewise.
2785 * rt/Makefile: Likewise.
2786 * socket/Makefile: Likewise.
2787 * math/Makefile: Likewise.
2788 * signal/Makefile: Likewise.
2789 * debug/Makefile: Likewise.
2790 * elf/Makefile: Likewise.
2791 * timezone/Makefile: Likewise.
2792 * stdlib/Makefile: Likewise.
2793 * iconvdata/Makefile: Likewise.
2794 * sunrpc/Makefile: Likewise.
2795 * io/Makefile: Likewise.
2796 * argp/Makefile: Likewise.
2797 * inet/Makefile: Likewise.
2798 * hesiod/Makefile: Likewise.
2799 * grp/Makefile: Likewise.
2800 * csu/Makefile: Likewise.
2801 * wctype/Makefile: Likewise.
2802 * crypt/Makefile: Likewise.
2803 * libio/Makefile: Likewise.
2804 * string/Makefile: Likewise.
2805 * nis/Makefile: Likewise.
2806 * resolv/Makefile: Likewise.
2807 * stdio-common/Makefile: Likewise.
2808 * wcsmbs/Makefile: Likewise.
2809 * dlfcn/Makefile: Likewise.
2810 * posix/Makefile: Likewise.
2811
482ff4da
UD
2812 * timezone/Makefile: Don't install timezone files, just the programs
2813 and scripts.
2814
f72ed77d
UD
28152012-03-06 Ulrich Drepper <drepper@gmail.com>
2816
a000466f
UD
2817 * nss/databases.def: Add missing gshadow entry.
2818
f72ed77d
UD
2819 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2820
a53b7a4e
MP
28212012-03-06 Marek Polacek <polacek@redhat.com>
2822
2823 [BZ #13726]
2824 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2825 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2826 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2827 * stdio-common/tst-long-dbl-fphex.c: New file.
2828
e9258400
DM
28292012-03-06 David S. Miller <davem@davemloft.net>
2830
2831 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2832 (set_obp_int): New function.
2833 (get_obp_int): New function.
2834 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
2835 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2836 Avoid unused variable warnings on 'val' and use builtin_expect.
2837 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2838 __builtin_expect.
e9258400
DM
2839 (INLINE_CLONE_SYSCALL): Likewise.
2840
3bd2c723
DM
28412012-03-05 David S. Miller <davem@davemloft.net>
2842
2843 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2844
bbb78d03
AS
28452012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2846
884c5db4
AS
2847 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2848
bbb78d03
AS
2849 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2850 only for |x| >= 40.
2851 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2852
1c9f702a 28532012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
2854
2855 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2856 Replace gettimeofday with __vdso_gettimeofday.
2857
7be16f82
RM
2858 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2859 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2860 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
2861
2862 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2863 time with __vdso_time.
2864
ed58a00f
JM
28652012-03-05 Joseph Myers <joseph@codesourcery.com>
2866
2867 * manual/lang.texi (size_t): Note types to which size_t may be
2868 equivalent with the GNU C Library, but do not describe when
2869 differences between them are significant.
2870
30ee4ced
AJ
28712012-03-05 Andreas Jaeger <aj@suse.de>
2872
2873 * sysdeps/i386/fpu/libm-test-ulps: Update.
2874
b7cd39e8
JM
28752012-03-05 Joseph Myers <joseph@codesourcery.com>
2876
2877 [BZ #3976]
2878 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2879 (__ieee754_pow): Save and restore rounding mode and use
2880 round-to-nearest for main computations.
2881 * math/libm-test.inc (pow_test_tonearest): New function.
2882 (pow_test_towardzero): Likewise.
2883 (pow_test_downward): Likewise.
2884 (pow_test_upward): Likewise.
2885 (main): Call the new functions.
2886 * sysdeps/i386/fpu/libm-test-ulps: Update.
2887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
2888
2889 [BZ #3976]
2890 * math/libm-test.inc (cosh_test_tonearest): New function.
2891 (cosh_test_towardzero): Likewise.
2892 (cosh_test_downward): Likewise.
2893 (cosh_test_upward): Likewise.
2894 (sinh_test_tonearest): Likewise.
2895 (sinh_test_towardzero): Likewise.
2896 (sinh_test_downward): Likewise.
2897 (sinh_test_upward): Likewise.
2898 (main): Call the new functions.
2899 * sysdeps/i386/fpu/libm-test-ulps: Update.
2900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2901
6c6a98c9
TV
29022012-03-05 Tom de Vries <tom@codesourcery.com>
2903
2904 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2905 default stack guard is set in last bytes.
2906 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2907
21bb2d2e 29082012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 2909
21bb2d2e 2910 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 2911
21bb2d2e
AJ
2912 [BZ #13656]
2913 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2914 possibly allocate from heap instead of stack.
2915 * stdio-common/bug-vfprintf-nargs.c: New file.
2916 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 2917
c6922934
AS
29182012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2919
2920 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2921
bc957d53
MP
29222012-03-03 Marek Polacek <polacek@redhat.com>
2923
2924 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2925 * math/math_private.h: Likewise.
2926 * stdlib/tst-strtod.c: Likewise.
2927 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2928 * sysdeps/x86_64/bits/atomic.h: Likewise.
2929
6358490d
DM
29302012-03-02 David S. Miller <davem@davemloft.net>
2931
2932 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2934 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2935 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2936 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2937 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2938 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2939 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2940
01ae168d
RM
29412012-03-02 Roland McGrath <roland@hack.frob.com>
2942
d9a17c07
RM
2943 [BZ #13792]
2944 * manual/examples/README: New file, says the example source files
2945 can be used under GPL>=2.
2946 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2947 line containing just "*/".
2948 * manual/examples/add.c: Add copyright header (GPL>=2).
2949 * manual/examples/argp-ex1.c: Likewise.
2950 * manual/examples/argp-ex2.c: Likewise.
2951 * manual/examples/argp-ex3.c: Likewise.
2952 * manual/examples/argp-ex4.c: Likewise.
2953 * manual/examples/atexit.c: Likewise.
2954 * manual/examples/db.c: Likewise.
2955 * manual/examples/dir.c: Likewise.
2956 * manual/examples/dir2.c: Likewise.
2957 * manual/examples/execinfo.c: Likewise.
2958 * manual/examples/filecli.c: Likewise.
2959 * manual/examples/filesrv.c: Likewise.
2960 * manual/examples/fmtmsgexpl.c: Likewise.
2961 * manual/examples/genpass.c: Likewise.
2962 * manual/examples/inetcli.c: Likewise.
2963 * manual/examples/inetsrv.c: Likewise.
2964 * manual/examples/isockad.c: Likewise.
2965 * manual/examples/longopt.c: Likewise.
2966 * manual/examples/memopen.c: Likewise.
2967 * manual/examples/memstrm.c: Likewise.
2968 * manual/examples/mkfsock.c: Likewise.
2969 * manual/examples/mkisock.c: Likewise.
2970 * manual/examples/mygetpass.c: Likewise.
2971 * manual/examples/pipe.c: Likewise.
2972 * manual/examples/popen.c: Likewise.
2973 * manual/examples/rprintf.c: Likewise.
2974 * manual/examples/search.c: Likewise.
2975 * manual/examples/select.c: Likewise.
2976 * manual/examples/setjmp.c: Likewise.
2977 * manual/examples/sigh1.c: Likewise.
2978 * manual/examples/sigusr.c: Likewise.
2979 * manual/examples/stpcpy.c: Likewise.
2980 * manual/examples/strdupa.c: Likewise.
2981 * manual/examples/strftim.c: Likewise.
2982 * manual/examples/strncat.c: Likewise.
2983 * manual/examples/subopt.c: Likewise.
2984 * manual/examples/swapcontext.c: Likewise.
2985 * manual/examples/termios.c: Likewise.
2986 * manual/examples/testopt.c: Likewise.
2987 * manual/examples/testpass.c: Likewise.
2988 * manual/examples/timeval_subtract.c: Likewise.
2989
01ae168d
RM
2990 [BZ #13792]
2991 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2992 function to ...
2993 * manual/timeval_subtract.c.texi: ... here, new file.
2994
49efa33d
DM
29952012-03-02 David S. Miller <davem@davemloft.net>
2996
2997 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2998
28afd92d
JM
29992012-03-02 Joseph Myers <joseph@codesourcery.com>
3000
804360ed
JM
3001 [BZ #3976]
3002 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
3003 (__sin): Save and restore rounding mode and use round-to-nearest
3004 for all computations.
3005 (__cos): Save and restore rounding mode and use round-to-nearest
3006 for all computations.
3007 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
3008 <fenv.h>.
3009 (tan): Save and restore rounding mode and use round-to-nearest for
3010 all computations.
3011 * math/libm-test.inc (cos_test_tonearest): New function.
3012 (cos_test_towardzero): Likewise.
3013 (cos_test_downward): Likewise.
3014 (cos_test_upward): Likewise.
3015 (sin_test_tonearest): Likewise.
3016 (sin_test_towardzero): Likewise.
3017 (sin_test_downward): Likewise.
3018 (sin_test_upward): Likewise.
3019 (tan_test_tonearest): Likewise.
3020 (tan_test_towardzero): Likewise.
3021 (tan_test_downward): Likewise.
3022 (tan_test_upward): Likewise.
3023 (main): Call the new functions.
3024 * sysdeps/i386/fpu/libm-test-ulps: Update.
3025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3026
a6d06d7b
JM
3027 [BZ #10135]
3028 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
3029 small n, then large n, before computing and testing k+n.
3030 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
3031 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
3032 Likewise.
3033 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
3034 Likewise.
3035 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
3036 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
3037 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
3038 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
3039 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3040 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3041 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
3042 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
3043 * math/libm-test.inc (scalbn_test): Add more tests.
3044 (scalbln_test): Likewise.
3045
07e12bb3
JM
3046 * manual/filesys.texi (mode_t): Describe constraints on size and
3047 signedness, not exact equivalence to a particular type.
3048 (ino_t): Likewise.
3049 (ino64_t): Likewise.
3050 (dev_t): Likewise.
3051 (nlink_t): Likewise.
3052 (blkcnt_t): Likewise.
3053 (blkcnt64_t): Likewise.
3054 * manual/llio.texi (off_t): Likewise.
3055
28afd92d
JM
3056 [BZ #3976]
3057 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
3058 (__ieee754_exp): Save and restore rounding mode and use
3059 round-to-nearest for all computations.
3060 * math/libm-test.inc (exp_test_tonearest): New function.
3061 (exp_test_towardzero): Likewise.
3062 (exp_test_downward): Likewise.
3063 (exp_test_upward): Likewise.
3064 (main): Call the new functions.
3065 * sysdeps/i386/fpu/libm-test-ulps: Update.
3066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3067
b1eeb65d
CD
30682012-03-01 Chris Demetriou <cgd@google.com>
3069
3070 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
3071 have predictable order.
3072
53362a4b
DM
30732012-03-01 David S. Miller <davem@davemloft.net>
3074
3c969083
DM
3075 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
3076
759707de
DM
3077 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
3078 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
3079 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
3080 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
3081
dfdb8ff2
DM
3082 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
3083 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
3084 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
3085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
3086 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
3087 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
3088 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
3089 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
3090 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
3091
ead89f96
DM
3092 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3093
7f66bd07
DM
3094 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
3095 * sysdeps/sparc/fpu/libm-test-ulps: to here.
3096 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
3097
53362a4b
DM
3098 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
3099 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3100 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3101 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
3102 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
3103 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
3104 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
3105 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
3106 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3107 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
3108 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
3109 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3110 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3111 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3112 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3113 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3114 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
3115 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
3116 * sysdeps/sparc/elf/configure: Regenerated.
3117
7b1902cb
JM
31182012-03-01 Joseph Myers <joseph@codesourcery.com>
3119
bec039bc
JM
3120 * configure.in (AS, LD): Require binutils 2.20 or later.
3121 * configure: Regenerated.
3122 * manual/install.texi (Tools for Compilation): Give binutils 2.20
3123 as required minimum version.
3124 * INSTALL: Regenerated.
3125
7b1902cb
JM
3126 [BZ #2541]
3127 [BZ #4108]
3128 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
3129 before squaring exponent.
3130 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
3131 bottom long double and 27 bits of top long double before squaring
3132 exponent.
3133 * math/libm-test.inc (erfc_test): Add more tests.
3134 * sysdeps/i386/fpu/libm-test-ulps: Update.
3135 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3137
f775c276
KT
31382012-03-01 Kai Tietz <ktietz@redhat.com>
3139
3140 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
3141 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
3142 containing bit-fields.
3143 * soft-fp/extended.h (_FP_UNION_E): Likewise.
3144 * soft-fp/single.h (_FP_UNION_S): Likewise.
3145 * soft-fp/double.h (_FP_UNION_D): Likewise.
3146
5b8a4d4a
JM
31472012-02-29 Joseph Myers <joseph@codesourcery.com>
3148
0bab47b6
JM
3149 [BZ #13786]
3150 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
3151 not include ../strcmp.S.
3152 [USE_AS_STRNCASECMP_L]: Likewise.
3153 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
3154 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
3155 * sysdeps/i386/i686/multiarch/strncase_l-c.c
3156 (__strncasecmp_l_ia32): Define as alias to
3157 __strncasecmp_l_nonascii.
3158
0fcad3e2
JM
3159 [BZ #5794]
3160 * math/libm-test.inc (expm1_test): Add test for bug 5794.
3161 * sysdeps/i386/fpu/libm-test-ulps: Update.
3162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3163
5b8a4d4a
JM
3164 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
3165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3166
8fdceb2e
JL
31672012-02-29 Jeff Law <law@redhat.com>
3168
3169 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
3170 out of bounds read.
3171
1f393a11
MP
31722012-02-29 Marek Polacek <polacek@redhat.com>
3173
3174 [BZ #13706]
3175 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
3176 * elf/Makefile: Add rules to run tst-unused-dep.out.
3177
8847f037
DM
31782012-02-28 David S. Miller <davem@davemloft.net>
3179
3180 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
3181 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
3182 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
3183 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
3184 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
3185 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
3186
169d7f11
JM
31872012-02-29 Joseph Myers <joseph@codesourcery.com>
3188
3189 * math/libm-test.inc (llround_test): Move one test from
3190 lround_test. Use TEST_f_L in moved test.
3191 (lround_test): Move misplaced test to llround_test. Add testcase
3192 from bug 2561.
3193
39adf059
UD
31942012-02-28 Ulrich Drepper <drepper@gmail.com>
3195
3196 * sysdeps/x86_64/fpu/e_expf.S: New file.
3197 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
3198
71b5d1c5
SB
31992012-02-28 Stanislav Brabec <sbrabec@suse.cz>
3200
3201 [BZ #13637]
3202 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
3203 of remain_len that may cause incomplete multi-byte character and
3204 false match.
3205 * posix/bug-regex33.c: New file.
3206 * posix/Makefile (tests): Add bug-regex33.
3207
1f77f049
JM
32082012-02-28 Joseph Myers <joseph@codesourcery.com>
3209
3210 * manual/macros.texi: New file.
3211 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
3212 * manual/libc.texinfo: Include macros.texi.
3213 * manual/creatute.texi: Likewise.
3214 * manual/install.texi: Likewise.
3215 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
3216 @glibcadj{} in references to the GNU C Library.
3217 * manual/charset.texi: Likewise.
3218 * manual/conf.texi: Likewise.
3219 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
3220 when not using those macros.
3221 * manual/creature.texi: Likewise.
3222 * manual/crypt.texi: Likewise.
3223 * manual/errno.texi: Likewise.
3224 * manual/filesys.texi: Likewise.
3225 * manual/header.texi: Likewise.
3226 * manual/install.texi: Likewise.
3227 * manual/intro.texi: Likewise.
3228 * manual/io.texi: Likewise.
3229 * manual/job.texi: Likewise.
3230 * manual/lang.texi: Likewise.
3231 * manual/libc.texiinfo: Likewise.
3232 * manual/llio.texi: Likewise.
3233 * manual/locale.texi: Likewise.
3234 * manual/maint.texi: Likewise.
3235 * manual/math.texi: Likewise.
3236 * manual/memory.texi: Likewise.
3237 * manual/message.texi: Likewise.
3238 * manual/nss.texi: Likewise.
3239 * manual/pattern.texi: Likewise.
3240 * manual/process.texi: Likewise.
3241 * manual/resource.texi: Likewise.
3242 * manual/search.texi: Likewise.
3243 * manual/setjmp.texi: Likewise.
3244 * manual/signal.texi: Likewise.
3245 * manual/socket.texi: Likewise.
3246 * manual/startup.texi: Likewise.
3247 * manual/stdio.texi: Likewise.
3248 * manual/string.texi: Likewise.
3249 * manual/sysinfo.texi: Likewise.
3250 * manual/syslog.texi: Likewise.
3251 * manual/terminal.texi: Likewise.
3252 * manual/time.texi: Likewise.
3253 * manual/users.texi: Likewise.
3254 * INSTALL: Regenerated.
3255 * NOTES: Regenerated.
d40c5d54 3256 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 3257
450bf206
AS
32582012-02-28 Andreas Schwab <schwab@linux-m68k.org>
3259
3260 * include/dirent.h: Include <dirstream.h> before
3261 <dirent/dirent.h>.
3262
741a235b
DM
32632012-02-28 David S. Miller <davem@davemloft.net>
3264
3265 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
3266 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
3267 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
3268 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
3269
d6b5aa58
DM
32702012-02-27 David S. Miller <davem@davemloft.net>
3271
1aff59a3
DM
3272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
3273 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
3274 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
3275 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
3276
d6b5aa58
DM
3277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
3278 frame pointer instead of stack pointer relative arg slot.
3279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3280 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3281 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3282
433f48bf
CD
32832012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
3284
3285 [BZ #3992]
3286 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
3287
d674b76d
DM
32882012-02-27 David S. Miller <davem@davemloft.net>
3289
3290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
3291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
3294 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3295 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3296 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
3297 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
3298
0e7727f7
JM
32992012-02-27 Joseph Myers <joseph@codesourcery.com>
3300
3301 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
3302 later. Allow versions 5-9.
43be4ca2 3303 * configure: Regenerated.
0e7727f7
JM
3304 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
3305 required minimum version and 4.6 as recommended version. Do not
3306 mention bugs in GCC 2.7 and 2.8.
43be4ca2 3307 * INSTALL: Regenerated.
0e7727f7 3308
a78bc654
DM
33092012-02-27 David S. Miller <davem@davemloft.net>
3310
428d5830
DM
3311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
3312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
3313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
3314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
3315 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
3316 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
3317 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
3318 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
3319
a78bc654
DM
3320 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
3321 manipulate bits before adding and subtracting TWO112[sx].
3322 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3323
4579f81c
RM
33242012-02-27 Roland McGrath <roland@hack.frob.com>
3325
36c8acb4
RM
3326 [BZ #13775]
3327 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
3328 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
3329 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
3330 being in POSIX, because they are in 1003.1-2008.
3331
84ad622b
RM
3332 * rt/tst-aio.c: Include <fcntl.h>.
3333 * rt/tst-aio7.c: Likewise.
3334 * rt/tst-aio64.c: Likewise.
3335
4579f81c
RM
3336 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
3337
abd923db
JM
33382012-02-27 Joseph Myers <joseph@codesourcery.com>
3339
3340 * manual/install.texi (--with-headers): Describe headers as
3341 interface headers, not private headers.
3342 (Specific advice for GNU/Linux systems): Describe use of headers
3343 from "make headers_install", not private headers from older
3344 kernels.
43be4ca2 3345 * INSTALL: Regenerated.
abd923db
JM
3346 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
3347 Change to 2.6.19.
3348 * sysdeps/unix/sysv/linux/configure: Regenerated.
3349
6664049b
JM
3350 * manual/llio.texi (fclean): Remove documentation.
3351
bb8b6697
JM
3352 * manual/Makefile (libc-texi-generated): New variable. Include
3353 version.texi.
3354 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
3355 $(libc-texi-generated), not duplicated list of files.
3356 (version.texi, stamp-version): New rules.
3357 (realclean): Remove $(libc-texi-generated), not individual files
3358 from that list. Do not remove dir-add.texinfo.
3359 * manual/libc.texinfo: Comment out uses of edition numbers and
3360 references to printed manual. Remove last-updated dates.
3361 (EDITION): Comment out.
3362 (ISBN): Likewise.
3363 (VERSION, UPDATED): Remove.
3364 (version.texi): Include.
3365
12e5c3b9
AS
33662012-02-27 Andreas Schwab <schwab@linux-m68k.org>
3367
3368 * sysdeps/posix/spawni.c: Include <signal.h>.
3369 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
3370 * sysdeps/pthread/aio_fsync.c: Likewise.
3371
4efeffc1 33722012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 3373
ba63ba08
UD
3374 * conform/Makefile (tests): Run only when not cross-compiling and
3375 when fast-check is not defined.
3376
d94a4670
UD
3377 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
3378 * conform/data/limits.h-data: Fixes for POSIX2008.
3379 * conform/run-conformtest.sh: Run all tests.
3380 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
3381 headers.
3382 * include/bits/dlfcn.h: Likewise.
3383 * include/langinfo.h: Likewise.
3384 * include/monetary.h: Likewise.
3385 * include/sys/poll.h: Likewise.
3386
3387 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
3388 for __USE_GNU.
3389 * posix/spawn.h: Define __need_sigset_t.
3390 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
3391 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
3392 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
3393 to get sigevent_t only.
3394 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
3395 only for __USE_GNU.
3396 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3397 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3398 process_vm_writev only for __USE_GNU.
3399 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
3400
3401 * conform/Makefile: For now ignore errors from run-conformtest.
3402 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
3403 POSIX to avoid namespace pollution. Don't prepend headers.
3404 * conform/data/aio.h-data: Fixes for POSIX testing.
3405 * conform/data/fcntl.h-data: Likewise.
3406 * conform/data/glob.h-data: Likewise.
3407 * conform/data/grp.h-data: Likewise.
3408 * conform/data/pthread.h-data: Likewise.
3409 * conform/data/pwd.h-data: Likewise.
3410 * conform/data/signal.h-data: Likewise.
3411 * conform/data/spawn.h-data: Likewise.
3412 * conform/data/stdio.h-data: Likewise.
3413 * conform/data/stdlib.h-data: Likewise.
3414 * conform/data/stropts.h-data: Likewise.
3415 * conform/data/sys/mman.h-data: Likewise.
3416 * conform/data/sys/stat.h-data: Likewise.
3417 * conform/data/sys/types.h-data: Likewise.
3418 * conform/data/sys/wait.h-data: Likewise.
3419 * conform/data/time.h-data: Likewise.
3420 * conform/data/unistd.h-data: Likewise.
3421 * conform/data/utime.h-data: Likewise.
3422
3423 * io/sys/stat.h: fchmod was always in POSIX.
3424 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
3425 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
3426 * rt/aio.h: Define __need_timespec before including <time.h>.
3427 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
3428 struct. Add forward declaration of pthread_attr_t and use it in
3429 sigevent.
3430 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3431 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3432 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
3433 always remove CLK_TCK definition.
3434
c20105c3
AS
34352012-02-26 Andreas Schwab <schwab@linux-m68k.org>
3436
3437 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
3438
7a270350
UD
34392012-02-25 Ulrich Drepper <drepper@gmail.com>
3440
31341567
UD
3441 * conform/run-conformtest.sh: New file.
3442 * conform/Makefile: Run run-conformtest for tests.
3443 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
3444 support.
3445
3446 * conform/data/uchar.h-data: New file.
3447 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
3448 * conform/data/arpa/inet.h-data: Likewise.
3449 * conform/data/assert.h-data: Likewise.
3450 * conform/data/complex.h-data: Likewise.
3451 * conform/data/cpio.h-data: Likewise.
3452 * conform/data/ctype.h-data: Likewise.
3453 * conform/data/dirent.h-data: Likewise.
3454 * conform/data/dlfcn.h-data: Likewise.
3455 * conform/data/errno.h-data: Likewise.
3456 * conform/data/fcntl.h-data: Likewise.
3457 * conform/data/float.h-data: Likewise.
3458 * conform/data/fmtmsg.h-data: Likewise.
3459 * conform/data/fnmatch.h-data: Likewise.
3460 * conform/data/ftw.h-data: Likewise.
3461 * conform/data/glob.h-data: Likewise.
3462 * conform/data/grp.h-data: Likewise.
3463 * conform/data/iconv.h-data: Likewise.
3464 * conform/data/inttypes.h-data: Likewise.
3465 * conform/data/langinfo.h-data: Likewise.
3466 * conform/data/libgen.h-data: Likewise.
3467 * conform/data/limits.h-data: Likewise.
3468 * conform/data/locale.h-data: Likewise.
3469 * conform/data/math.h-data: Likewise.
3470 * conform/data/monetary.h-data: Likewise.
3471 * conform/data/mqueue.h-data: Likewise.
3472 * conform/data/ndbm.h-data: Likewise.
3473 * conform/data/net/if.h-data: Likewise.
3474 * conform/data/netdb.h-data: Likewise.
3475 * conform/data/netinet/in.h-data: Likewise.
3476 * conform/data/nl_types.h-data: Likewise.
3477 * conform/data/poll.h-data: Likewise.
3478 * conform/data/pthread.h-data: Likewise.
3479 * conform/data/pwd.h-data: Likewise.
3480 * conform/data/regex.h-data: Likewise.
3481 * conform/data/sched.h-data: Likewise.
3482 * conform/data/search.h-data: Likewise.
3483 * conform/data/semaphore.h-data: Likewise.
3484 * conform/data/setjmp.h-data: Likewise.
3485 * conform/data/signal.h-data: Likewise.
3486 * conform/data/spawn.h-data: Likewise.
3487 * conform/data/stdarg.h-data: Likewise.
3488 * conform/data/stdio.h-data: Likewise.
3489 * conform/data/stdlib.h-data: Likewise.
3490 * conform/data/string.h-data: Likewise.
3491 * conform/data/strings.h-data: Likewise.
3492 * conform/data/stropts.h-data: Likewise.
3493 * conform/data/sys/ipc.h-data: Likewise.
3494 * conform/data/sys/mman.h-data: Likewise.
3495 * conform/data/sys/msg.h-data: Likewise.
3496 * conform/data/sys/resource.h-data: Likewise.
3497 * conform/data/sys/select.h-data: Likewise.
3498 * conform/data/sys/sem.h-data: Likewise.
3499 * conform/data/sys/shm.h-data: Likewise.
3500 * conform/data/sys/socket.h-data: Likewise.
3501 * conform/data/sys/stat.h-data: Likewise.
3502 * conform/data/sys/statvfs.h-data: Likewise.
3503 * conform/data/sys/time.h-data: Likewise.
3504 * conform/data/sys/timeb.h-data: Likewise.
3505 * conform/data/sys/times.h-data: Likewise.
3506 * conform/data/sys/types.h-data: Likewise.
3507 * conform/data/sys/uio.h-data: Likewise.
3508 * conform/data/sys/un.h-data: Likewise.
3509 * conform/data/sys/utsname.h-data: Likewise.
3510 * conform/data/sys/wait.h-data: Likewise.
3511 * conform/data/syslog.h-data: Likewise.
3512 * conform/data/tar.h-data: Likewise.
3513 * conform/data/termios.h-data: Likewise.
3514 * conform/data/utime.h-data: Likewise.
3515 * conform/data/utmpx.h-data: Likewise.
3516 * conform/data/varargs.h-data: Likewise.
3517 * conform/data/wchar.h-data: Likewise.
3518 * conform/data/wctype.h-data: Likewise.
3519 * conform/data/wordexp.h-data: Likewise.
3520
3521 * include/stropts.h: New file.
3522 * include/uchar.h: New file.
3523 * include/aio.h: Changes to allow conformtest.pl to use the headers.
3524 * include/assert.h: Likewise.
3525 * include/ctype.h: Likewise.
3526 * include/dirent.h: Likewise.
3527 * include/dlfcn.h: Likewise.
3528 * include/fcntl.h: Likewise.
3529 * include/fnmatch.h: Likewise.
3530 * include/glob.h: Likewise.
3531 * include/grp.h: Likewise.
3532 * include/libio.h: Likewise.
3533 * include/locale.h: Likewise.
3534 * include/math.h: Likewise.
3535 * include/net/if.h: Likewise.
3536 * include/netdb.h: Likewise.
3537 * include/netinet/in.h: Likewise.
3538 * include/pthread.h: Likewise.
3539 * include/pwd.h: Likewise.
3540 * include/regex.h: Likewise.
3541 * include/sched.h: Likewise.
3542 * include/search.h: Likewise.
3543 * include/setjmp.h: Likewise.
3544 * include/signal.h: Likewise.
3545 * include/stdio.h: Likewise.
3546 * include/stdlib.h: Likewise.
3547 * include/string.h: Likewise.
3548 * include/sys/cdefs.h: Likewise.
3549 * include/sys/mman.h: Likewise.
3550 * include/sys/msg.h: Likewise.
3551 * include/sys/resource.h: Likewise.
3552 * include/sys/select.h: Likewise.
3553 * include/sys/socket.h: Likewise.
3554 * include/sys/stat.h: Likewise.
3555 * include/sys/statvfs.h: Likewise.
3556 * include/sys/time.h: Likewise.
3557 * include/sys/times.h: Likewise.
3558 * include/sys/uio.h: Likewise.
3559 * include/sys/utsname.h: Likewise.
3560 * include/sys/wait.h: Likewise.
3561 * include/termios.h: Likewise.
3562 * include/time.h: Likewise.
3563 * include/ulimit.h: Likewise.
3564 * include/unistd.h: Likewise.
3565 * include/utime.h: Likewise.
3566 * include/wchar.h: Likewise.
3567 * include/wctype.h: Likewise.
3568 * include/wordexp.h: Likewise.
3569
3570 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3571
7a270350
UD
3572 * time/time.h: TIME_UTC must be a macro.
3573 Make timespec_get available for ISO C11 only as well.
3574
7724defc
UD
35752012-02-24 Ulrich Drepper <drepper@gmail.com>
3576
3577 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
3578 Reported by Peng Haitao <penght@cn.fujitsu.com>.
3579
6b1d1d46
JM
35802012-02-24 Joseph Myers <joseph@codesourcery.com>
3581
3582 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 3583
0f8bbd69
JM
35842012-02-24 Joseph Myers <joseph@codesourcery.com>
3585
3586 * manual/texinfo.tex: Update to version 2012-01-19.16.
3587
66ab80bc
JM
35882012-02-24 Joseph Myers <joseph@codesourcery.com>
3589
3590 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3591
74981cc5
RM
35922012-02-24 Roland McGrath <roland@hack.frob.com>
3593
ee968201
RM
3594 [BZ #13738]
3595 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3596 * manual/fdl-1.3.texi: New file.
3597 * manual/fdl-1.1.texi: File removed.
3598
74981cc5
RM
3599 [BZ #13738]
3600 * manual/libc.texinfo (FDL_VERSION): New @set.
3601 Use it for mention of FDL in cover text.
3602 (Documentation License): Use it in @include file name.
3603
7bb764bc
JM
36042012-02-22 Joseph Myers <joseph@codesourcery.com>
3605 Roland McGrath <roland@hack.frob.com>
3606
3607 [BZ #5461]
3608 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3609 not LONG_LONG_MAX and LONG_LONG_MIN.
3610 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3611 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
3612 name.
3613 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3614
6cbeae47
JM
36152012-02-22 Joseph Myers <joseph@codesourcery.com>
3616
3617 [BZ #2547]
3618 [BZ #11365]
3619 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3620 manipulate bits before adding and subtracting TWO23[sx].
3621 * math/libm-test.inc (nearbyint_test): Add more tests.
3622
fe45ce09
JM
36232012-02-22 Joseph Myers <joseph@codesourcery.com>
3624
3625 [BZ #2548]
3626 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3627 bits before adding and subtracting TWO23[sx].
3628 * math/libm-test.inc (rint_test): Add more tests.
3629 (rint_test_tonearest): Likewise.
3630 (rint_test_towardzero): Likewise.
3631 (rint_test_downward): Likewise.
3632 (rint_test_upward: Likewise.
3633
ff3b3d82
JM
36342012-02-22 Joseph Myers <joseph@codesourcery.com>
3635
3636 [BZ #10110]
3637 * include/stdc-predef.h: New file. Extracted from features.h.
3638 * include/features.h: Include stdc-predef.h.
3639 * Makefile (headers): Add stdc-predef.h.
3640 * CONFORMANCE (Compiler limitations): Update.
3641
ef0aab35
JM
36422012-02-22 Joseph Myers <joseph@codesourcery.com>
3643
3644 * manual/libc.texinfo (VERSION, UPDATED): Revert.
3645
58639409
DM
36462012-02-21 David S. Miller <davem@davemloft.net>
3647
3648 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3649 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3650
c0e70b25
DM
36512012-02-20 David S. Miller <davem@davemloft.net>
3652
3653 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3654 using a normal save/restore sequence, rather than allocating a
3655 dummy stack frame just to store a frame pointer and restore.
3656 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3657
fb06851d
JM
36582012-02-21 Joseph Myers <joseph@codesourcery.com>
3659
3660 * manual/install.texi: Fix stray word in line-wrapped comment.
3661
7a8b71c3
DM
36622012-02-20 David S. Miller <davem@davemloft.net>
3663
d510c123
DM
3664 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3665 both binutils and gcc support GOTDATA.
3666
0722d7c2
DM
3667 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3668 "rd %pc" in the PIC register setup sequences.
3669
3d2b3019
DM
3670 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3671 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3672 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3673 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3674 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3675 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3676 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3677 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3678 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3679 (SYSCALL_ERROR_HANDLER): Likewise.
3680 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3681 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3682 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3683 (SYSCALL_ERROR_HANDLER): Likewise.
3684
c80098a9
DM
3685 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3686 (HAVE_GCC_GOTDATA): New.
3687 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3688 relocation support in both binutils and gcc.
3689 * sysdeps/sparc/elf/configure: Regenerate.
3690
3a2545a0
DM
3691 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3692 * sysdeps/sparc/sparc32/elf/configure: Delete.
3693 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3694 * sysdeps/sparc/sparc64/elf/configure: Delete.
3695 * sysdeps/sparc/elf/configure.in: New file.
3696 * sysdeps/sparc/elf/configure: Generate.
3697
7a8b71c3
DM
3698 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3699 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3700 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3701 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3702 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3703
f1e86fca
JM
37042012-02-21 Joseph Myers <joseph@codesourcery.com>
3705
3706 * manual/install.texi: Do not mention specific glibc version
3707 numbers.
3708 * manual/libc.texinfo (VERSION, UPDATED): Update.
3709 (@copying): Use @copyright{} and range of years.
3710
0e7dfaef
JM
37112012-02-21 Joseph Myers <joseph@codesourcery.com>
3712
3713 [BZ #13695]
3714 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3715 [crti.S not in sysdirs] (generated): Do not append.
3716 [crti.S not in sysdirs] (omit-deps): Likewise.
3717 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3718 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3719 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3720 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3721 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3722 Likewise.
3723 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3724 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3725 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3726 * csu/defs.awk: Remove file.
3727 * sysdeps/generic/initfini.c: Likewise.
3728 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3729 variable.
3730 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3731 Likewise.
3732
599af3ca
JM
37332012-02-20 Joseph Myers <joseph@codesourcery.com>
3734
3735 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3736 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3737 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3738 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3739 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3740 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3741 <bits/epoll.h>.
3742 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3743 (__EPOLL_PACKED): Define to empty if not defined by
3744 <bits/epoll.h>.
3745 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3746 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3747 bits/epoll.h.
3748
0e499750
JM
37492012-02-20 Joseph Myers <joseph@codesourcery.com>
3750
3751 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3752 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3753 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3754 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3755 <bits/timerfd.h>.
3756 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3757 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3758 bits/timerfd.h.
3759
5ad91f6e
JM
37602012-02-20 Joseph Myers <joseph@codesourcery.com>
3761
3762 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3763 in C locale.
3764 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3765 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3766 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3768
06b99b02
AJ
37692012-02-20 Aurelien Jarno <aurelien@aurel32.net>
3770
3771 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3772 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3773
7638c0fd
AS
37742012-02-19 Andreas Schwab <schwab@linux-m68k.org>
3775
3776 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3777 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3778 defined.
3779 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3780 Likewise.
3781 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3782 entry for 2.16.
3783
92221550
AJ
37842012-02-19 Aurelien Jarno <aurelien@aurel32.net>
3785
3786 * math/w_acos.c: Use non-signaling floating-point comparisons.
3787 * math/w_acosf.c: Likewise.
3788 * math/w_acosh.c: Likewise.
3789 * math/w_acoshf.c: Likewise.
3790 * math/w_acoshl.c: Likewise.
3791 * math/w_acosl.c: Likewise.
3792 * math/w_asin.c: Likewise.
3793 * math/w_asinf.c: Likewise.
3794 * math/w_asinl.c: Likewise.
3795 * math/w_atanh.c: Likewise.
3796 * math/w_atanhf.c: Likewise.
3797 * math/w_atanhl.c: Likewise.
3798 * math/w_exp2.c: Likewise.
3799 * math/w_exp2f.c: Likewise.
3800 * math/w_exp2l.c: Likewise.
3801 * math/w_j0.c: Likewise.
3802 * math/w_j0f.c: Likewise.
3803 * math/w_j0l.c: Likewise.
3804 * math/w_j1.c: Likewise.
3805 * math/w_j1f.c: Likewise.
3806 * math/w_j1l.c: Likewise.
3807 * math/w_jn.c: Likewise.
3808 * math/w_jnf.c: Likewise.
3809 * math/w_log.c: Likewise.
3810 * math/w_log10.c: Likewise.
3811 * math/w_log10f.c: Likewise.
3812 * math/w_log10l.c: Likewise.
3813 * math/w_log2.c: Likewise.
3814 * math/w_log2f.c: Likewise.
3815 * math/w_log2l.c: Likewise.
3816 * math/w_logf.c: Likewise.
3817 * math/w_logl.c: Likewise.
3818 * math/w_sqrt.c: Likewise.
3819 * math/w_sqrtf.c: Likewise.
3820 * math/w_sqrtl.c: Likewise.
3821 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3822 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3823 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3824 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3825 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3826
ebaf36eb
JM
38272012-02-19 Joseph Myers <joseph@codesourcery.com>
3828
3829 [BZ #9739]
3830 * manual/string.texi (strnlen): Use correct parameter name in
3831 equivalent expression.
3832
71c254a6
JM
38332012-02-19 Joseph Myers <joseph@codesourcery.com>
3834
3835 [BZ #11174]
3836 * manual/users.texi (seteuid): Consistently use neweuid for
3837 argument name.
3838
16d2c631
JM
38392012-02-19 Joseph Myers <joseph@codesourcery.com>
3840
3841 [BZ #13704]
3842 * manual/nss.texi (Services in the NSS configuration): Correct
3843 list of services in example configuration file.
3844
cd837b09
NB
38452012-02-19 Nick Bowler <nbowler@draconx.ca>
3846
3847 [BZ #11322]
3848 * manual/arith.texi: Remove statements about negative zero
3849 behaving identically to zero.
3850
02c4bbad
JM
38512012-02-18 Joseph Myers <joseph@codesourcery.com>
3852
3853 [BZ #5993]
3854 * manual/install.texi: Do not document upgrading from libc5.
3855
366842e7
JM
38562012-02-18 Joseph Myers <joseph@codesourcery.com>
3857
3858 [BZ #4596]
3859 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3860
dd54084d
DM
38612012-02-18 David S. Miller <davem@davemloft.net>
3862
3863 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3864 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3865 %o7 across the call.
3866 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3867 instead.
3868 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3869 SETUP_PIC_REG_LEAF.
3870 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3871 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3872 * sysdeps/sparc/crtn.S: Likewise.
3873
2bcc53a3
UD
38742012-02-17 Ulrich Drepper <drepper@gmail.com>
3875
3876 * aout/Makefile: Remove.
3877
09c093b5
RK
38782012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3879
3880 [BZ #13058]
3881 * manual/examples/argp-ex1.c (main): Format definition in GNU
3882 style.
3883 * manual/examples/argp-ex2.c (main): Likewise.
3884 * manual/examples/argp-ex3.c (main): Likewise.
3885 * manual/examples/argp-ex4.c (main): Likewise.
3886 * manual/examples/longopt.c (main): Use new-style prototype
3887 definition.
3888 * manual/examples/strncat.c (main): Specify return type and use
3889 (void) for arguments.
3890 * manual/examples/subopt.c (main): Use char **argv argument.
3891
2ee633a2
JM
38922012-02-17 Joseph Myers <joseph@codesourcery.com>
3893
3894 [BZ #5077]
3895 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3896 rounding modes.
3897
0520adde
FB
38982012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3899
3900 [BZ #6907]
3901 * manual/string.texi (strchr): Change when strchrnul is
3902 recommended.
3903
3f4081cd
DGM
39042012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3905
3906 [BZ #174]
3907 * manual/locale.texi (setlocale): Document LOCPATH.
3908
d1b10e78
JM
39092012-02-17 Joseph Myers <joseph@codesourcery.com>
3910
3911 [BZ #10210]
3912 * manual/process.texi (execle): Move @dots{} before last argument.
3913
79c6869c
PB
39142012-02-17 Paul Bolle <pebolle@tiscali.nl>
3915
3916 [BZ #12047]
3917 * manual/charset.texi (Generic Charset Conversion): Fix typo
3918 (LC_TYPE -> LC_CTYPE).
3919
cc6e48bc
NB
39202012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3921
3922 [BZ #5805]
3923 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3924 (scalbnf): Likewise.
3925 (scalbnl): Likewise.
3926 (scalbln): Likewise.
3927 (scalblnf): Likewise.
3928 (scalblnl): Likewise.
3929 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3930 (vwarnx): Likewise.
3931 (verr): Likewise.
3932 (verrx): Likewise.
3933 * manual/filesys.texi (telldir): Use braces around return type.
3934 * manual/llio.texi (mmap): Add space after comma.
3935 (mmap64): Likewise.
3936 * manual/math.texi (jn): Use @var{} on parameter names.
3937 (jnf): Likewise.
3938 (jnl): Likewise.
3939 (yn): Likewise.
3940 (ynf): Likewise.
3941 (ynl): Likewise.
3942 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3943 line.
3944 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3945 "...".
3946 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3947 (sched_get_priority_max): Likewise.
3948 * manual/signal.texi (sigvec): Add space after comma.
3949 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3950 names.
3951 (if_indextoname): Likewise.
3952 (if_freenameindex): Likewise.
3953 (sendto): Use ',' instead of '.' in prototype.
3954 * manual/startup.texi (syscall): Use @dots{} instead of literal
3955 "...".
3956 * manual/stdio.texi (__fpending): Separate initial words of
3957 paragraph from @deftypefun line.
3958 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3959 "...".
3960 (vsyslog): Use @var{} on parameter names.
3961 * manual/terminal.texi (stty): Use @var{} on parameter names.
3962 * manual/users.texi (getutmp): Use @var{} on parameter names.
3963 (getutmpx): Likewise.
3964
5b23062f
JM
39652012-02-17 Joseph Myers <joseph@codesourcery.com>
3966
3967 [BZ #6884]
3968 * manual/stdio.texi (fopen): Fix typos in description of
3969 ",ccs=STRING".
3970
8dee4833
AJ
39712012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3972
3973 [BZ #4026]
3974 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3975 get clock_id definition.
3976
9078ce93
TS
39772012-02-17 Thomas Schwinge <thomas@schwinge.name>
3978
3979 [BZ #4822]
3980 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3981 (madvise): Cast every argument to void on its own.
3982
3835c55f
JM
39832012-02-17 Joseph Myers <joseph@codesourcery.com>
3984
3985 [BZ #9902]
3986 * manual/startup.texi (Exit Status): Fix typo.
3987
35c47e37
JM
39882012-02-17 Joseph Myers <joseph@codesourcery.com>
3989
3990 [BZ #10140]
3991 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3992 * manual/examples/argp-ex2.c: Likewise.
3993 * manual/examples/argp-ex3.c: Likewise.
3994
e3b69ca7
RH
39952012-02-16 Richard Henderson <rth@redhat.com>
3996
3997 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3998 * sysdeps/s390/s390-32/initfini.c: Remove.
3999 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
4000 * sysdeps/s390/s390-64/initfini.c: Remove.
4001
df83af67
KK
40022012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4003
4004 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
4005 compiler output for sysdeps/generic/initfini.c.
4006 * sysdeps/sh/elf/initfini.c: Remove file.
4007
f63f3380
DM
40082012-02-16 David S. Miller <davem@davemloft.net>
4009
fb59b3a4
DM
4010 [BZ #11494]
4011 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
4012
f63f3380
DM
4013 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
4014 * sysdeps/sparc/crti.S: New file.
4015 * sysdeps/sparc/crtn.S: New file.
4016 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
4017 * sysdeps/sparc/sparc64/Makefile: Likewise.
4018
df6a4a4a
MF
40192012-02-15 Mike Frysinger <vapier@gentoo.org>
4020
6dd8f3dc 4021 [BZ #3335]
df6a4a4a
MF
4022 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
4023
1cac7236
RM
40242012-02-15 Roland McGrath <roland@hack.frob.com>
4025
d2c736f8
RM
4026 [BZ #4822]
4027 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
4028
1cac7236
RM
4029 * mach/devstream.c (cookie_io_functions_t): Macro removed.
4030 (write, read, close): Likewise.
4031 Patch by Aurelien Jarno <aurelien@aurel32.net>.
4032
8e475601
JM
40332012-02-15 Joseph Myers <joseph@codesourcery.com>
4034
4035 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
4036 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
4037 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
4038 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
4039 <bits/signalfd.h>.
4040 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
4041 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4042 bits/signalfd.h.
4043
ed656b40
MP
40442012-02-14 Marek Polacek <polacek@redhat.com>
4045
4046 * sysdeps/x86_64/crti.S: New file.
4047 * sysdeps/x86_64/crtn.S: New file.
4048 * sysdeps/x86_64/elf/initfini.c: Remove file.
4049
2a979d3a
JM
40502012-02-13 Joseph Myers <joseph@codesourcery.com>
4051
4052 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
4053 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
4054 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
4055 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
4056 <bits/inotify.h>.
4057 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
4058 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4059 bits/inotify.h.
4060
2a418ac3
JM
40612012-02-13 Joseph Myers <joseph@codesourcery.com>
4062
4063 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
4064 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
4065 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
4066 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
4067 <bits/eventfd.h>.
4068 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
4069 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4070 bits/eventfd.h.
4071
fb779be7
TS
40722012-02-10 Thomas Schwinge <thomas@codesourcery.com>
4073
e19e83c5
RM
4074 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
4075 __feraiseexcept instead of feraiseexcept.
7c35ffed 4076
fb779be7
TS
4077 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
4078 nanosleep invocations.
4079 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
4080 strings, and add error checking for a nanosleep invocations.
4081
59ba27a6
PE
40822012-02-09 Paul Eggert <eggert@cs.ucla.edu>
4083
4084 Replace FSF snail mail address with URLs, as per GNU coding standards.
4085 Most of the snail mail addresses were wrong anyway, and omitting
4086 them makes the source code easier to maintain. Almost all of the
4087 changes are to license notices and to locale LC_IDENTIFICATION
4088 addresses, except for this one:
4089 * manual/libc.texinfo: In "Published by", give the FSF's URL,
4090 not its snail mail address.
4091
57b957eb
RH
40922012-02-09 Richard Henderson <rth@twiddle.net>
4093
af850b1c
RH
4094 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
4095 of kernel-features.h.
4096
57b957eb
RH
4097 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
4098
6b73181a
MP
40992012-02-08 Marek Polacek <polacek@redhat.com>
4100
4101 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
4102 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
4103 * sysdeps/gnu/_G_config.h: Likewise.
4104 * sysdeps/generic/_G_config.h: Likewise.
4105
26ecc33a
AS
41062012-02-08 Andreas Schwab <schwab@linux-m68k.org>
4107
6c6dbc63
AS
4108 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
4109 tests.
4110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4111
e216c012
AS
4112 * sysdeps/powerpc/powerpc32/crti.S: New file.
4113 * sysdeps/powerpc/powerpc32/crtn.S: New file.
4114 * sysdeps/powerpc/powerpc64/crti.S: New file.
4115 * sysdeps/powerpc/powerpc64/crtn.S: New file.
4116
26ecc33a
AS
4117 * Makeconfig (have-initfini): Don't set.
4118 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
4119 * configure.in (nopic_initfini): Don't substitute.
4120 * config.h.in (HAVE_INITFINI): Don't #undef.
4121 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
4122 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
4123
3add8e13
JM
41242012-02-08 Joseph Myers <joseph@codesourcery.com>
4125
4126 Support crti.S and crtn.S provided directly by architectures.
4127 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
4128 [crti.S in sysdirs] (omit-deps): Likewise.
4129 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
4130 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
4131 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
4132 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
4133 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
4134 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
4135 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
4136 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
4137 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
4138 compiler output for sysdeps/generic/initfini.c.
4139 * sysdeps/i386/elf/Makefile: Remove file.
4140 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
4141
a22f12b4
MP
41422012-02-07 Marek Polacek <polacek@redhat.com>
4143
4144 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
4145 * sysdeps/gnu/_G_config.h: Likewise.
4146 * sysdeps/mach/hurd/_G_config.h: Likewise.
4147
148cf100
MP
41482012-02-07 Marek Polacek <polacek@redhat.com>
4149
4150 * math/Makefile (tests): Add tst-CMPLX2.
4151 * math/tst-CMPLX2.c: New file.
4152
cfdc0dd7
AS
41532012-02-07 Andreas Schwab <schwab@linux-m68k.org>
4154
84ba42c4
AS
4155 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4156
cfdc0dd7
AS
4157 * math/libm-test.inc (jn_test): Add missing L suffix.
4158
622c86f4
MP
41592012-02-06 Marek Polacek <polacek@redhat.com>
4160
4161 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
4162 * sysdeps/i386/fpu/e_powf.S: Likewise.
4163 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
4164 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
4165 * sysdeps/i386/fpu/e_acosh.S: Likewise.
4166 * sysdeps/i386/fpu/e_pow.S: Likewise.
4167 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
4168 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
4169 * sysdeps/i386/fpu/s_expm1.S: Likewise.
4170 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
4171 * sysdeps/i386/fpu/e_log2.S: Likewise.
4172 * sysdeps/i386/fpu/e_log2l.S: Likewise.
4173 * sysdeps/i386/fpu/e_scalb.S: Likewise.
4174 * sysdeps/i386/fpu/e_powl.S: Likewise.
4175 * sysdeps/i386/fpu/s_log1p.S: Likewise.
4176 * sysdeps/i386/fpu/e_log10f.S: Likewise.
4177 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
4178 * sysdeps/i386/fpu/e_logl.S: Likewise.
4179 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
4180 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
4181 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
4182 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
4183 * sysdeps/i386/fpu/e_log2f.S: Likewise.
4184 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
4185 * sysdeps/i386/fpu/e_log.S: Likewise.
4186 * sysdeps/i386/fpu/s_cexp.S: Likewise.
4187 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
4188 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
4189 * sysdeps/i386/fpu/e_logf.S: Likewise.
4190 * sysdeps/i386/fpu/e_log10l.S: Likewise.
4191 * sysdeps/i386/fpu/e_atanh.S: Likewise.
4192 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
4193 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
4194 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
4195 * sysdeps/i386/fpu/e_log10.S: Likewise.
4196 * sysdeps/i386/fpu/s_frexp.S: Likewise.
4197 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
4198 * sysdeps/i386/fpu/s_asinh.S: Likewise.
4199 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
4200 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
4201 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
4202 * sysdeps/i386/asm-syntax.h: Likewise.
4203 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
4204 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4205 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4206 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
4207 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
4208 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4209 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4210 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4211 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4212 * sysdeps/powerpc/sysdep.h: Likewise.
4213 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
4214 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4215
d4a54ac6
JM
42162012-02-06 Joseph Myers <joseph@codesourcery.com>
4217
4218 [BZ #411]
4219 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
4220
314054ea
JM
42212012-02-06 Joseph Myers <joseph@codesourcery.com>
4222
4223 * sysdeps/i386/sysdep.h: Include <features.h>.
4224 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
4225 version.
4226
d8e0ca50
JM
42272012-02-05 Joseph Myers <joseph@codesourcery.com>
4228
4229 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
4230 Define.
4231 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
4232 LOAD_PIC_REG_STR.
4233
b1da7dd9
JM
42342012-02-03 Joseph Myers <joseph@codesourcery.com>
4235
4236 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
4237 (SETUP_PIC_REG): Use GET_PC_THUNK.
4238 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
4239 macro.
4240
9a1d9254
JM
42412012-02-03 Joseph Myers <joseph@codesourcery.com>
4242
4243 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
4244 for non-PIC compilation.
4245 (SETUP_PIC_REG): Add .p2align directive.
4246 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
4247 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4248 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4249 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4250 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4251 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4252 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4253 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4254 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4255 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4256 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4257 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4258 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4259 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4260 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4261 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4262 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4263 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4264 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4265 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4266 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4267 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4268 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4269 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4270 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4271 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4272 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4273 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4274 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4275 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4276 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4277 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4278 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4279 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4280 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4281 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4282 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4283 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4284 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4285 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4286 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4287
65dc3b75
JM
42882012-02-03 Joseph Myers <joseph@codesourcery.com>
4289
4290 * math/tst-CMPLX.c: Include <stdio.h>.
4291
d55bf177
JM
42922012-01-31 Joseph Myers <joseph@codesourcery.com>
4293
4294 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
4295 float.
4296 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4297 * sysdeps/sparc/bits/mathdef.h: Likewise.
4298
69db4f8f
MP
42992012-01-31 Marek Polacek <polacek@redhat.com>
4300
4301 * libio/libio.h: Don't define _PARAMS.
4302 * locale/programs/config.h: Don't define PARAMS.
4303 * stdlib/strtol_l.c: Likewise.
4304 (__strtol_l): Remove PARAMS from the prototype.
4305
41b81892
UD
43062012-01-31 Ulrich Drepper <drepper@gmail.com>
4307
3b49edc0
UD
4308 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
4309 names. Just use the correct names. Remove unnecessary wrapper
4310 functions.
4311 * malloc/arena.c: Likewise.
4312 * malloc/hooks.c: Likewise.
4313
41b81892
UD
4314 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
4315 ARENA_TEST says not to. Simplify test for creation of a new arena.
4316 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
4317
27a25b6e
UD
43182012-01-30 Ulrich Drepper <drepper@gmail.com>
4319
4320 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
4321 into tail calls.
4322 (update_get_addr): New function.
4323 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
4324 GET_ADDR_MODULE parameter.
4325
c8a89e7d
JM
43262012-01-30 Joseph Myers <joseph@codesourcery.com>
4327
4328 * crypt/cert.c: Remove __STDC__ conditionals.
4329 * crypt/crypt-entry.c: Likewise.
4330 * crypt/crypt_util.c: Likewise.
4331 * libio/filedoalloc.c: Likewise.
4332 * libio/fileops.c: Likewise.
4333 * libio/genops.c: Likewise.
4334 * libio/iofclose.c: Likewise.
4335 * libio/iofdopen.c: Likewise.
4336 * libio/iofopen.c: Likewise.
4337 * libio/iofopen64.c: Likewise.
4338 * libio/iogetdelim.c: Likewise.
4339 * libio/iopopen.c: Likewise.
4340 * libio/obprintf.c: Likewise.
4341 * libio/oldfileops.c: Likewise.
4342 * libio/oldiofclose.c: Likewise.
4343 * libio/oldiofdopen.c: Likewise.
4344 * libio/oldiofopen.c: Likewise.
4345 * libio/oldiopopen.c: Likewise.
4346 * libio/wfiledoalloc.c: Likewise.
4347 * libio/wgenops.c: Likewise.
4348 * locale/programs/xmalloc.c: Likewise.
4349 * misc/syslog.c: Likewise.
4350 * stdio-common/xbug.c: Likewise.
4351 * string/memchr.c: Likewise.
4352 * string/memcmp.c: Likewise.
4353 * string/memrchr.c: Likewise.
4354 * string/rawmemchr.c: Likewise.
4355 * sysdeps/posix/getcwd.c: Likewise.
4356 * time/strftime_l.c: Likewise.
4357
3b100462
JM
43582012-01-30 Joseph Myers <joseph@codesourcery.com>
4359
4360 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
4361 * config.make.in (config-cflags-sse2avx): Define.
4362 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
4363 Fix typo.
4364
607998af
CM
43652012-01-29 Chris Metcalf <cmetcalf@tilera.com>
4366
4367 * scripts/config.guess: Update from upstream config git repository.
4368 * scripts/config.sub: Likewise.
4369
3601428f
CM
43702012-01-28 Chris Metcalf <cmetcalf@tilera.com>
4371
3ac8b282
CM
4372 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
4373 (EM_NUM): Update.
4374 (R_TILEPRO_*, R_TILEGX_*): New macros.
4375
e034841e
CM
4376 * scripts/firstversions.awk: Fix bug in version range handling.
4377
540d7568
CM
4378 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
4379
3601428f
CM
4380 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
4381
463de862
CM
4382 * include/sys/epoll.h: New file.
4383 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
4384 libc_hidden_def.
4385
73139a76
UD
43862012-01-28 Ulrich Drepper <drepper@gmail.com>
4387
96bc5b45
UD
4388 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
4389 Avoid unnecessary __WORDSIZE == 64 test.
4390 (fmaxf): Use VEX format if possible.
4391 (fmax): Likewise.
4392 (fminf): Likewise.
4393 (fmin): Likewise.
4394
56f6f6a2
UD
4395 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
4396 * math/math_private.h: Remove libc_fegetround* and
4397 libc_fesetround*.
4398 * sysdeps/i386/configure.in: Check for -msse2avx.
4399 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
4400 also if SSE2AVX is defined.
4401 Remove libc_fegetround* and libc_fesetround*.
4402 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
4403 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
4404 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
4405 of HAS_YMM_USABLE.
4406 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4407 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4408 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4409 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4410 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4411
73139a76
UD
4412 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
4413
d73f93a4
AZ
44142012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4415
4416 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
4417 size is not set.
4418 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4419
6ee65ed6
UD
44202012-01-27 Ulrich Drepper <drepper@gmail.com>
4421
4422 [BZ #13618]
4423 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
4424 relocation.
4425 * Makeconfig (libm): Define.
4426 * elf/Makefile: Add rules to build and run tst-relsort1.
4427 * elf/tst-relsort1.c: New file.
4428 * elf/tst-relsort1mod1.c: New file.
4429 * elf/tst-relsort1mod2.c: New file.
4430
8db21882
JM
44312012-01-27 Joseph Myers <joseph@codesourcery.com>
4432
4433 * math/s_ldexp.c: Remove __STDC__ conditionals.
4434 * math/s_ldexpf.c: Likewise.
4435 * math/s_ldexpl.c: Likewise.
4436 * math/s_nextafter.c: Likewise.
4437 * math/s_nexttowardf.c: Likewise.
4438 * math/s_significand.c: Likewise.
4439 * math/s_significandf.c: Likewise.
4440 * math/s_significandl.c: Likewise.
4441 * math/w_jnl.c: Likewise.
4442 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4443 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4444 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4445 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4446 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4447 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4448 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
4449 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4450 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4451 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4452 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4453 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4454 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4455 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4456 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4457 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4458 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4459 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4460 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4461 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4462 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4463 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4464 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4465 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4466 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4467 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4468 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4469 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4470 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4471 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4472 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4473 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4474 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4475 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4476 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4477 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4478 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4479 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4480 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4481 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4482 * sysdeps/ieee754/k_standard.c: Likewise.
4483 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4484 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4485 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4486 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4487 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4488 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4489 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4490 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4491 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4492 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4493 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4494 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4495 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4496 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4497 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4498 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4499 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4500 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4501 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4502 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4503 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4504 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4505 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4506 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4507 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4508 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4509 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4510 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4511 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4512 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4513 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4514 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4515 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4516 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4517 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4518 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4519 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4520 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4521 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4522 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4523 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4524 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4525 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4526 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4527 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4528 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4529 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4530 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4531 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4532 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4533 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4534 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4535 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4536 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4537 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4538 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4539 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4540 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4541 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4542 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4543 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4544 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4545 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4546 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4547 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4548 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4549 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4550 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4551 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4552 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4553 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4554 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4555 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4556 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4557 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4558 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4559 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4560 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4561 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4562 * sysdeps/ieee754/s_matherr.c: Likewise.
4563 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4564 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4565 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4566 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4567
965a54a4
JM
45682012-01-26 Joseph Myers <joseph@codesourcery.com>
4569
4570 * crypt/md5.h: Remove __STDC__ conditionals.
4571 * libio/libioP.h: Likewise.
4572 * locale/programs/config.h: Likewise.
4573 * sysdeps/generic/sysdep.h: Likewise.
4574 * sysdeps/i386/asm-syntax.h: Likewise.
4575 * sysdeps/s390/asm-syntax.h: Likewise.
4576 * sysdeps/unix/sysdep.h: Likewise.
4577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4579
7071ad79
JM
45802012-01-26 Joseph Myers <joseph@codesourcery.com>
4581
4582 * libio/libio.h: Remove __STDC__ conditionals.
4583 * malloc/obstack.h: Likewise.
4584 * math/complex.h: Likewise.
4585 * math/math.h: Likewise.
4586 * sysdeps/generic/_G_config.h: Likewise.
4587 * sysdeps/gnu/_G_config.h: Likewise.
4588 * sysdeps/mach/hurd/_G_config.h: Likewise.
4589 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4590 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4591 * sysdeps/sparc/bits/mathdef.h: Likewise.
4592
afc5ed09
UD
45932012-01-26 Ulrich Drepper <drepper@gmail.com>
4594
4595 [BZ #13583]
4596 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 4597 Clean up HAS_* macros.
afc5ed09 4598 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
4599 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4600 possible.
4601 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4602 HAS_AVX.
4603 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4604 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4605 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4606 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4607 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 4608
bdb6de1d
JM
46092012-01-25 Joseph Myers <joseph@codesourcery.com>
4610
4611 * elf/tst-unique3.cc (gets): Remove declaration.
4612 * elf/tst-unique3lib.cc (gets): Likewise.
4613 * elf/tst-unique3lib2.cc (gets): Likewise.
4614 * elf/tst-unique4.cc (gets): Likewise.
4615
b15549e6
UD
46162012-01-24 Ulrich Drepper <drepper@gmail.com>
4617
4618 * include/stdio.h: Add C++ protection. Add gets declarations and
4619 definitions.
4620 * debug/tst-chk1.c: Don't declare gets here.
4621 * stdio-common/tst-gets.c: Likewise.
4622
a037381f
JM
46232012-01-24 Joseph Myers <joseph@codesourcery.com>
4624
4625 * posix/glob: Remove directory.
4626
f1d4aa75
JM
46272012-01-24 Joseph Myers <joseph@codesourcery.com>
4628
4629 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4630
81c0c964
PT
46312012-01-22 Pino Toscano <toscano.pino@tiscali.it>
4632
4633 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4634 of the non-standard EPFNOSUPPORT.
4635
0ea698ae
ST
46362011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
4637
4638 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4639 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4640 ANYWHERE set to 1 only on KERN_NO_SPACE error.
4641
d220b117
UD
46422012-01-21 Ulrich Drepper <drepper@gmail.com>
4643
4644 * wcsmbs/uchar.h: Test __STDC_VERSION__.
4645
3e1aa84e
UD
46462012-01-20 Ulrich Drepper <drepper@gmail.com>
4647
4648 * nscd/aicache.c (addhstaiX): Do not cache negative results of
4649 transient errors.
4650 * nscd/grpcache.c (cache_addgr): Likewise.
4651 * nscd/hstcache.c (cache_addhst): Likewise.
4652 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4653 * nscd/pwdcache.c (cache_addpw): Likewise.
4654 * nscd/servicescache.c (cache_addserv): Likewise.
4655
400aa020
UD
46562012-01-16 Ulrich Drepper <drepper@gmail.com>
4657
d77e7869
UD
4658 * malloc/malloc.c: Various cleanups.
4659 * malloc/hooks.c: Likewise.
4660
400aa020
UD
4661 * stdlib/Makefile (tests): Add bug-fmtmsg1.
4662 * stdlib/bug-fmtmsg1.c: New file.
4663
4664 * stdlib/fmtmsg.c (init): Add missing unlock.
4665 Patch by Peng Haitao <penght@cn.fujitsu.com>.
4666
e0a309cf
MP
46672012-01-12 Marek Polacek <polacek@redhat.com>
4668
4669 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4670 and _GNU_SOURCE.
4671
929d11c7
WS
46722012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4673
4674 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4675 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4676 macro to ensure uniqueness of label name.
4677 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4678 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4679
41d0e869
UD
46802012-01-11 Ulrich Drepper <drepper@gmail.com>
4681
0cc5ed3b
UD
4682 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4683
41d0e869
UD
4684 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4685 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4686 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4687 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4688
a47a831a
UD
46892012-01-10 Ulrich Drepper <drepper@gmail.com>
4690
daa891c0
UD
4691 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4692
4693 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4694 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4695 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4696
e58ef0f2
UD
4697 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4698
a47a831a 4699 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
4700 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4701 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 4702 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
4703
4704 * math/bits/math-finite.h: Add ldexp support.
4705
a0bfc9c7
MP
47062012-01-10 Marek Polacek <polacek@redhat.com>
4707
4708 * locale/programs/localedef.h (show_archive_content): Add noreturn
4709 attribute.
4710
d6e97a1d
UD
47112012-01-09 Ulrich Drepper <drepper@gmail.com>
4712
4713 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4714
d5835c26
UD
47152012-01-08 Ulrich Drepper <drepper@gmail.com>
4716
e5f484c6
UD
4717 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4718
d5835c26
UD
4719 * io/Makefile (headers): Add bits/poll2.h.
4720
d1f741e9
WS
47212011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
4722
4723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4724 typo #include statement.
4725
ec09c1c4
UD
47262012-01-08 Ulrich Drepper <drepper@gmail.com>
4727
4728 * include/sys/cdefs.h: Define __attribute_alloc_size.
4729 * catgets/gencat.c: Add alloc_size attribute and apply consistently
4730 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4731 * elf/pldd.c: Likewise.
4732 * iconv/iconv_charmap.c: Likewise.
4733 * iconv/iconvconfig.c: Likewise.
4734 * iconv/strtab.c: Likewise.
4735 * locale/programs/locale.c: Likewise.
4736 * locale/programs/localedef.h: Likewise.
4737 * locale/programs/simple-hash.c: Likewise.
4738 * nscd/nscd.h: Likewise.
4739 * nss/makedb.c: Likewise.
4740 * sysdeps/generic/ldconfig.h: Likewise.
4741 * locale/programs/localedef.c: Remove xmalloc prototype.
4742 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4743
20b38e03
PP
47442012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4745
4746 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4747 appropriate.
4748
a0da5fe1
UD
47492012-01-08 Ulrich Drepper <drepper@gmail.com>
4750
1d5a644a 4751 * math/Makefile (tests): Add tst-CMPLX.
669704fd 4752 * math/tst-CMPLX.c: New file.
1d5a644a 4753
8784a6db
UD
4754 * math/complex.h (CMPLXL): Fix typo.
4755
d9a216c0
UD
4756 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4757 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4758 GLIBC_2.16.
4759 * debug/tst-chk1.c: Add poll and ppoll tests.
4760 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4761 * include/sys/poll.h: Add hidden proto for ppoll.
4762 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4763 * sysdeps/mach/hurd/ppoll.c: Likewise.
4764 * io/ppoll.c: Likewise.
4765 * debug/poll_chk.c: New file.
4766 * debug/ppoll_chk.c: New file.
4767 * include/bits/poll2.h: New file.
4768 * io/bits/poll2.h: New file.
4769
ac097f5c
UD
4770 [BZ #1350]
4771 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4772
2119dcfa
UD
4773 * configure.in: static is always set to yes. Remove.
4774 * config.make.in: Don't set build-static.
4775 * Makeconfig: Remove use of build-static.
4776 * dlfcn/Makefile: Likewise.
4777 * elf/Makefile: Likewise.
4778 * math/Makefile: Likewise.
4779 * misc/Makefile: Likewise.
4780 * nptl/Makefile: Likewise.
4781 * sysdeps/mach/hurd/Makefile: Likewise.
4782
121766a9
UD
4783 * configure.in: PWD_P is not used anymore.
4784 * config.make.in: Remove PWD_P entry.
4785
51a1d39c 4786 * configure.in: Remove last remnants of RANLIB.
8720d066 4787 No need to check for signed size_t anymore.
215f4bdc
UD
4788 Don't set libc_commonpagesize and libc_relro_required here for Alpha
4789 and IA-64.
3857022a 4790 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
4791 * aclocal.m4: Likewise.
4792
d3ed7225
UD
4793 * wcsmbs/mbrtoc16.c: Implement using towc function.
4794 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4795 * wcsmbs/wcsmbsload.c: Likewise.
4796 * iconv/gconv_simple.c: Likewise.
4797 * iconv/gconv_int.h: Likewise.
4798 * iconv/gconv_builtin.h: Likewise.
4799 * iconv/iconv_prog.c: Remove CHAR16 handling.
4800
4801 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4802
4803 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4804
a0da5fe1
UD
4805 * configure.in: Remove --with-elf and --enable-bounded options.
4806 Dont set base_machine for ia64. More non-ELF conditions removed.
4807 Remove testing and setting of leading underscore information.
4808 * config.make.in (build-bounded): Set to no.
4809 * config.h.in: Remove NO_UNDERSCORES entry.
4810 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4811 them.
4812 * csu/start.c: Remove !NO_UNDERSCORE code.
4813 * locale/localeinfo.h: Likewise.
4814 * sysdeps/generic/machine-gmon.h: Likewise.
4815 * sysdeps/generic/sysdep.h: Likewise.
4816 * sysdeps/i386/sysdep.h: Likewise.
4817 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4818 * sysdeps/mach/sysdep.h: Likewise.
4819 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4820 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4821 * sysdeps/sh/sysdep.h: Likewise.
4822 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4823 * sysdeps/unix/i386/sysdep.S: Likewise.
4824 * sysdeps/unix/sparc/start.c: Likewise.
4825 * sysdeps/unix/sparc/sysdep.S: Likewise.
4826 * sysdeps/unix/sparc/sysdep.h: Likewise.
4827 * sysdeps/unix/start.c: Likewise.
4828 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4829 * sysdeps/x86_64/sysdep.h: Likewise.
4830
df78418a
UD
48312012-01-07 Ulrich Drepper <drepper@gmail.com>
4832
a784e502
UD
4833 [BZ #13553]
4834 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4835 for non-gcc.
4836 * argp/argp-fmtstream.h: Use const instead __const.
4837 * argp/argp.h: Likewise.
4838 * assert/assert.h: Likewise.
4839 * bits/fenv.h: Likewise.
4840 * bits/sched.h: Likewise.
4841 * bits/sigset.h: Likewise.
4842 * bits/sigthread.h: Likewise.
4843 * catgets/nl_types.h: Likewise.
4844 * conform/data/pthread.h-data: Likewise.
4845 * crypt/crypt-private.h: Likewise.
4846 * crypt/crypt.h: Likewise.
4847 * crypt/crypt_util.c: Likewise.
4848 * ctype/ctype.h: Likewise.
4849 * debug/execinfo.h: Likewise.
4850 * debug/mbsnrtowcs_chk.c: Likewise.
4851 * debug/mbsrtowcs_chk.c: Likewise.
4852 * debug/wcsnrtombs_chk.c: Likewise.
4853 * debug/wcsrtombs_chk.c: Likewise.
4854 * debug/wcstombs_chk.c: Likewise.
4855 * dirent/dirent.h: Likewise.
4856 * dlfcn/dlfcn.h: Likewise.
4857 * elf/neededtest4.c: Likewise.
4858 * grp/grp.h: Likewise.
4859 * gshadow/gshadow.h: Likewise.
4860 * iconv/gconv.h: Likewise.
4861 * iconv/gconv_int.h: Likewise.
4862 * iconv/gconv_simple.c: Likewise.
4863 * iconv/iconv.h: Likewise.
4864 * iconv/loop.c: Likewise.
4865 * iconv/skeleton.c: Likewise.
4866 * include/aio.h: Likewise.
4867 * include/aliases.h: Likewise.
4868 * include/argz.h: Likewise.
4869 * include/arpa/inet.h: Likewise.
4870 * include/assert.h: Likewise.
4871 * include/dirent.h: Likewise.
4872 * include/dlfcn.h: Likewise.
4873 * include/execinfo.h: Likewise.
4874 * include/fcntl.h: Likewise.
4875 * include/fenv.h: Likewise.
4876 * include/glob.h: Likewise.
4877 * include/grp.h: Likewise.
4878 * include/libintl.h: Likewise.
4879 * include/mntent.h: Likewise.
4880 * include/netdb.h: Likewise.
4881 * include/pwd.h: Likewise.
4882 * include/rpc/netdb.h: Likewise.
4883 * include/sched.h: Likewise.
4884 * include/search.h: Likewise.
4885 * include/shadow.h: Likewise.
4886 * include/signal.h: Likewise.
4887 * include/stdio.h: Likewise.
4888 * include/stdlib.h: Likewise.
4889 * include/string.h: Likewise.
4890 * include/sys/socket.h: Likewise.
4891 * include/sys/stat.h: Likewise.
4892 * include/sys/statfs.h: Likewise.
4893 * include/sys/statvfs.h: Likewise.
4894 * include/sys/syslog.h: Likewise.
4895 * include/sys/time.h: Likewise.
4896 * include/sys/uio.h: Likewise.
4897 * include/time.h: Likewise.
4898 * include/unistd.h: Likewise.
4899 * include/utmp.h: Likewise.
4900 * include/wchar.h: Likewise.
4901 * include/wctype.h: Likewise.
4902 * inet/aliases.h: Likewise.
4903 * inet/arpa/inet.h: Likewise.
4904 * inet/netinet/ether.h: Likewise.
4905 * inet/netinet/in.h: Likewise.
4906 * intl/libintl.h: Likewise.
4907 * io/bits/fcntl2.h: Likewise.
4908 * io/fcntl.h: Likewise.
4909 * io/ftw.h: Likewise.
4910 * io/sys/poll.h: Likewise.
4911 * io/sys/stat.h: Likewise.
4912 * io/sys/statfs.h: Likewise.
4913 * io/sys/statvfs.h: Likewise.
4914 * io/utime.h: Likewise.
4915 * libio/bits/stdio.h: Likewise.
4916 * libio/bits/stdio2.h: Likewise.
4917 * libio/libio.h: Likewise.
4918 * libio/libioP.h: Likewise.
4919 * libio/stdio.h: Likewise.
4920 * locale/lc-ctype.c: Likewise.
4921 * locale/locale.h: Likewise.
4922 * login/utmp.h: Likewise.
4923 * malloc/arena.c: Likewise.
4924 * malloc/malloc.c: Likewise.
4925 * malloc/malloc.h: Likewise.
4926 * malloc/mcheck.c: Likewise.
4927 * malloc/mtrace.c: Likewise.
4928 * math/bits/mathcalls.h: Likewise.
4929 * math/fenv.h: Likewise.
4930 * math/math_private.h: Likewise.
4931 * misc/bits/error.h: Likewise.
4932 * misc/bits/syslog.h: Likewise.
4933 * misc/err.h: Likewise.
4934 * misc/error.h: Likewise.
4935 * misc/fstab.h: Likewise.
4936 * misc/mntent.h: Likewise.
4937 * misc/regexp.h: Likewise.
4938 * misc/search.h: Likewise.
4939 * misc/sgtty.h: Likewise.
4940 * misc/sys/mman.h: Likewise.
4941 * misc/sys/syslog.h: Likewise.
4942 * misc/sys/uio.h: Likewise.
4943 * misc/sys/xattr.h: Likewise.
4944 * misc/ttyent.h: Likewise.
4945 * nis/rpcsvc/ypclnt.h: Likewise.
4946 * nss/nss.h: Likewise.
4947 * posix/bits/unistd.h: Likewise.
4948 * posix/fnmatch.h: Likewise.
4949 * posix/glob.h: Likewise.
4950 * posix/sched.h: Likewise.
4951 * posix/spawn.h: Likewise.
4952 * posix/sys/wait.h: Likewise.
4953 * posix/unistd.h: Likewise.
4954 * posix/wordexp.h: Likewise.
4955 * pwd/pwd.h: Likewise.
4956 * resolv/netdb.h: Likewise.
4957 * resource/sys/resource.h: Likewise.
4958 * rt/aio.h: Likewise.
4959 * rt/bits/mqueue2.h: Likewise.
4960 * rt/mqueue.h: Likewise.
4961 * shadow/shadow.h: Likewise.
4962 * signal/signal.h: Likewise.
4963 * socket/send.c: Likewise.
4964 * socket/sendto.c: Likewise.
4965 * socket/sys/socket.h: Likewise.
4966 * stdio-common/printf.h: Likewise.
4967 * stdlib/bits/stdlib.h: Likewise.
4968 * stdlib/fmtmsg.h: Likewise.
4969 * stdlib/monetary.h: Likewise.
4970 * stdlib/stdlib.h: Likewise.
4971 * stdlib/ucontext.h: Likewise.
4972 * streams/stropts.h: Likewise.
4973 * string/argz.h: Likewise.
4974 * string/bits/string2.h: Likewise.
4975 * string/string.h: Likewise.
4976 * string/strings.h: Likewise.
4977 * sunrpc/rpc/auth.h: Likewise.
4978 * sunrpc/rpc/auth_des.h: Likewise.
4979 * sunrpc/rpc/clnt.h: Likewise.
4980 * sunrpc/rpc/netdb.h: Likewise.
4981 * sunrpc/rpc/pmap_clnt.h: Likewise.
4982 * sunrpc/rpc/xdr.h: Likewise.
4983 * sysdeps/generic/inttypes.h: Likewise.
4984 * sysdeps/generic/net/if.h: Likewise.
4985 * sysdeps/generic/sys/swap.h: Likewise.
4986 * sysdeps/gnu/net/if.h: Likewise.
4987 * sysdeps/gnu/utmpx.h: Likewise.
4988 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4989 * sysdeps/i386/i486/bits/string.h: Likewise.
4990 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4991 * sysdeps/s390/bits/string.h: Likewise.
4992 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4993 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4994 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4995 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4996 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4997 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4998 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4999 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
5000 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
5001 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
5002 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
5003 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5004 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
5005 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5006 * sysdeps/unix/sysv/linux/readv.c: Likewise.
5007 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
5008 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5009 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5010 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5011 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5012 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5013 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
5014 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
5015 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
5016 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
5017 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
5018 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
5019 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5020 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
5021 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
5022 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
5023 * sysvipc/sys/ipc.h: Likewise.
5024 * sysvipc/sys/msg.h: Likewise.
5025 * sysvipc/sys/sem.h: Likewise.
5026 * sysvipc/sys/shm.h: Likewise.
5027 * termios/termios.h: Likewise.
5028 * time/sys/time.h: Likewise.
5029 * time/time.h: Likewise.
5030 * wcsmbs/bits/wchar2.h: Likewise.
5031 * wcsmbs/uchar.h: Likewise.
5032 * wcsmbs/wchar.h: Likewise.
5033 * wctype/wctype.h: Likewise.
5034
0269750c
UD
5035 [BZ #13551]
5036 * Makeconfig: Remove all but ELF support including AIX support.
5037 * Makerules: Likewise.
5038 * config.h.in: Likewise.
5039 * config.make.in: Likewise.
5040 * configure: Likewise.
5041 * configure.in: Likewise.
5042 * csu/Makefile: Likewise.
5043 * csu/version.c: Likewise.
5044 * debug/Makefile: Likewise.
5045 * dlfcn/Makefile: Likewise.
5046 * elf/Makefile: Likewise.
5047 * extra-lib.mk: Likewise.
5048 * iconv/Makefile: Likewise.
5049 * include/libc-symbols.h: Likewise.
5050 * include/shlib-compat.h: Likewise.
5051 * resolv/Makefile: Likewise.
5052 * resolv/res_libc.c: Likewise.
5053 * rt/Makefile: Likewise.
5054 * sysdeps/i386/asm-syntax.h: Likewise.
5055 * sysdeps/i386/sysdep.h: Likewise.
5056 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5057 * sysdeps/mach/sysdep.h: Likewise.
5058 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
5059 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
5060 * sysdeps/s390/asm-syntax.h: Likewise.
5061 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5062 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5063 * sysdeps/sh/sysdep.h: Likewise.
5064 * sysdeps/unix/sparc/sysdep.h: Likewise.
5065 * sysdeps/wordsize-32/divdi3.c: Likewise.
5066 * sysdeps/x86_64/sysdep.h: Likewise.
5067
00bbd29b
UD
5068 * argp/Versions: Remove _argp_unlock_xxx.
5069
5070 [BZ #13559]
5071 * abilist/ld.abilist: Update. Adjust for removal of tls option.
5072 * abilist/libBrokenLocale.abilist: Likewise.
5073 * abilist/libanl.abilist: Likewise.
5074 * abilist/libc.abilist: Likewise.
5075 * abilist/libcrypt.abilist: Likewise.
5076 * abilist/libdl.abilist: Likewise.
5077 * abilist/libm.abilist: Likewise.
5078 * abilist/libnsl.abilist: Likewise.
5079 * abilist/libpthread.abilist: Likewise.
5080 * abilist/libresolv.abilist: Likewise.
5081 * abilist/librt.abilist: Likewise.
5082 * abilist/libthread_db.abilist: Likewise.
5083 * abilist/libutil.abilist: Likewise.
5084 * abilist/libnss_db.abilist: New file.
5085
5086 * scripts/abilist.awk: Add support for indirect functions.
5087
a2693a0e
UD
5088 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
5089
3f05895f
UD
5090 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
5091
ecb6fb48
UD
5092 * shlib-versions: Remove entries for ports architectures.
5093
664f8cb9
UD
5094 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
5095 files in ports.
5096 * elf/stackguard-macros.h: Remove support for IA-64.
5097 * elf/tst-auditmod1.c: Likewise.
5098 * sysdeps/generic/ldsodefs.h: Likewise.
5099
7ae81d88
UD
5100 * sysdeps/unix/sysv/linux/configure.in: Ports should define
5101 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
5102 configure files.
5103
bdeba135
UD
5104 [BZ #13552]
5105 * configure.in: Remove --enable-omitfp support.
5106 * FAQ.in: Adjust.
5107 * config.make.in: Likewise.
5108 * Makeconfig: Likewise.
5109 * manual/install.texi: Likewise.
5110
d75a0a62
UD
5111 In case anyone cares, the IA-64 architecture could move to ports.
5112 * sysdeps/ia64/*: Removed.
5113 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 5114 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 5115
dcc9756b
UD
5116 [BZ #13555]
5117 * configure.in: Remove entries for unsupported architectures.
5118
d3761ebc 5119 [BZ #13533]
9954432e
UD
5120 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
5121 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
5122 routines.
5123 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
5124 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
5125 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
5126 fall back to using wcrtomb.
5127 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
5128 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
5129 renaming.
5130 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
5131 * wcsmbs/tst-c16c32-1.c: New file.
5132
5133 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
5134 local variable.
5135
c3a87236
UD
5136 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
5137
28926a1b
UD
5138 * elf/tst-unique3.cc: Add explicit declaration of gets.
5139 * elf/tst-unique3lib.cc: Likewise.
5140 * elf/tst-unique3lib2.cc: Likewise.
5141 * elf/tst-unique4.cc: Likewise.
5142
df78418a
UD
5143 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
5144
8ecd6b2a
JM
51452012-01-06 Joseph Myers <joseph@codesourcery.com>
5146
5147 [BZ #13566]
5148 * assert/assert.h (static_assert): Don't define for C++.
5149 * libio/stdio.h (gets): Do declare for C++ <= C++11.
5150 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
5151
9f115170
UD
51522012-01-03 Ulrich Drepper <drepper@gmail.com>
5153
5e0d0300
UD
5154 * iconv/loop.c (single loop): Fix assertion in storing of
5155 remaining bytes.
5156
9f115170
UD
5157 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
5158
81fb02b0
UD
51592012-01-01 Ulrich Drepper <drepper@gmail.com>
5160
5161 * posix/getconf.c: Update copyright year.
5162 * nss/getent.c: Likewise.
a316c1f6 5163 * nss/makedb.c: Likewise.
81fb02b0
UD
5164 * iconv/iconvconfig.c: Likewise.
5165 * iconv/iconv_prog.c: Likewise.
5166 * elf/ldconfig.c: Likewise.
a316c1f6
UD
5167 * elf/pldd.c: Likewise.
5168 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
5169 * catgets/gencat.c: Likewise.
5170 * csu/version.c: Likewise.
5171 * elf/ldd.bash.in: Likewise.
5172 * elf/sprof.c (print_version): Likewise.
5173 * locale/programs/locale.c: Likewise.
5174 * locale/programs/localedef.c: Likewise.
a316c1f6 5175 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
5176 * nscd/nscd.c (print_version): Likewise.
5177 * debug/xtrace.sh: Likewise.
5178 * malloc/memusage.sh: Likewise.
5179 * malloc/mtrace.pl: Likewise.
5180 * debug/catchsegv.sh: Likewise.
5181
2ba92745
JJ
51822011-12-30 Jakub Jelinek <jakub@redhat.com>
5183
5184 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
5185 pure attribute.
5186
dadebdae
UD
51872011-12-24 Ulrich Drepper <drepper@gmail.com>
5188
d3761ebc 5189 [BZ #13533]
db6af3eb
UD
5190 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
5191 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
5192 transformations.
5193 * iconv/gconv_int.h: Likewise.
5194 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
5195 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
5196 from libc for GLIBC_2.16.
5197 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
5198 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
5199 * wcsmbs/uchar.h: Really define mbstate_t.
5200 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
5201 * wcsmbs/c16rtomb.c: New file.
5202 * wcsmbs/mbrtoc16.c: New file.
5203 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
5204 for C/POSIX locale.
5205 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
5206 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
5207
dadebdae
UD
5208 * wcsmbs/wchar.h: Add missing __restrict.
5209
67371b56
UD
52102011-12-23 Ulrich Drepper <drepper@gmail.com>
5211
74033a25
UD
5212 [BZ #13532]
5213 * time/Makefile (routines): Add timespec_get.
5214 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
5215 * time/time.h: Define TIME_UTC and declare timespec_get. Define
5216 timespec for ISO C11.
5217 * time/timespec_get.c: New file.
5218 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
5219 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
5220
380d7e87
UD
5221 [BZ #13531]
5222 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
5223 * stdlib/stdlib.h: Declare aligned_alloc.
5224 * Versions.def: Add GLIBC_2.16 for libc.
5225 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
5226
4e9e7a35
UD
5227 [BZ 13527]
5228 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
5229 ISO C11.
5230
380d7e87 5231 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
5232 code.
5233
03a71829
UD
5234 [BZ #13528]
5235 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
5236
839e283e
UD
5237 [BZ #13529]
5238 * assert/assert.h (static_assert): Define.
5239
ce5294e2 5240 * version.h: Update for 2.16 development version.
90fa7312 5241
8d44e150 5242 [BZ #13526]
d7809905
UD
5243 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
5244 _ISOC11_SOURCE.
5245
c0da14cd
UD
5246 * version.h (RELEASE): Bump for 2.15 release.
5247 * include/features.h (__GLIBC_MINOR__): Bump to 15.
5248
530a3249
MP
5249 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
5250 Patch by Marek Polacek <mpolacek@redhat.com>.
5251
67371b56
UD
5252 * bits/byteswap.h: Protect long long constants with __extension__.
5253 * sysdeps/i386/bits/byteswap.h: Likewise.
5254 * sysdeps/ia64/bits/byteswap.h: Likewise.
5255 * sysdeps/s390/bits/byteswap.h: Likewise.
5256 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5257
15db4de1
LD
52582011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5259
5260 [BZ #13540]
bbe315ea
LD
5261 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
5262 destination buffer.
15db4de1
LD
5263 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5264
2b2596b1
MP
52652011-12-23 Marek Polacek <polacek@redhat.com>
5266
5267 * elf/dl-addr.c (determine_info): Add inline keyword.
5268 * elf/tst-auditmod4b.c (check_avx): Likewise.
5269 * elf/tst-auditmod6b.c (check_avx): Likewise.
5270 * elf/tst-auditmod6c.c (check_avx): Likewise.
5271 * elf/tst-auditmod7b.c (check_avx): Likewise.
5272
70c6c246
UD
52732011-12-23 Ulrich Drepper <drepper@gmail.com>
5274
5275 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
5276 !__SSE_MATH__.
5277
c044cf14
LD
52782011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5279
15db4de1 5280 [BZ #13540]
c044cf14
LD
5281 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
5282 processing for last bytes.
5283
6b13d9d9
BH
52842011-08-06 Bruno Haible <bruno@clisp.org>
5285
d455f537
BH
5286 [BZ #13061]
5287 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
5288 U+0385, not to U+1FEE.
5289
6b13d9d9
BH
5290 [BZ #13062]
5291 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
5292 entry for U+00A5 U+0301.
5293
db910efd
UD
52942011-12-22 Ulrich Drepper <drepper@gmail.com>
5295
27deeafc
UD
5296 [BZ #13166]
5297 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
5298 buffer for the output is too small.
5299
aed9d171
UD
5300 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
5301 optimization.
5302
db910efd
UD
5303 [BZ #13185]
5304 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
5305 SSE flags if possible.
5306
2bd779ae
LD
53072011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5308
e7f9dac3 5309 [BZ #13540]
2bd779ae
LD
5310 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
5311 processing for last bytes.
5312
154bfc16
JM
53132011-12-22 Joseph Myers <joseph@codesourcery.com>
5314
5315 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
5316 (syscall-list-default-options, syscall-list-default-condition)
5317 (syscall-list-includes): Define.
5318 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
5319 list of ABIs and options and #if conditions for each ABI. Do not
5320 handle common syscalls between ABIs specially.
5321 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
5322 Remove.
5323 (syscall-list-variants, syscall-list-32bit-options)
5324 (syscall-list-32bit-condition, syscall-list-64bit-options)
5325 (syscall-list-64bit-condition): Define.
5326 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
5327 (syscall-list-variants, syscall-list-32bit-options)
5328 (syscall-list-32bit-condition, syscall-list-64bit-options)
5329 (syscall-list-64bit-condition): Define.
5330 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
5331 Remove.
5332 (syscall-list-variants, syscall-list-32bit-options)
5333 (syscall-list-32bit-condition, syscall-list-64bit-options)
5334 (syscall-list-64bit-condition): Define.
5335 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
5336 Remove.
5337 (syscall-list-variants, syscall-list-32bit-options)
5338 (syscall-list-32bit-condition, syscall-list-64bit-options)
5339 (syscall-list-64bit-condition): Define.
5340
21eaf3a5
UD
53412011-12-22 Ulrich Drepper <drepper@gmail.com>
5342
16c6f992
UD
5343 * locale/iso-639.def: Add brx entry.
5344
41043168
UD
5345 [BZ #13328]
5346 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
5347 Proposed by Mariusz_Cukr <marcukr@op.pl>.
5348
21eaf3a5
UD
5349 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
5350 __feraiseexcept_renamed.
5351
e3a851a2
UD
53522011-12-21 Ulrich Drepper <drepper@gmail.com>
5353
4920765e
UD
5354 [BZ #13538]
5355 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
5356 EPOLLET with unsigned values.
5357 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5358 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5359
e3a851a2
UD
5360 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
5361 to large cancellation.
5362 * math/s_cacoshf.c: Likewise.
5363 * math/s_cacoshl.c: Likewise.
5364
b27e24b8
RK
53652011-11-18 Richard B. Kreckel <kreckel@ginac.de>
5366
5367 [BZ #13305]
aebefeee 5368 [BZ #12786]
b27e24b8
RK
5369 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
5370 * math/s_cacoshf.c: Likewise.
5371 * math/s_cacoshl.c: Likewise.
5372
ee190f67
UD
53732011-12-21 Ulrich Drepper <drepper@gmail.com>
5374
5375 [BZ #13439]
5376 * iconv/gconv.h: Define __GCONV_SWAP.
5377 * iconvdata/unicode.c: The swap bit must be stored in __flags.
5378 * iconvdata/utf-16.c: Likewise.
5379 * iconvdata/utf-32.c: Likewise.
5380
707f25df
AS
53812011-12-21 Andreas Schwab <schwab@linux-m68k.org>
5382
5383 [BZ #13524]
5384 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
5385 numerator after shifting it by one limb.
5386
d2daaa1e
RÁE
53872011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
5388
5389 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
5390 under [__USE_EXTERN_INLINES].
5391
a4647e72
UD
53922011-12-17 Ulrich Drepper <drepper@gmail.com>
5393
5394 [BZ #13446]
5395 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
5396
f0b264f1
AZ
53972011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5398
5399 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
5400 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
5401 optimized code.
5402 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
5403 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
5404 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
5405 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
5406 for strncasecmp/strncasecmp_l compilation.
5407 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
5408 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
5409
8ef4f244
MP
54102011-12-08 Marek Polacek <mpolacek@redhat.com>
5411
5412 [BZ #13484]
5413 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
5414 of __asm__.
5415
97ac2654
UD
54162011-12-17 Ulrich Drepper <drepper@gmail.com>
5417
5418 [BZ #13506]
5419 * time/tzfile.c (__tzfile_read): Check values from file header.
5420
91d2a845
WS
54212011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5422
5423 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
5424 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
5425 * powerpc/powerpc32/dl-start.S: Likewise.
5426 * powerpc/powerpc32/elf/start.S: Likewise.
5427 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5428 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
5429 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5430 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
5431 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5432 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
5433 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
5434 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5435 * powerpc/powerpc32/fpu/s_round.S: Likewise.
5436 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5437 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5438 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5439 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5440 * powerpc/powerpc32/memset.S: Likewise.
5441 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5442 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5443 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5444 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5445 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5446 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5447 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5448 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5449 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
5450 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
5451 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
5452 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5453 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5454
a1267ba1
AZ
54552011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5456
5457 * math/libm-test.inc: Added more nearbyint tests.
5458 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5459 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5460 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5461 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5462
ad8ac1bd
RL
54632011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
5464
5465 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5466 FD_CLOEXEC.
5467
1d3e4b61
UD
54682011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5469
5470 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5471 Add wcscpy-ssse3 wcscpy-c.
5472 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5473 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5474 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5475 * sysdeps/x86_64/wcschr.S: New file.
5476 * sysdeps/x86_64/wcsrchr.S: New file.
5477 * string/test-strcmp.c: Remove checking of wcscmp function for
5478 wrong alignments.
5479 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5480 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5481 wcsrchr-sse2 wcsrchr-c.
5482 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5483 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5484 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5485 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5486 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5487 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5488 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5489 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5490 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5491 * wcsmbc/wcschr.c (WCSCHR): New macro.
5492
5b330a2d
UD
54932011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5494
5495 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5496 * wcsmbs/test-wcsrchr.c: New file.
5497 * string/test-strrchr.c: Add wcsrchr support.
5498 (WIDE): New macro.
5499 * wcsmbs/test-wcscpy.c: New file.
5500 * string/test-strcpy.c: Add wcscpy support.
5501 (WIDE): New macro.
26428b7c 5502
f039c043
UD
55032011-12-10 Ulrich Drepper <drepper@gmail.com>
5504
5505 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5506 the inner loop.
5507
850fb039
AS
55082011-12-06 Andreas Schwab <schwab@linux-m68k.org>
5509
5510 [BZ #13472]
5511 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5512
4efbd5cb
UD
55132011-12-04 Ulrich Drepper <drepper@gmail.com>
5514
52ff5dd0 5515 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 5516 Minor optimizations.
52ff5dd0 5517
4efbd5cb
UD
5518 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5519 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5520 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5521
8a426e12
UD
55222011-12-03 Ulrich Drepper <drepper@gmail.com>
5523
aff2453d
UD
5524 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5525 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5526 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5527 for gcc to avoid warnings.
5528 * inet/Makefile (tests): Add tst-checks.
5529 * inet/tst-checks.c: New file.
5530
5531 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5532 warning.
5533
5534 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5535 __wmemcmp_sse2.
5536
5537 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5538 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5539
8a426e12
UD
5540 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5541
9bea3473
UD
55422011-12-02 Ulrich Drepper <drepper@gmail.com>
5543
3a965496
UD
5544 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5545 problem.
5546
9bea3473
UD
5547 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5548
f101631b
UD
55492011-11-29 Joseph Myers <joseph@codesourcery.com>
5550
5551 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5552 conditional on GCC version.
5553 (__arch_compare_and_exchange_val_8_acq)
5554 (__arch_compare_and_exchange_val_16_acq)
5555 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5556 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5557 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5558
a98275aa
UD
55592011-12-02 Joseph Myers <joseph@codesourcery.com>
5560
5561 * sysdeps/sh/backtrace.c: New file.
5562
d4cc29a2
AS
55632011-12-02 Andreas Schwab <schwab@redhat.com>
5564
5565 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
5566 parenthesis.
5567
6257af2d
AS
55682011-12-01 Andreas Schwab <schwab@redhat.com>
5569
5570 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5571 falling back to utime.
5572
b5f44c1a
AS
55732011-11-30 Andreas Schwab <schwab@redhat.com>
5574
5575 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
5576 expectations for float.
5577
f3a6cc0a
AS
55782011-11-29 Andreas Schwab <schwab@redhat.com>
5579
5580 * locale/weight.h (findidx): Add parameter len.
5581 * locale/weightwc.h (findidx): Likewise.
5582 * posix/fnmatch_loop.c (FCT): Adjust caller.
5583 * posix/regcomp.c (build_equiv_class): Likewise.
5584 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
5585 * posix/regexec.c (check_node_accept_bytes): Likewise.
5586 * string/strcoll_l.c (STRCOLL): Likewise.
5587 * string/strxfrm_l.c (STRXFRM): Likewise.
5588
9d65ea3a
UD
55892011-11-17 Ulrich Drepper <drepper@gmail.com>
5590
5591 * Makefile.in: Remove CVSOPT handling.
5592 * configure.in: Remove use of AC_REVISION.
5593 * iconvdata/Makefile (distribute): No need to filter out CVS.
5594 * scripts/list-sources.sh: Remove CVS, subversion and monotone
5595 handling.
5596
5583a086
AS
55972011-11-16 Andreas Schwab <schwab@redhat.com>
5598
5599 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5600 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5601 [USE_AS_STRNCASECMP_L]: Likewise.
5602 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5603 NO_TLS_DIRECT_SEG_REFS.
5604 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5605 Fix argument offsets for non-PIC.
5606 [USE_AS_STRNCASECMP_L]: Likewise.
5607 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5608 NO_TLS_DIRECT_SEG_REFS.
5609
d62a8200
UD
56102011-11-15 Ulrich Drepper <drepper@gmail.com>
5611
9d65ea3a 5612 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
5613 O_CLOEXEC.
5614 * locale/loadlocale.c (_nl_load_locale): Likewise.
5615
09f93bd3
AS
56162011-11-15 Andreas Schwab <schwab@redhat.com>
5617
446514f9
AS
5618 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5619 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5620 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5621 (SYSCALL_GETTIME): Set errno on error.
5622
09f93bd3
AS
5623 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5624 count references to noai6ai_cached.
5625
312be3f9
UD
56262011-11-15 Ulrich Drepper <drepper@gmail.com>
5627
5628 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5629
5630 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5631 FD_CLOEXEC for /proc/self/maps.
5632
5633 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5634 FD_CLOEXEC for /proc/meminfo.
5635
5636 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5637 gai.conf.
5638
5639 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
5640 FD_CLOEXEC for given file.
5641
5642 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5643
5644 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5645 FD_CLOEXEC for /etc/hosts.
5646 (_gethtent): Likewise.
5647
5648 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5649
5650 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5651 cancellation and set FD_CLOEXEC for /etc/netgroup.
5652
5653 * nss/nss_files/files-key.c (search): Don't allow cancellation when
5654 reading /etc/publickey.
5655
5656 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5657 allow cancellation when reading /etc/group.
5658
5659 * nss/nss_files/files-alias.c (internal_setent): Don't allow
5660 cancellation.
5661 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
5662
5663 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5664 when using data file.
5665
5666 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5667
5668 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5669 (write_nis_obj): Use "c" and "e" in fopen.
5670
5671 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5672
5673 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5674
5675 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5676
5677 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5678
5679 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5680 locale.alias.
5681
5682 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5683
5684 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5685
5686 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5687
5688 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5689 file parsing and set FD_CLOEXEC.
5690
82af0fa8
UD
56912011-11-14 Ulrich Drepper <drepper@gmail.com>
5692
5693 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5694
a5fb313c
AS
56952011-11-14 Andreas Schwab <schwab@redhat.com>
5696
5697 * malloc/arena.c (arena_get2): Don't call reused_arena when
5698 _int_new_arena failed.
5699
6abf3465
UD
57002011-11-14 Ulrich Drepper <drepper@gmail.com>
5701
5702 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5703 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5704 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5705 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5706 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5707 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5708 to compile strcasecmp and strncasecmp.
5709 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5710 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5711
5712 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5713
76e3966e
UD
57142011-11-13 Ulrich Drepper <drepper@gmail.com>
5715
5716 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5717 locale-defines.sym to gen-as-const-headers.
5718 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5719 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5720 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5721 to compile strcasecmp and strncasecmp.
5722 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5723 strcasecmp_l and strncasecmp_l.
5724 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5725 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5726 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5727 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5728 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5729 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5730 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5731 * sysdeps/i386/i686/multiarch/strncase.S: New file.
5732 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5733 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5734 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5735
ab26144e
UD
57362011-11-12 Ulrich Drepper <drepper@gmail.com>
5737
7edb22ef
UD
5738 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5739 result of SYSDEP_GETTIME_CPU to retval.
5740 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5741 parameter list to macro. Remove trailing semicolon. Adjust users.
5742
9694fc44
UD
5743 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5744 variable.
5745
8ad89ef8
UD
5746 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5747 mantissa words.
5748 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5749
0c822ef9
UD
5750 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5751 from unused variable.
5752
874e0564
UD
5753 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5754 DWARF definitions.
5755 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5756 for assembling.
5757
3a2edc79
UD
5758 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5759 over namespaces.
5760
f3c2577f
UD
5761 * sunrpc/rpc_prot.c (rejected): Fix case value.
5762
294ce126
UD
5763 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5764 unsigned long long int to avoid warnings in shift.
5765
5e2b63c6
UD
5766 * posix/regex_internal.c (re_string_reconstruct): Actually use result
5767 of use of trans.
5768 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5769 variable tmp.
5770
e7f4b08e
UD
5771 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5772 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5773 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5774
ab26144e
UD
5775 * nis/nis_table.c (nis_list): Use variable of correct type for
5776 result of __follow_path call.
5777
8a6d5255
AZ
57782011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5779
5780 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5781 of math functions ceil, trunc, floor, round, and sqrt, when
5782 avaliable on the platform.
5783 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5784 name clash.
5785 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5786 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5787 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5788
aaddc98c
MP
57892011-10-30 Marek Polacek <mpolacek@redhat.com>
5790
5791 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5792 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5793
95b7042b
RM
57942011-11-11 Roland McGrath <roland@hack.frob.com>
5795
5796 * include/unistd.h: Fix __readlink return type.
5797 Reported by Chris Metcalf <cmetcalf@tilera.com>.
5798
57769839
UD
57992011-11-11 Ulrich Drepper <drepper@gmail.com>
5800
5801 * stdlib/ucontext.h: Undo last change for makecontext.
5802
edc5984d
AS
58032011-11-11 Andreas Schwab <schwab@redhat.com>
5804
98591e58
AS
5805 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5806
edc5984d
AS
5807 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5808 * setjmp/setjmp.h: Mark functions as non-leaf.
5809 * setjmp/bits/setjmp2.h: Likewise.
5810 * stdlib/ucontext.h: Likewise.
5811
77cdc054
AS
58122011-11-10 Andreas Schwab <schwab@redhat.com>
5813
5814 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5815 (reused_arena): Don't check arena limit.
5816 (arena_get2): Atomically check arena limit.
5817
fe72eebd
UD
58182011-11-08 Ulrich Drepper <drepper@gmail.com>
5819
5f078c32
UD
5820 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5821 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5822
fe72eebd
UD
5823 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5824 instructions.
5825
ae1bc2fa
AS
58262011-11-07 Andreas Schwab <schwab@redhat.com>
5827
7583a88d
AS
5828 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5829 handler when locking.
5830
ae1bc2fa
AS
5831 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5832 Fix size of allocated buffer.
5833
10fb0bfa
AS
58342011-11-04 Andreas Schwab <schwab@redhat.com>
5835
998832a4
AS
5836 [BZ #10103]
5837 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5838 declarations for long double functions.
5839 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5840
10fb0bfa
AS
5841 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5842
3d7ba52b
AS
58432011-11-03 Andreas Schwab <schwab@redhat.com>
5844
a9ae54a1
AS
5845 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5846 installed.
5847
3d7ba52b
AS
5848 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5849 is disabled.
5850
bc8db248
ST
58512011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5852
5853 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5854
45b96dd6
AS
58552011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5856
647776f6
AS
5857 * include/alloca.h (stackinfo_alloca_round): Define.
5858 (extend_alloca): Use it.
5859 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5860 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5861 here.
5862
d91a8b93
AS
5863 * scripts/check-local-headers.sh: Ignore libaudit.h.
5864
45b96dd6
AS
5865 * nscd/Makefile (extra-objs): Make recursively expanded.
5866
432d41ce
UD
58672011-11-01 Ulrich Drepper <drepper@gmail.com>
5868
34372fc6
UD
5869 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5870 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5871
fadb59f8
UD
5872 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5873 * posix/tst-rfc3484-2.c: Likewise.
5874 * posix/tst-rfc3484-3.c: Likewise.
5875
78239589
UD
5876 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5877 process_vm_writev.
5878 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5879 process_vm_writev.
5880 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5881 process_vm_writev from libc using GLIBC_2.15 version.
5882
432d41ce
UD
5883 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5884
02f9c6cf
PP
58852011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5886
5887 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5888 stack usage.
5889
3a2c0242
UD
58902011-10-31 Ulrich Drepper <drepper@gmail.com>
5891
f4ec4833
UD
5892 [BZ #13367]
5893 * nss/getent.c (initgroups_keys): Show error message in case no group
5894 names are given.
5895
3a2c0242
UD
5896 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5897 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5898 __bump_nl_timestamp.
5899 * nscd/connections (nscd_init): When host database is served open
5900 netlink socket and request notification about configuration changes.
5901 (main_loop_poll): Track netlink file descriptor and bump timestamp
5902 in case data becomes available.
5903 (main_loop_epoll): Likewise.
5904 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5905 (database_pers_head): Add extra_data fileds.
5906 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5907 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5908 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5909 Adjust caller.
5910 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5911 in6ai data, call __free_in6ai.
5912 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5913 Add -DHAVE_NETLINK.
5914 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5915 interface information. Reuse previous data if netlink timestamp
5916 is not changed.
5917 (__bump_nl_timestamp): New function.
5918 (__free_in6ai): New function.
5919
636064eb
UD
59202011-10-30 Ulrich Drepper <drepper@gmail.com>
5921
5922 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5923 close_not_cancel_no_status here.
5924 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5925
9beb2334
UD
59262011-10-29 Ulrich Drepper <drepper@gmail.com>
5927
6ef76f3b
UD
5928 [BZ #13276]
5929 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5930 return value.
5931
0ffc4f3e 5932 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
5933 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5934 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5935
cb95113e
UD
59362011-07-03 Andreas Jaeger <aj@suse.de>
5937
5938 [BZ #10709]
5939 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5940 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5941 * math/libm-test.inc (sin_test): Add test case.
5942
a1b560ff
UD
59432011-10-29 Ulrich Drepper <drepper@gmail.com>
5944
c9aaface
UD
5945 [BZ #13337]
5946 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5947 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5948
d272e7f1
UD
5949 * elf/chroot_canon.c (chroot_canon): Cleanups.
5950
1bc33071
UD
5951 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5952
1760874d
TJ
5953 [BZ #13335]
5954 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5955 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5956
51d91b18
UD
5957 * string/test-strchr.c: Make usable for strchrnul testing.
5958 * string/test-strchrnul.c: New file.
5959 * string/Makefile (strop-tests): Add strchrnul.
5960
a1b560ff 5961 * po/it.po: Update from translation team.
b611fb81 5962 * po/es.po: Likewise.
a1b560ff 5963
a5b81e1f
UD
59642011-10-28 Ulrich Drepper <drepper@gmail.com>
5965
fd52bc6d
UD
5966 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5967 the three constants needed as parameters. Drop the others.
5968 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5969 __m128i_strloadu_tolower.
52e4b9eb
UD
5970 Create and initialize variable zero and use it in all the places
5971 where _mm_setzero_si128 was used.
fd52bc6d 5972
a5b81e1f
UD
5973 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5974 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5975 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5976 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5977 anymore.
5978 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5979 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5980 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5981 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5982 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5983 __mpranred, __mptan.
5984 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5985 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5986 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5987 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5988 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5989 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5990 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5991 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5992 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5993
b4343346
AS
59942011-10-28 Andreas Schwab <schwab@redhat.com>
5995
0c92d8a8
AS
5996 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5997 redefine if SHARED.
5998 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5999
b4343346
AS
6000 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
6001 wide char related routines to wcsmbs subdir.
6002
3871f58f
AS
60032011-10-27 Andreas Schwab <schwab@redhat.com>
6004
6005 [BZ #13344]
6006 * misc/sys/cdefs.h (__THROWNL): Define.
6007 * posix/unistd.h: Use __THREADNL instead of __THREAD
6008 for memory synchronization functions.
6009
94d44d9f
RM
60102011-10-26 Roland McGrath <roland@hack.frob.com>
6011
21b64b15 6012 [BZ #13349]
94d44d9f
RM
6013 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
6014 doesn't exist.
6015 * manual/stdio.texi (Obstack Streams): Node removed.
6016
f6ce9294
AS
60172011-10-26 Andreas Schwab <schwab@redhat.com>
6018
80479147
AS
6019 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
6020 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6021 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6022
f6ce9294
AS
6023 * math/math_private.h (math_force_eval): Allow non-addressable
6024 arguments.
6025 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
6026
618280a1
UD
60272011-10-25 Ulrich Drepper <drepper@gmail.com>
6028
e0016b11
UD
6029 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
6030 file is not needed.
6031
6032 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
6033 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
6034 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6035 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6036 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6037 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6038 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6039 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
6040 Add AVX variants.
6041 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
6042 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
6043 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
6044 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
6045 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
6046 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
6047 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
6048 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
6049 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
6050 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
6051 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
6052 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
6053 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
6054 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
6055 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
6056 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
6057 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
6058 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
6059 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
6060
6061 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
6062 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
6063
618280a1
UD
6064 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
6065 place. Use VEX encoding when compiling for AVX.
6066
37822576
AS
60672011-10-25 Andreas Schwab <schwab@redhat.com>
6068
1f1e1947
AS
6069 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
6070 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6071
37822576
AS
6072 * string/test-strchr.c (do_test): Don't generate NUL bytes.
6073
31ea014d
UD
60742011-10-25 Ulrich Drepper <drepper@gmail.com>
6075
d7826aa1 6076 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 6077 useless if() expression.
d7826aa1
UD
6078 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6079 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6080 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6081 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6082 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6083 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6084 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6085 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6086 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6087 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6088 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6089 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6090 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6091 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6092 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6093 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6094 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6095 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6096 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6097
31ea014d
UD
6098 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
6099
16437fec
AS
61002011-10-25 Andreas Schwab <schwab@redhat.com>
6101
6102 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
6103 condition.
6104 * elf/dl-fini.c (_dl_sort_fini): Likewise.
6105
31d3cc00
UD
61062011-10-25 Ulrich Drepper <drepper@gmail.com>
6107
6108 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
6109 .text section. Avoid duplicate constants.
6110 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6111 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6112 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6113 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6114 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6115 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6116 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6117 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6118 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6119 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
6120 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6121 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
6122 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
6123 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
6124 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
6125 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
6126 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
6127 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6128 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6129 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6130 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6131 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6132 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6133 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
6134 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
6135 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
6136 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
6137 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
6138 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
6139 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
6140 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
6141 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
6142 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6143 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
6144 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
6145 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
6146 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
6147 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
6148 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
6149 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
6150 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
6151 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
6152 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
6153 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
6154 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
6155
58985aa9
UD
61562011-10-24 Ulrich Drepper <drepper@gmail.com>
6157
202c9deb
UD
6158 * sysdeps/x86_64/dla.h: Move to ...
6159 * sysdeps/x86_64/fpu/dla.h: ...here.
6160 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
6161 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 6162
af968f62
UD
6163 * config.make.in: Add have-mfma4 entry.
6164 * configure.in: Substitute libc_cv_cc_fma4.
6165 * math/Makefile (dbl-only-routines): Add sincostab.
6166 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
6167 Use __sincostab not sincos.
6168 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
6169 name is a macro.
6170 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6171 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6172 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6173 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
6174 using __copysign.
6175 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
6176 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
6177 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
6178 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
6179 and __inv.
6180 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
6181 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
6182 __copysign.
6183 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
6184 define aliases when function name is a macro.
6185 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
6186 sysdeps/ieee754/dbl-64/sincos.tbl.
6187 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
6188 fma4-enabled routines.
6189 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
6190 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
6191 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
6192 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
6193 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
6194 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
6195 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
6196 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
6197 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
6198 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
6199 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
6200 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
6201 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
6202 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
6203 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
6204 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
6205 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
6206 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
6207 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
6208 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
6209 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
6210 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
6211 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
6212 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
6213 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
6214 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
6215 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
6216 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
6217 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
6218 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
6219
58985aa9
UD
6220 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
6221 rename.
6222 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6223 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6224 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6225 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6226 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6227 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6228 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6229 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6230
a201fbcf
AS
62312011-10-24 Andreas Schwab <schwab@redhat.com>
6232
6233 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
6234
fc2ee42a
LD
62352011-10-23 Ulrich Drepper <drepper@gmail.com>
6236
bb3129bd
UD
6237 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
6238
0275fff8
UD
6239 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
6240 prediction.
6241 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
6242
2fa2ae85
UD
6243 * string/strnlen.c: Don't define STRNLEN, reverse logic.
6244 Remove unused variable magic_bits.
6245 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
6246
fc2ee42a
LD
6247 * string/strnlen.c: Define and use STRNLEN macro.
6248 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
6249 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
6250 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
6251 * wcsmbs/wcslen.c: Define and use WCSLEN.
6252 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
6253 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
6254 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
6255 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
6256 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
6257 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
6258 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6259
ce7dd29f
LD
62602011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6261
6262 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6263 strnlen-sse2-no-bsf.
6264 Rename strlen-no-bsf to strlen-sse2-no-bsf.
6265 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
6266 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
6267 Add strnlen support.
6268 (USE_AS_STRNLEN): New macro.
6269 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
6270 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
6271 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
6272 * sysdeps/x86_64/wcslen.S: New file.
6273
979c70a3
MZ
62742011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
6275
6276 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6277 XMM-moves are used for copying on small sizes.
6278
2d09f82f
LD
62792011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6280
6281 * wcsmbs/Makefile (strop-tests): Add wcschr.
6282 * wcsmbs/test-wcschr.c: New file.
6283 * string/test-strchr.c: Update.
6284 Add wcschr support.
6285 (WIDE): New macro.
6286
619fccca
LD
62872011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6288
2d09f82f 6289 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
6290 * wcsmbs/test-wcslen.c: New file.
6291 * string/test-strlen.c: Update.
6292 Add wcslen support.
6293 (WIDE): New macro.
6294
09f699ea
UD
62952011-10-23 Ulrich Drepper <drepper@gmail.com>
6296
6297 * po/it.po: Update from translation team.
6298
95584d3b
LD
62992011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6300
6301 * sysdeps/x86_64/wcscmp.S: Update.
6302 Fix wrong comparison semantics.
6303 wcscmp shall use signed comparison not unsigned.
6304 Don't use substraction to avoid overflow bug.
6305 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6306 * wcsmbc/wcscmp.c: Likewise.
6307 * string/test-strcmp.c: Likewise.
6308 Add new tests to check cases with negative values.
6309
c8b3296b
UD
63102011-10-23 Ulrich Drepper <drepper@gmail.com>
6311
6312 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
6313 * sysdeps/x86_64/dla.h: ...here. New file.
6314 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
6315 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6316 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6317 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6318 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6319 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6320 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6321 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6322 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6323
246ad57a
AS
63242011-10-23 Andreas Schwab <schwab@linux-m68k.org>
6325
6326 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
6327 __ynl_finite aliases.
6328
a1a87169
UD
63292011-10-22 Ulrich Drepper <drepper@gmail.com>
6330
0d355eb7
UD
6331 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6332
a1a87169
UD
6333 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
6334 define DLA_FMA.
6335 [DLA_FMA] (EMULV): Use DLA_FMA.
6336 [DLA_FMA] (MUL12): Use EMULV.
6337 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
6338 that are not needed.
6339 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6340 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6341 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6342 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6343 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6344 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6345 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6346
ee2aafe0
AS
63472011-10-22 Andreas Schwab <schwab@linux-m68k.org>
6348
6349 * math/s_nan.c: Undef __nan.
6350 * math/s_nanf.c: Undef __nanf.
6351 * math/s_nanl.c: Undef __nanl.
6352 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
6353 "math_private.h".
6354
bc62c2fb
UD
63552011-10-22 Ulrich Drepper <drepper@gmail.com>
6356
77425c63
UD
6357 * math/s_catan.c: Add branch predictions.
6358 * math/s_catanf.c: Likewise.
6359 * math/s_catanh.c: Likewise.
6360 * math/s_catanhf.c: Likewise.
6361 * math/s_catanhl.c: Likewise.
6362 * math/s_catanl.c: Likewise.
6363 * math/s_cexp.c: Likewise.
6364 * math/s_cexpf.c: Likewise.
6365 * math/s_cexpl.c: Likewise.
6366 * math/s_clog.c: Likewise.
6367 * math/s_clog10.c: Likewise.
6368 * math/s_clog10f.c: Likewise.
6369 * math/s_clog10l.c: Likewise.
6370 * math/s_clogf.c: Likewise.
6371 * math/s_clogl.c: Likewise.
6372 * math/s_csqrt.c: Likewise.
6373 * math/s_csqrtf.c: Likewise.
6374 * math/s_csqrtl.c: Likewise.
6375 * math/s_ctanf.c: Likewise.
6376 * math/s_ctanh.c: Likewise.
6377 * math/s_ctanhf.c: Likewise.
6378 * math/s_ctanhl.c: Likewise.
6379 * math/s_ctanl.c: Likewise.
6380
bc62c2fb
UD
6381 * math/math_private.h: Define __nan, __nanf, __nanl.
6382 * math/s_cacosh.c: Include <math_private.h>.
6383 * math/s_cacoshl.c: Likewise.
6384 * math/s_casinh.c: Likewise.
6385 * math/s_casinhf.c: Likewise.
6386 * math/s_casinhl.c: Likewise.
6387 * math/s_ccos.c: Rely entire on ccosh.
6388 * math/s_ccosf.c: Rely entire on ccoshf.
6389 * math/s_ccosl.c: Rely entirely on ccoshl.
6390 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
6391 Remove tests for FE_INVALID.
6392 * math/s_ccoshf.c: Likewise.
6393 * math/s_ccoshl.c: Likewise.
6394 * math/s_csin.c: Likewise.
6395 * math/s_csinf.c: Likewise.
6396 * math/s_csinh.c Likewise.
6397 * math/s_csinhf.c: Likewise.
6398 * math/s_csinhl.c: Likewise.
6399 * math/s_csinl.c: Likewise.
6400 * math/s_ctan.c: Likewise.
6401 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
6402 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
6403 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
6404
8ec250a4
UD
64052011-10-21 Ulrich Drepper <drepper@gmail.com>
6406
c196fed8
UD
6407 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
6408 compilation problems.
6409
8ec250a4
UD
6410 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
6411 __builtin_expect.
6412
8d4f46c6
UD
64132011-10-20 Ulrich Drepper <drepper@gmail.com>
6414
ed72b654
UD
6415 * sysdeps/i386/configure.in: Test for -mfma4 option.
6416 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
6417 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
6418 COMMON_CPUID_INDEX_80000001.
6419 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
6420 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
6421 use it if FMA3 is not supported.
6422 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6423
8d4f46c6
UD
6424 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
6425 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6426
d45c60c2
AS
64272011-10-20 Andreas Schwab <schwab@redhat.com>
6428
6429 [BZ #12892]
6430 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
6431 it would create a cycle with a link time dependency.
6432
d9a4d2ab
UD
64332011-10-19 Ulrich Drepper <drepper@gmail.com>
6434
855d1560
UD
6435 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
6436 instruction.
6437 * string/Makefile (strop-tests): Add rawmemchr.
6438 * string/test-rawmemchr.c: New file.
6439
d9a4d2ab
UD
6440 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
6441 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
6442 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
6443 when compiling str{,n}casecmp and when AVX is available. Hook up
6444 new optimized code in initializers.
6445
8f3b1ffe
AS
64462011-10-19 Andreas Schwab <schwab@redhat.com>
6447
6448 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
6449 __feraiseexcept instead of feraiseexcept.
6450
d38f1dba
UD
64512011-10-18 Ulrich Drepper <drepper@gmail.com>
6452
d9a8d0ab
UD
6453 * math/math_private.h: Define defaults for libc_fetestexcept and
6454 libc_feupdateenv.
6455 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
6456 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6457 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6458 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6459 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6460 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6461 libc_fetestexcept and libc_feupdateenv.
6462
4855e3dd
UD
6463 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6464 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6465 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6466 * sysdeps/x86_64/fpu/math_private.h: Define special version of
6467 libc_feholdexcept_setround.
6468
581d30e3
UD
6469 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6470 Add s_nearbyint-c and s_nearbyintf-c.
6471 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6472 nearbyintf inlines.
6473 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6474 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6475 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6476 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6477
d38f1dba
UD
6478 * math/math_private.h: Define defaults for libc_fegetround,
6479 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6480 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6481 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6482 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6483 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6484 standard functions.
6485 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6486 Remove comments and hacks for old compiler versions.
6487 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6488 libc_fegetround, libc_fesetround, libc_feholdexcept, and
6489 libc_feholdexceptl.
6490
caa6c9d8
AS
64912011-10-18 Andreas Schwab <schwab@redhat.com>
6492
6493 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
6494 (__feraiseexcept_renamed): Add __NTH.
6495 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
6496 namespace violations.
6497
97c066e6
UD
64982011-10-17 Ulrich Drepper <drepper@gmail.com>
6499
99ce7b04
UD
6500 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6501
1004d182
UD
6502 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6503
228a984d
UD
6504 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6505 recently added interfaces.
6506 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6507
c8553a6a
UD
6508 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6509 about macro parameter expansion.
6510
ed22dcf6
UD
6511 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6512 __NO_MATH_INLINES is defined. Cleanups.
6513
6514 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6515 and __floorf is target has SSE4.1.
6516 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6517 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6518 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6519 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6520
b171c137
UD
6521 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6522 name.
6523 (floorf): Likewise.
6524
97c066e6
UD
6525 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6526
629f62ef
AS
65272011-10-17 Andreas Schwab <schwab@redhat.com>
6528
49a43d80
AS
6529 * misc/sys/cdefs.h: Fix last change.
6530
629f62ef
AS
6531 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6532 database lookup.
6533
e453f6cd
UD
65342011-10-16 Ulrich Drepper <drepper@gmail.com>
6535
aa78043a
UD
6536 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6537
ad0f5cad
UD
6538 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6539 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6540 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6541 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6542 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6543 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6544 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6545 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6546 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6547 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6548 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6549 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6550 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6551 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6552 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6553 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6554 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6555 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6556 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6557 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6558 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6559 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6560
6561 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6562 ceil, ceilf, floor, floorf.
6563
6564 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6565 Perform IRELATIVE relocations last.
6566
e453f6cd
UD
6567 * elf/do-rel.h: Add another parameter nrelative, replacing the
6568 local variable with the same name. Change name of the function
6569 to end in Rel or Rela (uppercase).
6570 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6571 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
6572 elf_dynamic_do_##reloc function.
6573
fd5bdc09
UD
65742011-10-15 Ulrich Drepper <drepper@gmail.com>
6575
79b195b5
UD
6576 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
6577 is sufficient, at least on modern CPUs.
6578
d4a28569
UD
6579 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
6580
b61099b5
UD
6581 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
6582 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
6583
bcf01e6d
UD
6584 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
6585 __expl_finite.
6586 * math/bits/math-finite.h: Add entries for exp.
6587 * math/e_expl.c: Add __*_finite alias.
6588 * sysdeps/i386/fpu/e_exp.S: Likewise.
6589 * sysdeps/i386/fpu/e_expf.S: Likewise.
6590 * sysdeps/i386/fpu/e_expl.c: Likewise.
6591 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6592 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6593 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6594 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6595 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6596 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6597 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6598
ba1a0d59
UD
6599 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6600 is sufficient, at least on modern CPUs.
6601
fd5bdc09
UD
6602 * ctype/ctype-info.c (__ctype_init): Define.
6603 * include/ctype.h (__ctype_init): Declare.
6604 (__ctype_b_loc): The variable is always initialized.
6605 (__ctype_toupper_loc): Likewise.
6606 (__ctype_tolower_loc): Likewise.
6607 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6608 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6609
7872cfb0
AS
66102011-10-15 Andreas Schwab <schwab@linux-m68k.org>
6611
b468825a
AS
6612 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6613
7872cfb0
AS
6614 * configure.in: Also look in $cxxmachine/include for C++ system
6615 headers.
6616
be13f7bf
LD
66172011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6618
6619 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6620 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6621 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6622 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
6623 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6624 (USE_AS_WMEMCMP): New macro.
6625 Fixing indents.
6626 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6627 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6628 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6629 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6630 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6631 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6632 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6633 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6634 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6635 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6636 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6637 (USE_AS_WMEMCMP): New macro.
6638 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6639 * sysdeps/string/test-memcmp.c: Update.
6640 Fix simple_wmemcmp.
6641 Add new tests.
6642 * wcsmbs/wmemcmp.c: Update.
6643 (WMEMCMP): New macro.
6644 Fix overflow bug.
6645
556a2007
AJ
66462011-10-12 Andreas Jaeger <aj@suse.de>
6647
6648 [BZ #13268]
6649 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6650
538faaa7
UD
66512011-10-15 Ulrich Drepper <drepper@gmail.com>
6652
ab6737ff
UD
6653 * libio/iofwide.c (do_length): Avoid warning.
6654
538faaa7
UD
6655 * ctype/ctype.h (__isctype_f): Add missing __THROW.
6656
396a21b1
UD
66572011-10-14 Ulrich Drepper <drepper@gmail.com>
6658
cdf2901f
UD
6659 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6660
38ad40ce
UD
6661 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6662 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6663 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6664 * sysdeps/i386/i686/fpu/e_log.S: New file.
6665 * sysdeps/i386/i686/fpu/e_logf.S: New file.
6666 * sysdeps/i386/i686/fpu/e_logl.S: New file.
6667
396a21b1
UD
6668 * ctype/ctype.h: Add support for inlined isXXX functions when
6669 compiling C++ code.
6670
6b1f68c9
AS
66712011-10-14 Andreas Schwab <schwab@redhat.com>
6672
349290c0
AS
6673 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6674
6b1f68c9
AS
6675 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6676
f2282d42
RM
66772011-10-13 Roland McGrath <roland@hack.frob.com>
6678
6679 [BZ #13291]
6680 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6681
5298ffa8
AS
66822011-10-13 Andreas Schwab <schwab@redhat.com>
6683
714fad23
AS
6684 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6685 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6686 feraiseexcept.
6687
81dcc7fb
AS
6688 * sysdeps/x86_64/memrchr.S: Check for zero size.
6689
5298ffa8
AS
6690 * string/stratcliff.c: Add memrchr tests.
6691
951fbcec
LD
66922011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6693
6694 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6695 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6696 rawmemchr-sse2 rawmemchr-sse2-bsf.
6697 * sysdeps/i386/i686/multiarch/memchr.S: New file.
6698 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6699 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6700 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6701 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6702 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6703 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6704 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6705 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6706 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6707 * string/memrchr.c (MEMRCHR): New macro.
6708
0ac5ae23
UD
67092011-10-12 Ulrich Drepper <drepper@gmail.com>
6710
6711 Add integration with gcc's -ffinite-math-only and optimize wrapper
6712 functions in libm.
6713 * Versions.def: Define GLIBC_2.15 version for libm.
6714 * math/Makefile (headers): Add bits/math-finite.h.
6715 * math/bits/math-finite.h: New file.
6716 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6717 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6718 * math/e_acoshl.c: Add __*_finite alias.
6719 * math/e_acosl.c: Likewise.
6720 * math/e_asinl.c: Likewise.
6721 * math/e_atan2l.c: Likewise.
6722 * math/e_atanhl.c: Likewise.
6723 * math/e_coshl.c: Likewise.
6724 * math/e_exp10.c: Likewise.
6725 * math/e_exp10f.c: Likewise.
6726 * math/e_exp10l.c: Likewise.
6727 * math/e_exp2l.c: Likewise.
6728 * math/e_fmodl.c: Likewise.
6729 * math/e_gammal_r.c: Likewise.
6730 * math/e_hypotl.c: Likewise.
6731 * math/e_j0l.c: Likewise.
6732 * math/e_j1l.c: Likewise.
6733 * math/e_jnl.c: Likewise.
6734 * math/e_lgammal_r.c: Likewise.
6735 * math/e_log10l.c: Likewise.
6736 * math/e_log2l.c: Likewise.
6737 * math/e_logl.c: Likewise.
6738 * math/e_powl.c: Likewise.
6739 * math/e_sinhl.c: Likewise.
6740 * math/e_sqrtl.c: Likewise.
6741 * math/e_scalb.c: Completely rewritten and optimized.
6742 * math/e_scalbf.c: Likewise.
6743 * math/e_scalbl.c: Likewise.
6744 * math/w_acos.c: Likewise.
6745 * math/w_acosf.c: Likewise.
6746 * math/w_acosl.c: Likewise.
6747 * math/w_acosh.c: Likewise.
6748 * math/w_acoshf.c: Likewise.
6749 * math/w_acoshl.c: Likewise.
6750 * math/w_asin.c: Likewise.
6751 * math/w_asinf.c: Likewise.
6752 * math/w_asinl.c: Likewise.
6753 * math/w_atan2.c: Likewise.
6754 * math/w_atan2f.c: Likewise.
6755 * math/w_atan2l.c: Likewise.
6756 * math/w_atanh.c: Likewise.
6757 * math/w_atanhf.c: Likewise.
6758 * math/w_atanhl.c: Likewise.
6759 * math/w_exp10.c: Likewise.
6760 * math/w_exp10f.c: Likewise.
6761 * math/w_exp10l.c: Likewise.
6762 * math/w_fmod.c: Likewise.
6763 * math/w_fmodf.c: Likewise.
6764 * math/w_fmodl.c: Likewise.
6765 * math/w_j0.c: Likewise.
6766 * math/w_j0f.c: Likewise.
6767 * math/w_j0l.c: Likewise.
6768 * math/w_j1.c: Likewise.
6769 * math/w_j1f.c: Likewise.
6770 * math/w_j1l.c: Likewise.
6771 * math/w_jn.c: Likewise.
6772 * math/w_jnf.c: Likewise.
6773 * math/w_log.c: Likewise.
6774 * math/w_logf.c: Likewise.
6775 * math/w_logl.c: Likewise.
6776 * math/w_log10.c: Likewise.
6777 * math/w_log10f.c: Likewise.
6778 * math/w_log10l.c: Likewise.
6779 * math/w_log2.c: Likewise.
6780 * math/w_log2f.c: Likewise.
6781 * math/w_log2l.c: Likewise.
6782 * math/w_pow.c: Likewise.
6783 * math/w_powf.c: Likewise.
6784 * math/w_powl.c: Likewise.
6785 * math/w_remainder.c: Likewise.
6786 * math/w_remainderf.c: Likewise.
6787 * math/w_remainderl.c: Likewise.
6788 * math/w_scalb.c: Likewise.
6789 * math/w_scalbf.c: Likewise.
6790 * math/w_scalbl.c: Likewise.
6791 * math/w_sqrt.c: Likewise.
6792 * math/w_sqrtf.c: Likewise.
6793 * math/w_sqrtl.c: Likewise.
6794 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6795 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
6796 used.
6797 * math/math_private.h: Declare __kernel_standard_f.
6798 * math/w_cosh.c: Remove cruft and optimize a bit.
6799 * math/w_coshf.c: Likewise.
6800 * math/w_coshl.c: Likewise.
6801 * math/w_exp2.c: Likewise.
6802 * math/w_exp2f.c: Likewise.
6803 * math/w_exp2l.c: Likewise.
6804 * math/w_hypot.c: Likewise.
6805 * math/w_hypotf.c: Likewise.
6806 * math/w_hypotl.c: Likewise.
6807 * math/w_lgamma.c: Likewise.
6808 * math/w_lgamma_r.c: Likewise.
6809 * math/w_lgammaf.c: Likewise.
6810 * math/w_lgammaf_r.c: Likewise.
6811 * math/w_lgammal.c: Likewise.
6812 * math/w_lgammal_r.c: Likewise.
6813 * math/w_sinh.c: Likewise.
6814 * math/w_sinhf.c: Likewise.
6815 * math/w_sinhl.c: Likewise.
6816 * math/w_tgamma.c: Likewise.
6817 * math/w_tgammaf.c: Likewise.
6818 * math/w_tgammal.c: Likewise.
6819 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6820 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6821 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6822 Minor optimizations. Pretty printing. Remove cruft.
6823 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6824 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6825 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6826 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6827 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6828 * sysdeps/i386/fpu/e_asin.S: Likewise.
6829 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6830 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6831 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6832 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6833 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6834 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6835 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6836 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6837 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6838 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6839 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6840 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6841 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6842 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6843 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6844 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6845 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6846 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6847 * sysdeps/i386/fpu/e_log.S: Likewise.
6848 * sysdeps/i386/fpu/e_log10.S: Likewise.
6849 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6850 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6851 * sysdeps/i386/fpu/e_log2.S: Likewise.
6852 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6853 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6854 * sysdeps/i386/fpu/e_logf.S: Likewise.
6855 * sysdeps/i386/fpu/e_logl.S: Likewise.
6856 * sysdeps/i386/fpu/e_pow.S: Likewise.
6857 * sysdeps/i386/fpu/e_powf.S: Likewise.
6858 * sysdeps/i386/fpu/e_powl.S: Likewise.
6859 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6860 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6861 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6862 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6863 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6864 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6865 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6866 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6867 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6868 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6869 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6870 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6871 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6872 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6873 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6874 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6875 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6876 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6877 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6878 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6879 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6880 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6881 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6882 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6883 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6884 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6885 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6886 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6887 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6888 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6889 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6890 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6891 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6892 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6893 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6894 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6895 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6896 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6897 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6898 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6899 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6900 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6901 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6902 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6903 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6904 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6905 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6906 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6907 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6908 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6909 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6910 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6911 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6912 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6913 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6914 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6915 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6916 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6917 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6918 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6919 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6920 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6921 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6922 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6923 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6924 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6925 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6926 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6927 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6928 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6929 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6930 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6931 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6932 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6933 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6934 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6935 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6936 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6937 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6938 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6939 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6940 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6941 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6942 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6943 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6944 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6945 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6946 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6947 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6948 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6949 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6950 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6951 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6952 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6953 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6954 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6955 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6956 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6957 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6958 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6959 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6960 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6961 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6962 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6963 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6964 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6965 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6966 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6967 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6968 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6969 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6970 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6971 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6972 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6973 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6974 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6975 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6976 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6977 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6978 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6979 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6980 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6981 (__isnanf): Likewise.
6982 (__isinf_ns): Likewise.
6983 (__isinf_nsf): Likewise.
6984 (__finite): Likewise.
6985 (__finitef): Likewise.
6986 (__ieee754_sqrt): Define as macro.
6987 (__ieee754_sqrtf): Define as macro.
6988 (__ieee754_sqrtl): Define as macro.
6989 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6990 inlined copy.
6991 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6992 __FINITE_MATH_ONLY__ consistent.
6993 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6994
12cc2fcd
AS
69952011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6996
a843a204
AS
6997 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6998 of rawmemchr.
6999
12cc2fcd
AS
7000 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
7001
c853acd5
UD
70022011-10-09 Ulrich Drepper <drepper@gmail.com>
7003
7004 * po/ja.po: Update from translation team.
7005
c658d255
RM
70062011-10-08 Roland McGrath <roland@hack.frob.com>
7007
110946e4
RM
7008 * locale/programs/locarchive.c (prepare_address_space): New function.
7009 (create_archive, enlarge_archive, open_archive): Use it.
7010
50604220
RM
7011 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
7012 inside [SHARED], where it is used.
7013
c658d255
RM
7014 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
7015
7016 * nss/getent.c (netgroup_keys): Remove unused variable.
7017 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7018
6a621eb7
UD
70192011-10-08 Ulrich Drepper <drepper@gmail.com>
7020
7edb55ce
UD
7021 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
7022 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
7023 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
7024 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
7025 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
7026 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
7027 * math/Makefile (libm-calls): Add s_isinf_ns.
7028 * math/divtc3.c: Use __isinf_nsl instead of isinf.
7029 * math/multc3.c: Likewise.
7030 * math/s_casin.c: Likewise.
7031 * math/s_casinf.c: Likewise.
7032 * math/s_casinl.c: Likewise.
7033 * math/s_ccos.c: Likewise.
7034 * math/s_ccosf.c: Likewise.
7035 * math/s_ccosl.c: Likewise.
7036 * math/s_ctan.c: Likewise.
7037 * math/s_ctanf.c: Likewise.
7038 * math/s_ctanh.c: Likewise.
7039 * math/s_ctanhf.c: Likewise.
7040 * math/s_ctanhl.c: Likewise.
7041 * math/s_ctanl.c: Likewise.
7042 * math/w_fmod.c: Likewise.
7043 * math/w_fmodf.c: Likewise.
7044 * math/w_fmodl.c: Likewise.
7045 * math/w_remainder.c: Likewise.
7046 * math/w_remainderf.c: Likewise.
7047 * math/w_remainderl.c: Likewise.
7048 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
7049 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
7050 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
7051 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
7052 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
7053 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
7054 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
7055 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
7056
187da0ae
UD
7057 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
7058 of the number.
7059 * stdio-common/printf_fphex.c: Likewise.
7060 * stdio-common/printf_size.c: Likewise.
7061
9277c064
UD
7062 * math/e_exp10.c: Include math_private.h using <...> not "...".
7063 * math/e_exp10f.c: Likewise.
7064 * math/e_exp10l.c: Likewise.
7065 * math/e_exp2l.c: Likewise.
7066 * math/e_j0l.c: Likewise.
7067 * math/e_j1l.c: Likewise.
7068 * math/e_jnl.c: Likewise.
7069 * math/e_lgammal_r.c: Likewise.
7070 * math/e_rem_pio2l.c: Likewise.
7071 * math/e_scalb.c: Likewise.
7072 * math/e_scalbf.c: Likewise.
7073 * math/e_scalbl.c: Likewise.
7074 * math/k_cosl.c: Likewise.
7075 * math/k_sinl.c: Likewise.
7076 * math/k_tanl.c: Likewise.
7077 * math/s_cacoshf.c: Likewise.
7078 * math/s_catan.c: Likewise.
7079 * math/s_catanf.c: Likewise.
7080 * math/s_catanh.c: Likewise.
7081 * math/s_catanhf.c: Likewise.
7082 * math/s_catanhl.c: Likewise.
7083 * math/s_catanl.c: Likewise.
7084 * math/s_ccosh.c: Likewise.
7085 * math/s_ccoshf.c: Likewise.
7086 * math/s_ccoshl.c: Likewise.
7087 * math/s_cexp.c: Likewise.
7088 * math/s_cexpf.c: Likewise.
7089 * math/s_cexpl.c: Likewise.
7090 * math/s_clog.c: Likewise.
7091 * math/s_clog10.c: Likewise.
7092 * math/s_clog10f.c: Likewise.
7093 * math/s_clog10l.c: Likewise.
7094 * math/s_clogf.c: Likewise.
7095 * math/s_clogl.c: Likewise.
7096 * math/s_csin.c: Likewise.
7097 * math/s_csinf.c: Likewise.
7098 * math/s_csinh.c: Likewise.
7099 * math/s_csinhf.c: Likewise.
7100 * math/s_csinhl.c: Likewise.
7101 * math/s_csinl.c: Likewise.
7102 * math/s_csqrt.c: Likewise.
7103 * math/s_csqrtf.c: Likewise.
7104 * math/s_csqrtl.c: Likewise.
7105 * math/s_ctan.c: Likewise.
7106 * math/s_ctanf.c: Likewise.
7107 * math/s_ctanh.c: Likewise.
7108 * math/s_ctanhf.c: Likewise.
7109 * math/s_ctanhl.c: Likewise.
7110 * math/s_ctanl.c: Likewise.
7111 * math/s_ldexp.c: Likewise.
7112 * math/s_ldexpf.c: Likewise.
7113 * math/s_ldexpl.c: Likewise.
7114 * math/s_significand.c: Likewise.
7115 * math/s_significandf.c: Likewise.
7116 * math/s_significandl.c: Likewise.
7117 * math/w_acos.c: Likewise.
7118 * math/w_acosf.c: Likewise.
7119 * math/w_acosh.c: Likewise.
7120 * math/w_acoshf.c: Likewise.
7121 * math/w_acoshl.c: Likewise.
7122 * math/w_acosl.c: Likewise.
7123 * math/w_asin.c: Likewise.
7124 * math/w_asinf.c: Likewise.
7125 * math/w_asinl.c: Likewise.
7126 * math/w_atan2.c: Likewise.
7127 * math/w_atan2f.c: Likewise.
7128 * math/w_atan2l.c: Likewise.
7129 * math/w_atanh.c: Likewise.
7130 * math/w_atanhf.c: Likewise.
7131 * math/w_atanhl.c: Likewise.
7132 * math/w_cosh.c: Likewise.
7133 * math/w_coshf.c: Likewise.
7134 * math/w_coshl.c: Likewise.
7135 * math/w_dremf.c: Likewise.
7136 * math/w_exp10.c: Likewise.
7137 * math/w_exp10f.c: Likewise.
7138 * math/w_exp10l.c: Likewise.
7139 * math/w_exp2.c: Likewise.
7140 * math/w_exp2f.c: Likewise.
7141 * math/w_fmod.c: Likewise.
7142 * math/w_fmodf.c: Likewise.
7143 * math/w_fmodl.c: Likewise.
7144 * math/w_hypot.c: Likewise.
7145 * math/w_hypotf.c: Likewise.
7146 * math/w_hypotl.c: Likewise.
7147 * math/w_j0.c: Likewise.
7148 * math/w_j0f.c: Likewise.
7149 * math/w_j0l.c: Likewise.
7150 * math/w_j1.c: Likewise.
7151 * math/w_j1f.c: Likewise.
7152 * math/w_j1l.c: Likewise.
7153 * math/w_jn.c: Likewise.
7154 * math/w_jnf.c: Likewise.
7155 * math/w_jnl.c: Likewise.
7156 * math/w_lgamma.c: Likewise.
7157 * math/w_lgamma_r.c: Likewise.
7158 * math/w_lgammaf.c: Likewise.
7159 * math/w_lgammaf_r.c: Likewise.
7160 * math/w_lgammal.c: Likewise.
7161 * math/w_lgammal_r.c: Likewise.
7162 * math/w_log.c: Likewise.
7163 * math/w_log10.c: Likewise.
7164 * math/w_log10f.c: Likewise.
7165 * math/w_log10l.c: Likewise.
7166 * math/w_log2.c: Likewise.
7167 * math/w_log2f.c: Likewise.
7168 * math/w_log2l.c: Likewise.
7169 * math/w_logf.c: Likewise.
7170 * math/w_logl.c: Likewise.
7171 * math/w_pow.c: Likewise.
7172 * math/w_powf.c: Likewise.
7173 * math/w_powl.c: Likewise.
7174 * math/w_remainder.c: Likewise.
7175 * math/w_remainderf.c: Likewise.
7176 * math/w_remainderl.c: Likewise.
7177 * math/w_scalb.c: Likewise.
7178 * math/w_scalbf.c: Likewise.
7179 * math/w_scalbl.c: Likewise.
7180 * math/w_sinh.c: Likewise.
7181 * math/w_sinhf.c: Likewise.
7182 * math/w_sinhl.c: Likewise.
7183 * math/w_sqrt.c: Likewise.
7184 * math/w_sqrtf.c: Likewise.
7185 * math/w_sqrtl.c: Likewise.
7186 * math/w_tgamma.c: Likewise.
7187 * math/w_tgammaf.c: Likewise.
7188 * math/w_tgammal.c: Likewise.
7189
6a621eb7
UD
7190 * po/ja.po: Update from translation team.
7191
bf582445
AJ
71922011-09-29 Andreas Jaeger <aj@suse.de>
7193
f9efbf3a
AJ
7194 [BZ #13179]
7195 * sunrpc/netname.c (netname2host): Fix logic.
7196
bf582445
AJ
7197 [BZ #6779]
7198 [BZ #6783]
7199 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
7200 correctly.
7201 * math/w_remainder.c (__remainder): Likewise.
7202 * math/w_remainderf.c (__remainderf): Likewise.
7203 * math/libm-test.inc (remainder_test): Add test cases.
7204
48693bea
AK
72052011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7206
7207 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
7208 sdiv_qrnnd.
7209
42622229
LD
72102011-10-07 Ulrich Drepper <drepper@gmail.com>
7211
7212 * string/test-memcmp.c: Avoid unncessary #defines.
7213 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7214
093ecf92
LD
72152011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7216
7217 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
7218 Use new sse2 version for core i3 - i7 as it's faster
7219 than sse42 version.
7220 (bit_Prefer_PMINUB_for_stringop): New.
7221 * sysdeps/x86_64/rawmemchr.S: Update.
7222 Replace with faster SSE2 version.
7223 * sysdeps/x86_64/memrchr.S: New file.
7224 * sysdeps/x86_64/memchr.S: Update.
7225 Replace with faster SSE2 version.
7226
fde56e5c
MP
72272011-09-12 Marek Polacek <mpolacek@redhat.com>
7228
7229 * elf/dl-load.c (lose): Add cast to avoid warning.
7230
21fd49a9
UD
72312011-10-07 Ulrich Drepper <drepper@gmail.com>
7232
5a06e643
UD
7233 * po/ca.po: Update from translation team.
7234
684ae515
UD
7235 * inet/getnetgrent_r.c: Hook up nscd.
7236 * nscd/Makefile (routines): Add nscd_netgroup.
7237 (nscd-modules): Add netgroupcache.
7238 (CFLAGS-netgroupcache.c): Define.
7239 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
7240 (cache_search): Add const to second parameter.
7241 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
7242 INNETGR.
7243 (dbs): Add netgrdb entry.
7244 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
7245 (verify_persistent_db): Handle netgrdb.
7246 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
7247 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
7248 GETFDNETGR.
7249 (netgroup_response_header): Define.
7250 (innetgroup_response_header): Define.
7251 (datahead): Add netgroup_response_header and innetgroup_response_header
7252 elements.
7253 * nscd/nscd.conf: Add entries for netgroup cache.
7254 * nscd/nscd.h (dbtype): Add netgrdb.
7255 (_PATH_NSCD_NETGROUP_DB): Define.
7256 (netgroup_iov_disabled): Declare.
7257 (xmalloc, xcalloc, xrealloc): Move declarations here.
7258 (cache_search): Adjust prototype.
7259 Add netgroup-related prototypes.
7260 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
7261 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
7262 (__nscd_innetgr): Declare.
7263 * nscd/selinux.c (perms): Use access_vector_t as element type and
7264 add netgroup-related initializers.
7265 * nscd/netgroupcache.c: New file.
7266 * nscd/nscd_netgroup.c: New file.
7267 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
7268 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
7269 For four parameters use innetgr.
7270 * nss/nss_files/files-init.c: Add definition and callback for netgr.
7271 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
7272 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
7273 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
7274
21fd49a9
UD
7275 * nscd/connections.c (register_traced_file): Don't register file
7276 for disabled databases.
7277
054c0457
UD
72782011-10-06 Ulrich Drepper <drepper@gmail.com>
7279
32b63198
UD
7280 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
7281
054c0457
UD
7282 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
7283 from tree and freeing node.
7284
64031225
JO
72852011-09-25 Jiri Olsa <jolsa@redhat.com>
7286
7287 * nss/nsswitch.c (__nss_database_lookup): Handle
7288 nss_parse_service_list out of memory case.
7289
0490345c
JO
72902011-09-15 Jiri Olsa <jolsa@redhat.com>
7291
7292 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
7293 out of memory case.
7294
3a62d00d
AS
72952011-10-04 Andreas Schwab <schwab@redhat.com>
7296
7297 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
7298 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
7299 pass it down.
7300 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
7301 elf_machine_rela, elf_machine_lazy_rel.
7302 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
7303 (ELF_DYNAMIC_DO_REL): Likewise.
7304 (ELF_DYNAMIC_DO_RELA): Likewise.
7305 (ELF_DYNAMIC_RELOCATE): Likewise.
7306 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
7307 to ELF_DYNAMIC_DO_REL.
7308 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
7309 (dl_main): In trace mode always set __RTLD_NOIFUNC.
7310 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
7311 elf_machine_rela.
7312 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
7313 skip_ifunc, don't call ifunc function if non-zero.
7314 (elf_machine_rela): Likewise.
7315 (elf_machine_lazy_rel): Likewise.
7316 (elf_machine_lazy_rela): Likewise.
7317 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
7318 (elf_machine_lazy_rel): Likewise.
7319 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
7320 Likewise.
7321 (elf_machine_lazy_rel): Likewise.
7322 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7323 Likewise.
7324 (elf_machine_lazy_rel): Likewise.
7325 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
7326 (elf_machine_lazy_rel): Likewise.
7327 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
7328 (elf_machine_lazy_rel): Likewise.
7329 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7330 (elf_machine_lazy_rel): Likewise.
7331 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7332 (elf_machine_lazy_rel): Likewise.
7333 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7334 (elf_machine_lazy_rel): Likewise.
7335 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7336 (elf_machine_lazy_rel): Likewise.
7337
68577918
UD
73382011-09-28 Ulrich Drepper <drepper@gmail.com>
7339
7340 * nss/nss_files/files-init.c (_nss_files_init): Use static
7341 initialization for all the *_traced_file variables.
7342
68822d74
AS
73432011-09-28 Andreas Schwab <schwab@redhat.com>
7344
7345 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7346
2056100b
RM
73472011-09-27 Roland McGrath <roland@hack.frob.com>
7348
7349 [BZ #13226]
7350 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
7351
32c76b63
AS
73522011-09-27 Andreas Schwab <schwab@redhat.com>
7353
7354 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7355 Reread the line before reparsing it.
7356
bf972c9d
AS
73572011-09-26 Andreas Schwab <schwab@redhat.com>
7358
7359 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
7360
e057a1b5
JM
73612011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
7362 Maxim Kuvyrkov <maxim@codesourcery.com>
7363 Joseph Myers <joseph@codesourcery.com>
7364
7365 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
7366 if needed for __stack_chk_guard.
7367
bc7e1c36
RM
73682011-09-19 Roland McGrath <roland@hack.frob.com>
7369
ecb1482f
RM
7370 * sysdeps/posix/spawni.c (script_execute): Always define it.
7371 It will be optimized away if unused.
7372 (maybe_script_execute): New function.
7373 (__spawni): Call it.
7374
bc7e1c36
RM
7375 * Makerules: Don't include tls.make.
7376 (config-tls): Always set to thread.
7377 * tls.make.c: File removed.
7378
1c3b002b
MF
73792011-09-19 Mike Frysinger <vapier@gentoo.org>
7380
7381 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
7382 * config.make.in (CPPFLAGS-config): New substituted variable.
7383
2840865d
UD
73842011-09-15 Ulrich Drepper <drepper@gmail.com>
7385
88738eb6
UD
7386 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
7387
cbf645a6 7388 [BZ #13192]
2840865d
UD
7389 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
7390 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
7391
b402e91a
RM
73922011-09-15 Roland McGrath <roland@hack.frob.com>
7393
7394 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
7395 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
7396 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7397 (CALL_FAIL): Likewise.
7398 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
7399 (CALL_FAIL): Macro removed.
7400 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
7401
4c1a1f71
UD
74022011-09-15 Ulrich Drepper <drepper@gmail.com>
7403
7404 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
7405 for __FINITE_MATH_ONLY__ == 1.
7406
edc121be
AS
74072011-09-15 Andreas Schwab <schwab@redhat.com>
7408
7409 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
7410 __ieee754_sqrt instead of sqrt.
7411 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
7412 __ieee754_sqrtf instead of sqrtf.
7413 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7414 __floorf instead of floorf.
7415 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
7416 __floorf, __truncf instead of floorf, truncf.
7417
cd205654
UD
74182011-09-14 Ulrich Drepper <drepper@gmail.com>
7419
ee4d0315
UD
7420 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
7421
cd205654
UD
7422 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
7423 __extern_always_inline.
7424 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
7425 32-bit.
7426
48b67d71
AS
74272011-09-14 Andreas Schwab <schwab@redhat.com>
7428
7429 * elf/rtld.c (dl_main): Also relocate in dependency order when
7430 doing symbol dependency testing.
7431
1ae12c75
AS
74322011-09-13 Andreas Schwab <schwab@linux-m68k.org>
7433
7434 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7435 Always define `refsym'.
7436
995a80df
AS
74372011-09-13 Andreas Schwab <schwab@redhat.com>
7438
e529793b
AS
7439 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
7440 (__FD_ELT): Renamed from __FDELT.
7441 * misc/bits/select2.h (__FD_ELT): Likewise.
7442 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
7443 __FD_MASK instead of __FDELT, __FDMASK.
7444 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7445 Likewise.
7446 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7447 Likewise.
7448
52d4fef8
AS
7449 * elf/Makefile (gen-ldd): Fix pattern.
7450
995a80df
AS
7451 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
7452 (init_tls): Likewise.
7453
8682f8b0
UD
74542011-09-12 Ulrich Drepper <drepper@gmail.com>
7455
7456 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7457
de82006d
AS
74582011-09-12 Andreas Schwab <schwab@redhat.com>
7459
a7c8e6a1
AS
7460 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7461 `struct cmsghdr *' instead of `void *'.
7462 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7463 Likewise.
7464
0f31fe77
AS
74652011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7466
7467 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7468 if non-absolute.
7469 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7470 ldd_rewrite_script.
0f31fe77 7471
32b4c839
UD
74722011-09-11 Ulrich Drepper <drepper@gmail.com>
7473
83cd1420
UD
7474 * configure.in: Remove --with-tls option.
7475 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7476 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7477 out in case it is missing.
7478 * sysdeps/ia64/elf/configure.in: Likewise.
7479 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7480 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7481 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7482 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7483 * sysdeps/sh/elf/configure.in: Likewise.
7484 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7485 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7486 * sysdeps/x86_64/elf/configure.in: Likewise.
7487 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7488 * sysdeps/mach/hurd/tls.h: Likewise.
7489
633f745d
UD
7490 [BZ #13067]
7491 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7492
f318beb8
UD
7493 [BZ #13090]
7494 * configure.in: Fix use of AC_INIT.
7495
32b4c839
UD
7496 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7497
3ce1f295
UD
74982011-09-10 Ulrich Drepper <drepper@gmail.com>
7499
bb016596
UD
7500 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7501 __set_errno.
8e58439c
UD
7502 * malloc/hooks.c: Likewise.
7503
aebae053 7504 [BZ #11929]
02d46fc4
UD
7505 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
7506 variables statically.
7507 (narenas): Initialize.
7508 (list_lock): Initialize.
bb016596
UD
7509 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
7510 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
7511 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7512 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
7513 Add initializers to main_arena and mp_.
7514 (malloc_state): Remove pagesize member. Change all users to use
7515 GLRO(dl_pagesize).
7516
7517 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7518 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
7519 is always initialized.
7520
22a89187
UD
7521 * malloc/malloc.c: Removed unused configurations and dead code.
7522 * malloc/arena.c: Likewise.
7523 * malloc/hooks.c: Likewise.
02d46fc4 7524 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 7525
d063d164
UD
7526 * include/tls.h: Removed. USE___THREAD must always be defined.
7527 * bits/libc-tsd.h: Don't handle !USE___THREAD.
7528 * elf/dl-libc.c: Likewise.
7529 * elf/dl-tsd.c: Likewise.
7530 * include/errno.h: Likewise.
7531 * include/netdb.h: Likewise.
7532 * include/resolv.h: Likewise.
7533 * inet/herrno-loc.c: Likewise.
7534 * inet/herrno.c: Likewise.
7535 * malloc/arena.c: Likewise.
7536 * malloc/hooks.c: Likewise.
7537 * malloc/malloc.c: Likewise.
7538 * resolv/res-state.c: Likewise.
7539 * resolv/res_libc.c: Likewise.
7540 * sysdeps/i386/dl-machine.h: Likewise.
7541 * sysdeps/ia64/dl-machine.h: Likewise.
7542 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7543 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7544 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7545 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7546 * sysdeps/sh/dl-machine.h: Likewise.
7547 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7548 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7549 * sysdeps/unix/i386/sysdep.S: Likewise.
7550 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7551 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7552 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7553 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7554 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7555 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7556 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7557 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7558 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7559 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7560 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7561 * sysdeps/x86_64/dl-machine.h: Likewise.
7562 * tls.make.c: Likewise.
7563
3ce1f295
UD
7564 * configure.in: Remove --with-__thread option. Make tests for
7565 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7566 tls_model attribute fail if no support is available. Remove
7567 USE_IN_LIBIO.
7568 * Makeconfig: Adjust for dropped configure option. All features are
7569 now mandatory.
7570 * Makerules: Likewise.
7571 * Versions.def: Likewise.
7572 * argp/argp-fmtstream.c: Likewise.
7573 * argp/argp-fmtstream.h: Likewise.
7574 * argp/argp-help.c: Likewise.
7575 * assert/assert.c: Likewise.
7576 * config.h.in: Likewise.
7577 * config.make.in: Likewise.
7578 * configure: Likewise.
7579 * configure.in: Likewise.
7580 * csu/Versions: Likewise.
7581 * csu/init.c: Likewise.
7582 * elf/tst-audit2.c: Likewise.
7583 * elf/tst-tls10.c: Likewise.
7584 * elf/tst-tls10.h: Likewise.
7585 * elf/tst-tls11.c: Likewise.
7586 * elf/tst-tls12.c: Likewise.
7587 * elf/tst-tls14.c: Likewise.
7588 * elf/tst-tlsmod11.c: Likewise.
7589 * elf/tst-tlsmod12.c: Likewise.
7590 * elf/tst-tlsmod13.c: Likewise.
7591 * elf/tst-tlsmod13a.c: Likewise.
7592 * elf/tst-tlsmod14a.c: Likewise.
7593 * elf/tst-tlsmod15b.c: Likewise.
7594 * elf/tst-tlsmod16a.c: Likewise.
7595 * elf/tst-tlsmod16b.c: Likewise.
7596 * elf/tst-tlsmod7.c: Likewise.
7597 * elf/tst-tlsmod8.c: Likewise.
7598 * elf/tst-tlsmod9.c: Likewise.
7599 * gmon/gmon.c: Likewise.
7600 * grp/fgetgrent_r.c: Likewise.
7601 * grp/putgrent.c: Likewise.
7602 * hurd/fopenport.c: Likewise.
7603 * include/libc-symbols.h: Likewise.
7604 * include/tls.h: Likewise.
7605 * intl/gettextP.h: Likewise.
7606 * intl/loadinfo.h: Likewise.
7607 * locale/global-locale.c: Likewise.
7608 * locale/localeinfo.h: Likewise.
7609 * mach/devstream.c: Likewise.
7610 * malloc/arena.c: Likewise.
7611 * malloc/set-freeres.c: Likewise.
7612 * misc/err.c: Likewise.
7613 * misc/getttyent.c: Likewise.
7614 * misc/mntent_r.c: Likewise.
7615 * posix/getopt.c: Likewise.
7616 * posix/wordexp.c: Likewise.
7617 * pwd/fgetpwent_r.c: Likewise.
7618 * resolv/Versions: Likewise.
7619 * resolv/res_hconf.c: Likewise.
7620 * shadow/fgetspent_r.c: Likewise.
7621 * shadow/putspent.c: Likewise.
7622 * stdio-common/printf_fphex.c: Likewise.
7623 * stdio-common/tmpfile.c: Likewise.
7624 * stdlib/abort.c: Likewise.
7625 * stdlib/fmtmsg.c: Likewise.
7626 * sunrpc/auth_unix.c: Likewise.
7627 * sunrpc/clnt_perr.c: Likewise.
7628 * sunrpc/clnt_tcp.c: Likewise.
7629 * sunrpc/clnt_udp.c: Likewise.
7630 * sunrpc/clnt_unix.c: Likewise.
7631 * sunrpc/openchild.c: Likewise.
7632 * sunrpc/svc_simple.c: Likewise.
7633 * sunrpc/svc_tcp.c: Likewise.
7634 * sunrpc/svc_udp.c: Likewise.
7635 * sunrpc/svc_unix.c: Likewise.
7636 * sunrpc/xdr.c: Likewise.
7637 * sunrpc/xdr_array.c: Likewise.
7638 * sunrpc/xdr_rec.c: Likewise.
7639 * sunrpc/xdr_ref.c: Likewise.
7640 * sunrpc/xdr_stdio.c: Likewise.
7641
1248c1c4
PB
76422011-09-09 Ulrich Drepper <drepper@gmail.com>
7643
7644 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7645
76462011-07-03 Andreas Jaeger <aj@suse.de>
7647
7648 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7649 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7650 regenerate with gen-libm-tests.pl.
7651
76522010-05-12 Petr Baudis <pasky@suse.cz>
7653
7654 [BZ #11589]
7655 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7656 around j0() zero points by switching to j1().
7657 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7658 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7659 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7660 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7661
f22e1074
UD
76622011-09-09 Ulrich Drepper <drepper@gmail.com>
7663
f19009c1
UD
7664 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7665 instead of 0.
7666 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7667 instead of 0. .
7668 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7669 Patch in part by Pavel Roskin <proski@gnu.org>.
7670
3f8cc204
UD
7671 [BZ #13138]
7672 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7673 realloc.
7674 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
7675 Free memory block if necessary.
7676
f22e1074
UD
7677 [BZ #12847]
7678 * libio/genops.c (INTDEF): For string streams the _lock pointer can
7679 be NULL. Don't lock in this case.
7680
0a2349f9
RM
76812011-09-09 Roland McGrath <roland@hack.frob.com>
7682
7683 * elf/elf.h (ELFOSABI_GNU): New macro.
7684 (ELFOSABI_LINUX): Define to that.
7685
f3cdd467
DZ
76862011-07-29 Denis Zaitceff <zaitceff@gmail.com>
7687
7688 * string/strncat.c (strncat): Undef the symbol in case it has been
7689 defined in bits/string.h.
7690
74718d13
UD
76912011-09-09 Ulrich Drepper <drepper@gmail.com>
7692
633e9e0f
UD
7693 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7694
0a2349f9 7695 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
7696 link map.
7697
f9924780
AJ
76982011-08-17 Andreas Jaeger <aj@suse.de>
7699
7700 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7701
7f5517aa
PP
77022011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7703 Ian Lance Taylor <iant@google.com>
7704
7705 * math/libm-test.inc (lround_test): New testcase.
7706 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7707
762011fe
UD
77082011-09-08 Ulrich Drepper <drepper@gmail.com>
7709
92963737
UD
7710 * Makefile: Remove support for automatic cvs check-ins.
7711 * Makerules: Likewise.
7712 * config.make.in: Likewise.
7713 * configure.in: Likewise.
7714 * intl/Makefile: Likewise.
7715 * locale/Makefile: Likewise.
7716 * po/Makefile: Likewise.
7717 * posix/Makefile: Likewise.
7718 * sysdeps/gnu/Makefile: Likewise.
7719 * sysdeps/mach/hurd/Makefile: Likewise.
7720 * sysdeps/sparc/sparc32/Makefile: Likewise.
7721
b0727fd8
JS
7722 [BZ #13118]
7723 * posix/Makefile (bug-regex32-ENV): Define.
7724 Patch by John Stanley <jpsinthemix@verizon.net>.
7725
a0f33f99
UD
7726 * misc/Makefile (headers): Add bits/select2.h.
7727 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7728 * misc/bits/select2.h: New file.
7729 * include/bits/select2.h: New file.
7730 * debug/Makefile (routines): Add fdelt_chk.
7731 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7732 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7733 FD_ISSET.
7734 * debug/fdelt_chk.c: New file.
7735
762011fe
UD
7736 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
7737 * wcsmbs/test-wmemcmp.c: Likewise.
7738 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 7739 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
7740
77412011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7742
7743 * string/Makefile (strop-tests): Add memcmp.
7744 * string/test-wmemcmp.c: New file.
7745 * string/test-memcmp.c: Add wmemcmp support.
7746
7f513ec8
RM
77472011-09-08 Roland McGrath <roland@hack.frob.com>
7748
0442afb4
RM
7749 [BZ #13153]
7750 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7751 2011-07-19 change.
7752
7f513ec8
RM
7753 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7754 garbage value in a __mach_port_mod_refs call in the cases of the
7755 task-self and thread-self ports.
7756
a12b2239
ST
77572011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7758
7759 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7760
610f9ab4
AS
77612011-09-08 Andreas Schwab <schwab@redhat.com>
7762
7f513ec8 7763 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 7764
48882a1a
LD
77652011-09-07 Ulrich Drepper <drepper@gmail.com>
7766
b49865be
UD
7767 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7768
fdc86bc9
UD
7769 * elf/dl-libc.c (dlerror_run): Pass back error code from
7770 dl_catch_error.
7771
c966526a
UD
7772 [BZ #13123]
7773 * elf/dl-load.c (lose): Free l_origin if it is valid.
7774
48882a1a
LD
7775 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7776 names.
7777 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7778 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7779 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7780 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7781 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7782 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7783
77a2a8b4
AZ
77842011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7785
7786 * sysdeps/powerpc/fpu/e_hypot.c: New file.
7787 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7788 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7789 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7790 * sysdeps/powerpc/fpu/k_cosf.c: New file.
7791 * sysdeps/powerpc/fpu/k_sinf.c: New file.
7792 * sysdeps/powerpc/fpu/s_cosf.c: New file.
7793 * sysdeps/powerpc/fpu/s_sinf.c: New file.
7794 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7795 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7796
24f579d8
AM
77972011-08-15 Alan Modra <amodra@gmail.com>
7798
7799 [BZ #13092]
7800 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7801 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7802 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
7803 ppc_mcount to static-only-routines.
7804 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7805 __mcount_internal.
7806 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7807 __mcount_internal with usual JUMPTARGET. Remove useless nop.
7808
3d4837df
UD
78092011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7810
7811 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7812 for finite and infinity parameters.
7813
22700377
WS
78142011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7815
7816 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7817 and add nop instructions for throughput optimization.
7818 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7819
5025581e
WS
78202011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7821
7822 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7823 aligned copy for power7 with vector-scalar instructions.
7824 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7825
08a300c9
L
78262011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7827
7828 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7829 AVX check.
7830
59178ef9
AS
78312011-09-07 Andreas Schwab <schwab@redhat.com>
7832
7833 [BZ #13144]
7834 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7835 last change.
7836
e38ba7ab
UD
78372011-09-07 Ulrich Drepper <drepper@gmail.com>
7838
7839 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7840 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7841 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7842 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7843 clock_gettime.
7844
d53a73ac
UD
78452011-09-06 Ulrich Drepper <drepper@gmail.com>
7846
fc8bffcc
UD
7847 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7848 Forgot to demangle the pointer.
7849
ceaa0c5d
UD
7850 * sysdeps/i386/sysdep.h: Define atom_text_section.
7851 * sysdeps/x86_64/sysdep.h: Likewise.
7852 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7853 section with atom_text_section.
7854 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7855 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7856 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7857 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7858 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7859
a77d3c17
UD
7860 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7861 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7862 already be defined. Change to take two parameters and don't assign
7863 result to variable. Adjust all users.
7864 Define INTERNAL_GETTIME if not already defined.
7865 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7866 call.
7867 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7868 HAVE_CLOCK_GETTIME_VSYSCALL.
7869 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7870
d53a73ac
UD
7871 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7872 gettimeofday vsyscall, just use time.
7873
a8f84144
AS
78742011-09-06 Andreas Schwab <schwab@redhat.com>
7875
7876 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7877 <errno.h>.
7878
ef606249
UD
78792011-09-06 Ulrich Drepper <drepper@gmail.com>
7880
7881 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7882 syscall on x86-64.
7883 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7884 syscall.
7885 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7886 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7887 syscall if possible.
7888
6585cb60
UD
78892011-09-05 Ulrich Drepper <drepper@gmail.com>
7890
7891 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7892 e_ident. Don't pass to find_mapsXX.
7893 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7894
a5f524e4
LD
78952011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7896
7897 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7898 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7899 * sysdeps/x86_64/multiarch/strchr.S: Update.
7900 Check bit_slow_BSF bit.
7901 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7902 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7903 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7904
554881ef
UD
79052011-09-05 Ulrich Drepper <drepper@gmail.com>
7906
d96de963
UD
7907 [BZ #13134]
7908 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7909 before glibc 2.15.
7910 (tryshell): Define.
7911 (__spawni): Change last parameter to be flag. Test
7912 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7913 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7914 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7915 * posix/spawni.c: Likewise.
7916 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7917 * posix/spawnp.c: Likewise. Change normal version to use
7918 SPAWN_XFLAGS_USE_PATH.
7919 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7920 SPAWN_XFLAGS_TRY_SHELL.
7921
d48e5868
UD
7922 [BZ #13150]
7923 * posix/glob.h: Remove gcc 1.x support.
7924
554881ef
UD
7925 [BZ #13068]
7926 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7927
693fb948
LD
79282011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7929
7930 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7931 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7932 strrchr-sse2-bsf
7933 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7934 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7935 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7936 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7937 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7938 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7939
1b48c537
UD
79402011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7941
49d42c37
UD
7942 * sysdeps/x86_64/wcscmp.S: New file.
7943
1b48c537
UD
7944 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7945 wcscmp-c wcscmp-sse2
7946 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7947 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7948 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7949 * wcsmbs/wcscmp.c: Allow renaming.
7950
15c95c5d
DM
79512011-09-05 David S. Miller <davem@davemloft.net>
7952
7953 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7954 stack slot, rather than the struct return pointer slot.
7955 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7956 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7958 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7959
2f0ad8f3
UD
79602011-09-05 Ulrich Drepper <drepper@gmail.com>
7961
d88ae418
UD
7962 * po/ja.po: Update from translation team.
7963
2f0ad8f3
UD
7964 [BZ #13144]
7965 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7966 kernel in 64-bit binaries.
7967
5f4318d1
DM
79682011-09-01 David S. Miller <davem@davemloft.net>
7969
7970 * elf/elf.h (HWCAP_SPARC_*): Move to..
7971 * sysdeps/sparc/sysdep.h: this new file and add new values.
7972 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7973 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7974 _DL_HWCAP_COUNT to 24.
7975 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7976 entries.
7977 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7978 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7979 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7980 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7981 instead of magic constants.
7982 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7983
3ba57516
DM
79842011-08-31 David S. Miller <davem@davemloft.net>
7985
7986 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7987 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7988 Reimplement to do errno handling inline.
7989 (SYSCALL_ERROR_HANDLER): New macro.
7990 (__SYSCALL_STRING): Do not do errno handling in asm.
7991 (__CLONE_SYSCALL_STRING): Delete.
7992 (__INTERNAL_SYSCALL_STRING): Delete.
7993 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7994 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7995 (PSEUDO): Reimplement to do errno handling inline.
7996 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7997 (SYSCALL_ERROR_HANDLER): New macro.
7998 (__SYSCALL_STRING): Do not do errno handling in asm.
7999 (__CLONE_SYSCALL_STRING): Delete.
8000 (__INTERNAL_SYSCALL_STRING): Delete.
8001 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
8002 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
8003 i386.
8004 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
8005 (inline_syscall*): Add 'err' argument.
8006 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
8007 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
8008 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
8009 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
8010
8011 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
8012 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
8013
2bc17433
AS
80142011-08-30 Andreas Schwab <schwab@redhat.com>
8015
8016 * elf/rtld.c (dl_main): Relocate objects in dependency order.
8017
fbeb5f4d
JO
80182011-08-29 Jiri Olsa <jolsa@redhat.com>
8019
8020 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
8021 directive.
8022
ad69cc26
DM
80232011-08-24 David S. Miller <davem@davemloft.net>
8024
8025 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
8026
39dd69df
AS
80272011-08-24 Andreas Schwab <schwab@redhat.com>
8028
8029 * elf/Makefile: Add rules to build and run unload8 test.
8030 * elf/unload8.c: New file.
8031 * elf/unload8mod1.c: New file.
8032 * elf/unload8mod1x.c: New file.
8033 * elf/unload8mod2.c: New file.
8034 * elf/unload8mod3.c: New file.
8035
8036 * elf/dl-close.c (_dl_close_worker): Reset private search list if
8037 it wasn't used.
8038
2c0b250a
DM
80392011-08-23 David S. Miller <davem@davemloft.net>
8040
8041 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
8042 subtract stack bias.
8043 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
8044 %sp not %fp in calculations.
8045 (_JMPBUF_UNWINDS_ADJ): Likewise.
8046
22044b48
DM
8047 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
8048 (aio_suspend): Call it to force an exception region around the
8049 AIO_MISC_WAIT() invocation.
8050
2cae4995
AS
80512011-08-23 Andreas Schwab <schwab@redhat.com>
8052
8053 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
8054 backslash.
8055
873a772e
AJ
80562011-07-04 Aurelien Jarno <aurelien@aurel32.net>
8057
8058 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
8059 protection macro.
8060 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
8061 and <dl-machine.h>.
8062 (Elf64_FuncDesc): Remove.
8063
25ad0df1
DM
80642011-08-22 David S. Miller <davem@davemloft.net>
8065
8066 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
8067 sigaltstack check, add missing cfi directives.
8068 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
8069 missing cfi directives, and sigaltstack handling.
8070
e888bcbe
AS
80712011-08-16 Andreas Schwab <schwab@redhat.com>
8072
8073 [BZ #11724]
8074 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
8075 object is seen twice.
8076 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8077
8078 * elf/Makefile (distribute): Add tst-initorder2.c.
8079 (tests): Add tst-initorder2.
8080 (modules-names): Add tst-initorder2a tst-initorder2b
8081 tst-initorder2c tst-initorder2d. Add rules to build them.
8082 ($(objpfx)tst-initorder2.out): New rule.
8083 * elf/tst-initorder2.c: New file.
8084 * elf/tst-initorder2.exp: New file.
8085
87162f46
AS
80862011-08-22 Andreas Schwab <schwab@redhat.com>
8087
70538b7f
AS
8088 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
8089
f55ffe58
AS
8090 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
8091 dependencies back to end of function.
8092
87162f46
AS
8093 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
8094 $(elfobjdir)/ld.so.
8095
91b392a4
UD
80962011-08-21 Ulrich Drepper <drepper@gmail.com>
8097
8098 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
8099 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
8100 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
8101 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
8102 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
8103 of __vdso_gettimeofday.
8104 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
8105 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
8106 attribute_hidden.
8107 (_libc_vdso_platform_setup): Remove initialization of
8108 __vdso_gettimeofday and __vdso_time.
8109
5c43483f
UD
81102011-08-20 Ulrich Drepper <drepper@gmail.com>
8111
775a77e7
UD
8112 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
8113 and fgetc_unlocked.
8114 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
8115 getc_unlocked.
89f447ed 8116
49c74ba9
UD
8117 * elf/dl-open.c (add_to_global): Report additions to the global scope
8118 for LD_DEBUG=scopes.
8119 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 8120 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 8121
5c43483f
UD
8122 [BZ #13114]
8123 * stdio-common/Makefile (tests): Add bug24.
8124 * stdio-common/bug24.c: New file.
8125
a101b025
AJ
81262011-08-19 Andreas Jaeger <aj@suse.de>
8127
8128 [BZ #13114]
8129 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
8130 non-existant file when using close-on-exec mode.
8131
c88f1766
UD
81322011-08-20 Ulrich Drepper <drepper@gmail.com>
8133
0276a718
UD
8134 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
8135 the very first instruction.
8136
c88f1766
UD
8137 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
8138 the CFI state in the end.
8139 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
8140 inclusion of dl-trampoline.h.
8141 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
8142
51ccffa0
AS
81432011-08-19 Andreas Schwab <schwab@redhat.com>
8144
94d7165f
AS
8145 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
8146 expectations for long double.
8147
51ccffa0
AS
8148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
8149 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
8150
fd708658 81512011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
8152
8153 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
8154 artificual limit depends upon the system page size.
8155
44f0a71e
UD
81562011-08-17 Ulrich Drepper <drepper@gmail.com>
8157
8158 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
8159 * resolv/Makefile: Define CFLAGS-libresolv.
8160
8de79a24
AS
81612011-08-17 Andreas Schwab <schwab@redhat.com>
8162
8163 * nss/makedb.c (compute_tables): Make variables used in nested
8164 function static.
8165
27724598
UD
81662011-08-17 Ulrich Drepper <drepper@gmail.com>
8167
c5305d88
UD
8168 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
8169 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
8170 if buffer was too small.
8171
27724598
UD
8172 * elf/pldd.c (main): Attach to all threads in the process.
8173 Rewrite /proc handling to use *at functions.
8174
076fe015
UD
81752011-08-16 Ulrich Drepper <drepper@gmail.com>
8176
174baab3
UD
8177 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
8178 specifies first scope to show.
8179 (dl_open_worker): Update callers. Move printing scope of new
8180 object to before the relocation.
44f0a71e 8181 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
8182 * sysdeps/generic/ldsodefs.h: Update declaration.
8183
076fe015
UD
8184 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
8185 string for the scope number.
8186
a60df2c3
UD
81872011-08-14 Ulrich Drepper <drepper@gmail.com>
8188
8189 * nscd/servicescache.c (cache_addserv): Make sure written is always
8190 initialized.
8191
5e4287d1
RM
81922011-08-14 Roland McGrath <roland@hack.frob.com>
8193
85ae0589
RM
8194 * sysdeps/i386/i486/bits/atomic.h
8195 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
8196 statement expression, so as to suppress "set but not used" warning.
8197 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
8198
69f63097
RM
8199 * string/strncat.c (STRNCAT): Use prototype definition.
8200
675456ef
RM
8201 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
8202 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
8203 -Iprograms here.
8204 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
8205 (localedef-modules): Add localedef.
8206 (locale-modules): Add locale.
8207
5e4287d1
RM
8208 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
8209 * elf/rtld.c (dl_main): Invert order of assignment in last change,
8210 to avoid a warning.
8211
9c96ff23
DM
82122011-08-14 David S. Miller <davem@davemloft.net>
8213
8214 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
8215 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
8216
f9ddf089
UD
82172011-08-13 Ulrich Drepper <drepper@gmail.com>
8218
44f0a71e 8219 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
8220 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
8221 * elf/rtld.c (dl_main): Set l_name of vDSO.
8222 Call _dl_show_scope when DL_DEBUG_SCOPES.
8223 (process_dl_debug): Recognize scopes flag and also set it for all.
8224 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
8225 Declare _dl_show_scope.
8226
1dc27704
UD
8227 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
8228 (do_dlopen): Pass caller_dlopen to dl_open.
8229 (__libc_dlopen_mode): Initialize caller_dlopen.
8230
f9ddf089
UD
8231 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
8232 of libc. Make tolower call locale-independent. Optimize a bit by
8233 using isdigit instead of isalnum.
8234 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
8235
9ac533d3
UD
82362011-08-12 Ulrich Drepper <drepper@gmail.com>
8237
8238 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
8239 was a dependency or dynamically loaded.
8240
89edf2e9
UD
82412011-08-11 Ulrich Drepper <drepper@gmail.com>
8242
8e999d29
UD
8243 * intl/l10nflist.c: Allow architecture-specific pop function.
8244 * sysdeps/x86_64/l10nflist.c: New file.
8245
89edf2e9
UD
8246 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
8247 classification.
8248
14d96785
AS
82492011-08-10 Andreas Schwab <schwab@redhat.com>
8250
8251 * include/dirent.h: Add libc_hidden_proto for scandirat and
8252 scandirat64. Don't declare __scandirat64.
8253 * dirent/scandirat.c: Add libc_hidden_def.
8254 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
8255 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
8256
6761ac04
DM
82572011-08-10 David S. Miller <davem@davemloft.net>
8258
8259 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
8260 enum.
8261 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8262 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8263 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8264
c55fbd1e
UD
82652011-08-09 Ulrich Drepper <drepper@gmail.com>
8266
8267 * Versions.def [libc]: Add GLIBC_2.15.
8268 * dirent/Makefile (routines): Add scandirat and scandirat64.
8269 * dirent/Versions [libc]: Export scandirat and scandirat64 for
8270 GLIBC_2.15.
8271 * dirent/dirent.h: Declare scandirat and scandirat64.
8272 * dirent/scandirat.c: New file.
8273 * dirent/scandirat64.c: New file.
8274 * sysdeps/wordsize-64/scandirat.c: New file.
8275 * sysdeps/wordsize-64/scandirat64.c: New file.
8276 * dirent/opendir.c: Define opendirat.
8277 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
8278 using scandirat.
8279 * dirent/scandir64.c: Adjust for scandir.c change.
8280 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
8281 __scandirat64, and __scandir_cancel_handler.
8282 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
8283 additional parameter and use openat instead of open (outside of ld.so).
8284 Add new __opendir as wrapper around __opendirat.
8285 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
8286 here without requiring old scandirat implementation.
8287
879165f2
UD
82882011-08-08 Ulrich Drepper <drepper@gmail.com>
8289
8290 * dirent/scandir.c (cancel_handler): Renamed to
8291 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
8292 defined. Adjust users.
8293 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
8294 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
8295
cb7e923b
UD
82962011-08-04 Ulrich Drepper <drepper@gmail.com>
8297
16292edd
UD
8298 * string/test-string.h (IMPL): Use __STRING to expand name and then
8299 stringify it.
8300
cb7e923b
UD
8301 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
8302 of cleanups.
8303
cff82933
LD
83042011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8305
8306 * string/Makefile: Update.
8307 (strop-tests): Append strncat.
8308 * string/test-wcscmp.c: New file.
8309 New comprehensive test for wcscmp.
8310 * string/test-strcmp.c: Update.
8311 (WIDE): New define.
8312
9be9bfcc
AS
83132011-07-22 Andreas Schwab <schwab@redhat.com>
8314
8315 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
8316 line.
8317
2e96f1c7
AS
83182011-07-26 Andreas Schwab <schwab@redhat.com>
8319
8320 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8321 encoding to ACE if AI_IDN.
8322
85188888
JJ
83232011-08-01 Jakub Jelinek <jakub@redhat.com>
8324
8325 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
8326 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
8327
5fa16e9b
LD
83282011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8329
8330 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
8331 Fix overflow bug in strncat.
8332 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8333
8334 * string/test-strncat.c: Update.
8335 Add new tests for checking overflow bugs.
8336
83372011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8338
8339 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8340 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
8341 * sysdeps/i386/i686/multiarch/strcat.S: New file.
8342 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
8343 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
8344 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
8345 * sysdeps/i386/i686/multiarch/strncat.S: New file.
8346 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
8347 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
8348
8349 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
8350 (USE_AS_STRCAT): Define.
8351 Add strcat and strncat support.
8352 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8353
8c1a459f
AS
83542011-07-25 Andreas Schwab <schwab@redhat.com>
8355
8356 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
8357 __n bigger than INT_MAX+1.
8358 (__strncmp_g): Likewise.
8359
bba33c28
UD
83602011-07-23 Ulrich Drepper <drepper@gmail.com>
8361
798be72d
UD
8362 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
8363 * libio/stido.h: Likewise.
8364
8accd4dc
UD
8365 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
8366 (AF_NFC): Define.
8367 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
8368 (AF_NFC): Define.
8369
cbff0d96
UD
8370 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
8371 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8372 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8373 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8374 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8375
9191c04a
UD
8376 [BZ #13021]
8377 * scripts/test-installation.pl: Don't expect libnss_test1 to be
8378 installed.
8379
bba33c28
UD
8380 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
8381 typo.
8382 (_dl_x86_64_save_sse): Likewise.
8383
90f139dd
UD
83842011-07-22 Ulrich Drepper <drepper@gmail.com>
8385
1aae088a
UD
8386 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
8387 OSXSAVE.
8388 (_dl_x86_64_save_sse): Likewise.
8389
8e2045f5
UD
8390 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
8391
90f139dd
UD
8392 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
8393
1d002f25
AS
83942011-07-21 Andreas Schwab <schwab@redhat.com>
8395
8396 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
8397 change.
8398 (_dl_x86_64_save_sse): Use correct AVX check.
8399
21137f89
UD
84002011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8401
8402 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
8403 bug in strncpy/strncat.
8404 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8405
a65c0b7a
UD
84062011-07-21 Ulrich Drepper <drepper@gmail.com>
8407
8408 * string/tester.c (test_strcat): Add tests for different alignments
8409 of source and destination.
8410 (test_strncat): Likewise.
8411
6986b98a
UD
84122011-07-20 Ulrich Drepper <drepper@gmail.com>
8413
90bb2039
UD
8414 [BZ #12852]
8415 * posix/glob.c (glob): Check passed in values before using them in
8416 expressions to avoid some overflows.
8417 (glob_in_dir): Likewise.
8418
5644ef54
UD
8419 [BZ #13007]
8420 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
8421 check for AVX enablement so that we don't crash with old kernels and
8422 new hardware.
8423 * elf/tst-audit4.c: Add same checks here.
8424 * elf/tst-audit6.c: Likewise.
8425
8426 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 8427
bfc9dc9b
AS
84282011-07-09 Andreas Schwab <schwab@linux-m68k.org>
8429
8430 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
8431
702e64bb
UD
84322011-07-20 Ulrich Drepper <drepper@gmail.com>
8433
8434 * po/cs.po: Update from translation team.
8435 * po/bg.po: Likewise.
8436
295e904f
MP
84372011-07-12 Marek Polacek <mpolacek@redhat.com>
8438
8439 * misc/sys/cdefs.h: Add support for const attribute.
8440 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
8441 to gnu_dev_{major,minor,makedev} functions.
8442
3ff94596
MP
84432011-07-20 Marek Polacek <mpolacek@redhat.com>
8444
8445 * intl/dcigettext.c (get_output_charset): Add missing bracket.
8446
28b59fca
AS
84472011-07-20 Andreas Schwab <schwab@redhat.com>
8448
8449 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
8450 strlen results.
8451
19df733e
AK
84522011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8453
8454 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8455 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
8456 register in order to avoid conflicts with the soft frame pointer
8457 being held in r11 when necessary.
8458 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8459 (INTERNAL_VSYSCALL_NCS): Likewise.
8460
c8835729
MP
84612011-07-14 Marek Polacek <mpolacek@redhat.com>
8462
8463 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8464 * elf/dl-fini.c (_dl_fini): Adjust caller.
8465 * elf/dl-close.c (_dl_close_worker): Likewise.
8466 * sysdeps/generic/ldsodefs.h: Adjust declaration.
8467
b902330c
MP
84682011-07-15 Marek Polacek <mpolacek@redhat.com>
8469
8991e135
MP
8470 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8471 "aux_cache->nlibs < 0".
8472
b902330c
MP
8473 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8474 in the reload-count case.
8475
99710781
LD
84762011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8477
8478 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8479 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8480 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8481 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8482 * sysdeps/x86_64/multiarch/strcat.S: New file.
8483 * sysdeps/x86_64/multiarch/strncat.S: New file.
8484 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8485 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8486 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8487 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8488 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8489 (USE_AS_STRCAT): Define.
8490 Add strcat and strncat support.
8491 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8492 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8493 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8494 * string/strncat.c: Update.
8495 (USE_AS_STRNCAT): Define.
8496 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8497 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8498 and i7.
8499 * sysdeps/x86_64/multiarch/init-arch.h
8500 (bit_Prefer_PMINUB_for_stringop): New.
8501 (index_Prefer_PMINUB_for_stringop): Likewise.
8502 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8503 bit_Prefer_PMINUB_for_stringop.
8504
7dc6bd90
UD
85052011-07-19 Ulrich Drepper <drepper@gmail.com>
8506
8507 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8508 buffer64.
8509 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8510 of casting of buffer.
8511 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8512 buffer32 and buffer64.
8513 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8514 writes instead of casting of buffer.
8515 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8516 buffer32.
8517 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8518 casting of buffer.
8519
e0e72284
AS
85202011-07-19 Andreas Schwab <schwab@redhat.com>
8521
8522 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8523
feb1eb0b
UD
85242011-07-19 Ulrich Drepper <drepper@gmail.com>
8525
8526 * nscd/nscd.c (termination_handler): Don't do anything for a database
8527 if it has not yet been initialized.
8528
298711ff
UD
85292011-07-18 Ulrich Drepper <drepper@gmail.com>
8530
8531 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8532
85332011-07-15 Marek Polacek <mpolacek@redhat.com>
8534
8535 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8536
f9d68389
UD
85372011-07-18 Ulrich Drepper <drepper@gmail.com>
8538
8539 * po/nl.po: Update from translation team.
8540 * po/sv.po: Likewise.
8541
db290cf5
RM
85422011-07-16 Roland McGrath <roland@hack.frob.com>
8543
8544 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8545 now disallowed by GCC.
5c550700 8546
fd5e21c7
RM
8547 * configure.in (use-default-link): Default to yes if a test -shared
8548 link meets our qualifications.
8549 * configure: Regenerated.
8550
5c550700
RM
8551 * config.make.in (output-format): New variable.
8552 * configure.in: Check for ld --print-output-format support.
8553 * configure: Regenerated.
8554 * Makerules ($(common-objpfx)format.lds)
8555 [$(output-format) != unknown]: Just use $(output-format),
8556 instead of the linker-script munging.
8557
9fa2c032
RM
85582011-07-14 Roland McGrath <roland@hack.frob.com>
8559
a6928d51
RM
8560 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8561 of $(common-objpfx)shlib.lds.
8562 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8563
661607b3
RM
8564 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8565 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8566
9fa2c032
RM
8567 * configure.in (-z relro check): Adjust test code to add a large
8568 writable data section after it.
8569 * configure: Regenerated.
8570
defe9061
RM
85712011-07-11 Roland McGrath <roland@hack.frob.com>
8572
8573 * configure.in (-z relro check): Fix test code to make the variable
8574 truly const.
8575 * configure: Regenerated.
8576
319b9ad4
UD
85772011-07-11 Ulrich Drepper <drepper@gmail.com>
8578
8579 * nscd/nscd.h (struct traced_file): Define.
8580 (struct database_dyn): Remove inotify_descr, reset_res, and filename
8581 elements. Add traced_files.
8582 (inotify_fd): Declare.
8583 (register_traced_file): Declare.
8584 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
8585 (inotify_fd): Export.
8586 (resolv_conf_descr): Remove.
8587 (nscd_init): Move inotify descriptor creation to main.
8588 Don't register files for notification here.
8589 (register_traced_file): New function.
8590 (invalidate_cache): Don't use reset_res to determine whether to call
8591 res_init, go through the list of registered files.
8592 (main_loop_poll): The inotify descriptors are now stored in the
8593 structures for the traced files.
8594 (main_loop_epoll): Likewise
8595 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
8596 to __nss_disable_nscd.
8597 * nscd/cache.c (prune_cache): There is no single inotify descriptor
8598 for a database anymore. Check the records for all the registered
8599 files instead.
8600 * nss/Makefile (libnss_files-routines): Add files-init.
8601 (libnss_db-routines): Add db-init.
8602 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8603 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8604 * nss/nss_db/db-init.c: New file.
8605 * nss/nss_files/files-init.c: New file.
8606 * nss/nsswitch.c (nss_load_library): New function. Broken out of
8607 __nss_lookup_function.
8608 (__nss_lookup_function): Call nss_load_library.
8609 (nss_load_all_libraries): New function.
8610 (__nss_disable_nscd): Take parameter with callback function for files
8611 to register. Set is_nscd. Load all the DSOs for the NSS modules
8612 used for the cached services.
8613 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8614 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8615 options for features to all the files in nscd.
8616
8617 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8618
23bee3e8
RM
86192011-07-10 Roland McGrath <roland@hack.frob.com>
8620
8621 * csu/elf-init.c (__libc_csu_init): Comment typo.
8622
46a5b7f0
UD
86232011-07-09 Ulrich Drepper <drepper@gmail.com>
8624
8625 * po/pl.po: Update from translation team.
8626 * po/ja.po: Likewise.
8627 * po/ru.po: Likewise.
8628 * po/ko.po: Likewise.
8629 * po/fr.po: Likewise.
8630
d30cf5bb
RM
86312011-07-09 Roland McGrath <roland@hack.frob.com>
8632
113ddea4
RM
8633 * configure.in (.ctors/.dtors header and trailer check):
8634 Use an empirical test on a built program.
8635 * configure: Regenerated.
8636
574920b4
RM
8637 * configure.in (-z relro check): Use an empirical test on a built DSO.
8638 Detect, but do not require, on ia64.
8639 * configure: Regenerated.
8640
d30cf5bb
RM
8641 * configure.in (READELF): Find it with AC_CHECK_TOOL.
8642 Update tests that use readelf to use $READELF instead.
8643 * configure: Regenerated.
8644
8538fdb3
UD
86452011-07-08 Ulrich Drepper <drepper@gmail.com>
8646
8647 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8648 if the result is not used.
8649
04d08991
AJ
86502011-07-05 Andreas Jaeger <aj@suse.de>
8651
8652 [BZ#9696]
8653 * stdlib/tst-strtod.c: Add testcase.
8654
de283087
AD
86552011-07-07 Ulrich Drepper <drepper@gmail.com>
8656
4e5f31c8 8657 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 8658 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
8659 The latter has a higher limit. Take additional parameter to pass to
8660 the new function.
8661 (__pathconf): Pass file to __statfs_link_max.
8662 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8663 __statfs_link_max.
8664 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8665 __statfs_link_max.
8666
de283087
AD
8667 [BZ #12868]
8668 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8669 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8670 Handle Lustre.
8671 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8672 (__statfs_filesize_max): Likewise.
8673 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8674
c75fa153
AJ
86752011-07-05 Andreas Jaeger <aj@suse.de>
8676
8677 * resolv/res_comp.c (dn_skipname): Remove unused variable.
8678
1a544854
UD
86792011-07-06 Marek Polacek <mpolacek@redhat.com>
8680
8681 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8682 `status' variable.
8683 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8684 Likewise.
8685
6f0eec67
UD
86862011-07-04 H.J. Lu <hongjiu.lu@intel.com>
8687
8688 * Makefile (strop-tests): Add strncat.
8689 * string/test-strncat.c: New file.
8690
aae30307
UD
86912011-06-30 Marek Polacek <mpolacek@redhat.com>
8692
8693 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8694
c0cfb5eb
UD
86952011-06-21 Andreas Jaeger <aj@suse.de>
8696
8697 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8698 Copy rule from iconvdata/Makefile.
8699
01636b21
UD
87002011-07-06 Ulrich Drepper <drepper@gmail.com>
8701
8702 [BZ #12922]
8703 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8704 but no long options are defined, just return 'W'.
8705
9895c8bc
UD
87062011-06-22 Marek Polacek <mpolacek@redhat.com>
8707
8708 [BZ #9696]
8709 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8710
5d4cf042
UD
87112011-07-06 Ulrich Drepper <drepper@gmail.com>
8712
8713 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8714 netgroups to read.
960e5535 8715 (innetgr): Likewise.
5d4cf042 8716
751eb97e
RM
87172011-07-05 Roland McGrath <roland@hack.frob.com>
8718
8719 * config.make.in (install_root): Default to $(DESTDIR).
8720
f15f1e45
UD
87212011-07-05 Ulrich Drepper <drepper@gmail.com>
8722
8723 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8724
4e34ac6a
RM
87252011-07-02 Roland McGrath <roland@hack.frob.com>
8726
5e9b6af4
RM
8727 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8728
84f9ea0f
RM
8729 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8730 containing directory rather than embedding absolute directory names.
8731
ea5ee9f7
RM
8732 * scripts/check-local-headers.sh: Rewritten using awk.
8733 Match by word, not by line. Print error messages for matches.
8734 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8735
1b74661a
RM
8736 * Makerules [shlib-lds-flags empty]:
8737 ($(common-objpfx)libc_pic.opts): New target.
8738 ($(common-objpfx)libc_pic.os.clean): New target.
8739 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8740
8741 * config.make.in (OBJCOPY): New variable.
8742 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8743 * configure: Regenerated.
8744
f781ef40
RM
8745 * config.make.in (use-default-link): New variable.
8746 * configure.in (use_default_link): Grok --with-default-link to set it.
8747 * configure: Regenerated.
8748 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8749 (shlib-lds, shlib-lds-flags): Define to empty.
8750
2d4fa81e
RM
8751 * Makerules (shlib-lds): New variable.
8752 (shlib-lds-flags): New variable.
8753 (build-shlib, build-moduile, build-module-asneeded): Use it.
8754 ($(common-objpfx)libc.so): Use $(shlib-lds).
8755 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8756 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8757
31fffa6b
RM
8758 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8759 DT_FLAGS/DT_FLAGS_1 with zero flags.
8760
4e34ac6a
RM
8761 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8762 linker script munging.
8763
fcfc776b
UD
87642011-07-02 Ulrich Drepper <drepper@gmail.com>
8765
8766 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8767 as 128-bit value.
8768 * crypt/sha512.c (sha512_process_block): Perform total addition using
8769 128-bit if possible.
8770 (__sha512_finish_ctx): Likewise.
8771 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8772 as 64-bit value.
8773 * crypt/sha256.c (SWAP64): Define.
8774 (sha256_process_block): Perform total addition using 64-bit if
8775 possible.
8776 (__sha256_finish_ctx): Likewise.
8777
99231d9a
UD
87782011-07-01 Ulrich Drepper <drepper@gmail.com>
8779
8780 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
8781 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8782 * nscd/hstcache.c (cache_addhst): Likewise.
8783 * nscd/grpcache.c (cache_addgr): Likewise.
8784 * nscd/aicache.c (addhstaiX): Likewise
8785 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8786
445b4a53
TK
87872011-07-01 Thorsten Kukuk <kukuk@suse.de>
8788
8789 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8790 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8791 * nscd/hstcache.c (cache_addhst): Likewise.
8792 * nscd/grpcache.c (cache_addgr): Likewise.
8793 * nscd/aicache.c (addhstaiX): Likewise
8794
6d4d8e8e
AS
87952011-07-01 Andreas Schwab <schwab@redhat.com>
8796
8797 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8798 domain only when needed.
8799
89f654c5
AS
88002011-06-30 Andreas Schwab <schwab@redhat.com>
8801
8802 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8803 is always restored.
8804
cf3b23ff
UD
88052011-06-29 Ulrich Drepper <drepper@gmail.com>
8806
8807 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8808 are re-adding the entry.
8809 * nscd/servicescache.c (cache_addserv): Likewise.
8810
751626f9
AJ
88112011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8812
8813 * sysdeps/generic/dl-irel.h: fix protection against multiple
8814 inclusions.
8815 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8816
9113ea1f
UD
88172011-06-28 Ulrich Drepper <drepper@gmail.com>
8818
5c0b8d90
UD
8819 [BZ #12935]
8820 * malloc/memusage.sh: Fix quoting in message.
8821 * debug/xtrace.sh: Likewise.
8822
9113ea1f
UD
8823 * configure.in: Remove support for --experimental-malloc option, make
8824 it the default.
8825 * config.make.in: Likewise.
8826 * malloc/Makefile: Likewise.
8827
a4172181
AS
88282011-06-27 Andreas Schwab <schwab@redhat.com>
8829
8830 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8831 two-byte characters.
8832
78a7eee7
RM
88332011-06-27 Roland McGrath <roland@hack.frob.com>
8834
62bede13
RM
8835 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8836 AC_CACHE_CHECK invocation.
8837 * configure: Regenerated.
8838
78a7eee7
RM
8839 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8840
5ce33a62
UD
88412011-06-27 Ulrich Drepper <drepper@gmail.com>
8842
034807a9
UD
8843 [BZ #12350]
8844 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8845 bit from old_res_options.
8846
4902da17
UD
8847 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8848
5ce33a62
UD
8849 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8850 value type for setfct.
8851
c2344f56
L
88522011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8853
8854 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8855 __gettimeofday instead of gettimeofday.
8856
68468076
UD
88572011-06-26 Ulrich Drepper <drepper@gmail.com>
8858
8859 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8860
acb0d739
L
88612011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8862
8863 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8864
8865 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8866 info.
8867
8912479f
L
88682011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8869
8870 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8871 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8872 strcpy-sse2-unaligned strncpy-sse2-unaligned
8873 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8874 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8875 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8876 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8877 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8878 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8879 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8880 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8881 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8882 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8883 (STRCPY): Support SSE2 and SSSE3 versions.
8884
d5495a11
UD
88852011-06-24 Ulrich Drepper <drepper@gmail.com>
8886
8887 [BZ #12874]
8888 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8889 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8890 kernels which artificially limit size of requests.
8891
0b1cbaae
L
88922011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8893
8894 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8895 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8896 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8897 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8898 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8899 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8900 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8901 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8902 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8903 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8904 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8905 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8906 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8907 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8908 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8909 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8910 Enable unaligned load optimization for Intel Core i3, i5 and i7
8911 processors.
8912 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8913 Define.
8914 (index_Fast_Unaligned_Load): Define.
8915 (HAS_FAST_UNALIGNED_LOAD): Define.
8916
07f494a0
MP
89172011-06-23 Marek Polacek <mpolacek@redhat.com>
8918
8919 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8920
fa3fc0fe
UD
89212011-06-22 Ulrich Drepper <drepper@gmail.com>
8922
8923 [BZ #12907]
8924 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8925 until it is clear that the information is realy needed.
8926 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8927
e12df166
AS
89282011-06-22 Andreas Schwab <schwab@redhat.com>
8929
8930 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8931
852eb34d
UD
89322011-06-22 Ulrich Drepper <drepper@gmail.com>
8933
84e2a551
UD
8934 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8935 /sys/devices/system/cpu/online if it is usable.
8936
852eb34d
UD
8937 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8938 reading the information from the /proc filesystem to once a second.
8939
6e502e19
UD
89402011-06-21 Andreas Jaeger <aj@suse.de>
8941
8942 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8943 NULL after inclusion of kernel headers.
8944
75d39ff2
UD
89452011-06-21 Ulrich Drepper <drepper@gmail.com>
8946
51f9aa6a
UD
8947 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8948 calls to internal_setent.
8949
c0244a9d
UD
8950 [BZ #12885]
8951 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8952 addresses using gethostbyname4_r ignore IPv4 addresses.
8953
c5e3c2ae
UD
8954 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8955 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8956
75d39ff2
UD
8957 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8958
42675c6f
DM
89592011-06-20 David S. Miller <davem@davemloft.net>
8960
8961 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8962 inclusions.
8963 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8964
8965 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8966 (elf_irel): Use it.
8967 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8968 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8969 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8970 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8971 * sysdeps/x86_64/dl-irel.h: Likewise.
8972
8973 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8974 * elf/dl-sym.c: Likewise.
8975
57912a71
UD
89762011-06-15 Ulrich Drepper <drepper@gmail.com>
8977
8978 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8979 need to dereference resplen2.
8980
ee22793d
AS
89812011-06-14 Andreas Schwab <schwab@redhat.com>
8982
8983 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8984
a9e836b0
UD
89852011-06-15 Ulrich Drepper <drepper@gmail.com>
8986
77fb9117
UD
8987 * Makeconfig: Define vardbdir and inst_vardbdir.
8988 * nss/Makefile: Add rules to install db-Makefile.
8989
40c1b22c
UD
8990 * nss/nss_db/db-XXX.c: Cleanup.
8991
9f2da732
UD
8992 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8993 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8994 GLIBC_PRIVATE.
8995 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8996 * nss/makedb.c: Implement -g option to specify that value strings
8997 are generated and should not be added to table iterated over for
8998 get*ent calls.
8999 * nss/nss_db/db-initgroups.c: New file.
9000
82e9a1f7
UD
9001 * nss/getent.c: Add support for initgroups lookups through getgrouplist
9002 interface.
9003
c41af17e
UD
9004 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
9005 (internal_getgrouplist): Adjust to name change.
9006 Update use_initgroups_entry if this is not the first call.
9007 * nss/databases.def: Add initgroups entry.
9008
a9e836b0
UD
9009 * nss/makedb.c (compute_tables): Check result of multiple hash table
9010 sizes to minimize maximum chain length.
9011
2666d441
UD
90122011-06-14 Ulrich Drepper <drepper@gmail.com>
9013
9014 * Versions.def: Add entry for libnss_db.
9015 * shlib-versions: Likewise.
9016 * nss/Makefile: Add rules to build libnss_db.
9017 * nss/Versions: Add libnss_db information. Organize libnss_files
9018 entries better.
9019 * nss/db-Makefile: Add gshadow support. Change rules for the new
9020 makedb progra. Some minor improvements to generate smaller files.
9021 * nss/nss_db/nss_db.h: Move NSS database header data structures to
9022 here from...
9023 * nss/makedb.c: ...here.
9024 Improve database format to be smaller and require less memory at
9025 runtime.
9026 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
9027 db anymore.
9028 * nss/nss_db/db-netgrp.c: Likewise.
9029 * nss/nss_db/db-open.c: Likewise.
9030 * nss/nss_files/flies-XXX.x: Adjust comments.
9031 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
9032 * nss/nss_files/files-grp.c: Likewise.
9033 * nss/nss_files/files-hosts.c: Likewise.
9034 * nss/nss_files/files-network.c: Likewise.
9035 * nss/nss_files/files-proto.c: Likewise.
9036 * nss/nss_files/files-pwd.c: Likewise.
9037 * nss/nss_files/files-rpc.c: Likewise.
9038 * nss/nss_files/files-service.c: Likewise.
9039 * nss/nss_files/files-sgrp.c: Likewise.
9040 * nss/nss_files/files-spwd.c: Likewise.
9041 * nss/nss_db/db-alias.c: Removed.
9042 * nss/nss_db/dummy-db.h: Removed.
9043
9ee76b5a
UD
90442011-06-02 Ulrich Drepper <drepper@gmail.com>
9045
9046 * nss/makedb.c: Rewritten to not use database library.
9047 * nss/Makefile: Update to build new makedb program.
9048
c71ca1f8
AJ
90492011-06-14 Andreas Jaeger <aj@suse.de>
9050
9051 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
9052 memset declaration.
9053
3154bfb8
UD
90542011-06-10 Andreas Schwab <schwab@redhat.com>
9055
9056 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
9057 tmpbuf.
9058
b350afab
RM
90592011-06-10 Roland McGrath <roland@hack.frob.com>
9060
decd4e50
RM
9061 * Makerules (shlib.lds): Fail if the linker script comes out empty.
9062 * elf/Makefile ($(objpfx)ld.so): Likewise.
9063
5615eaf2
RM
9064 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
9065 Don't list ld.so twice in dependencies.
9066
9067 * posix/bug-regex31.c: Include <stdlib.h>.
9068
9069 * nscd/hstcache.c (cache_addhst): Remove unused variable.
9070
9071 * nis/nss_compat/compat-spwd.c
9072 (getspent_next_nss_netgr): Remove unused variable.
9073 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
9074
9075 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
9076 nonmembers" output to use the right array.
9077
9078 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
9079
9080 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
9081
9082 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
9083 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
9084 * catgets/gencat.c (read_input_file): Likewise.
9085 * locale/programs/locarchive.c (enlarge_archive): Likewise.
9086
9087 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
9088 variable definition inside #if's controlling its use.
9089
9090 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
9091
9092 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
9093
9094 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
9095
9096 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
9097 unreachable code.
9098
9099 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
9100
b68e08db
RM
9101 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
9102 * configure: Regenerated.
9103
b350afab
RM
9104 * Makerules: Revert last change.
9105 * elf/Makefile: Likewise.
9106
28368601
RM
91072011-06-09 Roland McGrath <roland@hack.frob.com>
9108
9109 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
9110 * elf/Makefile ($(objpfx)librtld.os): Likewise.
9111 (reloc-link): Likewise.
9112
11988f8f
UD
91132011-06-09 Ulrich Drepper <drepper@gmail.com>
9114
9115 * elf/Makefile: Add rules to build pldd.
9116 * elf/pldd.c: New file.
9117 * elf/pldd-xx.c: New file.
9118
e80fab37
UD
91192011-06-07 Ulrich Drepper <drepper@gmail.com>
9120
9121 * version.h: Update for 2.15 development version.
9122
9b849836
DM
91232011-06-07 David S. Miller <davem@davemloft.net>
9124
9125 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
9126 ifuncs.
9127 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
9128 elf_machine_lazy_rel): Likewise.
9129 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9130 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
9131 elf_machine_lazy_rel): Likewise.
9132 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
9133 dl_hwcap via passed in argument.
9134 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
9135 Likewise.
9136
5a31b283
AK
91372011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9138
9139 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
9140
069e52f8
RM
91412011-06-06 Roland McGrath <roland@hack.frob.com>
9142
9143 [BZ #12849]
9144 * manual/fdl-1.1.texi: New file, verbatim from:
9145 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
9146 * manual/lgpl-2.1.texi: New file, verbatim from:
9147 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
9148 * manual/Makefile (licenses): New variable, list those new file names.
9149 (texis): Use it.
9150 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
9151
9152 * manual/fdl.texi: File removed.
9153 * manual/lesser.texi: File removed.
9154 * manual/libc.texinfo (Copying, Documentation License):
9155 Use new @include file names, put @appendix directive before @include.
9156
f16846a5
JJ
91572011-06-04 Jakub Jelinek <jakub@redhat.com>
9158
9159 [BZ #12841]
9160 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
9161 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
9162 (mq_open): Add __NTH.
9163
3d29045b
L
91642011-06-02 H.J. Lu <hongjiu.lu@intel.com>
9165
9166 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9167 Assume Intel Core i3/i5/i7 processor if AVX is available.
9168
8c297311
UD
91692011-05-31 Ulrich Drepper <drepper@gmail.com>
9170
9171 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9172 typo.
9173
c8fc0c91
UD
91742011-05-31 Andreas Schwab <schwab@redhat.com>
9175
9176 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
9177 memory. Use alloca_account. Fix memory leak when retrying.
9178
5b27a807
UD
91792011-05-31 Ulrich Drepper <drepper@gmail.com>
9180
356f8bc6
UD
9181 * version.h (RELEASE): Bump for 2.14 release.
9182 * include/features.h (__GLIBC_MINOR__): Bump to 14.
9183
5b27a807
UD
9184 * config.make.in (RANLIB): Remove entry.
9185
01f16ab0
UD
91862011-05-30 Ulrich Drepper <drepper@gmail.com>
9187
41fce8bd
UD
9188 * po/Makefile (po-sed-cmd): Add ksh to extensions.
9189 (libc.pot): Work around missing support for .ksh extension in xgettext.
9190
4769ae77
UD
9191 [BZ #12684]
9192 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
9193 if both request failed.
9194 (send_dg): In case of server errors clear resplen or *resplen2.
9195
6b1e7d19
UD
9196 [BZ #12454]
9197 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
9198 when there are multiple maps.
9199 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
9200 (_dl_fini): Remove test here.
9201
01f16ab0
UD
9202 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
9203
b1ebd700
UD
92042011-05-29 Ulrich Drepper <drepper@gmail.com>
9205
7ae22829
UD
9206 [BZ #12350]
9207 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
9208 bit from old_res_options.
9209 (gaih_inet): Likewise.
9210
553149f6 9211 [BZ #11099]
18a84741 9212 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
9213 as signed.
9214
652ffab1
UD
9215 * resolv/res_init.c (res_setoptions): Make the code more compact.
9216
16985fd0
UD
9217 [BZ #11558]
9218 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
9219 set RES_USEVC.
9220
0464f746
UD
9221 [BZ #11634]
9222 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
9223
7d17596c
UD
9224 * malloc/malloc.h: Mark malloc hook variables as deprecated.
9225
cf6bbbd7
UD
9226 [BZ #11781]
9227 * malloc/malloc.h: Declare malloc hook variables as volatile.
9228
13f1ab36
UD
9229 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
9230 in last patch.
9231
b1ebd700
UD
9232 [BZ #11799]
9233 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 9234 raise in the comment.
80e2212d
UD
9235 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9236 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9237 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 9238
ce67228d
UD
92392011-05-28 Ulrich Drepper <drepper@gmail.com>
9240
8887a920
UD
9241 [BZ #12811]
9242 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
9243 grow the buffers more if it already has to be sufficient.
9244 (build_wcs_upper_buffer): Likewise.
9245 * posix/regexec.c (check_matching): Likewise.
9246 (clean_state_log_if_needed): Likewise.
9247 (extend_buffers): Don't enlarge buffers beyond size of the input
9248 buffer.
9249 Patches mostly by Emil Wojak <emil@wojak.eu>.
9250 * posix/bug-regex32.c: New file.
9251 * posix/Makefile (tests): Add bug-regex32.
9252
4f031072
UD
9253 * locale/findlocale.c (_nl_find_locale): Return right away if
9254 _nl_explode_name failed.
9255 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9256
d0478f0c
UD
9257 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
9258
de81b246
UD
9259 * debug/xtrace.sh: Unify messages.
9260 * malloc/memusage.sh: Likewise.
9261
c738465a
UD
9262 [BZ #12813]
9263 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
9264 time symbol from vDSO. Substitute with vsyscall if not available.
9265 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
9266 __vdso_time.
9267
f1f929d7
UD
9268 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
9269 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
9270 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
9271 Add sendmmsg and internal_sendmmsg.
9272 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
9273 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
9274 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
9275
ce67228d
UD
9276 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
9277 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
9278 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
9279
e57420c6
UD
92802011-05-27 Ulrich Drepper <drepper@gmail.com>
9281
a8509ca5
UD
9282 [BZ #12813]
9283 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
9284 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
9285 available.
9286 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
9287 __vdso_getcpu.
9288
e57420c6
UD
9289 [BZ #12814]
9290 * iconvdata/Makefile (tests): Add bug-iconv9.
9291 * iconvdata/bug-iconv9.c: New file.
9292
4d07db15
AS
92932011-05-27 Andreas Schwab <schwab@redhat.com>
9294
9295 [BZ #12814]
9296 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
9297
ea486f69
JJ
92982011-05-25 Jakub Jelinek <jakub@redhat.com>
9299
9300 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9301 (struct user_regs_struct): Change intcs field back to cs.
9302
6f038433
UD
93032011-05-25 Ulrich Drepper <drepper@gmail.com>
9304
9305 * po/ja.po: Update from translation team.
9306
67f86a25
UD
93072011-05-23 Ulrich Drepper <drepper@gmail.com>
9308
9309 [BZ #12795]
9310 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
9311 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
9312
def7fbd6
AS
93132011-05-20 Andreas Schwab <schwab@redhat.com>
9314
9315 * stdlib/longlong.h: Update from GCC.
9316
f50ef8f1
AS
93172011-05-23 Andreas Schwab <schwab@redhat.com>
9318
9319 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
9320 parameter name.
9321 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
9322 Add parameter name.
9323 (__sysconf): Pass it down.
9324
de7ce8f1
UD
93252011-05-22 Ulrich Drepper <drepper@gmail.com>
9326
f2962a71
UD
9327 [BZ #12671]
9328 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
9329 some situations.
9330 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9331 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
9332 add in in __libc_use_alloca calls. Adjust callers.
9333 (glob): Use malloc in some situations.
9334
de7ce8f1
UD
9335 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
9336 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
9337 pltexit.
9338
aec84f53
UD
93392011-05-21 Ulrich Drepper <drepper@gmail.com>
9340
05bb4a68
UD
9341 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
9342 and CLOCK_BOOTTIME_ALARM.
9343
7ea72f99
UD
9344 [BZ #12782]
9345 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
9346 is returned.
9347
7e4afad5
UD
9348 * string/_strerror.c (__strerror_r): Print negative errors as signed
9349 numbers.
9350
8e211fec
UD
9351 [BZ #12777]
9352 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
9353 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
9354 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
9355
f7d82dc9
UD
9356 * configure.in: Fix typo in redirection and correct removal of test
9357 files in two cases.
9358
cc9e536d
UD
9359 [BZ #12788]
9360 * locale/setlocale.c (new_composite_name): Fix test to check for
9361 identical name of all categories.
9362
aec84f53
UD
9363 [BZ #12792]
9364 * libio/filedoalloc.c (local_isatty): New function.
9365 (_IO_file_doallocate): Use local_isatty.
9366 * stdio-common/perror.c (perror): In case a new stream is used
9367 forward the stream error.
9368 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
9369 error flag.
9370
78e64fdc
RT
93712011-05-20 Ulrich Drepper <drepper@gmail.com>
9372
34a9094f
UD
9373 [BZ #11869]
9374 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
9375 alloca.
9376 * include/alloca.h (extend_alloca_account): Define.
9377
78e64fdc
RT
9378 [BZ #11857]
9379 * posix/regex.h: Fix comments with documentation of user-accessible
9380 fields after compilation and describe correct free'ing of pattern
9381 after re_compile_pattern.
9382 Patch by Reuben Thomas <rrt@sc3d.org>.
9383
457bddfc
RA
93842011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
9385
9386 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
9387 and -mno-altivec to prevent the compiler from using Altivec and/or
9388 VSX instructions when the corresponding registers are not available.
9389
a4527b51
AS
93902011-05-19 Andreas Schwab <schwab@redhat.com>
9391
9392 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
9393
ed690b2f
UD
93942011-05-19 Ulrich Drepper <drepper@gmail.com>
9395
9396 * libio/freopen.c (freopen): Use __dup2, not dup2.
9397 * libio/freopen64.c (freopen64): Likewise.
9398
8db73634
L
93992011-05-17 H.J. Lu <hongjiu.lu@intel.com>
9400
9401 [BZ #12775]
9402 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
9403 * math/Makefile (tests): Add test-powl.
9404 (CFLAGS-test-powl.c): Define.
9405 * math/test-powl.c: New file.
9406
0a197a9d
L
94072011-05-16 H.J. Lu <hongjiu.lu@intel.com>
9408
9409 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
9410
ee30c380
UD
94112011-05-17 Ulrich Drepper <drepper@gmail.com>
9412
9413 [BZ #11837]
9414 * iconvdata/gb18030.c: Update to GB18020-2005.
9415
6ce75379
UD
94162011-05-16 Ulrich Drepper <drepper@gmail.com>
9417
a4b89fd8
AR
9418 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
9419 RE_SYNTAX_POSIX_AWK): Update to match recent development.
9420 Patch by Aharon Robbins <arnold@skeeve.com>.
9421
ea389b12
UD
9422 [BZ #11892]
9423 * stdlib/putenv.c (putenv): Don't always create copy of the variable
9424 on the stack.
9425
68a3f91f
UD
9426 [BZ #11895]
9427 * misc/pselect.c (__pselect): Handle timeout value errors hidden
9428 through underflows.
9429
15cc7dd1
UD
9430 [BZ #12766]
9431 * misc/error.c (error_at_line): Ensure file_name and old_file_name
9432 point to strings before performing equality test for error_one_per_line
9433 mode.
9434
f3799213
UD
9435 [BZ #11697]
9436 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
9437
d79a9c94
UD
9438 [BZ #11820]
9439 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9440 (struct user_fpregs_struct): Avoid __uint*_t types.
9441
56e5eb46
UD
9442 [BZ #6420]
9443 * malloc/mtrace.c (tr_where): Add additional parameter to point to
9444 symbol info. Use it instead of calling _dl_addr locally.
9445 (lock_and_info): New function.
9446 (tr_freehook): Call lock_and_info and pass symbol info as additional
9447 parameter to tr_where.
9448 (tr_mallochook): Likewise.
9449 (tr_reallochook): Likewise.
9450 (tr_memalignhook): Likewise.
9451
6ce75379
UD
9452 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
9453 used and couldn't be at all thread-safe.
9454
f8a3b5bf
UD
94552011-05-15 Ulrich Drepper <drepper@gmail.com>
9456
94b7cc37
UD
9457 * libio/freopen.c (freopen): Don't close old file descriptor
9458 before the new one is opened. Instead dup the new file descriptor
9459 to the old one after the new stream is created.
9460 * libio/freopen64.c (freopen64): Likewise.
9461 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9462 * libio/fileops.c (_IO_new_file_close_it): Handle new
9463 _IO_FLAGS2_NOCLOSE flag.
9464 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9465 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9466 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9467 _IO_FLAGS2_NOCLOSE flag.
9468 * include/unistd.h: Add hidden_proto for dup3.
9469 Define __have_dup3.
9470 * io/dup3.c: Define hidden symbol.
9471 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9472
bd25564e
UD
9473 [BZ #7101]
9474 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9475 when an incomplete long option is used.
9476 * posix/tst-getopt_long1.c: New file.
9477 * posix/Makefile (tests): Add tst-getopt_long1.
9478
c84cfef4
UD
9479 [BZ #10138]
9480 * scripts/config.guess: Update from autoconf-2.68.
9481 * scripts/config.sub: Likewise.
9482
3b85df27
UD
9483 [BZ #10157]
9484 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9485 tests into ...
9486 (has_cpuclock): ...this. New function.
9487 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9488 macro here based on has_cpuclock code.
9489
15a856b1
UD
9490 [BZ #10149]
9491 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9492 First byte (not low byte) is now always NUL.
9493 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9494
05f399e6
UD
9495 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9496 Use non-cancelable interfaces.
9497
10a52685 9498 [BZ #9809]
94ecc67d
UD
9499 * locale/iso-639.def: Add entry for Sorani.
9500
f8a3b5bf
UD
9501 [BZ #11901]
9502 * include/stdlib.h: Move include protection to the right place.
9503 Define abort_msg_s. Declare __abort_msg with it.
9504 * stdlib/abort.c (__abort_msg): Adjust type.
9505 * assert/assert.c (__assert_fail_base): New function. Majority
9506 of code from __assert_fail. Allocate memory for __abort_msg with
9507 mmap.
9508 (__assert_fail): Now call __assert_fail_base.
9509 * assert/assert-perr.c: Remove bulk of implementation. Use
9510 __assert_fail_base.
9511 * include/assert.hL Declare __assert_fail_base.
9512 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9513 mmap.
9514 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9515
1af4e298
UD
95162011-05-14 Ulrich Drepper <drepper@gmail.com>
9517
f8a3b5bf 9518 [BZ #11952]
d26dfc60
MG
9519 [BZ #12453]
9520 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9521 until all modules are registered in the DTV.
9522 * elf/Makefile: Add rules to build and run tst-tls19.
9523 * elf/tst-tls19.c: New file.
9524 * elf/tst-tls19mod1.c: New file.
9525 * elf/tst-tls19mod2.c: New file.
9526 * elf/tst-tls19mod3.c: New file.
9527 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9528
2fc54d6f
UD
9529 [BZ #12083]
9530 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9531 correctly.
9532
98d76b46
UD
9533 [BZ #12601]
9534 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9535 two-byte sequence errors.
9536 * iconvdata/Makefile (tests): Add bug-iconv8.
9537 * iconvdata/bug-iconv8.c: New file.
9538
da3c19ef
UD
9539 [BZ #12626]
9540 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9541 buf2 definition.
9542
ca408c15
UD
9543 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9544
d6f67f7d
UD
9545 [BZ #12432]
9546 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9547 (dummy_getcfa): New function.
9548 (init): Get _Unwind_GetCFA address, use dummy if not found.
9549 (backtrace_helper): In recursion check, also check whether CFA changes.
9550 (__backtrace): Completely initialize arg.
9551
1af4e298 9552 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
9553 storing incomplete byte sequence in state object. Avoid testing for
9554 guaranteed too small input if we know there is enough data available.
1af4e298 9555
da62f81b
AS
95562011-05-11 Andreas Schwab <schwab@redhat.com>
9557
9558 * Makeconfig (+link-pie): Indent.
9559 * Rules (binaries-pie): Define if $(have-fpie) and
9560 $(build-shared).
9561 (binaries-shared): Also filter out $(binaries-pie).
9562 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9563 * nscd/Makefile (others-pie): Add nscd.
9564 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9565 ($(objpfx)nscd): Remove command override.
9566 * login/Makefile (others-pie): Add pt_chown.
9567 ($(objpfx)pt_chown): Remove command override.
9568 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9569 remove command overrides.
9570
fcabc0f8
UD
95712011-05-13 Ulrich Drepper <drepper@gmail.com>
9572
20030ae6
UD
9573 * libio/tst_putwc.c: Fix error messages.
9574
fcabc0f8
UD
9575 [BZ #12724]
9576 * libio/fileops.c (_IO_new_file_close_it): Always flush when
9577 currently writing and seek to current position when not.
9578 * libio/Makefile (tests): Add bug-fclose1.
9579 * libio/bug-fclose1.c: New file.
9580
320a5dc0
PB
95812011-05-12 Ulrich Drepper <drepper@gmail.com>
9582
9583 [BZ #12511]
9584 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
9585 don't set DF_1_NODELETE here.
9586 (do_lookup_x): When entering new entry test for copy relocation
9587 and if necessary set DF_1_NODELETE flag.
9588 * elf/tst-unique4.cc: New file.
9589 * elf/tst-unique4.h: New file.
9590 * elf/tst-unique4lib.cc: New file.
9591 * elf/Makefile: Add rules to build and run tst-unique4.
9592 Patch by Piotr Bury <pbury@goahead.com>.
9593
22836f52
UD
95942011-05-11 Ulrich Drepper <drepper@gmail.com>
9595
f574184a
UD
9596 [BZ #12052]
9597 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9598
e1fb097f
UD
9599 [BZ #12625]
9600 * misc/mntent_r.c (addmntent): Flush the stream after the output
9601
22836f52
UD
9602 [BZ #12393]
9603 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9604 (is_trusted_path_normalize): Skip initial colon. Append slash
9605 to empty buffer. Duplicate is_trusted_path code but allow
9606 constructed patch to be prefix.
9607 (is_dst): Allow $ORIGIN followed by /.
9608 (_dl_dst_substitute): Correct clearing of check_for_trusted.
9609 Correct testing of result of is_trusted_path_normalize
9610 (decompose_rpath): Fix warning.
9611
7b3b0b2a
UD
96122011-05-10 Ulrich Drepper <drepper@gmail.com>
9613
9614 [BZ #11257]
9615 * grp/initgroups.c (internal_getgrouplist): When we found the service
9616 list through the initgroups entry in nsswitch.conf do not always
9617 continue on a successful lookup. Don't always use the
eac80ce2 9618 __nss_group_database value if it is set.
7b3b0b2a
UD
9619 * nss/nsswitch.conf (initgroups): Change action for successful db
9620 lookup to continue for compatibility.
9621
2a81eaa5
UD
96222011-05-09 Ulrich Drepper <drepper@gmail.com>
9623
be97a69e
UD
9624 [BZ #11532]
9625 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9626 and CP774 modules.
9627 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9628 and CP774 modules.
9629 * iconvdata/tst-tables.sh: Likewise.
9630 * iconvdata/cp770.c: New file.
9631 * iconvdata/cp771.c: New file.
9632 * iconvdata/cp772.c: New file.
9633 * iconvdata/cp773.c: New file.
9634 * iconvdata/cp774.c: New file.
9635 * iconvdata/testdata/CP770: New file.
9636 * iconvdata/testdata/CP770..UTF8: New file.
9637 * iconvdata/testdata/CP771: New file.
9638 * iconvdata/testdata/CP771..UTF8: New file.
9639 * iconvdata/testdata/CP772: New file.
9640 * iconvdata/testdata/CP772..UTF8: New file.
9641 * iconvdata/testdata/CP773: New file.
9642 * iconvdata/testdata/CP773..UTF8: New file.
9643 * iconvdata/testdata/CP774: New file.
9644 * iconvdata/testdata/CP774..UTF8: New file.
9645
9646 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9647 END CHARMAP line.
9648 * iconvdata/gen-8bit-gap.sh: Likewise.
9649 * iconvdata/gen-8bit.sh: Likewise.
9650
c1e9e399
UD
9651 * locale/iso-639.def: Add ary entry.
9652
24c55fb3 9653 [BZ #11258]
96b4b1b0
UD
9654 * locale/C-translit.h.in: Add U20A1 transliteration.
9655
bdc2f971
KB
9656 [BZ #12178]
9657 * locale/iso-639.def: Add wae entry.
9658 Patch by Kevin Bortis <bortis@translate-wae.ch>.
9659
2952b117
UD
9660 [BZ #12545]
9661 * locale/programs/localedef.c (construct_output_path): Use ssize_t
9662 for n.
9663
2a81eaa5
UD
9664 [BZ #12711]
9665 * locale/C-translit.h.in: Add entry for U20B9.
9666 Patch by pravin.d.s@gmail.com.
9667
28377d1b
UD
96682011-05-08 Ulrich Drepper <drepper@gmail.com>
9669
7fb90fb8
UD
9670 [BZ #12713]
9671 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9672 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
9673 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
9674 in rtld. Use *stat64.
7fb90fb8 9675 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 9676 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 9677 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
9678 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9679 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9680 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9681 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9682 __fstatat64 macros.
7fb90fb8
UD
9683 * include/dirent.h: Add libc_hidden_proto for rewinddir.
9684 * dirent/rewinddir.c: Add libc_hidden_def.
9685 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 9686 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 9687
28377d1b
UD
9688 * include/dirent.h (__alloc_dir): Add flags parameter.
9689 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9690 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9691 __alloc_dir.
9692 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
9693 from fdopendir if O_CLOEXEC is already set.
9694
66bdbaa4
AM
96952011-03-15 Alan Modra <amodra@gmail.com>
9696
9697 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9698 l_tls_firstbyte_offset non-zero. Save padding offset in
9699 l_tls_firstbyte_offset for later use.
9700 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9701 freeing static tls block.
9702
95721191
JN
97032011-03-05 Jonathan Nieder <jrnieder@gmail.com>
9704
9705 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9706 where #ifdef was intended. The intent is to prevent ARG_MAX from
9707 being defined by the kernel headers.
9708
f87dfb1f
UD
97092011-05-07 Ulrich Drepper <drepper@gmail.com>
9710
9711 [BZ #12734]
9712 * resolv/resolv.h: Define RES_NOTLDQUERY.
9713 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9714 no-tld-query and set RES_NOTLDQUERY.
9715 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9716 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9717 modern BIND to search name as TLD unless forbidden.
9718
47c3cd7a
UD
97192011-05-07 Petr Baudis <pasky@suse.cz>
9720 Ulrich Drepper <drepper@gmail.com>
9721
9722 [BZ #12393]
9723 * elf/dl-load.c (fillin_rpath): Move trusted path check...
9724 (is_trusted_path): ...to here.
c1e9ea35 9725 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 9726 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 9727 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 9728
8a35c912
PP
97292011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9730
9731 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9732 __BEGIN/__END_DECLS.
9733
acd41f47
UD
97342011-05-06 Ulrich Drepper <drepper@gmail.com>
9735
9736 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9737 NSS_STATUS_NOTFOUND if no record was found.
9738
597df647
AS
97392011-05-05 Andreas Schwab <schwab@redhat.com>
9740
9741 * sunrpc/Makefile (headers): Add rpc/netdb.h.
9742 (headers-not-in-tirpc): Remove rpc/netdb.h
9743 * resolv/netdb.h: Revert last change.
9744
b9af1301
PP
97452011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9746
9747 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9748 circular dependency between libgcc.a and libc.a.
9749
4e34d5f5
AS
97502011-05-05 Andreas Schwab <schwab@redhat.com>
9751
9752 * resolv/netdb.h: Don't include <rpc/netdb.h>.
9753 * nis/Makefile: Don't install rpcsvc/*.
9754 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9755 instead of <rpc/types.h>.
9756 (MAXHOSTNAMELEN): Define.
9757
00ee369c
AS
97582011-05-03 Andreas Schwab <schwab@redhat.com>
9759
9760 * elf/ldconfig.c (add_dir): Don't crash on empty path.
9761
0b592a30
MB
97622011-04-28 Maciej Babinski <mbabinski@google.com>
9763
9764 [BZ #12714]
9765 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9766 gethostbyname4_r when IPv6 results are possible.
9767
6e04cbbe
UD
97682011-05-02 Ulrich Drepper <drepper@gmail.com>
9769
9770 [BZ #12723]
9771 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9772 _PC_PIPE_BUF handling.
9773
e4ecafe0
BH
97742011-04-30 Bruno Haible <bruno@clisp.org>
9775
9776 [BZ #12717]
9777 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9778 * resolv/netdb.h (getnameinfo): Change type of flags parameter
9779 to 'int'.
9780 * inet/getnameinfo.c (getnameinfo): Likewise.
9781
125ee683
UD
97822011-04-29 Ulrich Drepper <drepper@gmail.com>
9783
9784 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9785 to groups setting in database lookup.
9786 * nss/nsswitch.conf: Add initgroups entry.
9787
b722481a
EB
97882011-04-22 Ulrich Drepper <drepper@gmail.com>
9789
9790 [BZ #12685]
9791 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9792 mode string.
9793 Patch by Eric Blake <eblake@redhat.com>.
9794
4df46dbd
L
97952011-04-20 H.J. Lu <hongjiu.lu@intel.com>
9796
9797 * sunrpc/Makefile (need-export-routines): Add svc_run.
9798 (routines): Remove svc_run.
9799 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9800 * sunrpc/clnt_perr.c (clnt_perrno): Export.
9801 * sunrpc/svc_run.c (svc_run): Likewise.
9802 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9803
e84142d2
UD
98042011-04-21 Ulrich Drepper <drepper@gmail.com>
9805
9806 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9807 problem in reallocation in last patch.
9808
877175d8
UD
98092011-04-20 Ulrich Drepper <drepper@gmail.com>
9810
9811 * sunrpc/Makefile: Move inclusion of Rules.
9812
ab8eed78
UD
98132011-04-19 Ulrich Drepper <drepper@gmail.com>
9814
9815 * nss/nss_files/files-initgroups.c: New file.
9816 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9817 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9818 _nss_files_initgroups_dyn.
9819
e3d8f584
RS
98202011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9821
9822 * elf/elf.h (R_ARM_IRELATIVE): Define.
9823
af190f45
UD
98242011-04-19 Ulrich Drepper <drepper@gmail.com>
9825
9826 * po/ru.po: Update from translation team.
9827
53cf59ef
UD
98282011-04-17 Ulrich Drepper <drepper@gmail.com>
9829
9830 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9831 dependencies.
9832
4c559bcd
MF
98332011-02-06 Mike Frysinger <vapier@gentoo.org>
9834
9835 [BZ #12653]
9836 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9837 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9838 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9839 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9840 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9841
4420675c
AS
98422011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9843
9844 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9845 differing bytes.
9846 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9847 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9848 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9849
75ea32ab
UD
98502011-04-17 Ulrich Drepper <drepper@gmail.com>
9851
9852 [BZ #12420]
9853 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9854 storing it.
9855 * stdlib/bug-getcontext.c: New file.
9856 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9857
27390476
AK
98582011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9859
9860 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9861 instructions into .machine "z9-109".
9862 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9863 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9864
10442705
AK
98652011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9866
9867 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9868 between environment variables and auxiliary vector.
9869
7b57bfe5
UD
98702011-04-16 Ulrich Drepper <drepper@gmail.com>
9871
9872 * Makefile: Add rules to build linkobj/libc.so.
9873 * include/libc-symbols.h: Define libc_hidden_nolink.
9874 * include/rpc/auth.h: Mark functions which are to be hidden.
9875 * include/rpc/auth_des.h: Likewise.
9876 * include/rpc/auth_unix.h: Likewise.
9877 * include/rpc/clnt.h: Likewise.
9878 * include/rpc/des_crypt.h: Likewise.
9879 * include/rpc/key_prot.h: Likewise.
9880 * include/rpc/pmap_clnt.h: Likewise.
9881 * include/rpc/pmap_prot.h: Likewise.
9882 * include/rpc/pmap_rmt.h: Likewise.
9883 * include/rpc/rpc_msg.h: Likewise.
9884 * include/rpc/svc.h: Likewise.
9885 * include/rpc/svc_auth.h: Likewise.
9886 * include/rpc/xdr.h: Likewise.
9887 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9888 * nss/Makefile: Likewise.
9889 * sunrpc/Makefile: Don't install headers. Build library with normal
9890 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9891 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9892 for the compat linking library. Remove use of INTDEF/INTUSE.
9893 * sunrpc/auth_none.c: Likewise.
9894 * sunrpc/auth_unix.c: Likewise.
9895 * sunrpc/authdes_prot.c: Likewise.
9896 * sunrpc/authuxprot.c: Likewise.
9897 * sunrpc/clnt_gen.c: Likewise.
9898 * sunrpc/clnt_perr.c: Likewise.
9899 * sunrpc/clnt_raw.c: Likewise.
9900 * sunrpc/clnt_simp.c: Likewise.
9901 * sunrpc/clnt_tcp.c: Likewise.
9902 * sunrpc/clnt_udp.c: Likewise.
9903 * sunrpc/clnt_unix.c: Likewise.
9904 * sunrpc/des_crypt.c: Likewise.
9905 * sunrpc/des_soft.c: Likewise.
9906 * sunrpc/get_myaddr.c: Likewise.
9907 * sunrpc/key_call.c: Likewise.
9908 * sunrpc/key_prot.c: Likewise.
9909 * sunrpc/netname.c: Likewise.
9910 * sunrpc/pm_getmaps.c: Likewise.
9911 * sunrpc/pm_getport.c: Likewise.
9912 * sunrpc/pmap_clnt.c: Likewise.
9913 * sunrpc/pmap_prot.c: Likewise.
9914 * sunrpc/pmap_prot2.c: Likewise.
9915 * sunrpc/pmap_rmt.c: Likewise.
9916 * sunrpc/publickey.c: Likewise.
9917 * sunrpc/rpc_cmsg.c: Likewise.
9918 * sunrpc/rpc_common.c: Likewise.
9919 * sunrpc/rpc_dtable.c: Likewise.
9920 * sunrpc/rpc_prot.c: Likewise.
9921 * sunrpc/rpc_thread.c: Likewise.
9922 * sunrpc/rtime.c: Likewise.
9923 * sunrpc/svc.c: Likewise.
9924 * sunrpc/svc_auth.c: Likewise.
9925 * sunrpc/svc_authux.c: Likewise.
9926 * sunrpc/svc_raw.c: Likewise.
9927 * sunrpc/svc_run.c: Likewise.
9928 * sunrpc/svc_simple.c: Likewise.
9929 * sunrpc/svc_tcp.c: Likewise.
9930 * sunrpc/svc_udp.c: Likewise.
9931 * sunrpc/svc_unix.c: Likewise.
9932 * sunrpc/svcauth_des.c: Likewise.
9933 * sunrpc/xcrypt.c: Likewise.
9934 * sunrpc/xdr.c: Likewise.
9935 * sunrpc/xdr_array.c: Likewise.
9936 * sunrpc/xdr_float.c: Likewise.
9937 * sunrpc/xdr_intXX_t.c: Likewise.
9938 * sunrpc/xdr_mem.c: Likewise.
9939 * sunrpc/xdr_rec.c: Likewise.
9940 * sunrpc/xdr_ref.c: Likewise.
9941 * sunrpc/xdr_sizeof.c: Likewise.
9942 * sunrpc/xdr_stdio.c: Likewise.
9943
e6c61494
UD
99442011-04-10 Ulrich Drepper <drepper@gmail.com>
9945
9946 [BZ #12650]
9947 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9948 * sysdeps/ia64/dl-tls.h: Likewise.
9949 * sysdeps/powerpc/dl-tls.h: Likewise.
9950 * sysdeps/s390/dl-tls.h: Likewise.
9951 * sysdeps/sh/dl-tls.h: Likewise.
9952 * sysdeps/sparc/dl-tls.h: Likewise.
9953 * sysdeps/x86_64/dl-tls.h: Likewise.
9954 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9955
34fe483e
AS
99562011-03-14 Andreas Schwab <schwab@redhat.com>
9957
9958 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9959 rpath element also skip the following colon.
9960 (expand_dynamic_string_token): Add is_path parameter and pass
9961 down to DL_DST_REQUIRED and _dl_dst_substitute.
9962 (decompose_rpath): Call expand_dynamic_string_token with
9963 non-zero is_path. Ignore empty rpaths.
9964 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9965 with zero is_path.
9966
f12a32e6
AS
99672011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9968
9969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9970 Make cancelable.
9971
38a7d692
UD
99722011-04-09 Ulrich Drepper <drepper@gmail.com>
9973
9974 [BZ #12655]
9975 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9976 Patch by Filipe David Manana <fdmanana@apache.org>.
9977
e451d22b
AS
99782011-04-07 Andreas Schwab <schwab@redhat.com>
9979
9980 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9981 Maintain aligned stack.
9982 (CHECK_RSP): Remove unused macro.
9983
dedc7c7b
UD
99842011-04-03 Ulrich Drepper <drepper@gmail.com>
9985
9986 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9987 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9988
94521213
UD
99892011-04-02 Ulrich Drepper <drepper@gmail.com>
9990
9991 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9992
8cb700c0 9993 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 9994
0354e355
L
99952011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9996
9997 [BZ #12518]
9998 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9999 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
10000 * sysdeps/x86_64/memmove.c: New file.
10001 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
10002 (memcpy): Renamed to ...
10003 (__new_memcpy): This.
10004 (memcpy): Provide GLIBC_2_14 memcpy.
10005 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
10006 (memcpy): Provide GLIBC_2_2_5 memcpy.
10007
8593482f
UD
100082011-04-01 Ulrich Drepper <drepper@gmail.com>
10009
10010 [BZ #12631]
10011 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
10012
81a5726b
AS
100132011-03-30 Andreas Schwab <schwab@redhat.com>
10014
10015 * misc/syncfs.c: New file.
10016 * misc/Makefile (routines): Add syncfs.
10017 * posix/unistd.h: Declare syncfs.
10018 * sysdeps/unix/syscalls.list: Add syncfs.
10019
00e5419f
AS
100202011-04-01 Andreas Schwab <schwab@redhat.com>
10021
10022 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
10023 open_by_handle_at.
10024 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
10025 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10026 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10027 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10028 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10029 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
10030 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10031
748876bf
UD
100322011-04-01 Ulrich Drepper <drepper@gmail.com>
10033
658e451d
UD
10034 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
10035 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10036 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
10037 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10038 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10039 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10040 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10041
748876bf
UD
10042 * io/Makefile: Compile fallocate.c, fallocate64.c, and
10043 sync_file_range.c with -fexceptions.
10044 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
10045 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
10046 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
10047 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
10048 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
10049 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10050 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
10051 sync_file_range as cancellation point
10052 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
10053 now a wrapper around __call_sync_file_range with cancellation handling.
10054 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
10055 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
10056 function name to __call_sync_file_range.
10057 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
10058 Add call_sync_file_range.
748876bf 10059
6e63d5e1
AS
100602011-04-01 Andreas Schwab <schwab@redhat.com>
10061
10062 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 10063 bits/timex.h.
6e63d5e1 10064
46998f74
UD
100652011-04-01 Ulrich Drepper <drepper@gmail.com>
10066
4c1423ed
UD
10067 * iconv/iconv.h: Fix typo in comment.
10068 * io/fcntl.h: Likewise.
10069 * libio/stdio.h: Likewise.
10070 * posix/spawn.h: Likewise.
10071 * posix/unistd.h: Likewise.
10072 * stdlib/stdlib.h: Likewise.
10073 * time/time.h: Likewise.
10074 * wcsmbs/wchar.h: Likewise.
10075
158648c0
UD
10076 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
10077 open_by_handle): Add.
10078 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
10079 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
10080 Augment a few comments.
10081 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
10082 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
10083 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
10084 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
10085 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
10086 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
10087 open_by_handle.
10088
46998f74
UD
10089 * io/fcntl.h (AT_EMPTY_PATH): Define.
10090
83fe108b
UD
100912011-03-30 Ulrich Drepper <drepper@gmail.com>
10092
10093 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
10094 * sysdeps/unix/sysv/linux/bits/time.h: New file.
10095 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
10096 to...
10097 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
10098 * Versions.def: Add GLIBC_2.14.
10099 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
10100 Export.
83fe108b 10101
bb242059
UD
101022011-03-22 Ulrich Drepper <drepper@gmail.com>
10103
10104 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
10105 round counter.
10106 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10107
c97a1282
L
101082011-03-20 H.J. Lu <hongjiu.lu@intel.com>
10109
10110 [BZ #12597]
10111 * string/test-strncmp.c (do_page_test): New function.
10112 (check2): Likewise.
10113 (test_main): Call check2.
10114 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
10115
2a115601
UD
101162011-03-20 Ulrich Drepper <drepper@gmail.com>
10117
10118 [BZ #12587]
10119 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
10120 Handle cache information in CPU leaf 4.
10121 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
10122
8126d904
UD
101232011-03-18 Ulrich Drepper <drepper@gmail.com>
10124
042c49c6 10125 [BZ #12583]
8126d904
UD
10126 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
10127 character representation.
10128 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
10129
ccfe366e
RA
101302011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
10131
10132 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
10133 END(__isnan) to END(__isnanf) to match function entry point/label
10134 EALIGN(__isnanf,...).
10135
c6e13027
JJ
101362011-03-10 Jakub Jelinek <jakub@redhat.com>
10137
10138 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
10139
33f85a3f
UD
101402011-03-10 Ulrich Drepper <drepper@gmail.com>
10141
028478fa
UD
10142 [BZ #12510]
10143 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
10144 copy from the symbol referenced in the relocation to initialize the
10145 used variable.
10146 Patch by Piotr Bury <pbury@goahead.com>.
10147 * elf/Makefile: Add rules to build and tst-unique3.
10148 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
10149 * elf/tst-unique3.cc: New file.
10150 * elf/tst-unique3.h: New file.
10151 * elf/tst-unique3lib.cc: New file.
10152 * elf/tst-unique3lib2.cc: New file.
10153
33f85a3f
UD
10154 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
10155
03592fc7
MF
101562011-03-10 Mike Frysinger <vapier@gentoo.org>
10157
10158 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
10159 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
10160 to _start.
03592fc7 10161
6a5ee102
UD
101622011-03-06 Ulrich Drepper <drepper@gmail.com>
10163
10164 * elf/dl-load.c (_dl_map_object): If we are looking for the first
10165 to-be-loaded object along a path to loader is ld.so.
10166
7e4ba49c
HJ
101672011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10168 Ulrich Drepper <drepper@gmail.com>
10169
10170 * sysdeps/x86_64/memset.S: After aligning destination, code
10171 branches to different locations depending on the value of
10172 misalignment, when multiarch is enabled. Fix this.
10173
101742011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
10175
10176 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
10177 Set _x86_64_preferred_memory_instruction for AMD processsors.
10178 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10179 Set bit_Prefer_SSE_for_memop for AMD processors.
10180
13a804de
UD
101812011-03-04 Ulrich Drepper <drepper@gmail.com>
10182
10183 * libio/fmemopen.c (fmemopen): Optimize a bit.
10184
9d25c392
AS
101852011-03-03 Andreas Schwab <schwab@redhat.com>
10186
10187 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
10188
a5543c6a
RM
101892011-03-03 Roland McGrath <roland@redhat.com>
10190
10191 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
10192
012d35f7
DM
101932011-02-28 Aurelien Jarno <aurelien@aurel32.net>
10194
7e4ba49c 10195 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
10196 __bzero_ultra1 instead of __memset_ultra1.
10197
4bff6e01
AS
101982011-02-23 Andreas Schwab <schwab@redhat.com>
10199 Ulrich Drepper <drepper@gmail.com>
10200
10201 [BZ #12509]
10202 * include/link.h (struct link_map): Add l_orig_initfini.
10203 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
10204 returning unsuccessfully.
10205 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
10206 close of a file loaded at startup, restore the original l_initfini
10207 list.
10208 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
10209 list, store the pointer.
10210 * elf/Makefile ($(objpfx)noload-mem): New rule.
10211 (noload-ENV): Define.
10212 (tests): Add $(objpfx)noload-mem.
10213 * elf/noload.c: Include <memcheck.h>.
10214 (main): Call mtrace. Close all opened handles.
10215
f2092faf
AS
102162011-02-17 Andreas Schwab <schwab@redhat.com>
10217
10218 [BZ #12454]
10219 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
10220 dependencies are missing.
10221
6c8a2e88
ST
102222011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
10223
f2092faf 10224 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
10225 Hurd needs munmap.
10226 * sysdeps/mach/hurd/ifreq.h: New file.
10227
84a42118
PB
102282011-01-27 Petr Baudis <pasky@suse.cz>
10229 Ulrich Drepper <drepper@gmail.com>
10230
071f805e 10231 [BZ 12445]#
84a42118
PB
10232 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
10233 to extend_alloca().
10234 * stdio-common/bug23.c: New file.
10235 * stdio-common/Makefile (tests): Add bug23.
10236
e23fe25b
AS
102372010-09-28 Andreas Schwab <schwab@redhat.com>
10238 Ulrich Drepper <drepper@gmail.com>
10239
10240 [BZ #12489]
10241 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
10242 before performing relro protection. At old place add assertion
10243 to make sure nothing changed.
10244
d3f02e10
NS
102452011-02-17 Nathan Sidwell <nathan@codesourcery.com>
10246 Glauber de Oliveira Costa <glommer@gmail.com>
10247
10248 * elf/elf.h: Add new ARM TLS relocs.
10249
d55fd7a5
RA
102502011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
10251
10252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10253 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
10254 cast from r3.
10255 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
10256 'tests' variable.
10257 * sysdeps/wordsize-64/tst-writev.c: New file.
10258
2206397e
RA
102592011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
10260
10261 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
10262 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
10263 insns in _dl_start to prevent a TOC reference before relocs are
10264 resolved.
10265
e9433893
UD
102662011-02-15 Ulrich Drepper <drepper@gmail.com>
10267
10268 [BZ #12469]
10269 * Makeconfig: Remove RANLIB definition.
10270 * Makerules: Don't use RANLIB.
10271 * aclocal.m4: Remove ranlib test.
10272 * configure.in: No need to check for ranlib.
10273 * elf/rtld-Rules: Don't use RANLIB.
10274
f75286c6
ST
102752011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10276
8e31c82d
ST
10277 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
10278 protection macro.
10279 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
10280 inclusion protection macro.
10281
f75286c6
ST
10282 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
10283 SIGRTMIN and SIGRTMAX and print information in that case only when
10284 SIGRTMIN is defined.
10285
c1d0e639
JJ
102862011-02-11 Jakub Jelinek <jakub@redhat.com>
10287
10288 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
10289 arginfo fn returning -1.
10290
10291 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
10292 and thousands string is zero terminated.
10293
edf9294e
AS
102942011-02-03 Andreas Schwab <schwab@redhat.com>
10295
10296 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
10297 sysdeps/unix/sysv/linux/bits/socket.h.
10298
2b7e92df
ST
102992011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10300
edf9294e
AS
10301 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
10302 (__CPU_COUNT): Remove old macros.
10303 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
10304 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
10305 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
10306 (__sched_cpualloc, __sched_cpufree): Add declarations.
10307
a4c7ea7b
UD
103082011-02-05 Ulrich Drepper <drepper@gmail.com>
10309
10310 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
10311 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
10312 * nscd/aicache.c (addhstaiX): Return timeout of added value.
10313 (readdhstai): Return value of addhstaiX call.
10314 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
10315 (addgrbyX): Return value returned by cache_addgr.
10316 (readdgrbyname): Return value returned by addgrbyX.
10317 (readdgrbygid): Likewise.
10318 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
10319 (addpwbyX): Return value returned by cache_addpw.
10320 (readdpwbyname): Return value returned by addhstbyX.
10321 (readdpwbyuid): Likewise.
10322 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
10323 (addservbyX): Return value returned by cache_addserv.
10324 (readdservbyname): Return value returned by addservbyX:
10325 (readdservbyport): Likewise.
10326 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
10327 (addhstbyX): Return value returned by cache_addhst.
10328 (readdhstbyname): Return value returned by addhstbyX.
10329 (readdhstbyaddr): Likewise.
10330 (readdhstbynamev6): Likewise.
10331 (readdhstbyaddrv6): Likewise.
10332 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
10333 (readdinitgroups): Return value returned by addinitgroupsX.
10334 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
10335 (prune_cache): Keep track of timeout value of re-added entries.
10336 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
10337 * nscd/nscd.h: Adjust prototypes of readd* functions.
10338
a0bf67cc
RM
103392011-02-04 Roland McGrath <roland@redhat.com>
10340
10341 * nis/nis_server.c (nis_servstate): Use the right name for 0.
10342 (nis_stats): Likewise.
10343 * nis/nis_modify.c (nis_modify): Likewise.
10344 * nis/nis_remove.c (nis_remove): Likewise.
10345 * nis/nis_add.c (nis_add): Likewise.
10346
10347 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
10348
10349 * posix/fnmatch_loop.c: Add some consts.
10350
10351 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
10352
435b95eb
L
103532011-02-02 H.J. Lu <hongjiu.lu@intel.com>
10354
10355 [BZ #12460]
10356 * config.make.in (config-cflags-novzeroupper): Define.
10357 * configure.in: Substitute libc_cv_cc_novzeroupper.
10358 * elf/Makefile (AVX-CFLAGS): Define.
10359 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
10360 (CFLAGS-tst-auditmod4a.c): Likewise.
10361 (CFLAGS-tst-auditmod4b.c): Likewise.
10362 (CFLAGS-tst-auditmod6b.c): Likewise.
10363 (CFLAGS-tst-auditmod6c.c): Likewise.
10364 (CFLAGS-tst-auditmod7b.c): Likewise.
10365 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
10366
8517b15e
UD
103672011-02-02 Ulrich Drepper <drepper@gmail.com>
10368
10369 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
10370 function to the callback.
10371 Patch partly by Jiri Olsa <jolsa@redhat.com>.
10372
10a656fe
AS
103732011-02-02 Andreas Schwab <schwab@redhat.com>
10374
10375 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
10376 of errno.
10377
968dad0a
UD
103782011-01-19 Ulrich Drepper <drepper@gmail.com>
10379
9f94d2ea 10380 [BZ #11724]
968dad0a
UD
10381 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
10382 of constructors.
10383 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
10384 of destructors.
10385 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
10386
10387 [BZ #11724]
10388 * elf/Makefile: Add rules to build and run new test.
10389 * elf/tst-initorder.c: New file.
10390 * elf/tst-initorder.exp: New file.
10391 * elf/tst-initordera1.c: New file.
10392 * elf/tst-initordera2.c: New file.
10393 * elf/tst-initordera3.c: New file.
10394 * elf/tst-initordera4.c: New file.
10395 * elf/tst-initorderb1.c: New file.
10396 * elf/tst-initorderb2.c: New file.
10397 * elf/tst-order-a1.c: New file.
10398 * elf/tst-order-a2.c: New file.
10399 * elf/tst-order-a3.c: New file.
10400 * elf/tst-order-a4.c: New file.
10401 * elf/tst-order-b1.c: New file.
10402 * elf/tst-order-b2.c: New file.
10403 * elf/tst-order-main.c: New file.
10404 New test case by George Gensure <werkt0@gmail.com>.
10405
86e92359
UD
104062010-10-01 Andreas Schwab <schwab@redhat.com>
10407
10408 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10409 decoding ACE if AI_CANONIDN.
10410
5d5732b0
UD
104112011-01-18 Ulrich Drepper <drepper@gmail.com>
10412
10413 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
10414
a77e8cbc
UD
104152011-01-17 Ulrich Drepper <drepper@gmail.com>
10416
6392473f
UD
10417 * version.h (RELEASE): Bump for 2.13 release.
10418 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
10419
620a0529
UD
10420 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
10421
18ba70a5
UD
10422 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
10423 MADV_NOHUGEPAGE.
32465c3e
UD
10424 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
10425 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10426 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10427 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10428 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10429 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10430
c0dafcf1
UD
10431 * posix/getconf.c: Update copyright year.
10432 * catgets/gencat.c: Likewise.
10433 * csu/version.c: Likewise.
10434 * debug/catchsegv.sh: Likewise.
10435 * debug/xtrace.sh: Likewise.
10436 * elf/ldconfig.c: Likewise.
10437 * elf/ldd.bash.in: Likewise.
10438 * elf/sprof.c (print_version): Likewise.
10439 * iconv/iconv_prog.c: Likewise.
10440 * iconv/iconvconfig.c: Likewise.
10441 * locale/programs/locale.c: Likewise.
10442 * locale/programs/localedef.c: Likewise.
10443 * malloc/memusage.sh: Likewise.
10444 * malloc/mtrace.pl: Likewise.
10445 * nscd/nscd.c (print_version): Likewise.
10446 * nss/getent.c: Likewise.
10447
a77e8cbc
UD
10448 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
10449 PF_CAIF, and PF_ALG.
10450 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10451
77e8bddf
AS
104522011-01-16 Andreas Schwab <schwab@linux-m68k.org>
10453
1f20b93a
AS
10454 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
10455 (modules-names): Use them.
10456 (ifunc-test-modules, ifunc-pie-tests): Define.
10457 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10458 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10459 (test-extras): Likewise.
10460 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10461 $(compile-command.c).
10462 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10463 (all-built-dso): Define.
10464 (check-textrel.out, check-execstack.out): Depend on it.
10465
77e8bddf
AS
10466 * configure.in: Don't override --enable-multi-arch.
10467
bc425b33
UD
104682011-01-15 Ulrich Drepper <drepper@gmail.com>
10469
10470 [BZ #6812]
10471 * nscd/hstcache.c (tryagain): Define.
10472 (cache_addhst): Return tryagain not notfound for temporary errors.
10473 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10474 failed.
10475
794c3ad3
UD
104762011-01-14 Ulrich Drepper <drepper@gmail.com>
10477
70181fdd
UD
10478 [BZ #10563]
10479 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10480 to make the syscall.
10481 * sysdeps/unix/sysv/linux/setgroups.c: New file.
10482
794c3ad3
UD
10483 [BZ #12378]
10484 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10485 and fall back to matching as normal character if the string ends before
10486 the matching ']' is found. This is what POSIX requires.
10487 * posix/testfnm.c: Adjust test result.
10488 * posix/globtest.sh: Adjust test result. Add new test.
10489 * posix/tst-fnmatch.input: Likewise.
10490 * posix/tst-fnmatch2.c: Add new test.
10491
68dc9497
AS
104922010-12-28 Andreas Schwab <schwab@linux-m68k.org>
10493
10494 * elf/Makefile (check-execstack): Revert last change. Depend on
10495 check-execstack.h.
10496 (check-execstack.h): New target.
10497 (generated): Add check-execstack.h.
10498 * elf/check-execstack.c: Include "check-execstack.h".
10499 (main): Revert last change.
10500 (handle_file): Return zero if GNU_STACK is absent and
10501 DEFAULT_STACK_PERMS doesn't include PF_X.
10502
451f001b
UD
105032011-01-13 Ulrich Drepper <drepper@gmail.com>
10504
cfa28e56
UD
10505 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10506 in child fails because the descriptor is already closed.
8cf8ce17
UD
10507 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10508 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10509 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 10510
1086d70d
UD
10511 [BZ #12397]
10512 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10513 syscall.
10514
451f001b
UD
10515 [BZ #10484]
10516 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10517 temporary buffer used to handle multi lookups locally.
a85b5cb4 10518 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 10519
08769175
UD
105202011-01-12 Ulrich Drepper <drepper@gmail.com>
10521
10522 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10523 loader is ld.so.
10524
5e49c52e
UD
105252011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
10526
10527 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10528 alignment for SSE2.
10529
60522a5f
UD
105302011-01-12 Ulrich Drepper <drepper@gmail.com>
10531
10532 [BZ #12394]
10533 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10534 characters. When rounding increased number of integer digits recompute
10535 number of groups.
10536 * stdio-common/tst-grouping.c: New file.
10537 * stdio-common/Makefile: Add rules to build and run tst-grouping.
10538
f257bbd7
UD
105392011-01-09 Ulrich Drepper <drepper@gmail.com>
10540
10541 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10542 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
10543
10544 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10545 void.
10546 * bits/select.h: Likewise.
10547
fa9c15cb
UD
105482011-01-08 Ulrich Drepper <drepper@gmail.com>
10549
10550 * po/ja.po: Update from translation team.
10551
16c2895f
DM
105522011-01-04 David S. Miller <davem@sunset.davemloft.net>
10553
10554 [BZ #11155]
10555 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10556 implementation just like for lxstat, fxstatat, et al.
10557
2543fef2
JM
105582010-12-27 Jim Meyering <meyering@redhat.com>
10559
10560 [BZ #12348]
10561 * posix/regexec.c (build_trtable): Return failure indication upon
10562 calloc failure. Otherwise, re_search_internal could infloop on OOM.
10563
98727dbe
UD
105642010-12-25 Ulrich Drepper <drepper@gmail.com>
10565
5bd6dc5c
UD
10566 [BZ #12201]
10567 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10568 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10569 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10570 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
10571
97983464
UD
10572 [BZ #12207]
10573 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
10574
98727dbe
UD
10575 [BZ #12204]
10576 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
10577 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
10578
4a531bb0
L
105792010-12-15 H.J. Lu <hongjiu.lu@intel.com>
10580
10581 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
10582 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
10583 script has SORT_BY_INIT_PRIORITY.
10584 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
10585 NO_CTORS_DTORS_SECTIONS is defined.
10586 * elf/soinit.c: Likewise.
10587 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
10588 NO_CTORS_DTORS_SECTIONS is defined.
10589 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
10590 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10591 * sysdeps/sh/init-first.c: Likewise.
10592 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10593
07eb4b71
UD
105942010-12-24 Ulrich Drepper <drepper@gmail.com>
10595
10596 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10597 always use the slow path.
10598
30950a5f
RA
105992010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
10600
10601 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10602 similar rule which adds the sysdep directories to the header search in
10603 order to pick up the correct platform stackinfo.h.
10604 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10605 perform test if it is, otherwise return successfully without testing.
10606 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10607 DEFAULT_STACK_PERMS define in stackinfo.h.
10608 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10609 defined in stackinfo.h.
10610 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10611 DEFAULT_STACK_PERMS defined in stackinfo.h.
10612 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10613 * sysdeps/ia64/stackinfo.h: Likewise.
10614 * sysdeps/s390/stackinfo.h: Likewise.
10615 * sysdeps/sh/stackinfo.h: Likewise.
10616 * sysdeps/sparc/stackinfo.h: Likewise.
10617 * sysdeps/x86_64/stackinfo.h: Likewise.
10618 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10619 PF_X for powerpc64. Retain PF_X for powerpc32.
10620
db753e2c
UD
106212010-12-19 Ulrich Drepper <drepper@gmail.com>
10622
14b697f7
UD
10623 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10624 accurately.
db753e2c
UD
10625 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10626 GETDENTS_64BIT_ALIGNED.
10627
28300719
UD
106282010-12-14 Ulrich Drepper <dreper@gmail.com>
10629
14b697f7 10630 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 10631
4f197237
AS
106322010-12-10 Andreas Schwab <schwab@redhat.com>
10633
dbb0472f
AS
10634 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10635 _GNU_SOURCE.
10636
4f197237
AS
10637 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10638 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10639 Remove __restrict.
10640 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10641 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10642
fb88ac72
UD
106432010-12-09 Ulrich Drepper <drepper@gmail.com>
10644
10645 [BZ #11655]
10646 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10647 are initialized.
10648
42acbb92
JJ
106492010-12-09 Jakub Jelinek <jakub@redhat.com>
10650
10651 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10652
c038d98d
UD
106532010-12-03 Ulrich Drepper <drepper@gmail.com>
10654
10655 * po/it.po: Update from translation team.
10656
3a4a2499
L
106572010-12-01 H.J. Lu <hongjiu.lu@intel.com>
10658
10659 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10660 unused codes.
10661
1e24cf6e
UD
106622010-11-30 Ulrich Drepper <drepper@gmail.com>
10663
10664 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10665
a7690819
AS
106662010-11-24 Andreas Schwab <schwab@redhat.com>
10667
10668 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10669 specially.
10670 (gaih_getanswer_slice): Likewise.
10671
3bf8d1b1
JJ
106722010-10-20 Jakub Jelinek <jakub@redhat.com>
10673
10674 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10675
6db52fbb
PB
106762010-05-31 Petr Baudis <pasky@suse.cz>
10677
10678 [BZ #11149]
10679 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10680 silently even in the chroot mode.
10681
eaca7569
UD
106822010-11-22 Ulrich Drepper <drepper@gmail.com>
10683
10684 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10685 last patch a bit. Pretty printing
10686
3056dcdb
UD
106872010-05-31 Petr Baudis <pasky@suse.cz>
10688
10689 [BZ #10085]
10690 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10691 initialization of skip_initgroups_dyn.
10692
cf7c9078
UD
106932010-11-19 Ulrich Drepper <drepper@gmail.com>
10694
10695 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10696 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10697
a1fb5e3e
UD
106982010-11-16 Ulrich Drepper <drepper@gmail.com>
10699
10700 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10701
3540d66b
AS
107022010-11-11 Andreas Schwab <schwab@redhat.com>
10703
10704 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10705 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10706 (tst-fnmatch-ENV): Set MALLOC_TRACE.
10707 ($(objpfx)tst-fnmatch-mem): New rule.
10708 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10709 * posix/tst-fnmatch.c (main): Call mtrace.
10710
13b69574
L
107112010-11-11 H.J. Lu <hongjiu.lu@intel.com>
10712
10713 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10714 Support Intel processor model 6 and model 0x2c.
10715
da93d214
LM
107162010-11-10 Luis Machado <luisgpm@br.ibm.com>
10717
10718 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10719 signed comparison.
10720
8ca52c6e
L
107212010-11-09 H.J. Lu <hongjiu.lu@intel.com>
10722
10723 [BZ #12205]
10724 * string/test-strncasecmp.c (check_result): New function.
10725 (do_one_test): Use it.
10726 (check1): New function.
10727 (test_main): Use it.
10728 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10729 Support strcasecmp and strncasecmp.
10730
69da074d
UD
107312010-11-08 Ulrich Drepper <drepper@gmail.com>
10732
10733 [BZ #12194]
10734 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10735 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10736
ff02d528
L
107372010-11-07 H.J. Lu <hongjiu.lu@intel.com>
10738
10739 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10740 IFUNC support.
10741 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10742 memset-x86-64.
10743 * sysdeps/x86_64/multiarch/bzero.S: New file.
10744 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10745 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10746 * sysdeps/x86_64/multiarch/memset.S: New file.
10747 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10748 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10749 Set bit_Prefer_SSE_for_memop for Intel processors.
10750 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10751 Define.
10752 (index_Prefer_SSE_for_memop): Define.
10753 (HAS_PREFER_SSE_FOR_MEMOP): Define.
10754
344d0b54
LM
107552010-11-04 Luis Machado <luisgpm@br.ibm.com>
10756
10757 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10758 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10759
c0dde15b
UD
107602010-11-03 H.J. Lu <hongjiu.lu@intel.com>
10761
10762 [BZ #12191]
10763 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10764 (__x86_64_raw_data_cache_size_half): Likewise.
10765 (__x86_64_raw_shared_cache_size): Likewise.
10766 (__x86_64_raw_shared_cache_size_half): Likewise.
10767
10768 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10769 (__x86_64_raw_data_cache_size_half): Likewise.
10770 (__x86_64_raw_shared_cache_size): Likewise.
10771 (__x86_64_raw_shared_cache_size_half): Likewise.
10772 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10773 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10774 and __x86_64_raw_shared_cache_size_half. Round
10775 __x86_64_data_cache_size_half, __x86_64_data_cache_size
10776 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10777 to multiple of 256 bytes.
10778
0e516e0e
MS
107792010-11-03 Ulrich Drepper <drepper@gmail.com>
10780
10781 [BZ #12167]
10782 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10783 of inacessible symlinks. Verify result of symlink before returning it.
10784 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10785 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10786
0e012e87
ER
107872010-10-28 Erich Ritz <erichritz@gmail.com>
10788
10789 * math/math.h (isinf): Fix typo in comment.
10790
de0ff7bc
UD
107912010-11-01 Ulrich Drepper <drepper@gmail.com>
10792
10793 * po/da.po: Update from translation team.
10794
fa41c84d
UD
107952010-10-26 Ulrich Drepper <drepper@gmail.com>
10796
10797 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10798 is added to the list.
10799
f0967738
AK
108002010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10801 Ulrich Drepper <drepper@gmail.com>
10802
10803 * elf/dl-object.c (_dl_new_object): Don't append the new object to
10804 the global list here. Move code to...
10805 (_dl_add_to_namespace_list): ...here. New function.
10806 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10807 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10808 * elf/dl-load.c (lose): Don't remove the element from the list.
10809 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10810 (_dl_map_object): Likewise.
10811
108122010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
10813
10814 [BZ #12159]
10815 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10816 into all bytes of SSE register.
10817 Patch by Richard Li <richardpku@gmail.com>.
10818
f0967738 108192010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
10820
10821 [BZ #12140]
10822 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10823 perturbing.
10824
d0b9e94f
MB
108252010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10826
10827 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10828 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10829 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10830 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10832 submachine.
10833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10834
8e9f92e9
AS
108352010-10-22 Andreas Schwab <schwab@redhat.com>
10836
10837 * include/dlfcn.h (__RTLD_SECURE): Define.
10838 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10839 mode & __RTLD_SECURE instead.
10840 (open_path): Rename preloaded parameter to secure.
10841 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10842 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10843 * elf/dl-deps.c (openaux): Likewise.
10844 * elf/rtld.c (struct map_args): Remove is_preloaded.
10845 (map_doit): Don't use it.
10846 (dl_main): Likewise.
10847 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10848 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10849
bc96fbda
AS
108502010-09-09 Andreas Schwab <schwab@redhat.com>
10851
10852 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10853 (sysd-rules-targets): Remove duplicates.
10854 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10855 rtld-%.$o dependency.
10856
22cd1c9b
AS
108572010-10-18 Andreas Schwab <schwab@redhat.com>
10858
10859 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10860 _dl_map_object do it.
10861
18edac48
UD
108622010-10-19 Ulrich Drepper <drepper@gmail.com>
10863
10864 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10865 fast fma builtins, define the macros in the C99 standard.
10866 (FP_FAST_FMAF): Likewise.
10867 (FP_FAST_FMAL): Likewise.
10868 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10869
10870 * bits/mathdef.h: Update copyright year.
10871 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10872
d2050124
MM
108732010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10874
10875 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10876 builtins, define the macros in the C99 standard.
10877 (FP_FAST_FMAF): Likewise.
10878 (FP_FAST_FMAL): Likewise.
10879 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10880 multiply/add.
10881 (FP_FAST_FMAF): Likewise.
10882
475facd1
JJ
108832010-10-15 Jakub Jelinek <jakub@redhat.com>
10884
10885 [BZ #3268]
10886 * math/libm-test.inc (fma_test): Some new testcases.
10887 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10888 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10889 y and infinite z. Do multiplication by C already in long double.
10890 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10891 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10892 y and infinite z. Do bitwise or of inexact bit into u.d.
10893 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10894 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10895 * sysdeps/i386/fpu/s_fma.S: Removed.
10896 * sysdeps/i386/fpu/s_fmal.S: Removed.
10897
7c08a05c
JJ
108982010-10-16 Jakub Jelinek <jakub@redhat.com>
10899
10900 [BZ #3268]
10901 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10902 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10903 computation is not scheduled after fetestexcept. Fix value
10904 of minimum denormal long double.
10905
f3f7372d
JJ
109062010-10-14 Jakub Jelinek <jakub@redhat.com>
10907
10908 [BZ #3268]
10909 * math/libm-test.inc (fma_test): Add some more tests.
10910 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10911 correctly.
10912
14d43591
AS
109132010-10-15 Andreas Schwab <schwab@redhat.com>
10914
10915 * scripts/data/localplt-s390-linux-gnu.data: New file.
10916 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10917
5e908464
JJ
109182010-10-13 Jakub Jelinek <jakub@redhat.com>
10919
10920 [BZ #3268]
10921 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10922 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10923 instead of dbl-64.
10924 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10925 inlines.
10926 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10927 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10928 if one of x and y is very large and the other is subnormal.
10929 * sysdeps/s390/fpu/s_fmaf.c: New file.
10930 * sysdeps/s390/fpu/s_fma.c: New file.
10931 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10932 * sysdeps/powerpc/fpu/s_fma.S: New file.
10933 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10934 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10935 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10936
109372010-10-12 Jakub Jelinek <jakub@redhat.com>
10938
10939 [BZ #3268]
10940 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10941 fma tests.
10942 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10943 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10944 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10945 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10946 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10947 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10948 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10949
b833d51f
UD
109502010-10-12 Ulrich Drepper <drepper@redhat.com>
10951
10952 [BZ #12078]
10953 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10954 * posix/bug-regex31.input: Add test case.
10955
1751705d
UD
109562010-10-11 Ulrich Drepper <drepper@gmail.com>
10957
e9b9cbf5
UD
10958 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10959 * posix/bug-regex31.input: New file.
10960
10961 [BZ #12078]
10962 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10963 (parse_sub_exp): Fix last change, use postorder.
10964
ef06edbe
UD
10965 * posix/bug-regex31.c: New file.
10966 * posix/Makefile: Add rules to build and run bug-regex31.
10967
a129c80d
UD
10968 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10969
10970 [BZ #12078]
10971 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10972
b76b818e
UD
10973 [BZ #12108]
10974 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10975 to have entries in sys_siglist.
10976
1751705d
UD
10977 [BZ #12093]
10978 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10979 be NULL.
10980
9ff8d36f
JJ
109812010-10-07 Jakub Jelinek <jakub@redhat.com>
10982
10983 [BZ #3268]
10984 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10985 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10986 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10987 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10988 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10989 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10990 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10991 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10992 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10993 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10994 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10995 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10996 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10997 * math/ftestexcept.c (fetestexcept): Likewise.
10998 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10999 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
11000 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
11001 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
11002 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
11003 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
11004 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11005
af325969
UD
110062010-10-11 Ulrich Drepper <drepper@gmail.com>
11007
c579b202 11008 [BZ #12107]
af325969
UD
11009 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
11010 newline.
11011
67a67b95
UD
110122010-10-06 Ulrich Drepper <drepper@gmail.com>
11013
11014 * string/bug-strstr1.c: New file.
11015 * string/Makefile: Add rules to build and run bug-strstr1.
11016
5fb308bc
EB
110172010-10-05 Eric Blake <eblake@redhat.com>
11018
11019 [BZ #12092]
11020 * string/str-two-way.h (two_way_long_needle): Always clear memory
11021 when skipping input due to the shift table.
11022
45db99c7
UD
110232010-10-03 Ulrich Drepper <drepper@gmail.com>
11024
3b111893
UD
11025 [BZ #12005]
11026 * malloc/mcheck.c: Handle large requests.
11027
45db99c7
UD
11028 [BZ #12077]
11029 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
11030 for strncmp and strncasecmp.
11031 * string/stratcliff.c: Add tests for strcmp and strncmp.
11032 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
11033
cf7a1eb8
NI
110342010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11035
11036 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
11037 __set_fpscr.
11038
6484ba5e
AJ
110392010-09-30 Andreas Jaeger <aj@suse.de>
11040
11041 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
11042 (CGROUP_SUPER_MAGIC): Define.
11043 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11044 Handle btrfs and cgroup file systems.
11045 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
11046 Likewise.
11047
91c42559
LM
110482010-09-27 Luis Machado <luisgpm@br.ibm.com>
11049
11050 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
11051 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
11052
87a97932
AK
110532010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11054
11055 [BZ #12067]
11056 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
11057 trying to locate the ELF header.
11058
c21cc9bc
AS
110592010-09-27 Andreas Schwab <schwab@redhat.com>
11060
11061 [BZ #11611]
11062 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
11063 Mask out sign-bit copies when constructing f_fsid.
11064
315970f6
PB
110652010-09-24 Petr Baudis <pasky@suse.cz>
11066
11067 * debug/stack_chk_fail_local.c: Add missing licence exception.
11068 * debug/warning-nop.c: Likewise.
11069
1ac7a2c7
JM
110702010-09-15 Joseph Myers <joseph@codesourcery.com>
11071
11072 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
11073 implementing getdents64 using getdents syscall, set d_type if
11074 __ASSUME_GETDENTS32_D_TYPE.
11075
56801c50
AS
110762010-09-16 Andreas Schwab <schwab@redhat.com>
11077
11078 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
11079 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
11080
dda51327
UD
110812010-09-21 Ulrich Drepper <drepper@redhat.com>
11082
11083 [BZ #12037]
11084 * posix/unistd.h: Undo change of feature selection for ftruncate from
11085 2010-01-11.
11086
8ffcee4a
UD
110872010-09-20 Ulrich Drepper <drepper@redhat.com>
11088
a545ecd9 11089 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
11090 detection.
11091
e24f0a8b
AS
110922010-09-20 Andreas Schwab <schwab@redhat.com>
11093
11094 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
11095 fanotify_mark.
11096 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11097
7291c56f
AS
110982010-09-14 Andreas Schwab <schwab@redhat.com>
11099
11100 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
11101 variables after CHECK_SP call.
11102 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
11103
bc5fb037
AS
111042010-09-13 Andreas Schwab <schwab@redhat.com>
11105 Ulrich Drepper <drepper@redhat.com>
11106
11107 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
11108 re-relocationg ld.so.
11109 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
11110 _dl_init_paths call.
11111 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
11112 here anymore.
11113
e66e7419
UD
111142010-09-14 Ulrich Drepper <drepper@redhat.com>
11115
11116 * resolv/res_init.c (__res_vinit): Count the default server we added.
11117
c044aa75
CLT
111182010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
11119 Ulrich Drepper <drepper@redhat.com>
11120
11121 [BZ #11968]
11122 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11123 (____longjmp_chk): Use %ebx for saving value across system call.
11124 Add unwind info.
11125
32cf4069
AS
111262010-09-06 Andreas Schwab <schwab@redhat.com>
11127
11128 * manual/Makefile: Don't mix pattern rules with normal rules.
11129
817328ee
AS
111302010-09-05 Andreas Schwab <schwab@linux-m68k.org>
11131
11132 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
11133 operation.
11134 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11135 * libio/iofopncook.c (_IO_cookie_init): Likewise.
11136 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11137 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11138 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11139 Likewise.
11140
29fddf61
UD
111412010-09-04 Ulrich Drepper <drepper@redhat.com>
11142
11143 [BZ #11979]
11144 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
11145 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
11146
0959ffc9
UD
111472010-09-02 Ulrich Drepper <drepper@redhat.com>
11148
11149 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
11150 * sysdeps/x86_64/addmul_1.S: Likewise.
11151 * sysdeps/x86_64/lshift.S: Likewise.
11152 * sysdeps/x86_64/mul_1.S: Likewise.
11153 * sysdeps/x86_64/rshift.S: Likewise.
11154 * sysdeps/x86_64/sub_n.S: Likewise.
11155 * sysdeps/x86_64/submul_1.S: Likewise.
11156
ece29840
ST
111572010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
11158
0959ffc9
UD
11159 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
11160 Define __sched_param instead of SCHED_* and sched_param when
ece29840 11161 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 11162 * bits/sched.h [__need_schedparam]
ece29840 11163 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
11164 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
11165 (__defined_schedparam): Define to 1.
ece29840
ST
11166 (__sched_param): New structure, identical to sched_param.
11167 (__need_schedparam): Undefine.
11168
e53a31fe
MF
111692010-08-31 Mike Frysinger <vapier@gentoo.org>
11170
fdc0c10d
MF
11171 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
11172 (epoll_create1): Declare.
11173
e53a31fe
MF
11174 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
11175
a726d796
AS
111762010-08-31 Andreas Schwab <schwab@redhat.com>
11177
11178 [BZ #7066]
11179 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
11180 shifting retval into place.
11181
2f3e3dc7
UD
111822010-09-01 Ulrich Drepper <drepper@redhat.com>
11183
f2933da9
UD
11184 * nis/rpcsvc/nis.h: Update copyright notice.
11185 * nis/rpcsvc/nis.x: Likewise.
11186 * nis/rpcsvc/nis_callback.h: Likewise.
11187 * nis/rpcsvc/nis_callback.x: Likewise.
11188 * nis/rpcsvc/nis_object.x: Likewise.
11189 * nis/rpcsvc/nis_tags.h: Likewise.
11190 * nis/rpcsvc/yp.h: Likewise.
11191 * nis/rpcsvc/yp.x: Likewise.
11192 * nis/rpcsvc/ypupd.h: Likewise.
11193 * nis/yp_xdr.c: Likewise.
11194 * nis/ypupdate_xdr.c: Likewise.
11195
2f3e3dc7
UD
11196 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
11197 mainly the body of pmap_getport. Add parameters to specify timeouts.
11198 (pmap_getport): Use __libc_rpc_getport.
11199 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
11200 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
11201 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
11202
f3dcc2f9
AS
112032010-08-31 Andreas Schwab <schwab@linux-m68k.org>
11204
11205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
11206 fanotify_mark.
11207
6d34eb5b
RM
112082010-08-27 Roland McGrath <roland@redhat.com>
11209
11210 * sysdeps/i386/i686/multiarch/Makefile
11211 (CFLAGS-varshift.c): New variable.
11212
9ea3de11
UD
112132010-08-27 Ulrich Drepper <drepper@redhat.com>
11214
c96d23fc
UD
11215 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
11216 * sysdeps/i386/i686/multiarch/varshift.c: New file.
11217
9ea3de11
UD
11218 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
11219
11220 * sysdeps/x86_64/strlen.S: Minimal code improvement.
11221
623aac7f
L
112222010-08-26 H.J. Lu <hongjiu.lu@intel.com>
11223
11224 * sysdeps/x86_64/strlen.S: Unroll the loop.
11225 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11226 strlen-sse2 strlen-sse2-bsf.
11227 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
11228 __strlen_no_bsf if bit_Slow_BSF is set.
11229 (__strlen_sse42): Removed.
11230 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
11231 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
11232
8b2b7715
RM
112332010-08-25 Roland McGrath <roland@redhat.com>
11234
11235 * sysdeps/x86_64/multiarch/varshift.S: File removed.
11236 * sysdeps/x86_64/multiarch/varshift.c: New file.
11237 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
11238 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
11239 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
11240 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11241
e73015f2
L
112422010-08-25 H.J. Lu <hongjiu.lu@intel.com>
11243
11244 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11245 strlen-sse2 strlen-sse2-bsf.
11246 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
11247 __strlen_sse2_bsf if bit_Slow_BSF is unset.
11248 (__strlen_sse2): Removed.
11249 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
11250 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
11251 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11252 bit_Slow_BSF for Atom.
11253 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
11254 (index_Slow_BSF): Define.
11255 (HAS_SLOW_BSF): Define.
11256
df24a73e
UD
112572010-08-25 Ulrich Drepper <drepper@redhat.com>
11258
11259 [BZ #10851]
11260 * resolv/res_init.c (__res_vinit): When no server address at all
11261 is given default to loopback.
11262
f2ac4868
RM
112632010-08-24 Roland McGrath <roland@redhat.com>
11264
09055553
RM
11265 * configure.in: Remove config-name.h generation.
11266 * configure: Regenerated.
11267 * config-name.in: File removed.
11268 * scripts/config-uname.sh: New file.
11269 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
11270 ($(objdir)config-name.h): New target.
11271
f2ac4868
RM
11272 * sunrpc/rpc_parse.h: Avoid nested comment.
11273
73f27d5e
RH
112742010-08-24 Richard Henderson <rth@redhat.com>
11275 Ulrich Drepper <drepper@redhat.com>
11276 H.J. Lu <hongjiu.lu@intel.com>
11277
11278 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
11279 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
11280 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
11281 Replace _mm_srli_si128 with __m128i_shift_right. Replace
11282 _mm_alignr_epi8 with _mm_loadu_si128.
11283 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
11284 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
11285 (__m128i_shift_right): Removed.
11286 * sysdeps/i386/i686/multiarch/varshift.h: New file.
11287 * sysdeps/i386/i686/multiarch/varshift.S: New file.
11288 * sysdeps/x86_64/multiarch/varshift.h: New file.
11289 * sysdeps/x86_64/multiarch/varshift.S: New file.
11290
84b9230c
MF
112912010-08-21 Mike Frysinger <vapier@gentoo.org>
11292
11293 * configure.in: Move assembler checks to before sysdep dir checking.
11294
9bbd0ddc
PB
112952010-08-20 Petr Baudis <pasky@suse.cz>
11296
11297 * LICENSES: Sync the sunrpc license.
11298
9da4bb31
UD
112992010-08-19 Ulrich Drepper <drepper@redhat.com>
11300
a7ab6ec8
UD
11301 * sunrpc/auth_des.c: Update copyright notice once again.
11302 * sunrpc/auth_none.c: Likewise.
11303 * sunrpc/auth_unix.c: Likewise.
11304 * sunrpc/authdes_prot.c: Likewise.
11305 * sunrpc/authuxprot.c: Likewise.
11306 * sunrpc/bindrsvprt.c: Likewise.
11307 * sunrpc/clnt_gen.c: Likewise.
11308 * sunrpc/clnt_perr.c: Likewise.
11309 * sunrpc/clnt_raw.c: Likewise.
11310 * sunrpc/clnt_simp.c: Likewise.
11311 * sunrpc/clnt_tcp.c: Likewise.
11312 * sunrpc/clnt_udp.c: Likewise.
11313 * sunrpc/clnt_unix.c: Likewise.
11314 * sunrpc/des_crypt.c: Likewise.
11315 * sunrpc/des_soft.c: Likewise.
11316 * sunrpc/get_myaddr.c: Likewise.
11317 * sunrpc/getrpcport.c: Likewise.
11318 * sunrpc/key_call.c: Likewise.
11319 * sunrpc/key_prot.c: Likewise.
11320 * sunrpc/openchild.c: Likewise.
11321 * sunrpc/pm_getmaps.c: Likewise.
11322 * sunrpc/pm_getport.c: Likewise.
11323 * sunrpc/pmap_clnt.c: Likewise.
11324 * sunrpc/pmap_prot.c: Likewise.
11325 * sunrpc/pmap_prot2.c: Likewise.
11326 * sunrpc/pmap_rmt.c: Likewise.
11327 * sunrpc/rpc/auth.h: Likewise.
11328 * sunrpc/rpc/auth_unix.h: Likewise.
11329 * sunrpc/rpc/clnt.h: Likewise.
11330 * sunrpc/rpc/des_crypt.h: Likewise.
11331 * sunrpc/rpc/key_prot.h: Likewise.
11332 * sunrpc/rpc/netdb.h: Likewise.
11333 * sunrpc/rpc/pmap_clnt.h: Likewise.
11334 * sunrpc/rpc/pmap_prot.h: Likewise.
11335 * sunrpc/rpc/pmap_rmt.h: Likewise.
11336 * sunrpc/rpc/rpc.h: Likewise.
11337 * sunrpc/rpc/rpc_des.h: Likewise.
11338 * sunrpc/rpc/rpc_msg.h: Likewise.
11339 * sunrpc/rpc/svc.h: Likewise.
11340 * sunrpc/rpc/svc_auth.h: Likewise.
11341 * sunrpc/rpc/types.h: Likewise.
11342 * sunrpc/rpc/xdr.h: Likewise.
11343 * sunrpc/rpc_clntout.c: Likewise.
11344 * sunrpc/rpc_cmsg.c: Likewise.
11345 * sunrpc/rpc_common.c: Likewise.
11346 * sunrpc/rpc_cout.c: Likewise.
11347 * sunrpc/rpc_dtable.c: Likewise.
11348 * sunrpc/rpc_hout.c: Likewise.
11349 * sunrpc/rpc_main.c: Likewise.
11350 * sunrpc/rpc_parse.c: Likewise.
11351 * sunrpc/rpc_parse.h: Likewise.
11352 * sunrpc/rpc_prot.c: Likewise.
11353 * sunrpc/rpc_sample.c: Likewise.
11354 * sunrpc/rpc_scan.c: Likewise.
11355 * sunrpc/rpc_scan.h: Likewise.
11356 * sunrpc/rpc_svcout.c: Likewise.
11357 * sunrpc/rpc_tblout.c: Likewise.
11358 * sunrpc/rpc_util.c: Likewise.
11359 * sunrpc/rpc_util.h: Likewise.
11360 * sunrpc/rpcinfo.c: Likewise.
11361 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
11362 * sunrpc/rpcsvc/key_prot.x: Likewise.
11363 * sunrpc/rpcsvc/klm_prot.x: Likewise.
11364 * sunrpc/rpcsvc/mount.x: Likewise.
11365 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
11366 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
11367 * sunrpc/rpcsvc/rex.x: Likewise.
11368 * sunrpc/rpcsvc/rstat.x: Likewise.
11369 * sunrpc/rpcsvc/rusers.x: Likewise.
11370 * sunrpc/rpcsvc/sm_inter.x: Likewise.
11371 * sunrpc/rpcsvc/spray.x: Likewise.
11372 * sunrpc/rpcsvc/yppasswd.x: Likewise.
11373 * sunrpc/rtime.c: Likewise.
11374 * sunrpc/svc.c: Likewise.
11375 * sunrpc/svc_auth.c: Likewise.
11376 * sunrpc/svc_authux.c: Likewise.
11377 * sunrpc/svc_raw.c: Likewise.
11378 * sunrpc/svc_run.c: Likewise.
11379 * sunrpc/svc_simple.c: Likewise.
11380 * sunrpc/svc_tcp.c: Likewise.
11381 * sunrpc/svc_udp.c: Likewise.
11382 * sunrpc/svc_unix.c: Likewise.
11383 * sunrpc/svcauth_des.c: Likewise.
11384 * sunrpc/xcrypt.c: Likewise.
11385 * sunrpc/xdr.c: Likewise.
11386 * sunrpc/xdr_array.c: Likewise.
11387 * sunrpc/xdr_float.c: Likewise.
11388 * sunrpc/xdr_mem.c: Likewise.
11389 * sunrpc/xdr_rec.c: Likewise.
11390 * sunrpc/xdr_ref.c: Likewise.
11391 * sunrpc/xdr_sizeof.c: Likewise.
11392 * sunrpc/xdr_stdio.c: Likewise.
11393
9da4bb31
UD
11394 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
11395 handling.
11396
bdaa77bc
AS
113972010-08-19 Andreas Schwab <schwab@redhat.com>
11398
11399 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
11400
fe2f79db
LM
114012010-08-19 Luis Machado <luisgpm@br.ibm.com>
11402
11403 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
11404 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
11405 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
11406 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
11407 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
11408 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
11409 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
11410 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
11411 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
11412 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
11413 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
11414 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
11415 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
11416 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
11417
b9b42ee0
AB
114182010-07-26 Anton Blanchard <anton@samba.org>
11419
11420 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
11421 * malloc/arena.c (heap_trim): Likewise.
11422
1c06ba31
UD
114232010-08-16 Ulrich Drepper <drepper@redhat.com>
11424
11425 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
11426 here. Not...
11427 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
11428 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
11429
f8392f40
L
114302010-08-12 H.J. Lu <hongjiu.lu@intel.com>
11431
11432 * sysdeps/i386/elf/Makefile: New file.
11433
3162f12e
AS
114342010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11435
11436 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
11437 from fanotify_init.
11438 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11439 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11440
28c90b2c
UD
114412010-08-15 Ulrich Drepper <drepper@redhat.com>
11442
11443 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
11444 of strncasecmp_l.
1feccb6c 11445 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 11446
ca6bb004
UD
114472010-08-14 Ulrich Drepper <drepper@redhat.com>
11448
e9f82e0d
UD
11449 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11450 strncase_l-nonascii.
11451 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11452 Add strncase_l-ssse3.
11453 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
11454 * sysdeps/x86_64/strcmp.S: Likewise.
11455 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
11456 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11457 * sysdeps/x86_64/strncase.S: New file.
11458 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11459 * sysdeps/x86_64/strncase_l.S: New file.
11460 * string/Makefile (strop-tests): Add strncasecmp.
11461 * string/test-strncasecmp.c: New file.
11462
11463 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11464 warning.
11465
ca6bb004
UD
11466 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11467 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11468
052fa7b3
AS
114692010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11470
11471 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11472
962dba78
UD
114732010-08-12 Ulrich Drepper <drepper@redhat.com>
11474
11475 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11476 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11477 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11478
bebff237
AM
114792010-05-01 Alan Modra <amodra@gmail.com>
11480
11481 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11482 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11483 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11484 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11485 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11486 tidying. Don't tail-call __sigjmp_save for static lib.
11487 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11488 save location.
11489 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11490 (CALL_MCOUNT): Add eh info, and nop after bl.
11491 (TAIL_CALL_SYSCALL_ERROR): New macro.
11492 (PSEUDO_RET): Use it.
11493 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11494 Correct save location of integer regs and cr.
11495 (_dl_profile_resolve): Correct cr save location. Delete nops
11496 after bl when SHARED. Reduce cfi size a little by better
11497 placement of cfi directives.
11498 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11499 make a stack frame. Instead use parm save area as a temp.
11500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11501 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
11502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11503 Don't make a stack frame for parent, use parm save area.
11504 Increase child stack frame to 112 bytes. Don't save unused reg,
11505 and adjust reg usage. Set up cfi on error recovery and
11506 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11508 (__makecontext): Add dummy nop after jump to exit.
11509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11510 Use correct parm save area and cr save, reduce stack frame.
11511 Correct cfi for possible PSEUDO_RET frame setup.
11512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11513 Branch to local label emitted by PSEUDO_RET rather than
11514 __syscall_error.
11515
02637374
AS
115162010-08-12 Andreas Schwab <schwab@redhat.com>
11517
11518 [BZ #11904]
11519 * locale/programs/locale.c (print_assignment): New function.
11520 (show_locale_vars): Use it.
11521
c3e2f19b
UD
115222010-08-11 Ulrich Drepper <drepper@redhat.com>
11523
3cdaa6ad
UD
11524 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11525 field.
11526 (struct statfs64): Likewise.
11527 (_STATFS_F_FLAGS): Define.
11528 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11529 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11530 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11531 (ST_VALID): Define locally.
11532 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11533 __statvfs_getflags, use the provided value.
11534 * sysdeps/unix/sysv/linux/kernel-features.h: Define
11535 __ASSUME_STATFS_F_FLAGS.
11536
754f7da3
UD
11537 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11538
10b3bedc
UD
11539 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11540 Add sys/fanotify.h.
11541 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11542 fanotify_mask for GLIBC_2.13.
11543 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11544 fanotify_init and fanotify_mark.
11545 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11546 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11547
c08fb0d7
UD
11548 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11549 Add prlimit.
11550 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11551 prlimit64 for GLIBC_2.13.
11552 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11553 prlimit64.
11554 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11555 syscall.
11556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11557 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11558 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11559 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11560 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
11561 add prlimit alias.
11562 * sysdeps/unix/sysv/linux/prlimit.c: New file.
11563
15bac72b
UD
11564 [BZ #11903]
11565 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11566 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11567
c3e2f19b
UD
11568 * nss/Makefile: Add rules to build and run tst-nss-test1.
11569 * shlib-versions: Add entry for libnss_test1.
11570 * nss/nss_test1.c: New file.
11571 * nss/tst-nss-test1.c: New file.
11572
11573 * nss/nsswitch.c (__nss_database_custom): Define new variable.
11574 (__nss_configure_lookup): Set appropriate entry in
11575 __nss_configure_lookup to true.
11576 * nss/nsswitch.h: Define enum with indeces of databases in
11577 databases and __nss_database_custom arrays. Declare
11578 __nss_database_custom.
11579 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
11580 to avoid using nscd when custom rules are installed.
11581 * nss/getXXbyYY_r.c: Likewise.
11582 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11583
11584 * nss/nss_files/files-parse.c: Whitespace fixes.
11585
f15ce4d8
UD
115862010-08-09 Ulrich Drepper <drepper@redhat.com>
11587
11588 [BZ #11883]
11589 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
11590 * posix/fnmatch_loop.c: Likewise.
11591
d22e4cc9
AK
115922010-07-17 Andi Kleen <ak@linux.intel.com>
11593
11594 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11595 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11596 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11597 * Versions.def [GLIBC_2.13]: Add.
11598
805bc17d
UD
115992010-08-06 Ulrich Drepper <drepper@redhat.com>
11600
11601 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11602 Also fail if tpwd after pwuid call is NULL.
11603
5a42321d
ST
116042010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11605
11606 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11607 when converting to ms.
11608
fd3ebeda
ST
116092010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11610
11611 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11612 EOPNOTSUPP errors with ENOTTY.
11613 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11614 EOPNOTSUPP errors with ENOTTY.
11615
73507d3a
UD
116162010-07-31 Ulrich Drepper <drepper@redhat.com>
11617
11618 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11619 Add strcasecmp_l-ssse3.
11620 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11621 strcasecmp.
11622 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11623 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11624 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11625
fe36dd02
UD
116262010-07-30 Ulrich Drepper <drepper@redhat.com>
11627
66f6765a
UD
11628 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11629
42e08a54
UD
11630 * string/Makefile (strop-tests): Add strcasecmp.
11631 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11632 strcasecmp_l-nonascii.
11633 (gen-as-const-headers): Add locale-defines.sym.
11634 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11635 * sysdeps/x86_64/strcasecmp.S: New file.
11636 * sysdeps/x86_64/strcasecmp_l.S: New file.
11637 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11638 * sysdeps/x86_64/locale-defines.sym: New file.
11639 * string/test-strcasecmp.c: New file.
11640
fe36dd02
UD
11641 * string/test-strcasestr.c: Test both ends of the range of characters.
11642 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11643
48cbc0d6
RM
116442010-07-29 Roland McGrath <roland@redhat.com>
11645
76e6d6bc 11646 [BZ #11856]
48cbc0d6
RM
11647 * manual/locale.texi (Yes-or-No Questions): Fix example code.
11648
880113d9
UD
116492010-07-27 Ulrich Drepper <drepper@redhat.com>
11650
11651 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11652 for ld.so.
11653
deb9cabb
AS
116542010-07-27 Andreas Schwab <schwab@redhat.com>
11655
11656 * manual/memory.texi (Malloc Tunable Parameters): Document
11657 M_PERTURB.
11658
1c7570ff
RM
116592010-07-26 Roland McGrath <roland@redhat.com>
11660
11661 [BZ #11840]
11662 * configure.in (-fgnu89-inline check): Set and substitute
11663 gnu89_inline, not libc_cv_gnu89_inline.
11664 * configure: Regenerated.
11665 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11666
24fb0f88
UD
116672010-07-26 Ulrich Drepper <drepper@redhat.com>
11668
11669 * string/test-strnlen.c: New file.
11670 * string/Makefile (strop-tests): Add strnlen.
11671 * string/tester.c (test_strnlen): Add a few more test cases.
11672 * string/tst-strlen.c: Better error reporting.
11673
11674 * sysdeps/x86_64/strnlen.S: New file.
11675
8e96b93a
UD
116762010-07-24 Ulrich Drepper <drepper@redhat.com>
11677
11678 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11679 lower-latency instructions.
11680
dbc676d4
UD
116812010-07-23 Ulrich Drepper <drepper@redhat.com>
11682
11683 * string/test-strcasestr.c: New file.
11684 * string/test-strstr.c: New file.
11685 * string/Makefile (strop-tests): Add strstr and strcasestr.
11686 * string/str-two-way.h: Don't undefine MAX.
11687 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11688
f6a31e0e
AS
116892010-07-21 Andreas Schwab <schwab@redhat.com>
11690
11691 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11692 strcasestr-nonascii.
11693 (CFLAGS-strcasestr-nonascii.c): Define.
11694 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11695 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11696 Remove unused attribute.
11697
5dbc3b6c
RM
116982010-07-20 Roland McGrath <roland@redhat.com>
11699
11700 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11701 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
11702 ld.so.cache was broken. With it, there is no way to disable dsocaps
11703 like LD_HWCAP_MASK can disable hwcaps.
11704
23d101d8
EPM
117052010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11706
11707 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11708
cc9f2e47
UD
117092010-07-16 Ulrich Drepper <drepper@redhat.com>
11710
11711 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11712 call in strcasestr.
11713 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11714 __strcasestr_sse42_nonascii.
11715 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11716 strcasestr-nonascii.c.
11717 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11718
77c1b069
LM
117192010-06-15 Luis Machado <luisgpm@br.ibm.com>
11720
11721 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11722 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11723 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11724 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11725
440566c3
UD
117262010-07-09 Ulrich Drepper <drepper@redhat.com>
11727
11728 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11729 fcntl.
11730
5be9d05d
AS
117312010-07-06 Andreas Schwab <schwab@redhat.com>
11732
c30b7ee2 11733 [BZ #11577]
5be9d05d
AS
11734 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11735 dl_signal_cerror.
11736
8a492a67
UD
117372010-07-06 Ulrich Drepper <drepper@redhat.com>
11738
11739 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11740 _PC_PIPE_BUF using F_GETPIPE_SZ.
11741
713df3d5
RM
117422010-07-05 Roland McGrath <roland@redhat.com>
11743
11744 * manual/arith.texi (Rounding Functions): Fix rint description
11745 implicit in round description.
11746
702e8f14
UD
117472010-07-02 Ulrich Drepper <drepper@redhat.com>
11748
11749 * elf/Makefile: Fix linking for a few tests to make recent linker
11750 happy.
11751
52ed8be9
AS
117522010-06-30 Andreas Schwab <schwab@redhat.com>
11753
11754 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11755 $(common-objpfx)libc_nonshared.a.
11756
f47c9a11
LM
117572010-06-21 Luis Machado <luisgpm@br.ibm.com>
11758
11759 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11760 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11761 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11762 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11763 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11764 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11765 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11766 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11781 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11782 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11783 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11784 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11785 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11786 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11787 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11788 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11789 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11790 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11791 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11792 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11807
6fb8cbcb
L
118082010-06-25 H.J. Lu <hongjiu.lu@intel.com>
11809
11810 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11811 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11812 * string/memmove.c (memmove): Renamed to ...
11813 (MEMMOVE): ...this. Default to memmove.
11814 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11815 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11816 (END_CHK): Define.
11817 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11818 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11819 mempcpy-ssse3-back memmove-ssse3-back.
11820 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11821 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11822 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11823 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11824 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11825 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11826 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11827 * sysdeps/x86_64/multiarch/memmove.c: New file.
11828 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11829 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11830 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11831 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11832 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11833 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11834 Define.
11835 (index_Fast_Copy_Backward): Define.
11836 (HAS_ARCH_FEATURE): Define.
11837 (HAS_FAST_REP_STRING): Define.
11838 (HAS_FAST_COPY_BACKWARD): Define.
11839
4e733bac 118402010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
11841
11842 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11843 Restore proper fallback handling.
11844
63c4ed22
UD
118452010-06-19 Ulrich Drepper <drepper@redhat.com>
11846
ac2b484c
UD
11847 [BZ #11701]
11848 * posix/group_member.c (__group_member): Correct checking loop.
11849
63c4ed22
UD
11850 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11851 OOM in getpwuid_r correctly. Return error number when the caller
11852 should return, otherwise -1.
11853 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11854 call returning > 0 value.
11855 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11856
765ade4b
AS
118572010-06-07 Andreas Schwab <schwab@redhat.com>
11858
11859 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11860 libc_nonshared.a from targets in modules-names.
11861
80da2e09
KS
118622010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11863
11864 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11865 requires it.
11866
158db122
LM
118672010-06-10 Luis Machado <luisgpm@br.ibm.com>
11868
11869 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11870 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11871 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11872 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11873
caa78cf8
AS
118742010-06-02 Andreas Schwab <schwab@redhat.com>
11875
11876 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11877
b2ef2c01
UD
118782010-06-14 Ulrich Drepper <drepper@redhat.com>
11879
11880 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11881 and F_GETPIPE_SZ.
11882 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11883 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11884 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11885 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11886 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11887 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11888
fbd643b6
RM
118892010-06-14 Roland McGrath <roland@redhat.com>
11890
11891 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11892
f32f2869
JJ
118932010-06-07 Jakub Jelinek <jakub@redhat.com>
11894
11895 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11896 __REDIRECT followed by __THROW.
11897 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11898 * posix/getopt.h (getopt): Likewise.
11899
2a50c078
EPM
119002010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11901
11902 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11903 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11904 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11905 in AT_FLAGS.
11906 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11907 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11908
eb5ad2eb
LM
119092010-05-28 Luis Machado <luisgpm@br.ibm.com>
11910
11911 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11912
3c88fe1e
L
119132010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11914
11915 [BZ #11640]
11916 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11917 Properly check family and model.
11918
d2f73151
TY
119192010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11920
11921 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11922
ebd2e13d
LM
119232010-05-24 Luis Machado <luisgpm@br.ibm.com>
11924
11925 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11926
b32b8b45
UD
119272010-05-21 Ulrich Drepper <drepper@redhat.com>
11928
11929 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11930 symbol reference.
11931
9acbe24d
AS
119322010-05-19 Andreas Schwab <schwab@redhat.com>
11933
11934 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11935 symbol reference.
11936
f0ccf6ea
AS
119372010-05-21 Andreas Schwab <schwab@redhat.com>
11938
3d04ff3a
AS
11939 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11940 and internal_recvmmsg.
11941 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11942 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11943 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11944 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11945
f0ccf6ea
AS
11946 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11947 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11948 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11949
5b08ac57
AS
119502010-05-20 Andreas Schwab <schwab@redhat.com>
11951
11952 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11953
4828935d
LM
119542010-05-17 Luis Machado <luisgpm@br.ibm.com>
11955
11956 POWER7 optimizations.
11957 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11958 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11959
373d545e
UD
119602010-05-19 Ulrich Drepper <drepper@redhat.com>
11961
11962 * version.h: Update for 2.13 development version.
11963
21a2b1ae
AS
119642010-05-12 Andrew Stubbs <ams@codesourcery.com>
11965
11966 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11967 exceptions. Return 0.
11968
3f7dcb2b
RM
119692010-05-07 Roland McGrath <roland@redhat.com>
11970
11971 * elf/ldconfig.c (main): Add a const.
11972
5f24d53a 119732010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 11974
a160f8d8
UD
11975 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11976 (args_options): Add no-idn option.
11977 (ahosts_keys_int): Add idn_flags to ai_flags.
11978 (parse_option): Handle 'i' option to clear idn_flags.
11979
5f24d53a
UD
11980 * malloc/malloc.c (_int_free): Possible race in the most recently
11981 added check. Only act on the data if no current modification
11982 happened.
265bb1ce
UD
11983
11984See ChangeLog.17 for earlier changes.