]> sourceware.org Git - glibc.git/blame - ChangeLog
Simplify power6 wordcopy by adding [fwd|bwd]_align_merge macros.
[glibc.git] / ChangeLog
CommitLineData
b282631e
WS
12012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2
3 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4 bwd_align_merge macros.
5 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
7 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
8
95aa737c
DM
92012-04-18 David S. Miller <davem@davemloft.net>
10
11 * sysdeps/sparc/sparc64/memcopy.h: Delete.
12
7a99a614
AJ
132012-04-18 Andreas Jaeger <aj@suse.de>
14
15 [BZ# 6794]
16 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
17 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
18 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19
20 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
22 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23
24 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
25 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
26 Adjust for changed ldbl-128 files.
27
28 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
29 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
30 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31
e5270c23
DM
322012-04-17 David S. Miller <davem@davemloft.net>
33
34 * sysdeps/sparc/sparc32/memcopy.h: Delete.
35
fb5e92c9
AS
362012-04-17 Andreas Schwab <schwab@linux-m68k.org>
37
38 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
39 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
40 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
41 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
42 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
44
76da7265
AZ
452012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46
47 [BZ #6794]
48 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
49 * math/libm-test.inc: Add ilogb errno and exception tests.
50 * math/w_ilogb.c: New file: ilogb wrapper.
51 * math/w_ilogbf.c: New file: ilogbf wrapper.
52 * math/w_ilogbl.c: New file: ilogbl wrapper.
53 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
54 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
55 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
56 exception being thrown with 0.0 as argument.
57 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
58 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
59 exception being thrown with 0.0 as argument.
60 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
61 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
62 exception being thrown with 0.0 as argument.
63 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
64 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
65 exception being thrown with 0.0 as argument.
66 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
67 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 68 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
69 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
70 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
71 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
72 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
73 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
74 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
75
0396e69d
PB
762012-04-17 Petr Baudis <pasky@ucw.cz>
77
78 * include/sys/uio.h: Change __vector to __iovec to avoid clash
79 with altivec.
80
750b5926
MP
812012-04-16 Marek Polacek <polacek@redhat.com>
82
83 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
84
751728a1
MP
852012-04-16 Marek Polacek <polacek@redhat.com>
86
87 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
88 operands of fdivp instruction.
89
34a27407
L
902012-04-13 H.J. Lu <hongjiu.lu@intel.com>
91
92 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
93 * elf/tst-auditmod3b.c: Likewise.
94 * elf/tst-auditmod4b.c: Likewise.
95 * elf/tst-auditmod5b.c: Likewise.
96 * elf/tst-auditmod6b.c: Likewise.
97 * elf/tst-auditmod6c.c: Likewise.
98 * elf/tst-auditmod7b.c: Likewise.
99 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
100 * sysdeps/x86_64/preconfigure.in: Likewise.
101 * sysdeps/x86_64/preconfigure: Regenerated.
102
7e73e17d
L
1032012-04-13 H.J. Lu <hongjiu.lu@intel.com>
104
105 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
106 __ILP32__.
107
c7a6ab72
AB
1082012-04-13 Antoine Balestrat <merkil33@gmail.com>
109
110 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
111 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
112
a9e8e0e0
CL
1132012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
114
115 [BZ #13973]
116 * locale/iso-639.def: Fix gl language name. Spotted by
117 Yaron Shahrabani.
118
ec98af7d
RM
1192012-04-12 Roland McGrath <roland@hack.frob.com>
120
121 [BZ #2074]
122 * libio/libio.h (__io_write_fn): Update comment.
123
247c3ede
PB
1242012-04-12 Petr Baudis <pasky@ucw.cz>
125
126 [BZ #2074]
127 * stdio.texi (Hook Functions): The user provided writer function
128 is not allowed to return -1.
129
55939d6d
DM
1302012-04-11 David S. Miller <davem@davemloft.net>
131
132 * sysdeps/sparc/fpu/libm-test-ulps: Update.
133
90020f5a
MF
1342012-04-11 Mike Frysinger <vapier@gentoo.org>
135
136 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
137 Add a leading slash to rtkaio.
138
288f9098
JM
1392012-04-11 Jim Meyering <meyering@redhat.com>
140
90020f5a
MF
141 [BZ #11959]
142 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
143 It is not necessarily an error to ignore fwrite's return
144 value. One can reliably use ferror to test for errors after
145 the fact.
288f9098 146
4be2b570
L
1472012-04-10 H.J. Lu <hongjiu.lu@intel.com>
148
149 * bits/types.h (__snseconds_t): New type.
150 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
151
152 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
153 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
154 (__SNSECONDS_T_TYPE): Likewise.
155 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
156 (__SNSECONDS_T_TYPE): Likewise.
157 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
158 (__SNSECONDS_T_TYPE): Likewise.
159
288f9098 1602012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
161
162 [BZ #2636]
163 * manual/time.texi (Processor Time): Return type of times is
164 elapsed real time since an arbitrary point in the past.
165 (CPU Time): Move CLK_TCK from here...
166 (Processor Time): ...to here. Correct description.
167 * manual/conf.texi (Constants for Sysconf): Correct description of
168 _SC_CLK_TCK.
169
d7dd4413
DM
1702012-04-10 David S. Miller <davem@davemloft.net>
171
172 [BZ #13967]
173 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
174 where the is a gap between DT_REL(A) and DT_JMPREL.
175
b46068fc
L
1762012-04-10 H.J. Lu <hongjiu.lu@intel.com>
177
178 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
179 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
180 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
181
73d65cc3
SP
1822012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
183
184 * elf/dl-support.c (_dl_inhibit_cache): New variable.
185 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
186 (dl_main): Handle --inhibit-cache.
187 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
188 _dl_inhibit_cache.
189 * elf/dl-load.c (_dl_map_object): Use it.
190 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
191
bcc8d661
JM
1922012-04-09 Joseph Myers <joseph@codesourcery.com>
193
8f9a2fae
JM
194 [BZ #13872]
195 * sysdeps/i386/fpu/e_powl.S (p78): New object.
196 (__ieee754_powl): Saturate large exponents rather than testing for
197 overflow of y*log2(x).
198 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
199 * math/libm-test.inc (pow_test): Do not permit spurious overflow
200 exceptions.
201
bcc8d661
JM
202 [BZ #11521]
203 * math/s_ctan.c: Include <float.h>.
204 (__ctan): Avoid internal overflow or cancellation in calculating
205 denominator.
206 * math/s_ctanf.c: Likewise.
207 * math/s_ctanl.c: Likewise.
208 * math/s_ctanh.c: Likewise.
209 * math/s_ctanhf.c: Likewise.
210 * math/s_ctanhl.c: Likewise.
211 * math/libm-test.inc (ctan_test): Add more tests.
212 (ctanh_test): Likewise.
213 * sysdeps/i386/fpu/libm-test-ulps: Update.
214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
215
823fbbb4
AJ
2162012-04-09 Andreas Jaeger <aj@suse.de>
217
03879793
AJ
218 [BZ #6894]
219 * manual/filesys.texi (Directory Entries): Mention that d_namlen
220 is an optional BSD extension.
221
823fbbb4
AJ
222 [BZ #10254]
223 * manual/stdio.texi (Opening Streams): Document additional fopen
224 parameters.
225
8de131cb
RM
2262012-04-09 Roland McGrath <roland@hack.frob.com>
227
228 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
229 %eax without telling the compiler.
230
c0ed9d7d
CD
2312012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
232
233 [BZ # 13963]
234 * manual/install.texi: Use sourceware.org.
235
c483f6b4
JM
2362012-04-09 Joseph Myers <joseph@codesourcery.com>
237
d7dd9453
JM
238 [BZ #13873]
239 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
240 (__ieee754_pow): Generate overflow and underflow using huge*huge
241 and tiny*tiny rather than just returning constant infinity or zero
242 for large exponents.
243 * math/libm-test.inc (pow_test): Require overflow exceptions for
244 applicable cases of large exponents.
245
c483f6b4
JM
246 [BZ #706]
247 * sysdeps/i386/fpu/e_pow.S (p10): New object.
248 (__ieee754_pow): Use iterative multiplication algorithm only for
249 integer exponents with absolute value below 1024. Check for odd
250 integer exponents when using algorithm for real exponents.
251 * math/libm-test.inc (pow_test): Add more tests.
252 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
253
d2de7579
JM
2542012-04-08 Joseph Myers <joseph@codesourcery.com>
255
256 [BZ #13705]
257 * math/libm-test.inc (exp_test): Do not allow overflow exception
258 on underflow test.
259
f77f1232
AJ
2602012-04-08 Aurelien Jarno <aurelien@aurel32.net>
261
262 [BZ #13705]
263 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
264 instead of __kernel_standard_f.
265
3884932b
MF
2662012-04-08 Mike Frysinger <vapier@gentoo.org>
267
268 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
269 * sysdeps/x86_64/memset_chk.S: Likewise.
270
54472e9c
AJ
2712012-04-08 Andreas Jaeger <aj@suse.de>
272
6ab0fbfc
AJ
273 [BZ #10153]
274 * manual/startup.texi (Environment Access): Describe return value
275 for putenv and setenv.
276
61efba8c
AJ
277 [BZ #6895]
278 * manual/filesys.texi (Directory Entries): Add description for
279 DT_LNK.
280
95c3f29a
AJ
281 [BZ #6890]
282 * manual/filesys.texi (Directory Entries): Clarify that it's file
283 system not operating system in the description of DT_UNKNOWN.
284
54472e9c
AJ
285 [BZ #6578]
286 * manual/syslog.texi (closelog): Fix reference, it's openlog.
287
624254b1
SC
2882012-04-08 Stephen Compall <s11@member.fsf.org>
289
290 [BZ #6649]
291 * manual/llio.texi (Opening and Closing Files): Add cross
292 reference to explain mode argument.
293
1e4920e0
MF
2942012-04-07 Mike Frysinger <vapier@gentoo.org>
295
296 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
297 * sysdeps/x86_64/memset_chk.S: Likewise.
298
5ed848f3
DM
2992012-04-07 David S. Miller <davem@davemloft.net>
300
301 * elf/elf.h (R_SPARC_WDISP10): Define.
302 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
303 R_SPARC_SIZE32.
304 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
305 R_SPARC_SIZE64 and R_SPARC_H34.
306
96154cd8
CD
3072012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
308
309 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
310 conditions and remove no longer applicable assertion.
311
9904dc47
L
3122012-04-06 H.J. Lu <hongjiu.lu@intel.com>
313
314 * bits/byteswap.h: Include <features.h>.
315 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
316 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
317
f8887d0a
L
3182012-04-06 H.J. Lu <hongjiu.lu@intel.com>
319
320 * bits/byteswap.h (__bswap_16): Removed.
321 Include <bits/byteswap-16.h> to get __bswap_16.
322 * sysdeps/i386/bits/byteswap.h: Likewise.
323 * sysdeps/s390/bits/byteswap.h: Likewise.
324 * sysdeps/x86_64/bits/byteswap.h: Likewise.
325 * bits/byteswap-16.h: New file.
326 * sysdeps/i386/bits/byteswap-16.h: Likewise.
327 * sysdeps/s390/bits/byteswap-16.h: Likewise.
328 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
329 * string/Makefile (headers): Add bits/byteswap-16.h.
330
62470f60
PP
3312012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
332
333 [BZ #13895]
334 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
335 extra indirection.
336 * nss/Makefile (tests-static, tests): Add tst-nss-static.
337 * nss/tst-nss-static.c: New.
338
4dad7bab
RM
3392012-04-06 Robert Millan <rmh@gnu.org>
340
341 [BZ #6486]
342 * manual/llio.texi (File Position Primitive): lseek
343 refers to WHENCE when it really means OFFSET.
344
e9142a17
AJ
3452012-04-06 Andreas Jaeger <aj@suse.de>
346
2c040eff
AJ
347 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
348 strncmp declarations.
349
e9142a17
AJ
350 * abilist/libc.abilist: Add __poll and __ppoll.
351
ff9f1c5f
DM
3522012-04-05 David S. Miller <davem@davemloft.net>
353
dcd2ae90
DM
354 * scripts/check-local-headers.sh: Accept a host triplet in the
355 path matched by the exclude regexp.
356
993eb054
DM
357 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
358 definition.
359 * sysdeps/powerpc/powerpc32/dl-machine.h
360 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
361 * sysdeps/s390/s390-32/dl-machine.h
362 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
363 * sysdeps/sparc/sparc32/dl-machine.h
364 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
365 * sysdeps/sparc/sparc64/dl-machine.h
366 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
367
ff9f1c5f
DM
368 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
369 lazy binding.
48e2e132 370 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
371 undefined symbol errors.
372
48e2e132 373 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
374 DT_NEEDED entries.
375
e80d6f94
MM
3762012-04-05 Michael Matz <matz@suse.de>
377
378 [BZ #13592]
379 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
380
349fa79f
AJ
3812012-04-05 Andreas Jaeger <aj@suse.de>
382
383 [BZ #13908]
384 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
385 comment.
386
f402708f
KK
3872012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
388
389 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
390 which ROUND is no valid rounding mode.
391
2ecccfc9
KK
3922012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
393
394 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
395 read again.
396 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
397
8a53f50f
KK
3982012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
399
400 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
401 an exception using FPU order intentionally.
402
4032012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
404
405 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
406 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
407 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
408 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
409
d653abb7
SJ
4102012-04-05 Simon Josefsson <simon@josefsson.org>
411
412 [BZ #12340]
413 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
414 EINVAL when BUFLEN is too smal.
415
c3b1bf7d
TS
4162012-04-05 Thomas Schwinge <thomas@codesourcery.com>
417
418 [BZ #13553]
419 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
420 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
421
b1aa60f3
AJ
4222012-04-03 Andreas Jaeger <aj@suse.de>
423
c3b1bf7d 424 [BZ #13938]
67f60a26
AJ
425 * manual/setjmp.texi (System V contexts): Fix sentence.
426
b1aa60f3
AJ
427 [BZ #13926]
428 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
429 New macro for this case.
430 [!__GNUC__] (__bswap_64): New inline function for this case.
431 * sysdeps/x86_64/bits/byteswap.h: Likewise.
432 * bits/byteswap.h: Likewise.
433 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
434 ull, guard with __GLIBC_HAVE_LONG_LONG.
435
436 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
437 __GLIBC_HAVE_LONG_LONG.
438
439 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
440 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
441
39c59c35
TMQMF
4422012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
443
444 [BZ #13691]
445 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
446 inptr and inend, rather than using last_ch.
447
135ffda8
DM
4482012-04-02 David S. Miller <davem@davemloft.net>
449
450 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
451 * stdio-common/printf-parse.h (read_int): Change return type to
452 'int', return -1 on INT_MAX overflow.
453 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
454 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
455 overflows INT_MAX. Check for overflow of in-format-string precision
456 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
457 SIZE_MAX not INT_MAX for integer overflow test.
458 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
459 skip the construct in the format string but do not record anything.
460 * stdio-common/bug22.c: Adjust to test both width/prevision
461 INT_MAX overflow as well as total length INT_MAX overflow. Check
462 explicitly for proper errno values.
463
228c019e
TS
4642012-04-02 Thomas Schwinge <thomas@codesourcery.com>
465
302cadd3
TS
466 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
467 CHAR_MAX.
468 * string/test-strcmp.c [! WIDE]: Likewise.
469 * time/tst-mktime2.c: Likewise for INT_MAX.
470 * string/test-string.h: #include <sys/param.h> for MIN.
471
228c019e
TS
472 * csu/init-first.c (__libc_init_first): Call __ctype_init.
473 * sysdeps/i386/init-first.c (init): Likewise.
474 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
475 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
476 * sysdeps/sh/init-first.c (init): Likewise.
477
cfa633f5
UD
4782012-04-01 Ulrich Drepper <drepper@gmail.com>
479
480 * po/ru.po: Update from translation team.
d1635ef8 481 * po/vi.po: Likewise.
cfa633f5 482
6cd0a5ea
SP
4832012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
484
485 * resolv/nss_dns/dns-host.c: Merge copyright years.
486
4b43400f
LD
4872012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
488
489 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
490 Optimize memcpy with prefetch if
491 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
492 src, dst pointers have unequal 16 byte alignments.
493
48c41d04
SP
4942012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
495
496 [BZ #13928]
497 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
498 from a CNAME entry and return the minimum ttl for the query.
499 (gaih_getanswer_slice): Likewise.
500
b8dc394d
JL
5012012-03-30 Jeff Law <law@redhat.com>
502
503 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
504 due to long keys.
505 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
506 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
507
2f5a5ed0
JL
508 * resolv/nss_dns/dns-host.c: Update copyright year.
509
1d39e359
UD
5102012-03-30 Ulrich Drepper <drepper@gmail.com>
511
c030f70c 512 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 513 requests to save a system call. Fix check that all bytes are sent.
c030f70c 514
1d39e359
UD
515 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
516 comments for sendmmsg.
517
5182012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
519
520 [BZ #13691]
521 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
522 with only 1 character between 0x0041 and 0x01b0.
523 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
524 * wcsmbs/tst-mbsnrtowcs.c: New file.
525
20fde227
DM
5262012-03-29 David S. Miller <davem@davemloft.net>
527
528 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
529 small copies by hand.
530
984a4237
JL
5312012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
532
533 [BZ #13761]
534 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
535 _nss_compat_initgroups_dyn): Fall back to malloc/free
536 for large group memberships.
537
18c9d62b
DM
5382012-03-28 David S. Miller <davem@davemloft.net>
539
88d85d4f
DM
540 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
541 that branches into memcpy.
542 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
543 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
544 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
545 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
546 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
547 bits.
548 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
549 implementation too.
550 * sysdeps/sparc/mempcpy.S: New file.
551
e5aa83e1
DM
552 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
553 the IFUNC routine in the libc case.
554 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
555
88570753
DM
556 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
557 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
558 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
559 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
560 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
561 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
562 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
563 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
564
249d7567
DM
565 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
566 loop to 256 bytes instead of 64 bytes and fix test signedness.
567
18c9d62b
DM
568 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
569 * sysdeps/sparc/sparc32/Makefile: rather than here...
570 * sysdeps/sparc/sparc64/Makefile: and here.
571
05f3d1f6
UD
5722012-03-28 Ulrich Drepper <drepper@gmail.com>
573
574 * malloc/mallocbug.c: Avoid warnings about unused variables.
575
86ae07a8
JL
5762012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
577
578 [BZ #13760]
579 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
580 in the right place. Discard and retry query if response is
581 larger than input buffer size.
582
41bf21a1
JM
5832012-03-28 Joseph Myers <joseph@codesourcery.com>
584
d6270972
JM
585 [BZ #369]
586 [BZ #2678]
587 [BZ #3866]
588 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
589 x for large integer exponent.
590 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
591 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
592 sign of result as needed afterwards.
593 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
594 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
595 result for underflowing pow the same as for overflow.
596 (__kernel_standard_l): Handle powl overflow and underflow here
597 rather than calling __kernel_standard.
598 * math/libm-test.inc (pow_test): Add more tests.
599
414fca03 600 [BZ #3868]
41bf21a1
JM
601 [BZ #13879]
602 [BZ #13910]
603 [BZ #13911]
604 [BZ #13912]
605 [BZ #13913]
606 [BZ #13915]
607 [BZ #13916]
608 [BZ #13917]
609 [BZ #13918]
610 [BZ #13919]
611 [BZ #13920]
612 [BZ #13921]
613 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
614 * sysdeps/ieee754/k_standard.c: Include <float.h>.
615 (__kernel_standard_l): New function.
616 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
617 __kernel_standard.
618 * math/w_acosl.c (__acosl): Likewise.
619 * math/w_asinl.c (__asinl): Likewise.
620 * math/w_atan2l.c (__atan2l): Likewise.
621 * math/w_atanhl.c (__atanhl): Likewise.
622 * math/w_coshl.c (__coshl): Likewise.
623 * math/w_exp10l.c (__exp10l): Likewise.
624 * math/w_exp2l.c (__exp2l): Likewise.
625 * math/w_fmodl.c (__fmodl): Likewise.
626 * math/w_hypotl.c (__hypotl): Likewise.
627 * math/w_j0l.c (__j0l, __y0l): Likewise.
628 * math/w_j1l.c (__j1l, __y1l): Likewise.
629 * math/w_jnl.c (__jnl, __ynl): Likewise.
630 * math/w_lgammal.c (__lgammal): Likewise.
631 * math/w_log10l.c (__log10l): Likewise.
632 * math/w_log2l.c (__log2l): Likewise.
633 * math/w_logl.c (__logl): Likewise.
634 * math/w_powl.c (__powl): Likewise.
635 * math/w_remainderl.c (__remainderl): Likewise.
636 * math/w_scalbl.c (sysv_scalbl): Likewise.
637 * math/w_sinhl.c (__sinhl): Likewise.
638 * math/w_sqrtl.c (__sqrtl): Likewise.
639 * math/w_tgammal.c (__tgammal): Likewise.
640 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
641 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
642 * math/libm-test.inc (acos_test): Add more tests.
643 (acosh_test): Likewise.
644 (asin_test): Likewise.
645 (atanh_test): Likewise.
646 (exp_test): Likewise.
647 (exp10_test): Likewise.
648 (exp2_test): Likewise.
649 (expm1_test): Likewise.
650 (lgamma_test): Likewise.
651 (log_test): Likewise.
652 (log10_test): Likewise.
653 (log1p_test): Likewise.
654 (log2_test): Likewise.
655 (pow_test): Do not allow some spurious overflow exceptions.
656 (sqrt_test): Add more tests.
657 (tgamma_test): Likewise.
658 (y0_test): Likewise.
659 (y1_test): Likewise.
660 (yn_test): Likewise.
661
dd62fda6
AB
6622012-03-27 Anton Blanchard <anton@samba.org>
663
664 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
665 MAP_HUGETLB.
666 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
667 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
668 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
669
1e3cdfda
AJ
6702012-03-27 David S. Miller <davem@davemloft.net>
671
b855ab85
DM
672 * conform/Makefile: Run run-conformtest.sh using $(BASH).
673
1e3cdfda
AJ
674 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
675 have-as-vis3 check.
676
6772012-03-27 Andreas Jaeger <aj@suse.de>
678
679 * sysdeps/x86_64/elf/configure.in: Moved to ...
680 * sysdeps/x86_64/configure.in: ... here.
681 * sysdeps/x86_64/elf/start.S: Moved to ...
682 * sysdeps/x86_64/start.S: ... here.
683 * sysdeps/x86_64/elf/configure: Delete.
684
685 * sysdeps/x86_64/configure.in: Merge contents from
686 sysdeps/i386/configure.in (without i686 check).
687
688 * sysdeps/i386/elf/Versions: Merge into ...
689 * sysdeps/i386/Versions: ... this.
690 * sysdeps/i386/elf/Versions: Delete file.
691 * sysdeps/i386/elf/start.S: Moved to ...
692 * sysdeps/i386/start.S: ...here.
693 * sysdeps/i386/elf/configure.in: Merge into...
694 * sysdeps/i386/configure.in: ...here.
695 * sysdeps/i386/elf/configure.in: Delete file.
696 * sysdeps/i386/elf/configure: Delete file.
697
698 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
699 * debug/backtracesyms.c: ... here.
700 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
701 * debug/backtracesymsfd.c: ... here.
702 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
703 * sysdeps/generic/ifunc-sel.h: ... here.
704
705 * sysdeps/unix/i386/start.c: Delete file.
706 * sysdeps/unix/sparc/start.c: Delete file.
707 * sysdeps/unix/start.c: Delete file.
708
709 * sysdeps/sh/elf/configure.in: Moved to ...
710 * sysdeps/sh/configure.in: ... here.
711 * sysdeps/sh/elf/start.S: Moved to ...
712 * sysdeps/sh/start.S: ... here.
713 * sysdeps/sh/elf/configure: Delete file.
714
715 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
716 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
717 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
718 * sysdeps/powerpc/powerpc64/entry.h: ... here.
719 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
720 * sysdeps/powerpc/powerpc64/start.S: here.
721 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
722 * sysdeps/powerpc/powerpc64/Makefile: ... this.
723 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
724 * sysdeps/powerpc/powerpc64/configure.in: ... this.
725 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
726
727 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
728 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
729 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
730 * sysdeps/powerpc/powerpc32/start.S: ... here.
731 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
732 * sysdeps/powerpc/powerpc32/configure.in: ... this.
733 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
734
735 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
736 * sysdeps/powerpc/ifunc-sel.h: ... here.
737 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
738 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
739
740 * sysdeps/sparc/elf/configure.in: Moved to ...
741 * sysdeps/sparc/configure.in: ... here.
742 * sysdeps/sparc/elf/configure: Delete file.
743 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
744 * sysdeps/sparc/sparc32/start.S: ... here.
745 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
746 * sysdeps/sparc/sparc64/start.S: ... here.
747 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
748 * sysdeps/sparc/sparc32/Makefile: ... this.
749 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
750 * sysdeps/sparc/sparc64/Makefile: ... this.
751
752 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
753 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
754 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
755 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
756 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
757 * sysdeps/s390/s390-32/setjmp.S: ... here.
758 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
759 * sysdeps/s390/s390-32/configure.in: ... here.
760 * sysdeps/s390/s390-32/elf/configure: Delete file.
761 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
762 * sysdeps/s390/s390-32/start.S: ... here.
763
764 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
765 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
766 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
767 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
768 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
769 * sysdeps/s390/s390-64/setjmp.S: ... here.
770 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
771 * sysdeps/s390/s390-64/configure.in: ... here
772 * sysdeps/s390/s390-64/elf/configure: Delete file.
773 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
774 * sysdeps/s390/s390-64/start.S: ... here.
775 * sysdeps/s390/s390-64/elf/configure: Delete.
776
777 * configure.in: Remove support for elf directories in sysdeps.
778
779 * configure: Regenerated.
780 * sysdeps/i386/configure: Regenerated.
781 * sysdeps/powerpc/powerpc32/configure: Regenerated.
782 * sysdeps/powerpc/powerpc64/configure: Regenerated.
783 * sysdeps/s390/s390-32/configure: Regenerated.
784 * sysdeps/s390/s390-64/configure: Regenerated.
785 * sysdeps/sh/configure: Regenerated.
786 * sysdeps/sparc/configure: Regenerated.
787 * sysdeps/x86_64/configure: Regenerated.
788
a3f61311
AS
7892012-03-26 Andreas Schwab <schwab@linux-m68k.org>
790
c876e002
AS
791 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
792
a3f61311
AS
793 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
794 denormal result into account.
795
ac4c54f0
RM
7962012-03-25 Roland McGrath <roland@hack.frob.com>
797
798 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
799 Reported by Allan McRae <allan@archlinux.org>.
800
6a9b9c02
JL
8012012-03-23 Jeff Law <law@redhat.com>
802
803 * nss/getnssent.c (__nss_getent): Fix typo.
804
4c42a0c1
DM
8052012-03-23 David S. Miller <davem@davemloft.net>
806
807 * sysdeps/sparc/fpu/libm-test-ulps: Update.
808
1532c7ac
L
8092012-03-23 H.J. Lu <hongjiu.lu@intel.com>
810
811 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
812 to pad to uint64_t for each field.
813 (dl_tls_index): Replace unsigned long with uint64_t.
814
3ff42526
PP
8152012-03-23 Daniel Jacobowitz <dmj@google.com>
816 Paul Pluzhnikov <ppluzhnikov@google.com>
817
818 [BZ #6528]
819 * grp/Makefile (otherlibs): Don't set it.
820 * inet/Makefile (otherlibs): Likewise.
821 * login/Makefile (otherlibs): Likewise.
822 * nscd/Makefile (otherlibs): Likewise.
823 * posix/Makefile (otherlibs): Likewise.
824 * pwd/Makefile (otherlibs): Likewise.
825 * rt/Makefile (otherlibs): Likewise.
826 * sunrpc/Makefile (otherlibs): Likewise.
827 * nss/Makefile (otherlibs): Likewise.
828 Add libnss_files to routines and static-only-routines.
829 ($(objpfx)getent): Remove rule.
830 * resolv/Makefile: Add libnss_dns and libresolv to routines and
831 static-only-routines.
832
7c69cd14
JM
8332012-03-22 Joseph Myers <joseph@codesourcery.com>
834
835 [BZ #13892]
836 * math/s_cexp.c: Include <float.h>.
837 (__cexp): Handle exp result overflowing not necessarily
838 overflowing both real and imaginary parts of result.
839 * math/s_cexpf.c: Likewise.
840 * math/s_cexpl.c: Likewise.
841 * math/libm-test.inc (cexp_test): Add more tests.
842 * sysdeps/i386/fpu/libm-test-ulps: Update.
843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
844
81b035fe
L
8452012-03-22 H.J. Lu <hongjiu.lu@intel.com>
846
847 * include/link.h (ELFW): New macro.
848 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
849 Replace ELF64_R_TYPE with ELFW(R_TYPE).
850
1da7940c
L
8512012-03-22 H.J. Lu <hongjiu.lu@intel.com>
852
853 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
854 with uint64_t.
855
b749dbb9
L
8562012-03-22 H.J. Lu <hongjiu.lu@intel.com>
857
858 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
859 declaration.
860 (struct La_x32_retval): Likewise.
861
2ff87f3f
L
8622012-03-22 H.J. Lu <hongjiu.lu@intel.com>
863
864 * sysdeps/x86_64/preconfigure.in: New file.
865 * sysdeps/x86_64/preconfigure: New generated file.
866
c0df8e69
JM
8672012-03-22 Joseph Myers <joseph@codesourcery.com>
868
48e44791
JM
869 [BZ #13824]
870 * math/e_exp2l.c: Include <float.h>.
871 (__ieee754_exp2l): Handle overflow and underflow cases
872 separately. Only pass fractional part of argument to
873 __ieee754_expl.
874 * math/libm-test.inc (exp2_test): Add more tests.
875
c0df8e69
JM
876 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
877 negating x to take absolute value.
878 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
879 Likewise.
880 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
881 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
882 Likewise.
883 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
884 computing low part if x was negated.
885 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
886
c8e43ba7
L
8872012-03-21 H.J. Lu <hongjiu.lu@intel.com>
888
889 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
890 la_x32_gnu_pltexit.
891 (pltexit): Cast int_retval to ptrdiff_t.
892 * elf/tst-auditmod3b.c: Likewise.
893 * elf/tst-auditmod4b.c: Likewise.
894 * elf/tst-auditmod5b.c: Likewise.
895 * elf/tst-auditmod6b.c: Likewise.
896 * elf/tst-auditmod6c.c: Likewise.
897 * elf/tst-auditmod7b.c: Likewise.
898
899 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
900 and x32_gnu_pltexit.
901
902 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
903 __ELF_NATIVE_CLASS.
904 (La_x32_regs): New macro.
905 (La_x32_retval): Likewise.
906 (la_x32_gnu_pltenter): New function prototype.
907 (la_x32_gnu_pltexit): Likewise.
908
7998fa78
AS
9092012-03-21 Andreas Schwab <schwab@linux-m68k.org>
910
dcb33988
AS
911 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
912 exponent.
913
233fc563
AS
914 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
915
7998fa78
AS
916 * configure.in (libc_cv_cc_nofma): Check for option to disable
917 generation of FMA instructions.
918 * configure: Regenerate.
919 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
920 * sysdeps/ieee754/dbl-64/Makefile: New file.
921 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
922 Remove brandred-fma4.
923 (CFLAGS-brandred-fma4.c): Remove.
924 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
925 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
926 define.
927 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
928 define.
929
8e95c99a
L
9302012-03-21 H.J. Lu <hongjiu.lu@intel.com>
931
932 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
933 LLONG_MAX != LONG_MAX.
934 (_itoa_word): Use _ITOA_WORD_TYPE on value.
935 (_fitoa_word): Likewise.
936 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
937 LLONG_MAX != LONG_MAX.
938 * stdio-common/_itowa.h: Include <_itoa.h>.
939 (_itowa_word): Use _ITOA_WORD_TYPE on value.
940 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
941 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
942 only if not defined.
943 (_ITOA_WORD_TYPE): Likewise.
944 (_itoa_word): Use _ITOA_WORD_TYPE on value.
945 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
946
6f4db457
DM
9472012-03-21 David S. Miller <davem@davemloft.net>
948
949 * sysdeps/sparc/fpu/libm-test-ulps: Update.
950
7785fe5a
L
9512012-03-21 H.J. Lu <hongjiu.lu@intel.com>
952
953 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
954 of x86_64 when setting libc_cv_slibdir, libdir and
955 libc_cv_localedir.
956 * sysdeps/unix/sysv/linux/configure: Regenerated.
957
4535cd55
JM
9582012-03-21 Joseph Myers <joseph@codesourcery.com>
959
960 * manual/lang.texi (Old Varargs): Remove section.
961 (How Variadic): Update menu.
962 (va_start): Do not mention varargs.h.
963
17228132
TS
9642012-03-21 Thomas Schwinge <thomas@codesourcery.com>
965 Joseph Myers <joseph@codesourcery.com>
966
967 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
968 link test.
969 * configure: Regenerated.
970
8149f976
TS
9712012-03-21 Thomas Schwinge <thomas@codesourcery.com>
972
05f3d1f6
UD
973 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
974 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
975 conformtest.pl
8149f976 976
1a4ac776
JM
9772012-03-21 Joseph Myers <joseph@codesourcery.com>
978
be22ce65
JM
979 * NOTES: Remove.
980 * Makefile (files-for-dist): Remove NOTES.
981 (NOTES): Remove rule.
982 * README: Don't refer to NOTES.
983 * manual/creature.texi: Don't include macros.texi.
984 * manual/intro.texi (creature.texi): Remove comment referring to
985 NOTES.
986
40b601fb
JM
987 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
988 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
989 * configure: Regenerated.
990 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
991 LIBC_TRY_CC_OPTION.
992 (libc_cv_as_i686): Likewise.
993 (libc_cv_cc_avx): Likewise.
994 (libc_cv_cc_sse2avx): Likewise.
995 (libc_cv_cc_fma4): Likewise.
996 (libc_cv_cc_novzeroupper): Likewise.
997 * sysdeps/i386/configure: Regenerated.
998
1a4ac776
JM
999 [BZ #13883]
1000 * sysdeps/i386/fpu/s_cexp.S: Remove.
1001 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1002 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1003 * math/libm-test.inc (cexp_test): Add more tests.
1004 * sysdeps/i386/fpu/libm-test-ulps: Update.
1005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1006
a458e7fe
AM
10072012-03-21 Allan McRae <allan@archlinux.org>
1008
1009 * timezone/Makefile: Do not install iso3166.tab and zone.tab
1010
0cb7efc5
JM
10112012-03-21 Joseph Myers <joseph@codesourcery.com>
1012
1013 [BZ #13871]
1014 * math/w_exp2.c: Do not include <float.h>.
1015 (o_threshold, u_threshold): Remove.
1016 (__exp2): Calculate result before checking finiteness and calling
1017 __kernel_standard.
1018 * math/w_exp2f.c: Likewise.
1019 * math/w_exp2l.c: Likewise.
1020 * math/libm-test.inc (exp2_test): Require overflow exception for
1021 1e6 input.
2460d3aa
JM
1022
1023 [BZ #3866]
1024 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
1025 range of signed 64-bit integers before using fistpll. Remove
1026 checks for whether integers fit in mantissa bits.
1027 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
1028 the range of signed 32-bit integers before using fistpl. Remove
1029 checks for whether integers fit in mantissa bits.
1030 * sysdeps/i386/fpu/e_powl.S (p64): New object.
1031 (__ieee754_powl): Test for y outside the range of signed 64-bit
1032 integers before using fistpll. Reduce 64-bit values to 63-bit
1033 ones as needed.
1034 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
1035 divide-by-zero is raised for zero to large negative powers.
1036 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
1037 (__ieee754_powl): Test for y outside the range of signed 64-bit
1038 integers before using fistpll. Reduce 64-bit values to 63-bit
1039 ones as needed.
1040 * math/libm-test.inc (pow_test): Add more tests.
1041
eb96ffb0
L
10422012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1043
1044 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
1045 <stdio-common/_itoa.h>.
1046 * debug/segfault.c: Likewise.
1047 * elf/dl-cache.c: Likewise.
1048 * elf/dl-minimal.c: Likewise.
1049 * elf/dl-misc.c: Likewise.
1050 * elf/dl-sysdep.c: Likewise.
1051 * elf/dl-version.c: Likewise.
1052 * elf/rtld.c: Likewise.
1053 * hurd/hurdsock.c: Likewise.
1054 * hurd/lookup-retry.c: Likewise.
1055 * malloc/malloc.c: Likewise.
1056 * malloc/mtrace.c: Likewise.
1057 * nscd/nscd_getgr_r.c: Likewise.
1058 * nscd/nscd_getpw_r.c: Likewise.
1059 * nscd/nscd_getserv_r.c: Likewise.
1060 * posix/getopt_init.c: Likewise.
1061 * posix/wordexp.c: Likewise.
1062 * stdio-common/_itoa.c: Likewise.
1063 * stdio-common/printf_fphex.c: Likewise.
1064 * stdio-common/vfprintf.c: Likewise.
1065 * string/_strerror.c: Likewise.
1066 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
1067 * sysdeps/i386/i686/hp-timing.h: Likewise.
1068 * sysdeps/mach/_strerror.c: Likewise.
1069 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
1070 * sysdeps/mach/hurd/sethostid.c: Likewise.
1071 * sysdeps/mach/hurd/xmknodat.c: Likewise.
1072 * sysdeps/mach/xpg-strerror.c: Likewise.
1073 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1074 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1075 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
1076 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
1077 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1078 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
1079 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1080 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1081 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
1082 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
1083 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1084 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1085 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1086 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1087 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1088 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
1089 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1090 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1091 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1092 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1093 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
1094
1095 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
1096
1097 * stdio-common/_itoa.h: Moved to ...
1098 * sysdeps/generic/_itoa.h: Here.
1099
1100 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
1101
1102 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
1103 instead of "_itoa.h" and "_itowa.h".
1104 * stdio-common/vfprintf.: Likewise.
1105
d1af992d
L
11062012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1107
1108 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
1109 <bits/wordsize.h>.
1110 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
1111 (__signbit): Likwise.
1112 (llrintf): Likwise.
1113 (llrint): Likwise.
1114
114883e0
L
11152012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1116
1117 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
1118 __WORDSIZE != 64.
1119
c135cc1b
JM
11202012-03-20 Joseph Myers <joseph@codesourcery.com>
1121
1122 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
1123 OVERFLOW_EXCEPTION_OK.
1124 * math/libm-test.inc ("Philosophy"): Update comment about
1125 exception testing.
1126 (OVERFLOW_EXCEPTION): Define.
1127 (OVERFLOW_EXCEPTION_OK): Likewise.
1128 (INVALID_EXCEPTION_OK): Renumber.
1129 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1130 (IGNORE_ZERO_INF_SIGN): Likewise.
1131 (test_exceptions): Handle FE_OVERFLOW.
1132 (exp10_test): Expect overflow exceptions.
1133 (exp2_test): Likewise.
1134 (expm1_test): Likewise.
1135 (nextafter_test): Likewise.
1136 (pow_test): Likewise.
1137 (scalbn_test): Likewise.
1138 (scalbln_test): Likewise.
1139
95443d88
L
11402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1141
1142 * sysdeps/x86_64/bits/atomic.h
1143 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
1144 64bit integer.
1145 (atomic_exchange_acq): Likewise.
1146 (__arch_exchange_and_add_body): Likewise.
1147 (__arch_add_body): Likewise.
1148 (atomic_add_negative): Likewise.
1149 (atomic_add_zero): Likewise.
1150
490df6c4
L
11512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1152
c2722551 1153 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
1154 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
1155
5e52b189
L
11562012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1157
1158 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
1159 Check __x86_64__ instead of __WORDSIZE.
1160
a9879d4c
L
11612012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1162
1163 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
1164
5df98260
DM
11652012-03-19 David S. Miller <davem@davemloft.net>
1166
e1497744
DM
1167 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1168
5df98260
DM
1169 * sysdeps/sparc/fpu/fenv_private.h: New file.
1170 * sysdeps/sparc/fpu/math_private.h: Use it.
1171 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1172 Remove.
1173 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1174 (libc_feholdexcept_setroundl): Remove.
1175 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1176 Remove.
1177 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1178 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1179
b4c35121
L
11802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1181
1182 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1183 int64_t instead of long int.
1184 (INSERT_WORDS64): Likwise.
1185
56965fd7
L
11862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1187
1188 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1189 _Unwind_GetCFA return to _Unwind_Ptr first.
1190
83d1aec8
JM
11912012-03-19 Joseph Myers <joseph@codesourcery.com>
1192
1897ad44
JM
1193 [BZ #13629]
1194 * math/s_clog.c: Include <float.h>.
1195 (__clog): Scale large or subnormal inputs.
1196 * math/s_clogf.c: Likewise.
1197 * math/s_clogl.c: Likewise.
1198 * math/s_clog10.c: Include <float.h>.
1199 (M_LOG10_2): Define.
1200 (__clog10): Scale large or subnormal inputs.
1201 * math/s_clog10f.c: Likewise.
1202 * math/s_clog10l.c: Likewise.
1203 * math/libm-test.inc (clog_test): Add more tests.
1204 (clog10_test): Likewise.
1205 * sysdeps/i386/fpu/libm-test-ulps: Update.
1206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1207
7726d6a9
JM
1208 [BZ #11451]
1209 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1210 x and y.
1211 * math/libm-test.inc (atan2_test): Add another test.
1212
83d1aec8
JM
1213 * Makerules (common-objdir-compile): Remove.
1214 * sysdeps/unix/Makefile (config-generated): Do not add
1215 $(unix-generated) to variable.
1216 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1217 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1218 Remove rule.
1219 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1220 Likewise.
1221 [generic bits/local_lim.h] (before-compile): Do not append to
1222 variable.
1223 [generic bits/local_lim.h] (common-generated): Likewise.
1224 [generic sys/param.h] (before-compile): Do not append to variable.
1225 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1226 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1227 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1228 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1229 include.
1230 [generic sys/param.h] (sys/param.h-includes): Remove variable.
1231 [generic sys/param.h] (sys/param.h-includes): Remove rule.
1232 [generic sys/param.h] ($(addprefix
1233 $(common-objpfx),$(sys/param.h-includes))): Likewise.
1234 [generic sys/param.h] (common-generated): Do not append to
1235 variable.
1236 [generic sys/param.h] (sysdep_headers): Likewise.
1237 [generic bits/errno.h] (before-compile): Do not append to
1238 variable.
1239 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
1240 rule.
1241 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
1242 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
1243 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
1244 [generic bits/errno.h] (common-generated): Do not append to
1245 variable.
1246 [generic bits/ioctls.h] (before-compile): Do not append to
1247 variable.
1248 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
1249 rule.
1250 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
1251 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
1252 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
1253 rule.
1254 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
1255 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
1256 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
1257 [generic bits/ioctls.h] (common-generated): Do not append to
1258 variable.
1259 [generic sys/syscall.h] (syscall.h): Remove variable.
1260 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
1261 rule.
1262 [generic sys/syscall.h] (before-compile): Do not append to
1263 variable.
1264 [generic sys/syscall.h] (common-generated): Likewise.
1265 * sysdeps/unix/errnos-tmpl.c: Remove file.
1266 * sysdeps/unix/errnos.awk: Likewise.
1267 * sysdeps/unix/ioctls-tmpl.c: Likewise.
1268 * sysdeps/unix/ioctls.awk: Likewise.
1269 * sysdeps/unix/mk-local_lim.c: Likewise.
1270 * sysdeps/unix/snarf-ioctls: Likewise.
1271
4851a949
RH
12722012-03-19 Richard Henderson <rth@twiddle.net>
1273
bd37f2ee
RH
1274 * sysdeps/i386/fpu/fenv_private.h: New file.
1275 * sysdeps/i386/fpu/math_private.h: Use it.
1276 (math_opt_barrier, math_force_eval): Remove.
1277 (libc_feholdexcept_setround_53bit): Remove.
1278 (libc_feupdateenv_53bit): Remove.
1279 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1280 (math_opt_barrier, math_force_eval): Remove.
1281 (libc_feholdexcept): Remove.
1282 (libc_feholdexcept_setround): Remove.
1283 (libc_fetestexcept, libc_fesetenv): Remove.
1284 (libc_feupdateenv_test): Remove.
1285 (libc_feupdateenv, libc_feholdsetround): Remove.
1286 (libc_feresetround): Remove.
1287
d0adc922
RH
1288 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1289 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1290
0fe0f1f8
RH
1291 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1292 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1293 (libc_feupdateenv_testl): New.
1294 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1295 (libc_feupdateenv_testf): New.
1296 (libc_feupdateenv): Use libc_feupdateenv_test.
1297 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1298 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1299
eb92c487
RH
1300 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1301 (libc_feholdsetroundf, libc_feholdsetroundl): New.
1302 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1303 (libc_feresetround_noex): New.
1304 (libc_feresetround_noexf): New.
1305 (libc_feresetround_noexl): New.
1306 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1307 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1308 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1309 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1310 SET_RESTORE_ROUND.
1311 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1312 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1313 (__cos): Likewise.
1314 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1315 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1316 SET_RESTORE_ROUND_NOEX.
1317 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1318 SET_RESTORE_ROUND_NOEXF.
1319 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1320 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1321 (libc_feholdsetroundf): New.
1322 (libc_feresetround, libc_feresetroundf): New.
1323
7d2e8012
RH
1324 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1325 (libc_feholdexcept_setround_53bit): Convert from macro to function.
1326 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
1327
b4dabbb4
RH
1328 * sysdeps/generic/math_private.h: Include <fenv.h>.
1329 (default_libc_feholdexcept): New.
1330 (default_libc_feholdexcept_setround): New.
1331 (default_libc_fesetenv, default_libc_feupdateenv): New.
1332 (libc_feholdexcept): Only define if undefined.
1333 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1334 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1335 (libc_feholdexcept_setroundl): Likewise.
1336 (libc_feholdexcept_setround_53bit): Likewise.
1337 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1338 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1339 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1340 (libc_feupdateenv_53bit): Likewise.
1341 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1342 (libc_feholdexcept): Convert from macro to inline function.
1343 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1344 (libc_fesetenv, libc_feupdateenv): Likewise.
1345
4851a949
RH
1346 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1347 not previously defined.
1348 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1349 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1350 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1351 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1352 * sysdeps/ieee754/flt-32/math_private.h: New file.
1353 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1354 math_private.h below SET_FLOAT_WORD.
1355 (__isnan, __isinf_ns, __finite): Remove.
1356 (__isnanf, __isinf_nsf, __finitef): Remove.
1357
e79d442e
AS
13582012-03-18 Andreas Schwab <schwab@linux-m68k.org>
1359
1360 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1361
90b80344
DM
13622012-03-17 David S. Miller <davem@davemloft.net>
1363
1364 [BZ #6471]
1365 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1366 for 2.16.
1367
edc21804
DM
13682012-03-16 David S. Miller <davem@davemloft.net>
1369
77e927af
DM
1370 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1371 warnings.
1372
374976dd
DM
1373 [BZ #6471]
1374 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1375 properly.
1376 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1377 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1378 sysdep_routines when subdir is sysvipc.
1379 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1380 __getshmlba helper.
1381
edc21804
DM
1382 * sysdeps/sparc/fpu/libm-test/ulps: Update.
1383
473c3ef3
L
13842012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1385
1386 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1387 [__LP64__].
1388
eb0f39b6
L
13892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1390
1391 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1392 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1393 (__lround): Renamed to ...
1394 (__llround): This. Replace long int with long long int.
1395 Define lround functions as aliases of llround functions.
1396 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1397
6b6cd74b
L
13982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1399
1400 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1401 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
1402 adresses to uintptr_t. Replace "long int" and "unsigned long
1403 int" with "greg_t" on va_arg.
1404
f1a77b01
L
14052012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1406
1407 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1408 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1409
1410 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1411 Move e_machine check before EI_CLASS check. Handle x32
1412 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1413 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1414 SKIP_EM_IA_64 and include
1415 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1416
1417 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1418 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1419 (add_system_dir): New macro.
1420
1421 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1422 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1423
11b90b9f
JM
14242012-03-16 Joseph Myers <joseph@codesourcery.com>
1425
c36e1d23
JM
1426 [BZ #2551]
1427 [BZ #2552]
1428 [BZ #2553]
1429 [BZ #2554]
1430 [BZ #2562]
1431 [BZ #2563]
1432 [BZ #2565]
1433 [BZ #2566]
1434 [BZ #2576]
1435 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1436 (y0): Likewise.
1437 * math/w_j0f.c (j0f): Likewise.
1438 (y0f): Likewise.
1439 * math/w_j0l.c (__j0l): Likewise.
1440 (__y0l): Likewise.
1441 * math/w_j1.c (j1): Likewise.
1442 (y1): Likewise.
1443 * math/w_j1f.c (j1f): Likewise.
1444 (y1f): Likewise.
1445 * math/w_j1l.c (__j1l): Likewise.
1446 (__y1l): Likewise.
1447 * math/w_jn.c (jn): Likewise.
1448 (yn): Likewise.
1449 * math/w_jnf.c (jnf): Likewise.
1450 (ynf): Likewise.
1451 * math/w_jnl.c (__jnl): Likewise.
1452 (__ynl): Likewise.
1453 * math/libm-test.inc (j0_test): Add more tests.
1454 (j1_test): Likewise.
1455 (jn_test): Likewise. Add trailing semicolon to existing test.
1456 (y0_test): Likewise.
1457 (y1_test): Likewise.
1458 * sysdeps/i386/fpu/libm-test-ulps: Update.
1459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1460
11b90b9f
JM
1461 [BZ #13851]
1462 [BZ #13854]
1463 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1464 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1465 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1466 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1467 (__tanl): Set errno for infinite argument.
1468 * sysdeps/i386/fpu/mptan.c: Remove.
1469 * sysdeps/i386/fpu/s_tan.S: Likewise.
1470 * sysdeps/i386/fpu/s_tanl.S: Likewise.
1471 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1472 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1473 * math/libm-test.inc (tan_test): Add more tests and enable more
1474 tests for double and long double.
1475 * sysdeps/i386/fpu/libm-test-ulps: Update.
1476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1477
6a1bd2a1
JK
14782012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1479
1480 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1481 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1482
10a803e0
RM
14832012-03-16 Roland McGrath <roland@hack.frob.com>
1484
1485 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1486 * configure.in: Use it for both main tree and add-ons.
1487 * configure: Regenerated.
1488
f196c7f7
L
14892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1490
1491 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1492
8848d99d
JM
14932012-03-16 Joseph Myers <joseph@codesourcery.com>
1494
96cbe7f4
JM
1495 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1496 in comment.
1497
8848d99d
JM
1498 [BZ #13851]
1499 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1500 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1501 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1502 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1503 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1504 infinite argument.
1505 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1506 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1507 != 0 for prec == 2.
1508 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1509 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1510 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1511 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1512 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1513 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1514 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1515 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1516 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1517 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1518 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1519 * math/libm-test.inc (cos_test): Add more tests and enable more
1520 tests for long double.
1521 (sin_test): Likewise.
1522 (sincos_test): Likewise.
1523 * sysdeps/i386/fpu/libm-test-ulps: Update.
1524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1525
dd7f4703
DM
15262012-03-16 David S. Miller <davem@davemloft.net>
1527
1528 * sysdeps/sparc/fpu/math_private.h: New file.
1529
006f1daa
DM
15302012-03-15 David S. Miller <davem@davemloft.net>
1531
c0c83bc8
DM
1532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1533 file.
e6a62e18 1534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
1535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1536 file.
e6a62e18
DM
1537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1538 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1539 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1540 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1541 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1542 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1543 sysdep routines.
1544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1545
88cb87d9
DM
1546 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1547 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1548
006f1daa 1549 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
1550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1551 sparc-ifunc.h
006f1daa 1552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
1553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1554 Likewise.
1555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1556 Likewise.
006f1daa
DM
1557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
1560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1561 Likewise.
006f1daa
DM
1562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
1566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1567 Likewise.
1568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1569 Likewise.
006f1daa
DM
1570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1574 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1575 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1576 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1577 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1578 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1579 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1580 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1581 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1582 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1583 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1584 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1585 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1586 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1587 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1588 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1589 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1590 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1591 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1592 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1593 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1594
11e0098e
AS
15952012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1596
1597 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1598 scaling.
1599 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1600
e85b09d0
AJ
16012012-03-15 Andreas Jaeger <aj@suse.de>
1602
1603 [BZ #13852]
1604 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1605 ieee754/flt-32 implementation for sin, cos and sincos.
1606 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1607 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1608 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1609 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1610 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1611 ieee754/flt-32 implementation for tan.
1612
1613 * math/libm-test.inc (cos_test): Enable some large input tests for
1614 float as well
1615 (sin_test): Likewise.
1616 (sincos_test): Likewise.
1617 (tan_test): Add tests for large input.
1618
1619 * sysdeps/i386/fpu/libm-test-ulps: Update.
1620
81c64153
AJ
16212012-03-15 Andreas Jaeger <aj@suse.de>
1622
1623 [BZ #13658]
1624 * math/libm-test.inc (cos_test): Add more test cases.
1625 (sin_test): Likewise.
1626 (sincos_test): Likewise.
1627
7bbfa5c6
AJ
16282012-03-15 Andreas Jaeger <aj@suse.de>
1629
1630 [BZ #13837]
1631 * math/libm-test.inc (cos_test): Add a test case for large input
1632 value.
1633 (sin_test): Likewise.
1634 (sincos_test): Likewise.
1635
16362012-03-15 Andreas Jaeger <aj@suse.de>,
1637 Joseph Myers <joseph@codesourcery.com>
1638
1639 [BZ #13658]
0671f479 1640 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
1641 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1642 * sysdeps/i386/fpu/branred.c: Likewise.
1643 * sysdeps/i386/fpu/dosincos.c: Likewise.
1644 * sysdeps/i386/fpu/mpa.c: Likewise.
1645 * sysdeps/i386/fpu/s_cos.S: Likewise.
1646 * sysdeps/i386/fpu/s_sin.S: Likewise.
1647 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1648 * sysdeps/i386/fpu/sincos32.c: Likewise.
1649
1650 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1651 Define.
1652 (libc_feupdateenv_53bit): Define.
1653 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1654 Define.
1655 (libc_feupdateenv_53bit): Define.
1656
1657 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1658 53 bit (without extend i386 double precision).
1659
1660 * math/libm-test.inc (sincos_test): Add tests for large input.
1661 (sin): Likewise.
1662 (cos): Likewise.
1663
1664 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1665
9cad04ea
AS
16662012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1667
1668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1669
f7062b9a
DM
16702012-03-15 David S. Miller <davem@davemloft.net>
1671
1672 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1673 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1674 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1675 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1676 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1677 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1678 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1680 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1681 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1682 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1683 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1684 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1685 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1686 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
1687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1688 file.
f7062b9a 1689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
1690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1691 file.
f7062b9a 1692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
1693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1694 file.
f7062b9a 1695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
1696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1697 file.
f7062b9a
DM
1698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1699 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1700 fmin/fmax sysdep routines.
1701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1702
7bd951ff
DM
17032012-03-14 David S. Miller <davem@davemloft.net>
1704
559398ab
DM
1705 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1706 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1707 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1708 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1709 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1710 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1711 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1712 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1713 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1714 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1715 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1716 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1717 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1718 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1719 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1720 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1721 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1722 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1723 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1724 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1725 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1726 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1727 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1728 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1729 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1730 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1731 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1732 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1733 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1734 routines.
1735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1736 file.
559398ab 1737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
1738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1739 file.
559398ab 1740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
1741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1742 file.
559398ab 1743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
1744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1745 file.
559398ab 1746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
1747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1748 file.
559398ab 1749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
1750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1751 file.
1752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1753 file.
1754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1755 file.
1756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1757 file.
1758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1759 New file.
1760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1761 file.
1762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1763 file.
559398ab 1764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
1765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1766 file.
559398ab 1767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1769 file.
559398ab 1770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
1771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1772 file.
559398ab 1773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
1774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1775 VIS3 routines.
559398ab
DM
1776
1777 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1778 New file.
1779
5a1c1e32
DM
1780 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1781
eae47a36
DM
1782 * sysdeps/sparc/configure.in: New file.
1783 * sysdeps/sparc/configure: Generate.
1784 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1785 * configure: Regenerate.
1786 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1787 * config.make.in (have-as-vis3): New.
1788 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1789 available use -Av9d instead of -Av9a.
1790 * sysdeps/sparc/sparc64/Makefile: Likewise.
1791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
1792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1793 New file.
1794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1795 file.
1796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1797 New file.
1798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1799 file.
eae47a36
DM
1800 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1801 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1802 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1803 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1804 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1805
c0c83bc8
DM
1806 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1807 fzeros/fnegs to load 0x80000000 into a float register instead of
1808 using the stack.
7bd951ff
DM
1809 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1810
bd951ccb
JM
18112012-03-14 Joseph Myers <joseph@codesourcery.com>
1812
1813 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1814 bits/syscall.h.
1815 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1816 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1817 ($(inst_includedir)/bits/syscall.h): Remove rule.
1818 ($(objpfx)bits/syscall.d): Include instead of
1819 $(objpfx)syscall-list.d.
1820 (generated): Change syscall-list.h and syscall-list.d to
1821 bits/syscall.h and bits/syscall.d.
1822
bb4e6db2
RM
18232012-03-14 Roland McGrath <roland@hack.frob.com>
1824
1825 [BZ #13846]
1826 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1827
aa4a2ae1
JM
18282012-03-14 Joseph Myers <joseph@codesourcery.com>
1829
e456826d
JM
1830 [BZ #13841]
1831 * math/s_csqrt.c: Include <float.h>.
1832 (__csqrt): Scale large or subnormal inputs.
1833 * math/s_csqrtf.c: Likewise.
1834 * math/s_csqrtl.c: Likewise.
1835 * math/libm-test.inc (csqrt_test): Add more tests.
1836 * sysdeps/i386/fpu/libm-test-ulps: Update.
1837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1838
aa4a2ae1
JM
1839 [BZ #13840]
1840 * math/libm-test.inc (hypot_test): Add more tests.
1841
7c10fd35
DM
18422012-03-13 David S. Miller <davem@davemloft.net>
1843
1844 [BZ #13840]
1845 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1846 double-precision for the calculation instead of scaling.
1847
f453b98b
JM
18482012-03-13 Joseph Myers <joseph@codesourcery.com>
1849
1850 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1851 manipulate bits before adding and subtracting TWO52[sx].
1852 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1853 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1854 Likewise.
1855 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1856
09a3453f
DM
18572012-03-13 David S. Miller <davem@davemloft.net>
1858
8e59da90
DM
1859 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1860 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1861 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1862 rtld-global-offsets.h
1863 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1864
2a8ab7f2
DM
1865 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1866 large parameters.
1867
10f62770
DM
1868 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1869
5f0bdb18
DM
1870 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1871 'err' in the ifdef scope in which it is actually used.
1872
09a3453f
DM
1873 * nss/nss_db/db-init.c: Include string.h
1874
b4b2eb5e
DM
18752012-03-12 David S. Miller <davem@davemloft.net>
1876
98bb2f1c
DM
1877 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1878 masking out of the most significant byte of random value used.
1879 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1880 Fix coding style in previous change.
1881
b4b2eb5e
DM
1882 * sysdeps/unix/sysv/linux/kernel-features.h
1883 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1884 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1885 expression.
1886 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1887 later.
1888
6e226b09
DM
18892012-03-11 David S. Miller <davem@davemloft.net>
1890
a1bcbd40
DM
1891 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1892 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1893 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1894 for 'resultvar' otherwise things get truncated on 64-bit.
1895
cb9d6174
DM
1896 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1897 Fix masking out of the most significant byte of random value used.
1898
6e226b09
DM
1899 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1900
058c132d
AS
19012012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1902
1903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1904
2d2cd515
DM
19052012-03-09 David S. Miller <davem@davemloft.net>
1906
1907 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1908 variables with appropriate CPP guards.
1909 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1910 frame pointer, not the stack pointer. Correct layout comments. Fix test
1911 on resulting framesize and the management of the outregs buffer for pltexit.
1912 Preserve floating point return values across _dl_call_pltexit call.
1913 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1914 framesize and the management of the outregs buffer for pltexit.
1915 Preserve floating point return values across _dl_call_pltexit
1916 call.
1917 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1918 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1919 (print_exit): Fix format string for return register value.
1920
9a07f9d0
JM
19212012-03-10 Joseph Myers <joseph@codesourcery.com>
1922
1923 * sunrpc/Makefile (others): Add rpcgen.
1924 ($(objpfx)rpcgen): Remove special build rule and dependency on
1925 libc.
1926 * sunrpc/rpcgen.c: New file.
1927
547b5e30
PE
19282012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1929
c524201a
PE
1930 [BZ #13673]
1931 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1932 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1933 * sysdeps/i386/crti.S: Likewise.
1934 * sysdeps/i386/crtn.S: Likewise.
1935 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1936 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1937 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1938 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1939 * sysdeps/sh/crti.S: Likewise.
1940 * sysdeps/sh/crtn.S: Likewise.
1941 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1942
7b6235f2
PE
1943 [BZ #13673]
1944 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1945 with URL.
1946 * locale/programs/locfile-kw.gperf: Likewise.
1947 * locale/programs/charmap-kw.h: Regenerated.
1948 * locale/programs/locfile-kw.h: Likewise.
1949
547b5e30
PE
1950 [BZ #13673]
1951 * intl/plural.y: Replace FSF snail mail address with URL.
1952 * intl/plural.c: Regenerated.
1953
5f0a5dae
RH
19542012-03-09 Richard Henderson <rth@twiddle.net>
1955
1956 * include/math_private.h: Remove file.
1957 * math/math_private.h: Move file ...
1958 * sysdeps/generic/math_private.h: ... here.
1959
b8c03620
RH
1960 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1961 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1962 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1963
4e234f5d 1964 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
1965 and <math_private.h>.
1966 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1967 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1968 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1969 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1970 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1971 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1972 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1973 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1974 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1975 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1976 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1977 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1978 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1979 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1980 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1981 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1982 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1983 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1984 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1985 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1986 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1987 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1988 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1989 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1990 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1991 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1992 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1993 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1994 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1995 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1996 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1997 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1998 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1999 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2000 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2001 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2002 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2003 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2004 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2005 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2006 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
2007 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2008 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2009 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2010 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2011 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2012 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
2013 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2014 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2015 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2016 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2017 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
2018 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2019 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2020 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2021 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2022 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2023 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2024 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2025 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
2026 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2027 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2028 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2029 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2030 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
2031 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2032 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2033 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2034 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
2035 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
2036 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2037 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2038 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2039 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2040 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
2041 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2042 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
2043 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2044 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
2045 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
2046 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2047 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
2048 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2049 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
2050 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2051 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2052 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
2053 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2054 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
2055 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2056 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2057 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
2058 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2059 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
2060 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
2061 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
2062 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2063 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2064 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2065 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
2066 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
2067 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
2068 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
2069 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
2070 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2071 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
2072 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2073 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
2074 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2075 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2076 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2077 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2078 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2079 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2080 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
2081 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2082 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2083 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2084 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2085 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2086 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2087 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2088 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2089 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
2090 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2091 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2092 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2093 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
2094 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2095 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
2096 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
2097 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2098 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2099 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
2100 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
2101 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2102 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2103 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2104 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
2105 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2106 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2107 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2108 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2109 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
2110 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
2111 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2112 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2113 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2114 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2115 * sysdeps/ieee754/k_standard.c: Likewise.
2116 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2117 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2118 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2119 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2120 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2121 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2122 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2123 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2124 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2125 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2126 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2127 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2128 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2129 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2130 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2131 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2132 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2133 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2134 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2135 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2136 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2137 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2138 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2139 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2140 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2141 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2142 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2143 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2144 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2145 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2146 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2147 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2148 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2149 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2150 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2151 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2152 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2153 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
2154 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2155 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2156 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2157 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2158 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2159 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2160 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2161 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2162 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2163 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2164 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2165 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2166 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2167 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2168 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2169 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2170 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2171 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2172 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2173 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2174 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2175 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2176 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2177 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2178 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2179 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2180 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2181 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2182 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2183 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2184 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2185 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2186 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2187 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2188 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2189 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2190 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2191 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2192 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2193 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2194 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2195 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2196 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2197 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2198 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2199 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2200 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2201 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2202 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2203 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2204 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2205 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2206 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2207 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2208 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2209 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2210 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2211 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2212 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2213 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2214 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2215 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2216 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2217 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2218 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2219 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2220 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2221 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2222 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2223 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2224 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2225 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2226 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2227 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2228 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2229 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2230 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2231 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2232 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2233 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2234 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2235 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2236 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2237 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2238 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2239 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2240 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2241 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2242 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2243 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2244 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2245 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2246 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2247 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2248 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2249 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2250 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2251 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2252 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
2253 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2254 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2255 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
2256 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
2257 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2258 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
2259 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
2260 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2261 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2262 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2263 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2264 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2265 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
2266 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2267 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2268 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2269 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2270 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
2271 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
2272 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2273 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2274 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2275 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2276 * sysdeps/ieee754/s_lib_version.c: Likewise.
2277 * sysdeps/ieee754/s_matherr.c: Likewise.
2278 * sysdeps/ieee754/s_signgam.c: Likewise.
2279 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2280 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2281 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2282 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2283 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2284 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2285 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2286 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2287 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2288 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2289 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2290 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2291 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2292 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2293 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2294 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2295 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2296 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2297 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2298 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2299 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 2300
1991fa03
JM
23012012-03-09 Joseph Myers <joseph@codesourcery.com>
2302
2303 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2304 * sunrpc/rpc_main.c: Likewise.
2305 * sunrpc/rpc_svcout.c: Likewise.
2306
60d6f5a6
DM
23072012-03-09 David S. Miller <davem@davemloft.net>
2308
2309 * include/math_private.h: New file.
2310
4962050e
JM
23112012-03-09 Joseph Myers <joseph@codesourcery.com>
2312
02a6f887
JM
2313 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2314 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2315 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2316 from <bits/socket_type.h>.
2317 (enum __socket_type): Don't define here.
2318 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2319 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2320 bits/socket_type.h.
2321
c6e013c1
JM
2322 [BZ #13566]
2323 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2324 checking __USE_GNU.
2325
4962050e
JM
2326 * Makerules ($(inst_includedir)/%.h): New rule.
2327 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2328 (install-others): Remove variable setting.
2329 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2330
38842f45
RH
23312012-03-08 Richard Henderson <rth@twiddle.net>
2332
67bb6da6
RH
2333 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2334 from macro to inline function; merge with the
2335 !__LIBC_INTERNAL_MATH_INLINES version.
2336 (__ieee754_sqrtf): Likewise.
2337
15194b4b
RH
2338 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2339 to inline function.
2340 (__rintf, __floor, __floorf): Likewise.
2341
64e21ede
RH
2342 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2343 macro to inline function.
2344 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2345
38842f45
RH
2346 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2347 not <math/math_private.h>.
2348
c64bf5fe
DM
23492012-03-08 David S. Miller <davem@davemloft.net>
2350
2351 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2352 copyright year.
2353 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2354
82d86f28
TS
23552012-03-08 Thomas Schwinge <thomas@codesourcery.com>
2356
2357 * resolv/gai_misc.c (handle_requests): Fix struct timespec
2358 normalization.
2359 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2360 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2361
aea5d727
UD
23622012-03-08 Ulrich Drepper <drepper@gmail.com>
2363
2364 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
2365 be defined individually, they must be defined as a block. Define
2366 S for printing a string instead of hidint the different by using a
2367 macro for adding the 'l'.
2368 * stdio-common/tst-fphex-wide.c: Adjust.
2369
70bca0a3
MP
23702012-03-07 Marek Polacek <polacek@redhat.com>
2371
2372 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2373
65b81130
MP
23742012-03-08 Marek Polacek <polacek@redhat.com>
2375
2376 [BZ #13806]
2377 * stdio-common/Makefile (tests): Add tst-fphex-wide.
2378 * stdio-common/tst-fphex.c: Define a few macros to make the
2379 test reusable. Use them.
2380 * stdio-common/tst-fphex-wide.c: New file.
2381
07037eeb
JM
23822012-03-08 Joseph Myers <joseph@codesourcery.com>
2383
a7a93d50
JM
2384 [BZ #6911]
2385 * manual/macros.texi (gnusystems): New macro.
2386 (nongnusystems): Likewise.
2387 (gnulinuxhurdsystems): Likewise.
2388 (gnuhurdsystems): Likewise..
2389 (gnulinuxsystems): Likewise.
2390 * manual/charset.texi: Use new macros or @theglibc{} to refer to
2391 variants of the GNU system, not "GNU system".
2392 * manual/conf.texi: Likewise.
2393 * manual/errno.texi: Likewise. Update example of errno macro
2394 expansion.
2395 * manual/filesys.texi: Likewise.
2396 (getumask): Document as specific to GNU/Hurd.
2397 * manual/install.texi: Likewise. Reword some references to
2398 GNU/Linux.
2399 * manual/intro.texi: Likewise.
2400 * manual/io.texi: Likewise.
2401 (File Name Portability): Detail which constraints are inapplicable
2402 to all GNU systems and which are only inapplicable to GNU/Hurd.
2403 * manual/job.texi: Likewise.
2404 * manual/llio.texi: Likewise.
2405 (O_NOCTTY): Document as present on GNU/Linux.
2406 * manual/maint.texi: Likewise.
2407 * manual/memory.texi: Likewise.
2408 * manual/pattern.texi: Likewise.
2409 * manual/pipe.texi: Likewise.
2410 * manual/process.texi: Likewise.
2411 * manual/resource.texi: Likewise.
2412 (RUSAGE_CHILDREN): Remove statement about specifying a particular
2413 child on GNU/Hurd.
2414 * manual/setjmp.texi: Likewise.
2415 * manual/signal.texi: Likewise.
2416 * manual/startup.texi: Likewise.
2417 * manual/stdio.texi: Likewise.
2418 * manual/terminal.texi: Likewise.
2419 (ONLCR): Document as POSIX.
2420 (OXTABS): Document availability on GNU/Linux as XTABS.
2421 (ONOEOT): Document availability separately from other bits.
2422 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2423 * manual/time.texi: Likewise.
2424 * manual/users.texi: Likewise.
2425 * INSTALL: Regenerated.
2426 * sysdeps/gnu/errlist.c: Regenerated.
2427
07037eeb
JM
2428 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2429 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2430 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
2431 puts.
2432 * configure: Regenerated.
2433
d1d3431a
JM
24342012-03-07 Joseph Myers <joseph@codesourcery.com>
2435
af6a1e37
JM
2436 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2437 default includes instead of AC_HEADER_CHECK.
2438 * sysdeps/i386/configure: Regenerated.
2439
d1d3431a
JM
2440 [BZ #10716]
2441 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2442 * math/s_cacoshf.c (__cacoshf): Likewise.
2443 * math/s_cacoshl.c (__cacoshl): Likewise.
2444 * math/s_casinh.c (__casinh): Set signs of result from argument.
2445 * math/s_casinhf.c (__casinhf): Likewise.
2446 * math/s_casinhl.c (__casinhl): Likewise.
2447 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2448 (casinh_test): Add more tests.
2449 * sysdeps/i386/fpu/libm-test-ulps: Update.
2450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2451
482ff4da
UD
24522012-03-07 Ulrich Drepper <drepper@gmail.com>
2453
872fda05
UD
2454 * po/zh_TW.po: Update from translation team.
2455
a4300c7a
UD
2456 * login/Makefile (distribute): Remove variable.
2457 * catgets/Makefile: Likewise.
2458 * mach/Makefile: Likewise.
2459 * malloc/Makefile: Likewise.
2460 * misc/Makefile: Likewise.
2461 * iconv/Makefile: Likewise.
2462 * nscd/Makefile: Likewise.
2463 * hurd/Makefile: Likewise.
2464 * manual/Makefile: Likewise.
2465 * locale/Makefile: Likewise.
2466 * intl/Makefile: Likewise.
2467 * conform/Makefile: Likewise.
2468 * nss/Makefile: Likewise.
2469 * time/Makefile: Likewise.
2470 * soft-fp/Makefile: Likewise.
2471 * dirent/Makefile: Likewise.
2472 * gmon/Makefile: Likewise.
2473 * po/Makefile: Likewise.
2474 * rt/Makefile: Likewise.
2475 * socket/Makefile: Likewise.
2476 * math/Makefile: Likewise.
2477 * signal/Makefile: Likewise.
2478 * debug/Makefile: Likewise.
2479 * elf/Makefile: Likewise.
2480 * timezone/Makefile: Likewise.
2481 * stdlib/Makefile: Likewise.
2482 * iconvdata/Makefile: Likewise.
2483 * sunrpc/Makefile: Likewise.
2484 * io/Makefile: Likewise.
2485 * argp/Makefile: Likewise.
2486 * inet/Makefile: Likewise.
2487 * hesiod/Makefile: Likewise.
2488 * grp/Makefile: Likewise.
2489 * csu/Makefile: Likewise.
2490 * wctype/Makefile: Likewise.
2491 * crypt/Makefile: Likewise.
2492 * libio/Makefile: Likewise.
2493 * string/Makefile: Likewise.
2494 * nis/Makefile: Likewise.
2495 * resolv/Makefile: Likewise.
2496 * stdio-common/Makefile: Likewise.
2497 * wcsmbs/Makefile: Likewise.
2498 * dlfcn/Makefile: Likewise.
2499 * posix/Makefile: Likewise.
2500
482ff4da
UD
2501 * timezone/Makefile: Don't install timezone files, just the programs
2502 and scripts.
2503
f72ed77d
UD
25042012-03-06 Ulrich Drepper <drepper@gmail.com>
2505
a000466f
UD
2506 * nss/databases.def: Add missing gshadow entry.
2507
f72ed77d
UD
2508 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2509
a53b7a4e
MP
25102012-03-06 Marek Polacek <polacek@redhat.com>
2511
2512 [BZ #13726]
2513 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2514 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2515 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2516 * stdio-common/tst-long-dbl-fphex.c: New file.
2517
e9258400
DM
25182012-03-06 David S. Miller <davem@davemloft.net>
2519
2520 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2521 (set_obp_int): New function.
2522 (get_obp_int): New function.
2523 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
2524 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2525 Avoid unused variable warnings on 'val' and use builtin_expect.
2526 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2527 __builtin_expect.
e9258400
DM
2528 (INLINE_CLONE_SYSCALL): Likewise.
2529
3bd2c723
DM
25302012-03-05 David S. Miller <davem@davemloft.net>
2531
2532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2533
bbb78d03
AS
25342012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2535
884c5db4
AS
2536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2537
bbb78d03
AS
2538 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2539 only for |x| >= 40.
2540 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2541
1c9f702a 25422012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
2543
2544 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2545 Replace gettimeofday with __vdso_gettimeofday.
2546
7be16f82
RM
2547 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2548 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2549 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
2550
2551 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2552 time with __vdso_time.
2553
ed58a00f
JM
25542012-03-05 Joseph Myers <joseph@codesourcery.com>
2555
2556 * manual/lang.texi (size_t): Note types to which size_t may be
2557 equivalent with the GNU C Library, but do not describe when
2558 differences between them are significant.
2559
30ee4ced
AJ
25602012-03-05 Andreas Jaeger <aj@suse.de>
2561
2562 * sysdeps/i386/fpu/libm-test-ulps: Update.
2563
b7cd39e8
JM
25642012-03-05 Joseph Myers <joseph@codesourcery.com>
2565
2566 [BZ #3976]
2567 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2568 (__ieee754_pow): Save and restore rounding mode and use
2569 round-to-nearest for main computations.
2570 * math/libm-test.inc (pow_test_tonearest): New function.
2571 (pow_test_towardzero): Likewise.
2572 (pow_test_downward): Likewise.
2573 (pow_test_upward): Likewise.
2574 (main): Call the new functions.
2575 * sysdeps/i386/fpu/libm-test-ulps: Update.
2576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
2577
2578 [BZ #3976]
2579 * math/libm-test.inc (cosh_test_tonearest): New function.
2580 (cosh_test_towardzero): Likewise.
2581 (cosh_test_downward): Likewise.
2582 (cosh_test_upward): Likewise.
2583 (sinh_test_tonearest): Likewise.
2584 (sinh_test_towardzero): Likewise.
2585 (sinh_test_downward): Likewise.
2586 (sinh_test_upward): Likewise.
2587 (main): Call the new functions.
2588 * sysdeps/i386/fpu/libm-test-ulps: Update.
2589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2590
6c6a98c9
TV
25912012-03-05 Tom de Vries <tom@codesourcery.com>
2592
2593 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2594 default stack guard is set in last bytes.
2595 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2596
21bb2d2e 25972012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 2598
21bb2d2e 2599 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 2600
21bb2d2e
AJ
2601 [BZ #13656]
2602 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2603 possibly allocate from heap instead of stack.
2604 * stdio-common/bug-vfprintf-nargs.c: New file.
2605 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 2606
c6922934
AS
26072012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2608
2609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2610
bc957d53
MP
26112012-03-03 Marek Polacek <polacek@redhat.com>
2612
2613 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2614 * math/math_private.h: Likewise.
2615 * stdlib/tst-strtod.c: Likewise.
2616 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2617 * sysdeps/x86_64/bits/atomic.h: Likewise.
2618
6358490d
DM
26192012-03-02 David S. Miller <davem@davemloft.net>
2620
2621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2625 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2626 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2627 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2628 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2629
01ae168d
RM
26302012-03-02 Roland McGrath <roland@hack.frob.com>
2631
d9a17c07
RM
2632 [BZ #13792]
2633 * manual/examples/README: New file, says the example source files
2634 can be used under GPL>=2.
2635 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2636 line containing just "*/".
2637 * manual/examples/add.c: Add copyright header (GPL>=2).
2638 * manual/examples/argp-ex1.c: Likewise.
2639 * manual/examples/argp-ex2.c: Likewise.
2640 * manual/examples/argp-ex3.c: Likewise.
2641 * manual/examples/argp-ex4.c: Likewise.
2642 * manual/examples/atexit.c: Likewise.
2643 * manual/examples/db.c: Likewise.
2644 * manual/examples/dir.c: Likewise.
2645 * manual/examples/dir2.c: Likewise.
2646 * manual/examples/execinfo.c: Likewise.
2647 * manual/examples/filecli.c: Likewise.
2648 * manual/examples/filesrv.c: Likewise.
2649 * manual/examples/fmtmsgexpl.c: Likewise.
2650 * manual/examples/genpass.c: Likewise.
2651 * manual/examples/inetcli.c: Likewise.
2652 * manual/examples/inetsrv.c: Likewise.
2653 * manual/examples/isockad.c: Likewise.
2654 * manual/examples/longopt.c: Likewise.
2655 * manual/examples/memopen.c: Likewise.
2656 * manual/examples/memstrm.c: Likewise.
2657 * manual/examples/mkfsock.c: Likewise.
2658 * manual/examples/mkisock.c: Likewise.
2659 * manual/examples/mygetpass.c: Likewise.
2660 * manual/examples/pipe.c: Likewise.
2661 * manual/examples/popen.c: Likewise.
2662 * manual/examples/rprintf.c: Likewise.
2663 * manual/examples/search.c: Likewise.
2664 * manual/examples/select.c: Likewise.
2665 * manual/examples/setjmp.c: Likewise.
2666 * manual/examples/sigh1.c: Likewise.
2667 * manual/examples/sigusr.c: Likewise.
2668 * manual/examples/stpcpy.c: Likewise.
2669 * manual/examples/strdupa.c: Likewise.
2670 * manual/examples/strftim.c: Likewise.
2671 * manual/examples/strncat.c: Likewise.
2672 * manual/examples/subopt.c: Likewise.
2673 * manual/examples/swapcontext.c: Likewise.
2674 * manual/examples/termios.c: Likewise.
2675 * manual/examples/testopt.c: Likewise.
2676 * manual/examples/testpass.c: Likewise.
2677 * manual/examples/timeval_subtract.c: Likewise.
2678
01ae168d
RM
2679 [BZ #13792]
2680 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2681 function to ...
2682 * manual/timeval_subtract.c.texi: ... here, new file.
2683
49efa33d
DM
26842012-03-02 David S. Miller <davem@davemloft.net>
2685
2686 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2687
28afd92d
JM
26882012-03-02 Joseph Myers <joseph@codesourcery.com>
2689
804360ed
JM
2690 [BZ #3976]
2691 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2692 (__sin): Save and restore rounding mode and use round-to-nearest
2693 for all computations.
2694 (__cos): Save and restore rounding mode and use round-to-nearest
2695 for all computations.
2696 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2697 <fenv.h>.
2698 (tan): Save and restore rounding mode and use round-to-nearest for
2699 all computations.
2700 * math/libm-test.inc (cos_test_tonearest): New function.
2701 (cos_test_towardzero): Likewise.
2702 (cos_test_downward): Likewise.
2703 (cos_test_upward): Likewise.
2704 (sin_test_tonearest): Likewise.
2705 (sin_test_towardzero): Likewise.
2706 (sin_test_downward): Likewise.
2707 (sin_test_upward): Likewise.
2708 (tan_test_tonearest): Likewise.
2709 (tan_test_towardzero): Likewise.
2710 (tan_test_downward): Likewise.
2711 (tan_test_upward): Likewise.
2712 (main): Call the new functions.
2713 * sysdeps/i386/fpu/libm-test-ulps: Update.
2714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2715
a6d06d7b
JM
2716 [BZ #10135]
2717 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2718 small n, then large n, before computing and testing k+n.
2719 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2720 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2721 Likewise.
2722 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2723 Likewise.
2724 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2725 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2726 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2727 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2728 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2729 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2730 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2731 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2732 * math/libm-test.inc (scalbn_test): Add more tests.
2733 (scalbln_test): Likewise.
2734
07e12bb3
JM
2735 * manual/filesys.texi (mode_t): Describe constraints on size and
2736 signedness, not exact equivalence to a particular type.
2737 (ino_t): Likewise.
2738 (ino64_t): Likewise.
2739 (dev_t): Likewise.
2740 (nlink_t): Likewise.
2741 (blkcnt_t): Likewise.
2742 (blkcnt64_t): Likewise.
2743 * manual/llio.texi (off_t): Likewise.
2744
28afd92d
JM
2745 [BZ #3976]
2746 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2747 (__ieee754_exp): Save and restore rounding mode and use
2748 round-to-nearest for all computations.
2749 * math/libm-test.inc (exp_test_tonearest): New function.
2750 (exp_test_towardzero): Likewise.
2751 (exp_test_downward): Likewise.
2752 (exp_test_upward): Likewise.
2753 (main): Call the new functions.
2754 * sysdeps/i386/fpu/libm-test-ulps: Update.
2755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2756
b1eeb65d
CD
27572012-03-01 Chris Demetriou <cgd@google.com>
2758
2759 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2760 have predictable order.
2761
53362a4b
DM
27622012-03-01 David S. Miller <davem@davemloft.net>
2763
3c969083
DM
2764 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2765
759707de
DM
2766 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2767 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2768 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2769 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2770
dfdb8ff2
DM
2771 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2772 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2773 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2775 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2776 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2777 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2778 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2779 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2780
ead89f96
DM
2781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2782
7f66bd07
DM
2783 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2784 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2785 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2786
53362a4b
DM
2787 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2788 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2789 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2790 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2791 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2792 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2793 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2794 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2795 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2796 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2797 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2798 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2799 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2800 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2801 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2802 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2803 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2804 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2805 * sysdeps/sparc/elf/configure: Regenerated.
2806
7b1902cb
JM
28072012-03-01 Joseph Myers <joseph@codesourcery.com>
2808
bec039bc
JM
2809 * configure.in (AS, LD): Require binutils 2.20 or later.
2810 * configure: Regenerated.
2811 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2812 as required minimum version.
2813 * INSTALL: Regenerated.
2814
7b1902cb
JM
2815 [BZ #2541]
2816 [BZ #4108]
2817 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2818 before squaring exponent.
2819 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2820 bottom long double and 27 bits of top long double before squaring
2821 exponent.
2822 * math/libm-test.inc (erfc_test): Add more tests.
2823 * sysdeps/i386/fpu/libm-test-ulps: Update.
2824 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2826
f775c276
KT
28272012-03-01 Kai Tietz <ktietz@redhat.com>
2828
2829 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2830 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2831 containing bit-fields.
2832 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2833 * soft-fp/single.h (_FP_UNION_S): Likewise.
2834 * soft-fp/double.h (_FP_UNION_D): Likewise.
2835
5b8a4d4a
JM
28362012-02-29 Joseph Myers <joseph@codesourcery.com>
2837
0bab47b6
JM
2838 [BZ #13786]
2839 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2840 not include ../strcmp.S.
2841 [USE_AS_STRNCASECMP_L]: Likewise.
2842 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2843 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2844 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2845 (__strncasecmp_l_ia32): Define as alias to
2846 __strncasecmp_l_nonascii.
2847
0fcad3e2
JM
2848 [BZ #5794]
2849 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2850 * sysdeps/i386/fpu/libm-test-ulps: Update.
2851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2852
5b8a4d4a
JM
2853 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2854 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2855
8fdceb2e
JL
28562012-02-29 Jeff Law <law@redhat.com>
2857
2858 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2859 out of bounds read.
2860
1f393a11
MP
28612012-02-29 Marek Polacek <polacek@redhat.com>
2862
2863 [BZ #13706]
2864 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2865 * elf/Makefile: Add rules to run tst-unused-dep.out.
2866
8847f037
DM
28672012-02-28 David S. Miller <davem@davemloft.net>
2868
2869 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2870 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2871 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2872 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2873 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2874 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2875
169d7f11
JM
28762012-02-29 Joseph Myers <joseph@codesourcery.com>
2877
2878 * math/libm-test.inc (llround_test): Move one test from
2879 lround_test. Use TEST_f_L in moved test.
2880 (lround_test): Move misplaced test to llround_test. Add testcase
2881 from bug 2561.
2882
39adf059
UD
28832012-02-28 Ulrich Drepper <drepper@gmail.com>
2884
2885 * sysdeps/x86_64/fpu/e_expf.S: New file.
2886 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2887
71b5d1c5
SB
28882012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2889
2890 [BZ #13637]
2891 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2892 of remain_len that may cause incomplete multi-byte character and
2893 false match.
2894 * posix/bug-regex33.c: New file.
2895 * posix/Makefile (tests): Add bug-regex33.
2896
1f77f049
JM
28972012-02-28 Joseph Myers <joseph@codesourcery.com>
2898
2899 * manual/macros.texi: New file.
2900 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2901 * manual/libc.texinfo: Include macros.texi.
2902 * manual/creatute.texi: Likewise.
2903 * manual/install.texi: Likewise.
2904 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2905 @glibcadj{} in references to the GNU C Library.
2906 * manual/charset.texi: Likewise.
2907 * manual/conf.texi: Likewise.
2908 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2909 when not using those macros.
2910 * manual/creature.texi: Likewise.
2911 * manual/crypt.texi: Likewise.
2912 * manual/errno.texi: Likewise.
2913 * manual/filesys.texi: Likewise.
2914 * manual/header.texi: Likewise.
2915 * manual/install.texi: Likewise.
2916 * manual/intro.texi: Likewise.
2917 * manual/io.texi: Likewise.
2918 * manual/job.texi: Likewise.
2919 * manual/lang.texi: Likewise.
2920 * manual/libc.texiinfo: Likewise.
2921 * manual/llio.texi: Likewise.
2922 * manual/locale.texi: Likewise.
2923 * manual/maint.texi: Likewise.
2924 * manual/math.texi: Likewise.
2925 * manual/memory.texi: Likewise.
2926 * manual/message.texi: Likewise.
2927 * manual/nss.texi: Likewise.
2928 * manual/pattern.texi: Likewise.
2929 * manual/process.texi: Likewise.
2930 * manual/resource.texi: Likewise.
2931 * manual/search.texi: Likewise.
2932 * manual/setjmp.texi: Likewise.
2933 * manual/signal.texi: Likewise.
2934 * manual/socket.texi: Likewise.
2935 * manual/startup.texi: Likewise.
2936 * manual/stdio.texi: Likewise.
2937 * manual/string.texi: Likewise.
2938 * manual/sysinfo.texi: Likewise.
2939 * manual/syslog.texi: Likewise.
2940 * manual/terminal.texi: Likewise.
2941 * manual/time.texi: Likewise.
2942 * manual/users.texi: Likewise.
2943 * INSTALL: Regenerated.
2944 * NOTES: Regenerated.
d40c5d54 2945 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 2946
450bf206
AS
29472012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2948
2949 * include/dirent.h: Include <dirstream.h> before
2950 <dirent/dirent.h>.
2951
741a235b
DM
29522012-02-28 David S. Miller <davem@davemloft.net>
2953
2954 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2955 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2956 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2957 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2958
d6b5aa58
DM
29592012-02-27 David S. Miller <davem@davemloft.net>
2960
1aff59a3
DM
2961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2963 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2964 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2965
d6b5aa58
DM
2966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2967 frame pointer instead of stack pointer relative arg slot.
2968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2969 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2970 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2971
433f48bf
CD
29722012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2973
2974 [BZ #3992]
2975 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2976
d674b76d
DM
29772012-02-27 David S. Miller <davem@davemloft.net>
2978
2979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2983 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2984 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2985 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2986 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2987
0e7727f7
JM
29882012-02-27 Joseph Myers <joseph@codesourcery.com>
2989
2990 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2991 later. Allow versions 5-9.
43be4ca2 2992 * configure: Regenerated.
0e7727f7
JM
2993 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2994 required minimum version and 4.6 as recommended version. Do not
2995 mention bugs in GCC 2.7 and 2.8.
43be4ca2 2996 * INSTALL: Regenerated.
0e7727f7 2997
a78bc654
DM
29982012-02-27 David S. Miller <davem@davemloft.net>
2999
428d5830
DM
3000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
3001 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
3002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
3003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
3004 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
3005 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
3006 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
3007 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
3008
a78bc654
DM
3009 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
3010 manipulate bits before adding and subtracting TWO112[sx].
3011 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3012
4579f81c
RM
30132012-02-27 Roland McGrath <roland@hack.frob.com>
3014
36c8acb4
RM
3015 [BZ #13775]
3016 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
3017 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
3018 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
3019 being in POSIX, because they are in 1003.1-2008.
3020
84ad622b
RM
3021 * rt/tst-aio.c: Include <fcntl.h>.
3022 * rt/tst-aio7.c: Likewise.
3023 * rt/tst-aio64.c: Likewise.
3024
4579f81c
RM
3025 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
3026
abd923db
JM
30272012-02-27 Joseph Myers <joseph@codesourcery.com>
3028
3029 * manual/install.texi (--with-headers): Describe headers as
3030 interface headers, not private headers.
3031 (Specific advice for GNU/Linux systems): Describe use of headers
3032 from "make headers_install", not private headers from older
3033 kernels.
43be4ca2 3034 * INSTALL: Regenerated.
abd923db
JM
3035 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
3036 Change to 2.6.19.
3037 * sysdeps/unix/sysv/linux/configure: Regenerated.
3038
6664049b
JM
3039 * manual/llio.texi (fclean): Remove documentation.
3040
bb8b6697
JM
3041 * manual/Makefile (libc-texi-generated): New variable. Include
3042 version.texi.
3043 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
3044 $(libc-texi-generated), not duplicated list of files.
3045 (version.texi, stamp-version): New rules.
3046 (realclean): Remove $(libc-texi-generated), not individual files
3047 from that list. Do not remove dir-add.texinfo.
3048 * manual/libc.texinfo: Comment out uses of edition numbers and
3049 references to printed manual. Remove last-updated dates.
3050 (EDITION): Comment out.
3051 (ISBN): Likewise.
3052 (VERSION, UPDATED): Remove.
3053 (version.texi): Include.
3054
12e5c3b9
AS
30552012-02-27 Andreas Schwab <schwab@linux-m68k.org>
3056
3057 * sysdeps/posix/spawni.c: Include <signal.h>.
3058 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
3059 * sysdeps/pthread/aio_fsync.c: Likewise.
3060
4efeffc1 30612012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 3062
ba63ba08
UD
3063 * conform/Makefile (tests): Run only when not cross-compiling and
3064 when fast-check is not defined.
3065
d94a4670
UD
3066 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
3067 * conform/data/limits.h-data: Fixes for POSIX2008.
3068 * conform/run-conformtest.sh: Run all tests.
3069 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
3070 headers.
3071 * include/bits/dlfcn.h: Likewise.
3072 * include/langinfo.h: Likewise.
3073 * include/monetary.h: Likewise.
3074 * include/sys/poll.h: Likewise.
3075
3076 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
3077 for __USE_GNU.
3078 * posix/spawn.h: Define __need_sigset_t.
3079 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
3080 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
3081 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
3082 to get sigevent_t only.
3083 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
3084 only for __USE_GNU.
3085 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3086 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3087 process_vm_writev only for __USE_GNU.
3088 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
3089
3090 * conform/Makefile: For now ignore errors from run-conformtest.
3091 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
3092 POSIX to avoid namespace pollution. Don't prepend headers.
3093 * conform/data/aio.h-data: Fixes for POSIX testing.
3094 * conform/data/fcntl.h-data: Likewise.
3095 * conform/data/glob.h-data: Likewise.
3096 * conform/data/grp.h-data: Likewise.
3097 * conform/data/pthread.h-data: Likewise.
3098 * conform/data/pwd.h-data: Likewise.
3099 * conform/data/signal.h-data: Likewise.
3100 * conform/data/spawn.h-data: Likewise.
3101 * conform/data/stdio.h-data: Likewise.
3102 * conform/data/stdlib.h-data: Likewise.
3103 * conform/data/stropts.h-data: Likewise.
3104 * conform/data/sys/mman.h-data: Likewise.
3105 * conform/data/sys/stat.h-data: Likewise.
3106 * conform/data/sys/types.h-data: Likewise.
3107 * conform/data/sys/wait.h-data: Likewise.
3108 * conform/data/time.h-data: Likewise.
3109 * conform/data/unistd.h-data: Likewise.
3110 * conform/data/utime.h-data: Likewise.
3111
3112 * io/sys/stat.h: fchmod was always in POSIX.
3113 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
3114 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
3115 * rt/aio.h: Define __need_timespec before including <time.h>.
3116 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
3117 struct. Add forward declaration of pthread_attr_t and use it in
3118 sigevent.
3119 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3120 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3121 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
3122 always remove CLK_TCK definition.
3123
c20105c3
AS
31242012-02-26 Andreas Schwab <schwab@linux-m68k.org>
3125
3126 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
3127
7a270350
UD
31282012-02-25 Ulrich Drepper <drepper@gmail.com>
3129
31341567
UD
3130 * conform/run-conformtest.sh: New file.
3131 * conform/Makefile: Run run-conformtest for tests.
3132 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
3133 support.
3134
3135 * conform/data/uchar.h-data: New file.
3136 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
3137 * conform/data/arpa/inet.h-data: Likewise.
3138 * conform/data/assert.h-data: Likewise.
3139 * conform/data/complex.h-data: Likewise.
3140 * conform/data/cpio.h-data: Likewise.
3141 * conform/data/ctype.h-data: Likewise.
3142 * conform/data/dirent.h-data: Likewise.
3143 * conform/data/dlfcn.h-data: Likewise.
3144 * conform/data/errno.h-data: Likewise.
3145 * conform/data/fcntl.h-data: Likewise.
3146 * conform/data/float.h-data: Likewise.
3147 * conform/data/fmtmsg.h-data: Likewise.
3148 * conform/data/fnmatch.h-data: Likewise.
3149 * conform/data/ftw.h-data: Likewise.
3150 * conform/data/glob.h-data: Likewise.
3151 * conform/data/grp.h-data: Likewise.
3152 * conform/data/iconv.h-data: Likewise.
3153 * conform/data/inttypes.h-data: Likewise.
3154 * conform/data/langinfo.h-data: Likewise.
3155 * conform/data/libgen.h-data: Likewise.
3156 * conform/data/limits.h-data: Likewise.
3157 * conform/data/locale.h-data: Likewise.
3158 * conform/data/math.h-data: Likewise.
3159 * conform/data/monetary.h-data: Likewise.
3160 * conform/data/mqueue.h-data: Likewise.
3161 * conform/data/ndbm.h-data: Likewise.
3162 * conform/data/net/if.h-data: Likewise.
3163 * conform/data/netdb.h-data: Likewise.
3164 * conform/data/netinet/in.h-data: Likewise.
3165 * conform/data/nl_types.h-data: Likewise.
3166 * conform/data/poll.h-data: Likewise.
3167 * conform/data/pthread.h-data: Likewise.
3168 * conform/data/pwd.h-data: Likewise.
3169 * conform/data/regex.h-data: Likewise.
3170 * conform/data/sched.h-data: Likewise.
3171 * conform/data/search.h-data: Likewise.
3172 * conform/data/semaphore.h-data: Likewise.
3173 * conform/data/setjmp.h-data: Likewise.
3174 * conform/data/signal.h-data: Likewise.
3175 * conform/data/spawn.h-data: Likewise.
3176 * conform/data/stdarg.h-data: Likewise.
3177 * conform/data/stdio.h-data: Likewise.
3178 * conform/data/stdlib.h-data: Likewise.
3179 * conform/data/string.h-data: Likewise.
3180 * conform/data/strings.h-data: Likewise.
3181 * conform/data/stropts.h-data: Likewise.
3182 * conform/data/sys/ipc.h-data: Likewise.
3183 * conform/data/sys/mman.h-data: Likewise.
3184 * conform/data/sys/msg.h-data: Likewise.
3185 * conform/data/sys/resource.h-data: Likewise.
3186 * conform/data/sys/select.h-data: Likewise.
3187 * conform/data/sys/sem.h-data: Likewise.
3188 * conform/data/sys/shm.h-data: Likewise.
3189 * conform/data/sys/socket.h-data: Likewise.
3190 * conform/data/sys/stat.h-data: Likewise.
3191 * conform/data/sys/statvfs.h-data: Likewise.
3192 * conform/data/sys/time.h-data: Likewise.
3193 * conform/data/sys/timeb.h-data: Likewise.
3194 * conform/data/sys/times.h-data: Likewise.
3195 * conform/data/sys/types.h-data: Likewise.
3196 * conform/data/sys/uio.h-data: Likewise.
3197 * conform/data/sys/un.h-data: Likewise.
3198 * conform/data/sys/utsname.h-data: Likewise.
3199 * conform/data/sys/wait.h-data: Likewise.
3200 * conform/data/syslog.h-data: Likewise.
3201 * conform/data/tar.h-data: Likewise.
3202 * conform/data/termios.h-data: Likewise.
3203 * conform/data/utime.h-data: Likewise.
3204 * conform/data/utmpx.h-data: Likewise.
3205 * conform/data/varargs.h-data: Likewise.
3206 * conform/data/wchar.h-data: Likewise.
3207 * conform/data/wctype.h-data: Likewise.
3208 * conform/data/wordexp.h-data: Likewise.
3209
3210 * include/stropts.h: New file.
3211 * include/uchar.h: New file.
3212 * include/aio.h: Changes to allow conformtest.pl to use the headers.
3213 * include/assert.h: Likewise.
3214 * include/ctype.h: Likewise.
3215 * include/dirent.h: Likewise.
3216 * include/dlfcn.h: Likewise.
3217 * include/fcntl.h: Likewise.
3218 * include/fnmatch.h: Likewise.
3219 * include/glob.h: Likewise.
3220 * include/grp.h: Likewise.
3221 * include/libio.h: Likewise.
3222 * include/locale.h: Likewise.
3223 * include/math.h: Likewise.
3224 * include/net/if.h: Likewise.
3225 * include/netdb.h: Likewise.
3226 * include/netinet/in.h: Likewise.
3227 * include/pthread.h: Likewise.
3228 * include/pwd.h: Likewise.
3229 * include/regex.h: Likewise.
3230 * include/sched.h: Likewise.
3231 * include/search.h: Likewise.
3232 * include/setjmp.h: Likewise.
3233 * include/signal.h: Likewise.
3234 * include/stdio.h: Likewise.
3235 * include/stdlib.h: Likewise.
3236 * include/string.h: Likewise.
3237 * include/sys/cdefs.h: Likewise.
3238 * include/sys/mman.h: Likewise.
3239 * include/sys/msg.h: Likewise.
3240 * include/sys/resource.h: Likewise.
3241 * include/sys/select.h: Likewise.
3242 * include/sys/socket.h: Likewise.
3243 * include/sys/stat.h: Likewise.
3244 * include/sys/statvfs.h: Likewise.
3245 * include/sys/time.h: Likewise.
3246 * include/sys/times.h: Likewise.
3247 * include/sys/uio.h: Likewise.
3248 * include/sys/utsname.h: Likewise.
3249 * include/sys/wait.h: Likewise.
3250 * include/termios.h: Likewise.
3251 * include/time.h: Likewise.
3252 * include/ulimit.h: Likewise.
3253 * include/unistd.h: Likewise.
3254 * include/utime.h: Likewise.
3255 * include/wchar.h: Likewise.
3256 * include/wctype.h: Likewise.
3257 * include/wordexp.h: Likewise.
3258
3259 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3260
7a270350
UD
3261 * time/time.h: TIME_UTC must be a macro.
3262 Make timespec_get available for ISO C11 only as well.
3263
7724defc
UD
32642012-02-24 Ulrich Drepper <drepper@gmail.com>
3265
3266 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
3267 Reported by Peng Haitao <penght@cn.fujitsu.com>.
3268
6b1d1d46
JM
32692012-02-24 Joseph Myers <joseph@codesourcery.com>
3270
3271 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 3272
0f8bbd69
JM
32732012-02-24 Joseph Myers <joseph@codesourcery.com>
3274
3275 * manual/texinfo.tex: Update to version 2012-01-19.16.
3276
66ab80bc
JM
32772012-02-24 Joseph Myers <joseph@codesourcery.com>
3278
3279 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3280
74981cc5
RM
32812012-02-24 Roland McGrath <roland@hack.frob.com>
3282
ee968201
RM
3283 [BZ #13738]
3284 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3285 * manual/fdl-1.3.texi: New file.
3286 * manual/fdl-1.1.texi: File removed.
3287
74981cc5
RM
3288 [BZ #13738]
3289 * manual/libc.texinfo (FDL_VERSION): New @set.
3290 Use it for mention of FDL in cover text.
3291 (Documentation License): Use it in @include file name.
3292
7bb764bc
JM
32932012-02-22 Joseph Myers <joseph@codesourcery.com>
3294 Roland McGrath <roland@hack.frob.com>
3295
3296 [BZ #5461]
3297 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3298 not LONG_LONG_MAX and LONG_LONG_MIN.
3299 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3300 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
3301 name.
3302 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3303
6cbeae47
JM
33042012-02-22 Joseph Myers <joseph@codesourcery.com>
3305
3306 [BZ #2547]
3307 [BZ #11365]
3308 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3309 manipulate bits before adding and subtracting TWO23[sx].
3310 * math/libm-test.inc (nearbyint_test): Add more tests.
3311
fe45ce09
JM
33122012-02-22 Joseph Myers <joseph@codesourcery.com>
3313
3314 [BZ #2548]
3315 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3316 bits before adding and subtracting TWO23[sx].
3317 * math/libm-test.inc (rint_test): Add more tests.
3318 (rint_test_tonearest): Likewise.
3319 (rint_test_towardzero): Likewise.
3320 (rint_test_downward): Likewise.
3321 (rint_test_upward: Likewise.
3322
ff3b3d82
JM
33232012-02-22 Joseph Myers <joseph@codesourcery.com>
3324
3325 [BZ #10110]
3326 * include/stdc-predef.h: New file. Extracted from features.h.
3327 * include/features.h: Include stdc-predef.h.
3328 * Makefile (headers): Add stdc-predef.h.
3329 * CONFORMANCE (Compiler limitations): Update.
3330
ef0aab35
JM
33312012-02-22 Joseph Myers <joseph@codesourcery.com>
3332
3333 * manual/libc.texinfo (VERSION, UPDATED): Revert.
3334
58639409
DM
33352012-02-21 David S. Miller <davem@davemloft.net>
3336
3337 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3338 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3339
c0e70b25
DM
33402012-02-20 David S. Miller <davem@davemloft.net>
3341
3342 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3343 using a normal save/restore sequence, rather than allocating a
3344 dummy stack frame just to store a frame pointer and restore.
3345 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3346
fb06851d
JM
33472012-02-21 Joseph Myers <joseph@codesourcery.com>
3348
3349 * manual/install.texi: Fix stray word in line-wrapped comment.
3350
7a8b71c3
DM
33512012-02-20 David S. Miller <davem@davemloft.net>
3352
d510c123
DM
3353 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3354 both binutils and gcc support GOTDATA.
3355
0722d7c2
DM
3356 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3357 "rd %pc" in the PIC register setup sequences.
3358
3d2b3019
DM
3359 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3360 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3361 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3362 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3363 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3364 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3365 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3366 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3367 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3368 (SYSCALL_ERROR_HANDLER): Likewise.
3369 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3370 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3371 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3372 (SYSCALL_ERROR_HANDLER): Likewise.
3373
c80098a9
DM
3374 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3375 (HAVE_GCC_GOTDATA): New.
3376 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3377 relocation support in both binutils and gcc.
3378 * sysdeps/sparc/elf/configure: Regenerate.
3379
3a2545a0
DM
3380 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3381 * sysdeps/sparc/sparc32/elf/configure: Delete.
3382 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3383 * sysdeps/sparc/sparc64/elf/configure: Delete.
3384 * sysdeps/sparc/elf/configure.in: New file.
3385 * sysdeps/sparc/elf/configure: Generate.
3386
7a8b71c3
DM
3387 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3388 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3389 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3390 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3391 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3392
f1e86fca
JM
33932012-02-21 Joseph Myers <joseph@codesourcery.com>
3394
3395 * manual/install.texi: Do not mention specific glibc version
3396 numbers.
3397 * manual/libc.texinfo (VERSION, UPDATED): Update.
3398 (@copying): Use @copyright{} and range of years.
3399
0e7dfaef
JM
34002012-02-21 Joseph Myers <joseph@codesourcery.com>
3401
3402 [BZ #13695]
3403 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3404 [crti.S not in sysdirs] (generated): Do not append.
3405 [crti.S not in sysdirs] (omit-deps): Likewise.
3406 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3407 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3408 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3409 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3410 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3411 Likewise.
3412 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3413 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3414 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3415 * csu/defs.awk: Remove file.
3416 * sysdeps/generic/initfini.c: Likewise.
3417 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3418 variable.
3419 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3420 Likewise.
3421
599af3ca
JM
34222012-02-20 Joseph Myers <joseph@codesourcery.com>
3423
3424 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3425 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3426 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3427 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3428 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3429 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3430 <bits/epoll.h>.
3431 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3432 (__EPOLL_PACKED): Define to empty if not defined by
3433 <bits/epoll.h>.
3434 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3435 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3436 bits/epoll.h.
3437
0e499750
JM
34382012-02-20 Joseph Myers <joseph@codesourcery.com>
3439
3440 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3441 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3442 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3443 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3444 <bits/timerfd.h>.
3445 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3446 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3447 bits/timerfd.h.
3448
5ad91f6e
JM
34492012-02-20 Joseph Myers <joseph@codesourcery.com>
3450
3451 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3452 in C locale.
3453 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3454 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3455 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3457
06b99b02
AJ
34582012-02-20 Aurelien Jarno <aurelien@aurel32.net>
3459
3460 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3461 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3462
7638c0fd
AS
34632012-02-19 Andreas Schwab <schwab@linux-m68k.org>
3464
3465 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3466 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3467 defined.
3468 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3469 Likewise.
3470 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3471 entry for 2.16.
3472
92221550
AJ
34732012-02-19 Aurelien Jarno <aurelien@aurel32.net>
3474
3475 * math/w_acos.c: Use non-signaling floating-point comparisons.
3476 * math/w_acosf.c: Likewise.
3477 * math/w_acosh.c: Likewise.
3478 * math/w_acoshf.c: Likewise.
3479 * math/w_acoshl.c: Likewise.
3480 * math/w_acosl.c: Likewise.
3481 * math/w_asin.c: Likewise.
3482 * math/w_asinf.c: Likewise.
3483 * math/w_asinl.c: Likewise.
3484 * math/w_atanh.c: Likewise.
3485 * math/w_atanhf.c: Likewise.
3486 * math/w_atanhl.c: Likewise.
3487 * math/w_exp2.c: Likewise.
3488 * math/w_exp2f.c: Likewise.
3489 * math/w_exp2l.c: Likewise.
3490 * math/w_j0.c: Likewise.
3491 * math/w_j0f.c: Likewise.
3492 * math/w_j0l.c: Likewise.
3493 * math/w_j1.c: Likewise.
3494 * math/w_j1f.c: Likewise.
3495 * math/w_j1l.c: Likewise.
3496 * math/w_jn.c: Likewise.
3497 * math/w_jnf.c: Likewise.
3498 * math/w_log.c: Likewise.
3499 * math/w_log10.c: Likewise.
3500 * math/w_log10f.c: Likewise.
3501 * math/w_log10l.c: Likewise.
3502 * math/w_log2.c: Likewise.
3503 * math/w_log2f.c: Likewise.
3504 * math/w_log2l.c: Likewise.
3505 * math/w_logf.c: Likewise.
3506 * math/w_logl.c: Likewise.
3507 * math/w_sqrt.c: Likewise.
3508 * math/w_sqrtf.c: Likewise.
3509 * math/w_sqrtl.c: Likewise.
3510 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3511 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3512 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3513 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3514 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3515
ebaf36eb
JM
35162012-02-19 Joseph Myers <joseph@codesourcery.com>
3517
3518 [BZ #9739]
3519 * manual/string.texi (strnlen): Use correct parameter name in
3520 equivalent expression.
3521
71c254a6
JM
35222012-02-19 Joseph Myers <joseph@codesourcery.com>
3523
3524 [BZ #11174]
3525 * manual/users.texi (seteuid): Consistently use neweuid for
3526 argument name.
3527
16d2c631
JM
35282012-02-19 Joseph Myers <joseph@codesourcery.com>
3529
3530 [BZ #13704]
3531 * manual/nss.texi (Services in the NSS configuration): Correct
3532 list of services in example configuration file.
3533
cd837b09
NB
35342012-02-19 Nick Bowler <nbowler@draconx.ca>
3535
3536 [BZ #11322]
3537 * manual/arith.texi: Remove statements about negative zero
3538 behaving identically to zero.
3539
02c4bbad
JM
35402012-02-18 Joseph Myers <joseph@codesourcery.com>
3541
3542 [BZ #5993]
3543 * manual/install.texi: Do not document upgrading from libc5.
3544
366842e7
JM
35452012-02-18 Joseph Myers <joseph@codesourcery.com>
3546
3547 [BZ #4596]
3548 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3549
dd54084d
DM
35502012-02-18 David S. Miller <davem@davemloft.net>
3551
3552 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3553 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3554 %o7 across the call.
3555 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3556 instead.
3557 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3558 SETUP_PIC_REG_LEAF.
3559 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3560 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3561 * sysdeps/sparc/crtn.S: Likewise.
3562
2bcc53a3
UD
35632012-02-17 Ulrich Drepper <drepper@gmail.com>
3564
3565 * aout/Makefile: Remove.
3566
09c093b5
RK
35672012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3568
3569 [BZ #13058]
3570 * manual/examples/argp-ex1.c (main): Format definition in GNU
3571 style.
3572 * manual/examples/argp-ex2.c (main): Likewise.
3573 * manual/examples/argp-ex3.c (main): Likewise.
3574 * manual/examples/argp-ex4.c (main): Likewise.
3575 * manual/examples/longopt.c (main): Use new-style prototype
3576 definition.
3577 * manual/examples/strncat.c (main): Specify return type and use
3578 (void) for arguments.
3579 * manual/examples/subopt.c (main): Use char **argv argument.
3580
2ee633a2
JM
35812012-02-17 Joseph Myers <joseph@codesourcery.com>
3582
3583 [BZ #5077]
3584 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3585 rounding modes.
3586
0520adde
FB
35872012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3588
3589 [BZ #6907]
3590 * manual/string.texi (strchr): Change when strchrnul is
3591 recommended.
3592
3f4081cd
DGM
35932012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3594
3595 [BZ #174]
3596 * manual/locale.texi (setlocale): Document LOCPATH.
3597
d1b10e78
JM
35982012-02-17 Joseph Myers <joseph@codesourcery.com>
3599
3600 [BZ #10210]
3601 * manual/process.texi (execle): Move @dots{} before last argument.
3602
79c6869c
PB
36032012-02-17 Paul Bolle <pebolle@tiscali.nl>
3604
3605 [BZ #12047]
3606 * manual/charset.texi (Generic Charset Conversion): Fix typo
3607 (LC_TYPE -> LC_CTYPE).
3608
cc6e48bc
NB
36092012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3610
3611 [BZ #5805]
3612 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3613 (scalbnf): Likewise.
3614 (scalbnl): Likewise.
3615 (scalbln): Likewise.
3616 (scalblnf): Likewise.
3617 (scalblnl): Likewise.
3618 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3619 (vwarnx): Likewise.
3620 (verr): Likewise.
3621 (verrx): Likewise.
3622 * manual/filesys.texi (telldir): Use braces around return type.
3623 * manual/llio.texi (mmap): Add space after comma.
3624 (mmap64): Likewise.
3625 * manual/math.texi (jn): Use @var{} on parameter names.
3626 (jnf): Likewise.
3627 (jnl): Likewise.
3628 (yn): Likewise.
3629 (ynf): Likewise.
3630 (ynl): Likewise.
3631 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3632 line.
3633 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3634 "...".
3635 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3636 (sched_get_priority_max): Likewise.
3637 * manual/signal.texi (sigvec): Add space after comma.
3638 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3639 names.
3640 (if_indextoname): Likewise.
3641 (if_freenameindex): Likewise.
3642 (sendto): Use ',' instead of '.' in prototype.
3643 * manual/startup.texi (syscall): Use @dots{} instead of literal
3644 "...".
3645 * manual/stdio.texi (__fpending): Separate initial words of
3646 paragraph from @deftypefun line.
3647 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3648 "...".
3649 (vsyslog): Use @var{} on parameter names.
3650 * manual/terminal.texi (stty): Use @var{} on parameter names.
3651 * manual/users.texi (getutmp): Use @var{} on parameter names.
3652 (getutmpx): Likewise.
3653
5b23062f
JM
36542012-02-17 Joseph Myers <joseph@codesourcery.com>
3655
3656 [BZ #6884]
3657 * manual/stdio.texi (fopen): Fix typos in description of
3658 ",ccs=STRING".
3659
8dee4833
AJ
36602012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3661
3662 [BZ #4026]
3663 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3664 get clock_id definition.
3665
9078ce93
TS
36662012-02-17 Thomas Schwinge <thomas@schwinge.name>
3667
3668 [BZ #4822]
3669 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3670 (madvise): Cast every argument to void on its own.
3671
3835c55f
JM
36722012-02-17 Joseph Myers <joseph@codesourcery.com>
3673
3674 [BZ #9902]
3675 * manual/startup.texi (Exit Status): Fix typo.
3676
35c47e37
JM
36772012-02-17 Joseph Myers <joseph@codesourcery.com>
3678
3679 [BZ #10140]
3680 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3681 * manual/examples/argp-ex2.c: Likewise.
3682 * manual/examples/argp-ex3.c: Likewise.
3683
e3b69ca7
RH
36842012-02-16 Richard Henderson <rth@redhat.com>
3685
3686 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3687 * sysdeps/s390/s390-32/initfini.c: Remove.
3688 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3689 * sysdeps/s390/s390-64/initfini.c: Remove.
3690
df83af67
KK
36912012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3692
3693 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3694 compiler output for sysdeps/generic/initfini.c.
3695 * sysdeps/sh/elf/initfini.c: Remove file.
3696
f63f3380
DM
36972012-02-16 David S. Miller <davem@davemloft.net>
3698
fb59b3a4
DM
3699 [BZ #11494]
3700 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3701
f63f3380
DM
3702 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3703 * sysdeps/sparc/crti.S: New file.
3704 * sysdeps/sparc/crtn.S: New file.
3705 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3706 * sysdeps/sparc/sparc64/Makefile: Likewise.
3707
df6a4a4a
MF
37082012-02-15 Mike Frysinger <vapier@gentoo.org>
3709
6dd8f3dc 3710 [BZ #3335]
df6a4a4a
MF
3711 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3712
1cac7236
RM
37132012-02-15 Roland McGrath <roland@hack.frob.com>
3714
d2c736f8
RM
3715 [BZ #4822]
3716 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3717
1cac7236
RM
3718 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3719 (write, read, close): Likewise.
3720 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3721
8e475601
JM
37222012-02-15 Joseph Myers <joseph@codesourcery.com>
3723
3724 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3725 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3726 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3727 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3728 <bits/signalfd.h>.
3729 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3730 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3731 bits/signalfd.h.
3732
ed656b40
MP
37332012-02-14 Marek Polacek <polacek@redhat.com>
3734
3735 * sysdeps/x86_64/crti.S: New file.
3736 * sysdeps/x86_64/crtn.S: New file.
3737 * sysdeps/x86_64/elf/initfini.c: Remove file.
3738
2a979d3a
JM
37392012-02-13 Joseph Myers <joseph@codesourcery.com>
3740
3741 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3742 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3743 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3744 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3745 <bits/inotify.h>.
3746 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3747 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3748 bits/inotify.h.
3749
2a418ac3
JM
37502012-02-13 Joseph Myers <joseph@codesourcery.com>
3751
3752 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3753 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3754 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3755 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3756 <bits/eventfd.h>.
3757 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3758 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3759 bits/eventfd.h.
3760
fb779be7
TS
37612012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3762
e19e83c5
RM
3763 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3764 __feraiseexcept instead of feraiseexcept.
7c35ffed 3765
fb779be7
TS
3766 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3767 nanosleep invocations.
3768 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3769 strings, and add error checking for a nanosleep invocations.
3770
59ba27a6
PE
37712012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3772
3773 Replace FSF snail mail address with URLs, as per GNU coding standards.
3774 Most of the snail mail addresses were wrong anyway, and omitting
3775 them makes the source code easier to maintain. Almost all of the
3776 changes are to license notices and to locale LC_IDENTIFICATION
3777 addresses, except for this one:
3778 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3779 not its snail mail address.
3780
57b957eb
RH
37812012-02-09 Richard Henderson <rth@twiddle.net>
3782
af850b1c
RH
3783 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3784 of kernel-features.h.
3785
57b957eb
RH
3786 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3787
6b73181a
MP
37882012-02-08 Marek Polacek <polacek@redhat.com>
3789
3790 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3791 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3792 * sysdeps/gnu/_G_config.h: Likewise.
3793 * sysdeps/generic/_G_config.h: Likewise.
3794
26ecc33a
AS
37952012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3796
6c6dbc63
AS
3797 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3798 tests.
3799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3800
e216c012
AS
3801 * sysdeps/powerpc/powerpc32/crti.S: New file.
3802 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3803 * sysdeps/powerpc/powerpc64/crti.S: New file.
3804 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3805
26ecc33a
AS
3806 * Makeconfig (have-initfini): Don't set.
3807 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3808 * configure.in (nopic_initfini): Don't substitute.
3809 * config.h.in (HAVE_INITFINI): Don't #undef.
3810 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3811 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3812
3add8e13
JM
38132012-02-08 Joseph Myers <joseph@codesourcery.com>
3814
3815 Support crti.S and crtn.S provided directly by architectures.
3816 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3817 [crti.S in sysdirs] (omit-deps): Likewise.
3818 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3819 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3820 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3821 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3822 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3823 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3824 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3825 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3826 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3827 compiler output for sysdeps/generic/initfini.c.
3828 * sysdeps/i386/elf/Makefile: Remove file.
3829 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3830
a22f12b4
MP
38312012-02-07 Marek Polacek <polacek@redhat.com>
3832
3833 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3834 * sysdeps/gnu/_G_config.h: Likewise.
3835 * sysdeps/mach/hurd/_G_config.h: Likewise.
3836
148cf100
MP
38372012-02-07 Marek Polacek <polacek@redhat.com>
3838
3839 * math/Makefile (tests): Add tst-CMPLX2.
3840 * math/tst-CMPLX2.c: New file.
3841
cfdc0dd7
AS
38422012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3843
84ba42c4
AS
3844 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3845
cfdc0dd7
AS
3846 * math/libm-test.inc (jn_test): Add missing L suffix.
3847
622c86f4
MP
38482012-02-06 Marek Polacek <polacek@redhat.com>
3849
3850 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3851 * sysdeps/i386/fpu/e_powf.S: Likewise.
3852 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3853 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3854 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3855 * sysdeps/i386/fpu/e_pow.S: Likewise.
3856 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3857 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3858 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3859 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3860 * sysdeps/i386/fpu/e_log2.S: Likewise.
3861 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3862 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3863 * sysdeps/i386/fpu/e_powl.S: Likewise.
3864 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3865 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3866 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3867 * sysdeps/i386/fpu/e_logl.S: Likewise.
3868 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3869 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3870 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3871 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3872 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3873 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3874 * sysdeps/i386/fpu/e_log.S: Likewise.
3875 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3876 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3877 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3878 * sysdeps/i386/fpu/e_logf.S: Likewise.
3879 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3880 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3881 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3882 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3883 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3884 * sysdeps/i386/fpu/e_log10.S: Likewise.
3885 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3886 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3887 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3888 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3889 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3890 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3891 * sysdeps/i386/asm-syntax.h: Likewise.
3892 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3893 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3894 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3895 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3896 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3897 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3898 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3899 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3900 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3901 * sysdeps/powerpc/sysdep.h: Likewise.
3902 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3903 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3904
d4a54ac6
JM
39052012-02-06 Joseph Myers <joseph@codesourcery.com>
3906
3907 [BZ #411]
3908 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3909
314054ea
JM
39102012-02-06 Joseph Myers <joseph@codesourcery.com>
3911
3912 * sysdeps/i386/sysdep.h: Include <features.h>.
3913 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3914 version.
3915
d8e0ca50
JM
39162012-02-05 Joseph Myers <joseph@codesourcery.com>
3917
3918 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3919 Define.
3920 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3921 LOAD_PIC_REG_STR.
3922
b1da7dd9
JM
39232012-02-03 Joseph Myers <joseph@codesourcery.com>
3924
3925 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3926 (SETUP_PIC_REG): Use GET_PC_THUNK.
3927 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3928 macro.
3929
9a1d9254
JM
39302012-02-03 Joseph Myers <joseph@codesourcery.com>
3931
3932 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3933 for non-PIC compilation.
3934 (SETUP_PIC_REG): Add .p2align directive.
3935 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3936 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3937 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3938 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3939 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3940 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3941 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3942 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3943 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3944 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3945 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3946 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3947 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3948 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3949 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3950 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3951 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3952 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3953 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3954 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3955 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3956 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3957 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3958 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3959 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3960 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3961 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3962 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3963 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3964 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3965 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3966 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3967 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3968 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3969 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3970 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3971 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3972 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3973 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3974 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3975 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3976
65dc3b75
JM
39772012-02-03 Joseph Myers <joseph@codesourcery.com>
3978
3979 * math/tst-CMPLX.c: Include <stdio.h>.
3980
d55bf177
JM
39812012-01-31 Joseph Myers <joseph@codesourcery.com>
3982
3983 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3984 float.
3985 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3986 * sysdeps/sparc/bits/mathdef.h: Likewise.
3987
69db4f8f
MP
39882012-01-31 Marek Polacek <polacek@redhat.com>
3989
3990 * libio/libio.h: Don't define _PARAMS.
3991 * locale/programs/config.h: Don't define PARAMS.
3992 * stdlib/strtol_l.c: Likewise.
3993 (__strtol_l): Remove PARAMS from the prototype.
3994
41b81892
UD
39952012-01-31 Ulrich Drepper <drepper@gmail.com>
3996
3b49edc0
UD
3997 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3998 names. Just use the correct names. Remove unnecessary wrapper
3999 functions.
4000 * malloc/arena.c: Likewise.
4001 * malloc/hooks.c: Likewise.
4002
41b81892
UD
4003 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
4004 ARENA_TEST says not to. Simplify test for creation of a new arena.
4005 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
4006
27a25b6e
UD
40072012-01-30 Ulrich Drepper <drepper@gmail.com>
4008
4009 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
4010 into tail calls.
4011 (update_get_addr): New function.
4012 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
4013 GET_ADDR_MODULE parameter.
4014
c8a89e7d
JM
40152012-01-30 Joseph Myers <joseph@codesourcery.com>
4016
4017 * crypt/cert.c: Remove __STDC__ conditionals.
4018 * crypt/crypt-entry.c: Likewise.
4019 * crypt/crypt_util.c: Likewise.
4020 * libio/filedoalloc.c: Likewise.
4021 * libio/fileops.c: Likewise.
4022 * libio/genops.c: Likewise.
4023 * libio/iofclose.c: Likewise.
4024 * libio/iofdopen.c: Likewise.
4025 * libio/iofopen.c: Likewise.
4026 * libio/iofopen64.c: Likewise.
4027 * libio/iogetdelim.c: Likewise.
4028 * libio/iopopen.c: Likewise.
4029 * libio/obprintf.c: Likewise.
4030 * libio/oldfileops.c: Likewise.
4031 * libio/oldiofclose.c: Likewise.
4032 * libio/oldiofdopen.c: Likewise.
4033 * libio/oldiofopen.c: Likewise.
4034 * libio/oldiopopen.c: Likewise.
4035 * libio/wfiledoalloc.c: Likewise.
4036 * libio/wgenops.c: Likewise.
4037 * locale/programs/xmalloc.c: Likewise.
4038 * misc/syslog.c: Likewise.
4039 * stdio-common/xbug.c: Likewise.
4040 * string/memchr.c: Likewise.
4041 * string/memcmp.c: Likewise.
4042 * string/memrchr.c: Likewise.
4043 * string/rawmemchr.c: Likewise.
4044 * sysdeps/posix/getcwd.c: Likewise.
4045 * time/strftime_l.c: Likewise.
4046
3b100462
JM
40472012-01-30 Joseph Myers <joseph@codesourcery.com>
4048
4049 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
4050 * config.make.in (config-cflags-sse2avx): Define.
4051 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
4052 Fix typo.
4053
607998af
CM
40542012-01-29 Chris Metcalf <cmetcalf@tilera.com>
4055
4056 * scripts/config.guess: Update from upstream config git repository.
4057 * scripts/config.sub: Likewise.
4058
3601428f
CM
40592012-01-28 Chris Metcalf <cmetcalf@tilera.com>
4060
3ac8b282
CM
4061 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
4062 (EM_NUM): Update.
4063 (R_TILEPRO_*, R_TILEGX_*): New macros.
4064
e034841e
CM
4065 * scripts/firstversions.awk: Fix bug in version range handling.
4066
540d7568
CM
4067 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
4068
3601428f
CM
4069 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
4070
463de862
CM
4071 * include/sys/epoll.h: New file.
4072 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
4073 libc_hidden_def.
4074
73139a76
UD
40752012-01-28 Ulrich Drepper <drepper@gmail.com>
4076
96bc5b45
UD
4077 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
4078 Avoid unnecessary __WORDSIZE == 64 test.
4079 (fmaxf): Use VEX format if possible.
4080 (fmax): Likewise.
4081 (fminf): Likewise.
4082 (fmin): Likewise.
4083
56f6f6a2
UD
4084 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
4085 * math/math_private.h: Remove libc_fegetround* and
4086 libc_fesetround*.
4087 * sysdeps/i386/configure.in: Check for -msse2avx.
4088 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
4089 also if SSE2AVX is defined.
4090 Remove libc_fegetround* and libc_fesetround*.
4091 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
4092 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
4093 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
4094 of HAS_YMM_USABLE.
4095 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4096 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4097 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4098 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4099 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4100
73139a76
UD
4101 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
4102
d73f93a4
AZ
41032012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4104
4105 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
4106 size is not set.
4107 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4108
6ee65ed6
UD
41092012-01-27 Ulrich Drepper <drepper@gmail.com>
4110
4111 [BZ #13618]
4112 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
4113 relocation.
4114 * Makeconfig (libm): Define.
4115 * elf/Makefile: Add rules to build and run tst-relsort1.
4116 * elf/tst-relsort1.c: New file.
4117 * elf/tst-relsort1mod1.c: New file.
4118 * elf/tst-relsort1mod2.c: New file.
4119
8db21882
JM
41202012-01-27 Joseph Myers <joseph@codesourcery.com>
4121
4122 * math/s_ldexp.c: Remove __STDC__ conditionals.
4123 * math/s_ldexpf.c: Likewise.
4124 * math/s_ldexpl.c: Likewise.
4125 * math/s_nextafter.c: Likewise.
4126 * math/s_nexttowardf.c: Likewise.
4127 * math/s_significand.c: Likewise.
4128 * math/s_significandf.c: Likewise.
4129 * math/s_significandl.c: Likewise.
4130 * math/w_jnl.c: Likewise.
4131 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4132 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4133 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4134 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4135 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4136 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4137 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
4138 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4139 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4140 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4141 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4142 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4143 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4144 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4145 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4146 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4147 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4148 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4149 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4150 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4151 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4152 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4153 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4154 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4155 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4156 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4157 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4158 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4159 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4160 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4161 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4162 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4163 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4164 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4165 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4166 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4167 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4168 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4169 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4170 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4171 * sysdeps/ieee754/k_standard.c: Likewise.
4172 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4173 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4174 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4175 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4176 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4177 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4178 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4179 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4180 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4181 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4182 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4183 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4184 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4185 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4186 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4187 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4188 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4189 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4190 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4191 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4192 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4193 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4194 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4195 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4196 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4197 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4198 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4199 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4200 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4201 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4202 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4203 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4204 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4205 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4206 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4207 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4208 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4209 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4210 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4211 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4212 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4213 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4214 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4215 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4216 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4217 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4218 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4219 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4220 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4221 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4222 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4223 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4224 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4225 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4226 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4227 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4228 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4229 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4230 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4231 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4232 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4233 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4234 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4235 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4236 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4237 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4238 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4239 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4240 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4241 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4242 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4243 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4244 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4245 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4246 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4247 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4248 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4249 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4250 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4251 * sysdeps/ieee754/s_matherr.c: Likewise.
4252 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4253 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4254 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4255 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4256
965a54a4
JM
42572012-01-26 Joseph Myers <joseph@codesourcery.com>
4258
4259 * crypt/md5.h: Remove __STDC__ conditionals.
4260 * libio/libioP.h: Likewise.
4261 * locale/programs/config.h: Likewise.
4262 * sysdeps/generic/sysdep.h: Likewise.
4263 * sysdeps/i386/asm-syntax.h: Likewise.
4264 * sysdeps/s390/asm-syntax.h: Likewise.
4265 * sysdeps/unix/sysdep.h: Likewise.
4266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4268
7071ad79
JM
42692012-01-26 Joseph Myers <joseph@codesourcery.com>
4270
4271 * libio/libio.h: Remove __STDC__ conditionals.
4272 * malloc/obstack.h: Likewise.
4273 * math/complex.h: Likewise.
4274 * math/math.h: Likewise.
4275 * sysdeps/generic/_G_config.h: Likewise.
4276 * sysdeps/gnu/_G_config.h: Likewise.
4277 * sysdeps/mach/hurd/_G_config.h: Likewise.
4278 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4279 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4280 * sysdeps/sparc/bits/mathdef.h: Likewise.
4281
afc5ed09
UD
42822012-01-26 Ulrich Drepper <drepper@gmail.com>
4283
4284 [BZ #13583]
4285 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 4286 Clean up HAS_* macros.
afc5ed09 4287 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
4288 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4289 possible.
4290 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4291 HAS_AVX.
4292 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4293 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4294 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4295 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4296 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 4297
bdb6de1d
JM
42982012-01-25 Joseph Myers <joseph@codesourcery.com>
4299
4300 * elf/tst-unique3.cc (gets): Remove declaration.
4301 * elf/tst-unique3lib.cc (gets): Likewise.
4302 * elf/tst-unique3lib2.cc (gets): Likewise.
4303 * elf/tst-unique4.cc (gets): Likewise.
4304
b15549e6
UD
43052012-01-24 Ulrich Drepper <drepper@gmail.com>
4306
4307 * include/stdio.h: Add C++ protection. Add gets declarations and
4308 definitions.
4309 * debug/tst-chk1.c: Don't declare gets here.
4310 * stdio-common/tst-gets.c: Likewise.
4311
a037381f
JM
43122012-01-24 Joseph Myers <joseph@codesourcery.com>
4313
4314 * posix/glob: Remove directory.
4315
f1d4aa75
JM
43162012-01-24 Joseph Myers <joseph@codesourcery.com>
4317
4318 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4319
81c0c964
PT
43202012-01-22 Pino Toscano <toscano.pino@tiscali.it>
4321
4322 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4323 of the non-standard EPFNOSUPPORT.
4324
0ea698ae
ST
43252011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
4326
4327 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4328 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4329 ANYWHERE set to 1 only on KERN_NO_SPACE error.
4330
d220b117
UD
43312012-01-21 Ulrich Drepper <drepper@gmail.com>
4332
4333 * wcsmbs/uchar.h: Test __STDC_VERSION__.
4334
3e1aa84e
UD
43352012-01-20 Ulrich Drepper <drepper@gmail.com>
4336
4337 * nscd/aicache.c (addhstaiX): Do not cache negative results of
4338 transient errors.
4339 * nscd/grpcache.c (cache_addgr): Likewise.
4340 * nscd/hstcache.c (cache_addhst): Likewise.
4341 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4342 * nscd/pwdcache.c (cache_addpw): Likewise.
4343 * nscd/servicescache.c (cache_addserv): Likewise.
4344
400aa020
UD
43452012-01-16 Ulrich Drepper <drepper@gmail.com>
4346
d77e7869
UD
4347 * malloc/malloc.c: Various cleanups.
4348 * malloc/hooks.c: Likewise.
4349
400aa020
UD
4350 * stdlib/Makefile (tests): Add bug-fmtmsg1.
4351 * stdlib/bug-fmtmsg1.c: New file.
4352
4353 * stdlib/fmtmsg.c (init): Add missing unlock.
4354 Patch by Peng Haitao <penght@cn.fujitsu.com>.
4355
e0a309cf
MP
43562012-01-12 Marek Polacek <polacek@redhat.com>
4357
4358 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4359 and _GNU_SOURCE.
4360
929d11c7
WS
43612012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4362
4363 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4364 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4365 macro to ensure uniqueness of label name.
4366 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4367 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4368
41d0e869
UD
43692012-01-11 Ulrich Drepper <drepper@gmail.com>
4370
0cc5ed3b
UD
4371 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4372
41d0e869
UD
4373 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4374 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4375 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4376 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4377
a47a831a
UD
43782012-01-10 Ulrich Drepper <drepper@gmail.com>
4379
daa891c0
UD
4380 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4381
4382 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4383 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4384 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4385
e58ef0f2
UD
4386 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4387
a47a831a 4388 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
4389 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4390 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 4391 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
4392
4393 * math/bits/math-finite.h: Add ldexp support.
4394
a0bfc9c7
MP
43952012-01-10 Marek Polacek <polacek@redhat.com>
4396
4397 * locale/programs/localedef.h (show_archive_content): Add noreturn
4398 attribute.
4399
d6e97a1d
UD
44002012-01-09 Ulrich Drepper <drepper@gmail.com>
4401
4402 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4403
d5835c26
UD
44042012-01-08 Ulrich Drepper <drepper@gmail.com>
4405
e5f484c6
UD
4406 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4407
d5835c26
UD
4408 * io/Makefile (headers): Add bits/poll2.h.
4409
d1f741e9
WS
44102011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
4411
4412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4413 typo #include statement.
4414
ec09c1c4
UD
44152012-01-08 Ulrich Drepper <drepper@gmail.com>
4416
4417 * include/sys/cdefs.h: Define __attribute_alloc_size.
4418 * catgets/gencat.c: Add alloc_size attribute and apply consistently
4419 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4420 * elf/pldd.c: Likewise.
4421 * iconv/iconv_charmap.c: Likewise.
4422 * iconv/iconvconfig.c: Likewise.
4423 * iconv/strtab.c: Likewise.
4424 * locale/programs/locale.c: Likewise.
4425 * locale/programs/localedef.h: Likewise.
4426 * locale/programs/simple-hash.c: Likewise.
4427 * nscd/nscd.h: Likewise.
4428 * nss/makedb.c: Likewise.
4429 * sysdeps/generic/ldconfig.h: Likewise.
4430 * locale/programs/localedef.c: Remove xmalloc prototype.
4431 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4432
20b38e03
PP
44332012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4434
4435 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4436 appropriate.
4437
a0da5fe1
UD
44382012-01-08 Ulrich Drepper <drepper@gmail.com>
4439
1d5a644a 4440 * math/Makefile (tests): Add tst-CMPLX.
669704fd 4441 * math/tst-CMPLX.c: New file.
1d5a644a 4442
8784a6db
UD
4443 * math/complex.h (CMPLXL): Fix typo.
4444
d9a216c0
UD
4445 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4446 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4447 GLIBC_2.16.
4448 * debug/tst-chk1.c: Add poll and ppoll tests.
4449 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4450 * include/sys/poll.h: Add hidden proto for ppoll.
4451 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4452 * sysdeps/mach/hurd/ppoll.c: Likewise.
4453 * io/ppoll.c: Likewise.
4454 * debug/poll_chk.c: New file.
4455 * debug/ppoll_chk.c: New file.
4456 * include/bits/poll2.h: New file.
4457 * io/bits/poll2.h: New file.
4458
ac097f5c
UD
4459 [BZ #1350]
4460 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4461
2119dcfa
UD
4462 * configure.in: static is always set to yes. Remove.
4463 * config.make.in: Don't set build-static.
4464 * Makeconfig: Remove use of build-static.
4465 * dlfcn/Makefile: Likewise.
4466 * elf/Makefile: Likewise.
4467 * math/Makefile: Likewise.
4468 * misc/Makefile: Likewise.
4469 * nptl/Makefile: Likewise.
4470 * sysdeps/mach/hurd/Makefile: Likewise.
4471
121766a9
UD
4472 * configure.in: PWD_P is not used anymore.
4473 * config.make.in: Remove PWD_P entry.
4474
51a1d39c 4475 * configure.in: Remove last remnants of RANLIB.
8720d066 4476 No need to check for signed size_t anymore.
215f4bdc
UD
4477 Don't set libc_commonpagesize and libc_relro_required here for Alpha
4478 and IA-64.
3857022a 4479 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
4480 * aclocal.m4: Likewise.
4481
d3ed7225
UD
4482 * wcsmbs/mbrtoc16.c: Implement using towc function.
4483 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4484 * wcsmbs/wcsmbsload.c: Likewise.
4485 * iconv/gconv_simple.c: Likewise.
4486 * iconv/gconv_int.h: Likewise.
4487 * iconv/gconv_builtin.h: Likewise.
4488 * iconv/iconv_prog.c: Remove CHAR16 handling.
4489
4490 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4491
4492 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4493
a0da5fe1
UD
4494 * configure.in: Remove --with-elf and --enable-bounded options.
4495 Dont set base_machine for ia64. More non-ELF conditions removed.
4496 Remove testing and setting of leading underscore information.
4497 * config.make.in (build-bounded): Set to no.
4498 * config.h.in: Remove NO_UNDERSCORES entry.
4499 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4500 them.
4501 * csu/start.c: Remove !NO_UNDERSCORE code.
4502 * locale/localeinfo.h: Likewise.
4503 * sysdeps/generic/machine-gmon.h: Likewise.
4504 * sysdeps/generic/sysdep.h: Likewise.
4505 * sysdeps/i386/sysdep.h: Likewise.
4506 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4507 * sysdeps/mach/sysdep.h: Likewise.
4508 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4509 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4510 * sysdeps/sh/sysdep.h: Likewise.
4511 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4512 * sysdeps/unix/i386/sysdep.S: Likewise.
4513 * sysdeps/unix/sparc/start.c: Likewise.
4514 * sysdeps/unix/sparc/sysdep.S: Likewise.
4515 * sysdeps/unix/sparc/sysdep.h: Likewise.
4516 * sysdeps/unix/start.c: Likewise.
4517 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4518 * sysdeps/x86_64/sysdep.h: Likewise.
4519
df78418a
UD
45202012-01-07 Ulrich Drepper <drepper@gmail.com>
4521
a784e502
UD
4522 [BZ #13553]
4523 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4524 for non-gcc.
4525 * argp/argp-fmtstream.h: Use const instead __const.
4526 * argp/argp.h: Likewise.
4527 * assert/assert.h: Likewise.
4528 * bits/fenv.h: Likewise.
4529 * bits/sched.h: Likewise.
4530 * bits/sigset.h: Likewise.
4531 * bits/sigthread.h: Likewise.
4532 * catgets/nl_types.h: Likewise.
4533 * conform/data/pthread.h-data: Likewise.
4534 * crypt/crypt-private.h: Likewise.
4535 * crypt/crypt.h: Likewise.
4536 * crypt/crypt_util.c: Likewise.
4537 * ctype/ctype.h: Likewise.
4538 * debug/execinfo.h: Likewise.
4539 * debug/mbsnrtowcs_chk.c: Likewise.
4540 * debug/mbsrtowcs_chk.c: Likewise.
4541 * debug/wcsnrtombs_chk.c: Likewise.
4542 * debug/wcsrtombs_chk.c: Likewise.
4543 * debug/wcstombs_chk.c: Likewise.
4544 * dirent/dirent.h: Likewise.
4545 * dlfcn/dlfcn.h: Likewise.
4546 * elf/neededtest4.c: Likewise.
4547 * grp/grp.h: Likewise.
4548 * gshadow/gshadow.h: Likewise.
4549 * iconv/gconv.h: Likewise.
4550 * iconv/gconv_int.h: Likewise.
4551 * iconv/gconv_simple.c: Likewise.
4552 * iconv/iconv.h: Likewise.
4553 * iconv/loop.c: Likewise.
4554 * iconv/skeleton.c: Likewise.
4555 * include/aio.h: Likewise.
4556 * include/aliases.h: Likewise.
4557 * include/argz.h: Likewise.
4558 * include/arpa/inet.h: Likewise.
4559 * include/assert.h: Likewise.
4560 * include/dirent.h: Likewise.
4561 * include/dlfcn.h: Likewise.
4562 * include/execinfo.h: Likewise.
4563 * include/fcntl.h: Likewise.
4564 * include/fenv.h: Likewise.
4565 * include/glob.h: Likewise.
4566 * include/grp.h: Likewise.
4567 * include/libintl.h: Likewise.
4568 * include/mntent.h: Likewise.
4569 * include/netdb.h: Likewise.
4570 * include/pwd.h: Likewise.
4571 * include/rpc/netdb.h: Likewise.
4572 * include/sched.h: Likewise.
4573 * include/search.h: Likewise.
4574 * include/shadow.h: Likewise.
4575 * include/signal.h: Likewise.
4576 * include/stdio.h: Likewise.
4577 * include/stdlib.h: Likewise.
4578 * include/string.h: Likewise.
4579 * include/sys/socket.h: Likewise.
4580 * include/sys/stat.h: Likewise.
4581 * include/sys/statfs.h: Likewise.
4582 * include/sys/statvfs.h: Likewise.
4583 * include/sys/syslog.h: Likewise.
4584 * include/sys/time.h: Likewise.
4585 * include/sys/uio.h: Likewise.
4586 * include/time.h: Likewise.
4587 * include/unistd.h: Likewise.
4588 * include/utmp.h: Likewise.
4589 * include/wchar.h: Likewise.
4590 * include/wctype.h: Likewise.
4591 * inet/aliases.h: Likewise.
4592 * inet/arpa/inet.h: Likewise.
4593 * inet/netinet/ether.h: Likewise.
4594 * inet/netinet/in.h: Likewise.
4595 * intl/libintl.h: Likewise.
4596 * io/bits/fcntl2.h: Likewise.
4597 * io/fcntl.h: Likewise.
4598 * io/ftw.h: Likewise.
4599 * io/sys/poll.h: Likewise.
4600 * io/sys/stat.h: Likewise.
4601 * io/sys/statfs.h: Likewise.
4602 * io/sys/statvfs.h: Likewise.
4603 * io/utime.h: Likewise.
4604 * libio/bits/stdio.h: Likewise.
4605 * libio/bits/stdio2.h: Likewise.
4606 * libio/libio.h: Likewise.
4607 * libio/libioP.h: Likewise.
4608 * libio/stdio.h: Likewise.
4609 * locale/lc-ctype.c: Likewise.
4610 * locale/locale.h: Likewise.
4611 * login/utmp.h: Likewise.
4612 * malloc/arena.c: Likewise.
4613 * malloc/malloc.c: Likewise.
4614 * malloc/malloc.h: Likewise.
4615 * malloc/mcheck.c: Likewise.
4616 * malloc/mtrace.c: Likewise.
4617 * math/bits/mathcalls.h: Likewise.
4618 * math/fenv.h: Likewise.
4619 * math/math_private.h: Likewise.
4620 * misc/bits/error.h: Likewise.
4621 * misc/bits/syslog.h: Likewise.
4622 * misc/err.h: Likewise.
4623 * misc/error.h: Likewise.
4624 * misc/fstab.h: Likewise.
4625 * misc/mntent.h: Likewise.
4626 * misc/regexp.h: Likewise.
4627 * misc/search.h: Likewise.
4628 * misc/sgtty.h: Likewise.
4629 * misc/sys/mman.h: Likewise.
4630 * misc/sys/syslog.h: Likewise.
4631 * misc/sys/uio.h: Likewise.
4632 * misc/sys/xattr.h: Likewise.
4633 * misc/ttyent.h: Likewise.
4634 * nis/rpcsvc/ypclnt.h: Likewise.
4635 * nss/nss.h: Likewise.
4636 * posix/bits/unistd.h: Likewise.
4637 * posix/fnmatch.h: Likewise.
4638 * posix/glob.h: Likewise.
4639 * posix/sched.h: Likewise.
4640 * posix/spawn.h: Likewise.
4641 * posix/sys/wait.h: Likewise.
4642 * posix/unistd.h: Likewise.
4643 * posix/wordexp.h: Likewise.
4644 * pwd/pwd.h: Likewise.
4645 * resolv/netdb.h: Likewise.
4646 * resource/sys/resource.h: Likewise.
4647 * rt/aio.h: Likewise.
4648 * rt/bits/mqueue2.h: Likewise.
4649 * rt/mqueue.h: Likewise.
4650 * shadow/shadow.h: Likewise.
4651 * signal/signal.h: Likewise.
4652 * socket/send.c: Likewise.
4653 * socket/sendto.c: Likewise.
4654 * socket/sys/socket.h: Likewise.
4655 * stdio-common/printf.h: Likewise.
4656 * stdlib/bits/stdlib.h: Likewise.
4657 * stdlib/fmtmsg.h: Likewise.
4658 * stdlib/monetary.h: Likewise.
4659 * stdlib/stdlib.h: Likewise.
4660 * stdlib/ucontext.h: Likewise.
4661 * streams/stropts.h: Likewise.
4662 * string/argz.h: Likewise.
4663 * string/bits/string2.h: Likewise.
4664 * string/string.h: Likewise.
4665 * string/strings.h: Likewise.
4666 * sunrpc/rpc/auth.h: Likewise.
4667 * sunrpc/rpc/auth_des.h: Likewise.
4668 * sunrpc/rpc/clnt.h: Likewise.
4669 * sunrpc/rpc/netdb.h: Likewise.
4670 * sunrpc/rpc/pmap_clnt.h: Likewise.
4671 * sunrpc/rpc/xdr.h: Likewise.
4672 * sysdeps/generic/inttypes.h: Likewise.
4673 * sysdeps/generic/net/if.h: Likewise.
4674 * sysdeps/generic/sys/swap.h: Likewise.
4675 * sysdeps/gnu/net/if.h: Likewise.
4676 * sysdeps/gnu/utmpx.h: Likewise.
4677 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4678 * sysdeps/i386/i486/bits/string.h: Likewise.
4679 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4680 * sysdeps/s390/bits/string.h: Likewise.
4681 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4682 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4683 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4684 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4685 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4686 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4687 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4688 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4689 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4690 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4691 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4692 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4693 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4694 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4695 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4696 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4697 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4698 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4699 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4700 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4701 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4702 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4703 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4704 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4705 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4706 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4707 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4708 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4709 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4710 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4711 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4712 * sysvipc/sys/ipc.h: Likewise.
4713 * sysvipc/sys/msg.h: Likewise.
4714 * sysvipc/sys/sem.h: Likewise.
4715 * sysvipc/sys/shm.h: Likewise.
4716 * termios/termios.h: Likewise.
4717 * time/sys/time.h: Likewise.
4718 * time/time.h: Likewise.
4719 * wcsmbs/bits/wchar2.h: Likewise.
4720 * wcsmbs/uchar.h: Likewise.
4721 * wcsmbs/wchar.h: Likewise.
4722 * wctype/wctype.h: Likewise.
4723
0269750c
UD
4724 [BZ #13551]
4725 * Makeconfig: Remove all but ELF support including AIX support.
4726 * Makerules: Likewise.
4727 * config.h.in: Likewise.
4728 * config.make.in: Likewise.
4729 * configure: Likewise.
4730 * configure.in: Likewise.
4731 * csu/Makefile: Likewise.
4732 * csu/version.c: Likewise.
4733 * debug/Makefile: Likewise.
4734 * dlfcn/Makefile: Likewise.
4735 * elf/Makefile: Likewise.
4736 * extra-lib.mk: Likewise.
4737 * iconv/Makefile: Likewise.
4738 * include/libc-symbols.h: Likewise.
4739 * include/shlib-compat.h: Likewise.
4740 * resolv/Makefile: Likewise.
4741 * resolv/res_libc.c: Likewise.
4742 * rt/Makefile: Likewise.
4743 * sysdeps/i386/asm-syntax.h: Likewise.
4744 * sysdeps/i386/sysdep.h: Likewise.
4745 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4746 * sysdeps/mach/sysdep.h: Likewise.
4747 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4748 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4749 * sysdeps/s390/asm-syntax.h: Likewise.
4750 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4751 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4752 * sysdeps/sh/sysdep.h: Likewise.
4753 * sysdeps/unix/sparc/sysdep.h: Likewise.
4754 * sysdeps/wordsize-32/divdi3.c: Likewise.
4755 * sysdeps/x86_64/sysdep.h: Likewise.
4756
00bbd29b
UD
4757 * argp/Versions: Remove _argp_unlock_xxx.
4758
4759 [BZ #13559]
4760 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4761 * abilist/libBrokenLocale.abilist: Likewise.
4762 * abilist/libanl.abilist: Likewise.
4763 * abilist/libc.abilist: Likewise.
4764 * abilist/libcrypt.abilist: Likewise.
4765 * abilist/libdl.abilist: Likewise.
4766 * abilist/libm.abilist: Likewise.
4767 * abilist/libnsl.abilist: Likewise.
4768 * abilist/libpthread.abilist: Likewise.
4769 * abilist/libresolv.abilist: Likewise.
4770 * abilist/librt.abilist: Likewise.
4771 * abilist/libthread_db.abilist: Likewise.
4772 * abilist/libutil.abilist: Likewise.
4773 * abilist/libnss_db.abilist: New file.
4774
4775 * scripts/abilist.awk: Add support for indirect functions.
4776
a2693a0e
UD
4777 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4778
3f05895f
UD
4779 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4780
ecb6fb48
UD
4781 * shlib-versions: Remove entries for ports architectures.
4782
664f8cb9
UD
4783 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4784 files in ports.
4785 * elf/stackguard-macros.h: Remove support for IA-64.
4786 * elf/tst-auditmod1.c: Likewise.
4787 * sysdeps/generic/ldsodefs.h: Likewise.
4788
7ae81d88
UD
4789 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4790 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4791 configure files.
4792
bdeba135
UD
4793 [BZ #13552]
4794 * configure.in: Remove --enable-omitfp support.
4795 * FAQ.in: Adjust.
4796 * config.make.in: Likewise.
4797 * Makeconfig: Likewise.
4798 * manual/install.texi: Likewise.
4799
d75a0a62
UD
4800 In case anyone cares, the IA-64 architecture could move to ports.
4801 * sysdeps/ia64/*: Removed.
4802 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 4803 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 4804
dcc9756b
UD
4805 [BZ #13555]
4806 * configure.in: Remove entries for unsupported architectures.
4807
d3761ebc 4808 [BZ #13533]
9954432e
UD
4809 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4810 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4811 routines.
4812 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4813 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4814 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4815 fall back to using wcrtomb.
4816 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4817 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4818 renaming.
4819 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4820 * wcsmbs/tst-c16c32-1.c: New file.
4821
4822 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4823 local variable.
4824
c3a87236
UD
4825 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4826
28926a1b
UD
4827 * elf/tst-unique3.cc: Add explicit declaration of gets.
4828 * elf/tst-unique3lib.cc: Likewise.
4829 * elf/tst-unique3lib2.cc: Likewise.
4830 * elf/tst-unique4.cc: Likewise.
4831
df78418a
UD
4832 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4833
8ecd6b2a
JM
48342012-01-06 Joseph Myers <joseph@codesourcery.com>
4835
4836 [BZ #13566]
4837 * assert/assert.h (static_assert): Don't define for C++.
4838 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4839 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4840
9f115170
UD
48412012-01-03 Ulrich Drepper <drepper@gmail.com>
4842
5e0d0300
UD
4843 * iconv/loop.c (single loop): Fix assertion in storing of
4844 remaining bytes.
4845
9f115170
UD
4846 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4847
81fb02b0
UD
48482012-01-01 Ulrich Drepper <drepper@gmail.com>
4849
4850 * posix/getconf.c: Update copyright year.
4851 * nss/getent.c: Likewise.
a316c1f6 4852 * nss/makedb.c: Likewise.
81fb02b0
UD
4853 * iconv/iconvconfig.c: Likewise.
4854 * iconv/iconv_prog.c: Likewise.
4855 * elf/ldconfig.c: Likewise.
a316c1f6
UD
4856 * elf/pldd.c: Likewise.
4857 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
4858 * catgets/gencat.c: Likewise.
4859 * csu/version.c: Likewise.
4860 * elf/ldd.bash.in: Likewise.
4861 * elf/sprof.c (print_version): Likewise.
4862 * locale/programs/locale.c: Likewise.
4863 * locale/programs/localedef.c: Likewise.
a316c1f6 4864 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
4865 * nscd/nscd.c (print_version): Likewise.
4866 * debug/xtrace.sh: Likewise.
4867 * malloc/memusage.sh: Likewise.
4868 * malloc/mtrace.pl: Likewise.
4869 * debug/catchsegv.sh: Likewise.
4870
2ba92745
JJ
48712011-12-30 Jakub Jelinek <jakub@redhat.com>
4872
4873 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4874 pure attribute.
4875
dadebdae
UD
48762011-12-24 Ulrich Drepper <drepper@gmail.com>
4877
d3761ebc 4878 [BZ #13533]
db6af3eb
UD
4879 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4880 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4881 transformations.
4882 * iconv/gconv_int.h: Likewise.
4883 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4884 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4885 from libc for GLIBC_2.16.
4886 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4887 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4888 * wcsmbs/uchar.h: Really define mbstate_t.
4889 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4890 * wcsmbs/c16rtomb.c: New file.
4891 * wcsmbs/mbrtoc16.c: New file.
4892 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4893 for C/POSIX locale.
4894 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4895 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4896
dadebdae
UD
4897 * wcsmbs/wchar.h: Add missing __restrict.
4898
67371b56
UD
48992011-12-23 Ulrich Drepper <drepper@gmail.com>
4900
74033a25
UD
4901 [BZ #13532]
4902 * time/Makefile (routines): Add timespec_get.
4903 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4904 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4905 timespec for ISO C11.
4906 * time/timespec_get.c: New file.
4907 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4908 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4909
380d7e87
UD
4910 [BZ #13531]
4911 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4912 * stdlib/stdlib.h: Declare aligned_alloc.
4913 * Versions.def: Add GLIBC_2.16 for libc.
4914 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4915
4e9e7a35
UD
4916 [BZ 13527]
4917 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4918 ISO C11.
4919
380d7e87 4920 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
4921 code.
4922
03a71829
UD
4923 [BZ #13528]
4924 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4925
839e283e
UD
4926 [BZ #13529]
4927 * assert/assert.h (static_assert): Define.
4928
ce5294e2 4929 * version.h: Update for 2.16 development version.
90fa7312 4930
8d44e150 4931 [BZ #13526]
d7809905
UD
4932 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4933 _ISOC11_SOURCE.
4934
c0da14cd
UD
4935 * version.h (RELEASE): Bump for 2.15 release.
4936 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4937
530a3249
MP
4938 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4939 Patch by Marek Polacek <mpolacek@redhat.com>.
4940
67371b56
UD
4941 * bits/byteswap.h: Protect long long constants with __extension__.
4942 * sysdeps/i386/bits/byteswap.h: Likewise.
4943 * sysdeps/ia64/bits/byteswap.h: Likewise.
4944 * sysdeps/s390/bits/byteswap.h: Likewise.
4945 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4946
15db4de1
LD
49472011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4948
4949 [BZ #13540]
bbe315ea
LD
4950 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4951 destination buffer.
15db4de1
LD
4952 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4953
2b2596b1
MP
49542011-12-23 Marek Polacek <polacek@redhat.com>
4955
4956 * elf/dl-addr.c (determine_info): Add inline keyword.
4957 * elf/tst-auditmod4b.c (check_avx): Likewise.
4958 * elf/tst-auditmod6b.c (check_avx): Likewise.
4959 * elf/tst-auditmod6c.c (check_avx): Likewise.
4960 * elf/tst-auditmod7b.c (check_avx): Likewise.
4961
70c6c246
UD
49622011-12-23 Ulrich Drepper <drepper@gmail.com>
4963
4964 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4965 !__SSE_MATH__.
4966
c044cf14
LD
49672011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4968
15db4de1 4969 [BZ #13540]
c044cf14
LD
4970 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4971 processing for last bytes.
4972
6b13d9d9
BH
49732011-08-06 Bruno Haible <bruno@clisp.org>
4974
d455f537
BH
4975 [BZ #13061]
4976 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4977 U+0385, not to U+1FEE.
4978
6b13d9d9
BH
4979 [BZ #13062]
4980 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4981 entry for U+00A5 U+0301.
4982
db910efd
UD
49832011-12-22 Ulrich Drepper <drepper@gmail.com>
4984
27deeafc
UD
4985 [BZ #13166]
4986 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4987 buffer for the output is too small.
4988
aed9d171
UD
4989 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4990 optimization.
4991
db910efd
UD
4992 [BZ #13185]
4993 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4994 SSE flags if possible.
4995
2bd779ae
LD
49962011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4997
e7f9dac3 4998 [BZ #13540]
2bd779ae
LD
4999 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
5000 processing for last bytes.
5001
154bfc16
JM
50022011-12-22 Joseph Myers <joseph@codesourcery.com>
5003
5004 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
5005 (syscall-list-default-options, syscall-list-default-condition)
5006 (syscall-list-includes): Define.
5007 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
5008 list of ABIs and options and #if conditions for each ABI. Do not
5009 handle common syscalls between ABIs specially.
5010 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
5011 Remove.
5012 (syscall-list-variants, syscall-list-32bit-options)
5013 (syscall-list-32bit-condition, syscall-list-64bit-options)
5014 (syscall-list-64bit-condition): Define.
5015 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
5016 (syscall-list-variants, syscall-list-32bit-options)
5017 (syscall-list-32bit-condition, syscall-list-64bit-options)
5018 (syscall-list-64bit-condition): Define.
5019 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
5020 Remove.
5021 (syscall-list-variants, syscall-list-32bit-options)
5022 (syscall-list-32bit-condition, syscall-list-64bit-options)
5023 (syscall-list-64bit-condition): Define.
5024 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
5025 Remove.
5026 (syscall-list-variants, syscall-list-32bit-options)
5027 (syscall-list-32bit-condition, syscall-list-64bit-options)
5028 (syscall-list-64bit-condition): Define.
5029
21eaf3a5
UD
50302011-12-22 Ulrich Drepper <drepper@gmail.com>
5031
16c6f992
UD
5032 * locale/iso-639.def: Add brx entry.
5033
41043168
UD
5034 [BZ #13328]
5035 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
5036 Proposed by Mariusz_Cukr <marcukr@op.pl>.
5037
21eaf3a5
UD
5038 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
5039 __feraiseexcept_renamed.
5040
e3a851a2
UD
50412011-12-21 Ulrich Drepper <drepper@gmail.com>
5042
4920765e
UD
5043 [BZ #13538]
5044 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
5045 EPOLLET with unsigned values.
5046 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5047 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5048
e3a851a2
UD
5049 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
5050 to large cancellation.
5051 * math/s_cacoshf.c: Likewise.
5052 * math/s_cacoshl.c: Likewise.
5053
b27e24b8
RK
50542011-11-18 Richard B. Kreckel <kreckel@ginac.de>
5055
5056 [BZ #13305]
aebefeee 5057 [BZ #12786]
b27e24b8
RK
5058 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
5059 * math/s_cacoshf.c: Likewise.
5060 * math/s_cacoshl.c: Likewise.
5061
ee190f67
UD
50622011-12-21 Ulrich Drepper <drepper@gmail.com>
5063
5064 [BZ #13439]
5065 * iconv/gconv.h: Define __GCONV_SWAP.
5066 * iconvdata/unicode.c: The swap bit must be stored in __flags.
5067 * iconvdata/utf-16.c: Likewise.
5068 * iconvdata/utf-32.c: Likewise.
5069
707f25df
AS
50702011-12-21 Andreas Schwab <schwab@linux-m68k.org>
5071
5072 [BZ #13524]
5073 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
5074 numerator after shifting it by one limb.
5075
d2daaa1e
RÁE
50762011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
5077
5078 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
5079 under [__USE_EXTERN_INLINES].
5080
a4647e72
UD
50812011-12-17 Ulrich Drepper <drepper@gmail.com>
5082
5083 [BZ #13446]
5084 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
5085
f0b264f1
AZ
50862011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5087
5088 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
5089 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
5090 optimized code.
5091 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
5092 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
5093 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
5094 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
5095 for strncasecmp/strncasecmp_l compilation.
5096 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
5097 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
5098
8ef4f244
MP
50992011-12-08 Marek Polacek <mpolacek@redhat.com>
5100
5101 [BZ #13484]
5102 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
5103 of __asm__.
5104
97ac2654
UD
51052011-12-17 Ulrich Drepper <drepper@gmail.com>
5106
5107 [BZ #13506]
5108 * time/tzfile.c (__tzfile_read): Check values from file header.
5109
91d2a845
WS
51102011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5111
5112 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
5113 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
5114 * powerpc/powerpc32/dl-start.S: Likewise.
5115 * powerpc/powerpc32/elf/start.S: Likewise.
5116 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5117 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
5118 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5119 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
5120 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5121 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
5122 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
5123 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5124 * powerpc/powerpc32/fpu/s_round.S: Likewise.
5125 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5126 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5127 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5128 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5129 * powerpc/powerpc32/memset.S: Likewise.
5130 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5131 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5132 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5133 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5134 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5135 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5136 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5137 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5138 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
5139 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
5140 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
5141 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5142 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5143
a1267ba1
AZ
51442011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5145
5146 * math/libm-test.inc: Added more nearbyint tests.
5147 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5148 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5149 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5150 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5151
ad8ac1bd
RL
51522011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
5153
5154 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5155 FD_CLOEXEC.
5156
1d3e4b61
UD
51572011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5158
5159 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5160 Add wcscpy-ssse3 wcscpy-c.
5161 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5162 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5163 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5164 * sysdeps/x86_64/wcschr.S: New file.
5165 * sysdeps/x86_64/wcsrchr.S: New file.
5166 * string/test-strcmp.c: Remove checking of wcscmp function for
5167 wrong alignments.
5168 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5169 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5170 wcsrchr-sse2 wcsrchr-c.
5171 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5172 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5173 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5174 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5175 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5176 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5177 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5178 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5179 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5180 * wcsmbc/wcschr.c (WCSCHR): New macro.
5181
5b330a2d
UD
51822011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5183
5184 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5185 * wcsmbs/test-wcsrchr.c: New file.
5186 * string/test-strrchr.c: Add wcsrchr support.
5187 (WIDE): New macro.
5188 * wcsmbs/test-wcscpy.c: New file.
5189 * string/test-strcpy.c: Add wcscpy support.
5190 (WIDE): New macro.
26428b7c 5191
f039c043
UD
51922011-12-10 Ulrich Drepper <drepper@gmail.com>
5193
5194 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5195 the inner loop.
5196
850fb039
AS
51972011-12-06 Andreas Schwab <schwab@linux-m68k.org>
5198
5199 [BZ #13472]
5200 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5201
4efbd5cb
UD
52022011-12-04 Ulrich Drepper <drepper@gmail.com>
5203
52ff5dd0 5204 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 5205 Minor optimizations.
52ff5dd0 5206
4efbd5cb
UD
5207 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5208 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5209 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5210
8a426e12
UD
52112011-12-03 Ulrich Drepper <drepper@gmail.com>
5212
aff2453d
UD
5213 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5214 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5215 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5216 for gcc to avoid warnings.
5217 * inet/Makefile (tests): Add tst-checks.
5218 * inet/tst-checks.c: New file.
5219
5220 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5221 warning.
5222
5223 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5224 __wmemcmp_sse2.
5225
5226 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5227 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5228
8a426e12
UD
5229 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5230
9bea3473
UD
52312011-12-02 Ulrich Drepper <drepper@gmail.com>
5232
3a965496
UD
5233 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5234 problem.
5235
9bea3473
UD
5236 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5237
f101631b
UD
52382011-11-29 Joseph Myers <joseph@codesourcery.com>
5239
5240 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5241 conditional on GCC version.
5242 (__arch_compare_and_exchange_val_8_acq)
5243 (__arch_compare_and_exchange_val_16_acq)
5244 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5245 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5246 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5247
a98275aa
UD
52482011-12-02 Joseph Myers <joseph@codesourcery.com>
5249
5250 * sysdeps/sh/backtrace.c: New file.
5251
d4cc29a2
AS
52522011-12-02 Andreas Schwab <schwab@redhat.com>
5253
5254 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
5255 parenthesis.
5256
6257af2d
AS
52572011-12-01 Andreas Schwab <schwab@redhat.com>
5258
5259 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5260 falling back to utime.
5261
b5f44c1a
AS
52622011-11-30 Andreas Schwab <schwab@redhat.com>
5263
5264 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
5265 expectations for float.
5266
f3a6cc0a
AS
52672011-11-29 Andreas Schwab <schwab@redhat.com>
5268
5269 * locale/weight.h (findidx): Add parameter len.
5270 * locale/weightwc.h (findidx): Likewise.
5271 * posix/fnmatch_loop.c (FCT): Adjust caller.
5272 * posix/regcomp.c (build_equiv_class): Likewise.
5273 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
5274 * posix/regexec.c (check_node_accept_bytes): Likewise.
5275 * string/strcoll_l.c (STRCOLL): Likewise.
5276 * string/strxfrm_l.c (STRXFRM): Likewise.
5277
9d65ea3a
UD
52782011-11-17 Ulrich Drepper <drepper@gmail.com>
5279
5280 * Makefile.in: Remove CVSOPT handling.
5281 * configure.in: Remove use of AC_REVISION.
5282 * iconvdata/Makefile (distribute): No need to filter out CVS.
5283 * scripts/list-sources.sh: Remove CVS, subversion and monotone
5284 handling.
5285
5583a086
AS
52862011-11-16 Andreas Schwab <schwab@redhat.com>
5287
5288 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5289 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5290 [USE_AS_STRNCASECMP_L]: Likewise.
5291 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5292 NO_TLS_DIRECT_SEG_REFS.
5293 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5294 Fix argument offsets for non-PIC.
5295 [USE_AS_STRNCASECMP_L]: Likewise.
5296 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5297 NO_TLS_DIRECT_SEG_REFS.
5298
d62a8200
UD
52992011-11-15 Ulrich Drepper <drepper@gmail.com>
5300
9d65ea3a 5301 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
5302 O_CLOEXEC.
5303 * locale/loadlocale.c (_nl_load_locale): Likewise.
5304
09f93bd3
AS
53052011-11-15 Andreas Schwab <schwab@redhat.com>
5306
446514f9
AS
5307 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5308 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5309 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5310 (SYSCALL_GETTIME): Set errno on error.
5311
09f93bd3
AS
5312 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5313 count references to noai6ai_cached.
5314
312be3f9
UD
53152011-11-15 Ulrich Drepper <drepper@gmail.com>
5316
5317 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5318
5319 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5320 FD_CLOEXEC for /proc/self/maps.
5321
5322 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5323 FD_CLOEXEC for /proc/meminfo.
5324
5325 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5326 gai.conf.
5327
5328 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
5329 FD_CLOEXEC for given file.
5330
5331 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5332
5333 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5334 FD_CLOEXEC for /etc/hosts.
5335 (_gethtent): Likewise.
5336
5337 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5338
5339 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5340 cancellation and set FD_CLOEXEC for /etc/netgroup.
5341
5342 * nss/nss_files/files-key.c (search): Don't allow cancellation when
5343 reading /etc/publickey.
5344
5345 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5346 allow cancellation when reading /etc/group.
5347
5348 * nss/nss_files/files-alias.c (internal_setent): Don't allow
5349 cancellation.
5350 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
5351
5352 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5353 when using data file.
5354
5355 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5356
5357 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5358 (write_nis_obj): Use "c" and "e" in fopen.
5359
5360 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5361
5362 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5363
5364 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5365
5366 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5367
5368 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5369 locale.alias.
5370
5371 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5372
5373 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5374
5375 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5376
5377 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5378 file parsing and set FD_CLOEXEC.
5379
82af0fa8
UD
53802011-11-14 Ulrich Drepper <drepper@gmail.com>
5381
5382 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5383
a5fb313c
AS
53842011-11-14 Andreas Schwab <schwab@redhat.com>
5385
5386 * malloc/arena.c (arena_get2): Don't call reused_arena when
5387 _int_new_arena failed.
5388
6abf3465
UD
53892011-11-14 Ulrich Drepper <drepper@gmail.com>
5390
5391 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5392 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5393 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5394 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5395 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5396 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5397 to compile strcasecmp and strncasecmp.
5398 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5399 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5400
5401 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5402
76e3966e
UD
54032011-11-13 Ulrich Drepper <drepper@gmail.com>
5404
5405 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5406 locale-defines.sym to gen-as-const-headers.
5407 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5408 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5409 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5410 to compile strcasecmp and strncasecmp.
5411 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5412 strcasecmp_l and strncasecmp_l.
5413 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5414 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5415 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5416 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5417 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5418 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5419 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5420 * sysdeps/i386/i686/multiarch/strncase.S: New file.
5421 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5422 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5423 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5424
ab26144e
UD
54252011-11-12 Ulrich Drepper <drepper@gmail.com>
5426
7edb22ef
UD
5427 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5428 result of SYSDEP_GETTIME_CPU to retval.
5429 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5430 parameter list to macro. Remove trailing semicolon. Adjust users.
5431
9694fc44
UD
5432 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5433 variable.
5434
8ad89ef8
UD
5435 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5436 mantissa words.
5437 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5438
0c822ef9
UD
5439 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5440 from unused variable.
5441
874e0564
UD
5442 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5443 DWARF definitions.
5444 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5445 for assembling.
5446
3a2edc79
UD
5447 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5448 over namespaces.
5449
f3c2577f
UD
5450 * sunrpc/rpc_prot.c (rejected): Fix case value.
5451
294ce126
UD
5452 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5453 unsigned long long int to avoid warnings in shift.
5454
5e2b63c6
UD
5455 * posix/regex_internal.c (re_string_reconstruct): Actually use result
5456 of use of trans.
5457 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5458 variable tmp.
5459
e7f4b08e
UD
5460 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5461 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5462 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5463
ab26144e
UD
5464 * nis/nis_table.c (nis_list): Use variable of correct type for
5465 result of __follow_path call.
5466
8a6d5255
AZ
54672011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5468
5469 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5470 of math functions ceil, trunc, floor, round, and sqrt, when
5471 avaliable on the platform.
5472 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5473 name clash.
5474 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5475 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5476 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5477
aaddc98c
MP
54782011-10-30 Marek Polacek <mpolacek@redhat.com>
5479
5480 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5481 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5482
95b7042b
RM
54832011-11-11 Roland McGrath <roland@hack.frob.com>
5484
5485 * include/unistd.h: Fix __readlink return type.
5486 Reported by Chris Metcalf <cmetcalf@tilera.com>.
5487
57769839
UD
54882011-11-11 Ulrich Drepper <drepper@gmail.com>
5489
5490 * stdlib/ucontext.h: Undo last change for makecontext.
5491
edc5984d
AS
54922011-11-11 Andreas Schwab <schwab@redhat.com>
5493
98591e58
AS
5494 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5495
edc5984d
AS
5496 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5497 * setjmp/setjmp.h: Mark functions as non-leaf.
5498 * setjmp/bits/setjmp2.h: Likewise.
5499 * stdlib/ucontext.h: Likewise.
5500
77cdc054
AS
55012011-11-10 Andreas Schwab <schwab@redhat.com>
5502
5503 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5504 (reused_arena): Don't check arena limit.
5505 (arena_get2): Atomically check arena limit.
5506
fe72eebd
UD
55072011-11-08 Ulrich Drepper <drepper@gmail.com>
5508
5f078c32
UD
5509 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5510 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5511
fe72eebd
UD
5512 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5513 instructions.
5514
ae1bc2fa
AS
55152011-11-07 Andreas Schwab <schwab@redhat.com>
5516
7583a88d
AS
5517 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5518 handler when locking.
5519
ae1bc2fa
AS
5520 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5521 Fix size of allocated buffer.
5522
10fb0bfa
AS
55232011-11-04 Andreas Schwab <schwab@redhat.com>
5524
998832a4
AS
5525 [BZ #10103]
5526 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5527 declarations for long double functions.
5528 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5529
10fb0bfa
AS
5530 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5531
3d7ba52b
AS
55322011-11-03 Andreas Schwab <schwab@redhat.com>
5533
a9ae54a1
AS
5534 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5535 installed.
5536
3d7ba52b
AS
5537 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5538 is disabled.
5539
bc8db248
ST
55402011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5541
5542 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5543
45b96dd6
AS
55442011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5545
647776f6
AS
5546 * include/alloca.h (stackinfo_alloca_round): Define.
5547 (extend_alloca): Use it.
5548 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5549 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5550 here.
5551
d91a8b93
AS
5552 * scripts/check-local-headers.sh: Ignore libaudit.h.
5553
45b96dd6
AS
5554 * nscd/Makefile (extra-objs): Make recursively expanded.
5555
432d41ce
UD
55562011-11-01 Ulrich Drepper <drepper@gmail.com>
5557
34372fc6
UD
5558 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5559 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5560
fadb59f8
UD
5561 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5562 * posix/tst-rfc3484-2.c: Likewise.
5563 * posix/tst-rfc3484-3.c: Likewise.
5564
78239589
UD
5565 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5566 process_vm_writev.
5567 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5568 process_vm_writev.
5569 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5570 process_vm_writev from libc using GLIBC_2.15 version.
5571
432d41ce
UD
5572 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5573
02f9c6cf
PP
55742011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5575
5576 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5577 stack usage.
5578
3a2c0242
UD
55792011-10-31 Ulrich Drepper <drepper@gmail.com>
5580
f4ec4833
UD
5581 [BZ #13367]
5582 * nss/getent.c (initgroups_keys): Show error message in case no group
5583 names are given.
5584
3a2c0242
UD
5585 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5586 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5587 __bump_nl_timestamp.
5588 * nscd/connections (nscd_init): When host database is served open
5589 netlink socket and request notification about configuration changes.
5590 (main_loop_poll): Track netlink file descriptor and bump timestamp
5591 in case data becomes available.
5592 (main_loop_epoll): Likewise.
5593 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5594 (database_pers_head): Add extra_data fileds.
5595 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5596 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5597 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5598 Adjust caller.
5599 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5600 in6ai data, call __free_in6ai.
5601 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5602 Add -DHAVE_NETLINK.
5603 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5604 interface information. Reuse previous data if netlink timestamp
5605 is not changed.
5606 (__bump_nl_timestamp): New function.
5607 (__free_in6ai): New function.
5608
636064eb
UD
56092011-10-30 Ulrich Drepper <drepper@gmail.com>
5610
5611 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5612 close_not_cancel_no_status here.
5613 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5614
9beb2334
UD
56152011-10-29 Ulrich Drepper <drepper@gmail.com>
5616
6ef76f3b
UD
5617 [BZ #13276]
5618 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5619 return value.
5620
0ffc4f3e 5621 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
5622 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5623 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5624
cb95113e
UD
56252011-07-03 Andreas Jaeger <aj@suse.de>
5626
5627 [BZ #10709]
5628 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5629 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5630 * math/libm-test.inc (sin_test): Add test case.
5631
a1b560ff
UD
56322011-10-29 Ulrich Drepper <drepper@gmail.com>
5633
c9aaface
UD
5634 [BZ #13337]
5635 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5636 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5637
d272e7f1
UD
5638 * elf/chroot_canon.c (chroot_canon): Cleanups.
5639
1bc33071
UD
5640 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5641
1760874d
TJ
5642 [BZ #13335]
5643 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5644 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5645
51d91b18
UD
5646 * string/test-strchr.c: Make usable for strchrnul testing.
5647 * string/test-strchrnul.c: New file.
5648 * string/Makefile (strop-tests): Add strchrnul.
5649
a1b560ff 5650 * po/it.po: Update from translation team.
b611fb81 5651 * po/es.po: Likewise.
a1b560ff 5652
a5b81e1f
UD
56532011-10-28 Ulrich Drepper <drepper@gmail.com>
5654
fd52bc6d
UD
5655 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5656 the three constants needed as parameters. Drop the others.
5657 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5658 __m128i_strloadu_tolower.
52e4b9eb
UD
5659 Create and initialize variable zero and use it in all the places
5660 where _mm_setzero_si128 was used.
fd52bc6d 5661
a5b81e1f
UD
5662 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5663 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5664 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5665 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5666 anymore.
5667 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5668 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5669 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5670 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5671 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5672 __mpranred, __mptan.
5673 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5674 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5675 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5676 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5677 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5678 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5679 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5680 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5681 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5682
b4343346
AS
56832011-10-28 Andreas Schwab <schwab@redhat.com>
5684
0c92d8a8
AS
5685 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5686 redefine if SHARED.
5687 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5688
b4343346
AS
5689 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5690 wide char related routines to wcsmbs subdir.
5691
3871f58f
AS
56922011-10-27 Andreas Schwab <schwab@redhat.com>
5693
5694 [BZ #13344]
5695 * misc/sys/cdefs.h (__THROWNL): Define.
5696 * posix/unistd.h: Use __THREADNL instead of __THREAD
5697 for memory synchronization functions.
5698
94d44d9f
RM
56992011-10-26 Roland McGrath <roland@hack.frob.com>
5700
21b64b15 5701 [BZ #13349]
94d44d9f
RM
5702 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5703 doesn't exist.
5704 * manual/stdio.texi (Obstack Streams): Node removed.
5705
f6ce9294
AS
57062011-10-26 Andreas Schwab <schwab@redhat.com>
5707
80479147
AS
5708 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5709 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5710 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5711
f6ce9294
AS
5712 * math/math_private.h (math_force_eval): Allow non-addressable
5713 arguments.
5714 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5715
618280a1
UD
57162011-10-25 Ulrich Drepper <drepper@gmail.com>
5717
e0016b11
UD
5718 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5719 file is not needed.
5720
5721 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5722 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5723 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5724 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5725 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5726 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5727 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5728 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5729 Add AVX variants.
5730 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5731 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5732 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5733 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5734 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5735 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5736 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5737 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5738 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5739 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5740 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5741 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5742 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5743 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5744 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5745 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5746 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5747 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5748 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5749
5750 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5751 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5752
618280a1
UD
5753 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5754 place. Use VEX encoding when compiling for AVX.
5755
37822576
AS
57562011-10-25 Andreas Schwab <schwab@redhat.com>
5757
1f1e1947
AS
5758 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5759 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5760
37822576
AS
5761 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5762
31ea014d
UD
57632011-10-25 Ulrich Drepper <drepper@gmail.com>
5764
d7826aa1 5765 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 5766 useless if() expression.
d7826aa1
UD
5767 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5768 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5769 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5770 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5771 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5772 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5773 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5774 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5775 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5776 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5777 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5778 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5779 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5780 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5781 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5782 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5783 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5784 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5785 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5786
31ea014d
UD
5787 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5788
16437fec
AS
57892011-10-25 Andreas Schwab <schwab@redhat.com>
5790
5791 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5792 condition.
5793 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5794
31d3cc00
UD
57952011-10-25 Ulrich Drepper <drepper@gmail.com>
5796
5797 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5798 .text section. Avoid duplicate constants.
5799 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5800 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5801 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5802 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5803 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5804 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5805 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5806 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5807 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5808 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5809 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5810 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5811 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5812 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5813 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5814 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5815 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5816 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5817 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5818 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5819 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5820 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5821 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5822 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5823 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5824 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5825 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5826 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5827 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5828 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5829 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5830 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5831 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5832 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5833 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5834 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5835 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5836 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5837 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5838 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5839 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5840 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5841 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5842 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5843 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5844
58985aa9
UD
58452011-10-24 Ulrich Drepper <drepper@gmail.com>
5846
202c9deb
UD
5847 * sysdeps/x86_64/dla.h: Move to ...
5848 * sysdeps/x86_64/fpu/dla.h: ...here.
5849 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5850 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 5851
af968f62
UD
5852 * config.make.in: Add have-mfma4 entry.
5853 * configure.in: Substitute libc_cv_cc_fma4.
5854 * math/Makefile (dbl-only-routines): Add sincostab.
5855 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5856 Use __sincostab not sincos.
5857 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5858 name is a macro.
5859 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5860 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5861 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5862 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5863 using __copysign.
5864 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5865 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5866 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5867 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5868 and __inv.
5869 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5870 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5871 __copysign.
5872 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5873 define aliases when function name is a macro.
5874 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5875 sysdeps/ieee754/dbl-64/sincos.tbl.
5876 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5877 fma4-enabled routines.
5878 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5879 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5880 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5881 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5882 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5883 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5884 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5885 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5886 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5887 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5888 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5889 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5890 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5891 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5892 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5893 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5894 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5895 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5896 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5897 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5898 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5899 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5900 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5901 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5902 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5903 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5904 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5905 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5906 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5907 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5908
58985aa9
UD
5909 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5910 rename.
5911 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5912 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5913 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5914 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5915 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5916 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5917 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5918 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5919
a201fbcf
AS
59202011-10-24 Andreas Schwab <schwab@redhat.com>
5921
5922 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5923
fc2ee42a
LD
59242011-10-23 Ulrich Drepper <drepper@gmail.com>
5925
bb3129bd
UD
5926 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5927
0275fff8
UD
5928 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5929 prediction.
5930 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5931
2fa2ae85
UD
5932 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5933 Remove unused variable magic_bits.
5934 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5935
fc2ee42a
LD
5936 * string/strnlen.c: Define and use STRNLEN macro.
5937 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5938 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5939 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5940 * wcsmbs/wcslen.c: Define and use WCSLEN.
5941 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5942 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5943 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5944 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5945 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5946 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5947 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5948
ce7dd29f
LD
59492011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5950
5951 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5952 strnlen-sse2-no-bsf.
5953 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5954 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5955 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5956 Add strnlen support.
5957 (USE_AS_STRNLEN): New macro.
5958 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5959 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5960 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5961 * sysdeps/x86_64/wcslen.S: New file.
5962
979c70a3
MZ
59632011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5964
5965 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5966 XMM-moves are used for copying on small sizes.
5967
2d09f82f
LD
59682011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5969
5970 * wcsmbs/Makefile (strop-tests): Add wcschr.
5971 * wcsmbs/test-wcschr.c: New file.
5972 * string/test-strchr.c: Update.
5973 Add wcschr support.
5974 (WIDE): New macro.
5975
619fccca
LD
59762011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5977
2d09f82f 5978 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
5979 * wcsmbs/test-wcslen.c: New file.
5980 * string/test-strlen.c: Update.
5981 Add wcslen support.
5982 (WIDE): New macro.
5983
09f699ea
UD
59842011-10-23 Ulrich Drepper <drepper@gmail.com>
5985
5986 * po/it.po: Update from translation team.
5987
95584d3b
LD
59882011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5989
5990 * sysdeps/x86_64/wcscmp.S: Update.
5991 Fix wrong comparison semantics.
5992 wcscmp shall use signed comparison not unsigned.
5993 Don't use substraction to avoid overflow bug.
5994 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5995 * wcsmbc/wcscmp.c: Likewise.
5996 * string/test-strcmp.c: Likewise.
5997 Add new tests to check cases with negative values.
5998
c8b3296b
UD
59992011-10-23 Ulrich Drepper <drepper@gmail.com>
6000
6001 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
6002 * sysdeps/x86_64/dla.h: ...here. New file.
6003 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
6004 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6005 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6006 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6007 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6008 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6009 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6010 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6011 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6012
246ad57a
AS
60132011-10-23 Andreas Schwab <schwab@linux-m68k.org>
6014
6015 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
6016 __ynl_finite aliases.
6017
a1a87169
UD
60182011-10-22 Ulrich Drepper <drepper@gmail.com>
6019
0d355eb7
UD
6020 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6021
a1a87169
UD
6022 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
6023 define DLA_FMA.
6024 [DLA_FMA] (EMULV): Use DLA_FMA.
6025 [DLA_FMA] (MUL12): Use EMULV.
6026 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
6027 that are not needed.
6028 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6029 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6030 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6031 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6032 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6033 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6034 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6035
ee2aafe0
AS
60362011-10-22 Andreas Schwab <schwab@linux-m68k.org>
6037
6038 * math/s_nan.c: Undef __nan.
6039 * math/s_nanf.c: Undef __nanf.
6040 * math/s_nanl.c: Undef __nanl.
6041 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
6042 "math_private.h".
6043
bc62c2fb
UD
60442011-10-22 Ulrich Drepper <drepper@gmail.com>
6045
77425c63
UD
6046 * math/s_catan.c: Add branch predictions.
6047 * math/s_catanf.c: Likewise.
6048 * math/s_catanh.c: Likewise.
6049 * math/s_catanhf.c: Likewise.
6050 * math/s_catanhl.c: Likewise.
6051 * math/s_catanl.c: Likewise.
6052 * math/s_cexp.c: Likewise.
6053 * math/s_cexpf.c: Likewise.
6054 * math/s_cexpl.c: Likewise.
6055 * math/s_clog.c: Likewise.
6056 * math/s_clog10.c: Likewise.
6057 * math/s_clog10f.c: Likewise.
6058 * math/s_clog10l.c: Likewise.
6059 * math/s_clogf.c: Likewise.
6060 * math/s_clogl.c: Likewise.
6061 * math/s_csqrt.c: Likewise.
6062 * math/s_csqrtf.c: Likewise.
6063 * math/s_csqrtl.c: Likewise.
6064 * math/s_ctanf.c: Likewise.
6065 * math/s_ctanh.c: Likewise.
6066 * math/s_ctanhf.c: Likewise.
6067 * math/s_ctanhl.c: Likewise.
6068 * math/s_ctanl.c: Likewise.
6069
bc62c2fb
UD
6070 * math/math_private.h: Define __nan, __nanf, __nanl.
6071 * math/s_cacosh.c: Include <math_private.h>.
6072 * math/s_cacoshl.c: Likewise.
6073 * math/s_casinh.c: Likewise.
6074 * math/s_casinhf.c: Likewise.
6075 * math/s_casinhl.c: Likewise.
6076 * math/s_ccos.c: Rely entire on ccosh.
6077 * math/s_ccosf.c: Rely entire on ccoshf.
6078 * math/s_ccosl.c: Rely entirely on ccoshl.
6079 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
6080 Remove tests for FE_INVALID.
6081 * math/s_ccoshf.c: Likewise.
6082 * math/s_ccoshl.c: Likewise.
6083 * math/s_csin.c: Likewise.
6084 * math/s_csinf.c: Likewise.
6085 * math/s_csinh.c Likewise.
6086 * math/s_csinhf.c: Likewise.
6087 * math/s_csinhl.c: Likewise.
6088 * math/s_csinl.c: Likewise.
6089 * math/s_ctan.c: Likewise.
6090 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
6091 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
6092 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
6093
8ec250a4
UD
60942011-10-21 Ulrich Drepper <drepper@gmail.com>
6095
c196fed8
UD
6096 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
6097 compilation problems.
6098
8ec250a4
UD
6099 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
6100 __builtin_expect.
6101
8d4f46c6
UD
61022011-10-20 Ulrich Drepper <drepper@gmail.com>
6103
ed72b654
UD
6104 * sysdeps/i386/configure.in: Test for -mfma4 option.
6105 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
6106 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
6107 COMMON_CPUID_INDEX_80000001.
6108 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
6109 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
6110 use it if FMA3 is not supported.
6111 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6112
8d4f46c6
UD
6113 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
6114 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6115
d45c60c2
AS
61162011-10-20 Andreas Schwab <schwab@redhat.com>
6117
6118 [BZ #12892]
6119 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
6120 it would create a cycle with a link time dependency.
6121
d9a4d2ab
UD
61222011-10-19 Ulrich Drepper <drepper@gmail.com>
6123
855d1560
UD
6124 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
6125 instruction.
6126 * string/Makefile (strop-tests): Add rawmemchr.
6127 * string/test-rawmemchr.c: New file.
6128
d9a4d2ab
UD
6129 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
6130 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
6131 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
6132 when compiling str{,n}casecmp and when AVX is available. Hook up
6133 new optimized code in initializers.
6134
8f3b1ffe
AS
61352011-10-19 Andreas Schwab <schwab@redhat.com>
6136
6137 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
6138 __feraiseexcept instead of feraiseexcept.
6139
d38f1dba
UD
61402011-10-18 Ulrich Drepper <drepper@gmail.com>
6141
d9a8d0ab
UD
6142 * math/math_private.h: Define defaults for libc_fetestexcept and
6143 libc_feupdateenv.
6144 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
6145 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6146 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6147 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6148 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6149 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6150 libc_fetestexcept and libc_feupdateenv.
6151
4855e3dd
UD
6152 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6153 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6154 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6155 * sysdeps/x86_64/fpu/math_private.h: Define special version of
6156 libc_feholdexcept_setround.
6157
581d30e3
UD
6158 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6159 Add s_nearbyint-c and s_nearbyintf-c.
6160 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6161 nearbyintf inlines.
6162 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6163 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6164 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6165 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6166
d38f1dba
UD
6167 * math/math_private.h: Define defaults for libc_fegetround,
6168 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6169 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6170 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6171 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6172 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6173 standard functions.
6174 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6175 Remove comments and hacks for old compiler versions.
6176 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6177 libc_fegetround, libc_fesetround, libc_feholdexcept, and
6178 libc_feholdexceptl.
6179
caa6c9d8
AS
61802011-10-18 Andreas Schwab <schwab@redhat.com>
6181
6182 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
6183 (__feraiseexcept_renamed): Add __NTH.
6184 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
6185 namespace violations.
6186
97c066e6
UD
61872011-10-17 Ulrich Drepper <drepper@gmail.com>
6188
99ce7b04
UD
6189 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6190
1004d182
UD
6191 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6192
228a984d
UD
6193 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6194 recently added interfaces.
6195 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6196
c8553a6a
UD
6197 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6198 about macro parameter expansion.
6199
ed22dcf6
UD
6200 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6201 __NO_MATH_INLINES is defined. Cleanups.
6202
6203 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6204 and __floorf is target has SSE4.1.
6205 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6206 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6207 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6208 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6209
b171c137
UD
6210 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6211 name.
6212 (floorf): Likewise.
6213
97c066e6
UD
6214 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6215
629f62ef
AS
62162011-10-17 Andreas Schwab <schwab@redhat.com>
6217
49a43d80
AS
6218 * misc/sys/cdefs.h: Fix last change.
6219
629f62ef
AS
6220 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6221 database lookup.
6222
e453f6cd
UD
62232011-10-16 Ulrich Drepper <drepper@gmail.com>
6224
aa78043a
UD
6225 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6226
ad0f5cad
UD
6227 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6228 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6229 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6230 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6231 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6232 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6233 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6234 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6235 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6236 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6237 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6238 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6239 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6240 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6241 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6242 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6243 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6244 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6245 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6246 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6247 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6248 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6249
6250 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6251 ceil, ceilf, floor, floorf.
6252
6253 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6254 Perform IRELATIVE relocations last.
6255
e453f6cd
UD
6256 * elf/do-rel.h: Add another parameter nrelative, replacing the
6257 local variable with the same name. Change name of the function
6258 to end in Rel or Rela (uppercase).
6259 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6260 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
6261 elf_dynamic_do_##reloc function.
6262
fd5bdc09
UD
62632011-10-15 Ulrich Drepper <drepper@gmail.com>
6264
79b195b5
UD
6265 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
6266 is sufficient, at least on modern CPUs.
6267
d4a28569
UD
6268 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
6269
b61099b5
UD
6270 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
6271 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
6272
bcf01e6d
UD
6273 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
6274 __expl_finite.
6275 * math/bits/math-finite.h: Add entries for exp.
6276 * math/e_expl.c: Add __*_finite alias.
6277 * sysdeps/i386/fpu/e_exp.S: Likewise.
6278 * sysdeps/i386/fpu/e_expf.S: Likewise.
6279 * sysdeps/i386/fpu/e_expl.c: Likewise.
6280 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6281 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6282 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6283 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6284 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6285 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6286 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6287
ba1a0d59
UD
6288 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6289 is sufficient, at least on modern CPUs.
6290
fd5bdc09
UD
6291 * ctype/ctype-info.c (__ctype_init): Define.
6292 * include/ctype.h (__ctype_init): Declare.
6293 (__ctype_b_loc): The variable is always initialized.
6294 (__ctype_toupper_loc): Likewise.
6295 (__ctype_tolower_loc): Likewise.
6296 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6297 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6298
7872cfb0
AS
62992011-10-15 Andreas Schwab <schwab@linux-m68k.org>
6300
b468825a
AS
6301 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6302
7872cfb0
AS
6303 * configure.in: Also look in $cxxmachine/include for C++ system
6304 headers.
6305
be13f7bf
LD
63062011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6307
6308 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6309 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6310 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6311 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
6312 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6313 (USE_AS_WMEMCMP): New macro.
6314 Fixing indents.
6315 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6316 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6317 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6318 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6319 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6320 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6321 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6322 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6323 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6324 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6325 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6326 (USE_AS_WMEMCMP): New macro.
6327 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6328 * sysdeps/string/test-memcmp.c: Update.
6329 Fix simple_wmemcmp.
6330 Add new tests.
6331 * wcsmbs/wmemcmp.c: Update.
6332 (WMEMCMP): New macro.
6333 Fix overflow bug.
6334
556a2007
AJ
63352011-10-12 Andreas Jaeger <aj@suse.de>
6336
6337 [BZ #13268]
6338 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6339
538faaa7
UD
63402011-10-15 Ulrich Drepper <drepper@gmail.com>
6341
ab6737ff
UD
6342 * libio/iofwide.c (do_length): Avoid warning.
6343
538faaa7
UD
6344 * ctype/ctype.h (__isctype_f): Add missing __THROW.
6345
396a21b1
UD
63462011-10-14 Ulrich Drepper <drepper@gmail.com>
6347
cdf2901f
UD
6348 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6349
38ad40ce
UD
6350 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6351 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6352 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6353 * sysdeps/i386/i686/fpu/e_log.S: New file.
6354 * sysdeps/i386/i686/fpu/e_logf.S: New file.
6355 * sysdeps/i386/i686/fpu/e_logl.S: New file.
6356
396a21b1
UD
6357 * ctype/ctype.h: Add support for inlined isXXX functions when
6358 compiling C++ code.
6359
6b1f68c9
AS
63602011-10-14 Andreas Schwab <schwab@redhat.com>
6361
349290c0
AS
6362 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6363
6b1f68c9
AS
6364 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6365
f2282d42
RM
63662011-10-13 Roland McGrath <roland@hack.frob.com>
6367
6368 [BZ #13291]
6369 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6370
5298ffa8
AS
63712011-10-13 Andreas Schwab <schwab@redhat.com>
6372
714fad23
AS
6373 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6374 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6375 feraiseexcept.
6376
81dcc7fb
AS
6377 * sysdeps/x86_64/memrchr.S: Check for zero size.
6378
5298ffa8
AS
6379 * string/stratcliff.c: Add memrchr tests.
6380
951fbcec
LD
63812011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6382
6383 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6384 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6385 rawmemchr-sse2 rawmemchr-sse2-bsf.
6386 * sysdeps/i386/i686/multiarch/memchr.S: New file.
6387 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6388 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6389 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6390 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6391 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6392 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6393 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6394 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6395 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6396 * string/memrchr.c (MEMRCHR): New macro.
6397
0ac5ae23
UD
63982011-10-12 Ulrich Drepper <drepper@gmail.com>
6399
6400 Add integration with gcc's -ffinite-math-only and optimize wrapper
6401 functions in libm.
6402 * Versions.def: Define GLIBC_2.15 version for libm.
6403 * math/Makefile (headers): Add bits/math-finite.h.
6404 * math/bits/math-finite.h: New file.
6405 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6406 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6407 * math/e_acoshl.c: Add __*_finite alias.
6408 * math/e_acosl.c: Likewise.
6409 * math/e_asinl.c: Likewise.
6410 * math/e_atan2l.c: Likewise.
6411 * math/e_atanhl.c: Likewise.
6412 * math/e_coshl.c: Likewise.
6413 * math/e_exp10.c: Likewise.
6414 * math/e_exp10f.c: Likewise.
6415 * math/e_exp10l.c: Likewise.
6416 * math/e_exp2l.c: Likewise.
6417 * math/e_fmodl.c: Likewise.
6418 * math/e_gammal_r.c: Likewise.
6419 * math/e_hypotl.c: Likewise.
6420 * math/e_j0l.c: Likewise.
6421 * math/e_j1l.c: Likewise.
6422 * math/e_jnl.c: Likewise.
6423 * math/e_lgammal_r.c: Likewise.
6424 * math/e_log10l.c: Likewise.
6425 * math/e_log2l.c: Likewise.
6426 * math/e_logl.c: Likewise.
6427 * math/e_powl.c: Likewise.
6428 * math/e_sinhl.c: Likewise.
6429 * math/e_sqrtl.c: Likewise.
6430 * math/e_scalb.c: Completely rewritten and optimized.
6431 * math/e_scalbf.c: Likewise.
6432 * math/e_scalbl.c: Likewise.
6433 * math/w_acos.c: Likewise.
6434 * math/w_acosf.c: Likewise.
6435 * math/w_acosl.c: Likewise.
6436 * math/w_acosh.c: Likewise.
6437 * math/w_acoshf.c: Likewise.
6438 * math/w_acoshl.c: Likewise.
6439 * math/w_asin.c: Likewise.
6440 * math/w_asinf.c: Likewise.
6441 * math/w_asinl.c: Likewise.
6442 * math/w_atan2.c: Likewise.
6443 * math/w_atan2f.c: Likewise.
6444 * math/w_atan2l.c: Likewise.
6445 * math/w_atanh.c: Likewise.
6446 * math/w_atanhf.c: Likewise.
6447 * math/w_atanhl.c: Likewise.
6448 * math/w_exp10.c: Likewise.
6449 * math/w_exp10f.c: Likewise.
6450 * math/w_exp10l.c: Likewise.
6451 * math/w_fmod.c: Likewise.
6452 * math/w_fmodf.c: Likewise.
6453 * math/w_fmodl.c: Likewise.
6454 * math/w_j0.c: Likewise.
6455 * math/w_j0f.c: Likewise.
6456 * math/w_j0l.c: Likewise.
6457 * math/w_j1.c: Likewise.
6458 * math/w_j1f.c: Likewise.
6459 * math/w_j1l.c: Likewise.
6460 * math/w_jn.c: Likewise.
6461 * math/w_jnf.c: Likewise.
6462 * math/w_log.c: Likewise.
6463 * math/w_logf.c: Likewise.
6464 * math/w_logl.c: Likewise.
6465 * math/w_log10.c: Likewise.
6466 * math/w_log10f.c: Likewise.
6467 * math/w_log10l.c: Likewise.
6468 * math/w_log2.c: Likewise.
6469 * math/w_log2f.c: Likewise.
6470 * math/w_log2l.c: Likewise.
6471 * math/w_pow.c: Likewise.
6472 * math/w_powf.c: Likewise.
6473 * math/w_powl.c: Likewise.
6474 * math/w_remainder.c: Likewise.
6475 * math/w_remainderf.c: Likewise.
6476 * math/w_remainderl.c: Likewise.
6477 * math/w_scalb.c: Likewise.
6478 * math/w_scalbf.c: Likewise.
6479 * math/w_scalbl.c: Likewise.
6480 * math/w_sqrt.c: Likewise.
6481 * math/w_sqrtf.c: Likewise.
6482 * math/w_sqrtl.c: Likewise.
6483 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6484 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
6485 used.
6486 * math/math_private.h: Declare __kernel_standard_f.
6487 * math/w_cosh.c: Remove cruft and optimize a bit.
6488 * math/w_coshf.c: Likewise.
6489 * math/w_coshl.c: Likewise.
6490 * math/w_exp2.c: Likewise.
6491 * math/w_exp2f.c: Likewise.
6492 * math/w_exp2l.c: Likewise.
6493 * math/w_hypot.c: Likewise.
6494 * math/w_hypotf.c: Likewise.
6495 * math/w_hypotl.c: Likewise.
6496 * math/w_lgamma.c: Likewise.
6497 * math/w_lgamma_r.c: Likewise.
6498 * math/w_lgammaf.c: Likewise.
6499 * math/w_lgammaf_r.c: Likewise.
6500 * math/w_lgammal.c: Likewise.
6501 * math/w_lgammal_r.c: Likewise.
6502 * math/w_sinh.c: Likewise.
6503 * math/w_sinhf.c: Likewise.
6504 * math/w_sinhl.c: Likewise.
6505 * math/w_tgamma.c: Likewise.
6506 * math/w_tgammaf.c: Likewise.
6507 * math/w_tgammal.c: Likewise.
6508 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6509 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6510 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6511 Minor optimizations. Pretty printing. Remove cruft.
6512 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6513 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6514 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6515 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6516 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6517 * sysdeps/i386/fpu/e_asin.S: Likewise.
6518 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6519 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6520 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6521 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6522 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6523 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6524 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6525 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6526 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6527 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6528 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6529 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6530 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6531 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6532 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6533 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6534 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6535 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6536 * sysdeps/i386/fpu/e_log.S: Likewise.
6537 * sysdeps/i386/fpu/e_log10.S: Likewise.
6538 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6539 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6540 * sysdeps/i386/fpu/e_log2.S: Likewise.
6541 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6542 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6543 * sysdeps/i386/fpu/e_logf.S: Likewise.
6544 * sysdeps/i386/fpu/e_logl.S: Likewise.
6545 * sysdeps/i386/fpu/e_pow.S: Likewise.
6546 * sysdeps/i386/fpu/e_powf.S: Likewise.
6547 * sysdeps/i386/fpu/e_powl.S: Likewise.
6548 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6549 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6550 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6551 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6552 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6553 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6554 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6555 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6556 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6557 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6558 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6559 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6560 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6561 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6562 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6563 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6564 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6565 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6566 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6567 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6568 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6569 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6570 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6571 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6572 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6573 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6574 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6575 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6576 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6577 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6578 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6579 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6580 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6581 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6582 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6583 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6584 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6585 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6586 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6587 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6588 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6589 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6590 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6591 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6592 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6593 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6594 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6595 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6596 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6597 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6598 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6599 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6600 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6601 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6602 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6603 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6604 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6605 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6606 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6607 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6608 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6609 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6610 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6611 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6612 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6613 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6614 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6615 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6616 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6617 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6618 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6619 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6620 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6621 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6622 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6623 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6624 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6625 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6626 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6627 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6628 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6629 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6630 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6631 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6632 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6633 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6634 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6635 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6636 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6637 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6638 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6639 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6640 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6641 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6642 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6643 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6644 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6645 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6646 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6647 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6648 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6649 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6650 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6651 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6652 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6653 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6654 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6655 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6656 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6657 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6658 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6659 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6660 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6661 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6662 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6663 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6664 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6665 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6666 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6667 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6668 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6669 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6670 (__isnanf): Likewise.
6671 (__isinf_ns): Likewise.
6672 (__isinf_nsf): Likewise.
6673 (__finite): Likewise.
6674 (__finitef): Likewise.
6675 (__ieee754_sqrt): Define as macro.
6676 (__ieee754_sqrtf): Define as macro.
6677 (__ieee754_sqrtl): Define as macro.
6678 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6679 inlined copy.
6680 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6681 __FINITE_MATH_ONLY__ consistent.
6682 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6683
12cc2fcd
AS
66842011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6685
a843a204
AS
6686 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6687 of rawmemchr.
6688
12cc2fcd
AS
6689 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6690
c853acd5
UD
66912011-10-09 Ulrich Drepper <drepper@gmail.com>
6692
6693 * po/ja.po: Update from translation team.
6694
c658d255
RM
66952011-10-08 Roland McGrath <roland@hack.frob.com>
6696
110946e4
RM
6697 * locale/programs/locarchive.c (prepare_address_space): New function.
6698 (create_archive, enlarge_archive, open_archive): Use it.
6699
50604220
RM
6700 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6701 inside [SHARED], where it is used.
6702
c658d255
RM
6703 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6704
6705 * nss/getent.c (netgroup_keys): Remove unused variable.
6706 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6707
6a621eb7
UD
67082011-10-08 Ulrich Drepper <drepper@gmail.com>
6709
7edb55ce
UD
6710 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6711 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6712 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6713 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6714 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6715 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6716 * math/Makefile (libm-calls): Add s_isinf_ns.
6717 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6718 * math/multc3.c: Likewise.
6719 * math/s_casin.c: Likewise.
6720 * math/s_casinf.c: Likewise.
6721 * math/s_casinl.c: Likewise.
6722 * math/s_ccos.c: Likewise.
6723 * math/s_ccosf.c: Likewise.
6724 * math/s_ccosl.c: Likewise.
6725 * math/s_ctan.c: Likewise.
6726 * math/s_ctanf.c: Likewise.
6727 * math/s_ctanh.c: Likewise.
6728 * math/s_ctanhf.c: Likewise.
6729 * math/s_ctanhl.c: Likewise.
6730 * math/s_ctanl.c: Likewise.
6731 * math/w_fmod.c: Likewise.
6732 * math/w_fmodf.c: Likewise.
6733 * math/w_fmodl.c: Likewise.
6734 * math/w_remainder.c: Likewise.
6735 * math/w_remainderf.c: Likewise.
6736 * math/w_remainderl.c: Likewise.
6737 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6738 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6739 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6740 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6741 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6742 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6743 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6744 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6745
187da0ae
UD
6746 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6747 of the number.
6748 * stdio-common/printf_fphex.c: Likewise.
6749 * stdio-common/printf_size.c: Likewise.
6750
9277c064
UD
6751 * math/e_exp10.c: Include math_private.h using <...> not "...".
6752 * math/e_exp10f.c: Likewise.
6753 * math/e_exp10l.c: Likewise.
6754 * math/e_exp2l.c: Likewise.
6755 * math/e_j0l.c: Likewise.
6756 * math/e_j1l.c: Likewise.
6757 * math/e_jnl.c: Likewise.
6758 * math/e_lgammal_r.c: Likewise.
6759 * math/e_rem_pio2l.c: Likewise.
6760 * math/e_scalb.c: Likewise.
6761 * math/e_scalbf.c: Likewise.
6762 * math/e_scalbl.c: Likewise.
6763 * math/k_cosl.c: Likewise.
6764 * math/k_sinl.c: Likewise.
6765 * math/k_tanl.c: Likewise.
6766 * math/s_cacoshf.c: Likewise.
6767 * math/s_catan.c: Likewise.
6768 * math/s_catanf.c: Likewise.
6769 * math/s_catanh.c: Likewise.
6770 * math/s_catanhf.c: Likewise.
6771 * math/s_catanhl.c: Likewise.
6772 * math/s_catanl.c: Likewise.
6773 * math/s_ccosh.c: Likewise.
6774 * math/s_ccoshf.c: Likewise.
6775 * math/s_ccoshl.c: Likewise.
6776 * math/s_cexp.c: Likewise.
6777 * math/s_cexpf.c: Likewise.
6778 * math/s_cexpl.c: Likewise.
6779 * math/s_clog.c: Likewise.
6780 * math/s_clog10.c: Likewise.
6781 * math/s_clog10f.c: Likewise.
6782 * math/s_clog10l.c: Likewise.
6783 * math/s_clogf.c: Likewise.
6784 * math/s_clogl.c: Likewise.
6785 * math/s_csin.c: Likewise.
6786 * math/s_csinf.c: Likewise.
6787 * math/s_csinh.c: Likewise.
6788 * math/s_csinhf.c: Likewise.
6789 * math/s_csinhl.c: Likewise.
6790 * math/s_csinl.c: Likewise.
6791 * math/s_csqrt.c: Likewise.
6792 * math/s_csqrtf.c: Likewise.
6793 * math/s_csqrtl.c: Likewise.
6794 * math/s_ctan.c: Likewise.
6795 * math/s_ctanf.c: Likewise.
6796 * math/s_ctanh.c: Likewise.
6797 * math/s_ctanhf.c: Likewise.
6798 * math/s_ctanhl.c: Likewise.
6799 * math/s_ctanl.c: Likewise.
6800 * math/s_ldexp.c: Likewise.
6801 * math/s_ldexpf.c: Likewise.
6802 * math/s_ldexpl.c: Likewise.
6803 * math/s_significand.c: Likewise.
6804 * math/s_significandf.c: Likewise.
6805 * math/s_significandl.c: Likewise.
6806 * math/w_acos.c: Likewise.
6807 * math/w_acosf.c: Likewise.
6808 * math/w_acosh.c: Likewise.
6809 * math/w_acoshf.c: Likewise.
6810 * math/w_acoshl.c: Likewise.
6811 * math/w_acosl.c: Likewise.
6812 * math/w_asin.c: Likewise.
6813 * math/w_asinf.c: Likewise.
6814 * math/w_asinl.c: Likewise.
6815 * math/w_atan2.c: Likewise.
6816 * math/w_atan2f.c: Likewise.
6817 * math/w_atan2l.c: Likewise.
6818 * math/w_atanh.c: Likewise.
6819 * math/w_atanhf.c: Likewise.
6820 * math/w_atanhl.c: Likewise.
6821 * math/w_cosh.c: Likewise.
6822 * math/w_coshf.c: Likewise.
6823 * math/w_coshl.c: Likewise.
6824 * math/w_dremf.c: Likewise.
6825 * math/w_exp10.c: Likewise.
6826 * math/w_exp10f.c: Likewise.
6827 * math/w_exp10l.c: Likewise.
6828 * math/w_exp2.c: Likewise.
6829 * math/w_exp2f.c: Likewise.
6830 * math/w_fmod.c: Likewise.
6831 * math/w_fmodf.c: Likewise.
6832 * math/w_fmodl.c: Likewise.
6833 * math/w_hypot.c: Likewise.
6834 * math/w_hypotf.c: Likewise.
6835 * math/w_hypotl.c: Likewise.
6836 * math/w_j0.c: Likewise.
6837 * math/w_j0f.c: Likewise.
6838 * math/w_j0l.c: Likewise.
6839 * math/w_j1.c: Likewise.
6840 * math/w_j1f.c: Likewise.
6841 * math/w_j1l.c: Likewise.
6842 * math/w_jn.c: Likewise.
6843 * math/w_jnf.c: Likewise.
6844 * math/w_jnl.c: Likewise.
6845 * math/w_lgamma.c: Likewise.
6846 * math/w_lgamma_r.c: Likewise.
6847 * math/w_lgammaf.c: Likewise.
6848 * math/w_lgammaf_r.c: Likewise.
6849 * math/w_lgammal.c: Likewise.
6850 * math/w_lgammal_r.c: Likewise.
6851 * math/w_log.c: Likewise.
6852 * math/w_log10.c: Likewise.
6853 * math/w_log10f.c: Likewise.
6854 * math/w_log10l.c: Likewise.
6855 * math/w_log2.c: Likewise.
6856 * math/w_log2f.c: Likewise.
6857 * math/w_log2l.c: Likewise.
6858 * math/w_logf.c: Likewise.
6859 * math/w_logl.c: Likewise.
6860 * math/w_pow.c: Likewise.
6861 * math/w_powf.c: Likewise.
6862 * math/w_powl.c: Likewise.
6863 * math/w_remainder.c: Likewise.
6864 * math/w_remainderf.c: Likewise.
6865 * math/w_remainderl.c: Likewise.
6866 * math/w_scalb.c: Likewise.
6867 * math/w_scalbf.c: Likewise.
6868 * math/w_scalbl.c: Likewise.
6869 * math/w_sinh.c: Likewise.
6870 * math/w_sinhf.c: Likewise.
6871 * math/w_sinhl.c: Likewise.
6872 * math/w_sqrt.c: Likewise.
6873 * math/w_sqrtf.c: Likewise.
6874 * math/w_sqrtl.c: Likewise.
6875 * math/w_tgamma.c: Likewise.
6876 * math/w_tgammaf.c: Likewise.
6877 * math/w_tgammal.c: Likewise.
6878
6a621eb7
UD
6879 * po/ja.po: Update from translation team.
6880
bf582445
AJ
68812011-09-29 Andreas Jaeger <aj@suse.de>
6882
f9efbf3a
AJ
6883 [BZ #13179]
6884 * sunrpc/netname.c (netname2host): Fix logic.
6885
bf582445
AJ
6886 [BZ #6779]
6887 [BZ #6783]
6888 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6889 correctly.
6890 * math/w_remainder.c (__remainder): Likewise.
6891 * math/w_remainderf.c (__remainderf): Likewise.
6892 * math/libm-test.inc (remainder_test): Add test cases.
6893
48693bea
AK
68942011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6895
6896 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6897 sdiv_qrnnd.
6898
42622229
LD
68992011-10-07 Ulrich Drepper <drepper@gmail.com>
6900
6901 * string/test-memcmp.c: Avoid unncessary #defines.
6902 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6903
093ecf92
LD
69042011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6905
6906 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6907 Use new sse2 version for core i3 - i7 as it's faster
6908 than sse42 version.
6909 (bit_Prefer_PMINUB_for_stringop): New.
6910 * sysdeps/x86_64/rawmemchr.S: Update.
6911 Replace with faster SSE2 version.
6912 * sysdeps/x86_64/memrchr.S: New file.
6913 * sysdeps/x86_64/memchr.S: Update.
6914 Replace with faster SSE2 version.
6915
fde56e5c
MP
69162011-09-12 Marek Polacek <mpolacek@redhat.com>
6917
6918 * elf/dl-load.c (lose): Add cast to avoid warning.
6919
21fd49a9
UD
69202011-10-07 Ulrich Drepper <drepper@gmail.com>
6921
5a06e643
UD
6922 * po/ca.po: Update from translation team.
6923
684ae515
UD
6924 * inet/getnetgrent_r.c: Hook up nscd.
6925 * nscd/Makefile (routines): Add nscd_netgroup.
6926 (nscd-modules): Add netgroupcache.
6927 (CFLAGS-netgroupcache.c): Define.
6928 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6929 (cache_search): Add const to second parameter.
6930 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6931 INNETGR.
6932 (dbs): Add netgrdb entry.
6933 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6934 (verify_persistent_db): Handle netgrdb.
6935 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6936 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6937 GETFDNETGR.
6938 (netgroup_response_header): Define.
6939 (innetgroup_response_header): Define.
6940 (datahead): Add netgroup_response_header and innetgroup_response_header
6941 elements.
6942 * nscd/nscd.conf: Add entries for netgroup cache.
6943 * nscd/nscd.h (dbtype): Add netgrdb.
6944 (_PATH_NSCD_NETGROUP_DB): Define.
6945 (netgroup_iov_disabled): Declare.
6946 (xmalloc, xcalloc, xrealloc): Move declarations here.
6947 (cache_search): Adjust prototype.
6948 Add netgroup-related prototypes.
6949 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6950 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6951 (__nscd_innetgr): Declare.
6952 * nscd/selinux.c (perms): Use access_vector_t as element type and
6953 add netgroup-related initializers.
6954 * nscd/netgroupcache.c: New file.
6955 * nscd/nscd_netgroup.c: New file.
6956 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6957 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6958 For four parameters use innetgr.
6959 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6960 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6961 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6962 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6963
21fd49a9
UD
6964 * nscd/connections.c (register_traced_file): Don't register file
6965 for disabled databases.
6966
054c0457
UD
69672011-10-06 Ulrich Drepper <drepper@gmail.com>
6968
32b63198
UD
6969 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6970
054c0457
UD
6971 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6972 from tree and freeing node.
6973
64031225
JO
69742011-09-25 Jiri Olsa <jolsa@redhat.com>
6975
6976 * nss/nsswitch.c (__nss_database_lookup): Handle
6977 nss_parse_service_list out of memory case.
6978
0490345c
JO
69792011-09-15 Jiri Olsa <jolsa@redhat.com>
6980
6981 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6982 out of memory case.
6983
3a62d00d
AS
69842011-10-04 Andreas Schwab <schwab@redhat.com>
6985
6986 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6987 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6988 pass it down.
6989 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6990 elf_machine_rela, elf_machine_lazy_rel.
6991 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6992 (ELF_DYNAMIC_DO_REL): Likewise.
6993 (ELF_DYNAMIC_DO_RELA): Likewise.
6994 (ELF_DYNAMIC_RELOCATE): Likewise.
6995 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6996 to ELF_DYNAMIC_DO_REL.
6997 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6998 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6999 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
7000 elf_machine_rela.
7001 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
7002 skip_ifunc, don't call ifunc function if non-zero.
7003 (elf_machine_rela): Likewise.
7004 (elf_machine_lazy_rel): Likewise.
7005 (elf_machine_lazy_rela): Likewise.
7006 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
7007 (elf_machine_lazy_rel): Likewise.
7008 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
7009 Likewise.
7010 (elf_machine_lazy_rel): Likewise.
7011 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7012 Likewise.
7013 (elf_machine_lazy_rel): Likewise.
7014 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
7015 (elf_machine_lazy_rel): Likewise.
7016 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
7017 (elf_machine_lazy_rel): Likewise.
7018 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7019 (elf_machine_lazy_rel): Likewise.
7020 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7021 (elf_machine_lazy_rel): Likewise.
7022 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7023 (elf_machine_lazy_rel): Likewise.
7024 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7025 (elf_machine_lazy_rel): Likewise.
7026
68577918
UD
70272011-09-28 Ulrich Drepper <drepper@gmail.com>
7028
7029 * nss/nss_files/files-init.c (_nss_files_init): Use static
7030 initialization for all the *_traced_file variables.
7031
68822d74
AS
70322011-09-28 Andreas Schwab <schwab@redhat.com>
7033
7034 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7035
2056100b
RM
70362011-09-27 Roland McGrath <roland@hack.frob.com>
7037
7038 [BZ #13226]
7039 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
7040
32c76b63
AS
70412011-09-27 Andreas Schwab <schwab@redhat.com>
7042
7043 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7044 Reread the line before reparsing it.
7045
bf972c9d
AS
70462011-09-26 Andreas Schwab <schwab@redhat.com>
7047
7048 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
7049
e057a1b5
JM
70502011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
7051 Maxim Kuvyrkov <maxim@codesourcery.com>
7052 Joseph Myers <joseph@codesourcery.com>
7053
7054 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
7055 if needed for __stack_chk_guard.
7056
bc7e1c36
RM
70572011-09-19 Roland McGrath <roland@hack.frob.com>
7058
ecb1482f
RM
7059 * sysdeps/posix/spawni.c (script_execute): Always define it.
7060 It will be optimized away if unused.
7061 (maybe_script_execute): New function.
7062 (__spawni): Call it.
7063
bc7e1c36
RM
7064 * Makerules: Don't include tls.make.
7065 (config-tls): Always set to thread.
7066 * tls.make.c: File removed.
7067
1c3b002b
MF
70682011-09-19 Mike Frysinger <vapier@gentoo.org>
7069
7070 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
7071 * config.make.in (CPPFLAGS-config): New substituted variable.
7072
2840865d
UD
70732011-09-15 Ulrich Drepper <drepper@gmail.com>
7074
88738eb6
UD
7075 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
7076
cbf645a6 7077 [BZ #13192]
2840865d
UD
7078 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
7079 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
7080
b402e91a
RM
70812011-09-15 Roland McGrath <roland@hack.frob.com>
7082
7083 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
7084 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
7085 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7086 (CALL_FAIL): Likewise.
7087 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
7088 (CALL_FAIL): Macro removed.
7089 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
7090
4c1a1f71
UD
70912011-09-15 Ulrich Drepper <drepper@gmail.com>
7092
7093 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
7094 for __FINITE_MATH_ONLY__ == 1.
7095
edc121be
AS
70962011-09-15 Andreas Schwab <schwab@redhat.com>
7097
7098 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
7099 __ieee754_sqrt instead of sqrt.
7100 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
7101 __ieee754_sqrtf instead of sqrtf.
7102 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7103 __floorf instead of floorf.
7104 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
7105 __floorf, __truncf instead of floorf, truncf.
7106
cd205654
UD
71072011-09-14 Ulrich Drepper <drepper@gmail.com>
7108
ee4d0315
UD
7109 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
7110
cd205654
UD
7111 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
7112 __extern_always_inline.
7113 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
7114 32-bit.
7115
48b67d71
AS
71162011-09-14 Andreas Schwab <schwab@redhat.com>
7117
7118 * elf/rtld.c (dl_main): Also relocate in dependency order when
7119 doing symbol dependency testing.
7120
1ae12c75
AS
71212011-09-13 Andreas Schwab <schwab@linux-m68k.org>
7122
7123 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7124 Always define `refsym'.
7125
995a80df
AS
71262011-09-13 Andreas Schwab <schwab@redhat.com>
7127
e529793b
AS
7128 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
7129 (__FD_ELT): Renamed from __FDELT.
7130 * misc/bits/select2.h (__FD_ELT): Likewise.
7131 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
7132 __FD_MASK instead of __FDELT, __FDMASK.
7133 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7134 Likewise.
7135 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7136 Likewise.
7137
52d4fef8
AS
7138 * elf/Makefile (gen-ldd): Fix pattern.
7139
995a80df
AS
7140 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
7141 (init_tls): Likewise.
7142
8682f8b0
UD
71432011-09-12 Ulrich Drepper <drepper@gmail.com>
7144
7145 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7146
de82006d
AS
71472011-09-12 Andreas Schwab <schwab@redhat.com>
7148
a7c8e6a1
AS
7149 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7150 `struct cmsghdr *' instead of `void *'.
7151 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7152 Likewise.
7153
0f31fe77
AS
71542011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7155
7156 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7157 if non-absolute.
7158 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7159 ldd_rewrite_script.
0f31fe77 7160
32b4c839
UD
71612011-09-11 Ulrich Drepper <drepper@gmail.com>
7162
83cd1420
UD
7163 * configure.in: Remove --with-tls option.
7164 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7165 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7166 out in case it is missing.
7167 * sysdeps/ia64/elf/configure.in: Likewise.
7168 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7169 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7170 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7171 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7172 * sysdeps/sh/elf/configure.in: Likewise.
7173 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7174 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7175 * sysdeps/x86_64/elf/configure.in: Likewise.
7176 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7177 * sysdeps/mach/hurd/tls.h: Likewise.
7178
633f745d
UD
7179 [BZ #13067]
7180 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7181
f318beb8
UD
7182 [BZ #13090]
7183 * configure.in: Fix use of AC_INIT.
7184
32b4c839
UD
7185 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7186
3ce1f295
UD
71872011-09-10 Ulrich Drepper <drepper@gmail.com>
7188
bb016596
UD
7189 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7190 __set_errno.
8e58439c
UD
7191 * malloc/hooks.c: Likewise.
7192
aebae053 7193 [BZ #11929]
02d46fc4
UD
7194 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
7195 variables statically.
7196 (narenas): Initialize.
7197 (list_lock): Initialize.
bb016596
UD
7198 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
7199 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
7200 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7201 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
7202 Add initializers to main_arena and mp_.
7203 (malloc_state): Remove pagesize member. Change all users to use
7204 GLRO(dl_pagesize).
7205
7206 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7207 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
7208 is always initialized.
7209
22a89187
UD
7210 * malloc/malloc.c: Removed unused configurations and dead code.
7211 * malloc/arena.c: Likewise.
7212 * malloc/hooks.c: Likewise.
02d46fc4 7213 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 7214
d063d164
UD
7215 * include/tls.h: Removed. USE___THREAD must always be defined.
7216 * bits/libc-tsd.h: Don't handle !USE___THREAD.
7217 * elf/dl-libc.c: Likewise.
7218 * elf/dl-tsd.c: Likewise.
7219 * include/errno.h: Likewise.
7220 * include/netdb.h: Likewise.
7221 * include/resolv.h: Likewise.
7222 * inet/herrno-loc.c: Likewise.
7223 * inet/herrno.c: Likewise.
7224 * malloc/arena.c: Likewise.
7225 * malloc/hooks.c: Likewise.
7226 * malloc/malloc.c: Likewise.
7227 * resolv/res-state.c: Likewise.
7228 * resolv/res_libc.c: Likewise.
7229 * sysdeps/i386/dl-machine.h: Likewise.
7230 * sysdeps/ia64/dl-machine.h: Likewise.
7231 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7232 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7233 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7234 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7235 * sysdeps/sh/dl-machine.h: Likewise.
7236 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7237 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7238 * sysdeps/unix/i386/sysdep.S: Likewise.
7239 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7240 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7241 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7242 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7243 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7244 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7245 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7246 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7247 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7248 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7249 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7250 * sysdeps/x86_64/dl-machine.h: Likewise.
7251 * tls.make.c: Likewise.
7252
3ce1f295
UD
7253 * configure.in: Remove --with-__thread option. Make tests for
7254 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7255 tls_model attribute fail if no support is available. Remove
7256 USE_IN_LIBIO.
7257 * Makeconfig: Adjust for dropped configure option. All features are
7258 now mandatory.
7259 * Makerules: Likewise.
7260 * Versions.def: Likewise.
7261 * argp/argp-fmtstream.c: Likewise.
7262 * argp/argp-fmtstream.h: Likewise.
7263 * argp/argp-help.c: Likewise.
7264 * assert/assert.c: Likewise.
7265 * config.h.in: Likewise.
7266 * config.make.in: Likewise.
7267 * configure: Likewise.
7268 * configure.in: Likewise.
7269 * csu/Versions: Likewise.
7270 * csu/init.c: Likewise.
7271 * elf/tst-audit2.c: Likewise.
7272 * elf/tst-tls10.c: Likewise.
7273 * elf/tst-tls10.h: Likewise.
7274 * elf/tst-tls11.c: Likewise.
7275 * elf/tst-tls12.c: Likewise.
7276 * elf/tst-tls14.c: Likewise.
7277 * elf/tst-tlsmod11.c: Likewise.
7278 * elf/tst-tlsmod12.c: Likewise.
7279 * elf/tst-tlsmod13.c: Likewise.
7280 * elf/tst-tlsmod13a.c: Likewise.
7281 * elf/tst-tlsmod14a.c: Likewise.
7282 * elf/tst-tlsmod15b.c: Likewise.
7283 * elf/tst-tlsmod16a.c: Likewise.
7284 * elf/tst-tlsmod16b.c: Likewise.
7285 * elf/tst-tlsmod7.c: Likewise.
7286 * elf/tst-tlsmod8.c: Likewise.
7287 * elf/tst-tlsmod9.c: Likewise.
7288 * gmon/gmon.c: Likewise.
7289 * grp/fgetgrent_r.c: Likewise.
7290 * grp/putgrent.c: Likewise.
7291 * hurd/fopenport.c: Likewise.
7292 * include/libc-symbols.h: Likewise.
7293 * include/tls.h: Likewise.
7294 * intl/gettextP.h: Likewise.
7295 * intl/loadinfo.h: Likewise.
7296 * locale/global-locale.c: Likewise.
7297 * locale/localeinfo.h: Likewise.
7298 * mach/devstream.c: Likewise.
7299 * malloc/arena.c: Likewise.
7300 * malloc/set-freeres.c: Likewise.
7301 * misc/err.c: Likewise.
7302 * misc/getttyent.c: Likewise.
7303 * misc/mntent_r.c: Likewise.
7304 * posix/getopt.c: Likewise.
7305 * posix/wordexp.c: Likewise.
7306 * pwd/fgetpwent_r.c: Likewise.
7307 * resolv/Versions: Likewise.
7308 * resolv/res_hconf.c: Likewise.
7309 * shadow/fgetspent_r.c: Likewise.
7310 * shadow/putspent.c: Likewise.
7311 * stdio-common/printf_fphex.c: Likewise.
7312 * stdio-common/tmpfile.c: Likewise.
7313 * stdlib/abort.c: Likewise.
7314 * stdlib/fmtmsg.c: Likewise.
7315 * sunrpc/auth_unix.c: Likewise.
7316 * sunrpc/clnt_perr.c: Likewise.
7317 * sunrpc/clnt_tcp.c: Likewise.
7318 * sunrpc/clnt_udp.c: Likewise.
7319 * sunrpc/clnt_unix.c: Likewise.
7320 * sunrpc/openchild.c: Likewise.
7321 * sunrpc/svc_simple.c: Likewise.
7322 * sunrpc/svc_tcp.c: Likewise.
7323 * sunrpc/svc_udp.c: Likewise.
7324 * sunrpc/svc_unix.c: Likewise.
7325 * sunrpc/xdr.c: Likewise.
7326 * sunrpc/xdr_array.c: Likewise.
7327 * sunrpc/xdr_rec.c: Likewise.
7328 * sunrpc/xdr_ref.c: Likewise.
7329 * sunrpc/xdr_stdio.c: Likewise.
7330
1248c1c4
PB
73312011-09-09 Ulrich Drepper <drepper@gmail.com>
7332
7333 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7334
73352011-07-03 Andreas Jaeger <aj@suse.de>
7336
7337 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7338 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7339 regenerate with gen-libm-tests.pl.
7340
73412010-05-12 Petr Baudis <pasky@suse.cz>
7342
7343 [BZ #11589]
7344 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7345 around j0() zero points by switching to j1().
7346 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7347 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7348 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7349 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7350
f22e1074
UD
73512011-09-09 Ulrich Drepper <drepper@gmail.com>
7352
f19009c1
UD
7353 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7354 instead of 0.
7355 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7356 instead of 0. .
7357 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7358 Patch in part by Pavel Roskin <proski@gnu.org>.
7359
3f8cc204
UD
7360 [BZ #13138]
7361 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7362 realloc.
7363 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
7364 Free memory block if necessary.
7365
f22e1074
UD
7366 [BZ #12847]
7367 * libio/genops.c (INTDEF): For string streams the _lock pointer can
7368 be NULL. Don't lock in this case.
7369
0a2349f9
RM
73702011-09-09 Roland McGrath <roland@hack.frob.com>
7371
7372 * elf/elf.h (ELFOSABI_GNU): New macro.
7373 (ELFOSABI_LINUX): Define to that.
7374
f3cdd467
DZ
73752011-07-29 Denis Zaitceff <zaitceff@gmail.com>
7376
7377 * string/strncat.c (strncat): Undef the symbol in case it has been
7378 defined in bits/string.h.
7379
74718d13
UD
73802011-09-09 Ulrich Drepper <drepper@gmail.com>
7381
633e9e0f
UD
7382 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7383
0a2349f9 7384 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
7385 link map.
7386
f9924780
AJ
73872011-08-17 Andreas Jaeger <aj@suse.de>
7388
7389 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7390
7f5517aa
PP
73912011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7392 Ian Lance Taylor <iant@google.com>
7393
7394 * math/libm-test.inc (lround_test): New testcase.
7395 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7396
762011fe
UD
73972011-09-08 Ulrich Drepper <drepper@gmail.com>
7398
92963737
UD
7399 * Makefile: Remove support for automatic cvs check-ins.
7400 * Makerules: Likewise.
7401 * config.make.in: Likewise.
7402 * configure.in: Likewise.
7403 * intl/Makefile: Likewise.
7404 * locale/Makefile: Likewise.
7405 * po/Makefile: Likewise.
7406 * posix/Makefile: Likewise.
7407 * sysdeps/gnu/Makefile: Likewise.
7408 * sysdeps/mach/hurd/Makefile: Likewise.
7409 * sysdeps/sparc/sparc32/Makefile: Likewise.
7410
b0727fd8
JS
7411 [BZ #13118]
7412 * posix/Makefile (bug-regex32-ENV): Define.
7413 Patch by John Stanley <jpsinthemix@verizon.net>.
7414
a0f33f99
UD
7415 * misc/Makefile (headers): Add bits/select2.h.
7416 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7417 * misc/bits/select2.h: New file.
7418 * include/bits/select2.h: New file.
7419 * debug/Makefile (routines): Add fdelt_chk.
7420 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7421 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7422 FD_ISSET.
7423 * debug/fdelt_chk.c: New file.
7424
762011fe
UD
7425 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
7426 * wcsmbs/test-wmemcmp.c: Likewise.
7427 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 7428 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
7429
74302011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7431
7432 * string/Makefile (strop-tests): Add memcmp.
7433 * string/test-wmemcmp.c: New file.
7434 * string/test-memcmp.c: Add wmemcmp support.
7435
7f513ec8
RM
74362011-09-08 Roland McGrath <roland@hack.frob.com>
7437
0442afb4
RM
7438 [BZ #13153]
7439 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7440 2011-07-19 change.
7441
7f513ec8
RM
7442 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7443 garbage value in a __mach_port_mod_refs call in the cases of the
7444 task-self and thread-self ports.
7445
a12b2239
ST
74462011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7447
7448 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7449
610f9ab4
AS
74502011-09-08 Andreas Schwab <schwab@redhat.com>
7451
7f513ec8 7452 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 7453
48882a1a
LD
74542011-09-07 Ulrich Drepper <drepper@gmail.com>
7455
b49865be
UD
7456 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7457
fdc86bc9
UD
7458 * elf/dl-libc.c (dlerror_run): Pass back error code from
7459 dl_catch_error.
7460
c966526a
UD
7461 [BZ #13123]
7462 * elf/dl-load.c (lose): Free l_origin if it is valid.
7463
48882a1a
LD
7464 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7465 names.
7466 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7467 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7468 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7469 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7470 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7471 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7472
77a2a8b4
AZ
74732011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7474
7475 * sysdeps/powerpc/fpu/e_hypot.c: New file.
7476 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7477 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7478 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7479 * sysdeps/powerpc/fpu/k_cosf.c: New file.
7480 * sysdeps/powerpc/fpu/k_sinf.c: New file.
7481 * sysdeps/powerpc/fpu/s_cosf.c: New file.
7482 * sysdeps/powerpc/fpu/s_sinf.c: New file.
7483 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7484 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7485
24f579d8
AM
74862011-08-15 Alan Modra <amodra@gmail.com>
7487
7488 [BZ #13092]
7489 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7490 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7491 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
7492 ppc_mcount to static-only-routines.
7493 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7494 __mcount_internal.
7495 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7496 __mcount_internal with usual JUMPTARGET. Remove useless nop.
7497
3d4837df
UD
74982011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7499
7500 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7501 for finite and infinity parameters.
7502
22700377
WS
75032011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7504
7505 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7506 and add nop instructions for throughput optimization.
7507 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7508
5025581e
WS
75092011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7510
7511 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7512 aligned copy for power7 with vector-scalar instructions.
7513 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7514
08a300c9
L
75152011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7516
7517 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7518 AVX check.
7519
59178ef9
AS
75202011-09-07 Andreas Schwab <schwab@redhat.com>
7521
7522 [BZ #13144]
7523 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7524 last change.
7525
e38ba7ab
UD
75262011-09-07 Ulrich Drepper <drepper@gmail.com>
7527
7528 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7529 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7530 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7531 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7532 clock_gettime.
7533
d53a73ac
UD
75342011-09-06 Ulrich Drepper <drepper@gmail.com>
7535
fc8bffcc
UD
7536 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7537 Forgot to demangle the pointer.
7538
ceaa0c5d
UD
7539 * sysdeps/i386/sysdep.h: Define atom_text_section.
7540 * sysdeps/x86_64/sysdep.h: Likewise.
7541 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7542 section with atom_text_section.
7543 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7544 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7545 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7546 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7547 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7548
a77d3c17
UD
7549 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7550 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7551 already be defined. Change to take two parameters and don't assign
7552 result to variable. Adjust all users.
7553 Define INTERNAL_GETTIME if not already defined.
7554 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7555 call.
7556 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7557 HAVE_CLOCK_GETTIME_VSYSCALL.
7558 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7559
d53a73ac
UD
7560 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7561 gettimeofday vsyscall, just use time.
7562
a8f84144
AS
75632011-09-06 Andreas Schwab <schwab@redhat.com>
7564
7565 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7566 <errno.h>.
7567
ef606249
UD
75682011-09-06 Ulrich Drepper <drepper@gmail.com>
7569
7570 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7571 syscall on x86-64.
7572 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7573 syscall.
7574 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7575 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7576 syscall if possible.
7577
6585cb60
UD
75782011-09-05 Ulrich Drepper <drepper@gmail.com>
7579
7580 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7581 e_ident. Don't pass to find_mapsXX.
7582 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7583
a5f524e4
LD
75842011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7585
7586 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7587 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7588 * sysdeps/x86_64/multiarch/strchr.S: Update.
7589 Check bit_slow_BSF bit.
7590 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7591 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7592 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7593
554881ef
UD
75942011-09-05 Ulrich Drepper <drepper@gmail.com>
7595
d96de963
UD
7596 [BZ #13134]
7597 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7598 before glibc 2.15.
7599 (tryshell): Define.
7600 (__spawni): Change last parameter to be flag. Test
7601 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7602 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7603 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7604 * posix/spawni.c: Likewise.
7605 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7606 * posix/spawnp.c: Likewise. Change normal version to use
7607 SPAWN_XFLAGS_USE_PATH.
7608 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7609 SPAWN_XFLAGS_TRY_SHELL.
7610
d48e5868
UD
7611 [BZ #13150]
7612 * posix/glob.h: Remove gcc 1.x support.
7613
554881ef
UD
7614 [BZ #13068]
7615 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7616
693fb948
LD
76172011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7618
7619 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7620 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7621 strrchr-sse2-bsf
7622 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7623 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7624 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7625 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7626 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7627 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7628
1b48c537
UD
76292011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7630
49d42c37
UD
7631 * sysdeps/x86_64/wcscmp.S: New file.
7632
1b48c537
UD
7633 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7634 wcscmp-c wcscmp-sse2
7635 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7636 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7637 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7638 * wcsmbs/wcscmp.c: Allow renaming.
7639
15c95c5d
DM
76402011-09-05 David S. Miller <davem@davemloft.net>
7641
7642 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7643 stack slot, rather than the struct return pointer slot.
7644 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7645 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7646 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7647 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7648
2f0ad8f3
UD
76492011-09-05 Ulrich Drepper <drepper@gmail.com>
7650
d88ae418
UD
7651 * po/ja.po: Update from translation team.
7652
2f0ad8f3
UD
7653 [BZ #13144]
7654 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7655 kernel in 64-bit binaries.
7656
5f4318d1
DM
76572011-09-01 David S. Miller <davem@davemloft.net>
7658
7659 * elf/elf.h (HWCAP_SPARC_*): Move to..
7660 * sysdeps/sparc/sysdep.h: this new file and add new values.
7661 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7662 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7663 _DL_HWCAP_COUNT to 24.
7664 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7665 entries.
7666 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7667 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7668 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7669 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7670 instead of magic constants.
7671 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7672
3ba57516
DM
76732011-08-31 David S. Miller <davem@davemloft.net>
7674
7675 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7676 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7677 Reimplement to do errno handling inline.
7678 (SYSCALL_ERROR_HANDLER): New macro.
7679 (__SYSCALL_STRING): Do not do errno handling in asm.
7680 (__CLONE_SYSCALL_STRING): Delete.
7681 (__INTERNAL_SYSCALL_STRING): Delete.
7682 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7683 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7684 (PSEUDO): Reimplement to do errno handling inline.
7685 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7686 (SYSCALL_ERROR_HANDLER): New macro.
7687 (__SYSCALL_STRING): Do not do errno handling in asm.
7688 (__CLONE_SYSCALL_STRING): Delete.
7689 (__INTERNAL_SYSCALL_STRING): Delete.
7690 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7691 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7692 i386.
7693 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7694 (inline_syscall*): Add 'err' argument.
7695 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7696 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7697 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7698 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7699
7700 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7701 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7702
2bc17433
AS
77032011-08-30 Andreas Schwab <schwab@redhat.com>
7704
7705 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7706
fbeb5f4d
JO
77072011-08-29 Jiri Olsa <jolsa@redhat.com>
7708
7709 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7710 directive.
7711
ad69cc26
DM
77122011-08-24 David S. Miller <davem@davemloft.net>
7713
7714 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7715
39dd69df
AS
77162011-08-24 Andreas Schwab <schwab@redhat.com>
7717
7718 * elf/Makefile: Add rules to build and run unload8 test.
7719 * elf/unload8.c: New file.
7720 * elf/unload8mod1.c: New file.
7721 * elf/unload8mod1x.c: New file.
7722 * elf/unload8mod2.c: New file.
7723 * elf/unload8mod3.c: New file.
7724
7725 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7726 it wasn't used.
7727
2c0b250a
DM
77282011-08-23 David S. Miller <davem@davemloft.net>
7729
7730 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7731 subtract stack bias.
7732 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7733 %sp not %fp in calculations.
7734 (_JMPBUF_UNWINDS_ADJ): Likewise.
7735
22044b48
DM
7736 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7737 (aio_suspend): Call it to force an exception region around the
7738 AIO_MISC_WAIT() invocation.
7739
2cae4995
AS
77402011-08-23 Andreas Schwab <schwab@redhat.com>
7741
7742 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7743 backslash.
7744
873a772e
AJ
77452011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7746
7747 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7748 protection macro.
7749 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7750 and <dl-machine.h>.
7751 (Elf64_FuncDesc): Remove.
7752
25ad0df1
DM
77532011-08-22 David S. Miller <davem@davemloft.net>
7754
7755 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7756 sigaltstack check, add missing cfi directives.
7757 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7758 missing cfi directives, and sigaltstack handling.
7759
e888bcbe
AS
77602011-08-16 Andreas Schwab <schwab@redhat.com>
7761
7762 [BZ #11724]
7763 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7764 object is seen twice.
7765 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7766
7767 * elf/Makefile (distribute): Add tst-initorder2.c.
7768 (tests): Add tst-initorder2.
7769 (modules-names): Add tst-initorder2a tst-initorder2b
7770 tst-initorder2c tst-initorder2d. Add rules to build them.
7771 ($(objpfx)tst-initorder2.out): New rule.
7772 * elf/tst-initorder2.c: New file.
7773 * elf/tst-initorder2.exp: New file.
7774
87162f46
AS
77752011-08-22 Andreas Schwab <schwab@redhat.com>
7776
70538b7f
AS
7777 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7778
f55ffe58
AS
7779 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7780 dependencies back to end of function.
7781
87162f46
AS
7782 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7783 $(elfobjdir)/ld.so.
7784
91b392a4
UD
77852011-08-21 Ulrich Drepper <drepper@gmail.com>
7786
7787 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7788 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7789 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7790 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7791 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7792 of __vdso_gettimeofday.
7793 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7794 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7795 attribute_hidden.
7796 (_libc_vdso_platform_setup): Remove initialization of
7797 __vdso_gettimeofday and __vdso_time.
7798
5c43483f
UD
77992011-08-20 Ulrich Drepper <drepper@gmail.com>
7800
775a77e7
UD
7801 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7802 and fgetc_unlocked.
7803 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7804 getc_unlocked.
89f447ed 7805
49c74ba9
UD
7806 * elf/dl-open.c (add_to_global): Report additions to the global scope
7807 for LD_DEBUG=scopes.
7808 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 7809 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 7810
5c43483f
UD
7811 [BZ #13114]
7812 * stdio-common/Makefile (tests): Add bug24.
7813 * stdio-common/bug24.c: New file.
7814
a101b025
AJ
78152011-08-19 Andreas Jaeger <aj@suse.de>
7816
7817 [BZ #13114]
7818 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7819 non-existant file when using close-on-exec mode.
7820
c88f1766
UD
78212011-08-20 Ulrich Drepper <drepper@gmail.com>
7822
0276a718
UD
7823 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7824 the very first instruction.
7825
c88f1766
UD
7826 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7827 the CFI state in the end.
7828 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7829 inclusion of dl-trampoline.h.
7830 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7831
51ccffa0
AS
78322011-08-19 Andreas Schwab <schwab@redhat.com>
7833
94d7165f
AS
7834 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7835 expectations for long double.
7836
51ccffa0
AS
7837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7838 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7839
fd708658 78402011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
7841
7842 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7843 artificual limit depends upon the system page size.
7844
44f0a71e
UD
78452011-08-17 Ulrich Drepper <drepper@gmail.com>
7846
7847 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7848 * resolv/Makefile: Define CFLAGS-libresolv.
7849
8de79a24
AS
78502011-08-17 Andreas Schwab <schwab@redhat.com>
7851
7852 * nss/makedb.c (compute_tables): Make variables used in nested
7853 function static.
7854
27724598
UD
78552011-08-17 Ulrich Drepper <drepper@gmail.com>
7856
c5305d88
UD
7857 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7858 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7859 if buffer was too small.
7860
27724598
UD
7861 * elf/pldd.c (main): Attach to all threads in the process.
7862 Rewrite /proc handling to use *at functions.
7863
076fe015
UD
78642011-08-16 Ulrich Drepper <drepper@gmail.com>
7865
174baab3
UD
7866 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7867 specifies first scope to show.
7868 (dl_open_worker): Update callers. Move printing scope of new
7869 object to before the relocation.
44f0a71e 7870 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
7871 * sysdeps/generic/ldsodefs.h: Update declaration.
7872
076fe015
UD
7873 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7874 string for the scope number.
7875
a60df2c3
UD
78762011-08-14 Ulrich Drepper <drepper@gmail.com>
7877
7878 * nscd/servicescache.c (cache_addserv): Make sure written is always
7879 initialized.
7880
5e4287d1
RM
78812011-08-14 Roland McGrath <roland@hack.frob.com>
7882
85ae0589
RM
7883 * sysdeps/i386/i486/bits/atomic.h
7884 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7885 statement expression, so as to suppress "set but not used" warning.
7886 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7887
69f63097
RM
7888 * string/strncat.c (STRNCAT): Use prototype definition.
7889
675456ef
RM
7890 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7891 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7892 -Iprograms here.
7893 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7894 (localedef-modules): Add localedef.
7895 (locale-modules): Add locale.
7896
5e4287d1
RM
7897 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7898 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7899 to avoid a warning.
7900
9c96ff23
DM
79012011-08-14 David S. Miller <davem@davemloft.net>
7902
7903 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7904 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7905
f9ddf089
UD
79062011-08-13 Ulrich Drepper <drepper@gmail.com>
7907
44f0a71e 7908 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
7909 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7910 * elf/rtld.c (dl_main): Set l_name of vDSO.
7911 Call _dl_show_scope when DL_DEBUG_SCOPES.
7912 (process_dl_debug): Recognize scopes flag and also set it for all.
7913 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7914 Declare _dl_show_scope.
7915
1dc27704
UD
7916 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7917 (do_dlopen): Pass caller_dlopen to dl_open.
7918 (__libc_dlopen_mode): Initialize caller_dlopen.
7919
f9ddf089
UD
7920 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7921 of libc. Make tolower call locale-independent. Optimize a bit by
7922 using isdigit instead of isalnum.
7923 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7924
9ac533d3
UD
79252011-08-12 Ulrich Drepper <drepper@gmail.com>
7926
7927 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7928 was a dependency or dynamically loaded.
7929
89edf2e9
UD
79302011-08-11 Ulrich Drepper <drepper@gmail.com>
7931
8e999d29
UD
7932 * intl/l10nflist.c: Allow architecture-specific pop function.
7933 * sysdeps/x86_64/l10nflist.c: New file.
7934
89edf2e9
UD
7935 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7936 classification.
7937
14d96785
AS
79382011-08-10 Andreas Schwab <schwab@redhat.com>
7939
7940 * include/dirent.h: Add libc_hidden_proto for scandirat and
7941 scandirat64. Don't declare __scandirat64.
7942 * dirent/scandirat.c: Add libc_hidden_def.
7943 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7944 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7945
6761ac04
DM
79462011-08-10 David S. Miller <davem@davemloft.net>
7947
7948 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7949 enum.
7950 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7951 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7952 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7953
c55fbd1e
UD
79542011-08-09 Ulrich Drepper <drepper@gmail.com>
7955
7956 * Versions.def [libc]: Add GLIBC_2.15.
7957 * dirent/Makefile (routines): Add scandirat and scandirat64.
7958 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7959 GLIBC_2.15.
7960 * dirent/dirent.h: Declare scandirat and scandirat64.
7961 * dirent/scandirat.c: New file.
7962 * dirent/scandirat64.c: New file.
7963 * sysdeps/wordsize-64/scandirat.c: New file.
7964 * sysdeps/wordsize-64/scandirat64.c: New file.
7965 * dirent/opendir.c: Define opendirat.
7966 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7967 using scandirat.
7968 * dirent/scandir64.c: Adjust for scandir.c change.
7969 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7970 __scandirat64, and __scandir_cancel_handler.
7971 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7972 additional parameter and use openat instead of open (outside of ld.so).
7973 Add new __opendir as wrapper around __opendirat.
7974 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7975 here without requiring old scandirat implementation.
7976
879165f2
UD
79772011-08-08 Ulrich Drepper <drepper@gmail.com>
7978
7979 * dirent/scandir.c (cancel_handler): Renamed to
7980 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7981 defined. Adjust users.
7982 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7983 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7984
cb7e923b
UD
79852011-08-04 Ulrich Drepper <drepper@gmail.com>
7986
16292edd
UD
7987 * string/test-string.h (IMPL): Use __STRING to expand name and then
7988 stringify it.
7989
cb7e923b
UD
7990 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7991 of cleanups.
7992
cff82933
LD
79932011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7994
7995 * string/Makefile: Update.
7996 (strop-tests): Append strncat.
7997 * string/test-wcscmp.c: New file.
7998 New comprehensive test for wcscmp.
7999 * string/test-strcmp.c: Update.
8000 (WIDE): New define.
8001
9be9bfcc
AS
80022011-07-22 Andreas Schwab <schwab@redhat.com>
8003
8004 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
8005 line.
8006
2e96f1c7
AS
80072011-07-26 Andreas Schwab <schwab@redhat.com>
8008
8009 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8010 encoding to ACE if AI_IDN.
8011
85188888
JJ
80122011-08-01 Jakub Jelinek <jakub@redhat.com>
8013
8014 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
8015 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
8016
5fa16e9b
LD
80172011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8018
8019 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
8020 Fix overflow bug in strncat.
8021 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8022
8023 * string/test-strncat.c: Update.
8024 Add new tests for checking overflow bugs.
8025
80262011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8027
8028 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8029 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
8030 * sysdeps/i386/i686/multiarch/strcat.S: New file.
8031 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
8032 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
8033 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
8034 * sysdeps/i386/i686/multiarch/strncat.S: New file.
8035 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
8036 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
8037
8038 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
8039 (USE_AS_STRCAT): Define.
8040 Add strcat and strncat support.
8041 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8042
8c1a459f
AS
80432011-07-25 Andreas Schwab <schwab@redhat.com>
8044
8045 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
8046 __n bigger than INT_MAX+1.
8047 (__strncmp_g): Likewise.
8048
bba33c28
UD
80492011-07-23 Ulrich Drepper <drepper@gmail.com>
8050
798be72d
UD
8051 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
8052 * libio/stido.h: Likewise.
8053
8accd4dc
UD
8054 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
8055 (AF_NFC): Define.
8056 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
8057 (AF_NFC): Define.
8058
cbff0d96
UD
8059 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
8060 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8061 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8062 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8063 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8064
9191c04a
UD
8065 [BZ #13021]
8066 * scripts/test-installation.pl: Don't expect libnss_test1 to be
8067 installed.
8068
bba33c28
UD
8069 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
8070 typo.
8071 (_dl_x86_64_save_sse): Likewise.
8072
90f139dd
UD
80732011-07-22 Ulrich Drepper <drepper@gmail.com>
8074
1aae088a
UD
8075 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
8076 OSXSAVE.
8077 (_dl_x86_64_save_sse): Likewise.
8078
8e2045f5
UD
8079 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
8080
90f139dd
UD
8081 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
8082
1d002f25
AS
80832011-07-21 Andreas Schwab <schwab@redhat.com>
8084
8085 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
8086 change.
8087 (_dl_x86_64_save_sse): Use correct AVX check.
8088
21137f89
UD
80892011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8090
8091 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
8092 bug in strncpy/strncat.
8093 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8094
a65c0b7a
UD
80952011-07-21 Ulrich Drepper <drepper@gmail.com>
8096
8097 * string/tester.c (test_strcat): Add tests for different alignments
8098 of source and destination.
8099 (test_strncat): Likewise.
8100
6986b98a
UD
81012011-07-20 Ulrich Drepper <drepper@gmail.com>
8102
90bb2039
UD
8103 [BZ #12852]
8104 * posix/glob.c (glob): Check passed in values before using them in
8105 expressions to avoid some overflows.
8106 (glob_in_dir): Likewise.
8107
5644ef54
UD
8108 [BZ #13007]
8109 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
8110 check for AVX enablement so that we don't crash with old kernels and
8111 new hardware.
8112 * elf/tst-audit4.c: Add same checks here.
8113 * elf/tst-audit6.c: Likewise.
8114
8115 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 8116
bfc9dc9b
AS
81172011-07-09 Andreas Schwab <schwab@linux-m68k.org>
8118
8119 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
8120
702e64bb
UD
81212011-07-20 Ulrich Drepper <drepper@gmail.com>
8122
8123 * po/cs.po: Update from translation team.
8124 * po/bg.po: Likewise.
8125
295e904f
MP
81262011-07-12 Marek Polacek <mpolacek@redhat.com>
8127
8128 * misc/sys/cdefs.h: Add support for const attribute.
8129 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
8130 to gnu_dev_{major,minor,makedev} functions.
8131
3ff94596
MP
81322011-07-20 Marek Polacek <mpolacek@redhat.com>
8133
8134 * intl/dcigettext.c (get_output_charset): Add missing bracket.
8135
28b59fca
AS
81362011-07-20 Andreas Schwab <schwab@redhat.com>
8137
8138 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
8139 strlen results.
8140
19df733e
AK
81412011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8142
8143 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8144 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
8145 register in order to avoid conflicts with the soft frame pointer
8146 being held in r11 when necessary.
8147 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8148 (INTERNAL_VSYSCALL_NCS): Likewise.
8149
c8835729
MP
81502011-07-14 Marek Polacek <mpolacek@redhat.com>
8151
8152 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8153 * elf/dl-fini.c (_dl_fini): Adjust caller.
8154 * elf/dl-close.c (_dl_close_worker): Likewise.
8155 * sysdeps/generic/ldsodefs.h: Adjust declaration.
8156
b902330c
MP
81572011-07-15 Marek Polacek <mpolacek@redhat.com>
8158
8991e135
MP
8159 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8160 "aux_cache->nlibs < 0".
8161
b902330c
MP
8162 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8163 in the reload-count case.
8164
99710781
LD
81652011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8166
8167 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8168 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8169 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8170 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8171 * sysdeps/x86_64/multiarch/strcat.S: New file.
8172 * sysdeps/x86_64/multiarch/strncat.S: New file.
8173 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8174 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8175 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8176 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8177 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8178 (USE_AS_STRCAT): Define.
8179 Add strcat and strncat support.
8180 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8181 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8182 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8183 * string/strncat.c: Update.
8184 (USE_AS_STRNCAT): Define.
8185 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8186 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8187 and i7.
8188 * sysdeps/x86_64/multiarch/init-arch.h
8189 (bit_Prefer_PMINUB_for_stringop): New.
8190 (index_Prefer_PMINUB_for_stringop): Likewise.
8191 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8192 bit_Prefer_PMINUB_for_stringop.
8193
7dc6bd90
UD
81942011-07-19 Ulrich Drepper <drepper@gmail.com>
8195
8196 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8197 buffer64.
8198 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8199 of casting of buffer.
8200 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8201 buffer32 and buffer64.
8202 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8203 writes instead of casting of buffer.
8204 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8205 buffer32.
8206 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8207 casting of buffer.
8208
e0e72284
AS
82092011-07-19 Andreas Schwab <schwab@redhat.com>
8210
8211 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8212
feb1eb0b
UD
82132011-07-19 Ulrich Drepper <drepper@gmail.com>
8214
8215 * nscd/nscd.c (termination_handler): Don't do anything for a database
8216 if it has not yet been initialized.
8217
298711ff
UD
82182011-07-18 Ulrich Drepper <drepper@gmail.com>
8219
8220 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8221
82222011-07-15 Marek Polacek <mpolacek@redhat.com>
8223
8224 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8225
f9d68389
UD
82262011-07-18 Ulrich Drepper <drepper@gmail.com>
8227
8228 * po/nl.po: Update from translation team.
8229 * po/sv.po: Likewise.
8230
db290cf5
RM
82312011-07-16 Roland McGrath <roland@hack.frob.com>
8232
8233 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8234 now disallowed by GCC.
5c550700 8235
fd5e21c7
RM
8236 * configure.in (use-default-link): Default to yes if a test -shared
8237 link meets our qualifications.
8238 * configure: Regenerated.
8239
5c550700
RM
8240 * config.make.in (output-format): New variable.
8241 * configure.in: Check for ld --print-output-format support.
8242 * configure: Regenerated.
8243 * Makerules ($(common-objpfx)format.lds)
8244 [$(output-format) != unknown]: Just use $(output-format),
8245 instead of the linker-script munging.
8246
9fa2c032
RM
82472011-07-14 Roland McGrath <roland@hack.frob.com>
8248
a6928d51
RM
8249 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8250 of $(common-objpfx)shlib.lds.
8251 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8252
661607b3
RM
8253 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8254 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8255
9fa2c032
RM
8256 * configure.in (-z relro check): Adjust test code to add a large
8257 writable data section after it.
8258 * configure: Regenerated.
8259
defe9061
RM
82602011-07-11 Roland McGrath <roland@hack.frob.com>
8261
8262 * configure.in (-z relro check): Fix test code to make the variable
8263 truly const.
8264 * configure: Regenerated.
8265
319b9ad4
UD
82662011-07-11 Ulrich Drepper <drepper@gmail.com>
8267
8268 * nscd/nscd.h (struct traced_file): Define.
8269 (struct database_dyn): Remove inotify_descr, reset_res, and filename
8270 elements. Add traced_files.
8271 (inotify_fd): Declare.
8272 (register_traced_file): Declare.
8273 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
8274 (inotify_fd): Export.
8275 (resolv_conf_descr): Remove.
8276 (nscd_init): Move inotify descriptor creation to main.
8277 Don't register files for notification here.
8278 (register_traced_file): New function.
8279 (invalidate_cache): Don't use reset_res to determine whether to call
8280 res_init, go through the list of registered files.
8281 (main_loop_poll): The inotify descriptors are now stored in the
8282 structures for the traced files.
8283 (main_loop_epoll): Likewise
8284 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
8285 to __nss_disable_nscd.
8286 * nscd/cache.c (prune_cache): There is no single inotify descriptor
8287 for a database anymore. Check the records for all the registered
8288 files instead.
8289 * nss/Makefile (libnss_files-routines): Add files-init.
8290 (libnss_db-routines): Add db-init.
8291 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8292 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8293 * nss/nss_db/db-init.c: New file.
8294 * nss/nss_files/files-init.c: New file.
8295 * nss/nsswitch.c (nss_load_library): New function. Broken out of
8296 __nss_lookup_function.
8297 (__nss_lookup_function): Call nss_load_library.
8298 (nss_load_all_libraries): New function.
8299 (__nss_disable_nscd): Take parameter with callback function for files
8300 to register. Set is_nscd. Load all the DSOs for the NSS modules
8301 used for the cached services.
8302 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8303 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8304 options for features to all the files in nscd.
8305
8306 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8307
23bee3e8
RM
83082011-07-10 Roland McGrath <roland@hack.frob.com>
8309
8310 * csu/elf-init.c (__libc_csu_init): Comment typo.
8311
46a5b7f0
UD
83122011-07-09 Ulrich Drepper <drepper@gmail.com>
8313
8314 * po/pl.po: Update from translation team.
8315 * po/ja.po: Likewise.
8316 * po/ru.po: Likewise.
8317 * po/ko.po: Likewise.
8318 * po/fr.po: Likewise.
8319
d30cf5bb
RM
83202011-07-09 Roland McGrath <roland@hack.frob.com>
8321
113ddea4
RM
8322 * configure.in (.ctors/.dtors header and trailer check):
8323 Use an empirical test on a built program.
8324 * configure: Regenerated.
8325
574920b4
RM
8326 * configure.in (-z relro check): Use an empirical test on a built DSO.
8327 Detect, but do not require, on ia64.
8328 * configure: Regenerated.
8329
d30cf5bb
RM
8330 * configure.in (READELF): Find it with AC_CHECK_TOOL.
8331 Update tests that use readelf to use $READELF instead.
8332 * configure: Regenerated.
8333
8538fdb3
UD
83342011-07-08 Ulrich Drepper <drepper@gmail.com>
8335
8336 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8337 if the result is not used.
8338
04d08991
AJ
83392011-07-05 Andreas Jaeger <aj@suse.de>
8340
8341 [BZ#9696]
8342 * stdlib/tst-strtod.c: Add testcase.
8343
de283087
AD
83442011-07-07 Ulrich Drepper <drepper@gmail.com>
8345
4e5f31c8 8346 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 8347 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
8348 The latter has a higher limit. Take additional parameter to pass to
8349 the new function.
8350 (__pathconf): Pass file to __statfs_link_max.
8351 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8352 __statfs_link_max.
8353 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8354 __statfs_link_max.
8355
de283087
AD
8356 [BZ #12868]
8357 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8358 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8359 Handle Lustre.
8360 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8361 (__statfs_filesize_max): Likewise.
8362 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8363
c75fa153
AJ
83642011-07-05 Andreas Jaeger <aj@suse.de>
8365
8366 * resolv/res_comp.c (dn_skipname): Remove unused variable.
8367
1a544854
UD
83682011-07-06 Marek Polacek <mpolacek@redhat.com>
8369
8370 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8371 `status' variable.
8372 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8373 Likewise.
8374
6f0eec67
UD
83752011-07-04 H.J. Lu <hongjiu.lu@intel.com>
8376
8377 * Makefile (strop-tests): Add strncat.
8378 * string/test-strncat.c: New file.
8379
aae30307
UD
83802011-06-30 Marek Polacek <mpolacek@redhat.com>
8381
8382 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8383
c0cfb5eb
UD
83842011-06-21 Andreas Jaeger <aj@suse.de>
8385
8386 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8387 Copy rule from iconvdata/Makefile.
8388
01636b21
UD
83892011-07-06 Ulrich Drepper <drepper@gmail.com>
8390
8391 [BZ #12922]
8392 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8393 but no long options are defined, just return 'W'.
8394
9895c8bc
UD
83952011-06-22 Marek Polacek <mpolacek@redhat.com>
8396
8397 [BZ #9696]
8398 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8399
5d4cf042
UD
84002011-07-06 Ulrich Drepper <drepper@gmail.com>
8401
8402 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8403 netgroups to read.
960e5535 8404 (innetgr): Likewise.
5d4cf042 8405
751eb97e
RM
84062011-07-05 Roland McGrath <roland@hack.frob.com>
8407
8408 * config.make.in (install_root): Default to $(DESTDIR).
8409
f15f1e45
UD
84102011-07-05 Ulrich Drepper <drepper@gmail.com>
8411
8412 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8413
4e34ac6a
RM
84142011-07-02 Roland McGrath <roland@hack.frob.com>
8415
5e9b6af4
RM
8416 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8417
84f9ea0f
RM
8418 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8419 containing directory rather than embedding absolute directory names.
8420
ea5ee9f7
RM
8421 * scripts/check-local-headers.sh: Rewritten using awk.
8422 Match by word, not by line. Print error messages for matches.
8423 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8424
1b74661a
RM
8425 * Makerules [shlib-lds-flags empty]:
8426 ($(common-objpfx)libc_pic.opts): New target.
8427 ($(common-objpfx)libc_pic.os.clean): New target.
8428 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8429
8430 * config.make.in (OBJCOPY): New variable.
8431 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8432 * configure: Regenerated.
8433
f781ef40
RM
8434 * config.make.in (use-default-link): New variable.
8435 * configure.in (use_default_link): Grok --with-default-link to set it.
8436 * configure: Regenerated.
8437 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8438 (shlib-lds, shlib-lds-flags): Define to empty.
8439
2d4fa81e
RM
8440 * Makerules (shlib-lds): New variable.
8441 (shlib-lds-flags): New variable.
8442 (build-shlib, build-moduile, build-module-asneeded): Use it.
8443 ($(common-objpfx)libc.so): Use $(shlib-lds).
8444 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8445 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8446
31fffa6b
RM
8447 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8448 DT_FLAGS/DT_FLAGS_1 with zero flags.
8449
4e34ac6a
RM
8450 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8451 linker script munging.
8452
fcfc776b
UD
84532011-07-02 Ulrich Drepper <drepper@gmail.com>
8454
8455 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8456 as 128-bit value.
8457 * crypt/sha512.c (sha512_process_block): Perform total addition using
8458 128-bit if possible.
8459 (__sha512_finish_ctx): Likewise.
8460 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8461 as 64-bit value.
8462 * crypt/sha256.c (SWAP64): Define.
8463 (sha256_process_block): Perform total addition using 64-bit if
8464 possible.
8465 (__sha256_finish_ctx): Likewise.
8466
99231d9a
UD
84672011-07-01 Ulrich Drepper <drepper@gmail.com>
8468
8469 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
8470 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8471 * nscd/hstcache.c (cache_addhst): Likewise.
8472 * nscd/grpcache.c (cache_addgr): Likewise.
8473 * nscd/aicache.c (addhstaiX): Likewise
8474 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8475
445b4a53
TK
84762011-07-01 Thorsten Kukuk <kukuk@suse.de>
8477
8478 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8479 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8480 * nscd/hstcache.c (cache_addhst): Likewise.
8481 * nscd/grpcache.c (cache_addgr): Likewise.
8482 * nscd/aicache.c (addhstaiX): Likewise
8483
6d4d8e8e
AS
84842011-07-01 Andreas Schwab <schwab@redhat.com>
8485
8486 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8487 domain only when needed.
8488
89f654c5
AS
84892011-06-30 Andreas Schwab <schwab@redhat.com>
8490
8491 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8492 is always restored.
8493
cf3b23ff
UD
84942011-06-29 Ulrich Drepper <drepper@gmail.com>
8495
8496 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8497 are re-adding the entry.
8498 * nscd/servicescache.c (cache_addserv): Likewise.
8499
751626f9
AJ
85002011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8501
8502 * sysdeps/generic/dl-irel.h: fix protection against multiple
8503 inclusions.
8504 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8505
9113ea1f
UD
85062011-06-28 Ulrich Drepper <drepper@gmail.com>
8507
5c0b8d90
UD
8508 [BZ #12935]
8509 * malloc/memusage.sh: Fix quoting in message.
8510 * debug/xtrace.sh: Likewise.
8511
9113ea1f
UD
8512 * configure.in: Remove support for --experimental-malloc option, make
8513 it the default.
8514 * config.make.in: Likewise.
8515 * malloc/Makefile: Likewise.
8516
a4172181
AS
85172011-06-27 Andreas Schwab <schwab@redhat.com>
8518
8519 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8520 two-byte characters.
8521
78a7eee7
RM
85222011-06-27 Roland McGrath <roland@hack.frob.com>
8523
62bede13
RM
8524 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8525 AC_CACHE_CHECK invocation.
8526 * configure: Regenerated.
8527
78a7eee7
RM
8528 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8529
5ce33a62
UD
85302011-06-27 Ulrich Drepper <drepper@gmail.com>
8531
034807a9
UD
8532 [BZ #12350]
8533 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8534 bit from old_res_options.
8535
4902da17
UD
8536 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8537
5ce33a62
UD
8538 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8539 value type for setfct.
8540
c2344f56
L
85412011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8542
8543 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8544 __gettimeofday instead of gettimeofday.
8545
68468076
UD
85462011-06-26 Ulrich Drepper <drepper@gmail.com>
8547
8548 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8549
acb0d739
L
85502011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8551
8552 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8553
8554 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8555 info.
8556
8912479f
L
85572011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8558
8559 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8560 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8561 strcpy-sse2-unaligned strncpy-sse2-unaligned
8562 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8563 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8564 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8565 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8566 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8567 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8568 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8569 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8570 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8571 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8572 (STRCPY): Support SSE2 and SSSE3 versions.
8573
d5495a11
UD
85742011-06-24 Ulrich Drepper <drepper@gmail.com>
8575
8576 [BZ #12874]
8577 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8578 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8579 kernels which artificially limit size of requests.
8580
0b1cbaae
L
85812011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8582
8583 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8584 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8585 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8586 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8587 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8588 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8589 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8590 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8591 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8592 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8593 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8594 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8595 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8596 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8597 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8598 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8599 Enable unaligned load optimization for Intel Core i3, i5 and i7
8600 processors.
8601 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8602 Define.
8603 (index_Fast_Unaligned_Load): Define.
8604 (HAS_FAST_UNALIGNED_LOAD): Define.
8605
07f494a0
MP
86062011-06-23 Marek Polacek <mpolacek@redhat.com>
8607
8608 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8609
fa3fc0fe
UD
86102011-06-22 Ulrich Drepper <drepper@gmail.com>
8611
8612 [BZ #12907]
8613 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8614 until it is clear that the information is realy needed.
8615 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8616
e12df166
AS
86172011-06-22 Andreas Schwab <schwab@redhat.com>
8618
8619 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8620
852eb34d
UD
86212011-06-22 Ulrich Drepper <drepper@gmail.com>
8622
84e2a551
UD
8623 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8624 /sys/devices/system/cpu/online if it is usable.
8625
852eb34d
UD
8626 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8627 reading the information from the /proc filesystem to once a second.
8628
6e502e19
UD
86292011-06-21 Andreas Jaeger <aj@suse.de>
8630
8631 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8632 NULL after inclusion of kernel headers.
8633
75d39ff2
UD
86342011-06-21 Ulrich Drepper <drepper@gmail.com>
8635
51f9aa6a
UD
8636 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8637 calls to internal_setent.
8638
c0244a9d
UD
8639 [BZ #12885]
8640 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8641 addresses using gethostbyname4_r ignore IPv4 addresses.
8642
c5e3c2ae
UD
8643 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8644 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8645
75d39ff2
UD
8646 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8647
42675c6f
DM
86482011-06-20 David S. Miller <davem@davemloft.net>
8649
8650 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8651 inclusions.
8652 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8653
8654 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8655 (elf_irel): Use it.
8656 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8657 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8658 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8659 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8660 * sysdeps/x86_64/dl-irel.h: Likewise.
8661
8662 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8663 * elf/dl-sym.c: Likewise.
8664
57912a71
UD
86652011-06-15 Ulrich Drepper <drepper@gmail.com>
8666
8667 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8668 need to dereference resplen2.
8669
ee22793d
AS
86702011-06-14 Andreas Schwab <schwab@redhat.com>
8671
8672 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8673
a9e836b0
UD
86742011-06-15 Ulrich Drepper <drepper@gmail.com>
8675
77fb9117
UD
8676 * Makeconfig: Define vardbdir and inst_vardbdir.
8677 * nss/Makefile: Add rules to install db-Makefile.
8678
40c1b22c
UD
8679 * nss/nss_db/db-XXX.c: Cleanup.
8680
9f2da732
UD
8681 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8682 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8683 GLIBC_PRIVATE.
8684 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8685 * nss/makedb.c: Implement -g option to specify that value strings
8686 are generated and should not be added to table iterated over for
8687 get*ent calls.
8688 * nss/nss_db/db-initgroups.c: New file.
8689
82e9a1f7
UD
8690 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8691 interface.
8692
c41af17e
UD
8693 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8694 (internal_getgrouplist): Adjust to name change.
8695 Update use_initgroups_entry if this is not the first call.
8696 * nss/databases.def: Add initgroups entry.
8697
a9e836b0
UD
8698 * nss/makedb.c (compute_tables): Check result of multiple hash table
8699 sizes to minimize maximum chain length.
8700
2666d441
UD
87012011-06-14 Ulrich Drepper <drepper@gmail.com>
8702
8703 * Versions.def: Add entry for libnss_db.
8704 * shlib-versions: Likewise.
8705 * nss/Makefile: Add rules to build libnss_db.
8706 * nss/Versions: Add libnss_db information. Organize libnss_files
8707 entries better.
8708 * nss/db-Makefile: Add gshadow support. Change rules for the new
8709 makedb progra. Some minor improvements to generate smaller files.
8710 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8711 here from...
8712 * nss/makedb.c: ...here.
8713 Improve database format to be smaller and require less memory at
8714 runtime.
8715 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8716 db anymore.
8717 * nss/nss_db/db-netgrp.c: Likewise.
8718 * nss/nss_db/db-open.c: Likewise.
8719 * nss/nss_files/flies-XXX.x: Adjust comments.
8720 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8721 * nss/nss_files/files-grp.c: Likewise.
8722 * nss/nss_files/files-hosts.c: Likewise.
8723 * nss/nss_files/files-network.c: Likewise.
8724 * nss/nss_files/files-proto.c: Likewise.
8725 * nss/nss_files/files-pwd.c: Likewise.
8726 * nss/nss_files/files-rpc.c: Likewise.
8727 * nss/nss_files/files-service.c: Likewise.
8728 * nss/nss_files/files-sgrp.c: Likewise.
8729 * nss/nss_files/files-spwd.c: Likewise.
8730 * nss/nss_db/db-alias.c: Removed.
8731 * nss/nss_db/dummy-db.h: Removed.
8732
9ee76b5a
UD
87332011-06-02 Ulrich Drepper <drepper@gmail.com>
8734
8735 * nss/makedb.c: Rewritten to not use database library.
8736 * nss/Makefile: Update to build new makedb program.
8737
c71ca1f8
AJ
87382011-06-14 Andreas Jaeger <aj@suse.de>
8739
8740 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8741 memset declaration.
8742
3154bfb8
UD
87432011-06-10 Andreas Schwab <schwab@redhat.com>
8744
8745 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8746 tmpbuf.
8747
b350afab
RM
87482011-06-10 Roland McGrath <roland@hack.frob.com>
8749
decd4e50
RM
8750 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8751 * elf/Makefile ($(objpfx)ld.so): Likewise.
8752
5615eaf2
RM
8753 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8754 Don't list ld.so twice in dependencies.
8755
8756 * posix/bug-regex31.c: Include <stdlib.h>.
8757
8758 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8759
8760 * nis/nss_compat/compat-spwd.c
8761 (getspent_next_nss_netgr): Remove unused variable.
8762 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8763
8764 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8765 nonmembers" output to use the right array.
8766
8767 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8768
8769 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8770
8771 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8772 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8773 * catgets/gencat.c (read_input_file): Likewise.
8774 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8775
8776 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8777 variable definition inside #if's controlling its use.
8778
8779 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8780
8781 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8782
8783 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8784
8785 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8786 unreachable code.
8787
8788 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8789
b68e08db
RM
8790 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8791 * configure: Regenerated.
8792
b350afab
RM
8793 * Makerules: Revert last change.
8794 * elf/Makefile: Likewise.
8795
28368601
RM
87962011-06-09 Roland McGrath <roland@hack.frob.com>
8797
8798 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8799 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8800 (reloc-link): Likewise.
8801
11988f8f
UD
88022011-06-09 Ulrich Drepper <drepper@gmail.com>
8803
8804 * elf/Makefile: Add rules to build pldd.
8805 * elf/pldd.c: New file.
8806 * elf/pldd-xx.c: New file.
8807
e80fab37
UD
88082011-06-07 Ulrich Drepper <drepper@gmail.com>
8809
8810 * version.h: Update for 2.15 development version.
8811
9b849836
DM
88122011-06-07 David S. Miller <davem@davemloft.net>
8813
8814 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8815 ifuncs.
8816 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8817 elf_machine_lazy_rel): Likewise.
8818 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8819 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8820 elf_machine_lazy_rel): Likewise.
8821 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8822 dl_hwcap via passed in argument.
8823 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8824 Likewise.
8825
5a31b283
AK
88262011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8827
8828 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8829
069e52f8
RM
88302011-06-06 Roland McGrath <roland@hack.frob.com>
8831
8832 [BZ #12849]
8833 * manual/fdl-1.1.texi: New file, verbatim from:
8834 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8835 * manual/lgpl-2.1.texi: New file, verbatim from:
8836 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8837 * manual/Makefile (licenses): New variable, list those new file names.
8838 (texis): Use it.
8839 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8840
8841 * manual/fdl.texi: File removed.
8842 * manual/lesser.texi: File removed.
8843 * manual/libc.texinfo (Copying, Documentation License):
8844 Use new @include file names, put @appendix directive before @include.
8845
f16846a5
JJ
88462011-06-04 Jakub Jelinek <jakub@redhat.com>
8847
8848 [BZ #12841]
8849 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8850 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8851 (mq_open): Add __NTH.
8852
3d29045b
L
88532011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8854
8855 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8856 Assume Intel Core i3/i5/i7 processor if AVX is available.
8857
8c297311
UD
88582011-05-31 Ulrich Drepper <drepper@gmail.com>
8859
8860 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8861 typo.
8862
c8fc0c91
UD
88632011-05-31 Andreas Schwab <schwab@redhat.com>
8864
8865 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8866 memory. Use alloca_account. Fix memory leak when retrying.
8867
5b27a807
UD
88682011-05-31 Ulrich Drepper <drepper@gmail.com>
8869
356f8bc6
UD
8870 * version.h (RELEASE): Bump for 2.14 release.
8871 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8872
5b27a807
UD
8873 * config.make.in (RANLIB): Remove entry.
8874
01f16ab0
UD
88752011-05-30 Ulrich Drepper <drepper@gmail.com>
8876
41fce8bd
UD
8877 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8878 (libc.pot): Work around missing support for .ksh extension in xgettext.
8879
4769ae77
UD
8880 [BZ #12684]
8881 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8882 if both request failed.
8883 (send_dg): In case of server errors clear resplen or *resplen2.
8884
6b1e7d19
UD
8885 [BZ #12454]
8886 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8887 when there are multiple maps.
8888 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8889 (_dl_fini): Remove test here.
8890
01f16ab0
UD
8891 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8892
b1ebd700
UD
88932011-05-29 Ulrich Drepper <drepper@gmail.com>
8894
7ae22829
UD
8895 [BZ #12350]
8896 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8897 bit from old_res_options.
8898 (gaih_inet): Likewise.
8899
553149f6 8900 [BZ #11099]
18a84741 8901 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
8902 as signed.
8903
652ffab1
UD
8904 * resolv/res_init.c (res_setoptions): Make the code more compact.
8905
16985fd0
UD
8906 [BZ #11558]
8907 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8908 set RES_USEVC.
8909
0464f746
UD
8910 [BZ #11634]
8911 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8912
7d17596c
UD
8913 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8914
cf6bbbd7
UD
8915 [BZ #11781]
8916 * malloc/malloc.h: Declare malloc hook variables as volatile.
8917
13f1ab36
UD
8918 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8919 in last patch.
8920
b1ebd700
UD
8921 [BZ #11799]
8922 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 8923 raise in the comment.
80e2212d
UD
8924 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8925 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8926 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 8927
ce67228d
UD
89282011-05-28 Ulrich Drepper <drepper@gmail.com>
8929
8887a920
UD
8930 [BZ #12811]
8931 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8932 grow the buffers more if it already has to be sufficient.
8933 (build_wcs_upper_buffer): Likewise.
8934 * posix/regexec.c (check_matching): Likewise.
8935 (clean_state_log_if_needed): Likewise.
8936 (extend_buffers): Don't enlarge buffers beyond size of the input
8937 buffer.
8938 Patches mostly by Emil Wojak <emil@wojak.eu>.
8939 * posix/bug-regex32.c: New file.
8940 * posix/Makefile (tests): Add bug-regex32.
8941
4f031072
UD
8942 * locale/findlocale.c (_nl_find_locale): Return right away if
8943 _nl_explode_name failed.
8944 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8945
d0478f0c
UD
8946 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8947
de81b246
UD
8948 * debug/xtrace.sh: Unify messages.
8949 * malloc/memusage.sh: Likewise.
8950
c738465a
UD
8951 [BZ #12813]
8952 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8953 time symbol from vDSO. Substitute with vsyscall if not available.
8954 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8955 __vdso_time.
8956
f1f929d7
UD
8957 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8958 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8959 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8960 Add sendmmsg and internal_sendmmsg.
8961 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8962 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8963 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8964
ce67228d
UD
8965 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8966 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8967 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8968
e57420c6
UD
89692011-05-27 Ulrich Drepper <drepper@gmail.com>
8970
a8509ca5
UD
8971 [BZ #12813]
8972 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8973 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8974 available.
8975 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8976 __vdso_getcpu.
8977
e57420c6
UD
8978 [BZ #12814]
8979 * iconvdata/Makefile (tests): Add bug-iconv9.
8980 * iconvdata/bug-iconv9.c: New file.
8981
4d07db15
AS
89822011-05-27 Andreas Schwab <schwab@redhat.com>
8983
8984 [BZ #12814]
8985 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8986
ea486f69
JJ
89872011-05-25 Jakub Jelinek <jakub@redhat.com>
8988
8989 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8990 (struct user_regs_struct): Change intcs field back to cs.
8991
6f038433
UD
89922011-05-25 Ulrich Drepper <drepper@gmail.com>
8993
8994 * po/ja.po: Update from translation team.
8995
67f86a25
UD
89962011-05-23 Ulrich Drepper <drepper@gmail.com>
8997
8998 [BZ #12795]
8999 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
9000 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
9001
def7fbd6
AS
90022011-05-20 Andreas Schwab <schwab@redhat.com>
9003
9004 * stdlib/longlong.h: Update from GCC.
9005
f50ef8f1
AS
90062011-05-23 Andreas Schwab <schwab@redhat.com>
9007
9008 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
9009 parameter name.
9010 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
9011 Add parameter name.
9012 (__sysconf): Pass it down.
9013
de7ce8f1
UD
90142011-05-22 Ulrich Drepper <drepper@gmail.com>
9015
f2962a71
UD
9016 [BZ #12671]
9017 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
9018 some situations.
9019 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9020 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
9021 add in in __libc_use_alloca calls. Adjust callers.
9022 (glob): Use malloc in some situations.
9023
de7ce8f1
UD
9024 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
9025 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
9026 pltexit.
9027
aec84f53
UD
90282011-05-21 Ulrich Drepper <drepper@gmail.com>
9029
05bb4a68
UD
9030 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
9031 and CLOCK_BOOTTIME_ALARM.
9032
7ea72f99
UD
9033 [BZ #12782]
9034 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
9035 is returned.
9036
7e4afad5
UD
9037 * string/_strerror.c (__strerror_r): Print negative errors as signed
9038 numbers.
9039
8e211fec
UD
9040 [BZ #12777]
9041 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
9042 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
9043 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
9044
f7d82dc9
UD
9045 * configure.in: Fix typo in redirection and correct removal of test
9046 files in two cases.
9047
cc9e536d
UD
9048 [BZ #12788]
9049 * locale/setlocale.c (new_composite_name): Fix test to check for
9050 identical name of all categories.
9051
aec84f53
UD
9052 [BZ #12792]
9053 * libio/filedoalloc.c (local_isatty): New function.
9054 (_IO_file_doallocate): Use local_isatty.
9055 * stdio-common/perror.c (perror): In case a new stream is used
9056 forward the stream error.
9057 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
9058 error flag.
9059
78e64fdc
RT
90602011-05-20 Ulrich Drepper <drepper@gmail.com>
9061
34a9094f
UD
9062 [BZ #11869]
9063 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
9064 alloca.
9065 * include/alloca.h (extend_alloca_account): Define.
9066
78e64fdc
RT
9067 [BZ #11857]
9068 * posix/regex.h: Fix comments with documentation of user-accessible
9069 fields after compilation and describe correct free'ing of pattern
9070 after re_compile_pattern.
9071 Patch by Reuben Thomas <rrt@sc3d.org>.
9072
457bddfc
RA
90732011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
9074
9075 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
9076 and -mno-altivec to prevent the compiler from using Altivec and/or
9077 VSX instructions when the corresponding registers are not available.
9078
a4527b51
AS
90792011-05-19 Andreas Schwab <schwab@redhat.com>
9080
9081 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
9082
ed690b2f
UD
90832011-05-19 Ulrich Drepper <drepper@gmail.com>
9084
9085 * libio/freopen.c (freopen): Use __dup2, not dup2.
9086 * libio/freopen64.c (freopen64): Likewise.
9087
8db73634
L
90882011-05-17 H.J. Lu <hongjiu.lu@intel.com>
9089
9090 [BZ #12775]
9091 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
9092 * math/Makefile (tests): Add test-powl.
9093 (CFLAGS-test-powl.c): Define.
9094 * math/test-powl.c: New file.
9095
0a197a9d
L
90962011-05-16 H.J. Lu <hongjiu.lu@intel.com>
9097
9098 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
9099
ee30c380
UD
91002011-05-17 Ulrich Drepper <drepper@gmail.com>
9101
9102 [BZ #11837]
9103 * iconvdata/gb18030.c: Update to GB18020-2005.
9104
6ce75379
UD
91052011-05-16 Ulrich Drepper <drepper@gmail.com>
9106
a4b89fd8
AR
9107 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
9108 RE_SYNTAX_POSIX_AWK): Update to match recent development.
9109 Patch by Aharon Robbins <arnold@skeeve.com>.
9110
ea389b12
UD
9111 [BZ #11892]
9112 * stdlib/putenv.c (putenv): Don't always create copy of the variable
9113 on the stack.
9114
68a3f91f
UD
9115 [BZ #11895]
9116 * misc/pselect.c (__pselect): Handle timeout value errors hidden
9117 through underflows.
9118
15cc7dd1
UD
9119 [BZ #12766]
9120 * misc/error.c (error_at_line): Ensure file_name and old_file_name
9121 point to strings before performing equality test for error_one_per_line
9122 mode.
9123
f3799213
UD
9124 [BZ #11697]
9125 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
9126
d79a9c94
UD
9127 [BZ #11820]
9128 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9129 (struct user_fpregs_struct): Avoid __uint*_t types.
9130
56e5eb46
UD
9131 [BZ #6420]
9132 * malloc/mtrace.c (tr_where): Add additional parameter to point to
9133 symbol info. Use it instead of calling _dl_addr locally.
9134 (lock_and_info): New function.
9135 (tr_freehook): Call lock_and_info and pass symbol info as additional
9136 parameter to tr_where.
9137 (tr_mallochook): Likewise.
9138 (tr_reallochook): Likewise.
9139 (tr_memalignhook): Likewise.
9140
6ce75379
UD
9141 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
9142 used and couldn't be at all thread-safe.
9143
f8a3b5bf
UD
91442011-05-15 Ulrich Drepper <drepper@gmail.com>
9145
94b7cc37
UD
9146 * libio/freopen.c (freopen): Don't close old file descriptor
9147 before the new one is opened. Instead dup the new file descriptor
9148 to the old one after the new stream is created.
9149 * libio/freopen64.c (freopen64): Likewise.
9150 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9151 * libio/fileops.c (_IO_new_file_close_it): Handle new
9152 _IO_FLAGS2_NOCLOSE flag.
9153 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9154 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9155 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9156 _IO_FLAGS2_NOCLOSE flag.
9157 * include/unistd.h: Add hidden_proto for dup3.
9158 Define __have_dup3.
9159 * io/dup3.c: Define hidden symbol.
9160 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9161
bd25564e
UD
9162 [BZ #7101]
9163 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9164 when an incomplete long option is used.
9165 * posix/tst-getopt_long1.c: New file.
9166 * posix/Makefile (tests): Add tst-getopt_long1.
9167
c84cfef4
UD
9168 [BZ #10138]
9169 * scripts/config.guess: Update from autoconf-2.68.
9170 * scripts/config.sub: Likewise.
9171
3b85df27
UD
9172 [BZ #10157]
9173 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9174 tests into ...
9175 (has_cpuclock): ...this. New function.
9176 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9177 macro here based on has_cpuclock code.
9178
15a856b1
UD
9179 [BZ #10149]
9180 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9181 First byte (not low byte) is now always NUL.
9182 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9183
05f399e6
UD
9184 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9185 Use non-cancelable interfaces.
9186
10a52685 9187 [BZ #9809]
94ecc67d
UD
9188 * locale/iso-639.def: Add entry for Sorani.
9189
f8a3b5bf
UD
9190 [BZ #11901]
9191 * include/stdlib.h: Move include protection to the right place.
9192 Define abort_msg_s. Declare __abort_msg with it.
9193 * stdlib/abort.c (__abort_msg): Adjust type.
9194 * assert/assert.c (__assert_fail_base): New function. Majority
9195 of code from __assert_fail. Allocate memory for __abort_msg with
9196 mmap.
9197 (__assert_fail): Now call __assert_fail_base.
9198 * assert/assert-perr.c: Remove bulk of implementation. Use
9199 __assert_fail_base.
9200 * include/assert.hL Declare __assert_fail_base.
9201 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9202 mmap.
9203 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9204
1af4e298
UD
92052011-05-14 Ulrich Drepper <drepper@gmail.com>
9206
f8a3b5bf 9207 [BZ #11952]
d26dfc60
MG
9208 [BZ #12453]
9209 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9210 until all modules are registered in the DTV.
9211 * elf/Makefile: Add rules to build and run tst-tls19.
9212 * elf/tst-tls19.c: New file.
9213 * elf/tst-tls19mod1.c: New file.
9214 * elf/tst-tls19mod2.c: New file.
9215 * elf/tst-tls19mod3.c: New file.
9216 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9217
2fc54d6f
UD
9218 [BZ #12083]
9219 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9220 correctly.
9221
98d76b46
UD
9222 [BZ #12601]
9223 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9224 two-byte sequence errors.
9225 * iconvdata/Makefile (tests): Add bug-iconv8.
9226 * iconvdata/bug-iconv8.c: New file.
9227
da3c19ef
UD
9228 [BZ #12626]
9229 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9230 buf2 definition.
9231
ca408c15
UD
9232 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9233
d6f67f7d
UD
9234 [BZ #12432]
9235 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9236 (dummy_getcfa): New function.
9237 (init): Get _Unwind_GetCFA address, use dummy if not found.
9238 (backtrace_helper): In recursion check, also check whether CFA changes.
9239 (__backtrace): Completely initialize arg.
9240
1af4e298 9241 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
9242 storing incomplete byte sequence in state object. Avoid testing for
9243 guaranteed too small input if we know there is enough data available.
1af4e298 9244
da62f81b
AS
92452011-05-11 Andreas Schwab <schwab@redhat.com>
9246
9247 * Makeconfig (+link-pie): Indent.
9248 * Rules (binaries-pie): Define if $(have-fpie) and
9249 $(build-shared).
9250 (binaries-shared): Also filter out $(binaries-pie).
9251 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9252 * nscd/Makefile (others-pie): Add nscd.
9253 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9254 ($(objpfx)nscd): Remove command override.
9255 * login/Makefile (others-pie): Add pt_chown.
9256 ($(objpfx)pt_chown): Remove command override.
9257 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9258 remove command overrides.
9259
fcabc0f8
UD
92602011-05-13 Ulrich Drepper <drepper@gmail.com>
9261
20030ae6
UD
9262 * libio/tst_putwc.c: Fix error messages.
9263
fcabc0f8
UD
9264 [BZ #12724]
9265 * libio/fileops.c (_IO_new_file_close_it): Always flush when
9266 currently writing and seek to current position when not.
9267 * libio/Makefile (tests): Add bug-fclose1.
9268 * libio/bug-fclose1.c: New file.
9269
320a5dc0
PB
92702011-05-12 Ulrich Drepper <drepper@gmail.com>
9271
9272 [BZ #12511]
9273 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
9274 don't set DF_1_NODELETE here.
9275 (do_lookup_x): When entering new entry test for copy relocation
9276 and if necessary set DF_1_NODELETE flag.
9277 * elf/tst-unique4.cc: New file.
9278 * elf/tst-unique4.h: New file.
9279 * elf/tst-unique4lib.cc: New file.
9280 * elf/Makefile: Add rules to build and run tst-unique4.
9281 Patch by Piotr Bury <pbury@goahead.com>.
9282
22836f52
UD
92832011-05-11 Ulrich Drepper <drepper@gmail.com>
9284
f574184a
UD
9285 [BZ #12052]
9286 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9287
e1fb097f
UD
9288 [BZ #12625]
9289 * misc/mntent_r.c (addmntent): Flush the stream after the output
9290
22836f52
UD
9291 [BZ #12393]
9292 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9293 (is_trusted_path_normalize): Skip initial colon. Append slash
9294 to empty buffer. Duplicate is_trusted_path code but allow
9295 constructed patch to be prefix.
9296 (is_dst): Allow $ORIGIN followed by /.
9297 (_dl_dst_substitute): Correct clearing of check_for_trusted.
9298 Correct testing of result of is_trusted_path_normalize
9299 (decompose_rpath): Fix warning.
9300
7b3b0b2a
UD
93012011-05-10 Ulrich Drepper <drepper@gmail.com>
9302
9303 [BZ #11257]
9304 * grp/initgroups.c (internal_getgrouplist): When we found the service
9305 list through the initgroups entry in nsswitch.conf do not always
9306 continue on a successful lookup. Don't always use the
eac80ce2 9307 __nss_group_database value if it is set.
7b3b0b2a
UD
9308 * nss/nsswitch.conf (initgroups): Change action for successful db
9309 lookup to continue for compatibility.
9310
2a81eaa5
UD
93112011-05-09 Ulrich Drepper <drepper@gmail.com>
9312
be97a69e
UD
9313 [BZ #11532]
9314 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9315 and CP774 modules.
9316 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9317 and CP774 modules.
9318 * iconvdata/tst-tables.sh: Likewise.
9319 * iconvdata/cp770.c: New file.
9320 * iconvdata/cp771.c: New file.
9321 * iconvdata/cp772.c: New file.
9322 * iconvdata/cp773.c: New file.
9323 * iconvdata/cp774.c: New file.
9324 * iconvdata/testdata/CP770: New file.
9325 * iconvdata/testdata/CP770..UTF8: New file.
9326 * iconvdata/testdata/CP771: New file.
9327 * iconvdata/testdata/CP771..UTF8: New file.
9328 * iconvdata/testdata/CP772: New file.
9329 * iconvdata/testdata/CP772..UTF8: New file.
9330 * iconvdata/testdata/CP773: New file.
9331 * iconvdata/testdata/CP773..UTF8: New file.
9332 * iconvdata/testdata/CP774: New file.
9333 * iconvdata/testdata/CP774..UTF8: New file.
9334
9335 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9336 END CHARMAP line.
9337 * iconvdata/gen-8bit-gap.sh: Likewise.
9338 * iconvdata/gen-8bit.sh: Likewise.
9339
c1e9e399
UD
9340 * locale/iso-639.def: Add ary entry.
9341
24c55fb3 9342 [BZ #11258]
96b4b1b0
UD
9343 * locale/C-translit.h.in: Add U20A1 transliteration.
9344
bdc2f971
KB
9345 [BZ #12178]
9346 * locale/iso-639.def: Add wae entry.
9347 Patch by Kevin Bortis <bortis@translate-wae.ch>.
9348
2952b117
UD
9349 [BZ #12545]
9350 * locale/programs/localedef.c (construct_output_path): Use ssize_t
9351 for n.
9352
2a81eaa5
UD
9353 [BZ #12711]
9354 * locale/C-translit.h.in: Add entry for U20B9.
9355 Patch by pravin.d.s@gmail.com.
9356
28377d1b
UD
93572011-05-08 Ulrich Drepper <drepper@gmail.com>
9358
7fb90fb8
UD
9359 [BZ #12713]
9360 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9361 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
9362 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
9363 in rtld. Use *stat64.
7fb90fb8 9364 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 9365 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 9366 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
9367 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9368 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9369 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9370 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9371 __fstatat64 macros.
7fb90fb8
UD
9372 * include/dirent.h: Add libc_hidden_proto for rewinddir.
9373 * dirent/rewinddir.c: Add libc_hidden_def.
9374 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 9375 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 9376
28377d1b
UD
9377 * include/dirent.h (__alloc_dir): Add flags parameter.
9378 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9379 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9380 __alloc_dir.
9381 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
9382 from fdopendir if O_CLOEXEC is already set.
9383
66bdbaa4
AM
93842011-03-15 Alan Modra <amodra@gmail.com>
9385
9386 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9387 l_tls_firstbyte_offset non-zero. Save padding offset in
9388 l_tls_firstbyte_offset for later use.
9389 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9390 freeing static tls block.
9391
95721191
JN
93922011-03-05 Jonathan Nieder <jrnieder@gmail.com>
9393
9394 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9395 where #ifdef was intended. The intent is to prevent ARG_MAX from
9396 being defined by the kernel headers.
9397
f87dfb1f
UD
93982011-05-07 Ulrich Drepper <drepper@gmail.com>
9399
9400 [BZ #12734]
9401 * resolv/resolv.h: Define RES_NOTLDQUERY.
9402 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9403 no-tld-query and set RES_NOTLDQUERY.
9404 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9405 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9406 modern BIND to search name as TLD unless forbidden.
9407
47c3cd7a
UD
94082011-05-07 Petr Baudis <pasky@suse.cz>
9409 Ulrich Drepper <drepper@gmail.com>
9410
9411 [BZ #12393]
9412 * elf/dl-load.c (fillin_rpath): Move trusted path check...
9413 (is_trusted_path): ...to here.
c1e9ea35 9414 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 9415 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 9416 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 9417
8a35c912
PP
94182011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9419
9420 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9421 __BEGIN/__END_DECLS.
9422
acd41f47
UD
94232011-05-06 Ulrich Drepper <drepper@gmail.com>
9424
9425 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9426 NSS_STATUS_NOTFOUND if no record was found.
9427
597df647
AS
94282011-05-05 Andreas Schwab <schwab@redhat.com>
9429
9430 * sunrpc/Makefile (headers): Add rpc/netdb.h.
9431 (headers-not-in-tirpc): Remove rpc/netdb.h
9432 * resolv/netdb.h: Revert last change.
9433
b9af1301
PP
94342011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9435
9436 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9437 circular dependency between libgcc.a and libc.a.
9438
4e34d5f5
AS
94392011-05-05 Andreas Schwab <schwab@redhat.com>
9440
9441 * resolv/netdb.h: Don't include <rpc/netdb.h>.
9442 * nis/Makefile: Don't install rpcsvc/*.
9443 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9444 instead of <rpc/types.h>.
9445 (MAXHOSTNAMELEN): Define.
9446
00ee369c
AS
94472011-05-03 Andreas Schwab <schwab@redhat.com>
9448
9449 * elf/ldconfig.c (add_dir): Don't crash on empty path.
9450
0b592a30
MB
94512011-04-28 Maciej Babinski <mbabinski@google.com>
9452
9453 [BZ #12714]
9454 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9455 gethostbyname4_r when IPv6 results are possible.
9456
6e04cbbe
UD
94572011-05-02 Ulrich Drepper <drepper@gmail.com>
9458
9459 [BZ #12723]
9460 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9461 _PC_PIPE_BUF handling.
9462
e4ecafe0
BH
94632011-04-30 Bruno Haible <bruno@clisp.org>
9464
9465 [BZ #12717]
9466 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9467 * resolv/netdb.h (getnameinfo): Change type of flags parameter
9468 to 'int'.
9469 * inet/getnameinfo.c (getnameinfo): Likewise.
9470
125ee683
UD
94712011-04-29 Ulrich Drepper <drepper@gmail.com>
9472
9473 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9474 to groups setting in database lookup.
9475 * nss/nsswitch.conf: Add initgroups entry.
9476
b722481a
EB
94772011-04-22 Ulrich Drepper <drepper@gmail.com>
9478
9479 [BZ #12685]
9480 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9481 mode string.
9482 Patch by Eric Blake <eblake@redhat.com>.
9483
4df46dbd
L
94842011-04-20 H.J. Lu <hongjiu.lu@intel.com>
9485
9486 * sunrpc/Makefile (need-export-routines): Add svc_run.
9487 (routines): Remove svc_run.
9488 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9489 * sunrpc/clnt_perr.c (clnt_perrno): Export.
9490 * sunrpc/svc_run.c (svc_run): Likewise.
9491 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9492
e84142d2
UD
94932011-04-21 Ulrich Drepper <drepper@gmail.com>
9494
9495 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9496 problem in reallocation in last patch.
9497
877175d8
UD
94982011-04-20 Ulrich Drepper <drepper@gmail.com>
9499
9500 * sunrpc/Makefile: Move inclusion of Rules.
9501
ab8eed78
UD
95022011-04-19 Ulrich Drepper <drepper@gmail.com>
9503
9504 * nss/nss_files/files-initgroups.c: New file.
9505 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9506 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9507 _nss_files_initgroups_dyn.
9508
e3d8f584
RS
95092011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9510
9511 * elf/elf.h (R_ARM_IRELATIVE): Define.
9512
af190f45
UD
95132011-04-19 Ulrich Drepper <drepper@gmail.com>
9514
9515 * po/ru.po: Update from translation team.
9516
53cf59ef
UD
95172011-04-17 Ulrich Drepper <drepper@gmail.com>
9518
9519 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9520 dependencies.
9521
4c559bcd
MF
95222011-02-06 Mike Frysinger <vapier@gentoo.org>
9523
9524 [BZ #12653]
9525 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9526 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9527 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9528 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9529 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9530
4420675c
AS
95312011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9532
9533 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9534 differing bytes.
9535 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9536 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9537 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9538
75ea32ab
UD
95392011-04-17 Ulrich Drepper <drepper@gmail.com>
9540
9541 [BZ #12420]
9542 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9543 storing it.
9544 * stdlib/bug-getcontext.c: New file.
9545 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9546
27390476
AK
95472011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9548
9549 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9550 instructions into .machine "z9-109".
9551 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9552 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9553
10442705
AK
95542011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9555
9556 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9557 between environment variables and auxiliary vector.
9558
7b57bfe5
UD
95592011-04-16 Ulrich Drepper <drepper@gmail.com>
9560
9561 * Makefile: Add rules to build linkobj/libc.so.
9562 * include/libc-symbols.h: Define libc_hidden_nolink.
9563 * include/rpc/auth.h: Mark functions which are to be hidden.
9564 * include/rpc/auth_des.h: Likewise.
9565 * include/rpc/auth_unix.h: Likewise.
9566 * include/rpc/clnt.h: Likewise.
9567 * include/rpc/des_crypt.h: Likewise.
9568 * include/rpc/key_prot.h: Likewise.
9569 * include/rpc/pmap_clnt.h: Likewise.
9570 * include/rpc/pmap_prot.h: Likewise.
9571 * include/rpc/pmap_rmt.h: Likewise.
9572 * include/rpc/rpc_msg.h: Likewise.
9573 * include/rpc/svc.h: Likewise.
9574 * include/rpc/svc_auth.h: Likewise.
9575 * include/rpc/xdr.h: Likewise.
9576 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9577 * nss/Makefile: Likewise.
9578 * sunrpc/Makefile: Don't install headers. Build library with normal
9579 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9580 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9581 for the compat linking library. Remove use of INTDEF/INTUSE.
9582 * sunrpc/auth_none.c: Likewise.
9583 * sunrpc/auth_unix.c: Likewise.
9584 * sunrpc/authdes_prot.c: Likewise.
9585 * sunrpc/authuxprot.c: Likewise.
9586 * sunrpc/clnt_gen.c: Likewise.
9587 * sunrpc/clnt_perr.c: Likewise.
9588 * sunrpc/clnt_raw.c: Likewise.
9589 * sunrpc/clnt_simp.c: Likewise.
9590 * sunrpc/clnt_tcp.c: Likewise.
9591 * sunrpc/clnt_udp.c: Likewise.
9592 * sunrpc/clnt_unix.c: Likewise.
9593 * sunrpc/des_crypt.c: Likewise.
9594 * sunrpc/des_soft.c: Likewise.
9595 * sunrpc/get_myaddr.c: Likewise.
9596 * sunrpc/key_call.c: Likewise.
9597 * sunrpc/key_prot.c: Likewise.
9598 * sunrpc/netname.c: Likewise.
9599 * sunrpc/pm_getmaps.c: Likewise.
9600 * sunrpc/pm_getport.c: Likewise.
9601 * sunrpc/pmap_clnt.c: Likewise.
9602 * sunrpc/pmap_prot.c: Likewise.
9603 * sunrpc/pmap_prot2.c: Likewise.
9604 * sunrpc/pmap_rmt.c: Likewise.
9605 * sunrpc/publickey.c: Likewise.
9606 * sunrpc/rpc_cmsg.c: Likewise.
9607 * sunrpc/rpc_common.c: Likewise.
9608 * sunrpc/rpc_dtable.c: Likewise.
9609 * sunrpc/rpc_prot.c: Likewise.
9610 * sunrpc/rpc_thread.c: Likewise.
9611 * sunrpc/rtime.c: Likewise.
9612 * sunrpc/svc.c: Likewise.
9613 * sunrpc/svc_auth.c: Likewise.
9614 * sunrpc/svc_authux.c: Likewise.
9615 * sunrpc/svc_raw.c: Likewise.
9616 * sunrpc/svc_run.c: Likewise.
9617 * sunrpc/svc_simple.c: Likewise.
9618 * sunrpc/svc_tcp.c: Likewise.
9619 * sunrpc/svc_udp.c: Likewise.
9620 * sunrpc/svc_unix.c: Likewise.
9621 * sunrpc/svcauth_des.c: Likewise.
9622 * sunrpc/xcrypt.c: Likewise.
9623 * sunrpc/xdr.c: Likewise.
9624 * sunrpc/xdr_array.c: Likewise.
9625 * sunrpc/xdr_float.c: Likewise.
9626 * sunrpc/xdr_intXX_t.c: Likewise.
9627 * sunrpc/xdr_mem.c: Likewise.
9628 * sunrpc/xdr_rec.c: Likewise.
9629 * sunrpc/xdr_ref.c: Likewise.
9630 * sunrpc/xdr_sizeof.c: Likewise.
9631 * sunrpc/xdr_stdio.c: Likewise.
9632
e6c61494
UD
96332011-04-10 Ulrich Drepper <drepper@gmail.com>
9634
9635 [BZ #12650]
9636 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9637 * sysdeps/ia64/dl-tls.h: Likewise.
9638 * sysdeps/powerpc/dl-tls.h: Likewise.
9639 * sysdeps/s390/dl-tls.h: Likewise.
9640 * sysdeps/sh/dl-tls.h: Likewise.
9641 * sysdeps/sparc/dl-tls.h: Likewise.
9642 * sysdeps/x86_64/dl-tls.h: Likewise.
9643 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9644
34fe483e
AS
96452011-03-14 Andreas Schwab <schwab@redhat.com>
9646
9647 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9648 rpath element also skip the following colon.
9649 (expand_dynamic_string_token): Add is_path parameter and pass
9650 down to DL_DST_REQUIRED and _dl_dst_substitute.
9651 (decompose_rpath): Call expand_dynamic_string_token with
9652 non-zero is_path. Ignore empty rpaths.
9653 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9654 with zero is_path.
9655
f12a32e6
AS
96562011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9657
9658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9659 Make cancelable.
9660
38a7d692
UD
96612011-04-09 Ulrich Drepper <drepper@gmail.com>
9662
9663 [BZ #12655]
9664 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9665 Patch by Filipe David Manana <fdmanana@apache.org>.
9666
e451d22b
AS
96672011-04-07 Andreas Schwab <schwab@redhat.com>
9668
9669 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9670 Maintain aligned stack.
9671 (CHECK_RSP): Remove unused macro.
9672
dedc7c7b
UD
96732011-04-03 Ulrich Drepper <drepper@gmail.com>
9674
9675 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9676 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9677
94521213
UD
96782011-04-02 Ulrich Drepper <drepper@gmail.com>
9679
9680 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9681
8cb700c0 9682 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 9683
0354e355
L
96842011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9685
9686 [BZ #12518]
9687 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9688 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9689 * sysdeps/x86_64/memmove.c: New file.
9690 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9691 (memcpy): Renamed to ...
9692 (__new_memcpy): This.
9693 (memcpy): Provide GLIBC_2_14 memcpy.
9694 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9695 (memcpy): Provide GLIBC_2_2_5 memcpy.
9696
8593482f
UD
96972011-04-01 Ulrich Drepper <drepper@gmail.com>
9698
9699 [BZ #12631]
9700 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9701
81a5726b
AS
97022011-03-30 Andreas Schwab <schwab@redhat.com>
9703
9704 * misc/syncfs.c: New file.
9705 * misc/Makefile (routines): Add syncfs.
9706 * posix/unistd.h: Declare syncfs.
9707 * sysdeps/unix/syscalls.list: Add syncfs.
9708
00e5419f
AS
97092011-04-01 Andreas Schwab <schwab@redhat.com>
9710
9711 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9712 open_by_handle_at.
9713 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9714 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9715 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9716 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9717 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9718 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9719 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9720
748876bf
UD
97212011-04-01 Ulrich Drepper <drepper@gmail.com>
9722
658e451d
UD
9723 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9724 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9725 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9726 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9727 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9728 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9729 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9730
748876bf
UD
9731 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9732 sync_file_range.c with -fexceptions.
9733 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9734 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9735 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9736 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9737 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9738 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9739 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
9740 sync_file_range as cancellation point
9741 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9742 now a wrapper around __call_sync_file_range with cancellation handling.
9743 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9744 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9745 function name to __call_sync_file_range.
9746 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9747 Add call_sync_file_range.
748876bf 9748
6e63d5e1
AS
97492011-04-01 Andreas Schwab <schwab@redhat.com>
9750
9751 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 9752 bits/timex.h.
6e63d5e1 9753
46998f74
UD
97542011-04-01 Ulrich Drepper <drepper@gmail.com>
9755
4c1423ed
UD
9756 * iconv/iconv.h: Fix typo in comment.
9757 * io/fcntl.h: Likewise.
9758 * libio/stdio.h: Likewise.
9759 * posix/spawn.h: Likewise.
9760 * posix/unistd.h: Likewise.
9761 * stdlib/stdlib.h: Likewise.
9762 * time/time.h: Likewise.
9763 * wcsmbs/wchar.h: Likewise.
9764
158648c0
UD
9765 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9766 open_by_handle): Add.
9767 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9768 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9769 Augment a few comments.
9770 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9771 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9772 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9773 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9774 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9775 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9776 open_by_handle.
9777
46998f74
UD
9778 * io/fcntl.h (AT_EMPTY_PATH): Define.
9779
83fe108b
UD
97802011-03-30 Ulrich Drepper <drepper@gmail.com>
9781
9782 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9783 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9784 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9785 to...
9786 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
9787 * Versions.def: Add GLIBC_2.14.
9788 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9789 Export.
83fe108b 9790
bb242059
UD
97912011-03-22 Ulrich Drepper <drepper@gmail.com>
9792
9793 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9794 round counter.
9795 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9796
c97a1282
L
97972011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9798
9799 [BZ #12597]
9800 * string/test-strncmp.c (do_page_test): New function.
9801 (check2): Likewise.
9802 (test_main): Call check2.
9803 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9804
2a115601
UD
98052011-03-20 Ulrich Drepper <drepper@gmail.com>
9806
9807 [BZ #12587]
9808 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9809 Handle cache information in CPU leaf 4.
9810 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9811
8126d904
UD
98122011-03-18 Ulrich Drepper <drepper@gmail.com>
9813
042c49c6 9814 [BZ #12583]
8126d904
UD
9815 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9816 character representation.
9817 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9818
ccfe366e
RA
98192011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9820
9821 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9822 END(__isnan) to END(__isnanf) to match function entry point/label
9823 EALIGN(__isnanf,...).
9824
c6e13027
JJ
98252011-03-10 Jakub Jelinek <jakub@redhat.com>
9826
9827 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9828
33f85a3f
UD
98292011-03-10 Ulrich Drepper <drepper@gmail.com>
9830
028478fa
UD
9831 [BZ #12510]
9832 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9833 copy from the symbol referenced in the relocation to initialize the
9834 used variable.
9835 Patch by Piotr Bury <pbury@goahead.com>.
9836 * elf/Makefile: Add rules to build and tst-unique3.
9837 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9838 * elf/tst-unique3.cc: New file.
9839 * elf/tst-unique3.h: New file.
9840 * elf/tst-unique3lib.cc: New file.
9841 * elf/tst-unique3lib2.cc: New file.
9842
33f85a3f
UD
9843 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9844
03592fc7
MF
98452011-03-10 Mike Frysinger <vapier@gentoo.org>
9846
9847 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9848 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9849 to _start.
03592fc7 9850
6a5ee102
UD
98512011-03-06 Ulrich Drepper <drepper@gmail.com>
9852
9853 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9854 to-be-loaded object along a path to loader is ld.so.
9855
7e4ba49c
HJ
98562011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9857 Ulrich Drepper <drepper@gmail.com>
9858
9859 * sysdeps/x86_64/memset.S: After aligning destination, code
9860 branches to different locations depending on the value of
9861 misalignment, when multiarch is enabled. Fix this.
9862
98632011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9864
9865 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9866 Set _x86_64_preferred_memory_instruction for AMD processsors.
9867 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9868 Set bit_Prefer_SSE_for_memop for AMD processors.
9869
13a804de
UD
98702011-03-04 Ulrich Drepper <drepper@gmail.com>
9871
9872 * libio/fmemopen.c (fmemopen): Optimize a bit.
9873
9d25c392
AS
98742011-03-03 Andreas Schwab <schwab@redhat.com>
9875
9876 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9877
a5543c6a
RM
98782011-03-03 Roland McGrath <roland@redhat.com>
9879
9880 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9881
012d35f7
DM
98822011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9883
7e4ba49c 9884 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
9885 __bzero_ultra1 instead of __memset_ultra1.
9886
4bff6e01
AS
98872011-02-23 Andreas Schwab <schwab@redhat.com>
9888 Ulrich Drepper <drepper@gmail.com>
9889
9890 [BZ #12509]
9891 * include/link.h (struct link_map): Add l_orig_initfini.
9892 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9893 returning unsuccessfully.
9894 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9895 close of a file loaded at startup, restore the original l_initfini
9896 list.
9897 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9898 list, store the pointer.
9899 * elf/Makefile ($(objpfx)noload-mem): New rule.
9900 (noload-ENV): Define.
9901 (tests): Add $(objpfx)noload-mem.
9902 * elf/noload.c: Include <memcheck.h>.
9903 (main): Call mtrace. Close all opened handles.
9904
f2092faf
AS
99052011-02-17 Andreas Schwab <schwab@redhat.com>
9906
9907 [BZ #12454]
9908 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9909 dependencies are missing.
9910
6c8a2e88
ST
99112011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9912
f2092faf 9913 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
9914 Hurd needs munmap.
9915 * sysdeps/mach/hurd/ifreq.h: New file.
9916
84a42118
PB
99172011-01-27 Petr Baudis <pasky@suse.cz>
9918 Ulrich Drepper <drepper@gmail.com>
9919
071f805e 9920 [BZ 12445]#
84a42118
PB
9921 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9922 to extend_alloca().
9923 * stdio-common/bug23.c: New file.
9924 * stdio-common/Makefile (tests): Add bug23.
9925
e23fe25b
AS
99262010-09-28 Andreas Schwab <schwab@redhat.com>
9927 Ulrich Drepper <drepper@gmail.com>
9928
9929 [BZ #12489]
9930 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9931 before performing relro protection. At old place add assertion
9932 to make sure nothing changed.
9933
d3f02e10
NS
99342011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9935 Glauber de Oliveira Costa <glommer@gmail.com>
9936
9937 * elf/elf.h: Add new ARM TLS relocs.
9938
d55fd7a5
RA
99392011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9940
9941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9942 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9943 cast from r3.
9944 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9945 'tests' variable.
9946 * sysdeps/wordsize-64/tst-writev.c: New file.
9947
2206397e
RA
99482011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9949
9950 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9951 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9952 insns in _dl_start to prevent a TOC reference before relocs are
9953 resolved.
9954
e9433893
UD
99552011-02-15 Ulrich Drepper <drepper@gmail.com>
9956
9957 [BZ #12469]
9958 * Makeconfig: Remove RANLIB definition.
9959 * Makerules: Don't use RANLIB.
9960 * aclocal.m4: Remove ranlib test.
9961 * configure.in: No need to check for ranlib.
9962 * elf/rtld-Rules: Don't use RANLIB.
9963
f75286c6
ST
99642011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9965
8e31c82d
ST
9966 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9967 protection macro.
9968 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9969 inclusion protection macro.
9970
f75286c6
ST
9971 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9972 SIGRTMIN and SIGRTMAX and print information in that case only when
9973 SIGRTMIN is defined.
9974
c1d0e639
JJ
99752011-02-11 Jakub Jelinek <jakub@redhat.com>
9976
9977 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9978 arginfo fn returning -1.
9979
9980 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9981 and thousands string is zero terminated.
9982
edf9294e
AS
99832011-02-03 Andreas Schwab <schwab@redhat.com>
9984
9985 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9986 sysdeps/unix/sysv/linux/bits/socket.h.
9987
2b7e92df
ST
99882011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9989
edf9294e
AS
9990 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9991 (__CPU_COUNT): Remove old macros.
9992 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9993 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9994 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
9995 (__sched_cpualloc, __sched_cpufree): Add declarations.
9996
a4c7ea7b
UD
99972011-02-05 Ulrich Drepper <drepper@gmail.com>
9998
9999 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
10000 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
10001 * nscd/aicache.c (addhstaiX): Return timeout of added value.
10002 (readdhstai): Return value of addhstaiX call.
10003 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
10004 (addgrbyX): Return value returned by cache_addgr.
10005 (readdgrbyname): Return value returned by addgrbyX.
10006 (readdgrbygid): Likewise.
10007 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
10008 (addpwbyX): Return value returned by cache_addpw.
10009 (readdpwbyname): Return value returned by addhstbyX.
10010 (readdpwbyuid): Likewise.
10011 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
10012 (addservbyX): Return value returned by cache_addserv.
10013 (readdservbyname): Return value returned by addservbyX:
10014 (readdservbyport): Likewise.
10015 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
10016 (addhstbyX): Return value returned by cache_addhst.
10017 (readdhstbyname): Return value returned by addhstbyX.
10018 (readdhstbyaddr): Likewise.
10019 (readdhstbynamev6): Likewise.
10020 (readdhstbyaddrv6): Likewise.
10021 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
10022 (readdinitgroups): Return value returned by addinitgroupsX.
10023 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
10024 (prune_cache): Keep track of timeout value of re-added entries.
10025 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
10026 * nscd/nscd.h: Adjust prototypes of readd* functions.
10027
a0bf67cc
RM
100282011-02-04 Roland McGrath <roland@redhat.com>
10029
10030 * nis/nis_server.c (nis_servstate): Use the right name for 0.
10031 (nis_stats): Likewise.
10032 * nis/nis_modify.c (nis_modify): Likewise.
10033 * nis/nis_remove.c (nis_remove): Likewise.
10034 * nis/nis_add.c (nis_add): Likewise.
10035
10036 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
10037
10038 * posix/fnmatch_loop.c: Add some consts.
10039
10040 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
10041
435b95eb
L
100422011-02-02 H.J. Lu <hongjiu.lu@intel.com>
10043
10044 [BZ #12460]
10045 * config.make.in (config-cflags-novzeroupper): Define.
10046 * configure.in: Substitute libc_cv_cc_novzeroupper.
10047 * elf/Makefile (AVX-CFLAGS): Define.
10048 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
10049 (CFLAGS-tst-auditmod4a.c): Likewise.
10050 (CFLAGS-tst-auditmod4b.c): Likewise.
10051 (CFLAGS-tst-auditmod6b.c): Likewise.
10052 (CFLAGS-tst-auditmod6c.c): Likewise.
10053 (CFLAGS-tst-auditmod7b.c): Likewise.
10054 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
10055
8517b15e
UD
100562011-02-02 Ulrich Drepper <drepper@gmail.com>
10057
10058 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
10059 function to the callback.
10060 Patch partly by Jiri Olsa <jolsa@redhat.com>.
10061
10a656fe
AS
100622011-02-02 Andreas Schwab <schwab@redhat.com>
10063
10064 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
10065 of errno.
10066
968dad0a
UD
100672011-01-19 Ulrich Drepper <drepper@gmail.com>
10068
9f94d2ea 10069 [BZ #11724]
968dad0a
UD
10070 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
10071 of constructors.
10072 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
10073 of destructors.
10074 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
10075
10076 [BZ #11724]
10077 * elf/Makefile: Add rules to build and run new test.
10078 * elf/tst-initorder.c: New file.
10079 * elf/tst-initorder.exp: New file.
10080 * elf/tst-initordera1.c: New file.
10081 * elf/tst-initordera2.c: New file.
10082 * elf/tst-initordera3.c: New file.
10083 * elf/tst-initordera4.c: New file.
10084 * elf/tst-initorderb1.c: New file.
10085 * elf/tst-initorderb2.c: New file.
10086 * elf/tst-order-a1.c: New file.
10087 * elf/tst-order-a2.c: New file.
10088 * elf/tst-order-a3.c: New file.
10089 * elf/tst-order-a4.c: New file.
10090 * elf/tst-order-b1.c: New file.
10091 * elf/tst-order-b2.c: New file.
10092 * elf/tst-order-main.c: New file.
10093 New test case by George Gensure <werkt0@gmail.com>.
10094
86e92359
UD
100952010-10-01 Andreas Schwab <schwab@redhat.com>
10096
10097 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10098 decoding ACE if AI_CANONIDN.
10099
5d5732b0
UD
101002011-01-18 Ulrich Drepper <drepper@gmail.com>
10101
10102 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
10103
a77e8cbc
UD
101042011-01-17 Ulrich Drepper <drepper@gmail.com>
10105
6392473f
UD
10106 * version.h (RELEASE): Bump for 2.13 release.
10107 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
10108
620a0529
UD
10109 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
10110
18ba70a5
UD
10111 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
10112 MADV_NOHUGEPAGE.
32465c3e
UD
10113 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
10114 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10115 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10116 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10117 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10118 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10119
c0dafcf1
UD
10120 * posix/getconf.c: Update copyright year.
10121 * catgets/gencat.c: Likewise.
10122 * csu/version.c: Likewise.
10123 * debug/catchsegv.sh: Likewise.
10124 * debug/xtrace.sh: Likewise.
10125 * elf/ldconfig.c: Likewise.
10126 * elf/ldd.bash.in: Likewise.
10127 * elf/sprof.c (print_version): Likewise.
10128 * iconv/iconv_prog.c: Likewise.
10129 * iconv/iconvconfig.c: Likewise.
10130 * locale/programs/locale.c: Likewise.
10131 * locale/programs/localedef.c: Likewise.
10132 * malloc/memusage.sh: Likewise.
10133 * malloc/mtrace.pl: Likewise.
10134 * nscd/nscd.c (print_version): Likewise.
10135 * nss/getent.c: Likewise.
10136
a77e8cbc
UD
10137 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
10138 PF_CAIF, and PF_ALG.
10139 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10140
77e8bddf
AS
101412011-01-16 Andreas Schwab <schwab@linux-m68k.org>
10142
1f20b93a
AS
10143 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
10144 (modules-names): Use them.
10145 (ifunc-test-modules, ifunc-pie-tests): Define.
10146 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10147 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10148 (test-extras): Likewise.
10149 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10150 $(compile-command.c).
10151 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10152 (all-built-dso): Define.
10153 (check-textrel.out, check-execstack.out): Depend on it.
10154
77e8bddf
AS
10155 * configure.in: Don't override --enable-multi-arch.
10156
bc425b33
UD
101572011-01-15 Ulrich Drepper <drepper@gmail.com>
10158
10159 [BZ #6812]
10160 * nscd/hstcache.c (tryagain): Define.
10161 (cache_addhst): Return tryagain not notfound for temporary errors.
10162 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10163 failed.
10164
794c3ad3
UD
101652011-01-14 Ulrich Drepper <drepper@gmail.com>
10166
70181fdd
UD
10167 [BZ #10563]
10168 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10169 to make the syscall.
10170 * sysdeps/unix/sysv/linux/setgroups.c: New file.
10171
794c3ad3
UD
10172 [BZ #12378]
10173 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10174 and fall back to matching as normal character if the string ends before
10175 the matching ']' is found. This is what POSIX requires.
10176 * posix/testfnm.c: Adjust test result.
10177 * posix/globtest.sh: Adjust test result. Add new test.
10178 * posix/tst-fnmatch.input: Likewise.
10179 * posix/tst-fnmatch2.c: Add new test.
10180
68dc9497
AS
101812010-12-28 Andreas Schwab <schwab@linux-m68k.org>
10182
10183 * elf/Makefile (check-execstack): Revert last change. Depend on
10184 check-execstack.h.
10185 (check-execstack.h): New target.
10186 (generated): Add check-execstack.h.
10187 * elf/check-execstack.c: Include "check-execstack.h".
10188 (main): Revert last change.
10189 (handle_file): Return zero if GNU_STACK is absent and
10190 DEFAULT_STACK_PERMS doesn't include PF_X.
10191
451f001b
UD
101922011-01-13 Ulrich Drepper <drepper@gmail.com>
10193
cfa28e56
UD
10194 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10195 in child fails because the descriptor is already closed.
8cf8ce17
UD
10196 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10197 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10198 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 10199
1086d70d
UD
10200 [BZ #12397]
10201 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10202 syscall.
10203
451f001b
UD
10204 [BZ #10484]
10205 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10206 temporary buffer used to handle multi lookups locally.
a85b5cb4 10207 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 10208
08769175
UD
102092011-01-12 Ulrich Drepper <drepper@gmail.com>
10210
10211 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10212 loader is ld.so.
10213
5e49c52e
UD
102142011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
10215
10216 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10217 alignment for SSE2.
10218
60522a5f
UD
102192011-01-12 Ulrich Drepper <drepper@gmail.com>
10220
10221 [BZ #12394]
10222 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10223 characters. When rounding increased number of integer digits recompute
10224 number of groups.
10225 * stdio-common/tst-grouping.c: New file.
10226 * stdio-common/Makefile: Add rules to build and run tst-grouping.
10227
f257bbd7
UD
102282011-01-09 Ulrich Drepper <drepper@gmail.com>
10229
10230 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10231 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
10232
10233 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10234 void.
10235 * bits/select.h: Likewise.
10236
fa9c15cb
UD
102372011-01-08 Ulrich Drepper <drepper@gmail.com>
10238
10239 * po/ja.po: Update from translation team.
10240
16c2895f
DM
102412011-01-04 David S. Miller <davem@sunset.davemloft.net>
10242
10243 [BZ #11155]
10244 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10245 implementation just like for lxstat, fxstatat, et al.
10246
2543fef2
JM
102472010-12-27 Jim Meyering <meyering@redhat.com>
10248
10249 [BZ #12348]
10250 * posix/regexec.c (build_trtable): Return failure indication upon
10251 calloc failure. Otherwise, re_search_internal could infloop on OOM.
10252
98727dbe
UD
102532010-12-25 Ulrich Drepper <drepper@gmail.com>
10254
5bd6dc5c
UD
10255 [BZ #12201]
10256 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10257 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10258 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10259 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
10260
97983464
UD
10261 [BZ #12207]
10262 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
10263
98727dbe
UD
10264 [BZ #12204]
10265 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
10266 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
10267
4a531bb0
L
102682010-12-15 H.J. Lu <hongjiu.lu@intel.com>
10269
10270 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
10271 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
10272 script has SORT_BY_INIT_PRIORITY.
10273 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
10274 NO_CTORS_DTORS_SECTIONS is defined.
10275 * elf/soinit.c: Likewise.
10276 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
10277 NO_CTORS_DTORS_SECTIONS is defined.
10278 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
10279 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10280 * sysdeps/sh/init-first.c: Likewise.
10281 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10282
07eb4b71
UD
102832010-12-24 Ulrich Drepper <drepper@gmail.com>
10284
10285 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10286 always use the slow path.
10287
30950a5f
RA
102882010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
10289
10290 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10291 similar rule which adds the sysdep directories to the header search in
10292 order to pick up the correct platform stackinfo.h.
10293 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10294 perform test if it is, otherwise return successfully without testing.
10295 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10296 DEFAULT_STACK_PERMS define in stackinfo.h.
10297 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10298 defined in stackinfo.h.
10299 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10300 DEFAULT_STACK_PERMS defined in stackinfo.h.
10301 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10302 * sysdeps/ia64/stackinfo.h: Likewise.
10303 * sysdeps/s390/stackinfo.h: Likewise.
10304 * sysdeps/sh/stackinfo.h: Likewise.
10305 * sysdeps/sparc/stackinfo.h: Likewise.
10306 * sysdeps/x86_64/stackinfo.h: Likewise.
10307 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10308 PF_X for powerpc64. Retain PF_X for powerpc32.
10309
db753e2c
UD
103102010-12-19 Ulrich Drepper <drepper@gmail.com>
10311
14b697f7
UD
10312 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10313 accurately.
db753e2c
UD
10314 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10315 GETDENTS_64BIT_ALIGNED.
10316
28300719
UD
103172010-12-14 Ulrich Drepper <dreper@gmail.com>
10318
14b697f7 10319 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 10320
4f197237
AS
103212010-12-10 Andreas Schwab <schwab@redhat.com>
10322
dbb0472f
AS
10323 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10324 _GNU_SOURCE.
10325
4f197237
AS
10326 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10327 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10328 Remove __restrict.
10329 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10330 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10331
fb88ac72
UD
103322010-12-09 Ulrich Drepper <drepper@gmail.com>
10333
10334 [BZ #11655]
10335 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10336 are initialized.
10337
42acbb92
JJ
103382010-12-09 Jakub Jelinek <jakub@redhat.com>
10339
10340 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10341
c038d98d
UD
103422010-12-03 Ulrich Drepper <drepper@gmail.com>
10343
10344 * po/it.po: Update from translation team.
10345
3a4a2499
L
103462010-12-01 H.J. Lu <hongjiu.lu@intel.com>
10347
10348 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10349 unused codes.
10350
1e24cf6e
UD
103512010-11-30 Ulrich Drepper <drepper@gmail.com>
10352
10353 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10354
a7690819
AS
103552010-11-24 Andreas Schwab <schwab@redhat.com>
10356
10357 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10358 specially.
10359 (gaih_getanswer_slice): Likewise.
10360
3bf8d1b1
JJ
103612010-10-20 Jakub Jelinek <jakub@redhat.com>
10362
10363 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10364
6db52fbb
PB
103652010-05-31 Petr Baudis <pasky@suse.cz>
10366
10367 [BZ #11149]
10368 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10369 silently even in the chroot mode.
10370
eaca7569
UD
103712010-11-22 Ulrich Drepper <drepper@gmail.com>
10372
10373 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10374 last patch a bit. Pretty printing
10375
3056dcdb
UD
103762010-05-31 Petr Baudis <pasky@suse.cz>
10377
10378 [BZ #10085]
10379 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10380 initialization of skip_initgroups_dyn.
10381
cf7c9078
UD
103822010-11-19 Ulrich Drepper <drepper@gmail.com>
10383
10384 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10385 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10386
a1fb5e3e
UD
103872010-11-16 Ulrich Drepper <drepper@gmail.com>
10388
10389 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10390
3540d66b
AS
103912010-11-11 Andreas Schwab <schwab@redhat.com>
10392
10393 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10394 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10395 (tst-fnmatch-ENV): Set MALLOC_TRACE.
10396 ($(objpfx)tst-fnmatch-mem): New rule.
10397 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10398 * posix/tst-fnmatch.c (main): Call mtrace.
10399
13b69574
L
104002010-11-11 H.J. Lu <hongjiu.lu@intel.com>
10401
10402 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10403 Support Intel processor model 6 and model 0x2c.
10404
da93d214
LM
104052010-11-10 Luis Machado <luisgpm@br.ibm.com>
10406
10407 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10408 signed comparison.
10409
8ca52c6e
L
104102010-11-09 H.J. Lu <hongjiu.lu@intel.com>
10411
10412 [BZ #12205]
10413 * string/test-strncasecmp.c (check_result): New function.
10414 (do_one_test): Use it.
10415 (check1): New function.
10416 (test_main): Use it.
10417 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10418 Support strcasecmp and strncasecmp.
10419
69da074d
UD
104202010-11-08 Ulrich Drepper <drepper@gmail.com>
10421
10422 [BZ #12194]
10423 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10424 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10425
ff02d528
L
104262010-11-07 H.J. Lu <hongjiu.lu@intel.com>
10427
10428 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10429 IFUNC support.
10430 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10431 memset-x86-64.
10432 * sysdeps/x86_64/multiarch/bzero.S: New file.
10433 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10434 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10435 * sysdeps/x86_64/multiarch/memset.S: New file.
10436 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10437 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10438 Set bit_Prefer_SSE_for_memop for Intel processors.
10439 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10440 Define.
10441 (index_Prefer_SSE_for_memop): Define.
10442 (HAS_PREFER_SSE_FOR_MEMOP): Define.
10443
344d0b54
LM
104442010-11-04 Luis Machado <luisgpm@br.ibm.com>
10445
10446 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10447 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10448
c0dde15b
UD
104492010-11-03 H.J. Lu <hongjiu.lu@intel.com>
10450
10451 [BZ #12191]
10452 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10453 (__x86_64_raw_data_cache_size_half): Likewise.
10454 (__x86_64_raw_shared_cache_size): Likewise.
10455 (__x86_64_raw_shared_cache_size_half): Likewise.
10456
10457 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10458 (__x86_64_raw_data_cache_size_half): Likewise.
10459 (__x86_64_raw_shared_cache_size): Likewise.
10460 (__x86_64_raw_shared_cache_size_half): Likewise.
10461 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10462 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10463 and __x86_64_raw_shared_cache_size_half. Round
10464 __x86_64_data_cache_size_half, __x86_64_data_cache_size
10465 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10466 to multiple of 256 bytes.
10467
0e516e0e
MS
104682010-11-03 Ulrich Drepper <drepper@gmail.com>
10469
10470 [BZ #12167]
10471 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10472 of inacessible symlinks. Verify result of symlink before returning it.
10473 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10474 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10475
0e012e87
ER
104762010-10-28 Erich Ritz <erichritz@gmail.com>
10477
10478 * math/math.h (isinf): Fix typo in comment.
10479
de0ff7bc
UD
104802010-11-01 Ulrich Drepper <drepper@gmail.com>
10481
10482 * po/da.po: Update from translation team.
10483
fa41c84d
UD
104842010-10-26 Ulrich Drepper <drepper@gmail.com>
10485
10486 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10487 is added to the list.
10488
f0967738
AK
104892010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10490 Ulrich Drepper <drepper@gmail.com>
10491
10492 * elf/dl-object.c (_dl_new_object): Don't append the new object to
10493 the global list here. Move code to...
10494 (_dl_add_to_namespace_list): ...here. New function.
10495 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10496 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10497 * elf/dl-load.c (lose): Don't remove the element from the list.
10498 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10499 (_dl_map_object): Likewise.
10500
105012010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
10502
10503 [BZ #12159]
10504 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10505 into all bytes of SSE register.
10506 Patch by Richard Li <richardpku@gmail.com>.
10507
f0967738 105082010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
10509
10510 [BZ #12140]
10511 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10512 perturbing.
10513
d0b9e94f
MB
105142010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10515
10516 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10517 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10518 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10519 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10521 submachine.
10522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10523
8e9f92e9
AS
105242010-10-22 Andreas Schwab <schwab@redhat.com>
10525
10526 * include/dlfcn.h (__RTLD_SECURE): Define.
10527 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10528 mode & __RTLD_SECURE instead.
10529 (open_path): Rename preloaded parameter to secure.
10530 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10531 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10532 * elf/dl-deps.c (openaux): Likewise.
10533 * elf/rtld.c (struct map_args): Remove is_preloaded.
10534 (map_doit): Don't use it.
10535 (dl_main): Likewise.
10536 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10537 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10538
bc96fbda
AS
105392010-09-09 Andreas Schwab <schwab@redhat.com>
10540
10541 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10542 (sysd-rules-targets): Remove duplicates.
10543 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10544 rtld-%.$o dependency.
10545
22cd1c9b
AS
105462010-10-18 Andreas Schwab <schwab@redhat.com>
10547
10548 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10549 _dl_map_object do it.
10550
18edac48
UD
105512010-10-19 Ulrich Drepper <drepper@gmail.com>
10552
10553 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10554 fast fma builtins, define the macros in the C99 standard.
10555 (FP_FAST_FMAF): Likewise.
10556 (FP_FAST_FMAL): Likewise.
10557 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10558
10559 * bits/mathdef.h: Update copyright year.
10560 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10561
d2050124
MM
105622010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10563
10564 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10565 builtins, define the macros in the C99 standard.
10566 (FP_FAST_FMAF): Likewise.
10567 (FP_FAST_FMAL): Likewise.
10568 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10569 multiply/add.
10570 (FP_FAST_FMAF): Likewise.
10571
475facd1
JJ
105722010-10-15 Jakub Jelinek <jakub@redhat.com>
10573
10574 [BZ #3268]
10575 * math/libm-test.inc (fma_test): Some new testcases.
10576 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10577 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10578 y and infinite z. Do multiplication by C already in long double.
10579 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10580 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10581 y and infinite z. Do bitwise or of inexact bit into u.d.
10582 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10583 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10584 * sysdeps/i386/fpu/s_fma.S: Removed.
10585 * sysdeps/i386/fpu/s_fmal.S: Removed.
10586
7c08a05c
JJ
105872010-10-16 Jakub Jelinek <jakub@redhat.com>
10588
10589 [BZ #3268]
10590 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10591 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10592 computation is not scheduled after fetestexcept. Fix value
10593 of minimum denormal long double.
10594
f3f7372d
JJ
105952010-10-14 Jakub Jelinek <jakub@redhat.com>
10596
10597 [BZ #3268]
10598 * math/libm-test.inc (fma_test): Add some more tests.
10599 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10600 correctly.
10601
14d43591
AS
106022010-10-15 Andreas Schwab <schwab@redhat.com>
10603
10604 * scripts/data/localplt-s390-linux-gnu.data: New file.
10605 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10606
5e908464
JJ
106072010-10-13 Jakub Jelinek <jakub@redhat.com>
10608
10609 [BZ #3268]
10610 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10611 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10612 instead of dbl-64.
10613 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10614 inlines.
10615 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10616 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10617 if one of x and y is very large and the other is subnormal.
10618 * sysdeps/s390/fpu/s_fmaf.c: New file.
10619 * sysdeps/s390/fpu/s_fma.c: New file.
10620 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10621 * sysdeps/powerpc/fpu/s_fma.S: New file.
10622 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10623 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10624 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10625
106262010-10-12 Jakub Jelinek <jakub@redhat.com>
10627
10628 [BZ #3268]
10629 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10630 fma tests.
10631 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10632 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10633 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10634 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10635 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10636 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10637 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10638
b833d51f
UD
106392010-10-12 Ulrich Drepper <drepper@redhat.com>
10640
10641 [BZ #12078]
10642 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10643 * posix/bug-regex31.input: Add test case.
10644
1751705d
UD
106452010-10-11 Ulrich Drepper <drepper@gmail.com>
10646
e9b9cbf5
UD
10647 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10648 * posix/bug-regex31.input: New file.
10649
10650 [BZ #12078]
10651 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10652 (parse_sub_exp): Fix last change, use postorder.
10653
ef06edbe
UD
10654 * posix/bug-regex31.c: New file.
10655 * posix/Makefile: Add rules to build and run bug-regex31.
10656
a129c80d
UD
10657 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10658
10659 [BZ #12078]
10660 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10661
b76b818e
UD
10662 [BZ #12108]
10663 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10664 to have entries in sys_siglist.
10665
1751705d
UD
10666 [BZ #12093]
10667 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10668 be NULL.
10669
9ff8d36f
JJ
106702010-10-07 Jakub Jelinek <jakub@redhat.com>
10671
10672 [BZ #3268]
10673 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10674 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10675 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10676 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10677 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10678 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10679 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10680 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10681 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10682 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10683 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10684 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10685 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10686 * math/ftestexcept.c (fetestexcept): Likewise.
10687 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10688 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10689 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10690 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10691 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10692 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10693 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10694
af325969
UD
106952010-10-11 Ulrich Drepper <drepper@gmail.com>
10696
c579b202 10697 [BZ #12107]
af325969
UD
10698 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10699 newline.
10700
67a67b95
UD
107012010-10-06 Ulrich Drepper <drepper@gmail.com>
10702
10703 * string/bug-strstr1.c: New file.
10704 * string/Makefile: Add rules to build and run bug-strstr1.
10705
5fb308bc
EB
107062010-10-05 Eric Blake <eblake@redhat.com>
10707
10708 [BZ #12092]
10709 * string/str-two-way.h (two_way_long_needle): Always clear memory
10710 when skipping input due to the shift table.
10711
45db99c7
UD
107122010-10-03 Ulrich Drepper <drepper@gmail.com>
10713
3b111893
UD
10714 [BZ #12005]
10715 * malloc/mcheck.c: Handle large requests.
10716
45db99c7
UD
10717 [BZ #12077]
10718 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10719 for strncmp and strncasecmp.
10720 * string/stratcliff.c: Add tests for strcmp and strncmp.
10721 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10722
cf7a1eb8
NI
107232010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10724
10725 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10726 __set_fpscr.
10727
6484ba5e
AJ
107282010-09-30 Andreas Jaeger <aj@suse.de>
10729
10730 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10731 (CGROUP_SUPER_MAGIC): Define.
10732 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10733 Handle btrfs and cgroup file systems.
10734 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10735 Likewise.
10736
91c42559
LM
107372010-09-27 Luis Machado <luisgpm@br.ibm.com>
10738
10739 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10740 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10741
87a97932
AK
107422010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10743
10744 [BZ #12067]
10745 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10746 trying to locate the ELF header.
10747
c21cc9bc
AS
107482010-09-27 Andreas Schwab <schwab@redhat.com>
10749
10750 [BZ #11611]
10751 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10752 Mask out sign-bit copies when constructing f_fsid.
10753
315970f6
PB
107542010-09-24 Petr Baudis <pasky@suse.cz>
10755
10756 * debug/stack_chk_fail_local.c: Add missing licence exception.
10757 * debug/warning-nop.c: Likewise.
10758
1ac7a2c7
JM
107592010-09-15 Joseph Myers <joseph@codesourcery.com>
10760
10761 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10762 implementing getdents64 using getdents syscall, set d_type if
10763 __ASSUME_GETDENTS32_D_TYPE.
10764
56801c50
AS
107652010-09-16 Andreas Schwab <schwab@redhat.com>
10766
10767 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10768 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10769
dda51327
UD
107702010-09-21 Ulrich Drepper <drepper@redhat.com>
10771
10772 [BZ #12037]
10773 * posix/unistd.h: Undo change of feature selection for ftruncate from
10774 2010-01-11.
10775
8ffcee4a
UD
107762010-09-20 Ulrich Drepper <drepper@redhat.com>
10777
a545ecd9 10778 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
10779 detection.
10780
e24f0a8b
AS
107812010-09-20 Andreas Schwab <schwab@redhat.com>
10782
10783 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10784 fanotify_mark.
10785 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10786
7291c56f
AS
107872010-09-14 Andreas Schwab <schwab@redhat.com>
10788
10789 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10790 variables after CHECK_SP call.
10791 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10792
bc5fb037
AS
107932010-09-13 Andreas Schwab <schwab@redhat.com>
10794 Ulrich Drepper <drepper@redhat.com>
10795
10796 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10797 re-relocationg ld.so.
10798 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10799 _dl_init_paths call.
10800 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10801 here anymore.
10802
e66e7419
UD
108032010-09-14 Ulrich Drepper <drepper@redhat.com>
10804
10805 * resolv/res_init.c (__res_vinit): Count the default server we added.
10806
c044aa75
CLT
108072010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10808 Ulrich Drepper <drepper@redhat.com>
10809
10810 [BZ #11968]
10811 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10812 (____longjmp_chk): Use %ebx for saving value across system call.
10813 Add unwind info.
10814
32cf4069
AS
108152010-09-06 Andreas Schwab <schwab@redhat.com>
10816
10817 * manual/Makefile: Don't mix pattern rules with normal rules.
10818
817328ee
AS
108192010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10820
10821 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10822 operation.
10823 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10824 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10825 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10826 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10827 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10828 Likewise.
10829
29fddf61
UD
108302010-09-04 Ulrich Drepper <drepper@redhat.com>
10831
10832 [BZ #11979]
10833 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10834 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10835
0959ffc9
UD
108362010-09-02 Ulrich Drepper <drepper@redhat.com>
10837
10838 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10839 * sysdeps/x86_64/addmul_1.S: Likewise.
10840 * sysdeps/x86_64/lshift.S: Likewise.
10841 * sysdeps/x86_64/mul_1.S: Likewise.
10842 * sysdeps/x86_64/rshift.S: Likewise.
10843 * sysdeps/x86_64/sub_n.S: Likewise.
10844 * sysdeps/x86_64/submul_1.S: Likewise.
10845
ece29840
ST
108462010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10847
0959ffc9
UD
10848 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10849 Define __sched_param instead of SCHED_* and sched_param when
ece29840 10850 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 10851 * bits/sched.h [__need_schedparam]
ece29840 10852 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
10853 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10854 (__defined_schedparam): Define to 1.
ece29840
ST
10855 (__sched_param): New structure, identical to sched_param.
10856 (__need_schedparam): Undefine.
10857
e53a31fe
MF
108582010-08-31 Mike Frysinger <vapier@gentoo.org>
10859
fdc0c10d
MF
10860 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10861 (epoll_create1): Declare.
10862
e53a31fe
MF
10863 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10864
a726d796
AS
108652010-08-31 Andreas Schwab <schwab@redhat.com>
10866
10867 [BZ #7066]
10868 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10869 shifting retval into place.
10870
2f3e3dc7
UD
108712010-09-01 Ulrich Drepper <drepper@redhat.com>
10872
f2933da9
UD
10873 * nis/rpcsvc/nis.h: Update copyright notice.
10874 * nis/rpcsvc/nis.x: Likewise.
10875 * nis/rpcsvc/nis_callback.h: Likewise.
10876 * nis/rpcsvc/nis_callback.x: Likewise.
10877 * nis/rpcsvc/nis_object.x: Likewise.
10878 * nis/rpcsvc/nis_tags.h: Likewise.
10879 * nis/rpcsvc/yp.h: Likewise.
10880 * nis/rpcsvc/yp.x: Likewise.
10881 * nis/rpcsvc/ypupd.h: Likewise.
10882 * nis/yp_xdr.c: Likewise.
10883 * nis/ypupdate_xdr.c: Likewise.
10884
2f3e3dc7
UD
10885 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10886 mainly the body of pmap_getport. Add parameters to specify timeouts.
10887 (pmap_getport): Use __libc_rpc_getport.
10888 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10889 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10890 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10891
f3dcc2f9
AS
108922010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10893
10894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10895 fanotify_mark.
10896
6d34eb5b
RM
108972010-08-27 Roland McGrath <roland@redhat.com>
10898
10899 * sysdeps/i386/i686/multiarch/Makefile
10900 (CFLAGS-varshift.c): New variable.
10901
9ea3de11
UD
109022010-08-27 Ulrich Drepper <drepper@redhat.com>
10903
c96d23fc
UD
10904 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10905 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10906
9ea3de11
UD
10907 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10908
10909 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10910
623aac7f
L
109112010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10912
10913 * sysdeps/x86_64/strlen.S: Unroll the loop.
10914 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10915 strlen-sse2 strlen-sse2-bsf.
10916 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10917 __strlen_no_bsf if bit_Slow_BSF is set.
10918 (__strlen_sse42): Removed.
10919 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10920 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10921
8b2b7715
RM
109222010-08-25 Roland McGrath <roland@redhat.com>
10923
10924 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10925 * sysdeps/x86_64/multiarch/varshift.c: New file.
10926 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10927 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10928 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10929 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10930
e73015f2
L
109312010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10932
10933 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10934 strlen-sse2 strlen-sse2-bsf.
10935 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10936 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10937 (__strlen_sse2): Removed.
10938 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10939 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10940 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10941 bit_Slow_BSF for Atom.
10942 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10943 (index_Slow_BSF): Define.
10944 (HAS_SLOW_BSF): Define.
10945
df24a73e
UD
109462010-08-25 Ulrich Drepper <drepper@redhat.com>
10947
10948 [BZ #10851]
10949 * resolv/res_init.c (__res_vinit): When no server address at all
10950 is given default to loopback.
10951
f2ac4868
RM
109522010-08-24 Roland McGrath <roland@redhat.com>
10953
09055553
RM
10954 * configure.in: Remove config-name.h generation.
10955 * configure: Regenerated.
10956 * config-name.in: File removed.
10957 * scripts/config-uname.sh: New file.
10958 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10959 ($(objdir)config-name.h): New target.
10960
f2ac4868
RM
10961 * sunrpc/rpc_parse.h: Avoid nested comment.
10962
73f27d5e
RH
109632010-08-24 Richard Henderson <rth@redhat.com>
10964 Ulrich Drepper <drepper@redhat.com>
10965 H.J. Lu <hongjiu.lu@intel.com>
10966
10967 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10968 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10969 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10970 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10971 _mm_alignr_epi8 with _mm_loadu_si128.
10972 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10973 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10974 (__m128i_shift_right): Removed.
10975 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10976 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10977 * sysdeps/x86_64/multiarch/varshift.h: New file.
10978 * sysdeps/x86_64/multiarch/varshift.S: New file.
10979
84b9230c
MF
109802010-08-21 Mike Frysinger <vapier@gentoo.org>
10981
10982 * configure.in: Move assembler checks to before sysdep dir checking.
10983
9bbd0ddc
PB
109842010-08-20 Petr Baudis <pasky@suse.cz>
10985
10986 * LICENSES: Sync the sunrpc license.
10987
9da4bb31
UD
109882010-08-19 Ulrich Drepper <drepper@redhat.com>
10989
a7ab6ec8
UD
10990 * sunrpc/auth_des.c: Update copyright notice once again.
10991 * sunrpc/auth_none.c: Likewise.
10992 * sunrpc/auth_unix.c: Likewise.
10993 * sunrpc/authdes_prot.c: Likewise.
10994 * sunrpc/authuxprot.c: Likewise.
10995 * sunrpc/bindrsvprt.c: Likewise.
10996 * sunrpc/clnt_gen.c: Likewise.
10997 * sunrpc/clnt_perr.c: Likewise.
10998 * sunrpc/clnt_raw.c: Likewise.
10999 * sunrpc/clnt_simp.c: Likewise.
11000 * sunrpc/clnt_tcp.c: Likewise.
11001 * sunrpc/clnt_udp.c: Likewise.
11002 * sunrpc/clnt_unix.c: Likewise.
11003 * sunrpc/des_crypt.c: Likewise.
11004 * sunrpc/des_soft.c: Likewise.
11005 * sunrpc/get_myaddr.c: Likewise.
11006 * sunrpc/getrpcport.c: Likewise.
11007 * sunrpc/key_call.c: Likewise.
11008 * sunrpc/key_prot.c: Likewise.
11009 * sunrpc/openchild.c: Likewise.
11010 * sunrpc/pm_getmaps.c: Likewise.
11011 * sunrpc/pm_getport.c: Likewise.
11012 * sunrpc/pmap_clnt.c: Likewise.
11013 * sunrpc/pmap_prot.c: Likewise.
11014 * sunrpc/pmap_prot2.c: Likewise.
11015 * sunrpc/pmap_rmt.c: Likewise.
11016 * sunrpc/rpc/auth.h: Likewise.
11017 * sunrpc/rpc/auth_unix.h: Likewise.
11018 * sunrpc/rpc/clnt.h: Likewise.
11019 * sunrpc/rpc/des_crypt.h: Likewise.
11020 * sunrpc/rpc/key_prot.h: Likewise.
11021 * sunrpc/rpc/netdb.h: Likewise.
11022 * sunrpc/rpc/pmap_clnt.h: Likewise.
11023 * sunrpc/rpc/pmap_prot.h: Likewise.
11024 * sunrpc/rpc/pmap_rmt.h: Likewise.
11025 * sunrpc/rpc/rpc.h: Likewise.
11026 * sunrpc/rpc/rpc_des.h: Likewise.
11027 * sunrpc/rpc/rpc_msg.h: Likewise.
11028 * sunrpc/rpc/svc.h: Likewise.
11029 * sunrpc/rpc/svc_auth.h: Likewise.
11030 * sunrpc/rpc/types.h: Likewise.
11031 * sunrpc/rpc/xdr.h: Likewise.
11032 * sunrpc/rpc_clntout.c: Likewise.
11033 * sunrpc/rpc_cmsg.c: Likewise.
11034 * sunrpc/rpc_common.c: Likewise.
11035 * sunrpc/rpc_cout.c: Likewise.
11036 * sunrpc/rpc_dtable.c: Likewise.
11037 * sunrpc/rpc_hout.c: Likewise.
11038 * sunrpc/rpc_main.c: Likewise.
11039 * sunrpc/rpc_parse.c: Likewise.
11040 * sunrpc/rpc_parse.h: Likewise.
11041 * sunrpc/rpc_prot.c: Likewise.
11042 * sunrpc/rpc_sample.c: Likewise.
11043 * sunrpc/rpc_scan.c: Likewise.
11044 * sunrpc/rpc_scan.h: Likewise.
11045 * sunrpc/rpc_svcout.c: Likewise.
11046 * sunrpc/rpc_tblout.c: Likewise.
11047 * sunrpc/rpc_util.c: Likewise.
11048 * sunrpc/rpc_util.h: Likewise.
11049 * sunrpc/rpcinfo.c: Likewise.
11050 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
11051 * sunrpc/rpcsvc/key_prot.x: Likewise.
11052 * sunrpc/rpcsvc/klm_prot.x: Likewise.
11053 * sunrpc/rpcsvc/mount.x: Likewise.
11054 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
11055 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
11056 * sunrpc/rpcsvc/rex.x: Likewise.
11057 * sunrpc/rpcsvc/rstat.x: Likewise.
11058 * sunrpc/rpcsvc/rusers.x: Likewise.
11059 * sunrpc/rpcsvc/sm_inter.x: Likewise.
11060 * sunrpc/rpcsvc/spray.x: Likewise.
11061 * sunrpc/rpcsvc/yppasswd.x: Likewise.
11062 * sunrpc/rtime.c: Likewise.
11063 * sunrpc/svc.c: Likewise.
11064 * sunrpc/svc_auth.c: Likewise.
11065 * sunrpc/svc_authux.c: Likewise.
11066 * sunrpc/svc_raw.c: Likewise.
11067 * sunrpc/svc_run.c: Likewise.
11068 * sunrpc/svc_simple.c: Likewise.
11069 * sunrpc/svc_tcp.c: Likewise.
11070 * sunrpc/svc_udp.c: Likewise.
11071 * sunrpc/svc_unix.c: Likewise.
11072 * sunrpc/svcauth_des.c: Likewise.
11073 * sunrpc/xcrypt.c: Likewise.
11074 * sunrpc/xdr.c: Likewise.
11075 * sunrpc/xdr_array.c: Likewise.
11076 * sunrpc/xdr_float.c: Likewise.
11077 * sunrpc/xdr_mem.c: Likewise.
11078 * sunrpc/xdr_rec.c: Likewise.
11079 * sunrpc/xdr_ref.c: Likewise.
11080 * sunrpc/xdr_sizeof.c: Likewise.
11081 * sunrpc/xdr_stdio.c: Likewise.
11082
9da4bb31
UD
11083 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
11084 handling.
11085
bdaa77bc
AS
110862010-08-19 Andreas Schwab <schwab@redhat.com>
11087
11088 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
11089
fe2f79db
LM
110902010-08-19 Luis Machado <luisgpm@br.ibm.com>
11091
11092 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
11093 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
11094 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
11095 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
11096 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
11097 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
11098 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
11099 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
11100 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
11101 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
11102 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
11103 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
11104 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
11105 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
11106
b9b42ee0
AB
111072010-07-26 Anton Blanchard <anton@samba.org>
11108
11109 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
11110 * malloc/arena.c (heap_trim): Likewise.
11111
1c06ba31
UD
111122010-08-16 Ulrich Drepper <drepper@redhat.com>
11113
11114 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
11115 here. Not...
11116 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
11117 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
11118
f8392f40
L
111192010-08-12 H.J. Lu <hongjiu.lu@intel.com>
11120
11121 * sysdeps/i386/elf/Makefile: New file.
11122
3162f12e
AS
111232010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11124
11125 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
11126 from fanotify_init.
11127 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11128 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11129
28c90b2c
UD
111302010-08-15 Ulrich Drepper <drepper@redhat.com>
11131
11132 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
11133 of strncasecmp_l.
1feccb6c 11134 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 11135
ca6bb004
UD
111362010-08-14 Ulrich Drepper <drepper@redhat.com>
11137
e9f82e0d
UD
11138 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11139 strncase_l-nonascii.
11140 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11141 Add strncase_l-ssse3.
11142 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
11143 * sysdeps/x86_64/strcmp.S: Likewise.
11144 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
11145 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11146 * sysdeps/x86_64/strncase.S: New file.
11147 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11148 * sysdeps/x86_64/strncase_l.S: New file.
11149 * string/Makefile (strop-tests): Add strncasecmp.
11150 * string/test-strncasecmp.c: New file.
11151
11152 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11153 warning.
11154
ca6bb004
UD
11155 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11156 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11157
052fa7b3
AS
111582010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11159
11160 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11161
962dba78
UD
111622010-08-12 Ulrich Drepper <drepper@redhat.com>
11163
11164 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11165 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11166 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11167
bebff237
AM
111682010-05-01 Alan Modra <amodra@gmail.com>
11169
11170 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11171 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11172 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11173 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11174 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11175 tidying. Don't tail-call __sigjmp_save for static lib.
11176 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11177 save location.
11178 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11179 (CALL_MCOUNT): Add eh info, and nop after bl.
11180 (TAIL_CALL_SYSCALL_ERROR): New macro.
11181 (PSEUDO_RET): Use it.
11182 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11183 Correct save location of integer regs and cr.
11184 (_dl_profile_resolve): Correct cr save location. Delete nops
11185 after bl when SHARED. Reduce cfi size a little by better
11186 placement of cfi directives.
11187 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11188 make a stack frame. Instead use parm save area as a temp.
11189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11190 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
11191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11192 Don't make a stack frame for parent, use parm save area.
11193 Increase child stack frame to 112 bytes. Don't save unused reg,
11194 and adjust reg usage. Set up cfi on error recovery and
11195 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11197 (__makecontext): Add dummy nop after jump to exit.
11198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11199 Use correct parm save area and cr save, reduce stack frame.
11200 Correct cfi for possible PSEUDO_RET frame setup.
11201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11202 Branch to local label emitted by PSEUDO_RET rather than
11203 __syscall_error.
11204
02637374
AS
112052010-08-12 Andreas Schwab <schwab@redhat.com>
11206
11207 [BZ #11904]
11208 * locale/programs/locale.c (print_assignment): New function.
11209 (show_locale_vars): Use it.
11210
c3e2f19b
UD
112112010-08-11 Ulrich Drepper <drepper@redhat.com>
11212
3cdaa6ad
UD
11213 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11214 field.
11215 (struct statfs64): Likewise.
11216 (_STATFS_F_FLAGS): Define.
11217 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11218 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11219 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11220 (ST_VALID): Define locally.
11221 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11222 __statvfs_getflags, use the provided value.
11223 * sysdeps/unix/sysv/linux/kernel-features.h: Define
11224 __ASSUME_STATFS_F_FLAGS.
11225
754f7da3
UD
11226 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11227
10b3bedc
UD
11228 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11229 Add sys/fanotify.h.
11230 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11231 fanotify_mask for GLIBC_2.13.
11232 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11233 fanotify_init and fanotify_mark.
11234 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11235 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11236
c08fb0d7
UD
11237 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11238 Add prlimit.
11239 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11240 prlimit64 for GLIBC_2.13.
11241 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11242 prlimit64.
11243 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11244 syscall.
11245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11246 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11247 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11248 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11249 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
11250 add prlimit alias.
11251 * sysdeps/unix/sysv/linux/prlimit.c: New file.
11252
15bac72b
UD
11253 [BZ #11903]
11254 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11255 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11256
c3e2f19b
UD
11257 * nss/Makefile: Add rules to build and run tst-nss-test1.
11258 * shlib-versions: Add entry for libnss_test1.
11259 * nss/nss_test1.c: New file.
11260 * nss/tst-nss-test1.c: New file.
11261
11262 * nss/nsswitch.c (__nss_database_custom): Define new variable.
11263 (__nss_configure_lookup): Set appropriate entry in
11264 __nss_configure_lookup to true.
11265 * nss/nsswitch.h: Define enum with indeces of databases in
11266 databases and __nss_database_custom arrays. Declare
11267 __nss_database_custom.
11268 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
11269 to avoid using nscd when custom rules are installed.
11270 * nss/getXXbyYY_r.c: Likewise.
11271 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11272
11273 * nss/nss_files/files-parse.c: Whitespace fixes.
11274
f15ce4d8
UD
112752010-08-09 Ulrich Drepper <drepper@redhat.com>
11276
11277 [BZ #11883]
11278 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
11279 * posix/fnmatch_loop.c: Likewise.
11280
d22e4cc9
AK
112812010-07-17 Andi Kleen <ak@linux.intel.com>
11282
11283 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11284 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11285 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11286 * Versions.def [GLIBC_2.13]: Add.
11287
805bc17d
UD
112882010-08-06 Ulrich Drepper <drepper@redhat.com>
11289
11290 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11291 Also fail if tpwd after pwuid call is NULL.
11292
5a42321d
ST
112932010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11294
11295 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11296 when converting to ms.
11297
fd3ebeda
ST
112982010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11299
11300 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11301 EOPNOTSUPP errors with ENOTTY.
11302 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11303 EOPNOTSUPP errors with ENOTTY.
11304
73507d3a
UD
113052010-07-31 Ulrich Drepper <drepper@redhat.com>
11306
11307 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11308 Add strcasecmp_l-ssse3.
11309 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11310 strcasecmp.
11311 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11312 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11313 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11314
fe36dd02
UD
113152010-07-30 Ulrich Drepper <drepper@redhat.com>
11316
66f6765a
UD
11317 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11318
42e08a54
UD
11319 * string/Makefile (strop-tests): Add strcasecmp.
11320 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11321 strcasecmp_l-nonascii.
11322 (gen-as-const-headers): Add locale-defines.sym.
11323 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11324 * sysdeps/x86_64/strcasecmp.S: New file.
11325 * sysdeps/x86_64/strcasecmp_l.S: New file.
11326 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11327 * sysdeps/x86_64/locale-defines.sym: New file.
11328 * string/test-strcasecmp.c: New file.
11329
fe36dd02
UD
11330 * string/test-strcasestr.c: Test both ends of the range of characters.
11331 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11332
48cbc0d6
RM
113332010-07-29 Roland McGrath <roland@redhat.com>
11334
76e6d6bc 11335 [BZ #11856]
48cbc0d6
RM
11336 * manual/locale.texi (Yes-or-No Questions): Fix example code.
11337
880113d9
UD
113382010-07-27 Ulrich Drepper <drepper@redhat.com>
11339
11340 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11341 for ld.so.
11342
deb9cabb
AS
113432010-07-27 Andreas Schwab <schwab@redhat.com>
11344
11345 * manual/memory.texi (Malloc Tunable Parameters): Document
11346 M_PERTURB.
11347
1c7570ff
RM
113482010-07-26 Roland McGrath <roland@redhat.com>
11349
11350 [BZ #11840]
11351 * configure.in (-fgnu89-inline check): Set and substitute
11352 gnu89_inline, not libc_cv_gnu89_inline.
11353 * configure: Regenerated.
11354 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11355
24fb0f88
UD
113562010-07-26 Ulrich Drepper <drepper@redhat.com>
11357
11358 * string/test-strnlen.c: New file.
11359 * string/Makefile (strop-tests): Add strnlen.
11360 * string/tester.c (test_strnlen): Add a few more test cases.
11361 * string/tst-strlen.c: Better error reporting.
11362
11363 * sysdeps/x86_64/strnlen.S: New file.
11364
8e96b93a
UD
113652010-07-24 Ulrich Drepper <drepper@redhat.com>
11366
11367 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11368 lower-latency instructions.
11369
dbc676d4
UD
113702010-07-23 Ulrich Drepper <drepper@redhat.com>
11371
11372 * string/test-strcasestr.c: New file.
11373 * string/test-strstr.c: New file.
11374 * string/Makefile (strop-tests): Add strstr and strcasestr.
11375 * string/str-two-way.h: Don't undefine MAX.
11376 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11377
f6a31e0e
AS
113782010-07-21 Andreas Schwab <schwab@redhat.com>
11379
11380 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11381 strcasestr-nonascii.
11382 (CFLAGS-strcasestr-nonascii.c): Define.
11383 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11384 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11385 Remove unused attribute.
11386
5dbc3b6c
RM
113872010-07-20 Roland McGrath <roland@redhat.com>
11388
11389 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11390 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
11391 ld.so.cache was broken. With it, there is no way to disable dsocaps
11392 like LD_HWCAP_MASK can disable hwcaps.
11393
23d101d8
EPM
113942010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11395
11396 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11397
cc9f2e47
UD
113982010-07-16 Ulrich Drepper <drepper@redhat.com>
11399
11400 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11401 call in strcasestr.
11402 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11403 __strcasestr_sse42_nonascii.
11404 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11405 strcasestr-nonascii.c.
11406 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11407
77c1b069
LM
114082010-06-15 Luis Machado <luisgpm@br.ibm.com>
11409
11410 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11411 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11412 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11413 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11414
440566c3
UD
114152010-07-09 Ulrich Drepper <drepper@redhat.com>
11416
11417 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11418 fcntl.
11419
5be9d05d
AS
114202010-07-06 Andreas Schwab <schwab@redhat.com>
11421
c30b7ee2 11422 [BZ #11577]
5be9d05d
AS
11423 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11424 dl_signal_cerror.
11425
8a492a67
UD
114262010-07-06 Ulrich Drepper <drepper@redhat.com>
11427
11428 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11429 _PC_PIPE_BUF using F_GETPIPE_SZ.
11430
713df3d5
RM
114312010-07-05 Roland McGrath <roland@redhat.com>
11432
11433 * manual/arith.texi (Rounding Functions): Fix rint description
11434 implicit in round description.
11435
702e8f14
UD
114362010-07-02 Ulrich Drepper <drepper@redhat.com>
11437
11438 * elf/Makefile: Fix linking for a few tests to make recent linker
11439 happy.
11440
52ed8be9
AS
114412010-06-30 Andreas Schwab <schwab@redhat.com>
11442
11443 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11444 $(common-objpfx)libc_nonshared.a.
11445
f47c9a11
LM
114462010-06-21 Luis Machado <luisgpm@br.ibm.com>
11447
11448 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11449 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11450 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11451 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11452 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11453 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11454 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11455 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11470 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11471 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11472 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11473 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11474 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11475 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11476 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11477 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11478 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11479 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11480 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11481 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11496
6fb8cbcb
L
114972010-06-25 H.J. Lu <hongjiu.lu@intel.com>
11498
11499 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11500 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11501 * string/memmove.c (memmove): Renamed to ...
11502 (MEMMOVE): ...this. Default to memmove.
11503 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11504 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11505 (END_CHK): Define.
11506 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11507 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11508 mempcpy-ssse3-back memmove-ssse3-back.
11509 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11510 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11511 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11512 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11513 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11514 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11515 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11516 * sysdeps/x86_64/multiarch/memmove.c: New file.
11517 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11518 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11519 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11520 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11521 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11522 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11523 Define.
11524 (index_Fast_Copy_Backward): Define.
11525 (HAS_ARCH_FEATURE): Define.
11526 (HAS_FAST_REP_STRING): Define.
11527 (HAS_FAST_COPY_BACKWARD): Define.
11528
4e733bac 115292010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
11530
11531 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11532 Restore proper fallback handling.
11533
63c4ed22
UD
115342010-06-19 Ulrich Drepper <drepper@redhat.com>
11535
ac2b484c
UD
11536 [BZ #11701]
11537 * posix/group_member.c (__group_member): Correct checking loop.
11538
63c4ed22
UD
11539 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11540 OOM in getpwuid_r correctly. Return error number when the caller
11541 should return, otherwise -1.
11542 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11543 call returning > 0 value.
11544 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11545
765ade4b
AS
115462010-06-07 Andreas Schwab <schwab@redhat.com>
11547
11548 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11549 libc_nonshared.a from targets in modules-names.
11550
80da2e09
KS
115512010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11552
11553 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11554 requires it.
11555
158db122
LM
115562010-06-10 Luis Machado <luisgpm@br.ibm.com>
11557
11558 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11559 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11560 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11561 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11562
caa78cf8
AS
115632010-06-02 Andreas Schwab <schwab@redhat.com>
11564
11565 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11566
b2ef2c01
UD
115672010-06-14 Ulrich Drepper <drepper@redhat.com>
11568
11569 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11570 and F_GETPIPE_SZ.
11571 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11572 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11573 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11574 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11575 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11576 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11577
fbd643b6
RM
115782010-06-14 Roland McGrath <roland@redhat.com>
11579
11580 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11581
f32f2869
JJ
115822010-06-07 Jakub Jelinek <jakub@redhat.com>
11583
11584 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11585 __REDIRECT followed by __THROW.
11586 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11587 * posix/getopt.h (getopt): Likewise.
11588
2a50c078
EPM
115892010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11590
11591 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11592 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11593 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11594 in AT_FLAGS.
11595 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11596 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11597
eb5ad2eb
LM
115982010-05-28 Luis Machado <luisgpm@br.ibm.com>
11599
11600 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11601
3c88fe1e
L
116022010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11603
11604 [BZ #11640]
11605 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11606 Properly check family and model.
11607
d2f73151
TY
116082010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11609
11610 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11611
ebd2e13d
LM
116122010-05-24 Luis Machado <luisgpm@br.ibm.com>
11613
11614 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11615
b32b8b45
UD
116162010-05-21 Ulrich Drepper <drepper@redhat.com>
11617
11618 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11619 symbol reference.
11620
9acbe24d
AS
116212010-05-19 Andreas Schwab <schwab@redhat.com>
11622
11623 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11624 symbol reference.
11625
f0ccf6ea
AS
116262010-05-21 Andreas Schwab <schwab@redhat.com>
11627
3d04ff3a
AS
11628 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11629 and internal_recvmmsg.
11630 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11631 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11632 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11633 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11634
f0ccf6ea
AS
11635 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11636 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11637 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11638
5b08ac57
AS
116392010-05-20 Andreas Schwab <schwab@redhat.com>
11640
11641 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11642
4828935d
LM
116432010-05-17 Luis Machado <luisgpm@br.ibm.com>
11644
11645 POWER7 optimizations.
11646 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11647 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11648
373d545e
UD
116492010-05-19 Ulrich Drepper <drepper@redhat.com>
11650
11651 * version.h: Update for 2.13 development version.
11652
21a2b1ae
AS
116532010-05-12 Andrew Stubbs <ams@codesourcery.com>
11654
11655 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11656 exceptions. Return 0.
11657
3f7dcb2b
RM
116582010-05-07 Roland McGrath <roland@redhat.com>
11659
11660 * elf/ldconfig.c (main): Add a const.
11661
5f24d53a 116622010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 11663
a160f8d8
UD
11664 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11665 (args_options): Add no-idn option.
11666 (ahosts_keys_int): Add idn_flags to ai_flags.
11667 (parse_option): Handle 'i' option to clear idn_flags.
11668
5f24d53a
UD
11669 * malloc/malloc.c (_int_free): Possible race in the most recently
11670 added check. Only act on the data if no current modification
11671 happened.
265bb1ce
UD
11672
11673See ChangeLog.17 for earlier changes.
This page took 1.397891 seconds and 5 git commands to generate.