]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Check __ILP32__ instead of __LP64__
[thirdparty/glibc.git] / ChangeLog
CommitLineData
34a27407
L
12012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2
3 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4 * elf/tst-auditmod3b.c: Likewise.
5 * elf/tst-auditmod4b.c: Likewise.
6 * elf/tst-auditmod5b.c: Likewise.
7 * elf/tst-auditmod6b.c: Likewise.
8 * elf/tst-auditmod6c.c: Likewise.
9 * elf/tst-auditmod7b.c: Likewise.
10 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11 * sysdeps/x86_64/preconfigure.in: Likewise.
12 * sysdeps/x86_64/preconfigure: Regenerated.
13
7e73e17d
L
142012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15
16 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
17 __ILP32__.
18
c7a6ab72
AB
192012-04-13 Antoine Balestrat <merkil33@gmail.com>
20
21 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
23
a9e8e0e0
CL
242012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
25
26 [BZ #13973]
27 * locale/iso-639.def: Fix gl language name. Spotted by
28 Yaron Shahrabani.
29
ec98af7d
RM
302012-04-12 Roland McGrath <roland@hack.frob.com>
31
32 [BZ #2074]
33 * libio/libio.h (__io_write_fn): Update comment.
34
247c3ede
PB
352012-04-12 Petr Baudis <pasky@ucw.cz>
36
37 [BZ #2074]
38 * stdio.texi (Hook Functions): The user provided writer function
39 is not allowed to return -1.
40
55939d6d
DM
412012-04-11 David S. Miller <davem@davemloft.net>
42
43 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44
90020f5a
MF
452012-04-11 Mike Frysinger <vapier@gentoo.org>
46
47 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
48 Add a leading slash to rtkaio.
49
288f9098
JM
502012-04-11 Jim Meyering <meyering@redhat.com>
51
90020f5a
MF
52 [BZ #11959]
53 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
54 It is not necessarily an error to ignore fwrite's return
55 value. One can reliably use ferror to test for errors after
56 the fact.
288f9098 57
4be2b570
L
582012-04-10 H.J. Lu <hongjiu.lu@intel.com>
59
60 * bits/types.h (__snseconds_t): New type.
61 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
62
63 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
64 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65 (__SNSECONDS_T_TYPE): Likewise.
66 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67 (__SNSECONDS_T_TYPE): Likewise.
68 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69 (__SNSECONDS_T_TYPE): Likewise.
70
288f9098 712012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
72
73 [BZ #2636]
74 * manual/time.texi (Processor Time): Return type of times is
75 elapsed real time since an arbitrary point in the past.
76 (CPU Time): Move CLK_TCK from here...
77 (Processor Time): ...to here. Correct description.
78 * manual/conf.texi (Constants for Sysconf): Correct description of
79 _SC_CLK_TCK.
80
d7dd4413
DM
812012-04-10 David S. Miller <davem@davemloft.net>
82
83 [BZ #13967]
84 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
85 where the is a gap between DT_REL(A) and DT_JMPREL.
86
b46068fc
L
872012-04-10 H.J. Lu <hongjiu.lu@intel.com>
88
89 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
90 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
91 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
92
73d65cc3
SP
932012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
94
95 * elf/dl-support.c (_dl_inhibit_cache): New variable.
96 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
97 (dl_main): Handle --inhibit-cache.
98 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
99 _dl_inhibit_cache.
100 * elf/dl-load.c (_dl_map_object): Use it.
101 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
102
bcc8d661
JM
1032012-04-09 Joseph Myers <joseph@codesourcery.com>
104
8f9a2fae
JM
105 [BZ #13872]
106 * sysdeps/i386/fpu/e_powl.S (p78): New object.
107 (__ieee754_powl): Saturate large exponents rather than testing for
108 overflow of y*log2(x).
109 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
110 * math/libm-test.inc (pow_test): Do not permit spurious overflow
111 exceptions.
112
bcc8d661
JM
113 [BZ #11521]
114 * math/s_ctan.c: Include <float.h>.
115 (__ctan): Avoid internal overflow or cancellation in calculating
116 denominator.
117 * math/s_ctanf.c: Likewise.
118 * math/s_ctanl.c: Likewise.
119 * math/s_ctanh.c: Likewise.
120 * math/s_ctanhf.c: Likewise.
121 * math/s_ctanhl.c: Likewise.
122 * math/libm-test.inc (ctan_test): Add more tests.
123 (ctanh_test): Likewise.
124 * sysdeps/i386/fpu/libm-test-ulps: Update.
125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
126
823fbbb4
AJ
1272012-04-09 Andreas Jaeger <aj@suse.de>
128
03879793
AJ
129 [BZ #6894]
130 * manual/filesys.texi (Directory Entries): Mention that d_namlen
131 is an optional BSD extension.
132
823fbbb4
AJ
133 [BZ #10254]
134 * manual/stdio.texi (Opening Streams): Document additional fopen
135 parameters.
136
8de131cb
RM
1372012-04-09 Roland McGrath <roland@hack.frob.com>
138
139 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
140 %eax without telling the compiler.
141
c0ed9d7d
CD
1422012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
143
144 [BZ # 13963]
145 * manual/install.texi: Use sourceware.org.
146
c483f6b4
JM
1472012-04-09 Joseph Myers <joseph@codesourcery.com>
148
d7dd9453
JM
149 [BZ #13873]
150 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
151 (__ieee754_pow): Generate overflow and underflow using huge*huge
152 and tiny*tiny rather than just returning constant infinity or zero
153 for large exponents.
154 * math/libm-test.inc (pow_test): Require overflow exceptions for
155 applicable cases of large exponents.
156
c483f6b4
JM
157 [BZ #706]
158 * sysdeps/i386/fpu/e_pow.S (p10): New object.
159 (__ieee754_pow): Use iterative multiplication algorithm only for
160 integer exponents with absolute value below 1024. Check for odd
161 integer exponents when using algorithm for real exponents.
162 * math/libm-test.inc (pow_test): Add more tests.
163 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
164
d2de7579
JM
1652012-04-08 Joseph Myers <joseph@codesourcery.com>
166
167 [BZ #13705]
168 * math/libm-test.inc (exp_test): Do not allow overflow exception
169 on underflow test.
170
f77f1232
AJ
1712012-04-08 Aurelien Jarno <aurelien@aurel32.net>
172
173 [BZ #13705]
174 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
175 instead of __kernel_standard_f.
176
3884932b
MF
1772012-04-08 Mike Frysinger <vapier@gentoo.org>
178
179 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
180 * sysdeps/x86_64/memset_chk.S: Likewise.
181
54472e9c
AJ
1822012-04-08 Andreas Jaeger <aj@suse.de>
183
6ab0fbfc
AJ
184 [BZ #10153]
185 * manual/startup.texi (Environment Access): Describe return value
186 for putenv and setenv.
187
61efba8c
AJ
188 [BZ #6895]
189 * manual/filesys.texi (Directory Entries): Add description for
190 DT_LNK.
191
95c3f29a
AJ
192 [BZ #6890]
193 * manual/filesys.texi (Directory Entries): Clarify that it's file
194 system not operating system in the description of DT_UNKNOWN.
195
54472e9c
AJ
196 [BZ #6578]
197 * manual/syslog.texi (closelog): Fix reference, it's openlog.
198
624254b1
SC
1992012-04-08 Stephen Compall <s11@member.fsf.org>
200
201 [BZ #6649]
202 * manual/llio.texi (Opening and Closing Files): Add cross
203 reference to explain mode argument.
204
1e4920e0
MF
2052012-04-07 Mike Frysinger <vapier@gentoo.org>
206
207 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
208 * sysdeps/x86_64/memset_chk.S: Likewise.
209
5ed848f3
DM
2102012-04-07 David S. Miller <davem@davemloft.net>
211
212 * elf/elf.h (R_SPARC_WDISP10): Define.
213 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
214 R_SPARC_SIZE32.
215 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
216 R_SPARC_SIZE64 and R_SPARC_H34.
217
96154cd8
CD
2182012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
219
220 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
221 conditions and remove no longer applicable assertion.
222
9904dc47
L
2232012-04-06 H.J. Lu <hongjiu.lu@intel.com>
224
225 * bits/byteswap.h: Include <features.h>.
226 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
227 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
228
f8887d0a
L
2292012-04-06 H.J. Lu <hongjiu.lu@intel.com>
230
231 * bits/byteswap.h (__bswap_16): Removed.
232 Include <bits/byteswap-16.h> to get __bswap_16.
233 * sysdeps/i386/bits/byteswap.h: Likewise.
234 * sysdeps/s390/bits/byteswap.h: Likewise.
235 * sysdeps/x86_64/bits/byteswap.h: Likewise.
236 * bits/byteswap-16.h: New file.
237 * sysdeps/i386/bits/byteswap-16.h: Likewise.
238 * sysdeps/s390/bits/byteswap-16.h: Likewise.
239 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
240 * string/Makefile (headers): Add bits/byteswap-16.h.
241
62470f60
PP
2422012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
243
244 [BZ #13895]
245 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
246 extra indirection.
247 * nss/Makefile (tests-static, tests): Add tst-nss-static.
248 * nss/tst-nss-static.c: New.
249
4dad7bab
RM
2502012-04-06 Robert Millan <rmh@gnu.org>
251
252 [BZ #6486]
253 * manual/llio.texi (File Position Primitive): lseek
254 refers to WHENCE when it really means OFFSET.
255
e9142a17
AJ
2562012-04-06 Andreas Jaeger <aj@suse.de>
257
2c040eff
AJ
258 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
259 strncmp declarations.
260
e9142a17
AJ
261 * abilist/libc.abilist: Add __poll and __ppoll.
262
ff9f1c5f
DM
2632012-04-05 David S. Miller <davem@davemloft.net>
264
dcd2ae90
DM
265 * scripts/check-local-headers.sh: Accept a host triplet in the
266 path matched by the exclude regexp.
267
993eb054
DM
268 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
269 definition.
270 * sysdeps/powerpc/powerpc32/dl-machine.h
271 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
272 * sysdeps/s390/s390-32/dl-machine.h
273 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
274 * sysdeps/sparc/sparc32/dl-machine.h
275 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
276 * sysdeps/sparc/sparc64/dl-machine.h
277 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
278
ff9f1c5f
DM
279 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
280 lazy binding.
48e2e132 281 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
282 undefined symbol errors.
283
48e2e132 284 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
285 DT_NEEDED entries.
286
e80d6f94
MM
2872012-04-05 Michael Matz <matz@suse.de>
288
289 [BZ #13592]
290 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
291
349fa79f
AJ
2922012-04-05 Andreas Jaeger <aj@suse.de>
293
294 [BZ #13908]
295 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
296 comment.
297
f402708f
KK
2982012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
299
300 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
301 which ROUND is no valid rounding mode.
302
2ecccfc9
KK
3032012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
304
305 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
306 read again.
307 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
308
8a53f50f
KK
3092012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
310
311 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
312 an exception using FPU order intentionally.
313
3142012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
315
316 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
317 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
318 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
319 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
320
d653abb7
SJ
3212012-04-05 Simon Josefsson <simon@josefsson.org>
322
323 [BZ #12340]
324 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
325 EINVAL when BUFLEN is too smal.
326
c3b1bf7d
TS
3272012-04-05 Thomas Schwinge <thomas@codesourcery.com>
328
329 [BZ #13553]
330 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
331 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
332
b1aa60f3
AJ
3332012-04-03 Andreas Jaeger <aj@suse.de>
334
c3b1bf7d 335 [BZ #13938]
67f60a26
AJ
336 * manual/setjmp.texi (System V contexts): Fix sentence.
337
b1aa60f3
AJ
338 [BZ #13926]
339 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
340 New macro for this case.
341 [!__GNUC__] (__bswap_64): New inline function for this case.
342 * sysdeps/x86_64/bits/byteswap.h: Likewise.
343 * bits/byteswap.h: Likewise.
344 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
345 ull, guard with __GLIBC_HAVE_LONG_LONG.
346
347 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
348 __GLIBC_HAVE_LONG_LONG.
349
350 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
351 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
352
39c59c35
TMQMF
3532012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
354
355 [BZ #13691]
356 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
357 inptr and inend, rather than using last_ch.
358
135ffda8
DM
3592012-04-02 David S. Miller <davem@davemloft.net>
360
361 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
362 * stdio-common/printf-parse.h (read_int): Change return type to
363 'int', return -1 on INT_MAX overflow.
364 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
365 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
366 overflows INT_MAX. Check for overflow of in-format-string precision
367 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
368 SIZE_MAX not INT_MAX for integer overflow test.
369 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
370 skip the construct in the format string but do not record anything.
371 * stdio-common/bug22.c: Adjust to test both width/prevision
372 INT_MAX overflow as well as total length INT_MAX overflow. Check
373 explicitly for proper errno values.
374
228c019e
TS
3752012-04-02 Thomas Schwinge <thomas@codesourcery.com>
376
302cadd3
TS
377 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
378 CHAR_MAX.
379 * string/test-strcmp.c [! WIDE]: Likewise.
380 * time/tst-mktime2.c: Likewise for INT_MAX.
381 * string/test-string.h: #include <sys/param.h> for MIN.
382
228c019e
TS
383 * csu/init-first.c (__libc_init_first): Call __ctype_init.
384 * sysdeps/i386/init-first.c (init): Likewise.
385 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
386 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
387 * sysdeps/sh/init-first.c (init): Likewise.
388
cfa633f5
UD
3892012-04-01 Ulrich Drepper <drepper@gmail.com>
390
391 * po/ru.po: Update from translation team.
d1635ef8 392 * po/vi.po: Likewise.
cfa633f5 393
6cd0a5ea
SP
3942012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
395
396 * resolv/nss_dns/dns-host.c: Merge copyright years.
397
4b43400f
LD
3982012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
399
400 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
401 Optimize memcpy with prefetch if
402 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
403 src, dst pointers have unequal 16 byte alignments.
404
48c41d04
SP
4052012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
406
407 [BZ #13928]
408 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
409 from a CNAME entry and return the minimum ttl for the query.
410 (gaih_getanswer_slice): Likewise.
411
b8dc394d
JL
4122012-03-30 Jeff Law <law@redhat.com>
413
414 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
415 due to long keys.
416 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
417 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
418
2f5a5ed0
JL
419 * resolv/nss_dns/dns-host.c: Update copyright year.
420
1d39e359
UD
4212012-03-30 Ulrich Drepper <drepper@gmail.com>
422
c030f70c 423 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 424 requests to save a system call. Fix check that all bytes are sent.
c030f70c 425
1d39e359
UD
426 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
427 comments for sendmmsg.
428
4292012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
430
431 [BZ #13691]
432 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
433 with only 1 character between 0x0041 and 0x01b0.
434 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
435 * wcsmbs/tst-mbsnrtowcs.c: New file.
436
20fde227
DM
4372012-03-29 David S. Miller <davem@davemloft.net>
438
439 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
440 small copies by hand.
441
984a4237
JL
4422012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
443
444 [BZ #13761]
445 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
446 _nss_compat_initgroups_dyn): Fall back to malloc/free
447 for large group memberships.
448
18c9d62b
DM
4492012-03-28 David S. Miller <davem@davemloft.net>
450
88d85d4f
DM
451 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
452 that branches into memcpy.
453 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
454 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
455 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
456 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
457 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
458 bits.
459 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
460 implementation too.
461 * sysdeps/sparc/mempcpy.S: New file.
462
e5aa83e1
DM
463 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
464 the IFUNC routine in the libc case.
465 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
466
88570753
DM
467 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
468 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
469 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
470 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
471 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
472 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
473 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
474 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
475
249d7567
DM
476 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
477 loop to 256 bytes instead of 64 bytes and fix test signedness.
478
18c9d62b
DM
479 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
480 * sysdeps/sparc/sparc32/Makefile: rather than here...
481 * sysdeps/sparc/sparc64/Makefile: and here.
482
05f3d1f6
UD
4832012-03-28 Ulrich Drepper <drepper@gmail.com>
484
485 * malloc/mallocbug.c: Avoid warnings about unused variables.
486
86ae07a8
JL
4872012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
488
489 [BZ #13760]
490 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
491 in the right place. Discard and retry query if response is
492 larger than input buffer size.
493
41bf21a1
JM
4942012-03-28 Joseph Myers <joseph@codesourcery.com>
495
d6270972
JM
496 [BZ #369]
497 [BZ #2678]
498 [BZ #3866]
499 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
500 x for large integer exponent.
501 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
502 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
503 sign of result as needed afterwards.
504 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
505 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
506 result for underflowing pow the same as for overflow.
507 (__kernel_standard_l): Handle powl overflow and underflow here
508 rather than calling __kernel_standard.
509 * math/libm-test.inc (pow_test): Add more tests.
510
414fca03 511 [BZ #3868]
41bf21a1
JM
512 [BZ #13879]
513 [BZ #13910]
514 [BZ #13911]
515 [BZ #13912]
516 [BZ #13913]
517 [BZ #13915]
518 [BZ #13916]
519 [BZ #13917]
520 [BZ #13918]
521 [BZ #13919]
522 [BZ #13920]
523 [BZ #13921]
524 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
525 * sysdeps/ieee754/k_standard.c: Include <float.h>.
526 (__kernel_standard_l): New function.
527 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
528 __kernel_standard.
529 * math/w_acosl.c (__acosl): Likewise.
530 * math/w_asinl.c (__asinl): Likewise.
531 * math/w_atan2l.c (__atan2l): Likewise.
532 * math/w_atanhl.c (__atanhl): Likewise.
533 * math/w_coshl.c (__coshl): Likewise.
534 * math/w_exp10l.c (__exp10l): Likewise.
535 * math/w_exp2l.c (__exp2l): Likewise.
536 * math/w_fmodl.c (__fmodl): Likewise.
537 * math/w_hypotl.c (__hypotl): Likewise.
538 * math/w_j0l.c (__j0l, __y0l): Likewise.
539 * math/w_j1l.c (__j1l, __y1l): Likewise.
540 * math/w_jnl.c (__jnl, __ynl): Likewise.
541 * math/w_lgammal.c (__lgammal): Likewise.
542 * math/w_log10l.c (__log10l): Likewise.
543 * math/w_log2l.c (__log2l): Likewise.
544 * math/w_logl.c (__logl): Likewise.
545 * math/w_powl.c (__powl): Likewise.
546 * math/w_remainderl.c (__remainderl): Likewise.
547 * math/w_scalbl.c (sysv_scalbl): Likewise.
548 * math/w_sinhl.c (__sinhl): Likewise.
549 * math/w_sqrtl.c (__sqrtl): Likewise.
550 * math/w_tgammal.c (__tgammal): Likewise.
551 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
552 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
553 * math/libm-test.inc (acos_test): Add more tests.
554 (acosh_test): Likewise.
555 (asin_test): Likewise.
556 (atanh_test): Likewise.
557 (exp_test): Likewise.
558 (exp10_test): Likewise.
559 (exp2_test): Likewise.
560 (expm1_test): Likewise.
561 (lgamma_test): Likewise.
562 (log_test): Likewise.
563 (log10_test): Likewise.
564 (log1p_test): Likewise.
565 (log2_test): Likewise.
566 (pow_test): Do not allow some spurious overflow exceptions.
567 (sqrt_test): Add more tests.
568 (tgamma_test): Likewise.
569 (y0_test): Likewise.
570 (y1_test): Likewise.
571 (yn_test): Likewise.
572
dd62fda6
AB
5732012-03-27 Anton Blanchard <anton@samba.org>
574
575 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
576 MAP_HUGETLB.
577 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
578 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
579 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
580
1e3cdfda
AJ
5812012-03-27 David S. Miller <davem@davemloft.net>
582
b855ab85
DM
583 * conform/Makefile: Run run-conformtest.sh using $(BASH).
584
1e3cdfda
AJ
585 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
586 have-as-vis3 check.
587
5882012-03-27 Andreas Jaeger <aj@suse.de>
589
590 * sysdeps/x86_64/elf/configure.in: Moved to ...
591 * sysdeps/x86_64/configure.in: ... here.
592 * sysdeps/x86_64/elf/start.S: Moved to ...
593 * sysdeps/x86_64/start.S: ... here.
594 * sysdeps/x86_64/elf/configure: Delete.
595
596 * sysdeps/x86_64/configure.in: Merge contents from
597 sysdeps/i386/configure.in (without i686 check).
598
599 * sysdeps/i386/elf/Versions: Merge into ...
600 * sysdeps/i386/Versions: ... this.
601 * sysdeps/i386/elf/Versions: Delete file.
602 * sysdeps/i386/elf/start.S: Moved to ...
603 * sysdeps/i386/start.S: ...here.
604 * sysdeps/i386/elf/configure.in: Merge into...
605 * sysdeps/i386/configure.in: ...here.
606 * sysdeps/i386/elf/configure.in: Delete file.
607 * sysdeps/i386/elf/configure: Delete file.
608
609 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
610 * debug/backtracesyms.c: ... here.
611 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
612 * debug/backtracesymsfd.c: ... here.
613 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
614 * sysdeps/generic/ifunc-sel.h: ... here.
615
616 * sysdeps/unix/i386/start.c: Delete file.
617 * sysdeps/unix/sparc/start.c: Delete file.
618 * sysdeps/unix/start.c: Delete file.
619
620 * sysdeps/sh/elf/configure.in: Moved to ...
621 * sysdeps/sh/configure.in: ... here.
622 * sysdeps/sh/elf/start.S: Moved to ...
623 * sysdeps/sh/start.S: ... here.
624 * sysdeps/sh/elf/configure: Delete file.
625
626 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
627 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
628 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
629 * sysdeps/powerpc/powerpc64/entry.h: ... here.
630 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
631 * sysdeps/powerpc/powerpc64/start.S: here.
632 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
633 * sysdeps/powerpc/powerpc64/Makefile: ... this.
634 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
635 * sysdeps/powerpc/powerpc64/configure.in: ... this.
636 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
637
638 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
639 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
640 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
641 * sysdeps/powerpc/powerpc32/start.S: ... here.
642 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
643 * sysdeps/powerpc/powerpc32/configure.in: ... this.
644 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
645
646 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
647 * sysdeps/powerpc/ifunc-sel.h: ... here.
648 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
649 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
650
651 * sysdeps/sparc/elf/configure.in: Moved to ...
652 * sysdeps/sparc/configure.in: ... here.
653 * sysdeps/sparc/elf/configure: Delete file.
654 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
655 * sysdeps/sparc/sparc32/start.S: ... here.
656 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
657 * sysdeps/sparc/sparc64/start.S: ... here.
658 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
659 * sysdeps/sparc/sparc32/Makefile: ... this.
660 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
661 * sysdeps/sparc/sparc64/Makefile: ... this.
662
663 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
664 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
665 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
666 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
667 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
668 * sysdeps/s390/s390-32/setjmp.S: ... here.
669 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
670 * sysdeps/s390/s390-32/configure.in: ... here.
671 * sysdeps/s390/s390-32/elf/configure: Delete file.
672 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
673 * sysdeps/s390/s390-32/start.S: ... here.
674
675 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
676 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
677 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
678 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
679 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
680 * sysdeps/s390/s390-64/setjmp.S: ... here.
681 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
682 * sysdeps/s390/s390-64/configure.in: ... here
683 * sysdeps/s390/s390-64/elf/configure: Delete file.
684 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
685 * sysdeps/s390/s390-64/start.S: ... here.
686 * sysdeps/s390/s390-64/elf/configure: Delete.
687
688 * configure.in: Remove support for elf directories in sysdeps.
689
690 * configure: Regenerated.
691 * sysdeps/i386/configure: Regenerated.
692 * sysdeps/powerpc/powerpc32/configure: Regenerated.
693 * sysdeps/powerpc/powerpc64/configure: Regenerated.
694 * sysdeps/s390/s390-32/configure: Regenerated.
695 * sysdeps/s390/s390-64/configure: Regenerated.
696 * sysdeps/sh/configure: Regenerated.
697 * sysdeps/sparc/configure: Regenerated.
698 * sysdeps/x86_64/configure: Regenerated.
699
a3f61311
AS
7002012-03-26 Andreas Schwab <schwab@linux-m68k.org>
701
c876e002
AS
702 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
703
a3f61311
AS
704 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
705 denormal result into account.
706
ac4c54f0
RM
7072012-03-25 Roland McGrath <roland@hack.frob.com>
708
709 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
710 Reported by Allan McRae <allan@archlinux.org>.
711
6a9b9c02
JL
7122012-03-23 Jeff Law <law@redhat.com>
713
714 * nss/getnssent.c (__nss_getent): Fix typo.
715
4c42a0c1
DM
7162012-03-23 David S. Miller <davem@davemloft.net>
717
718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
719
1532c7ac
L
7202012-03-23 H.J. Lu <hongjiu.lu@intel.com>
721
722 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
723 to pad to uint64_t for each field.
724 (dl_tls_index): Replace unsigned long with uint64_t.
725
3ff42526
PP
7262012-03-23 Daniel Jacobowitz <dmj@google.com>
727 Paul Pluzhnikov <ppluzhnikov@google.com>
728
729 [BZ #6528]
730 * grp/Makefile (otherlibs): Don't set it.
731 * inet/Makefile (otherlibs): Likewise.
732 * login/Makefile (otherlibs): Likewise.
733 * nscd/Makefile (otherlibs): Likewise.
734 * posix/Makefile (otherlibs): Likewise.
735 * pwd/Makefile (otherlibs): Likewise.
736 * rt/Makefile (otherlibs): Likewise.
737 * sunrpc/Makefile (otherlibs): Likewise.
738 * nss/Makefile (otherlibs): Likewise.
739 Add libnss_files to routines and static-only-routines.
740 ($(objpfx)getent): Remove rule.
741 * resolv/Makefile: Add libnss_dns and libresolv to routines and
742 static-only-routines.
743
7c69cd14
JM
7442012-03-22 Joseph Myers <joseph@codesourcery.com>
745
746 [BZ #13892]
747 * math/s_cexp.c: Include <float.h>.
748 (__cexp): Handle exp result overflowing not necessarily
749 overflowing both real and imaginary parts of result.
750 * math/s_cexpf.c: Likewise.
751 * math/s_cexpl.c: Likewise.
752 * math/libm-test.inc (cexp_test): Add more tests.
753 * sysdeps/i386/fpu/libm-test-ulps: Update.
754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
755
81b035fe
L
7562012-03-22 H.J. Lu <hongjiu.lu@intel.com>
757
758 * include/link.h (ELFW): New macro.
759 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
760 Replace ELF64_R_TYPE with ELFW(R_TYPE).
761
1da7940c
L
7622012-03-22 H.J. Lu <hongjiu.lu@intel.com>
763
764 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
765 with uint64_t.
766
b749dbb9
L
7672012-03-22 H.J. Lu <hongjiu.lu@intel.com>
768
769 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
770 declaration.
771 (struct La_x32_retval): Likewise.
772
2ff87f3f
L
7732012-03-22 H.J. Lu <hongjiu.lu@intel.com>
774
775 * sysdeps/x86_64/preconfigure.in: New file.
776 * sysdeps/x86_64/preconfigure: New generated file.
777
c0df8e69
JM
7782012-03-22 Joseph Myers <joseph@codesourcery.com>
779
48e44791
JM
780 [BZ #13824]
781 * math/e_exp2l.c: Include <float.h>.
782 (__ieee754_exp2l): Handle overflow and underflow cases
783 separately. Only pass fractional part of argument to
784 __ieee754_expl.
785 * math/libm-test.inc (exp2_test): Add more tests.
786
c0df8e69
JM
787 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
788 negating x to take absolute value.
789 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
790 Likewise.
791 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
792 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
793 Likewise.
794 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
795 computing low part if x was negated.
796 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
797
c8e43ba7
L
7982012-03-21 H.J. Lu <hongjiu.lu@intel.com>
799
800 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
801 la_x32_gnu_pltexit.
802 (pltexit): Cast int_retval to ptrdiff_t.
803 * elf/tst-auditmod3b.c: Likewise.
804 * elf/tst-auditmod4b.c: Likewise.
805 * elf/tst-auditmod5b.c: Likewise.
806 * elf/tst-auditmod6b.c: Likewise.
807 * elf/tst-auditmod6c.c: Likewise.
808 * elf/tst-auditmod7b.c: Likewise.
809
810 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
811 and x32_gnu_pltexit.
812
813 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
814 __ELF_NATIVE_CLASS.
815 (La_x32_regs): New macro.
816 (La_x32_retval): Likewise.
817 (la_x32_gnu_pltenter): New function prototype.
818 (la_x32_gnu_pltexit): Likewise.
819
7998fa78
AS
8202012-03-21 Andreas Schwab <schwab@linux-m68k.org>
821
dcb33988
AS
822 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
823 exponent.
824
233fc563
AS
825 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
826
7998fa78
AS
827 * configure.in (libc_cv_cc_nofma): Check for option to disable
828 generation of FMA instructions.
829 * configure: Regenerate.
830 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
831 * sysdeps/ieee754/dbl-64/Makefile: New file.
832 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
833 Remove brandred-fma4.
834 (CFLAGS-brandred-fma4.c): Remove.
835 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
836 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
837 define.
838 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
839 define.
840
8e95c99a
L
8412012-03-21 H.J. Lu <hongjiu.lu@intel.com>
842
843 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
844 LLONG_MAX != LONG_MAX.
845 (_itoa_word): Use _ITOA_WORD_TYPE on value.
846 (_fitoa_word): Likewise.
847 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
848 LLONG_MAX != LONG_MAX.
849 * stdio-common/_itowa.h: Include <_itoa.h>.
850 (_itowa_word): Use _ITOA_WORD_TYPE on value.
851 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
852 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
853 only if not defined.
854 (_ITOA_WORD_TYPE): Likewise.
855 (_itoa_word): Use _ITOA_WORD_TYPE on value.
856 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
857
6f4db457
DM
8582012-03-21 David S. Miller <davem@davemloft.net>
859
860 * sysdeps/sparc/fpu/libm-test-ulps: Update.
861
7785fe5a
L
8622012-03-21 H.J. Lu <hongjiu.lu@intel.com>
863
864 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
865 of x86_64 when setting libc_cv_slibdir, libdir and
866 libc_cv_localedir.
867 * sysdeps/unix/sysv/linux/configure: Regenerated.
868
4535cd55
JM
8692012-03-21 Joseph Myers <joseph@codesourcery.com>
870
871 * manual/lang.texi (Old Varargs): Remove section.
872 (How Variadic): Update menu.
873 (va_start): Do not mention varargs.h.
874
17228132
TS
8752012-03-21 Thomas Schwinge <thomas@codesourcery.com>
876 Joseph Myers <joseph@codesourcery.com>
877
878 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
879 link test.
880 * configure: Regenerated.
881
8149f976
TS
8822012-03-21 Thomas Schwinge <thomas@codesourcery.com>
883
05f3d1f6
UD
884 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
885 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
886 conformtest.pl
8149f976 887
1a4ac776
JM
8882012-03-21 Joseph Myers <joseph@codesourcery.com>
889
be22ce65
JM
890 * NOTES: Remove.
891 * Makefile (files-for-dist): Remove NOTES.
892 (NOTES): Remove rule.
893 * README: Don't refer to NOTES.
894 * manual/creature.texi: Don't include macros.texi.
895 * manual/intro.texi (creature.texi): Remove comment referring to
896 NOTES.
897
40b601fb
JM
898 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
899 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
900 * configure: Regenerated.
901 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
902 LIBC_TRY_CC_OPTION.
903 (libc_cv_as_i686): Likewise.
904 (libc_cv_cc_avx): Likewise.
905 (libc_cv_cc_sse2avx): Likewise.
906 (libc_cv_cc_fma4): Likewise.
907 (libc_cv_cc_novzeroupper): Likewise.
908 * sysdeps/i386/configure: Regenerated.
909
1a4ac776
JM
910 [BZ #13883]
911 * sysdeps/i386/fpu/s_cexp.S: Remove.
912 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
913 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
914 * math/libm-test.inc (cexp_test): Add more tests.
915 * sysdeps/i386/fpu/libm-test-ulps: Update.
916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
917
a458e7fe
AM
9182012-03-21 Allan McRae <allan@archlinux.org>
919
920 * timezone/Makefile: Do not install iso3166.tab and zone.tab
921
0cb7efc5
JM
9222012-03-21 Joseph Myers <joseph@codesourcery.com>
923
924 [BZ #13871]
925 * math/w_exp2.c: Do not include <float.h>.
926 (o_threshold, u_threshold): Remove.
927 (__exp2): Calculate result before checking finiteness and calling
928 __kernel_standard.
929 * math/w_exp2f.c: Likewise.
930 * math/w_exp2l.c: Likewise.
931 * math/libm-test.inc (exp2_test): Require overflow exception for
932 1e6 input.
2460d3aa
JM
933
934 [BZ #3866]
935 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
936 range of signed 64-bit integers before using fistpll. Remove
937 checks for whether integers fit in mantissa bits.
938 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
939 the range of signed 32-bit integers before using fistpl. Remove
940 checks for whether integers fit in mantissa bits.
941 * sysdeps/i386/fpu/e_powl.S (p64): New object.
942 (__ieee754_powl): Test for y outside the range of signed 64-bit
943 integers before using fistpll. Reduce 64-bit values to 63-bit
944 ones as needed.
945 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
946 divide-by-zero is raised for zero to large negative powers.
947 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
948 (__ieee754_powl): Test for y outside the range of signed 64-bit
949 integers before using fistpll. Reduce 64-bit values to 63-bit
950 ones as needed.
951 * math/libm-test.inc (pow_test): Add more tests.
952
eb96ffb0
L
9532012-03-20 H.J. Lu <hongjiu.lu@intel.com>
954
955 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
956 <stdio-common/_itoa.h>.
957 * debug/segfault.c: Likewise.
958 * elf/dl-cache.c: Likewise.
959 * elf/dl-minimal.c: Likewise.
960 * elf/dl-misc.c: Likewise.
961 * elf/dl-sysdep.c: Likewise.
962 * elf/dl-version.c: Likewise.
963 * elf/rtld.c: Likewise.
964 * hurd/hurdsock.c: Likewise.
965 * hurd/lookup-retry.c: Likewise.
966 * malloc/malloc.c: Likewise.
967 * malloc/mtrace.c: Likewise.
968 * nscd/nscd_getgr_r.c: Likewise.
969 * nscd/nscd_getpw_r.c: Likewise.
970 * nscd/nscd_getserv_r.c: Likewise.
971 * posix/getopt_init.c: Likewise.
972 * posix/wordexp.c: Likewise.
973 * stdio-common/_itoa.c: Likewise.
974 * stdio-common/printf_fphex.c: Likewise.
975 * stdio-common/vfprintf.c: Likewise.
976 * string/_strerror.c: Likewise.
977 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
978 * sysdeps/i386/i686/hp-timing.h: Likewise.
979 * sysdeps/mach/_strerror.c: Likewise.
980 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
981 * sysdeps/mach/hurd/sethostid.c: Likewise.
982 * sysdeps/mach/hurd/xmknodat.c: Likewise.
983 * sysdeps/mach/xpg-strerror.c: Likewise.
984 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
985 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
986 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
987 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
988 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
989 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
990 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
991 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
992 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
993 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
994 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
995 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
996 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
997 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
998 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
999 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
1000 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1001 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1002 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1003 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1004 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
1005
1006 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
1007
1008 * stdio-common/_itoa.h: Moved to ...
1009 * sysdeps/generic/_itoa.h: Here.
1010
1011 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
1012
1013 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
1014 instead of "_itoa.h" and "_itowa.h".
1015 * stdio-common/vfprintf.: Likewise.
1016
d1af992d
L
10172012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1018
1019 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
1020 <bits/wordsize.h>.
1021 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
1022 (__signbit): Likwise.
1023 (llrintf): Likwise.
1024 (llrint): Likwise.
1025
114883e0
L
10262012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1027
1028 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
1029 __WORDSIZE != 64.
1030
c135cc1b
JM
10312012-03-20 Joseph Myers <joseph@codesourcery.com>
1032
1033 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
1034 OVERFLOW_EXCEPTION_OK.
1035 * math/libm-test.inc ("Philosophy"): Update comment about
1036 exception testing.
1037 (OVERFLOW_EXCEPTION): Define.
1038 (OVERFLOW_EXCEPTION_OK): Likewise.
1039 (INVALID_EXCEPTION_OK): Renumber.
1040 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1041 (IGNORE_ZERO_INF_SIGN): Likewise.
1042 (test_exceptions): Handle FE_OVERFLOW.
1043 (exp10_test): Expect overflow exceptions.
1044 (exp2_test): Likewise.
1045 (expm1_test): Likewise.
1046 (nextafter_test): Likewise.
1047 (pow_test): Likewise.
1048 (scalbn_test): Likewise.
1049 (scalbln_test): Likewise.
1050
95443d88
L
10512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1052
1053 * sysdeps/x86_64/bits/atomic.h
1054 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
1055 64bit integer.
1056 (atomic_exchange_acq): Likewise.
1057 (__arch_exchange_and_add_body): Likewise.
1058 (__arch_add_body): Likewise.
1059 (atomic_add_negative): Likewise.
1060 (atomic_add_zero): Likewise.
1061
490df6c4
L
10622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1063
c2722551 1064 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
1065 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
1066
5e52b189
L
10672012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1068
1069 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
1070 Check __x86_64__ instead of __WORDSIZE.
1071
a9879d4c
L
10722012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1073
1074 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
1075
5df98260
DM
10762012-03-19 David S. Miller <davem@davemloft.net>
1077
e1497744
DM
1078 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1079
5df98260
DM
1080 * sysdeps/sparc/fpu/fenv_private.h: New file.
1081 * sysdeps/sparc/fpu/math_private.h: Use it.
1082 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1083 Remove.
1084 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1085 (libc_feholdexcept_setroundl): Remove.
1086 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1087 Remove.
1088 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1089 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1090
b4c35121
L
10912012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1092
1093 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1094 int64_t instead of long int.
1095 (INSERT_WORDS64): Likwise.
1096
56965fd7
L
10972012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1098
1099 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1100 _Unwind_GetCFA return to _Unwind_Ptr first.
1101
83d1aec8
JM
11022012-03-19 Joseph Myers <joseph@codesourcery.com>
1103
1897ad44
JM
1104 [BZ #13629]
1105 * math/s_clog.c: Include <float.h>.
1106 (__clog): Scale large or subnormal inputs.
1107 * math/s_clogf.c: Likewise.
1108 * math/s_clogl.c: Likewise.
1109 * math/s_clog10.c: Include <float.h>.
1110 (M_LOG10_2): Define.
1111 (__clog10): Scale large or subnormal inputs.
1112 * math/s_clog10f.c: Likewise.
1113 * math/s_clog10l.c: Likewise.
1114 * math/libm-test.inc (clog_test): Add more tests.
1115 (clog10_test): Likewise.
1116 * sysdeps/i386/fpu/libm-test-ulps: Update.
1117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1118
7726d6a9
JM
1119 [BZ #11451]
1120 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1121 x and y.
1122 * math/libm-test.inc (atan2_test): Add another test.
1123
83d1aec8
JM
1124 * Makerules (common-objdir-compile): Remove.
1125 * sysdeps/unix/Makefile (config-generated): Do not add
1126 $(unix-generated) to variable.
1127 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1128 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1129 Remove rule.
1130 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1131 Likewise.
1132 [generic bits/local_lim.h] (before-compile): Do not append to
1133 variable.
1134 [generic bits/local_lim.h] (common-generated): Likewise.
1135 [generic sys/param.h] (before-compile): Do not append to variable.
1136 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1137 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1138 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1139 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1140 include.
1141 [generic sys/param.h] (sys/param.h-includes): Remove variable.
1142 [generic sys/param.h] (sys/param.h-includes): Remove rule.
1143 [generic sys/param.h] ($(addprefix
1144 $(common-objpfx),$(sys/param.h-includes))): Likewise.
1145 [generic sys/param.h] (common-generated): Do not append to
1146 variable.
1147 [generic sys/param.h] (sysdep_headers): Likewise.
1148 [generic bits/errno.h] (before-compile): Do not append to
1149 variable.
1150 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
1151 rule.
1152 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
1153 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
1154 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
1155 [generic bits/errno.h] (common-generated): Do not append to
1156 variable.
1157 [generic bits/ioctls.h] (before-compile): Do not append to
1158 variable.
1159 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
1160 rule.
1161 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
1162 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
1163 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
1164 rule.
1165 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
1166 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
1167 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
1168 [generic bits/ioctls.h] (common-generated): Do not append to
1169 variable.
1170 [generic sys/syscall.h] (syscall.h): Remove variable.
1171 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
1172 rule.
1173 [generic sys/syscall.h] (before-compile): Do not append to
1174 variable.
1175 [generic sys/syscall.h] (common-generated): Likewise.
1176 * sysdeps/unix/errnos-tmpl.c: Remove file.
1177 * sysdeps/unix/errnos.awk: Likewise.
1178 * sysdeps/unix/ioctls-tmpl.c: Likewise.
1179 * sysdeps/unix/ioctls.awk: Likewise.
1180 * sysdeps/unix/mk-local_lim.c: Likewise.
1181 * sysdeps/unix/snarf-ioctls: Likewise.
1182
4851a949
RH
11832012-03-19 Richard Henderson <rth@twiddle.net>
1184
bd37f2ee
RH
1185 * sysdeps/i386/fpu/fenv_private.h: New file.
1186 * sysdeps/i386/fpu/math_private.h: Use it.
1187 (math_opt_barrier, math_force_eval): Remove.
1188 (libc_feholdexcept_setround_53bit): Remove.
1189 (libc_feupdateenv_53bit): Remove.
1190 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1191 (math_opt_barrier, math_force_eval): Remove.
1192 (libc_feholdexcept): Remove.
1193 (libc_feholdexcept_setround): Remove.
1194 (libc_fetestexcept, libc_fesetenv): Remove.
1195 (libc_feupdateenv_test): Remove.
1196 (libc_feupdateenv, libc_feholdsetround): Remove.
1197 (libc_feresetround): Remove.
1198
d0adc922
RH
1199 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1200 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1201
0fe0f1f8
RH
1202 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1203 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1204 (libc_feupdateenv_testl): New.
1205 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1206 (libc_feupdateenv_testf): New.
1207 (libc_feupdateenv): Use libc_feupdateenv_test.
1208 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1209 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1210
eb92c487
RH
1211 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1212 (libc_feholdsetroundf, libc_feholdsetroundl): New.
1213 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1214 (libc_feresetround_noex): New.
1215 (libc_feresetround_noexf): New.
1216 (libc_feresetround_noexl): New.
1217 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1218 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1219 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1220 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1221 SET_RESTORE_ROUND.
1222 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1223 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1224 (__cos): Likewise.
1225 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1226 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1227 SET_RESTORE_ROUND_NOEX.
1228 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1229 SET_RESTORE_ROUND_NOEXF.
1230 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1231 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1232 (libc_feholdsetroundf): New.
1233 (libc_feresetround, libc_feresetroundf): New.
1234
7d2e8012
RH
1235 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1236 (libc_feholdexcept_setround_53bit): Convert from macro to function.
1237 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
1238
b4dabbb4
RH
1239 * sysdeps/generic/math_private.h: Include <fenv.h>.
1240 (default_libc_feholdexcept): New.
1241 (default_libc_feholdexcept_setround): New.
1242 (default_libc_fesetenv, default_libc_feupdateenv): New.
1243 (libc_feholdexcept): Only define if undefined.
1244 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1245 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1246 (libc_feholdexcept_setroundl): Likewise.
1247 (libc_feholdexcept_setround_53bit): Likewise.
1248 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1249 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1250 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1251 (libc_feupdateenv_53bit): Likewise.
1252 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1253 (libc_feholdexcept): Convert from macro to inline function.
1254 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1255 (libc_fesetenv, libc_feupdateenv): Likewise.
1256
4851a949
RH
1257 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1258 not previously defined.
1259 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1260 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1261 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1262 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1263 * sysdeps/ieee754/flt-32/math_private.h: New file.
1264 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1265 math_private.h below SET_FLOAT_WORD.
1266 (__isnan, __isinf_ns, __finite): Remove.
1267 (__isnanf, __isinf_nsf, __finitef): Remove.
1268
e79d442e
AS
12692012-03-18 Andreas Schwab <schwab@linux-m68k.org>
1270
1271 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1272
90b80344
DM
12732012-03-17 David S. Miller <davem@davemloft.net>
1274
1275 [BZ #6471]
1276 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1277 for 2.16.
1278
edc21804
DM
12792012-03-16 David S. Miller <davem@davemloft.net>
1280
77e927af
DM
1281 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1282 warnings.
1283
374976dd
DM
1284 [BZ #6471]
1285 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1286 properly.
1287 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1288 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1289 sysdep_routines when subdir is sysvipc.
1290 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1291 __getshmlba helper.
1292
edc21804
DM
1293 * sysdeps/sparc/fpu/libm-test/ulps: Update.
1294
473c3ef3
L
12952012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1296
1297 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1298 [__LP64__].
1299
eb0f39b6
L
13002012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1301
1302 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1303 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1304 (__lround): Renamed to ...
1305 (__llround): This. Replace long int with long long int.
1306 Define lround functions as aliases of llround functions.
1307 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1308
6b6cd74b
L
13092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1310
1311 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1312 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
1313 adresses to uintptr_t. Replace "long int" and "unsigned long
1314 int" with "greg_t" on va_arg.
1315
f1a77b01
L
13162012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1317
1318 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1319 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1320
1321 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1322 Move e_machine check before EI_CLASS check. Handle x32
1323 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1324 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1325 SKIP_EM_IA_64 and include
1326 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1327
1328 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1329 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1330 (add_system_dir): New macro.
1331
1332 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1333 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1334
11b90b9f
JM
13352012-03-16 Joseph Myers <joseph@codesourcery.com>
1336
c36e1d23
JM
1337 [BZ #2551]
1338 [BZ #2552]
1339 [BZ #2553]
1340 [BZ #2554]
1341 [BZ #2562]
1342 [BZ #2563]
1343 [BZ #2565]
1344 [BZ #2566]
1345 [BZ #2576]
1346 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1347 (y0): Likewise.
1348 * math/w_j0f.c (j0f): Likewise.
1349 (y0f): Likewise.
1350 * math/w_j0l.c (__j0l): Likewise.
1351 (__y0l): Likewise.
1352 * math/w_j1.c (j1): Likewise.
1353 (y1): Likewise.
1354 * math/w_j1f.c (j1f): Likewise.
1355 (y1f): Likewise.
1356 * math/w_j1l.c (__j1l): Likewise.
1357 (__y1l): Likewise.
1358 * math/w_jn.c (jn): Likewise.
1359 (yn): Likewise.
1360 * math/w_jnf.c (jnf): Likewise.
1361 (ynf): Likewise.
1362 * math/w_jnl.c (__jnl): Likewise.
1363 (__ynl): Likewise.
1364 * math/libm-test.inc (j0_test): Add more tests.
1365 (j1_test): Likewise.
1366 (jn_test): Likewise. Add trailing semicolon to existing test.
1367 (y0_test): Likewise.
1368 (y1_test): Likewise.
1369 * sysdeps/i386/fpu/libm-test-ulps: Update.
1370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1371
11b90b9f
JM
1372 [BZ #13851]
1373 [BZ #13854]
1374 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1375 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1376 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1377 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1378 (__tanl): Set errno for infinite argument.
1379 * sysdeps/i386/fpu/mptan.c: Remove.
1380 * sysdeps/i386/fpu/s_tan.S: Likewise.
1381 * sysdeps/i386/fpu/s_tanl.S: Likewise.
1382 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1383 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1384 * math/libm-test.inc (tan_test): Add more tests and enable more
1385 tests for double and long double.
1386 * sysdeps/i386/fpu/libm-test-ulps: Update.
1387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1388
6a1bd2a1
JK
13892012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1390
1391 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1392 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1393
10a803e0
RM
13942012-03-16 Roland McGrath <roland@hack.frob.com>
1395
1396 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1397 * configure.in: Use it for both main tree and add-ons.
1398 * configure: Regenerated.
1399
f196c7f7
L
14002012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1401
1402 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1403
8848d99d
JM
14042012-03-16 Joseph Myers <joseph@codesourcery.com>
1405
96cbe7f4
JM
1406 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1407 in comment.
1408
8848d99d
JM
1409 [BZ #13851]
1410 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1411 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1412 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1413 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1414 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1415 infinite argument.
1416 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1417 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1418 != 0 for prec == 2.
1419 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1420 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1421 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1422 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1423 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1424 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1425 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1426 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1427 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1428 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1429 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1430 * math/libm-test.inc (cos_test): Add more tests and enable more
1431 tests for long double.
1432 (sin_test): Likewise.
1433 (sincos_test): Likewise.
1434 * sysdeps/i386/fpu/libm-test-ulps: Update.
1435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1436
dd7f4703
DM
14372012-03-16 David S. Miller <davem@davemloft.net>
1438
1439 * sysdeps/sparc/fpu/math_private.h: New file.
1440
006f1daa
DM
14412012-03-15 David S. Miller <davem@davemloft.net>
1442
c0c83bc8
DM
1443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1444 file.
e6a62e18 1445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
1446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1447 file.
e6a62e18
DM
1448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1449 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1450 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1451 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1452 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1453 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1454 sysdep routines.
1455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1456
88cb87d9
DM
1457 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1458 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1459
006f1daa 1460 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
1461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1462 sparc-ifunc.h
006f1daa 1463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
1464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1465 Likewise.
1466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1467 Likewise.
006f1daa
DM
1468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
1471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1472 Likewise.
006f1daa
DM
1473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
1477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1478 Likewise.
1479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1480 Likewise.
006f1daa
DM
1481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1485 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1486 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1487 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1488 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1489 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1490 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1491 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1492 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1493 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1494 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1495 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1496 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1497 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1498 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1499 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1500 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1501 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1502 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1503 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1504 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1505
11e0098e
AS
15062012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1507
1508 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1509 scaling.
1510 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1511
e85b09d0
AJ
15122012-03-15 Andreas Jaeger <aj@suse.de>
1513
1514 [BZ #13852]
1515 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1516 ieee754/flt-32 implementation for sin, cos and sincos.
1517 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1518 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1519 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1520 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1521 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1522 ieee754/flt-32 implementation for tan.
1523
1524 * math/libm-test.inc (cos_test): Enable some large input tests for
1525 float as well
1526 (sin_test): Likewise.
1527 (sincos_test): Likewise.
1528 (tan_test): Add tests for large input.
1529
1530 * sysdeps/i386/fpu/libm-test-ulps: Update.
1531
81c64153
AJ
15322012-03-15 Andreas Jaeger <aj@suse.de>
1533
1534 [BZ #13658]
1535 * math/libm-test.inc (cos_test): Add more test cases.
1536 (sin_test): Likewise.
1537 (sincos_test): Likewise.
1538
7bbfa5c6
AJ
15392012-03-15 Andreas Jaeger <aj@suse.de>
1540
1541 [BZ #13837]
1542 * math/libm-test.inc (cos_test): Add a test case for large input
1543 value.
1544 (sin_test): Likewise.
1545 (sincos_test): Likewise.
1546
15472012-03-15 Andreas Jaeger <aj@suse.de>,
1548 Joseph Myers <joseph@codesourcery.com>
1549
1550 [BZ #13658]
0671f479 1551 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
1552 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1553 * sysdeps/i386/fpu/branred.c: Likewise.
1554 * sysdeps/i386/fpu/dosincos.c: Likewise.
1555 * sysdeps/i386/fpu/mpa.c: Likewise.
1556 * sysdeps/i386/fpu/s_cos.S: Likewise.
1557 * sysdeps/i386/fpu/s_sin.S: Likewise.
1558 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1559 * sysdeps/i386/fpu/sincos32.c: Likewise.
1560
1561 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1562 Define.
1563 (libc_feupdateenv_53bit): Define.
1564 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1565 Define.
1566 (libc_feupdateenv_53bit): Define.
1567
1568 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1569 53 bit (without extend i386 double precision).
1570
1571 * math/libm-test.inc (sincos_test): Add tests for large input.
1572 (sin): Likewise.
1573 (cos): Likewise.
1574
1575 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1576
9cad04ea
AS
15772012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1578
1579 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1580
f7062b9a
DM
15812012-03-15 David S. Miller <davem@davemloft.net>
1582
1583 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1584 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1585 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1586 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1591 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1592 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1593 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1594 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1595 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1596 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1597 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
1598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1599 file.
f7062b9a 1600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
1601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1602 file.
f7062b9a 1603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
1604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1605 file.
f7062b9a 1606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
1607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1608 file.
f7062b9a
DM
1609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1610 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1611 fmin/fmax sysdep routines.
1612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1613
7bd951ff
DM
16142012-03-14 David S. Miller <davem@davemloft.net>
1615
559398ab
DM
1616 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1617 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1618 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1619 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1620 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1621 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1622 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1623 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1624 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1625 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1626 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1627 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1628 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1629 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1630 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1631 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1632 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1633 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1634 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1635 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1636 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1637 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1638 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1639 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1640 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1641 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1642 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1643 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1644 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1645 routines.
1646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1647 file.
559398ab 1648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
1649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1650 file.
559398ab 1651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
1652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1653 file.
559398ab 1654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
1655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1656 file.
559398ab 1657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
1658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1659 file.
559398ab 1660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
1661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1662 file.
1663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1664 file.
1665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1666 file.
1667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1668 file.
1669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1670 New file.
1671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1672 file.
1673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1674 file.
559398ab 1675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
1676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1677 file.
559398ab 1678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1680 file.
559398ab 1681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
1682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1683 file.
559398ab 1684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
1685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1686 VIS3 routines.
559398ab
DM
1687
1688 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1689 New file.
1690
5a1c1e32
DM
1691 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1692
eae47a36
DM
1693 * sysdeps/sparc/configure.in: New file.
1694 * sysdeps/sparc/configure: Generate.
1695 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1696 * configure: Regenerate.
1697 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1698 * config.make.in (have-as-vis3): New.
1699 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1700 available use -Av9d instead of -Av9a.
1701 * sysdeps/sparc/sparc64/Makefile: Likewise.
1702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
1703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1704 New file.
1705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1706 file.
1707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1708 New file.
1709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1710 file.
eae47a36
DM
1711 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1712 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1713 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1714 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1715 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1716
c0c83bc8
DM
1717 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1718 fzeros/fnegs to load 0x80000000 into a float register instead of
1719 using the stack.
7bd951ff
DM
1720 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1721
bd951ccb
JM
17222012-03-14 Joseph Myers <joseph@codesourcery.com>
1723
1724 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1725 bits/syscall.h.
1726 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1727 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1728 ($(inst_includedir)/bits/syscall.h): Remove rule.
1729 ($(objpfx)bits/syscall.d): Include instead of
1730 $(objpfx)syscall-list.d.
1731 (generated): Change syscall-list.h and syscall-list.d to
1732 bits/syscall.h and bits/syscall.d.
1733
bb4e6db2
RM
17342012-03-14 Roland McGrath <roland@hack.frob.com>
1735
1736 [BZ #13846]
1737 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1738
aa4a2ae1
JM
17392012-03-14 Joseph Myers <joseph@codesourcery.com>
1740
e456826d
JM
1741 [BZ #13841]
1742 * math/s_csqrt.c: Include <float.h>.
1743 (__csqrt): Scale large or subnormal inputs.
1744 * math/s_csqrtf.c: Likewise.
1745 * math/s_csqrtl.c: Likewise.
1746 * math/libm-test.inc (csqrt_test): Add more tests.
1747 * sysdeps/i386/fpu/libm-test-ulps: Update.
1748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1749
aa4a2ae1
JM
1750 [BZ #13840]
1751 * math/libm-test.inc (hypot_test): Add more tests.
1752
7c10fd35
DM
17532012-03-13 David S. Miller <davem@davemloft.net>
1754
1755 [BZ #13840]
1756 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1757 double-precision for the calculation instead of scaling.
1758
f453b98b
JM
17592012-03-13 Joseph Myers <joseph@codesourcery.com>
1760
1761 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1762 manipulate bits before adding and subtracting TWO52[sx].
1763 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1764 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1765 Likewise.
1766 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1767
09a3453f
DM
17682012-03-13 David S. Miller <davem@davemloft.net>
1769
8e59da90
DM
1770 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1771 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1772 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1773 rtld-global-offsets.h
1774 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1775
2a8ab7f2
DM
1776 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1777 large parameters.
1778
10f62770
DM
1779 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1780
5f0bdb18
DM
1781 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1782 'err' in the ifdef scope in which it is actually used.
1783
09a3453f
DM
1784 * nss/nss_db/db-init.c: Include string.h
1785
b4b2eb5e
DM
17862012-03-12 David S. Miller <davem@davemloft.net>
1787
98bb2f1c
DM
1788 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1789 masking out of the most significant byte of random value used.
1790 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1791 Fix coding style in previous change.
1792
b4b2eb5e
DM
1793 * sysdeps/unix/sysv/linux/kernel-features.h
1794 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1795 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1796 expression.
1797 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1798 later.
1799
6e226b09
DM
18002012-03-11 David S. Miller <davem@davemloft.net>
1801
a1bcbd40
DM
1802 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1803 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1804 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1805 for 'resultvar' otherwise things get truncated on 64-bit.
1806
cb9d6174
DM
1807 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1808 Fix masking out of the most significant byte of random value used.
1809
6e226b09
DM
1810 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1811
058c132d
AS
18122012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1813
1814 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1815
2d2cd515
DM
18162012-03-09 David S. Miller <davem@davemloft.net>
1817
1818 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1819 variables with appropriate CPP guards.
1820 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1821 frame pointer, not the stack pointer. Correct layout comments. Fix test
1822 on resulting framesize and the management of the outregs buffer for pltexit.
1823 Preserve floating point return values across _dl_call_pltexit call.
1824 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1825 framesize and the management of the outregs buffer for pltexit.
1826 Preserve floating point return values across _dl_call_pltexit
1827 call.
1828 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1829 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1830 (print_exit): Fix format string for return register value.
1831
9a07f9d0
JM
18322012-03-10 Joseph Myers <joseph@codesourcery.com>
1833
1834 * sunrpc/Makefile (others): Add rpcgen.
1835 ($(objpfx)rpcgen): Remove special build rule and dependency on
1836 libc.
1837 * sunrpc/rpcgen.c: New file.
1838
547b5e30
PE
18392012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1840
c524201a
PE
1841 [BZ #13673]
1842 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1843 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1844 * sysdeps/i386/crti.S: Likewise.
1845 * sysdeps/i386/crtn.S: Likewise.
1846 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1847 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1848 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1849 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1850 * sysdeps/sh/crti.S: Likewise.
1851 * sysdeps/sh/crtn.S: Likewise.
1852 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1853
7b6235f2
PE
1854 [BZ #13673]
1855 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1856 with URL.
1857 * locale/programs/locfile-kw.gperf: Likewise.
1858 * locale/programs/charmap-kw.h: Regenerated.
1859 * locale/programs/locfile-kw.h: Likewise.
1860
547b5e30
PE
1861 [BZ #13673]
1862 * intl/plural.y: Replace FSF snail mail address with URL.
1863 * intl/plural.c: Regenerated.
1864
5f0a5dae
RH
18652012-03-09 Richard Henderson <rth@twiddle.net>
1866
1867 * include/math_private.h: Remove file.
1868 * math/math_private.h: Move file ...
1869 * sysdeps/generic/math_private.h: ... here.
1870
b8c03620
RH
1871 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1872 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1873 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1874
4e234f5d 1875 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
1876 and <math_private.h>.
1877 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1878 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1879 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1880 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1881 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1882 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1883 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1884 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1885 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1886 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1887 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1888 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1889 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1890 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1891 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1892 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1893 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1894 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1895 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1896 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1897 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1898 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1899 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1900 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1901 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1902 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1903 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1904 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1905 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1906 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1907 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1908 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1909 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1910 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1911 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1912 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1913 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1914 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1915 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1916 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1917 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1918 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1919 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1920 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1921 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1922 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1923 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1924 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1925 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1926 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1927 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1928 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1929 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1930 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1931 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1932 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1933 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1934 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1935 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1936 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1937 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1938 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1939 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1940 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1941 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1942 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1943 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1944 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1945 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1946 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1947 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1948 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1949 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1950 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1951 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1952 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1953 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1954 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1955 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1956 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1957 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1958 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1959 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1960 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1961 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1962 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1963 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1964 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1965 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1966 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1967 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1968 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1969 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1970 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1971 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1972 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1973 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1974 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1975 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1976 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1977 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1978 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1979 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1980 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1981 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1982 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1983 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1984 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1985 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1986 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1987 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1988 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1989 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1990 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1991 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1992 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1993 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1994 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1995 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1996 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1997 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1998 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1999 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2000 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
2001 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2002 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2003 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2004 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
2005 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2006 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
2007 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
2008 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2009 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2010 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
2011 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
2012 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2013 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2014 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2015 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
2016 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2017 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2018 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2019 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2020 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
2021 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
2022 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2023 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2024 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2025 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2026 * sysdeps/ieee754/k_standard.c: Likewise.
2027 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2028 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2029 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2030 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2031 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2032 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2033 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2034 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2035 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2036 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2037 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2038 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2039 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2040 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2041 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2042 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2043 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2044 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2045 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2046 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2047 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2048 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2049 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2050 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2051 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2052 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2053 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2054 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2055 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2056 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2057 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2058 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2059 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2060 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2061 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2062 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2063 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2064 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
2065 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2066 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2067 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2068 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2069 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2070 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2071 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2072 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2073 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2074 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2075 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2076 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2077 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2078 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2079 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2080 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2081 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2082 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2083 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2084 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2085 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2086 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2087 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2088 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2089 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2090 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2091 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2092 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2093 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2094 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2095 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2096 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2097 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2098 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2099 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2100 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2101 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2102 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2103 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2104 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2105 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2106 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2107 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2108 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2109 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2110 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2111 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2112 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2113 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2114 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2115 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2116 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2117 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2118 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2119 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2120 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2121 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2122 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2123 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2124 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2125 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2126 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2127 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2128 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2129 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2130 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2131 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2132 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2133 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2134 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2135 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2136 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2137 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2138 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2139 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2140 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2141 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2142 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2143 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2144 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2145 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2146 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2147 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2148 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2149 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2150 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2151 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2152 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2153 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2154 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2155 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2156 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2157 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2158 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2159 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2160 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2161 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2162 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2163 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
2164 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2165 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2166 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
2167 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
2168 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2169 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
2170 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
2171 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2172 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2173 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2174 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2175 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2176 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
2177 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2178 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2179 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2180 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2181 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
2182 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
2183 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2184 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2185 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2186 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2187 * sysdeps/ieee754/s_lib_version.c: Likewise.
2188 * sysdeps/ieee754/s_matherr.c: Likewise.
2189 * sysdeps/ieee754/s_signgam.c: Likewise.
2190 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2191 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2192 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2193 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2194 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2195 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2196 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2197 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2198 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2199 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2200 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2201 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2202 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2203 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2204 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2205 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2206 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2207 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2208 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2209 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2210 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 2211
1991fa03
JM
22122012-03-09 Joseph Myers <joseph@codesourcery.com>
2213
2214 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2215 * sunrpc/rpc_main.c: Likewise.
2216 * sunrpc/rpc_svcout.c: Likewise.
2217
60d6f5a6
DM
22182012-03-09 David S. Miller <davem@davemloft.net>
2219
2220 * include/math_private.h: New file.
2221
4962050e
JM
22222012-03-09 Joseph Myers <joseph@codesourcery.com>
2223
02a6f887
JM
2224 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2225 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2226 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2227 from <bits/socket_type.h>.
2228 (enum __socket_type): Don't define here.
2229 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2230 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2231 bits/socket_type.h.
2232
c6e013c1
JM
2233 [BZ #13566]
2234 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2235 checking __USE_GNU.
2236
4962050e
JM
2237 * Makerules ($(inst_includedir)/%.h): New rule.
2238 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2239 (install-others): Remove variable setting.
2240 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2241
38842f45
RH
22422012-03-08 Richard Henderson <rth@twiddle.net>
2243
67bb6da6
RH
2244 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2245 from macro to inline function; merge with the
2246 !__LIBC_INTERNAL_MATH_INLINES version.
2247 (__ieee754_sqrtf): Likewise.
2248
15194b4b
RH
2249 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2250 to inline function.
2251 (__rintf, __floor, __floorf): Likewise.
2252
64e21ede
RH
2253 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2254 macro to inline function.
2255 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2256
38842f45
RH
2257 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2258 not <math/math_private.h>.
2259
c64bf5fe
DM
22602012-03-08 David S. Miller <davem@davemloft.net>
2261
2262 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2263 copyright year.
2264 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2265
82d86f28
TS
22662012-03-08 Thomas Schwinge <thomas@codesourcery.com>
2267
2268 * resolv/gai_misc.c (handle_requests): Fix struct timespec
2269 normalization.
2270 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2271 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2272
aea5d727
UD
22732012-03-08 Ulrich Drepper <drepper@gmail.com>
2274
2275 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
2276 be defined individually, they must be defined as a block. Define
2277 S for printing a string instead of hidint the different by using a
2278 macro for adding the 'l'.
2279 * stdio-common/tst-fphex-wide.c: Adjust.
2280
70bca0a3
MP
22812012-03-07 Marek Polacek <polacek@redhat.com>
2282
2283 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2284
65b81130
MP
22852012-03-08 Marek Polacek <polacek@redhat.com>
2286
2287 [BZ #13806]
2288 * stdio-common/Makefile (tests): Add tst-fphex-wide.
2289 * stdio-common/tst-fphex.c: Define a few macros to make the
2290 test reusable. Use them.
2291 * stdio-common/tst-fphex-wide.c: New file.
2292
07037eeb
JM
22932012-03-08 Joseph Myers <joseph@codesourcery.com>
2294
a7a93d50
JM
2295 [BZ #6911]
2296 * manual/macros.texi (gnusystems): New macro.
2297 (nongnusystems): Likewise.
2298 (gnulinuxhurdsystems): Likewise.
2299 (gnuhurdsystems): Likewise..
2300 (gnulinuxsystems): Likewise.
2301 * manual/charset.texi: Use new macros or @theglibc{} to refer to
2302 variants of the GNU system, not "GNU system".
2303 * manual/conf.texi: Likewise.
2304 * manual/errno.texi: Likewise. Update example of errno macro
2305 expansion.
2306 * manual/filesys.texi: Likewise.
2307 (getumask): Document as specific to GNU/Hurd.
2308 * manual/install.texi: Likewise. Reword some references to
2309 GNU/Linux.
2310 * manual/intro.texi: Likewise.
2311 * manual/io.texi: Likewise.
2312 (File Name Portability): Detail which constraints are inapplicable
2313 to all GNU systems and which are only inapplicable to GNU/Hurd.
2314 * manual/job.texi: Likewise.
2315 * manual/llio.texi: Likewise.
2316 (O_NOCTTY): Document as present on GNU/Linux.
2317 * manual/maint.texi: Likewise.
2318 * manual/memory.texi: Likewise.
2319 * manual/pattern.texi: Likewise.
2320 * manual/pipe.texi: Likewise.
2321 * manual/process.texi: Likewise.
2322 * manual/resource.texi: Likewise.
2323 (RUSAGE_CHILDREN): Remove statement about specifying a particular
2324 child on GNU/Hurd.
2325 * manual/setjmp.texi: Likewise.
2326 * manual/signal.texi: Likewise.
2327 * manual/startup.texi: Likewise.
2328 * manual/stdio.texi: Likewise.
2329 * manual/terminal.texi: Likewise.
2330 (ONLCR): Document as POSIX.
2331 (OXTABS): Document availability on GNU/Linux as XTABS.
2332 (ONOEOT): Document availability separately from other bits.
2333 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2334 * manual/time.texi: Likewise.
2335 * manual/users.texi: Likewise.
2336 * INSTALL: Regenerated.
2337 * sysdeps/gnu/errlist.c: Regenerated.
2338
07037eeb
JM
2339 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2340 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2341 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
2342 puts.
2343 * configure: Regenerated.
2344
d1d3431a
JM
23452012-03-07 Joseph Myers <joseph@codesourcery.com>
2346
af6a1e37
JM
2347 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2348 default includes instead of AC_HEADER_CHECK.
2349 * sysdeps/i386/configure: Regenerated.
2350
d1d3431a
JM
2351 [BZ #10716]
2352 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2353 * math/s_cacoshf.c (__cacoshf): Likewise.
2354 * math/s_cacoshl.c (__cacoshl): Likewise.
2355 * math/s_casinh.c (__casinh): Set signs of result from argument.
2356 * math/s_casinhf.c (__casinhf): Likewise.
2357 * math/s_casinhl.c (__casinhl): Likewise.
2358 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2359 (casinh_test): Add more tests.
2360 * sysdeps/i386/fpu/libm-test-ulps: Update.
2361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2362
482ff4da
UD
23632012-03-07 Ulrich Drepper <drepper@gmail.com>
2364
872fda05
UD
2365 * po/zh_TW.po: Update from translation team.
2366
a4300c7a
UD
2367 * login/Makefile (distribute): Remove variable.
2368 * catgets/Makefile: Likewise.
2369 * mach/Makefile: Likewise.
2370 * malloc/Makefile: Likewise.
2371 * misc/Makefile: Likewise.
2372 * iconv/Makefile: Likewise.
2373 * nscd/Makefile: Likewise.
2374 * hurd/Makefile: Likewise.
2375 * manual/Makefile: Likewise.
2376 * locale/Makefile: Likewise.
2377 * intl/Makefile: Likewise.
2378 * conform/Makefile: Likewise.
2379 * nss/Makefile: Likewise.
2380 * time/Makefile: Likewise.
2381 * soft-fp/Makefile: Likewise.
2382 * dirent/Makefile: Likewise.
2383 * gmon/Makefile: Likewise.
2384 * po/Makefile: Likewise.
2385 * rt/Makefile: Likewise.
2386 * socket/Makefile: Likewise.
2387 * math/Makefile: Likewise.
2388 * signal/Makefile: Likewise.
2389 * debug/Makefile: Likewise.
2390 * elf/Makefile: Likewise.
2391 * timezone/Makefile: Likewise.
2392 * stdlib/Makefile: Likewise.
2393 * iconvdata/Makefile: Likewise.
2394 * sunrpc/Makefile: Likewise.
2395 * io/Makefile: Likewise.
2396 * argp/Makefile: Likewise.
2397 * inet/Makefile: Likewise.
2398 * hesiod/Makefile: Likewise.
2399 * grp/Makefile: Likewise.
2400 * csu/Makefile: Likewise.
2401 * wctype/Makefile: Likewise.
2402 * crypt/Makefile: Likewise.
2403 * libio/Makefile: Likewise.
2404 * string/Makefile: Likewise.
2405 * nis/Makefile: Likewise.
2406 * resolv/Makefile: Likewise.
2407 * stdio-common/Makefile: Likewise.
2408 * wcsmbs/Makefile: Likewise.
2409 * dlfcn/Makefile: Likewise.
2410 * posix/Makefile: Likewise.
2411
482ff4da
UD
2412 * timezone/Makefile: Don't install timezone files, just the programs
2413 and scripts.
2414
f72ed77d
UD
24152012-03-06 Ulrich Drepper <drepper@gmail.com>
2416
a000466f
UD
2417 * nss/databases.def: Add missing gshadow entry.
2418
f72ed77d
UD
2419 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2420
a53b7a4e
MP
24212012-03-06 Marek Polacek <polacek@redhat.com>
2422
2423 [BZ #13726]
2424 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2425 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2426 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2427 * stdio-common/tst-long-dbl-fphex.c: New file.
2428
e9258400
DM
24292012-03-06 David S. Miller <davem@davemloft.net>
2430
2431 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2432 (set_obp_int): New function.
2433 (get_obp_int): New function.
2434 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
2435 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2436 Avoid unused variable warnings on 'val' and use builtin_expect.
2437 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2438 __builtin_expect.
e9258400
DM
2439 (INLINE_CLONE_SYSCALL): Likewise.
2440
3bd2c723
DM
24412012-03-05 David S. Miller <davem@davemloft.net>
2442
2443 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2444
bbb78d03
AS
24452012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2446
884c5db4
AS
2447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2448
bbb78d03
AS
2449 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2450 only for |x| >= 40.
2451 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2452
1c9f702a 24532012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
2454
2455 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2456 Replace gettimeofday with __vdso_gettimeofday.
2457
7be16f82
RM
2458 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2459 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2460 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
2461
2462 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2463 time with __vdso_time.
2464
ed58a00f
JM
24652012-03-05 Joseph Myers <joseph@codesourcery.com>
2466
2467 * manual/lang.texi (size_t): Note types to which size_t may be
2468 equivalent with the GNU C Library, but do not describe when
2469 differences between them are significant.
2470
30ee4ced
AJ
24712012-03-05 Andreas Jaeger <aj@suse.de>
2472
2473 * sysdeps/i386/fpu/libm-test-ulps: Update.
2474
b7cd39e8
JM
24752012-03-05 Joseph Myers <joseph@codesourcery.com>
2476
2477 [BZ #3976]
2478 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2479 (__ieee754_pow): Save and restore rounding mode and use
2480 round-to-nearest for main computations.
2481 * math/libm-test.inc (pow_test_tonearest): New function.
2482 (pow_test_towardzero): Likewise.
2483 (pow_test_downward): Likewise.
2484 (pow_test_upward): Likewise.
2485 (main): Call the new functions.
2486 * sysdeps/i386/fpu/libm-test-ulps: Update.
2487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
2488
2489 [BZ #3976]
2490 * math/libm-test.inc (cosh_test_tonearest): New function.
2491 (cosh_test_towardzero): Likewise.
2492 (cosh_test_downward): Likewise.
2493 (cosh_test_upward): Likewise.
2494 (sinh_test_tonearest): Likewise.
2495 (sinh_test_towardzero): Likewise.
2496 (sinh_test_downward): Likewise.
2497 (sinh_test_upward): Likewise.
2498 (main): Call the new functions.
2499 * sysdeps/i386/fpu/libm-test-ulps: Update.
2500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2501
6c6a98c9
TV
25022012-03-05 Tom de Vries <tom@codesourcery.com>
2503
2504 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2505 default stack guard is set in last bytes.
2506 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2507
21bb2d2e 25082012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 2509
21bb2d2e 2510 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 2511
21bb2d2e
AJ
2512 [BZ #13656]
2513 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2514 possibly allocate from heap instead of stack.
2515 * stdio-common/bug-vfprintf-nargs.c: New file.
2516 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 2517
c6922934
AS
25182012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2519
2520 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2521
bc957d53
MP
25222012-03-03 Marek Polacek <polacek@redhat.com>
2523
2524 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2525 * math/math_private.h: Likewise.
2526 * stdlib/tst-strtod.c: Likewise.
2527 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2528 * sysdeps/x86_64/bits/atomic.h: Likewise.
2529
6358490d
DM
25302012-03-02 David S. Miller <davem@davemloft.net>
2531
2532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2536 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2537 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2538 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2539 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2540
01ae168d
RM
25412012-03-02 Roland McGrath <roland@hack.frob.com>
2542
d9a17c07
RM
2543 [BZ #13792]
2544 * manual/examples/README: New file, says the example source files
2545 can be used under GPL>=2.
2546 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2547 line containing just "*/".
2548 * manual/examples/add.c: Add copyright header (GPL>=2).
2549 * manual/examples/argp-ex1.c: Likewise.
2550 * manual/examples/argp-ex2.c: Likewise.
2551 * manual/examples/argp-ex3.c: Likewise.
2552 * manual/examples/argp-ex4.c: Likewise.
2553 * manual/examples/atexit.c: Likewise.
2554 * manual/examples/db.c: Likewise.
2555 * manual/examples/dir.c: Likewise.
2556 * manual/examples/dir2.c: Likewise.
2557 * manual/examples/execinfo.c: Likewise.
2558 * manual/examples/filecli.c: Likewise.
2559 * manual/examples/filesrv.c: Likewise.
2560 * manual/examples/fmtmsgexpl.c: Likewise.
2561 * manual/examples/genpass.c: Likewise.
2562 * manual/examples/inetcli.c: Likewise.
2563 * manual/examples/inetsrv.c: Likewise.
2564 * manual/examples/isockad.c: Likewise.
2565 * manual/examples/longopt.c: Likewise.
2566 * manual/examples/memopen.c: Likewise.
2567 * manual/examples/memstrm.c: Likewise.
2568 * manual/examples/mkfsock.c: Likewise.
2569 * manual/examples/mkisock.c: Likewise.
2570 * manual/examples/mygetpass.c: Likewise.
2571 * manual/examples/pipe.c: Likewise.
2572 * manual/examples/popen.c: Likewise.
2573 * manual/examples/rprintf.c: Likewise.
2574 * manual/examples/search.c: Likewise.
2575 * manual/examples/select.c: Likewise.
2576 * manual/examples/setjmp.c: Likewise.
2577 * manual/examples/sigh1.c: Likewise.
2578 * manual/examples/sigusr.c: Likewise.
2579 * manual/examples/stpcpy.c: Likewise.
2580 * manual/examples/strdupa.c: Likewise.
2581 * manual/examples/strftim.c: Likewise.
2582 * manual/examples/strncat.c: Likewise.
2583 * manual/examples/subopt.c: Likewise.
2584 * manual/examples/swapcontext.c: Likewise.
2585 * manual/examples/termios.c: Likewise.
2586 * manual/examples/testopt.c: Likewise.
2587 * manual/examples/testpass.c: Likewise.
2588 * manual/examples/timeval_subtract.c: Likewise.
2589
01ae168d
RM
2590 [BZ #13792]
2591 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2592 function to ...
2593 * manual/timeval_subtract.c.texi: ... here, new file.
2594
49efa33d
DM
25952012-03-02 David S. Miller <davem@davemloft.net>
2596
2597 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2598
28afd92d
JM
25992012-03-02 Joseph Myers <joseph@codesourcery.com>
2600
804360ed
JM
2601 [BZ #3976]
2602 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2603 (__sin): Save and restore rounding mode and use round-to-nearest
2604 for all computations.
2605 (__cos): Save and restore rounding mode and use round-to-nearest
2606 for all computations.
2607 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2608 <fenv.h>.
2609 (tan): Save and restore rounding mode and use round-to-nearest for
2610 all computations.
2611 * math/libm-test.inc (cos_test_tonearest): New function.
2612 (cos_test_towardzero): Likewise.
2613 (cos_test_downward): Likewise.
2614 (cos_test_upward): Likewise.
2615 (sin_test_tonearest): Likewise.
2616 (sin_test_towardzero): Likewise.
2617 (sin_test_downward): Likewise.
2618 (sin_test_upward): Likewise.
2619 (tan_test_tonearest): Likewise.
2620 (tan_test_towardzero): Likewise.
2621 (tan_test_downward): Likewise.
2622 (tan_test_upward): Likewise.
2623 (main): Call the new functions.
2624 * sysdeps/i386/fpu/libm-test-ulps: Update.
2625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2626
a6d06d7b
JM
2627 [BZ #10135]
2628 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2629 small n, then large n, before computing and testing k+n.
2630 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2631 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2632 Likewise.
2633 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2634 Likewise.
2635 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2636 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2637 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2638 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2639 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2640 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2641 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2642 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2643 * math/libm-test.inc (scalbn_test): Add more tests.
2644 (scalbln_test): Likewise.
2645
07e12bb3
JM
2646 * manual/filesys.texi (mode_t): Describe constraints on size and
2647 signedness, not exact equivalence to a particular type.
2648 (ino_t): Likewise.
2649 (ino64_t): Likewise.
2650 (dev_t): Likewise.
2651 (nlink_t): Likewise.
2652 (blkcnt_t): Likewise.
2653 (blkcnt64_t): Likewise.
2654 * manual/llio.texi (off_t): Likewise.
2655
28afd92d
JM
2656 [BZ #3976]
2657 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2658 (__ieee754_exp): Save and restore rounding mode and use
2659 round-to-nearest for all computations.
2660 * math/libm-test.inc (exp_test_tonearest): New function.
2661 (exp_test_towardzero): Likewise.
2662 (exp_test_downward): Likewise.
2663 (exp_test_upward): Likewise.
2664 (main): Call the new functions.
2665 * sysdeps/i386/fpu/libm-test-ulps: Update.
2666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2667
b1eeb65d
CD
26682012-03-01 Chris Demetriou <cgd@google.com>
2669
2670 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2671 have predictable order.
2672
53362a4b
DM
26732012-03-01 David S. Miller <davem@davemloft.net>
2674
3c969083
DM
2675 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2676
759707de
DM
2677 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2678 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2679 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2680 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2681
dfdb8ff2
DM
2682 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2683 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2684 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2686 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2687 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2688 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2689 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2690 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2691
ead89f96
DM
2692 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2693
7f66bd07
DM
2694 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2695 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2696 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2697
53362a4b
DM
2698 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2699 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2700 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2701 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2702 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2703 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2704 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2705 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2706 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2707 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2708 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2709 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2710 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2711 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2712 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2713 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2714 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2715 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2716 * sysdeps/sparc/elf/configure: Regenerated.
2717
7b1902cb
JM
27182012-03-01 Joseph Myers <joseph@codesourcery.com>
2719
bec039bc
JM
2720 * configure.in (AS, LD): Require binutils 2.20 or later.
2721 * configure: Regenerated.
2722 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2723 as required minimum version.
2724 * INSTALL: Regenerated.
2725
7b1902cb
JM
2726 [BZ #2541]
2727 [BZ #4108]
2728 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2729 before squaring exponent.
2730 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2731 bottom long double and 27 bits of top long double before squaring
2732 exponent.
2733 * math/libm-test.inc (erfc_test): Add more tests.
2734 * sysdeps/i386/fpu/libm-test-ulps: Update.
2735 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2737
f775c276
KT
27382012-03-01 Kai Tietz <ktietz@redhat.com>
2739
2740 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2741 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2742 containing bit-fields.
2743 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2744 * soft-fp/single.h (_FP_UNION_S): Likewise.
2745 * soft-fp/double.h (_FP_UNION_D): Likewise.
2746
5b8a4d4a
JM
27472012-02-29 Joseph Myers <joseph@codesourcery.com>
2748
0bab47b6
JM
2749 [BZ #13786]
2750 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2751 not include ../strcmp.S.
2752 [USE_AS_STRNCASECMP_L]: Likewise.
2753 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2754 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2755 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2756 (__strncasecmp_l_ia32): Define as alias to
2757 __strncasecmp_l_nonascii.
2758
0fcad3e2
JM
2759 [BZ #5794]
2760 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2761 * sysdeps/i386/fpu/libm-test-ulps: Update.
2762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2763
5b8a4d4a
JM
2764 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2766
8fdceb2e
JL
27672012-02-29 Jeff Law <law@redhat.com>
2768
2769 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2770 out of bounds read.
2771
1f393a11
MP
27722012-02-29 Marek Polacek <polacek@redhat.com>
2773
2774 [BZ #13706]
2775 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2776 * elf/Makefile: Add rules to run tst-unused-dep.out.
2777
8847f037
DM
27782012-02-28 David S. Miller <davem@davemloft.net>
2779
2780 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2781 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2782 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2783 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2784 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2785 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2786
169d7f11
JM
27872012-02-29 Joseph Myers <joseph@codesourcery.com>
2788
2789 * math/libm-test.inc (llround_test): Move one test from
2790 lround_test. Use TEST_f_L in moved test.
2791 (lround_test): Move misplaced test to llround_test. Add testcase
2792 from bug 2561.
2793
39adf059
UD
27942012-02-28 Ulrich Drepper <drepper@gmail.com>
2795
2796 * sysdeps/x86_64/fpu/e_expf.S: New file.
2797 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2798
71b5d1c5
SB
27992012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2800
2801 [BZ #13637]
2802 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2803 of remain_len that may cause incomplete multi-byte character and
2804 false match.
2805 * posix/bug-regex33.c: New file.
2806 * posix/Makefile (tests): Add bug-regex33.
2807
1f77f049
JM
28082012-02-28 Joseph Myers <joseph@codesourcery.com>
2809
2810 * manual/macros.texi: New file.
2811 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2812 * manual/libc.texinfo: Include macros.texi.
2813 * manual/creatute.texi: Likewise.
2814 * manual/install.texi: Likewise.
2815 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2816 @glibcadj{} in references to the GNU C Library.
2817 * manual/charset.texi: Likewise.
2818 * manual/conf.texi: Likewise.
2819 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2820 when not using those macros.
2821 * manual/creature.texi: Likewise.
2822 * manual/crypt.texi: Likewise.
2823 * manual/errno.texi: Likewise.
2824 * manual/filesys.texi: Likewise.
2825 * manual/header.texi: Likewise.
2826 * manual/install.texi: Likewise.
2827 * manual/intro.texi: Likewise.
2828 * manual/io.texi: Likewise.
2829 * manual/job.texi: Likewise.
2830 * manual/lang.texi: Likewise.
2831 * manual/libc.texiinfo: Likewise.
2832 * manual/llio.texi: Likewise.
2833 * manual/locale.texi: Likewise.
2834 * manual/maint.texi: Likewise.
2835 * manual/math.texi: Likewise.
2836 * manual/memory.texi: Likewise.
2837 * manual/message.texi: Likewise.
2838 * manual/nss.texi: Likewise.
2839 * manual/pattern.texi: Likewise.
2840 * manual/process.texi: Likewise.
2841 * manual/resource.texi: Likewise.
2842 * manual/search.texi: Likewise.
2843 * manual/setjmp.texi: Likewise.
2844 * manual/signal.texi: Likewise.
2845 * manual/socket.texi: Likewise.
2846 * manual/startup.texi: Likewise.
2847 * manual/stdio.texi: Likewise.
2848 * manual/string.texi: Likewise.
2849 * manual/sysinfo.texi: Likewise.
2850 * manual/syslog.texi: Likewise.
2851 * manual/terminal.texi: Likewise.
2852 * manual/time.texi: Likewise.
2853 * manual/users.texi: Likewise.
2854 * INSTALL: Regenerated.
2855 * NOTES: Regenerated.
d40c5d54 2856 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 2857
450bf206
AS
28582012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2859
2860 * include/dirent.h: Include <dirstream.h> before
2861 <dirent/dirent.h>.
2862
741a235b
DM
28632012-02-28 David S. Miller <davem@davemloft.net>
2864
2865 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2866 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2867 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2868 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2869
d6b5aa58
DM
28702012-02-27 David S. Miller <davem@davemloft.net>
2871
1aff59a3
DM
2872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2874 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2875 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2876
d6b5aa58
DM
2877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2878 frame pointer instead of stack pointer relative arg slot.
2879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2880 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2881 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2882
433f48bf
CD
28832012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2884
2885 [BZ #3992]
2886 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2887
d674b76d
DM
28882012-02-27 David S. Miller <davem@davemloft.net>
2889
2890 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2892 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2894 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2895 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2896 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2897 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2898
0e7727f7
JM
28992012-02-27 Joseph Myers <joseph@codesourcery.com>
2900
2901 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2902 later. Allow versions 5-9.
43be4ca2 2903 * configure: Regenerated.
0e7727f7
JM
2904 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2905 required minimum version and 4.6 as recommended version. Do not
2906 mention bugs in GCC 2.7 and 2.8.
43be4ca2 2907 * INSTALL: Regenerated.
0e7727f7 2908
a78bc654
DM
29092012-02-27 David S. Miller <davem@davemloft.net>
2910
428d5830
DM
2911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2914 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2915 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2916 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2917 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2918 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2919
a78bc654
DM
2920 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2921 manipulate bits before adding and subtracting TWO112[sx].
2922 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2923
4579f81c
RM
29242012-02-27 Roland McGrath <roland@hack.frob.com>
2925
36c8acb4
RM
2926 [BZ #13775]
2927 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2928 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2929 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2930 being in POSIX, because they are in 1003.1-2008.
2931
84ad622b
RM
2932 * rt/tst-aio.c: Include <fcntl.h>.
2933 * rt/tst-aio7.c: Likewise.
2934 * rt/tst-aio64.c: Likewise.
2935
4579f81c
RM
2936 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2937
abd923db
JM
29382012-02-27 Joseph Myers <joseph@codesourcery.com>
2939
2940 * manual/install.texi (--with-headers): Describe headers as
2941 interface headers, not private headers.
2942 (Specific advice for GNU/Linux systems): Describe use of headers
2943 from "make headers_install", not private headers from older
2944 kernels.
43be4ca2 2945 * INSTALL: Regenerated.
abd923db
JM
2946 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2947 Change to 2.6.19.
2948 * sysdeps/unix/sysv/linux/configure: Regenerated.
2949
6664049b
JM
2950 * manual/llio.texi (fclean): Remove documentation.
2951
bb8b6697
JM
2952 * manual/Makefile (libc-texi-generated): New variable. Include
2953 version.texi.
2954 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2955 $(libc-texi-generated), not duplicated list of files.
2956 (version.texi, stamp-version): New rules.
2957 (realclean): Remove $(libc-texi-generated), not individual files
2958 from that list. Do not remove dir-add.texinfo.
2959 * manual/libc.texinfo: Comment out uses of edition numbers and
2960 references to printed manual. Remove last-updated dates.
2961 (EDITION): Comment out.
2962 (ISBN): Likewise.
2963 (VERSION, UPDATED): Remove.
2964 (version.texi): Include.
2965
12e5c3b9
AS
29662012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2967
2968 * sysdeps/posix/spawni.c: Include <signal.h>.
2969 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2970 * sysdeps/pthread/aio_fsync.c: Likewise.
2971
4efeffc1 29722012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 2973
ba63ba08
UD
2974 * conform/Makefile (tests): Run only when not cross-compiling and
2975 when fast-check is not defined.
2976
d94a4670
UD
2977 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2978 * conform/data/limits.h-data: Fixes for POSIX2008.
2979 * conform/run-conformtest.sh: Run all tests.
2980 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2981 headers.
2982 * include/bits/dlfcn.h: Likewise.
2983 * include/langinfo.h: Likewise.
2984 * include/monetary.h: Likewise.
2985 * include/sys/poll.h: Likewise.
2986
2987 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2988 for __USE_GNU.
2989 * posix/spawn.h: Define __need_sigset_t.
2990 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2991 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2992 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2993 to get sigevent_t only.
2994 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2995 only for __USE_GNU.
2996 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2997 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2998 process_vm_writev only for __USE_GNU.
2999 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
3000
3001 * conform/Makefile: For now ignore errors from run-conformtest.
3002 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
3003 POSIX to avoid namespace pollution. Don't prepend headers.
3004 * conform/data/aio.h-data: Fixes for POSIX testing.
3005 * conform/data/fcntl.h-data: Likewise.
3006 * conform/data/glob.h-data: Likewise.
3007 * conform/data/grp.h-data: Likewise.
3008 * conform/data/pthread.h-data: Likewise.
3009 * conform/data/pwd.h-data: Likewise.
3010 * conform/data/signal.h-data: Likewise.
3011 * conform/data/spawn.h-data: Likewise.
3012 * conform/data/stdio.h-data: Likewise.
3013 * conform/data/stdlib.h-data: Likewise.
3014 * conform/data/stropts.h-data: Likewise.
3015 * conform/data/sys/mman.h-data: Likewise.
3016 * conform/data/sys/stat.h-data: Likewise.
3017 * conform/data/sys/types.h-data: Likewise.
3018 * conform/data/sys/wait.h-data: Likewise.
3019 * conform/data/time.h-data: Likewise.
3020 * conform/data/unistd.h-data: Likewise.
3021 * conform/data/utime.h-data: Likewise.
3022
3023 * io/sys/stat.h: fchmod was always in POSIX.
3024 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
3025 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
3026 * rt/aio.h: Define __need_timespec before including <time.h>.
3027 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
3028 struct. Add forward declaration of pthread_attr_t and use it in
3029 sigevent.
3030 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3031 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3032 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
3033 always remove CLK_TCK definition.
3034
c20105c3
AS
30352012-02-26 Andreas Schwab <schwab@linux-m68k.org>
3036
3037 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
3038
7a270350
UD
30392012-02-25 Ulrich Drepper <drepper@gmail.com>
3040
31341567
UD
3041 * conform/run-conformtest.sh: New file.
3042 * conform/Makefile: Run run-conformtest for tests.
3043 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
3044 support.
3045
3046 * conform/data/uchar.h-data: New file.
3047 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
3048 * conform/data/arpa/inet.h-data: Likewise.
3049 * conform/data/assert.h-data: Likewise.
3050 * conform/data/complex.h-data: Likewise.
3051 * conform/data/cpio.h-data: Likewise.
3052 * conform/data/ctype.h-data: Likewise.
3053 * conform/data/dirent.h-data: Likewise.
3054 * conform/data/dlfcn.h-data: Likewise.
3055 * conform/data/errno.h-data: Likewise.
3056 * conform/data/fcntl.h-data: Likewise.
3057 * conform/data/float.h-data: Likewise.
3058 * conform/data/fmtmsg.h-data: Likewise.
3059 * conform/data/fnmatch.h-data: Likewise.
3060 * conform/data/ftw.h-data: Likewise.
3061 * conform/data/glob.h-data: Likewise.
3062 * conform/data/grp.h-data: Likewise.
3063 * conform/data/iconv.h-data: Likewise.
3064 * conform/data/inttypes.h-data: Likewise.
3065 * conform/data/langinfo.h-data: Likewise.
3066 * conform/data/libgen.h-data: Likewise.
3067 * conform/data/limits.h-data: Likewise.
3068 * conform/data/locale.h-data: Likewise.
3069 * conform/data/math.h-data: Likewise.
3070 * conform/data/monetary.h-data: Likewise.
3071 * conform/data/mqueue.h-data: Likewise.
3072 * conform/data/ndbm.h-data: Likewise.
3073 * conform/data/net/if.h-data: Likewise.
3074 * conform/data/netdb.h-data: Likewise.
3075 * conform/data/netinet/in.h-data: Likewise.
3076 * conform/data/nl_types.h-data: Likewise.
3077 * conform/data/poll.h-data: Likewise.
3078 * conform/data/pthread.h-data: Likewise.
3079 * conform/data/pwd.h-data: Likewise.
3080 * conform/data/regex.h-data: Likewise.
3081 * conform/data/sched.h-data: Likewise.
3082 * conform/data/search.h-data: Likewise.
3083 * conform/data/semaphore.h-data: Likewise.
3084 * conform/data/setjmp.h-data: Likewise.
3085 * conform/data/signal.h-data: Likewise.
3086 * conform/data/spawn.h-data: Likewise.
3087 * conform/data/stdarg.h-data: Likewise.
3088 * conform/data/stdio.h-data: Likewise.
3089 * conform/data/stdlib.h-data: Likewise.
3090 * conform/data/string.h-data: Likewise.
3091 * conform/data/strings.h-data: Likewise.
3092 * conform/data/stropts.h-data: Likewise.
3093 * conform/data/sys/ipc.h-data: Likewise.
3094 * conform/data/sys/mman.h-data: Likewise.
3095 * conform/data/sys/msg.h-data: Likewise.
3096 * conform/data/sys/resource.h-data: Likewise.
3097 * conform/data/sys/select.h-data: Likewise.
3098 * conform/data/sys/sem.h-data: Likewise.
3099 * conform/data/sys/shm.h-data: Likewise.
3100 * conform/data/sys/socket.h-data: Likewise.
3101 * conform/data/sys/stat.h-data: Likewise.
3102 * conform/data/sys/statvfs.h-data: Likewise.
3103 * conform/data/sys/time.h-data: Likewise.
3104 * conform/data/sys/timeb.h-data: Likewise.
3105 * conform/data/sys/times.h-data: Likewise.
3106 * conform/data/sys/types.h-data: Likewise.
3107 * conform/data/sys/uio.h-data: Likewise.
3108 * conform/data/sys/un.h-data: Likewise.
3109 * conform/data/sys/utsname.h-data: Likewise.
3110 * conform/data/sys/wait.h-data: Likewise.
3111 * conform/data/syslog.h-data: Likewise.
3112 * conform/data/tar.h-data: Likewise.
3113 * conform/data/termios.h-data: Likewise.
3114 * conform/data/utime.h-data: Likewise.
3115 * conform/data/utmpx.h-data: Likewise.
3116 * conform/data/varargs.h-data: Likewise.
3117 * conform/data/wchar.h-data: Likewise.
3118 * conform/data/wctype.h-data: Likewise.
3119 * conform/data/wordexp.h-data: Likewise.
3120
3121 * include/stropts.h: New file.
3122 * include/uchar.h: New file.
3123 * include/aio.h: Changes to allow conformtest.pl to use the headers.
3124 * include/assert.h: Likewise.
3125 * include/ctype.h: Likewise.
3126 * include/dirent.h: Likewise.
3127 * include/dlfcn.h: Likewise.
3128 * include/fcntl.h: Likewise.
3129 * include/fnmatch.h: Likewise.
3130 * include/glob.h: Likewise.
3131 * include/grp.h: Likewise.
3132 * include/libio.h: Likewise.
3133 * include/locale.h: Likewise.
3134 * include/math.h: Likewise.
3135 * include/net/if.h: Likewise.
3136 * include/netdb.h: Likewise.
3137 * include/netinet/in.h: Likewise.
3138 * include/pthread.h: Likewise.
3139 * include/pwd.h: Likewise.
3140 * include/regex.h: Likewise.
3141 * include/sched.h: Likewise.
3142 * include/search.h: Likewise.
3143 * include/setjmp.h: Likewise.
3144 * include/signal.h: Likewise.
3145 * include/stdio.h: Likewise.
3146 * include/stdlib.h: Likewise.
3147 * include/string.h: Likewise.
3148 * include/sys/cdefs.h: Likewise.
3149 * include/sys/mman.h: Likewise.
3150 * include/sys/msg.h: Likewise.
3151 * include/sys/resource.h: Likewise.
3152 * include/sys/select.h: Likewise.
3153 * include/sys/socket.h: Likewise.
3154 * include/sys/stat.h: Likewise.
3155 * include/sys/statvfs.h: Likewise.
3156 * include/sys/time.h: Likewise.
3157 * include/sys/times.h: Likewise.
3158 * include/sys/uio.h: Likewise.
3159 * include/sys/utsname.h: Likewise.
3160 * include/sys/wait.h: Likewise.
3161 * include/termios.h: Likewise.
3162 * include/time.h: Likewise.
3163 * include/ulimit.h: Likewise.
3164 * include/unistd.h: Likewise.
3165 * include/utime.h: Likewise.
3166 * include/wchar.h: Likewise.
3167 * include/wctype.h: Likewise.
3168 * include/wordexp.h: Likewise.
3169
3170 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3171
7a270350
UD
3172 * time/time.h: TIME_UTC must be a macro.
3173 Make timespec_get available for ISO C11 only as well.
3174
7724defc
UD
31752012-02-24 Ulrich Drepper <drepper@gmail.com>
3176
3177 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
3178 Reported by Peng Haitao <penght@cn.fujitsu.com>.
3179
6b1d1d46
JM
31802012-02-24 Joseph Myers <joseph@codesourcery.com>
3181
3182 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 3183
0f8bbd69
JM
31842012-02-24 Joseph Myers <joseph@codesourcery.com>
3185
3186 * manual/texinfo.tex: Update to version 2012-01-19.16.
3187
66ab80bc
JM
31882012-02-24 Joseph Myers <joseph@codesourcery.com>
3189
3190 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3191
74981cc5
RM
31922012-02-24 Roland McGrath <roland@hack.frob.com>
3193
ee968201
RM
3194 [BZ #13738]
3195 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3196 * manual/fdl-1.3.texi: New file.
3197 * manual/fdl-1.1.texi: File removed.
3198
74981cc5
RM
3199 [BZ #13738]
3200 * manual/libc.texinfo (FDL_VERSION): New @set.
3201 Use it for mention of FDL in cover text.
3202 (Documentation License): Use it in @include file name.
3203
7bb764bc
JM
32042012-02-22 Joseph Myers <joseph@codesourcery.com>
3205 Roland McGrath <roland@hack.frob.com>
3206
3207 [BZ #5461]
3208 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3209 not LONG_LONG_MAX and LONG_LONG_MIN.
3210 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3211 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
3212 name.
3213 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3214
6cbeae47
JM
32152012-02-22 Joseph Myers <joseph@codesourcery.com>
3216
3217 [BZ #2547]
3218 [BZ #11365]
3219 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3220 manipulate bits before adding and subtracting TWO23[sx].
3221 * math/libm-test.inc (nearbyint_test): Add more tests.
3222
fe45ce09
JM
32232012-02-22 Joseph Myers <joseph@codesourcery.com>
3224
3225 [BZ #2548]
3226 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3227 bits before adding and subtracting TWO23[sx].
3228 * math/libm-test.inc (rint_test): Add more tests.
3229 (rint_test_tonearest): Likewise.
3230 (rint_test_towardzero): Likewise.
3231 (rint_test_downward): Likewise.
3232 (rint_test_upward: Likewise.
3233
ff3b3d82
JM
32342012-02-22 Joseph Myers <joseph@codesourcery.com>
3235
3236 [BZ #10110]
3237 * include/stdc-predef.h: New file. Extracted from features.h.
3238 * include/features.h: Include stdc-predef.h.
3239 * Makefile (headers): Add stdc-predef.h.
3240 * CONFORMANCE (Compiler limitations): Update.
3241
ef0aab35
JM
32422012-02-22 Joseph Myers <joseph@codesourcery.com>
3243
3244 * manual/libc.texinfo (VERSION, UPDATED): Revert.
3245
58639409
DM
32462012-02-21 David S. Miller <davem@davemloft.net>
3247
3248 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3249 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3250
c0e70b25
DM
32512012-02-20 David S. Miller <davem@davemloft.net>
3252
3253 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3254 using a normal save/restore sequence, rather than allocating a
3255 dummy stack frame just to store a frame pointer and restore.
3256 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3257
fb06851d
JM
32582012-02-21 Joseph Myers <joseph@codesourcery.com>
3259
3260 * manual/install.texi: Fix stray word in line-wrapped comment.
3261
7a8b71c3
DM
32622012-02-20 David S. Miller <davem@davemloft.net>
3263
d510c123
DM
3264 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3265 both binutils and gcc support GOTDATA.
3266
0722d7c2
DM
3267 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3268 "rd %pc" in the PIC register setup sequences.
3269
3d2b3019
DM
3270 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3271 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3272 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3273 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3274 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3275 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3276 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3277 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3278 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3279 (SYSCALL_ERROR_HANDLER): Likewise.
3280 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3281 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3282 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3283 (SYSCALL_ERROR_HANDLER): Likewise.
3284
c80098a9
DM
3285 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3286 (HAVE_GCC_GOTDATA): New.
3287 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3288 relocation support in both binutils and gcc.
3289 * sysdeps/sparc/elf/configure: Regenerate.
3290
3a2545a0
DM
3291 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3292 * sysdeps/sparc/sparc32/elf/configure: Delete.
3293 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3294 * sysdeps/sparc/sparc64/elf/configure: Delete.
3295 * sysdeps/sparc/elf/configure.in: New file.
3296 * sysdeps/sparc/elf/configure: Generate.
3297
7a8b71c3
DM
3298 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3299 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3300 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3301 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3302 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3303
f1e86fca
JM
33042012-02-21 Joseph Myers <joseph@codesourcery.com>
3305
3306 * manual/install.texi: Do not mention specific glibc version
3307 numbers.
3308 * manual/libc.texinfo (VERSION, UPDATED): Update.
3309 (@copying): Use @copyright{} and range of years.
3310
0e7dfaef
JM
33112012-02-21 Joseph Myers <joseph@codesourcery.com>
3312
3313 [BZ #13695]
3314 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3315 [crti.S not in sysdirs] (generated): Do not append.
3316 [crti.S not in sysdirs] (omit-deps): Likewise.
3317 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3318 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3319 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3320 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3321 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3322 Likewise.
3323 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3324 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3325 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3326 * csu/defs.awk: Remove file.
3327 * sysdeps/generic/initfini.c: Likewise.
3328 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3329 variable.
3330 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3331 Likewise.
3332
599af3ca
JM
33332012-02-20 Joseph Myers <joseph@codesourcery.com>
3334
3335 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3336 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3337 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3338 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3339 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3340 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3341 <bits/epoll.h>.
3342 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3343 (__EPOLL_PACKED): Define to empty if not defined by
3344 <bits/epoll.h>.
3345 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3346 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3347 bits/epoll.h.
3348
0e499750
JM
33492012-02-20 Joseph Myers <joseph@codesourcery.com>
3350
3351 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3352 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3353 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3354 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3355 <bits/timerfd.h>.
3356 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3357 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3358 bits/timerfd.h.
3359
5ad91f6e
JM
33602012-02-20 Joseph Myers <joseph@codesourcery.com>
3361
3362 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3363 in C locale.
3364 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3365 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3366 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3368
06b99b02
AJ
33692012-02-20 Aurelien Jarno <aurelien@aurel32.net>
3370
3371 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3372 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3373
7638c0fd
AS
33742012-02-19 Andreas Schwab <schwab@linux-m68k.org>
3375
3376 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3377 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3378 defined.
3379 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3380 Likewise.
3381 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3382 entry for 2.16.
3383
92221550
AJ
33842012-02-19 Aurelien Jarno <aurelien@aurel32.net>
3385
3386 * math/w_acos.c: Use non-signaling floating-point comparisons.
3387 * math/w_acosf.c: Likewise.
3388 * math/w_acosh.c: Likewise.
3389 * math/w_acoshf.c: Likewise.
3390 * math/w_acoshl.c: Likewise.
3391 * math/w_acosl.c: Likewise.
3392 * math/w_asin.c: Likewise.
3393 * math/w_asinf.c: Likewise.
3394 * math/w_asinl.c: Likewise.
3395 * math/w_atanh.c: Likewise.
3396 * math/w_atanhf.c: Likewise.
3397 * math/w_atanhl.c: Likewise.
3398 * math/w_exp2.c: Likewise.
3399 * math/w_exp2f.c: Likewise.
3400 * math/w_exp2l.c: Likewise.
3401 * math/w_j0.c: Likewise.
3402 * math/w_j0f.c: Likewise.
3403 * math/w_j0l.c: Likewise.
3404 * math/w_j1.c: Likewise.
3405 * math/w_j1f.c: Likewise.
3406 * math/w_j1l.c: Likewise.
3407 * math/w_jn.c: Likewise.
3408 * math/w_jnf.c: Likewise.
3409 * math/w_log.c: Likewise.
3410 * math/w_log10.c: Likewise.
3411 * math/w_log10f.c: Likewise.
3412 * math/w_log10l.c: Likewise.
3413 * math/w_log2.c: Likewise.
3414 * math/w_log2f.c: Likewise.
3415 * math/w_log2l.c: Likewise.
3416 * math/w_logf.c: Likewise.
3417 * math/w_logl.c: Likewise.
3418 * math/w_sqrt.c: Likewise.
3419 * math/w_sqrtf.c: Likewise.
3420 * math/w_sqrtl.c: Likewise.
3421 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3422 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3423 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3424 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3425 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3426
ebaf36eb
JM
34272012-02-19 Joseph Myers <joseph@codesourcery.com>
3428
3429 [BZ #9739]
3430 * manual/string.texi (strnlen): Use correct parameter name in
3431 equivalent expression.
3432
71c254a6
JM
34332012-02-19 Joseph Myers <joseph@codesourcery.com>
3434
3435 [BZ #11174]
3436 * manual/users.texi (seteuid): Consistently use neweuid for
3437 argument name.
3438
16d2c631
JM
34392012-02-19 Joseph Myers <joseph@codesourcery.com>
3440
3441 [BZ #13704]
3442 * manual/nss.texi (Services in the NSS configuration): Correct
3443 list of services in example configuration file.
3444
cd837b09
NB
34452012-02-19 Nick Bowler <nbowler@draconx.ca>
3446
3447 [BZ #11322]
3448 * manual/arith.texi: Remove statements about negative zero
3449 behaving identically to zero.
3450
02c4bbad
JM
34512012-02-18 Joseph Myers <joseph@codesourcery.com>
3452
3453 [BZ #5993]
3454 * manual/install.texi: Do not document upgrading from libc5.
3455
366842e7
JM
34562012-02-18 Joseph Myers <joseph@codesourcery.com>
3457
3458 [BZ #4596]
3459 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3460
dd54084d
DM
34612012-02-18 David S. Miller <davem@davemloft.net>
3462
3463 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3464 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3465 %o7 across the call.
3466 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3467 instead.
3468 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3469 SETUP_PIC_REG_LEAF.
3470 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3471 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3472 * sysdeps/sparc/crtn.S: Likewise.
3473
2bcc53a3
UD
34742012-02-17 Ulrich Drepper <drepper@gmail.com>
3475
3476 * aout/Makefile: Remove.
3477
09c093b5
RK
34782012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3479
3480 [BZ #13058]
3481 * manual/examples/argp-ex1.c (main): Format definition in GNU
3482 style.
3483 * manual/examples/argp-ex2.c (main): Likewise.
3484 * manual/examples/argp-ex3.c (main): Likewise.
3485 * manual/examples/argp-ex4.c (main): Likewise.
3486 * manual/examples/longopt.c (main): Use new-style prototype
3487 definition.
3488 * manual/examples/strncat.c (main): Specify return type and use
3489 (void) for arguments.
3490 * manual/examples/subopt.c (main): Use char **argv argument.
3491
2ee633a2
JM
34922012-02-17 Joseph Myers <joseph@codesourcery.com>
3493
3494 [BZ #5077]
3495 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3496 rounding modes.
3497
0520adde
FB
34982012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3499
3500 [BZ #6907]
3501 * manual/string.texi (strchr): Change when strchrnul is
3502 recommended.
3503
3f4081cd
DGM
35042012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3505
3506 [BZ #174]
3507 * manual/locale.texi (setlocale): Document LOCPATH.
3508
d1b10e78
JM
35092012-02-17 Joseph Myers <joseph@codesourcery.com>
3510
3511 [BZ #10210]
3512 * manual/process.texi (execle): Move @dots{} before last argument.
3513
79c6869c
PB
35142012-02-17 Paul Bolle <pebolle@tiscali.nl>
3515
3516 [BZ #12047]
3517 * manual/charset.texi (Generic Charset Conversion): Fix typo
3518 (LC_TYPE -> LC_CTYPE).
3519
cc6e48bc
NB
35202012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3521
3522 [BZ #5805]
3523 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3524 (scalbnf): Likewise.
3525 (scalbnl): Likewise.
3526 (scalbln): Likewise.
3527 (scalblnf): Likewise.
3528 (scalblnl): Likewise.
3529 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3530 (vwarnx): Likewise.
3531 (verr): Likewise.
3532 (verrx): Likewise.
3533 * manual/filesys.texi (telldir): Use braces around return type.
3534 * manual/llio.texi (mmap): Add space after comma.
3535 (mmap64): Likewise.
3536 * manual/math.texi (jn): Use @var{} on parameter names.
3537 (jnf): Likewise.
3538 (jnl): Likewise.
3539 (yn): Likewise.
3540 (ynf): Likewise.
3541 (ynl): Likewise.
3542 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3543 line.
3544 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3545 "...".
3546 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3547 (sched_get_priority_max): Likewise.
3548 * manual/signal.texi (sigvec): Add space after comma.
3549 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3550 names.
3551 (if_indextoname): Likewise.
3552 (if_freenameindex): Likewise.
3553 (sendto): Use ',' instead of '.' in prototype.
3554 * manual/startup.texi (syscall): Use @dots{} instead of literal
3555 "...".
3556 * manual/stdio.texi (__fpending): Separate initial words of
3557 paragraph from @deftypefun line.
3558 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3559 "...".
3560 (vsyslog): Use @var{} on parameter names.
3561 * manual/terminal.texi (stty): Use @var{} on parameter names.
3562 * manual/users.texi (getutmp): Use @var{} on parameter names.
3563 (getutmpx): Likewise.
3564
5b23062f
JM
35652012-02-17 Joseph Myers <joseph@codesourcery.com>
3566
3567 [BZ #6884]
3568 * manual/stdio.texi (fopen): Fix typos in description of
3569 ",ccs=STRING".
3570
8dee4833
AJ
35712012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3572
3573 [BZ #4026]
3574 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3575 get clock_id definition.
3576
9078ce93
TS
35772012-02-17 Thomas Schwinge <thomas@schwinge.name>
3578
3579 [BZ #4822]
3580 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3581 (madvise): Cast every argument to void on its own.
3582
3835c55f
JM
35832012-02-17 Joseph Myers <joseph@codesourcery.com>
3584
3585 [BZ #9902]
3586 * manual/startup.texi (Exit Status): Fix typo.
3587
35c47e37
JM
35882012-02-17 Joseph Myers <joseph@codesourcery.com>
3589
3590 [BZ #10140]
3591 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3592 * manual/examples/argp-ex2.c: Likewise.
3593 * manual/examples/argp-ex3.c: Likewise.
3594
e3b69ca7
RH
35952012-02-16 Richard Henderson <rth@redhat.com>
3596
3597 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3598 * sysdeps/s390/s390-32/initfini.c: Remove.
3599 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3600 * sysdeps/s390/s390-64/initfini.c: Remove.
3601
df83af67
KK
36022012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3603
3604 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3605 compiler output for sysdeps/generic/initfini.c.
3606 * sysdeps/sh/elf/initfini.c: Remove file.
3607
f63f3380
DM
36082012-02-16 David S. Miller <davem@davemloft.net>
3609
fb59b3a4
DM
3610 [BZ #11494]
3611 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3612
f63f3380
DM
3613 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3614 * sysdeps/sparc/crti.S: New file.
3615 * sysdeps/sparc/crtn.S: New file.
3616 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3617 * sysdeps/sparc/sparc64/Makefile: Likewise.
3618
df6a4a4a
MF
36192012-02-15 Mike Frysinger <vapier@gentoo.org>
3620
6dd8f3dc 3621 [BZ #3335]
df6a4a4a
MF
3622 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3623
1cac7236
RM
36242012-02-15 Roland McGrath <roland@hack.frob.com>
3625
d2c736f8
RM
3626 [BZ #4822]
3627 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3628
1cac7236
RM
3629 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3630 (write, read, close): Likewise.
3631 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3632
8e475601
JM
36332012-02-15 Joseph Myers <joseph@codesourcery.com>
3634
3635 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3636 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3637 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3638 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3639 <bits/signalfd.h>.
3640 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3641 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3642 bits/signalfd.h.
3643
ed656b40
MP
36442012-02-14 Marek Polacek <polacek@redhat.com>
3645
3646 * sysdeps/x86_64/crti.S: New file.
3647 * sysdeps/x86_64/crtn.S: New file.
3648 * sysdeps/x86_64/elf/initfini.c: Remove file.
3649
2a979d3a
JM
36502012-02-13 Joseph Myers <joseph@codesourcery.com>
3651
3652 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3653 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3654 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3655 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3656 <bits/inotify.h>.
3657 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3658 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3659 bits/inotify.h.
3660
2a418ac3
JM
36612012-02-13 Joseph Myers <joseph@codesourcery.com>
3662
3663 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3664 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3665 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3666 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3667 <bits/eventfd.h>.
3668 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3669 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3670 bits/eventfd.h.
3671
fb779be7
TS
36722012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3673
e19e83c5
RM
3674 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3675 __feraiseexcept instead of feraiseexcept.
7c35ffed 3676
fb779be7
TS
3677 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3678 nanosleep invocations.
3679 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3680 strings, and add error checking for a nanosleep invocations.
3681
59ba27a6
PE
36822012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3683
3684 Replace FSF snail mail address with URLs, as per GNU coding standards.
3685 Most of the snail mail addresses were wrong anyway, and omitting
3686 them makes the source code easier to maintain. Almost all of the
3687 changes are to license notices and to locale LC_IDENTIFICATION
3688 addresses, except for this one:
3689 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3690 not its snail mail address.
3691
57b957eb
RH
36922012-02-09 Richard Henderson <rth@twiddle.net>
3693
af850b1c
RH
3694 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3695 of kernel-features.h.
3696
57b957eb
RH
3697 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3698
6b73181a
MP
36992012-02-08 Marek Polacek <polacek@redhat.com>
3700
3701 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3702 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3703 * sysdeps/gnu/_G_config.h: Likewise.
3704 * sysdeps/generic/_G_config.h: Likewise.
3705
26ecc33a
AS
37062012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3707
6c6dbc63
AS
3708 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3709 tests.
3710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3711
e216c012
AS
3712 * sysdeps/powerpc/powerpc32/crti.S: New file.
3713 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3714 * sysdeps/powerpc/powerpc64/crti.S: New file.
3715 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3716
26ecc33a
AS
3717 * Makeconfig (have-initfini): Don't set.
3718 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3719 * configure.in (nopic_initfini): Don't substitute.
3720 * config.h.in (HAVE_INITFINI): Don't #undef.
3721 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3722 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3723
3add8e13
JM
37242012-02-08 Joseph Myers <joseph@codesourcery.com>
3725
3726 Support crti.S and crtn.S provided directly by architectures.
3727 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3728 [crti.S in sysdirs] (omit-deps): Likewise.
3729 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3730 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3731 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3732 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3733 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3734 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3735 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3736 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3737 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3738 compiler output for sysdeps/generic/initfini.c.
3739 * sysdeps/i386/elf/Makefile: Remove file.
3740 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3741
a22f12b4
MP
37422012-02-07 Marek Polacek <polacek@redhat.com>
3743
3744 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3745 * sysdeps/gnu/_G_config.h: Likewise.
3746 * sysdeps/mach/hurd/_G_config.h: Likewise.
3747
148cf100
MP
37482012-02-07 Marek Polacek <polacek@redhat.com>
3749
3750 * math/Makefile (tests): Add tst-CMPLX2.
3751 * math/tst-CMPLX2.c: New file.
3752
cfdc0dd7
AS
37532012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3754
84ba42c4
AS
3755 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3756
cfdc0dd7
AS
3757 * math/libm-test.inc (jn_test): Add missing L suffix.
3758
622c86f4
MP
37592012-02-06 Marek Polacek <polacek@redhat.com>
3760
3761 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3762 * sysdeps/i386/fpu/e_powf.S: Likewise.
3763 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3764 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3765 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3766 * sysdeps/i386/fpu/e_pow.S: Likewise.
3767 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3768 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3769 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3770 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3771 * sysdeps/i386/fpu/e_log2.S: Likewise.
3772 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3773 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3774 * sysdeps/i386/fpu/e_powl.S: Likewise.
3775 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3776 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3777 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3778 * sysdeps/i386/fpu/e_logl.S: Likewise.
3779 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3780 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3781 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3782 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3783 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3784 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3785 * sysdeps/i386/fpu/e_log.S: Likewise.
3786 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3787 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3788 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3789 * sysdeps/i386/fpu/e_logf.S: Likewise.
3790 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3791 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3792 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3793 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3794 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3795 * sysdeps/i386/fpu/e_log10.S: Likewise.
3796 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3797 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3798 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3799 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3800 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3801 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3802 * sysdeps/i386/asm-syntax.h: Likewise.
3803 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3804 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3805 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3806 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3807 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3808 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3809 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3810 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3811 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3812 * sysdeps/powerpc/sysdep.h: Likewise.
3813 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3814 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3815
d4a54ac6
JM
38162012-02-06 Joseph Myers <joseph@codesourcery.com>
3817
3818 [BZ #411]
3819 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3820
314054ea
JM
38212012-02-06 Joseph Myers <joseph@codesourcery.com>
3822
3823 * sysdeps/i386/sysdep.h: Include <features.h>.
3824 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3825 version.
3826
d8e0ca50
JM
38272012-02-05 Joseph Myers <joseph@codesourcery.com>
3828
3829 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3830 Define.
3831 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3832 LOAD_PIC_REG_STR.
3833
b1da7dd9
JM
38342012-02-03 Joseph Myers <joseph@codesourcery.com>
3835
3836 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3837 (SETUP_PIC_REG): Use GET_PC_THUNK.
3838 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3839 macro.
3840
9a1d9254
JM
38412012-02-03 Joseph Myers <joseph@codesourcery.com>
3842
3843 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3844 for non-PIC compilation.
3845 (SETUP_PIC_REG): Add .p2align directive.
3846 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3847 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3848 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3849 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3850 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3851 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3852 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3853 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3854 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3855 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3856 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3857 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3858 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3859 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3860 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3861 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3862 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3863 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3864 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3865 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3866 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3867 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3868 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3869 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3870 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3871 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3872 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3873 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3874 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3875 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3876 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3877 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3878 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3879 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3880 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3881 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3882 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3883 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3884 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3885 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3886 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3887
65dc3b75
JM
38882012-02-03 Joseph Myers <joseph@codesourcery.com>
3889
3890 * math/tst-CMPLX.c: Include <stdio.h>.
3891
d55bf177
JM
38922012-01-31 Joseph Myers <joseph@codesourcery.com>
3893
3894 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3895 float.
3896 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3897 * sysdeps/sparc/bits/mathdef.h: Likewise.
3898
69db4f8f
MP
38992012-01-31 Marek Polacek <polacek@redhat.com>
3900
3901 * libio/libio.h: Don't define _PARAMS.
3902 * locale/programs/config.h: Don't define PARAMS.
3903 * stdlib/strtol_l.c: Likewise.
3904 (__strtol_l): Remove PARAMS from the prototype.
3905
41b81892
UD
39062012-01-31 Ulrich Drepper <drepper@gmail.com>
3907
3b49edc0
UD
3908 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3909 names. Just use the correct names. Remove unnecessary wrapper
3910 functions.
3911 * malloc/arena.c: Likewise.
3912 * malloc/hooks.c: Likewise.
3913
41b81892
UD
3914 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3915 ARENA_TEST says not to. Simplify test for creation of a new arena.
3916 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3917
27a25b6e
UD
39182012-01-30 Ulrich Drepper <drepper@gmail.com>
3919
3920 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3921 into tail calls.
3922 (update_get_addr): New function.
3923 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3924 GET_ADDR_MODULE parameter.
3925
c8a89e7d
JM
39262012-01-30 Joseph Myers <joseph@codesourcery.com>
3927
3928 * crypt/cert.c: Remove __STDC__ conditionals.
3929 * crypt/crypt-entry.c: Likewise.
3930 * crypt/crypt_util.c: Likewise.
3931 * libio/filedoalloc.c: Likewise.
3932 * libio/fileops.c: Likewise.
3933 * libio/genops.c: Likewise.
3934 * libio/iofclose.c: Likewise.
3935 * libio/iofdopen.c: Likewise.
3936 * libio/iofopen.c: Likewise.
3937 * libio/iofopen64.c: Likewise.
3938 * libio/iogetdelim.c: Likewise.
3939 * libio/iopopen.c: Likewise.
3940 * libio/obprintf.c: Likewise.
3941 * libio/oldfileops.c: Likewise.
3942 * libio/oldiofclose.c: Likewise.
3943 * libio/oldiofdopen.c: Likewise.
3944 * libio/oldiofopen.c: Likewise.
3945 * libio/oldiopopen.c: Likewise.
3946 * libio/wfiledoalloc.c: Likewise.
3947 * libio/wgenops.c: Likewise.
3948 * locale/programs/xmalloc.c: Likewise.
3949 * misc/syslog.c: Likewise.
3950 * stdio-common/xbug.c: Likewise.
3951 * string/memchr.c: Likewise.
3952 * string/memcmp.c: Likewise.
3953 * string/memrchr.c: Likewise.
3954 * string/rawmemchr.c: Likewise.
3955 * sysdeps/posix/getcwd.c: Likewise.
3956 * time/strftime_l.c: Likewise.
3957
3b100462
JM
39582012-01-30 Joseph Myers <joseph@codesourcery.com>
3959
3960 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
3961 * config.make.in (config-cflags-sse2avx): Define.
3962 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3963 Fix typo.
3964
607998af
CM
39652012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3966
3967 * scripts/config.guess: Update from upstream config git repository.
3968 * scripts/config.sub: Likewise.
3969
3601428f
CM
39702012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3971
3ac8b282
CM
3972 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3973 (EM_NUM): Update.
3974 (R_TILEPRO_*, R_TILEGX_*): New macros.
3975
e034841e
CM
3976 * scripts/firstversions.awk: Fix bug in version range handling.
3977
540d7568
CM
3978 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3979
3601428f
CM
3980 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3981
463de862
CM
3982 * include/sys/epoll.h: New file.
3983 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3984 libc_hidden_def.
3985
73139a76
UD
39862012-01-28 Ulrich Drepper <drepper@gmail.com>
3987
96bc5b45
UD
3988 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3989 Avoid unnecessary __WORDSIZE == 64 test.
3990 (fmaxf): Use VEX format if possible.
3991 (fmax): Likewise.
3992 (fminf): Likewise.
3993 (fmin): Likewise.
3994
56f6f6a2
UD
3995 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3996 * math/math_private.h: Remove libc_fegetround* and
3997 libc_fesetround*.
3998 * sysdeps/i386/configure.in: Check for -msse2avx.
3999 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
4000 also if SSE2AVX is defined.
4001 Remove libc_fegetround* and libc_fesetround*.
4002 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
4003 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
4004 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
4005 of HAS_YMM_USABLE.
4006 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4007 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4008 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4009 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4010 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4011
73139a76
UD
4012 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
4013
d73f93a4
AZ
40142012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4015
4016 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
4017 size is not set.
4018 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4019
6ee65ed6
UD
40202012-01-27 Ulrich Drepper <drepper@gmail.com>
4021
4022 [BZ #13618]
4023 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
4024 relocation.
4025 * Makeconfig (libm): Define.
4026 * elf/Makefile: Add rules to build and run tst-relsort1.
4027 * elf/tst-relsort1.c: New file.
4028 * elf/tst-relsort1mod1.c: New file.
4029 * elf/tst-relsort1mod2.c: New file.
4030
8db21882
JM
40312012-01-27 Joseph Myers <joseph@codesourcery.com>
4032
4033 * math/s_ldexp.c: Remove __STDC__ conditionals.
4034 * math/s_ldexpf.c: Likewise.
4035 * math/s_ldexpl.c: Likewise.
4036 * math/s_nextafter.c: Likewise.
4037 * math/s_nexttowardf.c: Likewise.
4038 * math/s_significand.c: Likewise.
4039 * math/s_significandf.c: Likewise.
4040 * math/s_significandl.c: Likewise.
4041 * math/w_jnl.c: Likewise.
4042 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4043 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4044 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4045 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4046 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4047 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4048 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
4049 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4050 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4051 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4052 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4053 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4054 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4055 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4056 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4057 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4058 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4059 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4060 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4061 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4062 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4063 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4064 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4065 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4066 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4067 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4068 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4069 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4070 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4071 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4072 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4073 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4074 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4075 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4076 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4077 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4078 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4079 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4080 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4081 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4082 * sysdeps/ieee754/k_standard.c: Likewise.
4083 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4084 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4085 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4086 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4087 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4088 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4089 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4090 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4091 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4092 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4093 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4094 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4095 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4096 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4097 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4098 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4099 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4100 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4101 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4102 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4103 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4104 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4105 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4106 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4107 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4108 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4109 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4110 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4111 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4112 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4113 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4114 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4115 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4116 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4117 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4118 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4119 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4120 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4121 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4122 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4123 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4124 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4125 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4126 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4127 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4128 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4129 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4130 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4131 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4132 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4133 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4134 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4135 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4136 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4137 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4138 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4139 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4140 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4141 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4142 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4143 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4144 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4145 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4146 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4147 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4148 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4149 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4150 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4151 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4152 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4153 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4154 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4155 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4156 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4157 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4158 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4159 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4160 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4161 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4162 * sysdeps/ieee754/s_matherr.c: Likewise.
4163 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4164 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4165 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4166 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4167
965a54a4
JM
41682012-01-26 Joseph Myers <joseph@codesourcery.com>
4169
4170 * crypt/md5.h: Remove __STDC__ conditionals.
4171 * libio/libioP.h: Likewise.
4172 * locale/programs/config.h: Likewise.
4173 * sysdeps/generic/sysdep.h: Likewise.
4174 * sysdeps/i386/asm-syntax.h: Likewise.
4175 * sysdeps/s390/asm-syntax.h: Likewise.
4176 * sysdeps/unix/sysdep.h: Likewise.
4177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4179
7071ad79
JM
41802012-01-26 Joseph Myers <joseph@codesourcery.com>
4181
4182 * libio/libio.h: Remove __STDC__ conditionals.
4183 * malloc/obstack.h: Likewise.
4184 * math/complex.h: Likewise.
4185 * math/math.h: Likewise.
4186 * sysdeps/generic/_G_config.h: Likewise.
4187 * sysdeps/gnu/_G_config.h: Likewise.
4188 * sysdeps/mach/hurd/_G_config.h: Likewise.
4189 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4190 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4191 * sysdeps/sparc/bits/mathdef.h: Likewise.
4192
afc5ed09
UD
41932012-01-26 Ulrich Drepper <drepper@gmail.com>
4194
4195 [BZ #13583]
4196 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 4197 Clean up HAS_* macros.
afc5ed09 4198 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
4199 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4200 possible.
4201 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4202 HAS_AVX.
4203 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4204 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4205 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4206 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4207 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 4208
bdb6de1d
JM
42092012-01-25 Joseph Myers <joseph@codesourcery.com>
4210
4211 * elf/tst-unique3.cc (gets): Remove declaration.
4212 * elf/tst-unique3lib.cc (gets): Likewise.
4213 * elf/tst-unique3lib2.cc (gets): Likewise.
4214 * elf/tst-unique4.cc (gets): Likewise.
4215
b15549e6
UD
42162012-01-24 Ulrich Drepper <drepper@gmail.com>
4217
4218 * include/stdio.h: Add C++ protection. Add gets declarations and
4219 definitions.
4220 * debug/tst-chk1.c: Don't declare gets here.
4221 * stdio-common/tst-gets.c: Likewise.
4222
a037381f
JM
42232012-01-24 Joseph Myers <joseph@codesourcery.com>
4224
4225 * posix/glob: Remove directory.
4226
f1d4aa75
JM
42272012-01-24 Joseph Myers <joseph@codesourcery.com>
4228
4229 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4230
81c0c964
PT
42312012-01-22 Pino Toscano <toscano.pino@tiscali.it>
4232
4233 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4234 of the non-standard EPFNOSUPPORT.
4235
0ea698ae
ST
42362011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
4237
4238 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4239 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4240 ANYWHERE set to 1 only on KERN_NO_SPACE error.
4241
d220b117
UD
42422012-01-21 Ulrich Drepper <drepper@gmail.com>
4243
4244 * wcsmbs/uchar.h: Test __STDC_VERSION__.
4245
3e1aa84e
UD
42462012-01-20 Ulrich Drepper <drepper@gmail.com>
4247
4248 * nscd/aicache.c (addhstaiX): Do not cache negative results of
4249 transient errors.
4250 * nscd/grpcache.c (cache_addgr): Likewise.
4251 * nscd/hstcache.c (cache_addhst): Likewise.
4252 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4253 * nscd/pwdcache.c (cache_addpw): Likewise.
4254 * nscd/servicescache.c (cache_addserv): Likewise.
4255
400aa020
UD
42562012-01-16 Ulrich Drepper <drepper@gmail.com>
4257
d77e7869
UD
4258 * malloc/malloc.c: Various cleanups.
4259 * malloc/hooks.c: Likewise.
4260
400aa020
UD
4261 * stdlib/Makefile (tests): Add bug-fmtmsg1.
4262 * stdlib/bug-fmtmsg1.c: New file.
4263
4264 * stdlib/fmtmsg.c (init): Add missing unlock.
4265 Patch by Peng Haitao <penght@cn.fujitsu.com>.
4266
e0a309cf
MP
42672012-01-12 Marek Polacek <polacek@redhat.com>
4268
4269 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4270 and _GNU_SOURCE.
4271
929d11c7
WS
42722012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4273
4274 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4275 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4276 macro to ensure uniqueness of label name.
4277 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4278 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4279
41d0e869
UD
42802012-01-11 Ulrich Drepper <drepper@gmail.com>
4281
0cc5ed3b
UD
4282 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4283
41d0e869
UD
4284 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4285 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4286 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4287 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4288
a47a831a
UD
42892012-01-10 Ulrich Drepper <drepper@gmail.com>
4290
daa891c0
UD
4291 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4292
4293 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4294 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4295 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4296
e58ef0f2
UD
4297 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4298
a47a831a 4299 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
4300 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4301 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 4302 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
4303
4304 * math/bits/math-finite.h: Add ldexp support.
4305
a0bfc9c7
MP
43062012-01-10 Marek Polacek <polacek@redhat.com>
4307
4308 * locale/programs/localedef.h (show_archive_content): Add noreturn
4309 attribute.
4310
d6e97a1d
UD
43112012-01-09 Ulrich Drepper <drepper@gmail.com>
4312
4313 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4314
d5835c26
UD
43152012-01-08 Ulrich Drepper <drepper@gmail.com>
4316
e5f484c6
UD
4317 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4318
d5835c26
UD
4319 * io/Makefile (headers): Add bits/poll2.h.
4320
d1f741e9
WS
43212011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
4322
4323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4324 typo #include statement.
4325
ec09c1c4
UD
43262012-01-08 Ulrich Drepper <drepper@gmail.com>
4327
4328 * include/sys/cdefs.h: Define __attribute_alloc_size.
4329 * catgets/gencat.c: Add alloc_size attribute and apply consistently
4330 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4331 * elf/pldd.c: Likewise.
4332 * iconv/iconv_charmap.c: Likewise.
4333 * iconv/iconvconfig.c: Likewise.
4334 * iconv/strtab.c: Likewise.
4335 * locale/programs/locale.c: Likewise.
4336 * locale/programs/localedef.h: Likewise.
4337 * locale/programs/simple-hash.c: Likewise.
4338 * nscd/nscd.h: Likewise.
4339 * nss/makedb.c: Likewise.
4340 * sysdeps/generic/ldconfig.h: Likewise.
4341 * locale/programs/localedef.c: Remove xmalloc prototype.
4342 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4343
20b38e03
PP
43442012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4345
4346 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4347 appropriate.
4348
a0da5fe1
UD
43492012-01-08 Ulrich Drepper <drepper@gmail.com>
4350
1d5a644a 4351 * math/Makefile (tests): Add tst-CMPLX.
669704fd 4352 * math/tst-CMPLX.c: New file.
1d5a644a 4353
8784a6db
UD
4354 * math/complex.h (CMPLXL): Fix typo.
4355
d9a216c0
UD
4356 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4357 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4358 GLIBC_2.16.
4359 * debug/tst-chk1.c: Add poll and ppoll tests.
4360 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4361 * include/sys/poll.h: Add hidden proto for ppoll.
4362 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4363 * sysdeps/mach/hurd/ppoll.c: Likewise.
4364 * io/ppoll.c: Likewise.
4365 * debug/poll_chk.c: New file.
4366 * debug/ppoll_chk.c: New file.
4367 * include/bits/poll2.h: New file.
4368 * io/bits/poll2.h: New file.
4369
ac097f5c
UD
4370 [BZ #1350]
4371 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4372
2119dcfa
UD
4373 * configure.in: static is always set to yes. Remove.
4374 * config.make.in: Don't set build-static.
4375 * Makeconfig: Remove use of build-static.
4376 * dlfcn/Makefile: Likewise.
4377 * elf/Makefile: Likewise.
4378 * math/Makefile: Likewise.
4379 * misc/Makefile: Likewise.
4380 * nptl/Makefile: Likewise.
4381 * sysdeps/mach/hurd/Makefile: Likewise.
4382
121766a9
UD
4383 * configure.in: PWD_P is not used anymore.
4384 * config.make.in: Remove PWD_P entry.
4385
51a1d39c 4386 * configure.in: Remove last remnants of RANLIB.
8720d066 4387 No need to check for signed size_t anymore.
215f4bdc
UD
4388 Don't set libc_commonpagesize and libc_relro_required here for Alpha
4389 and IA-64.
3857022a 4390 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
4391 * aclocal.m4: Likewise.
4392
d3ed7225
UD
4393 * wcsmbs/mbrtoc16.c: Implement using towc function.
4394 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4395 * wcsmbs/wcsmbsload.c: Likewise.
4396 * iconv/gconv_simple.c: Likewise.
4397 * iconv/gconv_int.h: Likewise.
4398 * iconv/gconv_builtin.h: Likewise.
4399 * iconv/iconv_prog.c: Remove CHAR16 handling.
4400
4401 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4402
4403 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4404
a0da5fe1
UD
4405 * configure.in: Remove --with-elf and --enable-bounded options.
4406 Dont set base_machine for ia64. More non-ELF conditions removed.
4407 Remove testing and setting of leading underscore information.
4408 * config.make.in (build-bounded): Set to no.
4409 * config.h.in: Remove NO_UNDERSCORES entry.
4410 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4411 them.
4412 * csu/start.c: Remove !NO_UNDERSCORE code.
4413 * locale/localeinfo.h: Likewise.
4414 * sysdeps/generic/machine-gmon.h: Likewise.
4415 * sysdeps/generic/sysdep.h: Likewise.
4416 * sysdeps/i386/sysdep.h: Likewise.
4417 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4418 * sysdeps/mach/sysdep.h: Likewise.
4419 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4420 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4421 * sysdeps/sh/sysdep.h: Likewise.
4422 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4423 * sysdeps/unix/i386/sysdep.S: Likewise.
4424 * sysdeps/unix/sparc/start.c: Likewise.
4425 * sysdeps/unix/sparc/sysdep.S: Likewise.
4426 * sysdeps/unix/sparc/sysdep.h: Likewise.
4427 * sysdeps/unix/start.c: Likewise.
4428 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4429 * sysdeps/x86_64/sysdep.h: Likewise.
4430
df78418a
UD
44312012-01-07 Ulrich Drepper <drepper@gmail.com>
4432
a784e502
UD
4433 [BZ #13553]
4434 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4435 for non-gcc.
4436 * argp/argp-fmtstream.h: Use const instead __const.
4437 * argp/argp.h: Likewise.
4438 * assert/assert.h: Likewise.
4439 * bits/fenv.h: Likewise.
4440 * bits/sched.h: Likewise.
4441 * bits/sigset.h: Likewise.
4442 * bits/sigthread.h: Likewise.
4443 * catgets/nl_types.h: Likewise.
4444 * conform/data/pthread.h-data: Likewise.
4445 * crypt/crypt-private.h: Likewise.
4446 * crypt/crypt.h: Likewise.
4447 * crypt/crypt_util.c: Likewise.
4448 * ctype/ctype.h: Likewise.
4449 * debug/execinfo.h: Likewise.
4450 * debug/mbsnrtowcs_chk.c: Likewise.
4451 * debug/mbsrtowcs_chk.c: Likewise.
4452 * debug/wcsnrtombs_chk.c: Likewise.
4453 * debug/wcsrtombs_chk.c: Likewise.
4454 * debug/wcstombs_chk.c: Likewise.
4455 * dirent/dirent.h: Likewise.
4456 * dlfcn/dlfcn.h: Likewise.
4457 * elf/neededtest4.c: Likewise.
4458 * grp/grp.h: Likewise.
4459 * gshadow/gshadow.h: Likewise.
4460 * iconv/gconv.h: Likewise.
4461 * iconv/gconv_int.h: Likewise.
4462 * iconv/gconv_simple.c: Likewise.
4463 * iconv/iconv.h: Likewise.
4464 * iconv/loop.c: Likewise.
4465 * iconv/skeleton.c: Likewise.
4466 * include/aio.h: Likewise.
4467 * include/aliases.h: Likewise.
4468 * include/argz.h: Likewise.
4469 * include/arpa/inet.h: Likewise.
4470 * include/assert.h: Likewise.
4471 * include/dirent.h: Likewise.
4472 * include/dlfcn.h: Likewise.
4473 * include/execinfo.h: Likewise.
4474 * include/fcntl.h: Likewise.
4475 * include/fenv.h: Likewise.
4476 * include/glob.h: Likewise.
4477 * include/grp.h: Likewise.
4478 * include/libintl.h: Likewise.
4479 * include/mntent.h: Likewise.
4480 * include/netdb.h: Likewise.
4481 * include/pwd.h: Likewise.
4482 * include/rpc/netdb.h: Likewise.
4483 * include/sched.h: Likewise.
4484 * include/search.h: Likewise.
4485 * include/shadow.h: Likewise.
4486 * include/signal.h: Likewise.
4487 * include/stdio.h: Likewise.
4488 * include/stdlib.h: Likewise.
4489 * include/string.h: Likewise.
4490 * include/sys/socket.h: Likewise.
4491 * include/sys/stat.h: Likewise.
4492 * include/sys/statfs.h: Likewise.
4493 * include/sys/statvfs.h: Likewise.
4494 * include/sys/syslog.h: Likewise.
4495 * include/sys/time.h: Likewise.
4496 * include/sys/uio.h: Likewise.
4497 * include/time.h: Likewise.
4498 * include/unistd.h: Likewise.
4499 * include/utmp.h: Likewise.
4500 * include/wchar.h: Likewise.
4501 * include/wctype.h: Likewise.
4502 * inet/aliases.h: Likewise.
4503 * inet/arpa/inet.h: Likewise.
4504 * inet/netinet/ether.h: Likewise.
4505 * inet/netinet/in.h: Likewise.
4506 * intl/libintl.h: Likewise.
4507 * io/bits/fcntl2.h: Likewise.
4508 * io/fcntl.h: Likewise.
4509 * io/ftw.h: Likewise.
4510 * io/sys/poll.h: Likewise.
4511 * io/sys/stat.h: Likewise.
4512 * io/sys/statfs.h: Likewise.
4513 * io/sys/statvfs.h: Likewise.
4514 * io/utime.h: Likewise.
4515 * libio/bits/stdio.h: Likewise.
4516 * libio/bits/stdio2.h: Likewise.
4517 * libio/libio.h: Likewise.
4518 * libio/libioP.h: Likewise.
4519 * libio/stdio.h: Likewise.
4520 * locale/lc-ctype.c: Likewise.
4521 * locale/locale.h: Likewise.
4522 * login/utmp.h: Likewise.
4523 * malloc/arena.c: Likewise.
4524 * malloc/malloc.c: Likewise.
4525 * malloc/malloc.h: Likewise.
4526 * malloc/mcheck.c: Likewise.
4527 * malloc/mtrace.c: Likewise.
4528 * math/bits/mathcalls.h: Likewise.
4529 * math/fenv.h: Likewise.
4530 * math/math_private.h: Likewise.
4531 * misc/bits/error.h: Likewise.
4532 * misc/bits/syslog.h: Likewise.
4533 * misc/err.h: Likewise.
4534 * misc/error.h: Likewise.
4535 * misc/fstab.h: Likewise.
4536 * misc/mntent.h: Likewise.
4537 * misc/regexp.h: Likewise.
4538 * misc/search.h: Likewise.
4539 * misc/sgtty.h: Likewise.
4540 * misc/sys/mman.h: Likewise.
4541 * misc/sys/syslog.h: Likewise.
4542 * misc/sys/uio.h: Likewise.
4543 * misc/sys/xattr.h: Likewise.
4544 * misc/ttyent.h: Likewise.
4545 * nis/rpcsvc/ypclnt.h: Likewise.
4546 * nss/nss.h: Likewise.
4547 * posix/bits/unistd.h: Likewise.
4548 * posix/fnmatch.h: Likewise.
4549 * posix/glob.h: Likewise.
4550 * posix/sched.h: Likewise.
4551 * posix/spawn.h: Likewise.
4552 * posix/sys/wait.h: Likewise.
4553 * posix/unistd.h: Likewise.
4554 * posix/wordexp.h: Likewise.
4555 * pwd/pwd.h: Likewise.
4556 * resolv/netdb.h: Likewise.
4557 * resource/sys/resource.h: Likewise.
4558 * rt/aio.h: Likewise.
4559 * rt/bits/mqueue2.h: Likewise.
4560 * rt/mqueue.h: Likewise.
4561 * shadow/shadow.h: Likewise.
4562 * signal/signal.h: Likewise.
4563 * socket/send.c: Likewise.
4564 * socket/sendto.c: Likewise.
4565 * socket/sys/socket.h: Likewise.
4566 * stdio-common/printf.h: Likewise.
4567 * stdlib/bits/stdlib.h: Likewise.
4568 * stdlib/fmtmsg.h: Likewise.
4569 * stdlib/monetary.h: Likewise.
4570 * stdlib/stdlib.h: Likewise.
4571 * stdlib/ucontext.h: Likewise.
4572 * streams/stropts.h: Likewise.
4573 * string/argz.h: Likewise.
4574 * string/bits/string2.h: Likewise.
4575 * string/string.h: Likewise.
4576 * string/strings.h: Likewise.
4577 * sunrpc/rpc/auth.h: Likewise.
4578 * sunrpc/rpc/auth_des.h: Likewise.
4579 * sunrpc/rpc/clnt.h: Likewise.
4580 * sunrpc/rpc/netdb.h: Likewise.
4581 * sunrpc/rpc/pmap_clnt.h: Likewise.
4582 * sunrpc/rpc/xdr.h: Likewise.
4583 * sysdeps/generic/inttypes.h: Likewise.
4584 * sysdeps/generic/net/if.h: Likewise.
4585 * sysdeps/generic/sys/swap.h: Likewise.
4586 * sysdeps/gnu/net/if.h: Likewise.
4587 * sysdeps/gnu/utmpx.h: Likewise.
4588 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4589 * sysdeps/i386/i486/bits/string.h: Likewise.
4590 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4591 * sysdeps/s390/bits/string.h: Likewise.
4592 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4593 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4594 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4595 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4596 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4597 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4598 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4599 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4600 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4601 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4602 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4603 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4604 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4605 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4606 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4607 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4608 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4609 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4610 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4611 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4612 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4613 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4614 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4615 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4616 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4617 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4618 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4619 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4620 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4621 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4622 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4623 * sysvipc/sys/ipc.h: Likewise.
4624 * sysvipc/sys/msg.h: Likewise.
4625 * sysvipc/sys/sem.h: Likewise.
4626 * sysvipc/sys/shm.h: Likewise.
4627 * termios/termios.h: Likewise.
4628 * time/sys/time.h: Likewise.
4629 * time/time.h: Likewise.
4630 * wcsmbs/bits/wchar2.h: Likewise.
4631 * wcsmbs/uchar.h: Likewise.
4632 * wcsmbs/wchar.h: Likewise.
4633 * wctype/wctype.h: Likewise.
4634
0269750c
UD
4635 [BZ #13551]
4636 * Makeconfig: Remove all but ELF support including AIX support.
4637 * Makerules: Likewise.
4638 * config.h.in: Likewise.
4639 * config.make.in: Likewise.
4640 * configure: Likewise.
4641 * configure.in: Likewise.
4642 * csu/Makefile: Likewise.
4643 * csu/version.c: Likewise.
4644 * debug/Makefile: Likewise.
4645 * dlfcn/Makefile: Likewise.
4646 * elf/Makefile: Likewise.
4647 * extra-lib.mk: Likewise.
4648 * iconv/Makefile: Likewise.
4649 * include/libc-symbols.h: Likewise.
4650 * include/shlib-compat.h: Likewise.
4651 * resolv/Makefile: Likewise.
4652 * resolv/res_libc.c: Likewise.
4653 * rt/Makefile: Likewise.
4654 * sysdeps/i386/asm-syntax.h: Likewise.
4655 * sysdeps/i386/sysdep.h: Likewise.
4656 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4657 * sysdeps/mach/sysdep.h: Likewise.
4658 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4659 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4660 * sysdeps/s390/asm-syntax.h: Likewise.
4661 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4662 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4663 * sysdeps/sh/sysdep.h: Likewise.
4664 * sysdeps/unix/sparc/sysdep.h: Likewise.
4665 * sysdeps/wordsize-32/divdi3.c: Likewise.
4666 * sysdeps/x86_64/sysdep.h: Likewise.
4667
00bbd29b
UD
4668 * argp/Versions: Remove _argp_unlock_xxx.
4669
4670 [BZ #13559]
4671 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4672 * abilist/libBrokenLocale.abilist: Likewise.
4673 * abilist/libanl.abilist: Likewise.
4674 * abilist/libc.abilist: Likewise.
4675 * abilist/libcrypt.abilist: Likewise.
4676 * abilist/libdl.abilist: Likewise.
4677 * abilist/libm.abilist: Likewise.
4678 * abilist/libnsl.abilist: Likewise.
4679 * abilist/libpthread.abilist: Likewise.
4680 * abilist/libresolv.abilist: Likewise.
4681 * abilist/librt.abilist: Likewise.
4682 * abilist/libthread_db.abilist: Likewise.
4683 * abilist/libutil.abilist: Likewise.
4684 * abilist/libnss_db.abilist: New file.
4685
4686 * scripts/abilist.awk: Add support for indirect functions.
4687
a2693a0e
UD
4688 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4689
3f05895f
UD
4690 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4691
ecb6fb48
UD
4692 * shlib-versions: Remove entries for ports architectures.
4693
664f8cb9
UD
4694 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4695 files in ports.
4696 * elf/stackguard-macros.h: Remove support for IA-64.
4697 * elf/tst-auditmod1.c: Likewise.
4698 * sysdeps/generic/ldsodefs.h: Likewise.
4699
7ae81d88
UD
4700 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4701 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4702 configure files.
4703
bdeba135
UD
4704 [BZ #13552]
4705 * configure.in: Remove --enable-omitfp support.
4706 * FAQ.in: Adjust.
4707 * config.make.in: Likewise.
4708 * Makeconfig: Likewise.
4709 * manual/install.texi: Likewise.
4710
d75a0a62
UD
4711 In case anyone cares, the IA-64 architecture could move to ports.
4712 * sysdeps/ia64/*: Removed.
4713 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 4714 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 4715
dcc9756b
UD
4716 [BZ #13555]
4717 * configure.in: Remove entries for unsupported architectures.
4718
d3761ebc 4719 [BZ #13533]
9954432e
UD
4720 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4721 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4722 routines.
4723 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4724 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4725 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4726 fall back to using wcrtomb.
4727 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4728 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4729 renaming.
4730 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4731 * wcsmbs/tst-c16c32-1.c: New file.
4732
4733 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4734 local variable.
4735
c3a87236
UD
4736 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4737
28926a1b
UD
4738 * elf/tst-unique3.cc: Add explicit declaration of gets.
4739 * elf/tst-unique3lib.cc: Likewise.
4740 * elf/tst-unique3lib2.cc: Likewise.
4741 * elf/tst-unique4.cc: Likewise.
4742
df78418a
UD
4743 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4744
8ecd6b2a
JM
47452012-01-06 Joseph Myers <joseph@codesourcery.com>
4746
4747 [BZ #13566]
4748 * assert/assert.h (static_assert): Don't define for C++.
4749 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4750 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4751
9f115170
UD
47522012-01-03 Ulrich Drepper <drepper@gmail.com>
4753
5e0d0300
UD
4754 * iconv/loop.c (single loop): Fix assertion in storing of
4755 remaining bytes.
4756
9f115170
UD
4757 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4758
81fb02b0
UD
47592012-01-01 Ulrich Drepper <drepper@gmail.com>
4760
4761 * posix/getconf.c: Update copyright year.
4762 * nss/getent.c: Likewise.
a316c1f6 4763 * nss/makedb.c: Likewise.
81fb02b0
UD
4764 * iconv/iconvconfig.c: Likewise.
4765 * iconv/iconv_prog.c: Likewise.
4766 * elf/ldconfig.c: Likewise.
a316c1f6
UD
4767 * elf/pldd.c: Likewise.
4768 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
4769 * catgets/gencat.c: Likewise.
4770 * csu/version.c: Likewise.
4771 * elf/ldd.bash.in: Likewise.
4772 * elf/sprof.c (print_version): Likewise.
4773 * locale/programs/locale.c: Likewise.
4774 * locale/programs/localedef.c: Likewise.
a316c1f6 4775 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
4776 * nscd/nscd.c (print_version): Likewise.
4777 * debug/xtrace.sh: Likewise.
4778 * malloc/memusage.sh: Likewise.
4779 * malloc/mtrace.pl: Likewise.
4780 * debug/catchsegv.sh: Likewise.
4781
2ba92745
JJ
47822011-12-30 Jakub Jelinek <jakub@redhat.com>
4783
4784 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4785 pure attribute.
4786
dadebdae
UD
47872011-12-24 Ulrich Drepper <drepper@gmail.com>
4788
d3761ebc 4789 [BZ #13533]
db6af3eb
UD
4790 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4791 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4792 transformations.
4793 * iconv/gconv_int.h: Likewise.
4794 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4795 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4796 from libc for GLIBC_2.16.
4797 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4798 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4799 * wcsmbs/uchar.h: Really define mbstate_t.
4800 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4801 * wcsmbs/c16rtomb.c: New file.
4802 * wcsmbs/mbrtoc16.c: New file.
4803 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4804 for C/POSIX locale.
4805 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4806 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4807
dadebdae
UD
4808 * wcsmbs/wchar.h: Add missing __restrict.
4809
67371b56
UD
48102011-12-23 Ulrich Drepper <drepper@gmail.com>
4811
74033a25
UD
4812 [BZ #13532]
4813 * time/Makefile (routines): Add timespec_get.
4814 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4815 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4816 timespec for ISO C11.
4817 * time/timespec_get.c: New file.
4818 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4819 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4820
380d7e87
UD
4821 [BZ #13531]
4822 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4823 * stdlib/stdlib.h: Declare aligned_alloc.
4824 * Versions.def: Add GLIBC_2.16 for libc.
4825 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4826
4e9e7a35
UD
4827 [BZ 13527]
4828 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4829 ISO C11.
4830
380d7e87 4831 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
4832 code.
4833
03a71829
UD
4834 [BZ #13528]
4835 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4836
839e283e
UD
4837 [BZ #13529]
4838 * assert/assert.h (static_assert): Define.
4839
ce5294e2 4840 * version.h: Update for 2.16 development version.
90fa7312 4841
8d44e150 4842 [BZ #13526]
d7809905
UD
4843 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4844 _ISOC11_SOURCE.
4845
c0da14cd
UD
4846 * version.h (RELEASE): Bump for 2.15 release.
4847 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4848
530a3249
MP
4849 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4850 Patch by Marek Polacek <mpolacek@redhat.com>.
4851
67371b56
UD
4852 * bits/byteswap.h: Protect long long constants with __extension__.
4853 * sysdeps/i386/bits/byteswap.h: Likewise.
4854 * sysdeps/ia64/bits/byteswap.h: Likewise.
4855 * sysdeps/s390/bits/byteswap.h: Likewise.
4856 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4857
15db4de1
LD
48582011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4859
4860 [BZ #13540]
bbe315ea
LD
4861 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4862 destination buffer.
15db4de1
LD
4863 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4864
2b2596b1
MP
48652011-12-23 Marek Polacek <polacek@redhat.com>
4866
4867 * elf/dl-addr.c (determine_info): Add inline keyword.
4868 * elf/tst-auditmod4b.c (check_avx): Likewise.
4869 * elf/tst-auditmod6b.c (check_avx): Likewise.
4870 * elf/tst-auditmod6c.c (check_avx): Likewise.
4871 * elf/tst-auditmod7b.c (check_avx): Likewise.
4872
70c6c246
UD
48732011-12-23 Ulrich Drepper <drepper@gmail.com>
4874
4875 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4876 !__SSE_MATH__.
4877
c044cf14
LD
48782011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4879
15db4de1 4880 [BZ #13540]
c044cf14
LD
4881 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4882 processing for last bytes.
4883
6b13d9d9
BH
48842011-08-06 Bruno Haible <bruno@clisp.org>
4885
d455f537
BH
4886 [BZ #13061]
4887 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4888 U+0385, not to U+1FEE.
4889
6b13d9d9
BH
4890 [BZ #13062]
4891 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4892 entry for U+00A5 U+0301.
4893
db910efd
UD
48942011-12-22 Ulrich Drepper <drepper@gmail.com>
4895
27deeafc
UD
4896 [BZ #13166]
4897 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4898 buffer for the output is too small.
4899
aed9d171
UD
4900 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4901 optimization.
4902
db910efd
UD
4903 [BZ #13185]
4904 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4905 SSE flags if possible.
4906
2bd779ae
LD
49072011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4908
e7f9dac3 4909 [BZ #13540]
2bd779ae
LD
4910 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4911 processing for last bytes.
4912
154bfc16
JM
49132011-12-22 Joseph Myers <joseph@codesourcery.com>
4914
4915 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4916 (syscall-list-default-options, syscall-list-default-condition)
4917 (syscall-list-includes): Define.
4918 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4919 list of ABIs and options and #if conditions for each ABI. Do not
4920 handle common syscalls between ABIs specially.
4921 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4922 Remove.
4923 (syscall-list-variants, syscall-list-32bit-options)
4924 (syscall-list-32bit-condition, syscall-list-64bit-options)
4925 (syscall-list-64bit-condition): Define.
4926 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4927 (syscall-list-variants, syscall-list-32bit-options)
4928 (syscall-list-32bit-condition, syscall-list-64bit-options)
4929 (syscall-list-64bit-condition): Define.
4930 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4931 Remove.
4932 (syscall-list-variants, syscall-list-32bit-options)
4933 (syscall-list-32bit-condition, syscall-list-64bit-options)
4934 (syscall-list-64bit-condition): Define.
4935 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4936 Remove.
4937 (syscall-list-variants, syscall-list-32bit-options)
4938 (syscall-list-32bit-condition, syscall-list-64bit-options)
4939 (syscall-list-64bit-condition): Define.
4940
21eaf3a5
UD
49412011-12-22 Ulrich Drepper <drepper@gmail.com>
4942
16c6f992
UD
4943 * locale/iso-639.def: Add brx entry.
4944
41043168
UD
4945 [BZ #13328]
4946 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4947 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4948
21eaf3a5
UD
4949 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4950 __feraiseexcept_renamed.
4951
e3a851a2
UD
49522011-12-21 Ulrich Drepper <drepper@gmail.com>
4953
4920765e
UD
4954 [BZ #13538]
4955 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4956 EPOLLET with unsigned values.
4957 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4958 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4959
e3a851a2
UD
4960 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4961 to large cancellation.
4962 * math/s_cacoshf.c: Likewise.
4963 * math/s_cacoshl.c: Likewise.
4964
b27e24b8
RK
49652011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4966
4967 [BZ #13305]
aebefeee 4968 [BZ #12786]
b27e24b8
RK
4969 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4970 * math/s_cacoshf.c: Likewise.
4971 * math/s_cacoshl.c: Likewise.
4972
ee190f67
UD
49732011-12-21 Ulrich Drepper <drepper@gmail.com>
4974
4975 [BZ #13439]
4976 * iconv/gconv.h: Define __GCONV_SWAP.
4977 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4978 * iconvdata/utf-16.c: Likewise.
4979 * iconvdata/utf-32.c: Likewise.
4980
707f25df
AS
49812011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4982
4983 [BZ #13524]
4984 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4985 numerator after shifting it by one limb.
4986
d2daaa1e
RÁE
49872011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4988
4989 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4990 under [__USE_EXTERN_INLINES].
4991
a4647e72
UD
49922011-12-17 Ulrich Drepper <drepper@gmail.com>
4993
4994 [BZ #13446]
4995 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4996
f0b264f1
AZ
49972011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4998
4999 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
5000 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
5001 optimized code.
5002 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
5003 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
5004 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
5005 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
5006 for strncasecmp/strncasecmp_l compilation.
5007 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
5008 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
5009
8ef4f244
MP
50102011-12-08 Marek Polacek <mpolacek@redhat.com>
5011
5012 [BZ #13484]
5013 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
5014 of __asm__.
5015
97ac2654
UD
50162011-12-17 Ulrich Drepper <drepper@gmail.com>
5017
5018 [BZ #13506]
5019 * time/tzfile.c (__tzfile_read): Check values from file header.
5020
91d2a845
WS
50212011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5022
5023 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
5024 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
5025 * powerpc/powerpc32/dl-start.S: Likewise.
5026 * powerpc/powerpc32/elf/start.S: Likewise.
5027 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5028 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
5029 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5030 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
5031 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5032 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
5033 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
5034 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5035 * powerpc/powerpc32/fpu/s_round.S: Likewise.
5036 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5037 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5038 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5039 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5040 * powerpc/powerpc32/memset.S: Likewise.
5041 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5042 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5043 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5044 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5045 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5046 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5047 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5048 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5049 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
5050 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
5051 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
5052 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5053 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5054
a1267ba1
AZ
50552011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5056
5057 * math/libm-test.inc: Added more nearbyint tests.
5058 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5059 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5060 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5061 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5062
ad8ac1bd
RL
50632011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
5064
5065 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5066 FD_CLOEXEC.
5067
1d3e4b61
UD
50682011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5069
5070 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5071 Add wcscpy-ssse3 wcscpy-c.
5072 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5073 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5074 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5075 * sysdeps/x86_64/wcschr.S: New file.
5076 * sysdeps/x86_64/wcsrchr.S: New file.
5077 * string/test-strcmp.c: Remove checking of wcscmp function for
5078 wrong alignments.
5079 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5080 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5081 wcsrchr-sse2 wcsrchr-c.
5082 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5083 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5084 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5085 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5086 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5087 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5088 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5089 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5090 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5091 * wcsmbc/wcschr.c (WCSCHR): New macro.
5092
5b330a2d
UD
50932011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5094
5095 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5096 * wcsmbs/test-wcsrchr.c: New file.
5097 * string/test-strrchr.c: Add wcsrchr support.
5098 (WIDE): New macro.
5099 * wcsmbs/test-wcscpy.c: New file.
5100 * string/test-strcpy.c: Add wcscpy support.
5101 (WIDE): New macro.
26428b7c 5102
f039c043
UD
51032011-12-10 Ulrich Drepper <drepper@gmail.com>
5104
5105 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5106 the inner loop.
5107
850fb039
AS
51082011-12-06 Andreas Schwab <schwab@linux-m68k.org>
5109
5110 [BZ #13472]
5111 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5112
4efbd5cb
UD
51132011-12-04 Ulrich Drepper <drepper@gmail.com>
5114
52ff5dd0 5115 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 5116 Minor optimizations.
52ff5dd0 5117
4efbd5cb
UD
5118 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5119 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5120 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5121
8a426e12
UD
51222011-12-03 Ulrich Drepper <drepper@gmail.com>
5123
aff2453d
UD
5124 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5125 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5126 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5127 for gcc to avoid warnings.
5128 * inet/Makefile (tests): Add tst-checks.
5129 * inet/tst-checks.c: New file.
5130
5131 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5132 warning.
5133
5134 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5135 __wmemcmp_sse2.
5136
5137 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5138 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5139
8a426e12
UD
5140 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5141
9bea3473
UD
51422011-12-02 Ulrich Drepper <drepper@gmail.com>
5143
3a965496
UD
5144 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5145 problem.
5146
9bea3473
UD
5147 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5148
f101631b
UD
51492011-11-29 Joseph Myers <joseph@codesourcery.com>
5150
5151 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5152 conditional on GCC version.
5153 (__arch_compare_and_exchange_val_8_acq)
5154 (__arch_compare_and_exchange_val_16_acq)
5155 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5156 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5157 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5158
a98275aa
UD
51592011-12-02 Joseph Myers <joseph@codesourcery.com>
5160
5161 * sysdeps/sh/backtrace.c: New file.
5162
d4cc29a2
AS
51632011-12-02 Andreas Schwab <schwab@redhat.com>
5164
5165 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
5166 parenthesis.
5167
6257af2d
AS
51682011-12-01 Andreas Schwab <schwab@redhat.com>
5169
5170 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5171 falling back to utime.
5172
b5f44c1a
AS
51732011-11-30 Andreas Schwab <schwab@redhat.com>
5174
5175 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
5176 expectations for float.
5177
f3a6cc0a
AS
51782011-11-29 Andreas Schwab <schwab@redhat.com>
5179
5180 * locale/weight.h (findidx): Add parameter len.
5181 * locale/weightwc.h (findidx): Likewise.
5182 * posix/fnmatch_loop.c (FCT): Adjust caller.
5183 * posix/regcomp.c (build_equiv_class): Likewise.
5184 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
5185 * posix/regexec.c (check_node_accept_bytes): Likewise.
5186 * string/strcoll_l.c (STRCOLL): Likewise.
5187 * string/strxfrm_l.c (STRXFRM): Likewise.
5188
9d65ea3a
UD
51892011-11-17 Ulrich Drepper <drepper@gmail.com>
5190
5191 * Makefile.in: Remove CVSOPT handling.
5192 * configure.in: Remove use of AC_REVISION.
5193 * iconvdata/Makefile (distribute): No need to filter out CVS.
5194 * scripts/list-sources.sh: Remove CVS, subversion and monotone
5195 handling.
5196
5583a086
AS
51972011-11-16 Andreas Schwab <schwab@redhat.com>
5198
5199 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5200 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5201 [USE_AS_STRNCASECMP_L]: Likewise.
5202 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5203 NO_TLS_DIRECT_SEG_REFS.
5204 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5205 Fix argument offsets for non-PIC.
5206 [USE_AS_STRNCASECMP_L]: Likewise.
5207 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5208 NO_TLS_DIRECT_SEG_REFS.
5209
d62a8200
UD
52102011-11-15 Ulrich Drepper <drepper@gmail.com>
5211
9d65ea3a 5212 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
5213 O_CLOEXEC.
5214 * locale/loadlocale.c (_nl_load_locale): Likewise.
5215
09f93bd3
AS
52162011-11-15 Andreas Schwab <schwab@redhat.com>
5217
446514f9
AS
5218 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5219 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5220 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5221 (SYSCALL_GETTIME): Set errno on error.
5222
09f93bd3
AS
5223 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5224 count references to noai6ai_cached.
5225
312be3f9
UD
52262011-11-15 Ulrich Drepper <drepper@gmail.com>
5227
5228 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5229
5230 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5231 FD_CLOEXEC for /proc/self/maps.
5232
5233 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5234 FD_CLOEXEC for /proc/meminfo.
5235
5236 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5237 gai.conf.
5238
5239 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
5240 FD_CLOEXEC for given file.
5241
5242 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5243
5244 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5245 FD_CLOEXEC for /etc/hosts.
5246 (_gethtent): Likewise.
5247
5248 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5249
5250 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5251 cancellation and set FD_CLOEXEC for /etc/netgroup.
5252
5253 * nss/nss_files/files-key.c (search): Don't allow cancellation when
5254 reading /etc/publickey.
5255
5256 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5257 allow cancellation when reading /etc/group.
5258
5259 * nss/nss_files/files-alias.c (internal_setent): Don't allow
5260 cancellation.
5261 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
5262
5263 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5264 when using data file.
5265
5266 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5267
5268 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5269 (write_nis_obj): Use "c" and "e" in fopen.
5270
5271 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5272
5273 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5274
5275 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5276
5277 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5278
5279 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5280 locale.alias.
5281
5282 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5283
5284 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5285
5286 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5287
5288 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5289 file parsing and set FD_CLOEXEC.
5290
82af0fa8
UD
52912011-11-14 Ulrich Drepper <drepper@gmail.com>
5292
5293 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5294
a5fb313c
AS
52952011-11-14 Andreas Schwab <schwab@redhat.com>
5296
5297 * malloc/arena.c (arena_get2): Don't call reused_arena when
5298 _int_new_arena failed.
5299
6abf3465
UD
53002011-11-14 Ulrich Drepper <drepper@gmail.com>
5301
5302 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5303 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5304 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5305 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5306 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5307 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5308 to compile strcasecmp and strncasecmp.
5309 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5310 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5311
5312 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5313
76e3966e
UD
53142011-11-13 Ulrich Drepper <drepper@gmail.com>
5315
5316 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5317 locale-defines.sym to gen-as-const-headers.
5318 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5319 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5320 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5321 to compile strcasecmp and strncasecmp.
5322 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5323 strcasecmp_l and strncasecmp_l.
5324 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5325 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5326 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5327 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5328 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5329 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5330 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5331 * sysdeps/i386/i686/multiarch/strncase.S: New file.
5332 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5333 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5334 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5335
ab26144e
UD
53362011-11-12 Ulrich Drepper <drepper@gmail.com>
5337
7edb22ef
UD
5338 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5339 result of SYSDEP_GETTIME_CPU to retval.
5340 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5341 parameter list to macro. Remove trailing semicolon. Adjust users.
5342
9694fc44
UD
5343 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5344 variable.
5345
8ad89ef8
UD
5346 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5347 mantissa words.
5348 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5349
0c822ef9
UD
5350 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5351 from unused variable.
5352
874e0564
UD
5353 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5354 DWARF definitions.
5355 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5356 for assembling.
5357
3a2edc79
UD
5358 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5359 over namespaces.
5360
f3c2577f
UD
5361 * sunrpc/rpc_prot.c (rejected): Fix case value.
5362
294ce126
UD
5363 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5364 unsigned long long int to avoid warnings in shift.
5365
5e2b63c6
UD
5366 * posix/regex_internal.c (re_string_reconstruct): Actually use result
5367 of use of trans.
5368 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5369 variable tmp.
5370
e7f4b08e
UD
5371 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5372 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5373 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5374
ab26144e
UD
5375 * nis/nis_table.c (nis_list): Use variable of correct type for
5376 result of __follow_path call.
5377
8a6d5255
AZ
53782011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5379
5380 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5381 of math functions ceil, trunc, floor, round, and sqrt, when
5382 avaliable on the platform.
5383 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5384 name clash.
5385 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5386 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5387 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5388
aaddc98c
MP
53892011-10-30 Marek Polacek <mpolacek@redhat.com>
5390
5391 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5392 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5393
95b7042b
RM
53942011-11-11 Roland McGrath <roland@hack.frob.com>
5395
5396 * include/unistd.h: Fix __readlink return type.
5397 Reported by Chris Metcalf <cmetcalf@tilera.com>.
5398
57769839
UD
53992011-11-11 Ulrich Drepper <drepper@gmail.com>
5400
5401 * stdlib/ucontext.h: Undo last change for makecontext.
5402
edc5984d
AS
54032011-11-11 Andreas Schwab <schwab@redhat.com>
5404
98591e58
AS
5405 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5406
edc5984d
AS
5407 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5408 * setjmp/setjmp.h: Mark functions as non-leaf.
5409 * setjmp/bits/setjmp2.h: Likewise.
5410 * stdlib/ucontext.h: Likewise.
5411
77cdc054
AS
54122011-11-10 Andreas Schwab <schwab@redhat.com>
5413
5414 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5415 (reused_arena): Don't check arena limit.
5416 (arena_get2): Atomically check arena limit.
5417
fe72eebd
UD
54182011-11-08 Ulrich Drepper <drepper@gmail.com>
5419
5f078c32
UD
5420 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5421 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5422
fe72eebd
UD
5423 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5424 instructions.
5425
ae1bc2fa
AS
54262011-11-07 Andreas Schwab <schwab@redhat.com>
5427
7583a88d
AS
5428 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5429 handler when locking.
5430
ae1bc2fa
AS
5431 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5432 Fix size of allocated buffer.
5433
10fb0bfa
AS
54342011-11-04 Andreas Schwab <schwab@redhat.com>
5435
998832a4
AS
5436 [BZ #10103]
5437 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5438 declarations for long double functions.
5439 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5440
10fb0bfa
AS
5441 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5442
3d7ba52b
AS
54432011-11-03 Andreas Schwab <schwab@redhat.com>
5444
a9ae54a1
AS
5445 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5446 installed.
5447
3d7ba52b
AS
5448 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5449 is disabled.
5450
bc8db248
ST
54512011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5452
5453 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5454
45b96dd6
AS
54552011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5456
647776f6
AS
5457 * include/alloca.h (stackinfo_alloca_round): Define.
5458 (extend_alloca): Use it.
5459 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5460 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5461 here.
5462
d91a8b93
AS
5463 * scripts/check-local-headers.sh: Ignore libaudit.h.
5464
45b96dd6
AS
5465 * nscd/Makefile (extra-objs): Make recursively expanded.
5466
432d41ce
UD
54672011-11-01 Ulrich Drepper <drepper@gmail.com>
5468
34372fc6
UD
5469 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5470 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5471
fadb59f8
UD
5472 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5473 * posix/tst-rfc3484-2.c: Likewise.
5474 * posix/tst-rfc3484-3.c: Likewise.
5475
78239589
UD
5476 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5477 process_vm_writev.
5478 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5479 process_vm_writev.
5480 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5481 process_vm_writev from libc using GLIBC_2.15 version.
5482
432d41ce
UD
5483 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5484
02f9c6cf
PP
54852011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5486
5487 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5488 stack usage.
5489
3a2c0242
UD
54902011-10-31 Ulrich Drepper <drepper@gmail.com>
5491
f4ec4833
UD
5492 [BZ #13367]
5493 * nss/getent.c (initgroups_keys): Show error message in case no group
5494 names are given.
5495
3a2c0242
UD
5496 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5497 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5498 __bump_nl_timestamp.
5499 * nscd/connections (nscd_init): When host database is served open
5500 netlink socket and request notification about configuration changes.
5501 (main_loop_poll): Track netlink file descriptor and bump timestamp
5502 in case data becomes available.
5503 (main_loop_epoll): Likewise.
5504 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5505 (database_pers_head): Add extra_data fileds.
5506 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5507 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5508 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5509 Adjust caller.
5510 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5511 in6ai data, call __free_in6ai.
5512 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5513 Add -DHAVE_NETLINK.
5514 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5515 interface information. Reuse previous data if netlink timestamp
5516 is not changed.
5517 (__bump_nl_timestamp): New function.
5518 (__free_in6ai): New function.
5519
636064eb
UD
55202011-10-30 Ulrich Drepper <drepper@gmail.com>
5521
5522 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5523 close_not_cancel_no_status here.
5524 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5525
9beb2334
UD
55262011-10-29 Ulrich Drepper <drepper@gmail.com>
5527
6ef76f3b
UD
5528 [BZ #13276]
5529 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5530 return value.
5531
0ffc4f3e 5532 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
5533 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5534 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5535
cb95113e
UD
55362011-07-03 Andreas Jaeger <aj@suse.de>
5537
5538 [BZ #10709]
5539 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5540 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5541 * math/libm-test.inc (sin_test): Add test case.
5542
a1b560ff
UD
55432011-10-29 Ulrich Drepper <drepper@gmail.com>
5544
c9aaface
UD
5545 [BZ #13337]
5546 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5547 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5548
d272e7f1
UD
5549 * elf/chroot_canon.c (chroot_canon): Cleanups.
5550
1bc33071
UD
5551 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5552
1760874d
TJ
5553 [BZ #13335]
5554 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5555 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5556
51d91b18
UD
5557 * string/test-strchr.c: Make usable for strchrnul testing.
5558 * string/test-strchrnul.c: New file.
5559 * string/Makefile (strop-tests): Add strchrnul.
5560
a1b560ff 5561 * po/it.po: Update from translation team.
b611fb81 5562 * po/es.po: Likewise.
a1b560ff 5563
a5b81e1f
UD
55642011-10-28 Ulrich Drepper <drepper@gmail.com>
5565
fd52bc6d
UD
5566 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5567 the three constants needed as parameters. Drop the others.
5568 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5569 __m128i_strloadu_tolower.
52e4b9eb
UD
5570 Create and initialize variable zero and use it in all the places
5571 where _mm_setzero_si128 was used.
fd52bc6d 5572
a5b81e1f
UD
5573 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5574 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5575 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5576 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5577 anymore.
5578 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5579 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5580 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5581 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5582 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5583 __mpranred, __mptan.
5584 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5585 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5586 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5587 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5588 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5589 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5590 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5591 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5592 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5593
b4343346
AS
55942011-10-28 Andreas Schwab <schwab@redhat.com>
5595
0c92d8a8
AS
5596 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5597 redefine if SHARED.
5598 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5599
b4343346
AS
5600 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5601 wide char related routines to wcsmbs subdir.
5602
3871f58f
AS
56032011-10-27 Andreas Schwab <schwab@redhat.com>
5604
5605 [BZ #13344]
5606 * misc/sys/cdefs.h (__THROWNL): Define.
5607 * posix/unistd.h: Use __THREADNL instead of __THREAD
5608 for memory synchronization functions.
5609
94d44d9f
RM
56102011-10-26 Roland McGrath <roland@hack.frob.com>
5611
21b64b15 5612 [BZ #13349]
94d44d9f
RM
5613 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5614 doesn't exist.
5615 * manual/stdio.texi (Obstack Streams): Node removed.
5616
f6ce9294
AS
56172011-10-26 Andreas Schwab <schwab@redhat.com>
5618
80479147
AS
5619 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5620 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5621 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5622
f6ce9294
AS
5623 * math/math_private.h (math_force_eval): Allow non-addressable
5624 arguments.
5625 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5626
618280a1
UD
56272011-10-25 Ulrich Drepper <drepper@gmail.com>
5628
e0016b11
UD
5629 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5630 file is not needed.
5631
5632 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5633 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5634 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5635 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5636 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5637 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5638 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5639 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5640 Add AVX variants.
5641 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5642 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5643 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5644 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5645 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5646 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5647 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5648 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5649 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5650 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5651 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5652 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5653 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5654 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5655 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5656 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5657 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5658 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5659 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5660
5661 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5662 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5663
618280a1
UD
5664 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5665 place. Use VEX encoding when compiling for AVX.
5666
37822576
AS
56672011-10-25 Andreas Schwab <schwab@redhat.com>
5668
1f1e1947
AS
5669 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5670 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5671
37822576
AS
5672 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5673
31ea014d
UD
56742011-10-25 Ulrich Drepper <drepper@gmail.com>
5675
d7826aa1 5676 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 5677 useless if() expression.
d7826aa1
UD
5678 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5679 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5680 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5681 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5682 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5683 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5684 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5685 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5686 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5687 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5688 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5689 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5690 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5691 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5692 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5693 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5694 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5695 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5696 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5697
31ea014d
UD
5698 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5699
16437fec
AS
57002011-10-25 Andreas Schwab <schwab@redhat.com>
5701
5702 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5703 condition.
5704 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5705
31d3cc00
UD
57062011-10-25 Ulrich Drepper <drepper@gmail.com>
5707
5708 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5709 .text section. Avoid duplicate constants.
5710 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5711 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5712 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5713 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5714 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5715 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5716 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5717 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5718 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5719 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5720 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5721 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5722 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5723 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5724 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5725 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5726 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5727 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5728 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5729 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5730 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5731 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5732 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5733 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5734 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5735 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5736 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5737 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5738 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5739 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5740 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5741 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5742 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5743 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5744 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5745 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5746 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5747 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5748 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5749 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5750 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5751 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5752 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5753 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5754 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5755
58985aa9
UD
57562011-10-24 Ulrich Drepper <drepper@gmail.com>
5757
202c9deb
UD
5758 * sysdeps/x86_64/dla.h: Move to ...
5759 * sysdeps/x86_64/fpu/dla.h: ...here.
5760 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5761 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 5762
af968f62
UD
5763 * config.make.in: Add have-mfma4 entry.
5764 * configure.in: Substitute libc_cv_cc_fma4.
5765 * math/Makefile (dbl-only-routines): Add sincostab.
5766 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5767 Use __sincostab not sincos.
5768 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5769 name is a macro.
5770 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5771 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5772 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5773 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5774 using __copysign.
5775 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5776 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5777 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5778 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5779 and __inv.
5780 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5781 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5782 __copysign.
5783 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5784 define aliases when function name is a macro.
5785 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5786 sysdeps/ieee754/dbl-64/sincos.tbl.
5787 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5788 fma4-enabled routines.
5789 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5790 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5791 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5792 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5793 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5794 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5795 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5796 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5797 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5798 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5799 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5800 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5801 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5802 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5803 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5804 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5805 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5806 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5807 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5808 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5809 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5810 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5811 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5812 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5813 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5814 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5815 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5816 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5817 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5818 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5819
58985aa9
UD
5820 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5821 rename.
5822 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5823 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5824 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5825 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5826 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5827 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5828 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5829 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5830
a201fbcf
AS
58312011-10-24 Andreas Schwab <schwab@redhat.com>
5832
5833 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5834
fc2ee42a
LD
58352011-10-23 Ulrich Drepper <drepper@gmail.com>
5836
bb3129bd
UD
5837 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5838
0275fff8
UD
5839 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5840 prediction.
5841 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5842
2fa2ae85
UD
5843 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5844 Remove unused variable magic_bits.
5845 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5846
fc2ee42a
LD
5847 * string/strnlen.c: Define and use STRNLEN macro.
5848 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5849 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5850 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5851 * wcsmbs/wcslen.c: Define and use WCSLEN.
5852 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5853 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5854 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5855 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5856 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5857 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5858 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5859
ce7dd29f
LD
58602011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5861
5862 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5863 strnlen-sse2-no-bsf.
5864 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5865 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5866 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5867 Add strnlen support.
5868 (USE_AS_STRNLEN): New macro.
5869 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5870 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5871 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5872 * sysdeps/x86_64/wcslen.S: New file.
5873
979c70a3
MZ
58742011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5875
5876 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5877 XMM-moves are used for copying on small sizes.
5878
2d09f82f
LD
58792011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5880
5881 * wcsmbs/Makefile (strop-tests): Add wcschr.
5882 * wcsmbs/test-wcschr.c: New file.
5883 * string/test-strchr.c: Update.
5884 Add wcschr support.
5885 (WIDE): New macro.
5886
619fccca
LD
58872011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5888
2d09f82f 5889 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
5890 * wcsmbs/test-wcslen.c: New file.
5891 * string/test-strlen.c: Update.
5892 Add wcslen support.
5893 (WIDE): New macro.
5894
09f699ea
UD
58952011-10-23 Ulrich Drepper <drepper@gmail.com>
5896
5897 * po/it.po: Update from translation team.
5898
95584d3b
LD
58992011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5900
5901 * sysdeps/x86_64/wcscmp.S: Update.
5902 Fix wrong comparison semantics.
5903 wcscmp shall use signed comparison not unsigned.
5904 Don't use substraction to avoid overflow bug.
5905 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5906 * wcsmbc/wcscmp.c: Likewise.
5907 * string/test-strcmp.c: Likewise.
5908 Add new tests to check cases with negative values.
5909
c8b3296b
UD
59102011-10-23 Ulrich Drepper <drepper@gmail.com>
5911
5912 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5913 * sysdeps/x86_64/dla.h: ...here. New file.
5914 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5915 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5916 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5917 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5918 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5919 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5920 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5921 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5922 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5923
246ad57a
AS
59242011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5925
5926 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5927 __ynl_finite aliases.
5928
a1a87169
UD
59292011-10-22 Ulrich Drepper <drepper@gmail.com>
5930
0d355eb7
UD
5931 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5932
a1a87169
UD
5933 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5934 define DLA_FMA.
5935 [DLA_FMA] (EMULV): Use DLA_FMA.
5936 [DLA_FMA] (MUL12): Use EMULV.
5937 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5938 that are not needed.
5939 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5940 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5941 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5942 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5943 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5944 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5945 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5946
ee2aafe0
AS
59472011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5948
5949 * math/s_nan.c: Undef __nan.
5950 * math/s_nanf.c: Undef __nanf.
5951 * math/s_nanl.c: Undef __nanl.
5952 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5953 "math_private.h".
5954
bc62c2fb
UD
59552011-10-22 Ulrich Drepper <drepper@gmail.com>
5956
77425c63
UD
5957 * math/s_catan.c: Add branch predictions.
5958 * math/s_catanf.c: Likewise.
5959 * math/s_catanh.c: Likewise.
5960 * math/s_catanhf.c: Likewise.
5961 * math/s_catanhl.c: Likewise.
5962 * math/s_catanl.c: Likewise.
5963 * math/s_cexp.c: Likewise.
5964 * math/s_cexpf.c: Likewise.
5965 * math/s_cexpl.c: Likewise.
5966 * math/s_clog.c: Likewise.
5967 * math/s_clog10.c: Likewise.
5968 * math/s_clog10f.c: Likewise.
5969 * math/s_clog10l.c: Likewise.
5970 * math/s_clogf.c: Likewise.
5971 * math/s_clogl.c: Likewise.
5972 * math/s_csqrt.c: Likewise.
5973 * math/s_csqrtf.c: Likewise.
5974 * math/s_csqrtl.c: Likewise.
5975 * math/s_ctanf.c: Likewise.
5976 * math/s_ctanh.c: Likewise.
5977 * math/s_ctanhf.c: Likewise.
5978 * math/s_ctanhl.c: Likewise.
5979 * math/s_ctanl.c: Likewise.
5980
bc62c2fb
UD
5981 * math/math_private.h: Define __nan, __nanf, __nanl.
5982 * math/s_cacosh.c: Include <math_private.h>.
5983 * math/s_cacoshl.c: Likewise.
5984 * math/s_casinh.c: Likewise.
5985 * math/s_casinhf.c: Likewise.
5986 * math/s_casinhl.c: Likewise.
5987 * math/s_ccos.c: Rely entire on ccosh.
5988 * math/s_ccosf.c: Rely entire on ccoshf.
5989 * math/s_ccosl.c: Rely entirely on ccoshl.
5990 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5991 Remove tests for FE_INVALID.
5992 * math/s_ccoshf.c: Likewise.
5993 * math/s_ccoshl.c: Likewise.
5994 * math/s_csin.c: Likewise.
5995 * math/s_csinf.c: Likewise.
5996 * math/s_csinh.c Likewise.
5997 * math/s_csinhf.c: Likewise.
5998 * math/s_csinhl.c: Likewise.
5999 * math/s_csinl.c: Likewise.
6000 * math/s_ctan.c: Likewise.
6001 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
6002 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
6003 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
6004
8ec250a4
UD
60052011-10-21 Ulrich Drepper <drepper@gmail.com>
6006
c196fed8
UD
6007 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
6008 compilation problems.
6009
8ec250a4
UD
6010 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
6011 __builtin_expect.
6012
8d4f46c6
UD
60132011-10-20 Ulrich Drepper <drepper@gmail.com>
6014
ed72b654
UD
6015 * sysdeps/i386/configure.in: Test for -mfma4 option.
6016 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
6017 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
6018 COMMON_CPUID_INDEX_80000001.
6019 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
6020 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
6021 use it if FMA3 is not supported.
6022 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6023
8d4f46c6
UD
6024 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
6025 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6026
d45c60c2
AS
60272011-10-20 Andreas Schwab <schwab@redhat.com>
6028
6029 [BZ #12892]
6030 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
6031 it would create a cycle with a link time dependency.
6032
d9a4d2ab
UD
60332011-10-19 Ulrich Drepper <drepper@gmail.com>
6034
855d1560
UD
6035 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
6036 instruction.
6037 * string/Makefile (strop-tests): Add rawmemchr.
6038 * string/test-rawmemchr.c: New file.
6039
d9a4d2ab
UD
6040 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
6041 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
6042 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
6043 when compiling str{,n}casecmp and when AVX is available. Hook up
6044 new optimized code in initializers.
6045
8f3b1ffe
AS
60462011-10-19 Andreas Schwab <schwab@redhat.com>
6047
6048 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
6049 __feraiseexcept instead of feraiseexcept.
6050
d38f1dba
UD
60512011-10-18 Ulrich Drepper <drepper@gmail.com>
6052
d9a8d0ab
UD
6053 * math/math_private.h: Define defaults for libc_fetestexcept and
6054 libc_feupdateenv.
6055 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
6056 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6057 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6058 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6059 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6060 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6061 libc_fetestexcept and libc_feupdateenv.
6062
4855e3dd
UD
6063 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6064 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6065 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6066 * sysdeps/x86_64/fpu/math_private.h: Define special version of
6067 libc_feholdexcept_setround.
6068
581d30e3
UD
6069 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6070 Add s_nearbyint-c and s_nearbyintf-c.
6071 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6072 nearbyintf inlines.
6073 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6074 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6075 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6076 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6077
d38f1dba
UD
6078 * math/math_private.h: Define defaults for libc_fegetround,
6079 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6080 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6081 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6082 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6083 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6084 standard functions.
6085 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6086 Remove comments and hacks for old compiler versions.
6087 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6088 libc_fegetround, libc_fesetround, libc_feholdexcept, and
6089 libc_feholdexceptl.
6090
caa6c9d8
AS
60912011-10-18 Andreas Schwab <schwab@redhat.com>
6092
6093 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
6094 (__feraiseexcept_renamed): Add __NTH.
6095 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
6096 namespace violations.
6097
97c066e6
UD
60982011-10-17 Ulrich Drepper <drepper@gmail.com>
6099
99ce7b04
UD
6100 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6101
1004d182
UD
6102 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6103
228a984d
UD
6104 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6105 recently added interfaces.
6106 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6107
c8553a6a
UD
6108 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6109 about macro parameter expansion.
6110
ed22dcf6
UD
6111 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6112 __NO_MATH_INLINES is defined. Cleanups.
6113
6114 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6115 and __floorf is target has SSE4.1.
6116 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6117 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6118 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6119 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6120
b171c137
UD
6121 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6122 name.
6123 (floorf): Likewise.
6124
97c066e6
UD
6125 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6126
629f62ef
AS
61272011-10-17 Andreas Schwab <schwab@redhat.com>
6128
49a43d80
AS
6129 * misc/sys/cdefs.h: Fix last change.
6130
629f62ef
AS
6131 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6132 database lookup.
6133
e453f6cd
UD
61342011-10-16 Ulrich Drepper <drepper@gmail.com>
6135
aa78043a
UD
6136 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6137
ad0f5cad
UD
6138 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6139 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6140 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6141 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6142 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6143 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6144 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6145 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6146 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6147 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6148 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6149 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6150 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6151 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6152 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6153 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6154 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6155 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6156 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6157 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6158 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6159 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6160
6161 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6162 ceil, ceilf, floor, floorf.
6163
6164 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6165 Perform IRELATIVE relocations last.
6166
e453f6cd
UD
6167 * elf/do-rel.h: Add another parameter nrelative, replacing the
6168 local variable with the same name. Change name of the function
6169 to end in Rel or Rela (uppercase).
6170 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6171 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
6172 elf_dynamic_do_##reloc function.
6173
fd5bdc09
UD
61742011-10-15 Ulrich Drepper <drepper@gmail.com>
6175
79b195b5
UD
6176 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
6177 is sufficient, at least on modern CPUs.
6178
d4a28569
UD
6179 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
6180
b61099b5
UD
6181 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
6182 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
6183
bcf01e6d
UD
6184 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
6185 __expl_finite.
6186 * math/bits/math-finite.h: Add entries for exp.
6187 * math/e_expl.c: Add __*_finite alias.
6188 * sysdeps/i386/fpu/e_exp.S: Likewise.
6189 * sysdeps/i386/fpu/e_expf.S: Likewise.
6190 * sysdeps/i386/fpu/e_expl.c: Likewise.
6191 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6192 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6193 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6194 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6195 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6196 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6197 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6198
ba1a0d59
UD
6199 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6200 is sufficient, at least on modern CPUs.
6201
fd5bdc09
UD
6202 * ctype/ctype-info.c (__ctype_init): Define.
6203 * include/ctype.h (__ctype_init): Declare.
6204 (__ctype_b_loc): The variable is always initialized.
6205 (__ctype_toupper_loc): Likewise.
6206 (__ctype_tolower_loc): Likewise.
6207 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6208 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6209
7872cfb0
AS
62102011-10-15 Andreas Schwab <schwab@linux-m68k.org>
6211
b468825a
AS
6212 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6213
7872cfb0
AS
6214 * configure.in: Also look in $cxxmachine/include for C++ system
6215 headers.
6216
be13f7bf
LD
62172011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6218
6219 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6220 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6221 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6222 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
6223 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6224 (USE_AS_WMEMCMP): New macro.
6225 Fixing indents.
6226 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6227 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6228 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6229 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6230 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6231 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6232 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6233 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6234 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6235 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6236 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6237 (USE_AS_WMEMCMP): New macro.
6238 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6239 * sysdeps/string/test-memcmp.c: Update.
6240 Fix simple_wmemcmp.
6241 Add new tests.
6242 * wcsmbs/wmemcmp.c: Update.
6243 (WMEMCMP): New macro.
6244 Fix overflow bug.
6245
556a2007
AJ
62462011-10-12 Andreas Jaeger <aj@suse.de>
6247
6248 [BZ #13268]
6249 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6250
538faaa7
UD
62512011-10-15 Ulrich Drepper <drepper@gmail.com>
6252
ab6737ff
UD
6253 * libio/iofwide.c (do_length): Avoid warning.
6254
538faaa7
UD
6255 * ctype/ctype.h (__isctype_f): Add missing __THROW.
6256
396a21b1
UD
62572011-10-14 Ulrich Drepper <drepper@gmail.com>
6258
cdf2901f
UD
6259 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6260
38ad40ce
UD
6261 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6262 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6263 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6264 * sysdeps/i386/i686/fpu/e_log.S: New file.
6265 * sysdeps/i386/i686/fpu/e_logf.S: New file.
6266 * sysdeps/i386/i686/fpu/e_logl.S: New file.
6267
396a21b1
UD
6268 * ctype/ctype.h: Add support for inlined isXXX functions when
6269 compiling C++ code.
6270
6b1f68c9
AS
62712011-10-14 Andreas Schwab <schwab@redhat.com>
6272
349290c0
AS
6273 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6274
6b1f68c9
AS
6275 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6276
f2282d42
RM
62772011-10-13 Roland McGrath <roland@hack.frob.com>
6278
6279 [BZ #13291]
6280 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6281
5298ffa8
AS
62822011-10-13 Andreas Schwab <schwab@redhat.com>
6283
714fad23
AS
6284 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6285 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6286 feraiseexcept.
6287
81dcc7fb
AS
6288 * sysdeps/x86_64/memrchr.S: Check for zero size.
6289
5298ffa8
AS
6290 * string/stratcliff.c: Add memrchr tests.
6291
951fbcec
LD
62922011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6293
6294 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6295 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6296 rawmemchr-sse2 rawmemchr-sse2-bsf.
6297 * sysdeps/i386/i686/multiarch/memchr.S: New file.
6298 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6299 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6300 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6301 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6302 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6303 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6304 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6305 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6306 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6307 * string/memrchr.c (MEMRCHR): New macro.
6308
0ac5ae23
UD
63092011-10-12 Ulrich Drepper <drepper@gmail.com>
6310
6311 Add integration with gcc's -ffinite-math-only and optimize wrapper
6312 functions in libm.
6313 * Versions.def: Define GLIBC_2.15 version for libm.
6314 * math/Makefile (headers): Add bits/math-finite.h.
6315 * math/bits/math-finite.h: New file.
6316 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6317 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6318 * math/e_acoshl.c: Add __*_finite alias.
6319 * math/e_acosl.c: Likewise.
6320 * math/e_asinl.c: Likewise.
6321 * math/e_atan2l.c: Likewise.
6322 * math/e_atanhl.c: Likewise.
6323 * math/e_coshl.c: Likewise.
6324 * math/e_exp10.c: Likewise.
6325 * math/e_exp10f.c: Likewise.
6326 * math/e_exp10l.c: Likewise.
6327 * math/e_exp2l.c: Likewise.
6328 * math/e_fmodl.c: Likewise.
6329 * math/e_gammal_r.c: Likewise.
6330 * math/e_hypotl.c: Likewise.
6331 * math/e_j0l.c: Likewise.
6332 * math/e_j1l.c: Likewise.
6333 * math/e_jnl.c: Likewise.
6334 * math/e_lgammal_r.c: Likewise.
6335 * math/e_log10l.c: Likewise.
6336 * math/e_log2l.c: Likewise.
6337 * math/e_logl.c: Likewise.
6338 * math/e_powl.c: Likewise.
6339 * math/e_sinhl.c: Likewise.
6340 * math/e_sqrtl.c: Likewise.
6341 * math/e_scalb.c: Completely rewritten and optimized.
6342 * math/e_scalbf.c: Likewise.
6343 * math/e_scalbl.c: Likewise.
6344 * math/w_acos.c: Likewise.
6345 * math/w_acosf.c: Likewise.
6346 * math/w_acosl.c: Likewise.
6347 * math/w_acosh.c: Likewise.
6348 * math/w_acoshf.c: Likewise.
6349 * math/w_acoshl.c: Likewise.
6350 * math/w_asin.c: Likewise.
6351 * math/w_asinf.c: Likewise.
6352 * math/w_asinl.c: Likewise.
6353 * math/w_atan2.c: Likewise.
6354 * math/w_atan2f.c: Likewise.
6355 * math/w_atan2l.c: Likewise.
6356 * math/w_atanh.c: Likewise.
6357 * math/w_atanhf.c: Likewise.
6358 * math/w_atanhl.c: Likewise.
6359 * math/w_exp10.c: Likewise.
6360 * math/w_exp10f.c: Likewise.
6361 * math/w_exp10l.c: Likewise.
6362 * math/w_fmod.c: Likewise.
6363 * math/w_fmodf.c: Likewise.
6364 * math/w_fmodl.c: Likewise.
6365 * math/w_j0.c: Likewise.
6366 * math/w_j0f.c: Likewise.
6367 * math/w_j0l.c: Likewise.
6368 * math/w_j1.c: Likewise.
6369 * math/w_j1f.c: Likewise.
6370 * math/w_j1l.c: Likewise.
6371 * math/w_jn.c: Likewise.
6372 * math/w_jnf.c: Likewise.
6373 * math/w_log.c: Likewise.
6374 * math/w_logf.c: Likewise.
6375 * math/w_logl.c: Likewise.
6376 * math/w_log10.c: Likewise.
6377 * math/w_log10f.c: Likewise.
6378 * math/w_log10l.c: Likewise.
6379 * math/w_log2.c: Likewise.
6380 * math/w_log2f.c: Likewise.
6381 * math/w_log2l.c: Likewise.
6382 * math/w_pow.c: Likewise.
6383 * math/w_powf.c: Likewise.
6384 * math/w_powl.c: Likewise.
6385 * math/w_remainder.c: Likewise.
6386 * math/w_remainderf.c: Likewise.
6387 * math/w_remainderl.c: Likewise.
6388 * math/w_scalb.c: Likewise.
6389 * math/w_scalbf.c: Likewise.
6390 * math/w_scalbl.c: Likewise.
6391 * math/w_sqrt.c: Likewise.
6392 * math/w_sqrtf.c: Likewise.
6393 * math/w_sqrtl.c: Likewise.
6394 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6395 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
6396 used.
6397 * math/math_private.h: Declare __kernel_standard_f.
6398 * math/w_cosh.c: Remove cruft and optimize a bit.
6399 * math/w_coshf.c: Likewise.
6400 * math/w_coshl.c: Likewise.
6401 * math/w_exp2.c: Likewise.
6402 * math/w_exp2f.c: Likewise.
6403 * math/w_exp2l.c: Likewise.
6404 * math/w_hypot.c: Likewise.
6405 * math/w_hypotf.c: Likewise.
6406 * math/w_hypotl.c: Likewise.
6407 * math/w_lgamma.c: Likewise.
6408 * math/w_lgamma_r.c: Likewise.
6409 * math/w_lgammaf.c: Likewise.
6410 * math/w_lgammaf_r.c: Likewise.
6411 * math/w_lgammal.c: Likewise.
6412 * math/w_lgammal_r.c: Likewise.
6413 * math/w_sinh.c: Likewise.
6414 * math/w_sinhf.c: Likewise.
6415 * math/w_sinhl.c: Likewise.
6416 * math/w_tgamma.c: Likewise.
6417 * math/w_tgammaf.c: Likewise.
6418 * math/w_tgammal.c: Likewise.
6419 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6420 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6421 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6422 Minor optimizations. Pretty printing. Remove cruft.
6423 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6424 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6425 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6426 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6427 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6428 * sysdeps/i386/fpu/e_asin.S: Likewise.
6429 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6430 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6431 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6432 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6433 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6434 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6435 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6436 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6437 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6438 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6439 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6440 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6441 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6442 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6443 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6444 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6445 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6446 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6447 * sysdeps/i386/fpu/e_log.S: Likewise.
6448 * sysdeps/i386/fpu/e_log10.S: Likewise.
6449 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6450 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6451 * sysdeps/i386/fpu/e_log2.S: Likewise.
6452 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6453 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6454 * sysdeps/i386/fpu/e_logf.S: Likewise.
6455 * sysdeps/i386/fpu/e_logl.S: Likewise.
6456 * sysdeps/i386/fpu/e_pow.S: Likewise.
6457 * sysdeps/i386/fpu/e_powf.S: Likewise.
6458 * sysdeps/i386/fpu/e_powl.S: Likewise.
6459 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6460 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6461 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6462 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6463 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6464 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6465 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6466 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6467 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6468 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6469 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6470 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6471 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6472 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6473 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6474 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6475 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6476 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6477 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6478 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6479 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6480 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6481 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6482 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6483 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6484 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6485 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6486 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6487 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6488 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6489 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6490 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6491 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6492 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6493 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6494 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6495 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6496 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6497 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6498 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6499 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6500 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6501 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6502 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6503 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6504 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6505 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6506 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6507 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6508 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6509 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6510 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6511 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6512 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6513 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6514 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6515 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6516 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6517 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6518 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6519 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6520 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6521 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6522 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6523 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6524 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6525 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6526 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6527 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6528 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6529 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6530 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6531 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6532 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6533 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6534 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6535 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6536 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6537 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6538 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6539 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6540 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6541 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6542 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6543 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6544 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6545 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6546 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6547 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6548 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6549 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6550 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6551 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6552 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6553 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6554 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6555 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6556 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6557 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6558 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6559 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6560 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6561 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6562 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6563 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6564 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6565 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6566 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6567 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6568 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6569 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6570 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6571 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6572 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6573 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6574 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6575 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6576 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6577 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6578 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6579 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6580 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6581 (__isnanf): Likewise.
6582 (__isinf_ns): Likewise.
6583 (__isinf_nsf): Likewise.
6584 (__finite): Likewise.
6585 (__finitef): Likewise.
6586 (__ieee754_sqrt): Define as macro.
6587 (__ieee754_sqrtf): Define as macro.
6588 (__ieee754_sqrtl): Define as macro.
6589 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6590 inlined copy.
6591 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6592 __FINITE_MATH_ONLY__ consistent.
6593 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6594
12cc2fcd
AS
65952011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6596
a843a204
AS
6597 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6598 of rawmemchr.
6599
12cc2fcd
AS
6600 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6601
c853acd5
UD
66022011-10-09 Ulrich Drepper <drepper@gmail.com>
6603
6604 * po/ja.po: Update from translation team.
6605
c658d255
RM
66062011-10-08 Roland McGrath <roland@hack.frob.com>
6607
110946e4
RM
6608 * locale/programs/locarchive.c (prepare_address_space): New function.
6609 (create_archive, enlarge_archive, open_archive): Use it.
6610
50604220
RM
6611 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6612 inside [SHARED], where it is used.
6613
c658d255
RM
6614 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6615
6616 * nss/getent.c (netgroup_keys): Remove unused variable.
6617 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6618
6a621eb7
UD
66192011-10-08 Ulrich Drepper <drepper@gmail.com>
6620
7edb55ce
UD
6621 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6622 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6623 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6624 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6625 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6626 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6627 * math/Makefile (libm-calls): Add s_isinf_ns.
6628 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6629 * math/multc3.c: Likewise.
6630 * math/s_casin.c: Likewise.
6631 * math/s_casinf.c: Likewise.
6632 * math/s_casinl.c: Likewise.
6633 * math/s_ccos.c: Likewise.
6634 * math/s_ccosf.c: Likewise.
6635 * math/s_ccosl.c: Likewise.
6636 * math/s_ctan.c: Likewise.
6637 * math/s_ctanf.c: Likewise.
6638 * math/s_ctanh.c: Likewise.
6639 * math/s_ctanhf.c: Likewise.
6640 * math/s_ctanhl.c: Likewise.
6641 * math/s_ctanl.c: Likewise.
6642 * math/w_fmod.c: Likewise.
6643 * math/w_fmodf.c: Likewise.
6644 * math/w_fmodl.c: Likewise.
6645 * math/w_remainder.c: Likewise.
6646 * math/w_remainderf.c: Likewise.
6647 * math/w_remainderl.c: Likewise.
6648 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6649 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6650 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6651 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6652 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6653 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6654 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6655 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6656
187da0ae
UD
6657 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6658 of the number.
6659 * stdio-common/printf_fphex.c: Likewise.
6660 * stdio-common/printf_size.c: Likewise.
6661
9277c064
UD
6662 * math/e_exp10.c: Include math_private.h using <...> not "...".
6663 * math/e_exp10f.c: Likewise.
6664 * math/e_exp10l.c: Likewise.
6665 * math/e_exp2l.c: Likewise.
6666 * math/e_j0l.c: Likewise.
6667 * math/e_j1l.c: Likewise.
6668 * math/e_jnl.c: Likewise.
6669 * math/e_lgammal_r.c: Likewise.
6670 * math/e_rem_pio2l.c: Likewise.
6671 * math/e_scalb.c: Likewise.
6672 * math/e_scalbf.c: Likewise.
6673 * math/e_scalbl.c: Likewise.
6674 * math/k_cosl.c: Likewise.
6675 * math/k_sinl.c: Likewise.
6676 * math/k_tanl.c: Likewise.
6677 * math/s_cacoshf.c: Likewise.
6678 * math/s_catan.c: Likewise.
6679 * math/s_catanf.c: Likewise.
6680 * math/s_catanh.c: Likewise.
6681 * math/s_catanhf.c: Likewise.
6682 * math/s_catanhl.c: Likewise.
6683 * math/s_catanl.c: Likewise.
6684 * math/s_ccosh.c: Likewise.
6685 * math/s_ccoshf.c: Likewise.
6686 * math/s_ccoshl.c: Likewise.
6687 * math/s_cexp.c: Likewise.
6688 * math/s_cexpf.c: Likewise.
6689 * math/s_cexpl.c: Likewise.
6690 * math/s_clog.c: Likewise.
6691 * math/s_clog10.c: Likewise.
6692 * math/s_clog10f.c: Likewise.
6693 * math/s_clog10l.c: Likewise.
6694 * math/s_clogf.c: Likewise.
6695 * math/s_clogl.c: Likewise.
6696 * math/s_csin.c: Likewise.
6697 * math/s_csinf.c: Likewise.
6698 * math/s_csinh.c: Likewise.
6699 * math/s_csinhf.c: Likewise.
6700 * math/s_csinhl.c: Likewise.
6701 * math/s_csinl.c: Likewise.
6702 * math/s_csqrt.c: Likewise.
6703 * math/s_csqrtf.c: Likewise.
6704 * math/s_csqrtl.c: Likewise.
6705 * math/s_ctan.c: Likewise.
6706 * math/s_ctanf.c: Likewise.
6707 * math/s_ctanh.c: Likewise.
6708 * math/s_ctanhf.c: Likewise.
6709 * math/s_ctanhl.c: Likewise.
6710 * math/s_ctanl.c: Likewise.
6711 * math/s_ldexp.c: Likewise.
6712 * math/s_ldexpf.c: Likewise.
6713 * math/s_ldexpl.c: Likewise.
6714 * math/s_significand.c: Likewise.
6715 * math/s_significandf.c: Likewise.
6716 * math/s_significandl.c: Likewise.
6717 * math/w_acos.c: Likewise.
6718 * math/w_acosf.c: Likewise.
6719 * math/w_acosh.c: Likewise.
6720 * math/w_acoshf.c: Likewise.
6721 * math/w_acoshl.c: Likewise.
6722 * math/w_acosl.c: Likewise.
6723 * math/w_asin.c: Likewise.
6724 * math/w_asinf.c: Likewise.
6725 * math/w_asinl.c: Likewise.
6726 * math/w_atan2.c: Likewise.
6727 * math/w_atan2f.c: Likewise.
6728 * math/w_atan2l.c: Likewise.
6729 * math/w_atanh.c: Likewise.
6730 * math/w_atanhf.c: Likewise.
6731 * math/w_atanhl.c: Likewise.
6732 * math/w_cosh.c: Likewise.
6733 * math/w_coshf.c: Likewise.
6734 * math/w_coshl.c: Likewise.
6735 * math/w_dremf.c: Likewise.
6736 * math/w_exp10.c: Likewise.
6737 * math/w_exp10f.c: Likewise.
6738 * math/w_exp10l.c: Likewise.
6739 * math/w_exp2.c: Likewise.
6740 * math/w_exp2f.c: Likewise.
6741 * math/w_fmod.c: Likewise.
6742 * math/w_fmodf.c: Likewise.
6743 * math/w_fmodl.c: Likewise.
6744 * math/w_hypot.c: Likewise.
6745 * math/w_hypotf.c: Likewise.
6746 * math/w_hypotl.c: Likewise.
6747 * math/w_j0.c: Likewise.
6748 * math/w_j0f.c: Likewise.
6749 * math/w_j0l.c: Likewise.
6750 * math/w_j1.c: Likewise.
6751 * math/w_j1f.c: Likewise.
6752 * math/w_j1l.c: Likewise.
6753 * math/w_jn.c: Likewise.
6754 * math/w_jnf.c: Likewise.
6755 * math/w_jnl.c: Likewise.
6756 * math/w_lgamma.c: Likewise.
6757 * math/w_lgamma_r.c: Likewise.
6758 * math/w_lgammaf.c: Likewise.
6759 * math/w_lgammaf_r.c: Likewise.
6760 * math/w_lgammal.c: Likewise.
6761 * math/w_lgammal_r.c: Likewise.
6762 * math/w_log.c: Likewise.
6763 * math/w_log10.c: Likewise.
6764 * math/w_log10f.c: Likewise.
6765 * math/w_log10l.c: Likewise.
6766 * math/w_log2.c: Likewise.
6767 * math/w_log2f.c: Likewise.
6768 * math/w_log2l.c: Likewise.
6769 * math/w_logf.c: Likewise.
6770 * math/w_logl.c: Likewise.
6771 * math/w_pow.c: Likewise.
6772 * math/w_powf.c: Likewise.
6773 * math/w_powl.c: Likewise.
6774 * math/w_remainder.c: Likewise.
6775 * math/w_remainderf.c: Likewise.
6776 * math/w_remainderl.c: Likewise.
6777 * math/w_scalb.c: Likewise.
6778 * math/w_scalbf.c: Likewise.
6779 * math/w_scalbl.c: Likewise.
6780 * math/w_sinh.c: Likewise.
6781 * math/w_sinhf.c: Likewise.
6782 * math/w_sinhl.c: Likewise.
6783 * math/w_sqrt.c: Likewise.
6784 * math/w_sqrtf.c: Likewise.
6785 * math/w_sqrtl.c: Likewise.
6786 * math/w_tgamma.c: Likewise.
6787 * math/w_tgammaf.c: Likewise.
6788 * math/w_tgammal.c: Likewise.
6789
6a621eb7
UD
6790 * po/ja.po: Update from translation team.
6791
bf582445
AJ
67922011-09-29 Andreas Jaeger <aj@suse.de>
6793
f9efbf3a
AJ
6794 [BZ #13179]
6795 * sunrpc/netname.c (netname2host): Fix logic.
6796
bf582445
AJ
6797 [BZ #6779]
6798 [BZ #6783]
6799 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6800 correctly.
6801 * math/w_remainder.c (__remainder): Likewise.
6802 * math/w_remainderf.c (__remainderf): Likewise.
6803 * math/libm-test.inc (remainder_test): Add test cases.
6804
48693bea
AK
68052011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6806
6807 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6808 sdiv_qrnnd.
6809
42622229
LD
68102011-10-07 Ulrich Drepper <drepper@gmail.com>
6811
6812 * string/test-memcmp.c: Avoid unncessary #defines.
6813 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6814
093ecf92
LD
68152011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6816
6817 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6818 Use new sse2 version for core i3 - i7 as it's faster
6819 than sse42 version.
6820 (bit_Prefer_PMINUB_for_stringop): New.
6821 * sysdeps/x86_64/rawmemchr.S: Update.
6822 Replace with faster SSE2 version.
6823 * sysdeps/x86_64/memrchr.S: New file.
6824 * sysdeps/x86_64/memchr.S: Update.
6825 Replace with faster SSE2 version.
6826
fde56e5c
MP
68272011-09-12 Marek Polacek <mpolacek@redhat.com>
6828
6829 * elf/dl-load.c (lose): Add cast to avoid warning.
6830
21fd49a9
UD
68312011-10-07 Ulrich Drepper <drepper@gmail.com>
6832
5a06e643
UD
6833 * po/ca.po: Update from translation team.
6834
684ae515
UD
6835 * inet/getnetgrent_r.c: Hook up nscd.
6836 * nscd/Makefile (routines): Add nscd_netgroup.
6837 (nscd-modules): Add netgroupcache.
6838 (CFLAGS-netgroupcache.c): Define.
6839 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6840 (cache_search): Add const to second parameter.
6841 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6842 INNETGR.
6843 (dbs): Add netgrdb entry.
6844 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6845 (verify_persistent_db): Handle netgrdb.
6846 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6847 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6848 GETFDNETGR.
6849 (netgroup_response_header): Define.
6850 (innetgroup_response_header): Define.
6851 (datahead): Add netgroup_response_header and innetgroup_response_header
6852 elements.
6853 * nscd/nscd.conf: Add entries for netgroup cache.
6854 * nscd/nscd.h (dbtype): Add netgrdb.
6855 (_PATH_NSCD_NETGROUP_DB): Define.
6856 (netgroup_iov_disabled): Declare.
6857 (xmalloc, xcalloc, xrealloc): Move declarations here.
6858 (cache_search): Adjust prototype.
6859 Add netgroup-related prototypes.
6860 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6861 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6862 (__nscd_innetgr): Declare.
6863 * nscd/selinux.c (perms): Use access_vector_t as element type and
6864 add netgroup-related initializers.
6865 * nscd/netgroupcache.c: New file.
6866 * nscd/nscd_netgroup.c: New file.
6867 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6868 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6869 For four parameters use innetgr.
6870 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6871 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6872 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6873 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6874
21fd49a9
UD
6875 * nscd/connections.c (register_traced_file): Don't register file
6876 for disabled databases.
6877
054c0457
UD
68782011-10-06 Ulrich Drepper <drepper@gmail.com>
6879
32b63198
UD
6880 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6881
054c0457
UD
6882 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6883 from tree and freeing node.
6884
64031225
JO
68852011-09-25 Jiri Olsa <jolsa@redhat.com>
6886
6887 * nss/nsswitch.c (__nss_database_lookup): Handle
6888 nss_parse_service_list out of memory case.
6889
0490345c
JO
68902011-09-15 Jiri Olsa <jolsa@redhat.com>
6891
6892 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6893 out of memory case.
6894
3a62d00d
AS
68952011-10-04 Andreas Schwab <schwab@redhat.com>
6896
6897 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6898 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6899 pass it down.
6900 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6901 elf_machine_rela, elf_machine_lazy_rel.
6902 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6903 (ELF_DYNAMIC_DO_REL): Likewise.
6904 (ELF_DYNAMIC_DO_RELA): Likewise.
6905 (ELF_DYNAMIC_RELOCATE): Likewise.
6906 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6907 to ELF_DYNAMIC_DO_REL.
6908 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6909 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6910 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6911 elf_machine_rela.
6912 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6913 skip_ifunc, don't call ifunc function if non-zero.
6914 (elf_machine_rela): Likewise.
6915 (elf_machine_lazy_rel): Likewise.
6916 (elf_machine_lazy_rela): Likewise.
6917 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6918 (elf_machine_lazy_rel): Likewise.
6919 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6920 Likewise.
6921 (elf_machine_lazy_rel): Likewise.
6922 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6923 Likewise.
6924 (elf_machine_lazy_rel): Likewise.
6925 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6926 (elf_machine_lazy_rel): Likewise.
6927 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6928 (elf_machine_lazy_rel): Likewise.
6929 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6930 (elf_machine_lazy_rel): Likewise.
6931 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6932 (elf_machine_lazy_rel): Likewise.
6933 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6934 (elf_machine_lazy_rel): Likewise.
6935 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6936 (elf_machine_lazy_rel): Likewise.
6937
68577918
UD
69382011-09-28 Ulrich Drepper <drepper@gmail.com>
6939
6940 * nss/nss_files/files-init.c (_nss_files_init): Use static
6941 initialization for all the *_traced_file variables.
6942
68822d74
AS
69432011-09-28 Andreas Schwab <schwab@redhat.com>
6944
6945 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6946
2056100b
RM
69472011-09-27 Roland McGrath <roland@hack.frob.com>
6948
6949 [BZ #13226]
6950 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6951
32c76b63
AS
69522011-09-27 Andreas Schwab <schwab@redhat.com>
6953
6954 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6955 Reread the line before reparsing it.
6956
bf972c9d
AS
69572011-09-26 Andreas Schwab <schwab@redhat.com>
6958
6959 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6960
e057a1b5
JM
69612011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6962 Maxim Kuvyrkov <maxim@codesourcery.com>
6963 Joseph Myers <joseph@codesourcery.com>
6964
6965 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6966 if needed for __stack_chk_guard.
6967
bc7e1c36
RM
69682011-09-19 Roland McGrath <roland@hack.frob.com>
6969
ecb1482f
RM
6970 * sysdeps/posix/spawni.c (script_execute): Always define it.
6971 It will be optimized away if unused.
6972 (maybe_script_execute): New function.
6973 (__spawni): Call it.
6974
bc7e1c36
RM
6975 * Makerules: Don't include tls.make.
6976 (config-tls): Always set to thread.
6977 * tls.make.c: File removed.
6978
1c3b002b
MF
69792011-09-19 Mike Frysinger <vapier@gentoo.org>
6980
6981 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6982 * config.make.in (CPPFLAGS-config): New substituted variable.
6983
2840865d
UD
69842011-09-15 Ulrich Drepper <drepper@gmail.com>
6985
88738eb6
UD
6986 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6987
cbf645a6 6988 [BZ #13192]
2840865d
UD
6989 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6990 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6991
b402e91a
RM
69922011-09-15 Roland McGrath <roland@hack.frob.com>
6993
6994 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6995 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6996 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6997 (CALL_FAIL): Likewise.
6998 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6999 (CALL_FAIL): Macro removed.
7000 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
7001
4c1a1f71
UD
70022011-09-15 Ulrich Drepper <drepper@gmail.com>
7003
7004 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
7005 for __FINITE_MATH_ONLY__ == 1.
7006
edc121be
AS
70072011-09-15 Andreas Schwab <schwab@redhat.com>
7008
7009 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
7010 __ieee754_sqrt instead of sqrt.
7011 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
7012 __ieee754_sqrtf instead of sqrtf.
7013 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7014 __floorf instead of floorf.
7015 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
7016 __floorf, __truncf instead of floorf, truncf.
7017
cd205654
UD
70182011-09-14 Ulrich Drepper <drepper@gmail.com>
7019
ee4d0315
UD
7020 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
7021
cd205654
UD
7022 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
7023 __extern_always_inline.
7024 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
7025 32-bit.
7026
48b67d71
AS
70272011-09-14 Andreas Schwab <schwab@redhat.com>
7028
7029 * elf/rtld.c (dl_main): Also relocate in dependency order when
7030 doing symbol dependency testing.
7031
1ae12c75
AS
70322011-09-13 Andreas Schwab <schwab@linux-m68k.org>
7033
7034 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7035 Always define `refsym'.
7036
995a80df
AS
70372011-09-13 Andreas Schwab <schwab@redhat.com>
7038
e529793b
AS
7039 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
7040 (__FD_ELT): Renamed from __FDELT.
7041 * misc/bits/select2.h (__FD_ELT): Likewise.
7042 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
7043 __FD_MASK instead of __FDELT, __FDMASK.
7044 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7045 Likewise.
7046 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7047 Likewise.
7048
52d4fef8
AS
7049 * elf/Makefile (gen-ldd): Fix pattern.
7050
995a80df
AS
7051 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
7052 (init_tls): Likewise.
7053
8682f8b0
UD
70542011-09-12 Ulrich Drepper <drepper@gmail.com>
7055
7056 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7057
de82006d
AS
70582011-09-12 Andreas Schwab <schwab@redhat.com>
7059
a7c8e6a1
AS
7060 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7061 `struct cmsghdr *' instead of `void *'.
7062 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7063 Likewise.
7064
0f31fe77
AS
70652011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7066
7067 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7068 if non-absolute.
7069 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7070 ldd_rewrite_script.
0f31fe77 7071
32b4c839
UD
70722011-09-11 Ulrich Drepper <drepper@gmail.com>
7073
83cd1420
UD
7074 * configure.in: Remove --with-tls option.
7075 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7076 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7077 out in case it is missing.
7078 * sysdeps/ia64/elf/configure.in: Likewise.
7079 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7080 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7081 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7082 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7083 * sysdeps/sh/elf/configure.in: Likewise.
7084 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7085 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7086 * sysdeps/x86_64/elf/configure.in: Likewise.
7087 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7088 * sysdeps/mach/hurd/tls.h: Likewise.
7089
633f745d
UD
7090 [BZ #13067]
7091 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7092
f318beb8
UD
7093 [BZ #13090]
7094 * configure.in: Fix use of AC_INIT.
7095
32b4c839
UD
7096 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7097
3ce1f295
UD
70982011-09-10 Ulrich Drepper <drepper@gmail.com>
7099
bb016596
UD
7100 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7101 __set_errno.
8e58439c
UD
7102 * malloc/hooks.c: Likewise.
7103
aebae053 7104 [BZ #11929]
02d46fc4
UD
7105 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
7106 variables statically.
7107 (narenas): Initialize.
7108 (list_lock): Initialize.
bb016596
UD
7109 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
7110 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
7111 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7112 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
7113 Add initializers to main_arena and mp_.
7114 (malloc_state): Remove pagesize member. Change all users to use
7115 GLRO(dl_pagesize).
7116
7117 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7118 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
7119 is always initialized.
7120
22a89187
UD
7121 * malloc/malloc.c: Removed unused configurations and dead code.
7122 * malloc/arena.c: Likewise.
7123 * malloc/hooks.c: Likewise.
02d46fc4 7124 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 7125
d063d164
UD
7126 * include/tls.h: Removed. USE___THREAD must always be defined.
7127 * bits/libc-tsd.h: Don't handle !USE___THREAD.
7128 * elf/dl-libc.c: Likewise.
7129 * elf/dl-tsd.c: Likewise.
7130 * include/errno.h: Likewise.
7131 * include/netdb.h: Likewise.
7132 * include/resolv.h: Likewise.
7133 * inet/herrno-loc.c: Likewise.
7134 * inet/herrno.c: Likewise.
7135 * malloc/arena.c: Likewise.
7136 * malloc/hooks.c: Likewise.
7137 * malloc/malloc.c: Likewise.
7138 * resolv/res-state.c: Likewise.
7139 * resolv/res_libc.c: Likewise.
7140 * sysdeps/i386/dl-machine.h: Likewise.
7141 * sysdeps/ia64/dl-machine.h: Likewise.
7142 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7143 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7144 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7145 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7146 * sysdeps/sh/dl-machine.h: Likewise.
7147 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7148 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7149 * sysdeps/unix/i386/sysdep.S: Likewise.
7150 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7151 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7152 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7153 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7154 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7155 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7156 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7157 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7158 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7159 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7160 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7161 * sysdeps/x86_64/dl-machine.h: Likewise.
7162 * tls.make.c: Likewise.
7163
3ce1f295
UD
7164 * configure.in: Remove --with-__thread option. Make tests for
7165 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7166 tls_model attribute fail if no support is available. Remove
7167 USE_IN_LIBIO.
7168 * Makeconfig: Adjust for dropped configure option. All features are
7169 now mandatory.
7170 * Makerules: Likewise.
7171 * Versions.def: Likewise.
7172 * argp/argp-fmtstream.c: Likewise.
7173 * argp/argp-fmtstream.h: Likewise.
7174 * argp/argp-help.c: Likewise.
7175 * assert/assert.c: Likewise.
7176 * config.h.in: Likewise.
7177 * config.make.in: Likewise.
7178 * configure: Likewise.
7179 * configure.in: Likewise.
7180 * csu/Versions: Likewise.
7181 * csu/init.c: Likewise.
7182 * elf/tst-audit2.c: Likewise.
7183 * elf/tst-tls10.c: Likewise.
7184 * elf/tst-tls10.h: Likewise.
7185 * elf/tst-tls11.c: Likewise.
7186 * elf/tst-tls12.c: Likewise.
7187 * elf/tst-tls14.c: Likewise.
7188 * elf/tst-tlsmod11.c: Likewise.
7189 * elf/tst-tlsmod12.c: Likewise.
7190 * elf/tst-tlsmod13.c: Likewise.
7191 * elf/tst-tlsmod13a.c: Likewise.
7192 * elf/tst-tlsmod14a.c: Likewise.
7193 * elf/tst-tlsmod15b.c: Likewise.
7194 * elf/tst-tlsmod16a.c: Likewise.
7195 * elf/tst-tlsmod16b.c: Likewise.
7196 * elf/tst-tlsmod7.c: Likewise.
7197 * elf/tst-tlsmod8.c: Likewise.
7198 * elf/tst-tlsmod9.c: Likewise.
7199 * gmon/gmon.c: Likewise.
7200 * grp/fgetgrent_r.c: Likewise.
7201 * grp/putgrent.c: Likewise.
7202 * hurd/fopenport.c: Likewise.
7203 * include/libc-symbols.h: Likewise.
7204 * include/tls.h: Likewise.
7205 * intl/gettextP.h: Likewise.
7206 * intl/loadinfo.h: Likewise.
7207 * locale/global-locale.c: Likewise.
7208 * locale/localeinfo.h: Likewise.
7209 * mach/devstream.c: Likewise.
7210 * malloc/arena.c: Likewise.
7211 * malloc/set-freeres.c: Likewise.
7212 * misc/err.c: Likewise.
7213 * misc/getttyent.c: Likewise.
7214 * misc/mntent_r.c: Likewise.
7215 * posix/getopt.c: Likewise.
7216 * posix/wordexp.c: Likewise.
7217 * pwd/fgetpwent_r.c: Likewise.
7218 * resolv/Versions: Likewise.
7219 * resolv/res_hconf.c: Likewise.
7220 * shadow/fgetspent_r.c: Likewise.
7221 * shadow/putspent.c: Likewise.
7222 * stdio-common/printf_fphex.c: Likewise.
7223 * stdio-common/tmpfile.c: Likewise.
7224 * stdlib/abort.c: Likewise.
7225 * stdlib/fmtmsg.c: Likewise.
7226 * sunrpc/auth_unix.c: Likewise.
7227 * sunrpc/clnt_perr.c: Likewise.
7228 * sunrpc/clnt_tcp.c: Likewise.
7229 * sunrpc/clnt_udp.c: Likewise.
7230 * sunrpc/clnt_unix.c: Likewise.
7231 * sunrpc/openchild.c: Likewise.
7232 * sunrpc/svc_simple.c: Likewise.
7233 * sunrpc/svc_tcp.c: Likewise.
7234 * sunrpc/svc_udp.c: Likewise.
7235 * sunrpc/svc_unix.c: Likewise.
7236 * sunrpc/xdr.c: Likewise.
7237 * sunrpc/xdr_array.c: Likewise.
7238 * sunrpc/xdr_rec.c: Likewise.
7239 * sunrpc/xdr_ref.c: Likewise.
7240 * sunrpc/xdr_stdio.c: Likewise.
7241
1248c1c4
PB
72422011-09-09 Ulrich Drepper <drepper@gmail.com>
7243
7244 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7245
72462011-07-03 Andreas Jaeger <aj@suse.de>
7247
7248 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7249 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7250 regenerate with gen-libm-tests.pl.
7251
72522010-05-12 Petr Baudis <pasky@suse.cz>
7253
7254 [BZ #11589]
7255 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7256 around j0() zero points by switching to j1().
7257 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7258 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7259 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7260 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7261
f22e1074
UD
72622011-09-09 Ulrich Drepper <drepper@gmail.com>
7263
f19009c1
UD
7264 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7265 instead of 0.
7266 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7267 instead of 0. .
7268 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7269 Patch in part by Pavel Roskin <proski@gnu.org>.
7270
3f8cc204
UD
7271 [BZ #13138]
7272 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7273 realloc.
7274 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
7275 Free memory block if necessary.
7276
f22e1074
UD
7277 [BZ #12847]
7278 * libio/genops.c (INTDEF): For string streams the _lock pointer can
7279 be NULL. Don't lock in this case.
7280
0a2349f9
RM
72812011-09-09 Roland McGrath <roland@hack.frob.com>
7282
7283 * elf/elf.h (ELFOSABI_GNU): New macro.
7284 (ELFOSABI_LINUX): Define to that.
7285
f3cdd467
DZ
72862011-07-29 Denis Zaitceff <zaitceff@gmail.com>
7287
7288 * string/strncat.c (strncat): Undef the symbol in case it has been
7289 defined in bits/string.h.
7290
74718d13
UD
72912011-09-09 Ulrich Drepper <drepper@gmail.com>
7292
633e9e0f
UD
7293 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7294
0a2349f9 7295 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
7296 link map.
7297
f9924780
AJ
72982011-08-17 Andreas Jaeger <aj@suse.de>
7299
7300 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7301
7f5517aa
PP
73022011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7303 Ian Lance Taylor <iant@google.com>
7304
7305 * math/libm-test.inc (lround_test): New testcase.
7306 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7307
762011fe
UD
73082011-09-08 Ulrich Drepper <drepper@gmail.com>
7309
92963737
UD
7310 * Makefile: Remove support for automatic cvs check-ins.
7311 * Makerules: Likewise.
7312 * config.make.in: Likewise.
7313 * configure.in: Likewise.
7314 * intl/Makefile: Likewise.
7315 * locale/Makefile: Likewise.
7316 * po/Makefile: Likewise.
7317 * posix/Makefile: Likewise.
7318 * sysdeps/gnu/Makefile: Likewise.
7319 * sysdeps/mach/hurd/Makefile: Likewise.
7320 * sysdeps/sparc/sparc32/Makefile: Likewise.
7321
b0727fd8
JS
7322 [BZ #13118]
7323 * posix/Makefile (bug-regex32-ENV): Define.
7324 Patch by John Stanley <jpsinthemix@verizon.net>.
7325
a0f33f99
UD
7326 * misc/Makefile (headers): Add bits/select2.h.
7327 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7328 * misc/bits/select2.h: New file.
7329 * include/bits/select2.h: New file.
7330 * debug/Makefile (routines): Add fdelt_chk.
7331 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7332 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7333 FD_ISSET.
7334 * debug/fdelt_chk.c: New file.
7335
762011fe
UD
7336 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
7337 * wcsmbs/test-wmemcmp.c: Likewise.
7338 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 7339 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
7340
73412011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7342
7343 * string/Makefile (strop-tests): Add memcmp.
7344 * string/test-wmemcmp.c: New file.
7345 * string/test-memcmp.c: Add wmemcmp support.
7346
7f513ec8
RM
73472011-09-08 Roland McGrath <roland@hack.frob.com>
7348
0442afb4
RM
7349 [BZ #13153]
7350 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7351 2011-07-19 change.
7352
7f513ec8
RM
7353 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7354 garbage value in a __mach_port_mod_refs call in the cases of the
7355 task-self and thread-self ports.
7356
a12b2239
ST
73572011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7358
7359 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7360
610f9ab4
AS
73612011-09-08 Andreas Schwab <schwab@redhat.com>
7362
7f513ec8 7363 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 7364
48882a1a
LD
73652011-09-07 Ulrich Drepper <drepper@gmail.com>
7366
b49865be
UD
7367 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7368
fdc86bc9
UD
7369 * elf/dl-libc.c (dlerror_run): Pass back error code from
7370 dl_catch_error.
7371
c966526a
UD
7372 [BZ #13123]
7373 * elf/dl-load.c (lose): Free l_origin if it is valid.
7374
48882a1a
LD
7375 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7376 names.
7377 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7378 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7379 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7380 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7381 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7382 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7383
77a2a8b4
AZ
73842011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7385
7386 * sysdeps/powerpc/fpu/e_hypot.c: New file.
7387 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7388 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7389 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7390 * sysdeps/powerpc/fpu/k_cosf.c: New file.
7391 * sysdeps/powerpc/fpu/k_sinf.c: New file.
7392 * sysdeps/powerpc/fpu/s_cosf.c: New file.
7393 * sysdeps/powerpc/fpu/s_sinf.c: New file.
7394 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7395 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7396
24f579d8
AM
73972011-08-15 Alan Modra <amodra@gmail.com>
7398
7399 [BZ #13092]
7400 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7401 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7402 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
7403 ppc_mcount to static-only-routines.
7404 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7405 __mcount_internal.
7406 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7407 __mcount_internal with usual JUMPTARGET. Remove useless nop.
7408
3d4837df
UD
74092011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7410
7411 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7412 for finite and infinity parameters.
7413
22700377
WS
74142011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7415
7416 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7417 and add nop instructions for throughput optimization.
7418 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7419
5025581e
WS
74202011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7421
7422 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7423 aligned copy for power7 with vector-scalar instructions.
7424 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7425
08a300c9
L
74262011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7427
7428 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7429 AVX check.
7430
59178ef9
AS
74312011-09-07 Andreas Schwab <schwab@redhat.com>
7432
7433 [BZ #13144]
7434 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7435 last change.
7436
e38ba7ab
UD
74372011-09-07 Ulrich Drepper <drepper@gmail.com>
7438
7439 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7440 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7441 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7442 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7443 clock_gettime.
7444
d53a73ac
UD
74452011-09-06 Ulrich Drepper <drepper@gmail.com>
7446
fc8bffcc
UD
7447 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7448 Forgot to demangle the pointer.
7449
ceaa0c5d
UD
7450 * sysdeps/i386/sysdep.h: Define atom_text_section.
7451 * sysdeps/x86_64/sysdep.h: Likewise.
7452 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7453 section with atom_text_section.
7454 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7455 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7456 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7457 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7458 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7459
a77d3c17
UD
7460 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7461 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7462 already be defined. Change to take two parameters and don't assign
7463 result to variable. Adjust all users.
7464 Define INTERNAL_GETTIME if not already defined.
7465 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7466 call.
7467 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7468 HAVE_CLOCK_GETTIME_VSYSCALL.
7469 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7470
d53a73ac
UD
7471 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7472 gettimeofday vsyscall, just use time.
7473
a8f84144
AS
74742011-09-06 Andreas Schwab <schwab@redhat.com>
7475
7476 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7477 <errno.h>.
7478
ef606249
UD
74792011-09-06 Ulrich Drepper <drepper@gmail.com>
7480
7481 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7482 syscall on x86-64.
7483 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7484 syscall.
7485 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7486 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7487 syscall if possible.
7488
6585cb60
UD
74892011-09-05 Ulrich Drepper <drepper@gmail.com>
7490
7491 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7492 e_ident. Don't pass to find_mapsXX.
7493 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7494
a5f524e4
LD
74952011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7496
7497 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7498 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7499 * sysdeps/x86_64/multiarch/strchr.S: Update.
7500 Check bit_slow_BSF bit.
7501 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7502 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7503 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7504
554881ef
UD
75052011-09-05 Ulrich Drepper <drepper@gmail.com>
7506
d96de963
UD
7507 [BZ #13134]
7508 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7509 before glibc 2.15.
7510 (tryshell): Define.
7511 (__spawni): Change last parameter to be flag. Test
7512 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7513 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7514 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7515 * posix/spawni.c: Likewise.
7516 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7517 * posix/spawnp.c: Likewise. Change normal version to use
7518 SPAWN_XFLAGS_USE_PATH.
7519 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7520 SPAWN_XFLAGS_TRY_SHELL.
7521
d48e5868
UD
7522 [BZ #13150]
7523 * posix/glob.h: Remove gcc 1.x support.
7524
554881ef
UD
7525 [BZ #13068]
7526 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7527
693fb948
LD
75282011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7529
7530 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7531 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7532 strrchr-sse2-bsf
7533 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7534 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7535 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7536 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7537 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7538 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7539
1b48c537
UD
75402011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7541
49d42c37
UD
7542 * sysdeps/x86_64/wcscmp.S: New file.
7543
1b48c537
UD
7544 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7545 wcscmp-c wcscmp-sse2
7546 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7547 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7548 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7549 * wcsmbs/wcscmp.c: Allow renaming.
7550
15c95c5d
DM
75512011-09-05 David S. Miller <davem@davemloft.net>
7552
7553 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7554 stack slot, rather than the struct return pointer slot.
7555 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7556 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7558 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7559
2f0ad8f3
UD
75602011-09-05 Ulrich Drepper <drepper@gmail.com>
7561
d88ae418
UD
7562 * po/ja.po: Update from translation team.
7563
2f0ad8f3
UD
7564 [BZ #13144]
7565 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7566 kernel in 64-bit binaries.
7567
5f4318d1
DM
75682011-09-01 David S. Miller <davem@davemloft.net>
7569
7570 * elf/elf.h (HWCAP_SPARC_*): Move to..
7571 * sysdeps/sparc/sysdep.h: this new file and add new values.
7572 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7573 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7574 _DL_HWCAP_COUNT to 24.
7575 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7576 entries.
7577 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7578 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7579 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7580 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7581 instead of magic constants.
7582 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7583
3ba57516
DM
75842011-08-31 David S. Miller <davem@davemloft.net>
7585
7586 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7587 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7588 Reimplement to do errno handling inline.
7589 (SYSCALL_ERROR_HANDLER): New macro.
7590 (__SYSCALL_STRING): Do not do errno handling in asm.
7591 (__CLONE_SYSCALL_STRING): Delete.
7592 (__INTERNAL_SYSCALL_STRING): Delete.
7593 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7594 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7595 (PSEUDO): Reimplement to do errno handling inline.
7596 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7597 (SYSCALL_ERROR_HANDLER): New macro.
7598 (__SYSCALL_STRING): Do not do errno handling in asm.
7599 (__CLONE_SYSCALL_STRING): Delete.
7600 (__INTERNAL_SYSCALL_STRING): Delete.
7601 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7602 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7603 i386.
7604 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7605 (inline_syscall*): Add 'err' argument.
7606 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7607 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7608 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7609 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7610
7611 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7612 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7613
2bc17433
AS
76142011-08-30 Andreas Schwab <schwab@redhat.com>
7615
7616 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7617
fbeb5f4d
JO
76182011-08-29 Jiri Olsa <jolsa@redhat.com>
7619
7620 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7621 directive.
7622
ad69cc26
DM
76232011-08-24 David S. Miller <davem@davemloft.net>
7624
7625 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7626
39dd69df
AS
76272011-08-24 Andreas Schwab <schwab@redhat.com>
7628
7629 * elf/Makefile: Add rules to build and run unload8 test.
7630 * elf/unload8.c: New file.
7631 * elf/unload8mod1.c: New file.
7632 * elf/unload8mod1x.c: New file.
7633 * elf/unload8mod2.c: New file.
7634 * elf/unload8mod3.c: New file.
7635
7636 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7637 it wasn't used.
7638
2c0b250a
DM
76392011-08-23 David S. Miller <davem@davemloft.net>
7640
7641 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7642 subtract stack bias.
7643 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7644 %sp not %fp in calculations.
7645 (_JMPBUF_UNWINDS_ADJ): Likewise.
7646
22044b48
DM
7647 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7648 (aio_suspend): Call it to force an exception region around the
7649 AIO_MISC_WAIT() invocation.
7650
2cae4995
AS
76512011-08-23 Andreas Schwab <schwab@redhat.com>
7652
7653 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7654 backslash.
7655
873a772e
AJ
76562011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7657
7658 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7659 protection macro.
7660 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7661 and <dl-machine.h>.
7662 (Elf64_FuncDesc): Remove.
7663
25ad0df1
DM
76642011-08-22 David S. Miller <davem@davemloft.net>
7665
7666 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7667 sigaltstack check, add missing cfi directives.
7668 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7669 missing cfi directives, and sigaltstack handling.
7670
e888bcbe
AS
76712011-08-16 Andreas Schwab <schwab@redhat.com>
7672
7673 [BZ #11724]
7674 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7675 object is seen twice.
7676 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7677
7678 * elf/Makefile (distribute): Add tst-initorder2.c.
7679 (tests): Add tst-initorder2.
7680 (modules-names): Add tst-initorder2a tst-initorder2b
7681 tst-initorder2c tst-initorder2d. Add rules to build them.
7682 ($(objpfx)tst-initorder2.out): New rule.
7683 * elf/tst-initorder2.c: New file.
7684 * elf/tst-initorder2.exp: New file.
7685
87162f46
AS
76862011-08-22 Andreas Schwab <schwab@redhat.com>
7687
70538b7f
AS
7688 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7689
f55ffe58
AS
7690 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7691 dependencies back to end of function.
7692
87162f46
AS
7693 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7694 $(elfobjdir)/ld.so.
7695
91b392a4
UD
76962011-08-21 Ulrich Drepper <drepper@gmail.com>
7697
7698 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7699 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7700 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7701 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7702 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7703 of __vdso_gettimeofday.
7704 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7705 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7706 attribute_hidden.
7707 (_libc_vdso_platform_setup): Remove initialization of
7708 __vdso_gettimeofday and __vdso_time.
7709
5c43483f
UD
77102011-08-20 Ulrich Drepper <drepper@gmail.com>
7711
775a77e7
UD
7712 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7713 and fgetc_unlocked.
7714 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7715 getc_unlocked.
89f447ed 7716
49c74ba9
UD
7717 * elf/dl-open.c (add_to_global): Report additions to the global scope
7718 for LD_DEBUG=scopes.
7719 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 7720 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 7721
5c43483f
UD
7722 [BZ #13114]
7723 * stdio-common/Makefile (tests): Add bug24.
7724 * stdio-common/bug24.c: New file.
7725
a101b025
AJ
77262011-08-19 Andreas Jaeger <aj@suse.de>
7727
7728 [BZ #13114]
7729 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7730 non-existant file when using close-on-exec mode.
7731
c88f1766
UD
77322011-08-20 Ulrich Drepper <drepper@gmail.com>
7733
0276a718
UD
7734 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7735 the very first instruction.
7736
c88f1766
UD
7737 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7738 the CFI state in the end.
7739 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7740 inclusion of dl-trampoline.h.
7741 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7742
51ccffa0
AS
77432011-08-19 Andreas Schwab <schwab@redhat.com>
7744
94d7165f
AS
7745 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7746 expectations for long double.
7747
51ccffa0
AS
7748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7749 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7750
fd708658 77512011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
7752
7753 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7754 artificual limit depends upon the system page size.
7755
44f0a71e
UD
77562011-08-17 Ulrich Drepper <drepper@gmail.com>
7757
7758 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7759 * resolv/Makefile: Define CFLAGS-libresolv.
7760
8de79a24
AS
77612011-08-17 Andreas Schwab <schwab@redhat.com>
7762
7763 * nss/makedb.c (compute_tables): Make variables used in nested
7764 function static.
7765
27724598
UD
77662011-08-17 Ulrich Drepper <drepper@gmail.com>
7767
c5305d88
UD
7768 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7769 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7770 if buffer was too small.
7771
27724598
UD
7772 * elf/pldd.c (main): Attach to all threads in the process.
7773 Rewrite /proc handling to use *at functions.
7774
076fe015
UD
77752011-08-16 Ulrich Drepper <drepper@gmail.com>
7776
174baab3
UD
7777 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7778 specifies first scope to show.
7779 (dl_open_worker): Update callers. Move printing scope of new
7780 object to before the relocation.
44f0a71e 7781 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
7782 * sysdeps/generic/ldsodefs.h: Update declaration.
7783
076fe015
UD
7784 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7785 string for the scope number.
7786
a60df2c3
UD
77872011-08-14 Ulrich Drepper <drepper@gmail.com>
7788
7789 * nscd/servicescache.c (cache_addserv): Make sure written is always
7790 initialized.
7791
5e4287d1
RM
77922011-08-14 Roland McGrath <roland@hack.frob.com>
7793
85ae0589
RM
7794 * sysdeps/i386/i486/bits/atomic.h
7795 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7796 statement expression, so as to suppress "set but not used" warning.
7797 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7798
69f63097
RM
7799 * string/strncat.c (STRNCAT): Use prototype definition.
7800
675456ef
RM
7801 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7802 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7803 -Iprograms here.
7804 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7805 (localedef-modules): Add localedef.
7806 (locale-modules): Add locale.
7807
5e4287d1
RM
7808 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7809 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7810 to avoid a warning.
7811
9c96ff23
DM
78122011-08-14 David S. Miller <davem@davemloft.net>
7813
7814 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7815 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7816
f9ddf089
UD
78172011-08-13 Ulrich Drepper <drepper@gmail.com>
7818
44f0a71e 7819 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
7820 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7821 * elf/rtld.c (dl_main): Set l_name of vDSO.
7822 Call _dl_show_scope when DL_DEBUG_SCOPES.
7823 (process_dl_debug): Recognize scopes flag and also set it for all.
7824 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7825 Declare _dl_show_scope.
7826
1dc27704
UD
7827 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7828 (do_dlopen): Pass caller_dlopen to dl_open.
7829 (__libc_dlopen_mode): Initialize caller_dlopen.
7830
f9ddf089
UD
7831 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7832 of libc. Make tolower call locale-independent. Optimize a bit by
7833 using isdigit instead of isalnum.
7834 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7835
9ac533d3
UD
78362011-08-12 Ulrich Drepper <drepper@gmail.com>
7837
7838 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7839 was a dependency or dynamically loaded.
7840
89edf2e9
UD
78412011-08-11 Ulrich Drepper <drepper@gmail.com>
7842
8e999d29
UD
7843 * intl/l10nflist.c: Allow architecture-specific pop function.
7844 * sysdeps/x86_64/l10nflist.c: New file.
7845
89edf2e9
UD
7846 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7847 classification.
7848
14d96785
AS
78492011-08-10 Andreas Schwab <schwab@redhat.com>
7850
7851 * include/dirent.h: Add libc_hidden_proto for scandirat and
7852 scandirat64. Don't declare __scandirat64.
7853 * dirent/scandirat.c: Add libc_hidden_def.
7854 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7855 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7856
6761ac04
DM
78572011-08-10 David S. Miller <davem@davemloft.net>
7858
7859 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7860 enum.
7861 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7862 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7863 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7864
c55fbd1e
UD
78652011-08-09 Ulrich Drepper <drepper@gmail.com>
7866
7867 * Versions.def [libc]: Add GLIBC_2.15.
7868 * dirent/Makefile (routines): Add scandirat and scandirat64.
7869 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7870 GLIBC_2.15.
7871 * dirent/dirent.h: Declare scandirat and scandirat64.
7872 * dirent/scandirat.c: New file.
7873 * dirent/scandirat64.c: New file.
7874 * sysdeps/wordsize-64/scandirat.c: New file.
7875 * sysdeps/wordsize-64/scandirat64.c: New file.
7876 * dirent/opendir.c: Define opendirat.
7877 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7878 using scandirat.
7879 * dirent/scandir64.c: Adjust for scandir.c change.
7880 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7881 __scandirat64, and __scandir_cancel_handler.
7882 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7883 additional parameter and use openat instead of open (outside of ld.so).
7884 Add new __opendir as wrapper around __opendirat.
7885 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7886 here without requiring old scandirat implementation.
7887
879165f2
UD
78882011-08-08 Ulrich Drepper <drepper@gmail.com>
7889
7890 * dirent/scandir.c (cancel_handler): Renamed to
7891 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7892 defined. Adjust users.
7893 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7894 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7895
cb7e923b
UD
78962011-08-04 Ulrich Drepper <drepper@gmail.com>
7897
16292edd
UD
7898 * string/test-string.h (IMPL): Use __STRING to expand name and then
7899 stringify it.
7900
cb7e923b
UD
7901 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7902 of cleanups.
7903
cff82933
LD
79042011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7905
7906 * string/Makefile: Update.
7907 (strop-tests): Append strncat.
7908 * string/test-wcscmp.c: New file.
7909 New comprehensive test for wcscmp.
7910 * string/test-strcmp.c: Update.
7911 (WIDE): New define.
7912
9be9bfcc
AS
79132011-07-22 Andreas Schwab <schwab@redhat.com>
7914
7915 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7916 line.
7917
2e96f1c7
AS
79182011-07-26 Andreas Schwab <schwab@redhat.com>
7919
7920 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7921 encoding to ACE if AI_IDN.
7922
85188888
JJ
79232011-08-01 Jakub Jelinek <jakub@redhat.com>
7924
7925 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7926 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7927
5fa16e9b
LD
79282011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7929
7930 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7931 Fix overflow bug in strncat.
7932 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7933
7934 * string/test-strncat.c: Update.
7935 Add new tests for checking overflow bugs.
7936
79372011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7938
7939 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7940 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7941 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7942 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7943 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7944 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7945 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7946 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7947 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7948
7949 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7950 (USE_AS_STRCAT): Define.
7951 Add strcat and strncat support.
7952 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7953
8c1a459f
AS
79542011-07-25 Andreas Schwab <schwab@redhat.com>
7955
7956 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7957 __n bigger than INT_MAX+1.
7958 (__strncmp_g): Likewise.
7959
bba33c28
UD
79602011-07-23 Ulrich Drepper <drepper@gmail.com>
7961
798be72d
UD
7962 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7963 * libio/stido.h: Likewise.
7964
8accd4dc
UD
7965 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7966 (AF_NFC): Define.
7967 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7968 (AF_NFC): Define.
7969
cbff0d96
UD
7970 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7971 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7972 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7973 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7974 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7975
9191c04a
UD
7976 [BZ #13021]
7977 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7978 installed.
7979
bba33c28
UD
7980 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7981 typo.
7982 (_dl_x86_64_save_sse): Likewise.
7983
90f139dd
UD
79842011-07-22 Ulrich Drepper <drepper@gmail.com>
7985
1aae088a
UD
7986 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7987 OSXSAVE.
7988 (_dl_x86_64_save_sse): Likewise.
7989
8e2045f5
UD
7990 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7991
90f139dd
UD
7992 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7993
1d002f25
AS
79942011-07-21 Andreas Schwab <schwab@redhat.com>
7995
7996 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7997 change.
7998 (_dl_x86_64_save_sse): Use correct AVX check.
7999
21137f89
UD
80002011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8001
8002 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
8003 bug in strncpy/strncat.
8004 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8005
a65c0b7a
UD
80062011-07-21 Ulrich Drepper <drepper@gmail.com>
8007
8008 * string/tester.c (test_strcat): Add tests for different alignments
8009 of source and destination.
8010 (test_strncat): Likewise.
8011
6986b98a
UD
80122011-07-20 Ulrich Drepper <drepper@gmail.com>
8013
90bb2039
UD
8014 [BZ #12852]
8015 * posix/glob.c (glob): Check passed in values before using them in
8016 expressions to avoid some overflows.
8017 (glob_in_dir): Likewise.
8018
5644ef54
UD
8019 [BZ #13007]
8020 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
8021 check for AVX enablement so that we don't crash with old kernels and
8022 new hardware.
8023 * elf/tst-audit4.c: Add same checks here.
8024 * elf/tst-audit6.c: Likewise.
8025
8026 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 8027
bfc9dc9b
AS
80282011-07-09 Andreas Schwab <schwab@linux-m68k.org>
8029
8030 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
8031
702e64bb
UD
80322011-07-20 Ulrich Drepper <drepper@gmail.com>
8033
8034 * po/cs.po: Update from translation team.
8035 * po/bg.po: Likewise.
8036
295e904f
MP
80372011-07-12 Marek Polacek <mpolacek@redhat.com>
8038
8039 * misc/sys/cdefs.h: Add support for const attribute.
8040 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
8041 to gnu_dev_{major,minor,makedev} functions.
8042
3ff94596
MP
80432011-07-20 Marek Polacek <mpolacek@redhat.com>
8044
8045 * intl/dcigettext.c (get_output_charset): Add missing bracket.
8046
28b59fca
AS
80472011-07-20 Andreas Schwab <schwab@redhat.com>
8048
8049 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
8050 strlen results.
8051
19df733e
AK
80522011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8053
8054 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8055 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
8056 register in order to avoid conflicts with the soft frame pointer
8057 being held in r11 when necessary.
8058 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8059 (INTERNAL_VSYSCALL_NCS): Likewise.
8060
c8835729
MP
80612011-07-14 Marek Polacek <mpolacek@redhat.com>
8062
8063 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8064 * elf/dl-fini.c (_dl_fini): Adjust caller.
8065 * elf/dl-close.c (_dl_close_worker): Likewise.
8066 * sysdeps/generic/ldsodefs.h: Adjust declaration.
8067
b902330c
MP
80682011-07-15 Marek Polacek <mpolacek@redhat.com>
8069
8991e135
MP
8070 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8071 "aux_cache->nlibs < 0".
8072
b902330c
MP
8073 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8074 in the reload-count case.
8075
99710781
LD
80762011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8077
8078 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8079 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8080 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8081 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8082 * sysdeps/x86_64/multiarch/strcat.S: New file.
8083 * sysdeps/x86_64/multiarch/strncat.S: New file.
8084 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8085 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8086 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8087 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8088 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8089 (USE_AS_STRCAT): Define.
8090 Add strcat and strncat support.
8091 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8092 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8093 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8094 * string/strncat.c: Update.
8095 (USE_AS_STRNCAT): Define.
8096 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8097 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8098 and i7.
8099 * sysdeps/x86_64/multiarch/init-arch.h
8100 (bit_Prefer_PMINUB_for_stringop): New.
8101 (index_Prefer_PMINUB_for_stringop): Likewise.
8102 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8103 bit_Prefer_PMINUB_for_stringop.
8104
7dc6bd90
UD
81052011-07-19 Ulrich Drepper <drepper@gmail.com>
8106
8107 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8108 buffer64.
8109 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8110 of casting of buffer.
8111 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8112 buffer32 and buffer64.
8113 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8114 writes instead of casting of buffer.
8115 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8116 buffer32.
8117 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8118 casting of buffer.
8119
e0e72284
AS
81202011-07-19 Andreas Schwab <schwab@redhat.com>
8121
8122 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8123
feb1eb0b
UD
81242011-07-19 Ulrich Drepper <drepper@gmail.com>
8125
8126 * nscd/nscd.c (termination_handler): Don't do anything for a database
8127 if it has not yet been initialized.
8128
298711ff
UD
81292011-07-18 Ulrich Drepper <drepper@gmail.com>
8130
8131 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8132
81332011-07-15 Marek Polacek <mpolacek@redhat.com>
8134
8135 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8136
f9d68389
UD
81372011-07-18 Ulrich Drepper <drepper@gmail.com>
8138
8139 * po/nl.po: Update from translation team.
8140 * po/sv.po: Likewise.
8141
db290cf5
RM
81422011-07-16 Roland McGrath <roland@hack.frob.com>
8143
8144 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8145 now disallowed by GCC.
5c550700 8146
fd5e21c7
RM
8147 * configure.in (use-default-link): Default to yes if a test -shared
8148 link meets our qualifications.
8149 * configure: Regenerated.
8150
5c550700
RM
8151 * config.make.in (output-format): New variable.
8152 * configure.in: Check for ld --print-output-format support.
8153 * configure: Regenerated.
8154 * Makerules ($(common-objpfx)format.lds)
8155 [$(output-format) != unknown]: Just use $(output-format),
8156 instead of the linker-script munging.
8157
9fa2c032
RM
81582011-07-14 Roland McGrath <roland@hack.frob.com>
8159
a6928d51
RM
8160 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8161 of $(common-objpfx)shlib.lds.
8162 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8163
661607b3
RM
8164 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8165 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8166
9fa2c032
RM
8167 * configure.in (-z relro check): Adjust test code to add a large
8168 writable data section after it.
8169 * configure: Regenerated.
8170
defe9061
RM
81712011-07-11 Roland McGrath <roland@hack.frob.com>
8172
8173 * configure.in (-z relro check): Fix test code to make the variable
8174 truly const.
8175 * configure: Regenerated.
8176
319b9ad4
UD
81772011-07-11 Ulrich Drepper <drepper@gmail.com>
8178
8179 * nscd/nscd.h (struct traced_file): Define.
8180 (struct database_dyn): Remove inotify_descr, reset_res, and filename
8181 elements. Add traced_files.
8182 (inotify_fd): Declare.
8183 (register_traced_file): Declare.
8184 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
8185 (inotify_fd): Export.
8186 (resolv_conf_descr): Remove.
8187 (nscd_init): Move inotify descriptor creation to main.
8188 Don't register files for notification here.
8189 (register_traced_file): New function.
8190 (invalidate_cache): Don't use reset_res to determine whether to call
8191 res_init, go through the list of registered files.
8192 (main_loop_poll): The inotify descriptors are now stored in the
8193 structures for the traced files.
8194 (main_loop_epoll): Likewise
8195 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
8196 to __nss_disable_nscd.
8197 * nscd/cache.c (prune_cache): There is no single inotify descriptor
8198 for a database anymore. Check the records for all the registered
8199 files instead.
8200 * nss/Makefile (libnss_files-routines): Add files-init.
8201 (libnss_db-routines): Add db-init.
8202 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8203 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8204 * nss/nss_db/db-init.c: New file.
8205 * nss/nss_files/files-init.c: New file.
8206 * nss/nsswitch.c (nss_load_library): New function. Broken out of
8207 __nss_lookup_function.
8208 (__nss_lookup_function): Call nss_load_library.
8209 (nss_load_all_libraries): New function.
8210 (__nss_disable_nscd): Take parameter with callback function for files
8211 to register. Set is_nscd. Load all the DSOs for the NSS modules
8212 used for the cached services.
8213 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8214 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8215 options for features to all the files in nscd.
8216
8217 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8218
23bee3e8
RM
82192011-07-10 Roland McGrath <roland@hack.frob.com>
8220
8221 * csu/elf-init.c (__libc_csu_init): Comment typo.
8222
46a5b7f0
UD
82232011-07-09 Ulrich Drepper <drepper@gmail.com>
8224
8225 * po/pl.po: Update from translation team.
8226 * po/ja.po: Likewise.
8227 * po/ru.po: Likewise.
8228 * po/ko.po: Likewise.
8229 * po/fr.po: Likewise.
8230
d30cf5bb
RM
82312011-07-09 Roland McGrath <roland@hack.frob.com>
8232
113ddea4
RM
8233 * configure.in (.ctors/.dtors header and trailer check):
8234 Use an empirical test on a built program.
8235 * configure: Regenerated.
8236
574920b4
RM
8237 * configure.in (-z relro check): Use an empirical test on a built DSO.
8238 Detect, but do not require, on ia64.
8239 * configure: Regenerated.
8240
d30cf5bb
RM
8241 * configure.in (READELF): Find it with AC_CHECK_TOOL.
8242 Update tests that use readelf to use $READELF instead.
8243 * configure: Regenerated.
8244
8538fdb3
UD
82452011-07-08 Ulrich Drepper <drepper@gmail.com>
8246
8247 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8248 if the result is not used.
8249
04d08991
AJ
82502011-07-05 Andreas Jaeger <aj@suse.de>
8251
8252 [BZ#9696]
8253 * stdlib/tst-strtod.c: Add testcase.
8254
de283087
AD
82552011-07-07 Ulrich Drepper <drepper@gmail.com>
8256
4e5f31c8 8257 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 8258 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
8259 The latter has a higher limit. Take additional parameter to pass to
8260 the new function.
8261 (__pathconf): Pass file to __statfs_link_max.
8262 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8263 __statfs_link_max.
8264 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8265 __statfs_link_max.
8266
de283087
AD
8267 [BZ #12868]
8268 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8269 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8270 Handle Lustre.
8271 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8272 (__statfs_filesize_max): Likewise.
8273 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8274
c75fa153
AJ
82752011-07-05 Andreas Jaeger <aj@suse.de>
8276
8277 * resolv/res_comp.c (dn_skipname): Remove unused variable.
8278
1a544854
UD
82792011-07-06 Marek Polacek <mpolacek@redhat.com>
8280
8281 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8282 `status' variable.
8283 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8284 Likewise.
8285
6f0eec67
UD
82862011-07-04 H.J. Lu <hongjiu.lu@intel.com>
8287
8288 * Makefile (strop-tests): Add strncat.
8289 * string/test-strncat.c: New file.
8290
aae30307
UD
82912011-06-30 Marek Polacek <mpolacek@redhat.com>
8292
8293 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8294
c0cfb5eb
UD
82952011-06-21 Andreas Jaeger <aj@suse.de>
8296
8297 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8298 Copy rule from iconvdata/Makefile.
8299
01636b21
UD
83002011-07-06 Ulrich Drepper <drepper@gmail.com>
8301
8302 [BZ #12922]
8303 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8304 but no long options are defined, just return 'W'.
8305
9895c8bc
UD
83062011-06-22 Marek Polacek <mpolacek@redhat.com>
8307
8308 [BZ #9696]
8309 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8310
5d4cf042
UD
83112011-07-06 Ulrich Drepper <drepper@gmail.com>
8312
8313 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8314 netgroups to read.
960e5535 8315 (innetgr): Likewise.
5d4cf042 8316
751eb97e
RM
83172011-07-05 Roland McGrath <roland@hack.frob.com>
8318
8319 * config.make.in (install_root): Default to $(DESTDIR).
8320
f15f1e45
UD
83212011-07-05 Ulrich Drepper <drepper@gmail.com>
8322
8323 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8324
4e34ac6a
RM
83252011-07-02 Roland McGrath <roland@hack.frob.com>
8326
5e9b6af4
RM
8327 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8328
84f9ea0f
RM
8329 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8330 containing directory rather than embedding absolute directory names.
8331
ea5ee9f7
RM
8332 * scripts/check-local-headers.sh: Rewritten using awk.
8333 Match by word, not by line. Print error messages for matches.
8334 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8335
1b74661a
RM
8336 * Makerules [shlib-lds-flags empty]:
8337 ($(common-objpfx)libc_pic.opts): New target.
8338 ($(common-objpfx)libc_pic.os.clean): New target.
8339 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8340
8341 * config.make.in (OBJCOPY): New variable.
8342 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8343 * configure: Regenerated.
8344
f781ef40
RM
8345 * config.make.in (use-default-link): New variable.
8346 * configure.in (use_default_link): Grok --with-default-link to set it.
8347 * configure: Regenerated.
8348 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8349 (shlib-lds, shlib-lds-flags): Define to empty.
8350
2d4fa81e
RM
8351 * Makerules (shlib-lds): New variable.
8352 (shlib-lds-flags): New variable.
8353 (build-shlib, build-moduile, build-module-asneeded): Use it.
8354 ($(common-objpfx)libc.so): Use $(shlib-lds).
8355 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8356 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8357
31fffa6b
RM
8358 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8359 DT_FLAGS/DT_FLAGS_1 with zero flags.
8360
4e34ac6a
RM
8361 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8362 linker script munging.
8363
fcfc776b
UD
83642011-07-02 Ulrich Drepper <drepper@gmail.com>
8365
8366 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8367 as 128-bit value.
8368 * crypt/sha512.c (sha512_process_block): Perform total addition using
8369 128-bit if possible.
8370 (__sha512_finish_ctx): Likewise.
8371 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8372 as 64-bit value.
8373 * crypt/sha256.c (SWAP64): Define.
8374 (sha256_process_block): Perform total addition using 64-bit if
8375 possible.
8376 (__sha256_finish_ctx): Likewise.
8377
99231d9a
UD
83782011-07-01 Ulrich Drepper <drepper@gmail.com>
8379
8380 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
8381 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8382 * nscd/hstcache.c (cache_addhst): Likewise.
8383 * nscd/grpcache.c (cache_addgr): Likewise.
8384 * nscd/aicache.c (addhstaiX): Likewise
8385 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8386
445b4a53
TK
83872011-07-01 Thorsten Kukuk <kukuk@suse.de>
8388
8389 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8390 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8391 * nscd/hstcache.c (cache_addhst): Likewise.
8392 * nscd/grpcache.c (cache_addgr): Likewise.
8393 * nscd/aicache.c (addhstaiX): Likewise
8394
6d4d8e8e
AS
83952011-07-01 Andreas Schwab <schwab@redhat.com>
8396
8397 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8398 domain only when needed.
8399
89f654c5
AS
84002011-06-30 Andreas Schwab <schwab@redhat.com>
8401
8402 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8403 is always restored.
8404
cf3b23ff
UD
84052011-06-29 Ulrich Drepper <drepper@gmail.com>
8406
8407 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8408 are re-adding the entry.
8409 * nscd/servicescache.c (cache_addserv): Likewise.
8410
751626f9
AJ
84112011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8412
8413 * sysdeps/generic/dl-irel.h: fix protection against multiple
8414 inclusions.
8415 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8416
9113ea1f
UD
84172011-06-28 Ulrich Drepper <drepper@gmail.com>
8418
5c0b8d90
UD
8419 [BZ #12935]
8420 * malloc/memusage.sh: Fix quoting in message.
8421 * debug/xtrace.sh: Likewise.
8422
9113ea1f
UD
8423 * configure.in: Remove support for --experimental-malloc option, make
8424 it the default.
8425 * config.make.in: Likewise.
8426 * malloc/Makefile: Likewise.
8427
a4172181
AS
84282011-06-27 Andreas Schwab <schwab@redhat.com>
8429
8430 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8431 two-byte characters.
8432
78a7eee7
RM
84332011-06-27 Roland McGrath <roland@hack.frob.com>
8434
62bede13
RM
8435 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8436 AC_CACHE_CHECK invocation.
8437 * configure: Regenerated.
8438
78a7eee7
RM
8439 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8440
5ce33a62
UD
84412011-06-27 Ulrich Drepper <drepper@gmail.com>
8442
034807a9
UD
8443 [BZ #12350]
8444 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8445 bit from old_res_options.
8446
4902da17
UD
8447 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8448
5ce33a62
UD
8449 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8450 value type for setfct.
8451
c2344f56
L
84522011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8453
8454 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8455 __gettimeofday instead of gettimeofday.
8456
68468076
UD
84572011-06-26 Ulrich Drepper <drepper@gmail.com>
8458
8459 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8460
acb0d739
L
84612011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8462
8463 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8464
8465 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8466 info.
8467
8912479f
L
84682011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8469
8470 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8471 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8472 strcpy-sse2-unaligned strncpy-sse2-unaligned
8473 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8474 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8475 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8476 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8477 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8478 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8479 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8480 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8481 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8482 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8483 (STRCPY): Support SSE2 and SSSE3 versions.
8484
d5495a11
UD
84852011-06-24 Ulrich Drepper <drepper@gmail.com>
8486
8487 [BZ #12874]
8488 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8489 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8490 kernels which artificially limit size of requests.
8491
0b1cbaae
L
84922011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8493
8494 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8495 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8496 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8497 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8498 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8499 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8500 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8501 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8502 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8503 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8504 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8505 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8506 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8507 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8508 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8509 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8510 Enable unaligned load optimization for Intel Core i3, i5 and i7
8511 processors.
8512 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8513 Define.
8514 (index_Fast_Unaligned_Load): Define.
8515 (HAS_FAST_UNALIGNED_LOAD): Define.
8516
07f494a0
MP
85172011-06-23 Marek Polacek <mpolacek@redhat.com>
8518
8519 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8520
fa3fc0fe
UD
85212011-06-22 Ulrich Drepper <drepper@gmail.com>
8522
8523 [BZ #12907]
8524 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8525 until it is clear that the information is realy needed.
8526 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8527
e12df166
AS
85282011-06-22 Andreas Schwab <schwab@redhat.com>
8529
8530 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8531
852eb34d
UD
85322011-06-22 Ulrich Drepper <drepper@gmail.com>
8533
84e2a551
UD
8534 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8535 /sys/devices/system/cpu/online if it is usable.
8536
852eb34d
UD
8537 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8538 reading the information from the /proc filesystem to once a second.
8539
6e502e19
UD
85402011-06-21 Andreas Jaeger <aj@suse.de>
8541
8542 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8543 NULL after inclusion of kernel headers.
8544
75d39ff2
UD
85452011-06-21 Ulrich Drepper <drepper@gmail.com>
8546
51f9aa6a
UD
8547 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8548 calls to internal_setent.
8549
c0244a9d
UD
8550 [BZ #12885]
8551 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8552 addresses using gethostbyname4_r ignore IPv4 addresses.
8553
c5e3c2ae
UD
8554 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8555 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8556
75d39ff2
UD
8557 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8558
42675c6f
DM
85592011-06-20 David S. Miller <davem@davemloft.net>
8560
8561 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8562 inclusions.
8563 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8564
8565 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8566 (elf_irel): Use it.
8567 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8568 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8569 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8570 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8571 * sysdeps/x86_64/dl-irel.h: Likewise.
8572
8573 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8574 * elf/dl-sym.c: Likewise.
8575
57912a71
UD
85762011-06-15 Ulrich Drepper <drepper@gmail.com>
8577
8578 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8579 need to dereference resplen2.
8580
ee22793d
AS
85812011-06-14 Andreas Schwab <schwab@redhat.com>
8582
8583 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8584
a9e836b0
UD
85852011-06-15 Ulrich Drepper <drepper@gmail.com>
8586
77fb9117
UD
8587 * Makeconfig: Define vardbdir and inst_vardbdir.
8588 * nss/Makefile: Add rules to install db-Makefile.
8589
40c1b22c
UD
8590 * nss/nss_db/db-XXX.c: Cleanup.
8591
9f2da732
UD
8592 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8593 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8594 GLIBC_PRIVATE.
8595 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8596 * nss/makedb.c: Implement -g option to specify that value strings
8597 are generated and should not be added to table iterated over for
8598 get*ent calls.
8599 * nss/nss_db/db-initgroups.c: New file.
8600
82e9a1f7
UD
8601 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8602 interface.
8603
c41af17e
UD
8604 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8605 (internal_getgrouplist): Adjust to name change.
8606 Update use_initgroups_entry if this is not the first call.
8607 * nss/databases.def: Add initgroups entry.
8608
a9e836b0
UD
8609 * nss/makedb.c (compute_tables): Check result of multiple hash table
8610 sizes to minimize maximum chain length.
8611
2666d441
UD
86122011-06-14 Ulrich Drepper <drepper@gmail.com>
8613
8614 * Versions.def: Add entry for libnss_db.
8615 * shlib-versions: Likewise.
8616 * nss/Makefile: Add rules to build libnss_db.
8617 * nss/Versions: Add libnss_db information. Organize libnss_files
8618 entries better.
8619 * nss/db-Makefile: Add gshadow support. Change rules for the new
8620 makedb progra. Some minor improvements to generate smaller files.
8621 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8622 here from...
8623 * nss/makedb.c: ...here.
8624 Improve database format to be smaller and require less memory at
8625 runtime.
8626 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8627 db anymore.
8628 * nss/nss_db/db-netgrp.c: Likewise.
8629 * nss/nss_db/db-open.c: Likewise.
8630 * nss/nss_files/flies-XXX.x: Adjust comments.
8631 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8632 * nss/nss_files/files-grp.c: Likewise.
8633 * nss/nss_files/files-hosts.c: Likewise.
8634 * nss/nss_files/files-network.c: Likewise.
8635 * nss/nss_files/files-proto.c: Likewise.
8636 * nss/nss_files/files-pwd.c: Likewise.
8637 * nss/nss_files/files-rpc.c: Likewise.
8638 * nss/nss_files/files-service.c: Likewise.
8639 * nss/nss_files/files-sgrp.c: Likewise.
8640 * nss/nss_files/files-spwd.c: Likewise.
8641 * nss/nss_db/db-alias.c: Removed.
8642 * nss/nss_db/dummy-db.h: Removed.
8643
9ee76b5a
UD
86442011-06-02 Ulrich Drepper <drepper@gmail.com>
8645
8646 * nss/makedb.c: Rewritten to not use database library.
8647 * nss/Makefile: Update to build new makedb program.
8648
c71ca1f8
AJ
86492011-06-14 Andreas Jaeger <aj@suse.de>
8650
8651 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8652 memset declaration.
8653
3154bfb8
UD
86542011-06-10 Andreas Schwab <schwab@redhat.com>
8655
8656 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8657 tmpbuf.
8658
b350afab
RM
86592011-06-10 Roland McGrath <roland@hack.frob.com>
8660
decd4e50
RM
8661 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8662 * elf/Makefile ($(objpfx)ld.so): Likewise.
8663
5615eaf2
RM
8664 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8665 Don't list ld.so twice in dependencies.
8666
8667 * posix/bug-regex31.c: Include <stdlib.h>.
8668
8669 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8670
8671 * nis/nss_compat/compat-spwd.c
8672 (getspent_next_nss_netgr): Remove unused variable.
8673 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8674
8675 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8676 nonmembers" output to use the right array.
8677
8678 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8679
8680 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8681
8682 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8683 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8684 * catgets/gencat.c (read_input_file): Likewise.
8685 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8686
8687 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8688 variable definition inside #if's controlling its use.
8689
8690 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8691
8692 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8693
8694 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8695
8696 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8697 unreachable code.
8698
8699 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8700
b68e08db
RM
8701 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8702 * configure: Regenerated.
8703
b350afab
RM
8704 * Makerules: Revert last change.
8705 * elf/Makefile: Likewise.
8706
28368601
RM
87072011-06-09 Roland McGrath <roland@hack.frob.com>
8708
8709 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8710 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8711 (reloc-link): Likewise.
8712
11988f8f
UD
87132011-06-09 Ulrich Drepper <drepper@gmail.com>
8714
8715 * elf/Makefile: Add rules to build pldd.
8716 * elf/pldd.c: New file.
8717 * elf/pldd-xx.c: New file.
8718
e80fab37
UD
87192011-06-07 Ulrich Drepper <drepper@gmail.com>
8720
8721 * version.h: Update for 2.15 development version.
8722
9b849836
DM
87232011-06-07 David S. Miller <davem@davemloft.net>
8724
8725 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8726 ifuncs.
8727 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8728 elf_machine_lazy_rel): Likewise.
8729 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8730 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8731 elf_machine_lazy_rel): Likewise.
8732 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8733 dl_hwcap via passed in argument.
8734 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8735 Likewise.
8736
5a31b283
AK
87372011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8738
8739 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8740
069e52f8
RM
87412011-06-06 Roland McGrath <roland@hack.frob.com>
8742
8743 [BZ #12849]
8744 * manual/fdl-1.1.texi: New file, verbatim from:
8745 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8746 * manual/lgpl-2.1.texi: New file, verbatim from:
8747 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8748 * manual/Makefile (licenses): New variable, list those new file names.
8749 (texis): Use it.
8750 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8751
8752 * manual/fdl.texi: File removed.
8753 * manual/lesser.texi: File removed.
8754 * manual/libc.texinfo (Copying, Documentation License):
8755 Use new @include file names, put @appendix directive before @include.
8756
f16846a5
JJ
87572011-06-04 Jakub Jelinek <jakub@redhat.com>
8758
8759 [BZ #12841]
8760 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8761 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8762 (mq_open): Add __NTH.
8763
3d29045b
L
87642011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8765
8766 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8767 Assume Intel Core i3/i5/i7 processor if AVX is available.
8768
8c297311
UD
87692011-05-31 Ulrich Drepper <drepper@gmail.com>
8770
8771 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8772 typo.
8773
c8fc0c91
UD
87742011-05-31 Andreas Schwab <schwab@redhat.com>
8775
8776 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8777 memory. Use alloca_account. Fix memory leak when retrying.
8778
5b27a807
UD
87792011-05-31 Ulrich Drepper <drepper@gmail.com>
8780
356f8bc6
UD
8781 * version.h (RELEASE): Bump for 2.14 release.
8782 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8783
5b27a807
UD
8784 * config.make.in (RANLIB): Remove entry.
8785
01f16ab0
UD
87862011-05-30 Ulrich Drepper <drepper@gmail.com>
8787
41fce8bd
UD
8788 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8789 (libc.pot): Work around missing support for .ksh extension in xgettext.
8790
4769ae77
UD
8791 [BZ #12684]
8792 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8793 if both request failed.
8794 (send_dg): In case of server errors clear resplen or *resplen2.
8795
6b1e7d19
UD
8796 [BZ #12454]
8797 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8798 when there are multiple maps.
8799 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8800 (_dl_fini): Remove test here.
8801
01f16ab0
UD
8802 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8803
b1ebd700
UD
88042011-05-29 Ulrich Drepper <drepper@gmail.com>
8805
7ae22829
UD
8806 [BZ #12350]
8807 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8808 bit from old_res_options.
8809 (gaih_inet): Likewise.
8810
553149f6 8811 [BZ #11099]
18a84741 8812 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
8813 as signed.
8814
652ffab1
UD
8815 * resolv/res_init.c (res_setoptions): Make the code more compact.
8816
16985fd0
UD
8817 [BZ #11558]
8818 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8819 set RES_USEVC.
8820
0464f746
UD
8821 [BZ #11634]
8822 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8823
7d17596c
UD
8824 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8825
cf6bbbd7
UD
8826 [BZ #11781]
8827 * malloc/malloc.h: Declare malloc hook variables as volatile.
8828
13f1ab36
UD
8829 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8830 in last patch.
8831
b1ebd700
UD
8832 [BZ #11799]
8833 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 8834 raise in the comment.
80e2212d
UD
8835 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8836 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8837 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 8838
ce67228d
UD
88392011-05-28 Ulrich Drepper <drepper@gmail.com>
8840
8887a920
UD
8841 [BZ #12811]
8842 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8843 grow the buffers more if it already has to be sufficient.
8844 (build_wcs_upper_buffer): Likewise.
8845 * posix/regexec.c (check_matching): Likewise.
8846 (clean_state_log_if_needed): Likewise.
8847 (extend_buffers): Don't enlarge buffers beyond size of the input
8848 buffer.
8849 Patches mostly by Emil Wojak <emil@wojak.eu>.
8850 * posix/bug-regex32.c: New file.
8851 * posix/Makefile (tests): Add bug-regex32.
8852
4f031072
UD
8853 * locale/findlocale.c (_nl_find_locale): Return right away if
8854 _nl_explode_name failed.
8855 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8856
d0478f0c
UD
8857 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8858
de81b246
UD
8859 * debug/xtrace.sh: Unify messages.
8860 * malloc/memusage.sh: Likewise.
8861
c738465a
UD
8862 [BZ #12813]
8863 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8864 time symbol from vDSO. Substitute with vsyscall if not available.
8865 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8866 __vdso_time.
8867
f1f929d7
UD
8868 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8869 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8870 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8871 Add sendmmsg and internal_sendmmsg.
8872 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8873 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8874 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8875
ce67228d
UD
8876 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8877 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8878 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8879
e57420c6
UD
88802011-05-27 Ulrich Drepper <drepper@gmail.com>
8881
a8509ca5
UD
8882 [BZ #12813]
8883 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8884 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8885 available.
8886 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8887 __vdso_getcpu.
8888
e57420c6
UD
8889 [BZ #12814]
8890 * iconvdata/Makefile (tests): Add bug-iconv9.
8891 * iconvdata/bug-iconv9.c: New file.
8892
4d07db15
AS
88932011-05-27 Andreas Schwab <schwab@redhat.com>
8894
8895 [BZ #12814]
8896 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8897
ea486f69
JJ
88982011-05-25 Jakub Jelinek <jakub@redhat.com>
8899
8900 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8901 (struct user_regs_struct): Change intcs field back to cs.
8902
6f038433
UD
89032011-05-25 Ulrich Drepper <drepper@gmail.com>
8904
8905 * po/ja.po: Update from translation team.
8906
67f86a25
UD
89072011-05-23 Ulrich Drepper <drepper@gmail.com>
8908
8909 [BZ #12795]
8910 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8911 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8912
def7fbd6
AS
89132011-05-20 Andreas Schwab <schwab@redhat.com>
8914
8915 * stdlib/longlong.h: Update from GCC.
8916
f50ef8f1
AS
89172011-05-23 Andreas Schwab <schwab@redhat.com>
8918
8919 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8920 parameter name.
8921 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8922 Add parameter name.
8923 (__sysconf): Pass it down.
8924
de7ce8f1
UD
89252011-05-22 Ulrich Drepper <drepper@gmail.com>
8926
f2962a71
UD
8927 [BZ #12671]
8928 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8929 some situations.
8930 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8931 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8932 add in in __libc_use_alloca calls. Adjust callers.
8933 (glob): Use malloc in some situations.
8934
de7ce8f1
UD
8935 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8936 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8937 pltexit.
8938
aec84f53
UD
89392011-05-21 Ulrich Drepper <drepper@gmail.com>
8940
05bb4a68
UD
8941 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8942 and CLOCK_BOOTTIME_ALARM.
8943
7ea72f99
UD
8944 [BZ #12782]
8945 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8946 is returned.
8947
7e4afad5
UD
8948 * string/_strerror.c (__strerror_r): Print negative errors as signed
8949 numbers.
8950
8e211fec
UD
8951 [BZ #12777]
8952 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8953 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8954 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8955
f7d82dc9
UD
8956 * configure.in: Fix typo in redirection and correct removal of test
8957 files in two cases.
8958
cc9e536d
UD
8959 [BZ #12788]
8960 * locale/setlocale.c (new_composite_name): Fix test to check for
8961 identical name of all categories.
8962
aec84f53
UD
8963 [BZ #12792]
8964 * libio/filedoalloc.c (local_isatty): New function.
8965 (_IO_file_doallocate): Use local_isatty.
8966 * stdio-common/perror.c (perror): In case a new stream is used
8967 forward the stream error.
8968 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8969 error flag.
8970
78e64fdc
RT
89712011-05-20 Ulrich Drepper <drepper@gmail.com>
8972
34a9094f
UD
8973 [BZ #11869]
8974 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8975 alloca.
8976 * include/alloca.h (extend_alloca_account): Define.
8977
78e64fdc
RT
8978 [BZ #11857]
8979 * posix/regex.h: Fix comments with documentation of user-accessible
8980 fields after compilation and describe correct free'ing of pattern
8981 after re_compile_pattern.
8982 Patch by Reuben Thomas <rrt@sc3d.org>.
8983
457bddfc
RA
89842011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8985
8986 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8987 and -mno-altivec to prevent the compiler from using Altivec and/or
8988 VSX instructions when the corresponding registers are not available.
8989
a4527b51
AS
89902011-05-19 Andreas Schwab <schwab@redhat.com>
8991
8992 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8993
ed690b2f
UD
89942011-05-19 Ulrich Drepper <drepper@gmail.com>
8995
8996 * libio/freopen.c (freopen): Use __dup2, not dup2.
8997 * libio/freopen64.c (freopen64): Likewise.
8998
8db73634
L
89992011-05-17 H.J. Lu <hongjiu.lu@intel.com>
9000
9001 [BZ #12775]
9002 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
9003 * math/Makefile (tests): Add test-powl.
9004 (CFLAGS-test-powl.c): Define.
9005 * math/test-powl.c: New file.
9006
0a197a9d
L
90072011-05-16 H.J. Lu <hongjiu.lu@intel.com>
9008
9009 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
9010
ee30c380
UD
90112011-05-17 Ulrich Drepper <drepper@gmail.com>
9012
9013 [BZ #11837]
9014 * iconvdata/gb18030.c: Update to GB18020-2005.
9015
6ce75379
UD
90162011-05-16 Ulrich Drepper <drepper@gmail.com>
9017
a4b89fd8
AR
9018 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
9019 RE_SYNTAX_POSIX_AWK): Update to match recent development.
9020 Patch by Aharon Robbins <arnold@skeeve.com>.
9021
ea389b12
UD
9022 [BZ #11892]
9023 * stdlib/putenv.c (putenv): Don't always create copy of the variable
9024 on the stack.
9025
68a3f91f
UD
9026 [BZ #11895]
9027 * misc/pselect.c (__pselect): Handle timeout value errors hidden
9028 through underflows.
9029
15cc7dd1
UD
9030 [BZ #12766]
9031 * misc/error.c (error_at_line): Ensure file_name and old_file_name
9032 point to strings before performing equality test for error_one_per_line
9033 mode.
9034
f3799213
UD
9035 [BZ #11697]
9036 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
9037
d79a9c94
UD
9038 [BZ #11820]
9039 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9040 (struct user_fpregs_struct): Avoid __uint*_t types.
9041
56e5eb46
UD
9042 [BZ #6420]
9043 * malloc/mtrace.c (tr_where): Add additional parameter to point to
9044 symbol info. Use it instead of calling _dl_addr locally.
9045 (lock_and_info): New function.
9046 (tr_freehook): Call lock_and_info and pass symbol info as additional
9047 parameter to tr_where.
9048 (tr_mallochook): Likewise.
9049 (tr_reallochook): Likewise.
9050 (tr_memalignhook): Likewise.
9051
6ce75379
UD
9052 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
9053 used and couldn't be at all thread-safe.
9054
f8a3b5bf
UD
90552011-05-15 Ulrich Drepper <drepper@gmail.com>
9056
94b7cc37
UD
9057 * libio/freopen.c (freopen): Don't close old file descriptor
9058 before the new one is opened. Instead dup the new file descriptor
9059 to the old one after the new stream is created.
9060 * libio/freopen64.c (freopen64): Likewise.
9061 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9062 * libio/fileops.c (_IO_new_file_close_it): Handle new
9063 _IO_FLAGS2_NOCLOSE flag.
9064 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9065 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9066 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9067 _IO_FLAGS2_NOCLOSE flag.
9068 * include/unistd.h: Add hidden_proto for dup3.
9069 Define __have_dup3.
9070 * io/dup3.c: Define hidden symbol.
9071 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9072
bd25564e
UD
9073 [BZ #7101]
9074 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9075 when an incomplete long option is used.
9076 * posix/tst-getopt_long1.c: New file.
9077 * posix/Makefile (tests): Add tst-getopt_long1.
9078
c84cfef4
UD
9079 [BZ #10138]
9080 * scripts/config.guess: Update from autoconf-2.68.
9081 * scripts/config.sub: Likewise.
9082
3b85df27
UD
9083 [BZ #10157]
9084 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9085 tests into ...
9086 (has_cpuclock): ...this. New function.
9087 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9088 macro here based on has_cpuclock code.
9089
15a856b1
UD
9090 [BZ #10149]
9091 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9092 First byte (not low byte) is now always NUL.
9093 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9094
05f399e6
UD
9095 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9096 Use non-cancelable interfaces.
9097
10a52685 9098 [BZ #9809]
94ecc67d
UD
9099 * locale/iso-639.def: Add entry for Sorani.
9100
f8a3b5bf
UD
9101 [BZ #11901]
9102 * include/stdlib.h: Move include protection to the right place.
9103 Define abort_msg_s. Declare __abort_msg with it.
9104 * stdlib/abort.c (__abort_msg): Adjust type.
9105 * assert/assert.c (__assert_fail_base): New function. Majority
9106 of code from __assert_fail. Allocate memory for __abort_msg with
9107 mmap.
9108 (__assert_fail): Now call __assert_fail_base.
9109 * assert/assert-perr.c: Remove bulk of implementation. Use
9110 __assert_fail_base.
9111 * include/assert.hL Declare __assert_fail_base.
9112 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9113 mmap.
9114 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9115
1af4e298
UD
91162011-05-14 Ulrich Drepper <drepper@gmail.com>
9117
f8a3b5bf 9118 [BZ #11952]
d26dfc60
MG
9119 [BZ #12453]
9120 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9121 until all modules are registered in the DTV.
9122 * elf/Makefile: Add rules to build and run tst-tls19.
9123 * elf/tst-tls19.c: New file.
9124 * elf/tst-tls19mod1.c: New file.
9125 * elf/tst-tls19mod2.c: New file.
9126 * elf/tst-tls19mod3.c: New file.
9127 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9128
2fc54d6f
UD
9129 [BZ #12083]
9130 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9131 correctly.
9132
98d76b46
UD
9133 [BZ #12601]
9134 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9135 two-byte sequence errors.
9136 * iconvdata/Makefile (tests): Add bug-iconv8.
9137 * iconvdata/bug-iconv8.c: New file.
9138
da3c19ef
UD
9139 [BZ #12626]
9140 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9141 buf2 definition.
9142
ca408c15
UD
9143 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9144
d6f67f7d
UD
9145 [BZ #12432]
9146 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9147 (dummy_getcfa): New function.
9148 (init): Get _Unwind_GetCFA address, use dummy if not found.
9149 (backtrace_helper): In recursion check, also check whether CFA changes.
9150 (__backtrace): Completely initialize arg.
9151
1af4e298 9152 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
9153 storing incomplete byte sequence in state object. Avoid testing for
9154 guaranteed too small input if we know there is enough data available.
1af4e298 9155
da62f81b
AS
91562011-05-11 Andreas Schwab <schwab@redhat.com>
9157
9158 * Makeconfig (+link-pie): Indent.
9159 * Rules (binaries-pie): Define if $(have-fpie) and
9160 $(build-shared).
9161 (binaries-shared): Also filter out $(binaries-pie).
9162 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9163 * nscd/Makefile (others-pie): Add nscd.
9164 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9165 ($(objpfx)nscd): Remove command override.
9166 * login/Makefile (others-pie): Add pt_chown.
9167 ($(objpfx)pt_chown): Remove command override.
9168 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9169 remove command overrides.
9170
fcabc0f8
UD
91712011-05-13 Ulrich Drepper <drepper@gmail.com>
9172
20030ae6
UD
9173 * libio/tst_putwc.c: Fix error messages.
9174
fcabc0f8
UD
9175 [BZ #12724]
9176 * libio/fileops.c (_IO_new_file_close_it): Always flush when
9177 currently writing and seek to current position when not.
9178 * libio/Makefile (tests): Add bug-fclose1.
9179 * libio/bug-fclose1.c: New file.
9180
320a5dc0
PB
91812011-05-12 Ulrich Drepper <drepper@gmail.com>
9182
9183 [BZ #12511]
9184 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
9185 don't set DF_1_NODELETE here.
9186 (do_lookup_x): When entering new entry test for copy relocation
9187 and if necessary set DF_1_NODELETE flag.
9188 * elf/tst-unique4.cc: New file.
9189 * elf/tst-unique4.h: New file.
9190 * elf/tst-unique4lib.cc: New file.
9191 * elf/Makefile: Add rules to build and run tst-unique4.
9192 Patch by Piotr Bury <pbury@goahead.com>.
9193
22836f52
UD
91942011-05-11 Ulrich Drepper <drepper@gmail.com>
9195
f574184a
UD
9196 [BZ #12052]
9197 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9198
e1fb097f
UD
9199 [BZ #12625]
9200 * misc/mntent_r.c (addmntent): Flush the stream after the output
9201
22836f52
UD
9202 [BZ #12393]
9203 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9204 (is_trusted_path_normalize): Skip initial colon. Append slash
9205 to empty buffer. Duplicate is_trusted_path code but allow
9206 constructed patch to be prefix.
9207 (is_dst): Allow $ORIGIN followed by /.
9208 (_dl_dst_substitute): Correct clearing of check_for_trusted.
9209 Correct testing of result of is_trusted_path_normalize
9210 (decompose_rpath): Fix warning.
9211
7b3b0b2a
UD
92122011-05-10 Ulrich Drepper <drepper@gmail.com>
9213
9214 [BZ #11257]
9215 * grp/initgroups.c (internal_getgrouplist): When we found the service
9216 list through the initgroups entry in nsswitch.conf do not always
9217 continue on a successful lookup. Don't always use the
eac80ce2 9218 __nss_group_database value if it is set.
7b3b0b2a
UD
9219 * nss/nsswitch.conf (initgroups): Change action for successful db
9220 lookup to continue for compatibility.
9221
2a81eaa5
UD
92222011-05-09 Ulrich Drepper <drepper@gmail.com>
9223
be97a69e
UD
9224 [BZ #11532]
9225 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9226 and CP774 modules.
9227 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9228 and CP774 modules.
9229 * iconvdata/tst-tables.sh: Likewise.
9230 * iconvdata/cp770.c: New file.
9231 * iconvdata/cp771.c: New file.
9232 * iconvdata/cp772.c: New file.
9233 * iconvdata/cp773.c: New file.
9234 * iconvdata/cp774.c: New file.
9235 * iconvdata/testdata/CP770: New file.
9236 * iconvdata/testdata/CP770..UTF8: New file.
9237 * iconvdata/testdata/CP771: New file.
9238 * iconvdata/testdata/CP771..UTF8: New file.
9239 * iconvdata/testdata/CP772: New file.
9240 * iconvdata/testdata/CP772..UTF8: New file.
9241 * iconvdata/testdata/CP773: New file.
9242 * iconvdata/testdata/CP773..UTF8: New file.
9243 * iconvdata/testdata/CP774: New file.
9244 * iconvdata/testdata/CP774..UTF8: New file.
9245
9246 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9247 END CHARMAP line.
9248 * iconvdata/gen-8bit-gap.sh: Likewise.
9249 * iconvdata/gen-8bit.sh: Likewise.
9250
c1e9e399
UD
9251 * locale/iso-639.def: Add ary entry.
9252
24c55fb3 9253 [BZ #11258]
96b4b1b0
UD
9254 * locale/C-translit.h.in: Add U20A1 transliteration.
9255
bdc2f971
KB
9256 [BZ #12178]
9257 * locale/iso-639.def: Add wae entry.
9258 Patch by Kevin Bortis <bortis@translate-wae.ch>.
9259
2952b117
UD
9260 [BZ #12545]
9261 * locale/programs/localedef.c (construct_output_path): Use ssize_t
9262 for n.
9263
2a81eaa5
UD
9264 [BZ #12711]
9265 * locale/C-translit.h.in: Add entry for U20B9.
9266 Patch by pravin.d.s@gmail.com.
9267
28377d1b
UD
92682011-05-08 Ulrich Drepper <drepper@gmail.com>
9269
7fb90fb8
UD
9270 [BZ #12713]
9271 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9272 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
9273 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
9274 in rtld. Use *stat64.
7fb90fb8 9275 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 9276 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 9277 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
9278 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9279 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9280 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9281 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9282 __fstatat64 macros.
7fb90fb8
UD
9283 * include/dirent.h: Add libc_hidden_proto for rewinddir.
9284 * dirent/rewinddir.c: Add libc_hidden_def.
9285 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 9286 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 9287
28377d1b
UD
9288 * include/dirent.h (__alloc_dir): Add flags parameter.
9289 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9290 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9291 __alloc_dir.
9292 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
9293 from fdopendir if O_CLOEXEC is already set.
9294
66bdbaa4
AM
92952011-03-15 Alan Modra <amodra@gmail.com>
9296
9297 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9298 l_tls_firstbyte_offset non-zero. Save padding offset in
9299 l_tls_firstbyte_offset for later use.
9300 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9301 freeing static tls block.
9302
95721191
JN
93032011-03-05 Jonathan Nieder <jrnieder@gmail.com>
9304
9305 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9306 where #ifdef was intended. The intent is to prevent ARG_MAX from
9307 being defined by the kernel headers.
9308
f87dfb1f
UD
93092011-05-07 Ulrich Drepper <drepper@gmail.com>
9310
9311 [BZ #12734]
9312 * resolv/resolv.h: Define RES_NOTLDQUERY.
9313 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9314 no-tld-query and set RES_NOTLDQUERY.
9315 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9316 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9317 modern BIND to search name as TLD unless forbidden.
9318
47c3cd7a
UD
93192011-05-07 Petr Baudis <pasky@suse.cz>
9320 Ulrich Drepper <drepper@gmail.com>
9321
9322 [BZ #12393]
9323 * elf/dl-load.c (fillin_rpath): Move trusted path check...
9324 (is_trusted_path): ...to here.
c1e9ea35 9325 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 9326 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 9327 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 9328
8a35c912
PP
93292011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9330
9331 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9332 __BEGIN/__END_DECLS.
9333
acd41f47
UD
93342011-05-06 Ulrich Drepper <drepper@gmail.com>
9335
9336 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9337 NSS_STATUS_NOTFOUND if no record was found.
9338
597df647
AS
93392011-05-05 Andreas Schwab <schwab@redhat.com>
9340
9341 * sunrpc/Makefile (headers): Add rpc/netdb.h.
9342 (headers-not-in-tirpc): Remove rpc/netdb.h
9343 * resolv/netdb.h: Revert last change.
9344
b9af1301
PP
93452011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9346
9347 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9348 circular dependency between libgcc.a and libc.a.
9349
4e34d5f5
AS
93502011-05-05 Andreas Schwab <schwab@redhat.com>
9351
9352 * resolv/netdb.h: Don't include <rpc/netdb.h>.
9353 * nis/Makefile: Don't install rpcsvc/*.
9354 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9355 instead of <rpc/types.h>.
9356 (MAXHOSTNAMELEN): Define.
9357
00ee369c
AS
93582011-05-03 Andreas Schwab <schwab@redhat.com>
9359
9360 * elf/ldconfig.c (add_dir): Don't crash on empty path.
9361
0b592a30
MB
93622011-04-28 Maciej Babinski <mbabinski@google.com>
9363
9364 [BZ #12714]
9365 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9366 gethostbyname4_r when IPv6 results are possible.
9367
6e04cbbe
UD
93682011-05-02 Ulrich Drepper <drepper@gmail.com>
9369
9370 [BZ #12723]
9371 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9372 _PC_PIPE_BUF handling.
9373
e4ecafe0
BH
93742011-04-30 Bruno Haible <bruno@clisp.org>
9375
9376 [BZ #12717]
9377 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9378 * resolv/netdb.h (getnameinfo): Change type of flags parameter
9379 to 'int'.
9380 * inet/getnameinfo.c (getnameinfo): Likewise.
9381
125ee683
UD
93822011-04-29 Ulrich Drepper <drepper@gmail.com>
9383
9384 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9385 to groups setting in database lookup.
9386 * nss/nsswitch.conf: Add initgroups entry.
9387
b722481a
EB
93882011-04-22 Ulrich Drepper <drepper@gmail.com>
9389
9390 [BZ #12685]
9391 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9392 mode string.
9393 Patch by Eric Blake <eblake@redhat.com>.
9394
4df46dbd
L
93952011-04-20 H.J. Lu <hongjiu.lu@intel.com>
9396
9397 * sunrpc/Makefile (need-export-routines): Add svc_run.
9398 (routines): Remove svc_run.
9399 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9400 * sunrpc/clnt_perr.c (clnt_perrno): Export.
9401 * sunrpc/svc_run.c (svc_run): Likewise.
9402 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9403
e84142d2
UD
94042011-04-21 Ulrich Drepper <drepper@gmail.com>
9405
9406 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9407 problem in reallocation in last patch.
9408
877175d8
UD
94092011-04-20 Ulrich Drepper <drepper@gmail.com>
9410
9411 * sunrpc/Makefile: Move inclusion of Rules.
9412
ab8eed78
UD
94132011-04-19 Ulrich Drepper <drepper@gmail.com>
9414
9415 * nss/nss_files/files-initgroups.c: New file.
9416 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9417 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9418 _nss_files_initgroups_dyn.
9419
e3d8f584
RS
94202011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9421
9422 * elf/elf.h (R_ARM_IRELATIVE): Define.
9423
af190f45
UD
94242011-04-19 Ulrich Drepper <drepper@gmail.com>
9425
9426 * po/ru.po: Update from translation team.
9427
53cf59ef
UD
94282011-04-17 Ulrich Drepper <drepper@gmail.com>
9429
9430 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9431 dependencies.
9432
4c559bcd
MF
94332011-02-06 Mike Frysinger <vapier@gentoo.org>
9434
9435 [BZ #12653]
9436 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9437 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9438 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9439 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9440 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9441
4420675c
AS
94422011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9443
9444 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9445 differing bytes.
9446 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9447 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9448 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9449
75ea32ab
UD
94502011-04-17 Ulrich Drepper <drepper@gmail.com>
9451
9452 [BZ #12420]
9453 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9454 storing it.
9455 * stdlib/bug-getcontext.c: New file.
9456 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9457
27390476
AK
94582011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9459
9460 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9461 instructions into .machine "z9-109".
9462 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9463 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9464
10442705
AK
94652011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9466
9467 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9468 between environment variables and auxiliary vector.
9469
7b57bfe5
UD
94702011-04-16 Ulrich Drepper <drepper@gmail.com>
9471
9472 * Makefile: Add rules to build linkobj/libc.so.
9473 * include/libc-symbols.h: Define libc_hidden_nolink.
9474 * include/rpc/auth.h: Mark functions which are to be hidden.
9475 * include/rpc/auth_des.h: Likewise.
9476 * include/rpc/auth_unix.h: Likewise.
9477 * include/rpc/clnt.h: Likewise.
9478 * include/rpc/des_crypt.h: Likewise.
9479 * include/rpc/key_prot.h: Likewise.
9480 * include/rpc/pmap_clnt.h: Likewise.
9481 * include/rpc/pmap_prot.h: Likewise.
9482 * include/rpc/pmap_rmt.h: Likewise.
9483 * include/rpc/rpc_msg.h: Likewise.
9484 * include/rpc/svc.h: Likewise.
9485 * include/rpc/svc_auth.h: Likewise.
9486 * include/rpc/xdr.h: Likewise.
9487 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9488 * nss/Makefile: Likewise.
9489 * sunrpc/Makefile: Don't install headers. Build library with normal
9490 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9491 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9492 for the compat linking library. Remove use of INTDEF/INTUSE.
9493 * sunrpc/auth_none.c: Likewise.
9494 * sunrpc/auth_unix.c: Likewise.
9495 * sunrpc/authdes_prot.c: Likewise.
9496 * sunrpc/authuxprot.c: Likewise.
9497 * sunrpc/clnt_gen.c: Likewise.
9498 * sunrpc/clnt_perr.c: Likewise.
9499 * sunrpc/clnt_raw.c: Likewise.
9500 * sunrpc/clnt_simp.c: Likewise.
9501 * sunrpc/clnt_tcp.c: Likewise.
9502 * sunrpc/clnt_udp.c: Likewise.
9503 * sunrpc/clnt_unix.c: Likewise.
9504 * sunrpc/des_crypt.c: Likewise.
9505 * sunrpc/des_soft.c: Likewise.
9506 * sunrpc/get_myaddr.c: Likewise.
9507 * sunrpc/key_call.c: Likewise.
9508 * sunrpc/key_prot.c: Likewise.
9509 * sunrpc/netname.c: Likewise.
9510 * sunrpc/pm_getmaps.c: Likewise.
9511 * sunrpc/pm_getport.c: Likewise.
9512 * sunrpc/pmap_clnt.c: Likewise.
9513 * sunrpc/pmap_prot.c: Likewise.
9514 * sunrpc/pmap_prot2.c: Likewise.
9515 * sunrpc/pmap_rmt.c: Likewise.
9516 * sunrpc/publickey.c: Likewise.
9517 * sunrpc/rpc_cmsg.c: Likewise.
9518 * sunrpc/rpc_common.c: Likewise.
9519 * sunrpc/rpc_dtable.c: Likewise.
9520 * sunrpc/rpc_prot.c: Likewise.
9521 * sunrpc/rpc_thread.c: Likewise.
9522 * sunrpc/rtime.c: Likewise.
9523 * sunrpc/svc.c: Likewise.
9524 * sunrpc/svc_auth.c: Likewise.
9525 * sunrpc/svc_authux.c: Likewise.
9526 * sunrpc/svc_raw.c: Likewise.
9527 * sunrpc/svc_run.c: Likewise.
9528 * sunrpc/svc_simple.c: Likewise.
9529 * sunrpc/svc_tcp.c: Likewise.
9530 * sunrpc/svc_udp.c: Likewise.
9531 * sunrpc/svc_unix.c: Likewise.
9532 * sunrpc/svcauth_des.c: Likewise.
9533 * sunrpc/xcrypt.c: Likewise.
9534 * sunrpc/xdr.c: Likewise.
9535 * sunrpc/xdr_array.c: Likewise.
9536 * sunrpc/xdr_float.c: Likewise.
9537 * sunrpc/xdr_intXX_t.c: Likewise.
9538 * sunrpc/xdr_mem.c: Likewise.
9539 * sunrpc/xdr_rec.c: Likewise.
9540 * sunrpc/xdr_ref.c: Likewise.
9541 * sunrpc/xdr_sizeof.c: Likewise.
9542 * sunrpc/xdr_stdio.c: Likewise.
9543
e6c61494
UD
95442011-04-10 Ulrich Drepper <drepper@gmail.com>
9545
9546 [BZ #12650]
9547 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9548 * sysdeps/ia64/dl-tls.h: Likewise.
9549 * sysdeps/powerpc/dl-tls.h: Likewise.
9550 * sysdeps/s390/dl-tls.h: Likewise.
9551 * sysdeps/sh/dl-tls.h: Likewise.
9552 * sysdeps/sparc/dl-tls.h: Likewise.
9553 * sysdeps/x86_64/dl-tls.h: Likewise.
9554 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9555
34fe483e
AS
95562011-03-14 Andreas Schwab <schwab@redhat.com>
9557
9558 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9559 rpath element also skip the following colon.
9560 (expand_dynamic_string_token): Add is_path parameter and pass
9561 down to DL_DST_REQUIRED and _dl_dst_substitute.
9562 (decompose_rpath): Call expand_dynamic_string_token with
9563 non-zero is_path. Ignore empty rpaths.
9564 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9565 with zero is_path.
9566
f12a32e6
AS
95672011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9568
9569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9570 Make cancelable.
9571
38a7d692
UD
95722011-04-09 Ulrich Drepper <drepper@gmail.com>
9573
9574 [BZ #12655]
9575 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9576 Patch by Filipe David Manana <fdmanana@apache.org>.
9577
e451d22b
AS
95782011-04-07 Andreas Schwab <schwab@redhat.com>
9579
9580 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9581 Maintain aligned stack.
9582 (CHECK_RSP): Remove unused macro.
9583
dedc7c7b
UD
95842011-04-03 Ulrich Drepper <drepper@gmail.com>
9585
9586 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9587 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9588
94521213
UD
95892011-04-02 Ulrich Drepper <drepper@gmail.com>
9590
9591 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9592
8cb700c0 9593 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 9594
0354e355
L
95952011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9596
9597 [BZ #12518]
9598 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9599 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9600 * sysdeps/x86_64/memmove.c: New file.
9601 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9602 (memcpy): Renamed to ...
9603 (__new_memcpy): This.
9604 (memcpy): Provide GLIBC_2_14 memcpy.
9605 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9606 (memcpy): Provide GLIBC_2_2_5 memcpy.
9607
8593482f
UD
96082011-04-01 Ulrich Drepper <drepper@gmail.com>
9609
9610 [BZ #12631]
9611 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9612
81a5726b
AS
96132011-03-30 Andreas Schwab <schwab@redhat.com>
9614
9615 * misc/syncfs.c: New file.
9616 * misc/Makefile (routines): Add syncfs.
9617 * posix/unistd.h: Declare syncfs.
9618 * sysdeps/unix/syscalls.list: Add syncfs.
9619
00e5419f
AS
96202011-04-01 Andreas Schwab <schwab@redhat.com>
9621
9622 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9623 open_by_handle_at.
9624 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9625 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9626 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9627 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9628 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9629 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9630 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9631
748876bf
UD
96322011-04-01 Ulrich Drepper <drepper@gmail.com>
9633
658e451d
UD
9634 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9635 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9636 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9637 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9638 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9639 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9640 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9641
748876bf
UD
9642 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9643 sync_file_range.c with -fexceptions.
9644 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9645 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9646 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9647 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9648 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9649 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9650 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
9651 sync_file_range as cancellation point
9652 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9653 now a wrapper around __call_sync_file_range with cancellation handling.
9654 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9655 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9656 function name to __call_sync_file_range.
9657 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9658 Add call_sync_file_range.
748876bf 9659
6e63d5e1
AS
96602011-04-01 Andreas Schwab <schwab@redhat.com>
9661
9662 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 9663 bits/timex.h.
6e63d5e1 9664
46998f74
UD
96652011-04-01 Ulrich Drepper <drepper@gmail.com>
9666
4c1423ed
UD
9667 * iconv/iconv.h: Fix typo in comment.
9668 * io/fcntl.h: Likewise.
9669 * libio/stdio.h: Likewise.
9670 * posix/spawn.h: Likewise.
9671 * posix/unistd.h: Likewise.
9672 * stdlib/stdlib.h: Likewise.
9673 * time/time.h: Likewise.
9674 * wcsmbs/wchar.h: Likewise.
9675
158648c0
UD
9676 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9677 open_by_handle): Add.
9678 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9679 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9680 Augment a few comments.
9681 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9682 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9683 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9684 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9685 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9686 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9687 open_by_handle.
9688
46998f74
UD
9689 * io/fcntl.h (AT_EMPTY_PATH): Define.
9690
83fe108b
UD
96912011-03-30 Ulrich Drepper <drepper@gmail.com>
9692
9693 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9694 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9695 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9696 to...
9697 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
9698 * Versions.def: Add GLIBC_2.14.
9699 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9700 Export.
83fe108b 9701
bb242059
UD
97022011-03-22 Ulrich Drepper <drepper@gmail.com>
9703
9704 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9705 round counter.
9706 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9707
c97a1282
L
97082011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9709
9710 [BZ #12597]
9711 * string/test-strncmp.c (do_page_test): New function.
9712 (check2): Likewise.
9713 (test_main): Call check2.
9714 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9715
2a115601
UD
97162011-03-20 Ulrich Drepper <drepper@gmail.com>
9717
9718 [BZ #12587]
9719 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9720 Handle cache information in CPU leaf 4.
9721 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9722
8126d904
UD
97232011-03-18 Ulrich Drepper <drepper@gmail.com>
9724
042c49c6 9725 [BZ #12583]
8126d904
UD
9726 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9727 character representation.
9728 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9729
ccfe366e
RA
97302011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9731
9732 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9733 END(__isnan) to END(__isnanf) to match function entry point/label
9734 EALIGN(__isnanf,...).
9735
c6e13027
JJ
97362011-03-10 Jakub Jelinek <jakub@redhat.com>
9737
9738 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9739
33f85a3f
UD
97402011-03-10 Ulrich Drepper <drepper@gmail.com>
9741
028478fa
UD
9742 [BZ #12510]
9743 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9744 copy from the symbol referenced in the relocation to initialize the
9745 used variable.
9746 Patch by Piotr Bury <pbury@goahead.com>.
9747 * elf/Makefile: Add rules to build and tst-unique3.
9748 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9749 * elf/tst-unique3.cc: New file.
9750 * elf/tst-unique3.h: New file.
9751 * elf/tst-unique3lib.cc: New file.
9752 * elf/tst-unique3lib2.cc: New file.
9753
33f85a3f
UD
9754 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9755
03592fc7
MF
97562011-03-10 Mike Frysinger <vapier@gentoo.org>
9757
9758 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9759 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9760 to _start.
03592fc7 9761
6a5ee102
UD
97622011-03-06 Ulrich Drepper <drepper@gmail.com>
9763
9764 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9765 to-be-loaded object along a path to loader is ld.so.
9766
7e4ba49c
HJ
97672011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9768 Ulrich Drepper <drepper@gmail.com>
9769
9770 * sysdeps/x86_64/memset.S: After aligning destination, code
9771 branches to different locations depending on the value of
9772 misalignment, when multiarch is enabled. Fix this.
9773
97742011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9775
9776 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9777 Set _x86_64_preferred_memory_instruction for AMD processsors.
9778 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9779 Set bit_Prefer_SSE_for_memop for AMD processors.
9780
13a804de
UD
97812011-03-04 Ulrich Drepper <drepper@gmail.com>
9782
9783 * libio/fmemopen.c (fmemopen): Optimize a bit.
9784
9d25c392
AS
97852011-03-03 Andreas Schwab <schwab@redhat.com>
9786
9787 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9788
a5543c6a
RM
97892011-03-03 Roland McGrath <roland@redhat.com>
9790
9791 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9792
012d35f7
DM
97932011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9794
7e4ba49c 9795 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
9796 __bzero_ultra1 instead of __memset_ultra1.
9797
4bff6e01
AS
97982011-02-23 Andreas Schwab <schwab@redhat.com>
9799 Ulrich Drepper <drepper@gmail.com>
9800
9801 [BZ #12509]
9802 * include/link.h (struct link_map): Add l_orig_initfini.
9803 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9804 returning unsuccessfully.
9805 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9806 close of a file loaded at startup, restore the original l_initfini
9807 list.
9808 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9809 list, store the pointer.
9810 * elf/Makefile ($(objpfx)noload-mem): New rule.
9811 (noload-ENV): Define.
9812 (tests): Add $(objpfx)noload-mem.
9813 * elf/noload.c: Include <memcheck.h>.
9814 (main): Call mtrace. Close all opened handles.
9815
f2092faf
AS
98162011-02-17 Andreas Schwab <schwab@redhat.com>
9817
9818 [BZ #12454]
9819 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9820 dependencies are missing.
9821
6c8a2e88
ST
98222011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9823
f2092faf 9824 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
9825 Hurd needs munmap.
9826 * sysdeps/mach/hurd/ifreq.h: New file.
9827
84a42118
PB
98282011-01-27 Petr Baudis <pasky@suse.cz>
9829 Ulrich Drepper <drepper@gmail.com>
9830
071f805e 9831 [BZ 12445]#
84a42118
PB
9832 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9833 to extend_alloca().
9834 * stdio-common/bug23.c: New file.
9835 * stdio-common/Makefile (tests): Add bug23.
9836
e23fe25b
AS
98372010-09-28 Andreas Schwab <schwab@redhat.com>
9838 Ulrich Drepper <drepper@gmail.com>
9839
9840 [BZ #12489]
9841 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9842 before performing relro protection. At old place add assertion
9843 to make sure nothing changed.
9844
d3f02e10
NS
98452011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9846 Glauber de Oliveira Costa <glommer@gmail.com>
9847
9848 * elf/elf.h: Add new ARM TLS relocs.
9849
d55fd7a5
RA
98502011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9851
9852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9853 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9854 cast from r3.
9855 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9856 'tests' variable.
9857 * sysdeps/wordsize-64/tst-writev.c: New file.
9858
2206397e
RA
98592011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9860
9861 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9862 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9863 insns in _dl_start to prevent a TOC reference before relocs are
9864 resolved.
9865
e9433893
UD
98662011-02-15 Ulrich Drepper <drepper@gmail.com>
9867
9868 [BZ #12469]
9869 * Makeconfig: Remove RANLIB definition.
9870 * Makerules: Don't use RANLIB.
9871 * aclocal.m4: Remove ranlib test.
9872 * configure.in: No need to check for ranlib.
9873 * elf/rtld-Rules: Don't use RANLIB.
9874
f75286c6
ST
98752011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9876
8e31c82d
ST
9877 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9878 protection macro.
9879 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9880 inclusion protection macro.
9881
f75286c6
ST
9882 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9883 SIGRTMIN and SIGRTMAX and print information in that case only when
9884 SIGRTMIN is defined.
9885
c1d0e639
JJ
98862011-02-11 Jakub Jelinek <jakub@redhat.com>
9887
9888 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9889 arginfo fn returning -1.
9890
9891 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9892 and thousands string is zero terminated.
9893
edf9294e
AS
98942011-02-03 Andreas Schwab <schwab@redhat.com>
9895
9896 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9897 sysdeps/unix/sysv/linux/bits/socket.h.
9898
2b7e92df
ST
98992011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9900
edf9294e
AS
9901 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9902 (__CPU_COUNT): Remove old macros.
9903 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9904 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9905 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
9906 (__sched_cpualloc, __sched_cpufree): Add declarations.
9907
a4c7ea7b
UD
99082011-02-05 Ulrich Drepper <drepper@gmail.com>
9909
9910 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9911 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9912 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9913 (readdhstai): Return value of addhstaiX call.
9914 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9915 (addgrbyX): Return value returned by cache_addgr.
9916 (readdgrbyname): Return value returned by addgrbyX.
9917 (readdgrbygid): Likewise.
9918 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9919 (addpwbyX): Return value returned by cache_addpw.
9920 (readdpwbyname): Return value returned by addhstbyX.
9921 (readdpwbyuid): Likewise.
9922 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9923 (addservbyX): Return value returned by cache_addserv.
9924 (readdservbyname): Return value returned by addservbyX:
9925 (readdservbyport): Likewise.
9926 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9927 (addhstbyX): Return value returned by cache_addhst.
9928 (readdhstbyname): Return value returned by addhstbyX.
9929 (readdhstbyaddr): Likewise.
9930 (readdhstbynamev6): Likewise.
9931 (readdhstbyaddrv6): Likewise.
9932 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9933 (readdinitgroups): Return value returned by addinitgroupsX.
9934 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9935 (prune_cache): Keep track of timeout value of re-added entries.
9936 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9937 * nscd/nscd.h: Adjust prototypes of readd* functions.
9938
a0bf67cc
RM
99392011-02-04 Roland McGrath <roland@redhat.com>
9940
9941 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9942 (nis_stats): Likewise.
9943 * nis/nis_modify.c (nis_modify): Likewise.
9944 * nis/nis_remove.c (nis_remove): Likewise.
9945 * nis/nis_add.c (nis_add): Likewise.
9946
9947 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9948
9949 * posix/fnmatch_loop.c: Add some consts.
9950
9951 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9952
435b95eb
L
99532011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9954
9955 [BZ #12460]
9956 * config.make.in (config-cflags-novzeroupper): Define.
9957 * configure.in: Substitute libc_cv_cc_novzeroupper.
9958 * elf/Makefile (AVX-CFLAGS): Define.
9959 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9960 (CFLAGS-tst-auditmod4a.c): Likewise.
9961 (CFLAGS-tst-auditmod4b.c): Likewise.
9962 (CFLAGS-tst-auditmod6b.c): Likewise.
9963 (CFLAGS-tst-auditmod6c.c): Likewise.
9964 (CFLAGS-tst-auditmod7b.c): Likewise.
9965 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9966
8517b15e
UD
99672011-02-02 Ulrich Drepper <drepper@gmail.com>
9968
9969 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9970 function to the callback.
9971 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9972
10a656fe
AS
99732011-02-02 Andreas Schwab <schwab@redhat.com>
9974
9975 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9976 of errno.
9977
968dad0a
UD
99782011-01-19 Ulrich Drepper <drepper@gmail.com>
9979
9f94d2ea 9980 [BZ #11724]
968dad0a
UD
9981 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9982 of constructors.
9983 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9984 of destructors.
9985 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9986
9987 [BZ #11724]
9988 * elf/Makefile: Add rules to build and run new test.
9989 * elf/tst-initorder.c: New file.
9990 * elf/tst-initorder.exp: New file.
9991 * elf/tst-initordera1.c: New file.
9992 * elf/tst-initordera2.c: New file.
9993 * elf/tst-initordera3.c: New file.
9994 * elf/tst-initordera4.c: New file.
9995 * elf/tst-initorderb1.c: New file.
9996 * elf/tst-initorderb2.c: New file.
9997 * elf/tst-order-a1.c: New file.
9998 * elf/tst-order-a2.c: New file.
9999 * elf/tst-order-a3.c: New file.
10000 * elf/tst-order-a4.c: New file.
10001 * elf/tst-order-b1.c: New file.
10002 * elf/tst-order-b2.c: New file.
10003 * elf/tst-order-main.c: New file.
10004 New test case by George Gensure <werkt0@gmail.com>.
10005
86e92359
UD
100062010-10-01 Andreas Schwab <schwab@redhat.com>
10007
10008 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10009 decoding ACE if AI_CANONIDN.
10010
5d5732b0
UD
100112011-01-18 Ulrich Drepper <drepper@gmail.com>
10012
10013 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
10014
a77e8cbc
UD
100152011-01-17 Ulrich Drepper <drepper@gmail.com>
10016
6392473f
UD
10017 * version.h (RELEASE): Bump for 2.13 release.
10018 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
10019
620a0529
UD
10020 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
10021
18ba70a5
UD
10022 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
10023 MADV_NOHUGEPAGE.
32465c3e
UD
10024 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
10025 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10026 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10027 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10028 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10029 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10030
c0dafcf1
UD
10031 * posix/getconf.c: Update copyright year.
10032 * catgets/gencat.c: Likewise.
10033 * csu/version.c: Likewise.
10034 * debug/catchsegv.sh: Likewise.
10035 * debug/xtrace.sh: Likewise.
10036 * elf/ldconfig.c: Likewise.
10037 * elf/ldd.bash.in: Likewise.
10038 * elf/sprof.c (print_version): Likewise.
10039 * iconv/iconv_prog.c: Likewise.
10040 * iconv/iconvconfig.c: Likewise.
10041 * locale/programs/locale.c: Likewise.
10042 * locale/programs/localedef.c: Likewise.
10043 * malloc/memusage.sh: Likewise.
10044 * malloc/mtrace.pl: Likewise.
10045 * nscd/nscd.c (print_version): Likewise.
10046 * nss/getent.c: Likewise.
10047
a77e8cbc
UD
10048 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
10049 PF_CAIF, and PF_ALG.
10050 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10051
77e8bddf
AS
100522011-01-16 Andreas Schwab <schwab@linux-m68k.org>
10053
1f20b93a
AS
10054 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
10055 (modules-names): Use them.
10056 (ifunc-test-modules, ifunc-pie-tests): Define.
10057 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10058 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10059 (test-extras): Likewise.
10060 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10061 $(compile-command.c).
10062 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10063 (all-built-dso): Define.
10064 (check-textrel.out, check-execstack.out): Depend on it.
10065
77e8bddf
AS
10066 * configure.in: Don't override --enable-multi-arch.
10067
bc425b33
UD
100682011-01-15 Ulrich Drepper <drepper@gmail.com>
10069
10070 [BZ #6812]
10071 * nscd/hstcache.c (tryagain): Define.
10072 (cache_addhst): Return tryagain not notfound for temporary errors.
10073 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10074 failed.
10075
794c3ad3
UD
100762011-01-14 Ulrich Drepper <drepper@gmail.com>
10077
70181fdd
UD
10078 [BZ #10563]
10079 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10080 to make the syscall.
10081 * sysdeps/unix/sysv/linux/setgroups.c: New file.
10082
794c3ad3
UD
10083 [BZ #12378]
10084 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10085 and fall back to matching as normal character if the string ends before
10086 the matching ']' is found. This is what POSIX requires.
10087 * posix/testfnm.c: Adjust test result.
10088 * posix/globtest.sh: Adjust test result. Add new test.
10089 * posix/tst-fnmatch.input: Likewise.
10090 * posix/tst-fnmatch2.c: Add new test.
10091
68dc9497
AS
100922010-12-28 Andreas Schwab <schwab@linux-m68k.org>
10093
10094 * elf/Makefile (check-execstack): Revert last change. Depend on
10095 check-execstack.h.
10096 (check-execstack.h): New target.
10097 (generated): Add check-execstack.h.
10098 * elf/check-execstack.c: Include "check-execstack.h".
10099 (main): Revert last change.
10100 (handle_file): Return zero if GNU_STACK is absent and
10101 DEFAULT_STACK_PERMS doesn't include PF_X.
10102
451f001b
UD
101032011-01-13 Ulrich Drepper <drepper@gmail.com>
10104
cfa28e56
UD
10105 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10106 in child fails because the descriptor is already closed.
8cf8ce17
UD
10107 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10108 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10109 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 10110
1086d70d
UD
10111 [BZ #12397]
10112 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10113 syscall.
10114
451f001b
UD
10115 [BZ #10484]
10116 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10117 temporary buffer used to handle multi lookups locally.
a85b5cb4 10118 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 10119
08769175
UD
101202011-01-12 Ulrich Drepper <drepper@gmail.com>
10121
10122 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10123 loader is ld.so.
10124
5e49c52e
UD
101252011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
10126
10127 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10128 alignment for SSE2.
10129
60522a5f
UD
101302011-01-12 Ulrich Drepper <drepper@gmail.com>
10131
10132 [BZ #12394]
10133 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10134 characters. When rounding increased number of integer digits recompute
10135 number of groups.
10136 * stdio-common/tst-grouping.c: New file.
10137 * stdio-common/Makefile: Add rules to build and run tst-grouping.
10138
f257bbd7
UD
101392011-01-09 Ulrich Drepper <drepper@gmail.com>
10140
10141 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10142 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
10143
10144 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10145 void.
10146 * bits/select.h: Likewise.
10147
fa9c15cb
UD
101482011-01-08 Ulrich Drepper <drepper@gmail.com>
10149
10150 * po/ja.po: Update from translation team.
10151
16c2895f
DM
101522011-01-04 David S. Miller <davem@sunset.davemloft.net>
10153
10154 [BZ #11155]
10155 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10156 implementation just like for lxstat, fxstatat, et al.
10157
2543fef2
JM
101582010-12-27 Jim Meyering <meyering@redhat.com>
10159
10160 [BZ #12348]
10161 * posix/regexec.c (build_trtable): Return failure indication upon
10162 calloc failure. Otherwise, re_search_internal could infloop on OOM.
10163
98727dbe
UD
101642010-12-25 Ulrich Drepper <drepper@gmail.com>
10165
5bd6dc5c
UD
10166 [BZ #12201]
10167 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10168 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10169 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10170 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
10171
97983464
UD
10172 [BZ #12207]
10173 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
10174
98727dbe
UD
10175 [BZ #12204]
10176 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
10177 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
10178
4a531bb0
L
101792010-12-15 H.J. Lu <hongjiu.lu@intel.com>
10180
10181 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
10182 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
10183 script has SORT_BY_INIT_PRIORITY.
10184 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
10185 NO_CTORS_DTORS_SECTIONS is defined.
10186 * elf/soinit.c: Likewise.
10187 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
10188 NO_CTORS_DTORS_SECTIONS is defined.
10189 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
10190 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10191 * sysdeps/sh/init-first.c: Likewise.
10192 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10193
07eb4b71
UD
101942010-12-24 Ulrich Drepper <drepper@gmail.com>
10195
10196 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10197 always use the slow path.
10198
30950a5f
RA
101992010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
10200
10201 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10202 similar rule which adds the sysdep directories to the header search in
10203 order to pick up the correct platform stackinfo.h.
10204 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10205 perform test if it is, otherwise return successfully without testing.
10206 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10207 DEFAULT_STACK_PERMS define in stackinfo.h.
10208 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10209 defined in stackinfo.h.
10210 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10211 DEFAULT_STACK_PERMS defined in stackinfo.h.
10212 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10213 * sysdeps/ia64/stackinfo.h: Likewise.
10214 * sysdeps/s390/stackinfo.h: Likewise.
10215 * sysdeps/sh/stackinfo.h: Likewise.
10216 * sysdeps/sparc/stackinfo.h: Likewise.
10217 * sysdeps/x86_64/stackinfo.h: Likewise.
10218 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10219 PF_X for powerpc64. Retain PF_X for powerpc32.
10220
db753e2c
UD
102212010-12-19 Ulrich Drepper <drepper@gmail.com>
10222
14b697f7
UD
10223 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10224 accurately.
db753e2c
UD
10225 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10226 GETDENTS_64BIT_ALIGNED.
10227
28300719
UD
102282010-12-14 Ulrich Drepper <dreper@gmail.com>
10229
14b697f7 10230 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 10231
4f197237
AS
102322010-12-10 Andreas Schwab <schwab@redhat.com>
10233
dbb0472f
AS
10234 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10235 _GNU_SOURCE.
10236
4f197237
AS
10237 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10238 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10239 Remove __restrict.
10240 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10241 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10242
fb88ac72
UD
102432010-12-09 Ulrich Drepper <drepper@gmail.com>
10244
10245 [BZ #11655]
10246 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10247 are initialized.
10248
42acbb92
JJ
102492010-12-09 Jakub Jelinek <jakub@redhat.com>
10250
10251 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10252
c038d98d
UD
102532010-12-03 Ulrich Drepper <drepper@gmail.com>
10254
10255 * po/it.po: Update from translation team.
10256
3a4a2499
L
102572010-12-01 H.J. Lu <hongjiu.lu@intel.com>
10258
10259 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10260 unused codes.
10261
1e24cf6e
UD
102622010-11-30 Ulrich Drepper <drepper@gmail.com>
10263
10264 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10265
a7690819
AS
102662010-11-24 Andreas Schwab <schwab@redhat.com>
10267
10268 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10269 specially.
10270 (gaih_getanswer_slice): Likewise.
10271
3bf8d1b1
JJ
102722010-10-20 Jakub Jelinek <jakub@redhat.com>
10273
10274 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10275
6db52fbb
PB
102762010-05-31 Petr Baudis <pasky@suse.cz>
10277
10278 [BZ #11149]
10279 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10280 silently even in the chroot mode.
10281
eaca7569
UD
102822010-11-22 Ulrich Drepper <drepper@gmail.com>
10283
10284 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10285 last patch a bit. Pretty printing
10286
3056dcdb
UD
102872010-05-31 Petr Baudis <pasky@suse.cz>
10288
10289 [BZ #10085]
10290 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10291 initialization of skip_initgroups_dyn.
10292
cf7c9078
UD
102932010-11-19 Ulrich Drepper <drepper@gmail.com>
10294
10295 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10296 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10297
a1fb5e3e
UD
102982010-11-16 Ulrich Drepper <drepper@gmail.com>
10299
10300 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10301
3540d66b
AS
103022010-11-11 Andreas Schwab <schwab@redhat.com>
10303
10304 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10305 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10306 (tst-fnmatch-ENV): Set MALLOC_TRACE.
10307 ($(objpfx)tst-fnmatch-mem): New rule.
10308 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10309 * posix/tst-fnmatch.c (main): Call mtrace.
10310
13b69574
L
103112010-11-11 H.J. Lu <hongjiu.lu@intel.com>
10312
10313 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10314 Support Intel processor model 6 and model 0x2c.
10315
da93d214
LM
103162010-11-10 Luis Machado <luisgpm@br.ibm.com>
10317
10318 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10319 signed comparison.
10320
8ca52c6e
L
103212010-11-09 H.J. Lu <hongjiu.lu@intel.com>
10322
10323 [BZ #12205]
10324 * string/test-strncasecmp.c (check_result): New function.
10325 (do_one_test): Use it.
10326 (check1): New function.
10327 (test_main): Use it.
10328 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10329 Support strcasecmp and strncasecmp.
10330
69da074d
UD
103312010-11-08 Ulrich Drepper <drepper@gmail.com>
10332
10333 [BZ #12194]
10334 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10335 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10336
ff02d528
L
103372010-11-07 H.J. Lu <hongjiu.lu@intel.com>
10338
10339 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10340 IFUNC support.
10341 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10342 memset-x86-64.
10343 * sysdeps/x86_64/multiarch/bzero.S: New file.
10344 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10345 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10346 * sysdeps/x86_64/multiarch/memset.S: New file.
10347 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10348 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10349 Set bit_Prefer_SSE_for_memop for Intel processors.
10350 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10351 Define.
10352 (index_Prefer_SSE_for_memop): Define.
10353 (HAS_PREFER_SSE_FOR_MEMOP): Define.
10354
344d0b54
LM
103552010-11-04 Luis Machado <luisgpm@br.ibm.com>
10356
10357 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10358 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10359
c0dde15b
UD
103602010-11-03 H.J. Lu <hongjiu.lu@intel.com>
10361
10362 [BZ #12191]
10363 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10364 (__x86_64_raw_data_cache_size_half): Likewise.
10365 (__x86_64_raw_shared_cache_size): Likewise.
10366 (__x86_64_raw_shared_cache_size_half): Likewise.
10367
10368 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10369 (__x86_64_raw_data_cache_size_half): Likewise.
10370 (__x86_64_raw_shared_cache_size): Likewise.
10371 (__x86_64_raw_shared_cache_size_half): Likewise.
10372 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10373 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10374 and __x86_64_raw_shared_cache_size_half. Round
10375 __x86_64_data_cache_size_half, __x86_64_data_cache_size
10376 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10377 to multiple of 256 bytes.
10378
0e516e0e
MS
103792010-11-03 Ulrich Drepper <drepper@gmail.com>
10380
10381 [BZ #12167]
10382 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10383 of inacessible symlinks. Verify result of symlink before returning it.
10384 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10385 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10386
0e012e87
ER
103872010-10-28 Erich Ritz <erichritz@gmail.com>
10388
10389 * math/math.h (isinf): Fix typo in comment.
10390
de0ff7bc
UD
103912010-11-01 Ulrich Drepper <drepper@gmail.com>
10392
10393 * po/da.po: Update from translation team.
10394
fa41c84d
UD
103952010-10-26 Ulrich Drepper <drepper@gmail.com>
10396
10397 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10398 is added to the list.
10399
f0967738
AK
104002010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10401 Ulrich Drepper <drepper@gmail.com>
10402
10403 * elf/dl-object.c (_dl_new_object): Don't append the new object to
10404 the global list here. Move code to...
10405 (_dl_add_to_namespace_list): ...here. New function.
10406 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10407 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10408 * elf/dl-load.c (lose): Don't remove the element from the list.
10409 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10410 (_dl_map_object): Likewise.
10411
104122010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
10413
10414 [BZ #12159]
10415 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10416 into all bytes of SSE register.
10417 Patch by Richard Li <richardpku@gmail.com>.
10418
f0967738 104192010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
10420
10421 [BZ #12140]
10422 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10423 perturbing.
10424
d0b9e94f
MB
104252010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10426
10427 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10428 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10429 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10430 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10432 submachine.
10433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10434
8e9f92e9
AS
104352010-10-22 Andreas Schwab <schwab@redhat.com>
10436
10437 * include/dlfcn.h (__RTLD_SECURE): Define.
10438 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10439 mode & __RTLD_SECURE instead.
10440 (open_path): Rename preloaded parameter to secure.
10441 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10442 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10443 * elf/dl-deps.c (openaux): Likewise.
10444 * elf/rtld.c (struct map_args): Remove is_preloaded.
10445 (map_doit): Don't use it.
10446 (dl_main): Likewise.
10447 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10448 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10449
bc96fbda
AS
104502010-09-09 Andreas Schwab <schwab@redhat.com>
10451
10452 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10453 (sysd-rules-targets): Remove duplicates.
10454 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10455 rtld-%.$o dependency.
10456
22cd1c9b
AS
104572010-10-18 Andreas Schwab <schwab@redhat.com>
10458
10459 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10460 _dl_map_object do it.
10461
18edac48
UD
104622010-10-19 Ulrich Drepper <drepper@gmail.com>
10463
10464 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10465 fast fma builtins, define the macros in the C99 standard.
10466 (FP_FAST_FMAF): Likewise.
10467 (FP_FAST_FMAL): Likewise.
10468 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10469
10470 * bits/mathdef.h: Update copyright year.
10471 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10472
d2050124
MM
104732010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10474
10475 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10476 builtins, define the macros in the C99 standard.
10477 (FP_FAST_FMAF): Likewise.
10478 (FP_FAST_FMAL): Likewise.
10479 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10480 multiply/add.
10481 (FP_FAST_FMAF): Likewise.
10482
475facd1
JJ
104832010-10-15 Jakub Jelinek <jakub@redhat.com>
10484
10485 [BZ #3268]
10486 * math/libm-test.inc (fma_test): Some new testcases.
10487 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10488 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10489 y and infinite z. Do multiplication by C already in long double.
10490 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10491 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10492 y and infinite z. Do bitwise or of inexact bit into u.d.
10493 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10494 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10495 * sysdeps/i386/fpu/s_fma.S: Removed.
10496 * sysdeps/i386/fpu/s_fmal.S: Removed.
10497
7c08a05c
JJ
104982010-10-16 Jakub Jelinek <jakub@redhat.com>
10499
10500 [BZ #3268]
10501 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10502 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10503 computation is not scheduled after fetestexcept. Fix value
10504 of minimum denormal long double.
10505
f3f7372d
JJ
105062010-10-14 Jakub Jelinek <jakub@redhat.com>
10507
10508 [BZ #3268]
10509 * math/libm-test.inc (fma_test): Add some more tests.
10510 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10511 correctly.
10512
14d43591
AS
105132010-10-15 Andreas Schwab <schwab@redhat.com>
10514
10515 * scripts/data/localplt-s390-linux-gnu.data: New file.
10516 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10517
5e908464
JJ
105182010-10-13 Jakub Jelinek <jakub@redhat.com>
10519
10520 [BZ #3268]
10521 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10522 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10523 instead of dbl-64.
10524 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10525 inlines.
10526 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10527 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10528 if one of x and y is very large and the other is subnormal.
10529 * sysdeps/s390/fpu/s_fmaf.c: New file.
10530 * sysdeps/s390/fpu/s_fma.c: New file.
10531 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10532 * sysdeps/powerpc/fpu/s_fma.S: New file.
10533 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10534 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10535 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10536
105372010-10-12 Jakub Jelinek <jakub@redhat.com>
10538
10539 [BZ #3268]
10540 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10541 fma tests.
10542 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10543 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10544 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10545 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10546 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10547 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10548 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10549
b833d51f
UD
105502010-10-12 Ulrich Drepper <drepper@redhat.com>
10551
10552 [BZ #12078]
10553 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10554 * posix/bug-regex31.input: Add test case.
10555
1751705d
UD
105562010-10-11 Ulrich Drepper <drepper@gmail.com>
10557
e9b9cbf5
UD
10558 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10559 * posix/bug-regex31.input: New file.
10560
10561 [BZ #12078]
10562 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10563 (parse_sub_exp): Fix last change, use postorder.
10564
ef06edbe
UD
10565 * posix/bug-regex31.c: New file.
10566 * posix/Makefile: Add rules to build and run bug-regex31.
10567
a129c80d
UD
10568 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10569
10570 [BZ #12078]
10571 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10572
b76b818e
UD
10573 [BZ #12108]
10574 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10575 to have entries in sys_siglist.
10576
1751705d
UD
10577 [BZ #12093]
10578 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10579 be NULL.
10580
9ff8d36f
JJ
105812010-10-07 Jakub Jelinek <jakub@redhat.com>
10582
10583 [BZ #3268]
10584 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10585 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10586 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10587 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10588 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10589 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10590 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10591 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10592 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10593 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10594 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10595 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10596 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10597 * math/ftestexcept.c (fetestexcept): Likewise.
10598 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10599 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10600 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10601 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10602 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10603 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10604 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10605
af325969
UD
106062010-10-11 Ulrich Drepper <drepper@gmail.com>
10607
c579b202 10608 [BZ #12107]
af325969
UD
10609 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10610 newline.
10611
67a67b95
UD
106122010-10-06 Ulrich Drepper <drepper@gmail.com>
10613
10614 * string/bug-strstr1.c: New file.
10615 * string/Makefile: Add rules to build and run bug-strstr1.
10616
5fb308bc
EB
106172010-10-05 Eric Blake <eblake@redhat.com>
10618
10619 [BZ #12092]
10620 * string/str-two-way.h (two_way_long_needle): Always clear memory
10621 when skipping input due to the shift table.
10622
45db99c7
UD
106232010-10-03 Ulrich Drepper <drepper@gmail.com>
10624
3b111893
UD
10625 [BZ #12005]
10626 * malloc/mcheck.c: Handle large requests.
10627
45db99c7
UD
10628 [BZ #12077]
10629 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10630 for strncmp and strncasecmp.
10631 * string/stratcliff.c: Add tests for strcmp and strncmp.
10632 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10633
cf7a1eb8
NI
106342010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10635
10636 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10637 __set_fpscr.
10638
6484ba5e
AJ
106392010-09-30 Andreas Jaeger <aj@suse.de>
10640
10641 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10642 (CGROUP_SUPER_MAGIC): Define.
10643 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10644 Handle btrfs and cgroup file systems.
10645 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10646 Likewise.
10647
91c42559
LM
106482010-09-27 Luis Machado <luisgpm@br.ibm.com>
10649
10650 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10651 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10652
87a97932
AK
106532010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10654
10655 [BZ #12067]
10656 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10657 trying to locate the ELF header.
10658
c21cc9bc
AS
106592010-09-27 Andreas Schwab <schwab@redhat.com>
10660
10661 [BZ #11611]
10662 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10663 Mask out sign-bit copies when constructing f_fsid.
10664
315970f6
PB
106652010-09-24 Petr Baudis <pasky@suse.cz>
10666
10667 * debug/stack_chk_fail_local.c: Add missing licence exception.
10668 * debug/warning-nop.c: Likewise.
10669
1ac7a2c7
JM
106702010-09-15 Joseph Myers <joseph@codesourcery.com>
10671
10672 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10673 implementing getdents64 using getdents syscall, set d_type if
10674 __ASSUME_GETDENTS32_D_TYPE.
10675
56801c50
AS
106762010-09-16 Andreas Schwab <schwab@redhat.com>
10677
10678 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10679 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10680
dda51327
UD
106812010-09-21 Ulrich Drepper <drepper@redhat.com>
10682
10683 [BZ #12037]
10684 * posix/unistd.h: Undo change of feature selection for ftruncate from
10685 2010-01-11.
10686
8ffcee4a
UD
106872010-09-20 Ulrich Drepper <drepper@redhat.com>
10688
a545ecd9 10689 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
10690 detection.
10691
e24f0a8b
AS
106922010-09-20 Andreas Schwab <schwab@redhat.com>
10693
10694 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10695 fanotify_mark.
10696 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10697
7291c56f
AS
106982010-09-14 Andreas Schwab <schwab@redhat.com>
10699
10700 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10701 variables after CHECK_SP call.
10702 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10703
bc5fb037
AS
107042010-09-13 Andreas Schwab <schwab@redhat.com>
10705 Ulrich Drepper <drepper@redhat.com>
10706
10707 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10708 re-relocationg ld.so.
10709 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10710 _dl_init_paths call.
10711 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10712 here anymore.
10713
e66e7419
UD
107142010-09-14 Ulrich Drepper <drepper@redhat.com>
10715
10716 * resolv/res_init.c (__res_vinit): Count the default server we added.
10717
c044aa75
CLT
107182010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10719 Ulrich Drepper <drepper@redhat.com>
10720
10721 [BZ #11968]
10722 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10723 (____longjmp_chk): Use %ebx for saving value across system call.
10724 Add unwind info.
10725
32cf4069
AS
107262010-09-06 Andreas Schwab <schwab@redhat.com>
10727
10728 * manual/Makefile: Don't mix pattern rules with normal rules.
10729
817328ee
AS
107302010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10731
10732 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10733 operation.
10734 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10735 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10736 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10737 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10738 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10739 Likewise.
10740
29fddf61
UD
107412010-09-04 Ulrich Drepper <drepper@redhat.com>
10742
10743 [BZ #11979]
10744 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10745 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10746
0959ffc9
UD
107472010-09-02 Ulrich Drepper <drepper@redhat.com>
10748
10749 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10750 * sysdeps/x86_64/addmul_1.S: Likewise.
10751 * sysdeps/x86_64/lshift.S: Likewise.
10752 * sysdeps/x86_64/mul_1.S: Likewise.
10753 * sysdeps/x86_64/rshift.S: Likewise.
10754 * sysdeps/x86_64/sub_n.S: Likewise.
10755 * sysdeps/x86_64/submul_1.S: Likewise.
10756
ece29840
ST
107572010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10758
0959ffc9
UD
10759 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10760 Define __sched_param instead of SCHED_* and sched_param when
ece29840 10761 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 10762 * bits/sched.h [__need_schedparam]
ece29840 10763 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
10764 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10765 (__defined_schedparam): Define to 1.
ece29840
ST
10766 (__sched_param): New structure, identical to sched_param.
10767 (__need_schedparam): Undefine.
10768
e53a31fe
MF
107692010-08-31 Mike Frysinger <vapier@gentoo.org>
10770
fdc0c10d
MF
10771 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10772 (epoll_create1): Declare.
10773
e53a31fe
MF
10774 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10775
a726d796
AS
107762010-08-31 Andreas Schwab <schwab@redhat.com>
10777
10778 [BZ #7066]
10779 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10780 shifting retval into place.
10781
2f3e3dc7
UD
107822010-09-01 Ulrich Drepper <drepper@redhat.com>
10783
f2933da9
UD
10784 * nis/rpcsvc/nis.h: Update copyright notice.
10785 * nis/rpcsvc/nis.x: Likewise.
10786 * nis/rpcsvc/nis_callback.h: Likewise.
10787 * nis/rpcsvc/nis_callback.x: Likewise.
10788 * nis/rpcsvc/nis_object.x: Likewise.
10789 * nis/rpcsvc/nis_tags.h: Likewise.
10790 * nis/rpcsvc/yp.h: Likewise.
10791 * nis/rpcsvc/yp.x: Likewise.
10792 * nis/rpcsvc/ypupd.h: Likewise.
10793 * nis/yp_xdr.c: Likewise.
10794 * nis/ypupdate_xdr.c: Likewise.
10795
2f3e3dc7
UD
10796 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10797 mainly the body of pmap_getport. Add parameters to specify timeouts.
10798 (pmap_getport): Use __libc_rpc_getport.
10799 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10800 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10801 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10802
f3dcc2f9
AS
108032010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10804
10805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10806 fanotify_mark.
10807
6d34eb5b
RM
108082010-08-27 Roland McGrath <roland@redhat.com>
10809
10810 * sysdeps/i386/i686/multiarch/Makefile
10811 (CFLAGS-varshift.c): New variable.
10812
9ea3de11
UD
108132010-08-27 Ulrich Drepper <drepper@redhat.com>
10814
c96d23fc
UD
10815 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10816 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10817
9ea3de11
UD
10818 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10819
10820 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10821
623aac7f
L
108222010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10823
10824 * sysdeps/x86_64/strlen.S: Unroll the loop.
10825 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10826 strlen-sse2 strlen-sse2-bsf.
10827 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10828 __strlen_no_bsf if bit_Slow_BSF is set.
10829 (__strlen_sse42): Removed.
10830 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10831 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10832
8b2b7715
RM
108332010-08-25 Roland McGrath <roland@redhat.com>
10834
10835 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10836 * sysdeps/x86_64/multiarch/varshift.c: New file.
10837 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10838 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10839 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10840 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10841
e73015f2
L
108422010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10843
10844 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10845 strlen-sse2 strlen-sse2-bsf.
10846 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10847 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10848 (__strlen_sse2): Removed.
10849 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10850 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10851 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10852 bit_Slow_BSF for Atom.
10853 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10854 (index_Slow_BSF): Define.
10855 (HAS_SLOW_BSF): Define.
10856
df24a73e
UD
108572010-08-25 Ulrich Drepper <drepper@redhat.com>
10858
10859 [BZ #10851]
10860 * resolv/res_init.c (__res_vinit): When no server address at all
10861 is given default to loopback.
10862
f2ac4868
RM
108632010-08-24 Roland McGrath <roland@redhat.com>
10864
09055553
RM
10865 * configure.in: Remove config-name.h generation.
10866 * configure: Regenerated.
10867 * config-name.in: File removed.
10868 * scripts/config-uname.sh: New file.
10869 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10870 ($(objdir)config-name.h): New target.
10871
f2ac4868
RM
10872 * sunrpc/rpc_parse.h: Avoid nested comment.
10873
73f27d5e
RH
108742010-08-24 Richard Henderson <rth@redhat.com>
10875 Ulrich Drepper <drepper@redhat.com>
10876 H.J. Lu <hongjiu.lu@intel.com>
10877
10878 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10879 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10880 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10881 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10882 _mm_alignr_epi8 with _mm_loadu_si128.
10883 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10884 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10885 (__m128i_shift_right): Removed.
10886 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10887 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10888 * sysdeps/x86_64/multiarch/varshift.h: New file.
10889 * sysdeps/x86_64/multiarch/varshift.S: New file.
10890
84b9230c
MF
108912010-08-21 Mike Frysinger <vapier@gentoo.org>
10892
10893 * configure.in: Move assembler checks to before sysdep dir checking.
10894
9bbd0ddc
PB
108952010-08-20 Petr Baudis <pasky@suse.cz>
10896
10897 * LICENSES: Sync the sunrpc license.
10898
9da4bb31
UD
108992010-08-19 Ulrich Drepper <drepper@redhat.com>
10900
a7ab6ec8
UD
10901 * sunrpc/auth_des.c: Update copyright notice once again.
10902 * sunrpc/auth_none.c: Likewise.
10903 * sunrpc/auth_unix.c: Likewise.
10904 * sunrpc/authdes_prot.c: Likewise.
10905 * sunrpc/authuxprot.c: Likewise.
10906 * sunrpc/bindrsvprt.c: Likewise.
10907 * sunrpc/clnt_gen.c: Likewise.
10908 * sunrpc/clnt_perr.c: Likewise.
10909 * sunrpc/clnt_raw.c: Likewise.
10910 * sunrpc/clnt_simp.c: Likewise.
10911 * sunrpc/clnt_tcp.c: Likewise.
10912 * sunrpc/clnt_udp.c: Likewise.
10913 * sunrpc/clnt_unix.c: Likewise.
10914 * sunrpc/des_crypt.c: Likewise.
10915 * sunrpc/des_soft.c: Likewise.
10916 * sunrpc/get_myaddr.c: Likewise.
10917 * sunrpc/getrpcport.c: Likewise.
10918 * sunrpc/key_call.c: Likewise.
10919 * sunrpc/key_prot.c: Likewise.
10920 * sunrpc/openchild.c: Likewise.
10921 * sunrpc/pm_getmaps.c: Likewise.
10922 * sunrpc/pm_getport.c: Likewise.
10923 * sunrpc/pmap_clnt.c: Likewise.
10924 * sunrpc/pmap_prot.c: Likewise.
10925 * sunrpc/pmap_prot2.c: Likewise.
10926 * sunrpc/pmap_rmt.c: Likewise.
10927 * sunrpc/rpc/auth.h: Likewise.
10928 * sunrpc/rpc/auth_unix.h: Likewise.
10929 * sunrpc/rpc/clnt.h: Likewise.
10930 * sunrpc/rpc/des_crypt.h: Likewise.
10931 * sunrpc/rpc/key_prot.h: Likewise.
10932 * sunrpc/rpc/netdb.h: Likewise.
10933 * sunrpc/rpc/pmap_clnt.h: Likewise.
10934 * sunrpc/rpc/pmap_prot.h: Likewise.
10935 * sunrpc/rpc/pmap_rmt.h: Likewise.
10936 * sunrpc/rpc/rpc.h: Likewise.
10937 * sunrpc/rpc/rpc_des.h: Likewise.
10938 * sunrpc/rpc/rpc_msg.h: Likewise.
10939 * sunrpc/rpc/svc.h: Likewise.
10940 * sunrpc/rpc/svc_auth.h: Likewise.
10941 * sunrpc/rpc/types.h: Likewise.
10942 * sunrpc/rpc/xdr.h: Likewise.
10943 * sunrpc/rpc_clntout.c: Likewise.
10944 * sunrpc/rpc_cmsg.c: Likewise.
10945 * sunrpc/rpc_common.c: Likewise.
10946 * sunrpc/rpc_cout.c: Likewise.
10947 * sunrpc/rpc_dtable.c: Likewise.
10948 * sunrpc/rpc_hout.c: Likewise.
10949 * sunrpc/rpc_main.c: Likewise.
10950 * sunrpc/rpc_parse.c: Likewise.
10951 * sunrpc/rpc_parse.h: Likewise.
10952 * sunrpc/rpc_prot.c: Likewise.
10953 * sunrpc/rpc_sample.c: Likewise.
10954 * sunrpc/rpc_scan.c: Likewise.
10955 * sunrpc/rpc_scan.h: Likewise.
10956 * sunrpc/rpc_svcout.c: Likewise.
10957 * sunrpc/rpc_tblout.c: Likewise.
10958 * sunrpc/rpc_util.c: Likewise.
10959 * sunrpc/rpc_util.h: Likewise.
10960 * sunrpc/rpcinfo.c: Likewise.
10961 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10962 * sunrpc/rpcsvc/key_prot.x: Likewise.
10963 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10964 * sunrpc/rpcsvc/mount.x: Likewise.
10965 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10966 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10967 * sunrpc/rpcsvc/rex.x: Likewise.
10968 * sunrpc/rpcsvc/rstat.x: Likewise.
10969 * sunrpc/rpcsvc/rusers.x: Likewise.
10970 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10971 * sunrpc/rpcsvc/spray.x: Likewise.
10972 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10973 * sunrpc/rtime.c: Likewise.
10974 * sunrpc/svc.c: Likewise.
10975 * sunrpc/svc_auth.c: Likewise.
10976 * sunrpc/svc_authux.c: Likewise.
10977 * sunrpc/svc_raw.c: Likewise.
10978 * sunrpc/svc_run.c: Likewise.
10979 * sunrpc/svc_simple.c: Likewise.
10980 * sunrpc/svc_tcp.c: Likewise.
10981 * sunrpc/svc_udp.c: Likewise.
10982 * sunrpc/svc_unix.c: Likewise.
10983 * sunrpc/svcauth_des.c: Likewise.
10984 * sunrpc/xcrypt.c: Likewise.
10985 * sunrpc/xdr.c: Likewise.
10986 * sunrpc/xdr_array.c: Likewise.
10987 * sunrpc/xdr_float.c: Likewise.
10988 * sunrpc/xdr_mem.c: Likewise.
10989 * sunrpc/xdr_rec.c: Likewise.
10990 * sunrpc/xdr_ref.c: Likewise.
10991 * sunrpc/xdr_sizeof.c: Likewise.
10992 * sunrpc/xdr_stdio.c: Likewise.
10993
9da4bb31
UD
10994 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10995 handling.
10996
bdaa77bc
AS
109972010-08-19 Andreas Schwab <schwab@redhat.com>
10998
10999 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
11000
fe2f79db
LM
110012010-08-19 Luis Machado <luisgpm@br.ibm.com>
11002
11003 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
11004 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
11005 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
11006 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
11007 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
11008 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
11009 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
11010 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
11011 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
11012 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
11013 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
11014 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
11015 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
11016 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
11017
b9b42ee0
AB
110182010-07-26 Anton Blanchard <anton@samba.org>
11019
11020 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
11021 * malloc/arena.c (heap_trim): Likewise.
11022
1c06ba31
UD
110232010-08-16 Ulrich Drepper <drepper@redhat.com>
11024
11025 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
11026 here. Not...
11027 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
11028 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
11029
f8392f40
L
110302010-08-12 H.J. Lu <hongjiu.lu@intel.com>
11031
11032 * sysdeps/i386/elf/Makefile: New file.
11033
3162f12e
AS
110342010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11035
11036 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
11037 from fanotify_init.
11038 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11039 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11040
28c90b2c
UD
110412010-08-15 Ulrich Drepper <drepper@redhat.com>
11042
11043 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
11044 of strncasecmp_l.
1feccb6c 11045 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 11046
ca6bb004
UD
110472010-08-14 Ulrich Drepper <drepper@redhat.com>
11048
e9f82e0d
UD
11049 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11050 strncase_l-nonascii.
11051 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11052 Add strncase_l-ssse3.
11053 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
11054 * sysdeps/x86_64/strcmp.S: Likewise.
11055 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
11056 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11057 * sysdeps/x86_64/strncase.S: New file.
11058 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11059 * sysdeps/x86_64/strncase_l.S: New file.
11060 * string/Makefile (strop-tests): Add strncasecmp.
11061 * string/test-strncasecmp.c: New file.
11062
11063 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11064 warning.
11065
ca6bb004
UD
11066 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11067 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11068
052fa7b3
AS
110692010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11070
11071 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11072
962dba78
UD
110732010-08-12 Ulrich Drepper <drepper@redhat.com>
11074
11075 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11076 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11077 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11078
bebff237
AM
110792010-05-01 Alan Modra <amodra@gmail.com>
11080
11081 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11082 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11083 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11084 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11085 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11086 tidying. Don't tail-call __sigjmp_save for static lib.
11087 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11088 save location.
11089 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11090 (CALL_MCOUNT): Add eh info, and nop after bl.
11091 (TAIL_CALL_SYSCALL_ERROR): New macro.
11092 (PSEUDO_RET): Use it.
11093 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11094 Correct save location of integer regs and cr.
11095 (_dl_profile_resolve): Correct cr save location. Delete nops
11096 after bl when SHARED. Reduce cfi size a little by better
11097 placement of cfi directives.
11098 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11099 make a stack frame. Instead use parm save area as a temp.
11100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11101 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
11102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11103 Don't make a stack frame for parent, use parm save area.
11104 Increase child stack frame to 112 bytes. Don't save unused reg,
11105 and adjust reg usage. Set up cfi on error recovery and
11106 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11108 (__makecontext): Add dummy nop after jump to exit.
11109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11110 Use correct parm save area and cr save, reduce stack frame.
11111 Correct cfi for possible PSEUDO_RET frame setup.
11112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11113 Branch to local label emitted by PSEUDO_RET rather than
11114 __syscall_error.
11115
02637374
AS
111162010-08-12 Andreas Schwab <schwab@redhat.com>
11117
11118 [BZ #11904]
11119 * locale/programs/locale.c (print_assignment): New function.
11120 (show_locale_vars): Use it.
11121
c3e2f19b
UD
111222010-08-11 Ulrich Drepper <drepper@redhat.com>
11123
3cdaa6ad
UD
11124 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11125 field.
11126 (struct statfs64): Likewise.
11127 (_STATFS_F_FLAGS): Define.
11128 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11129 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11130 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11131 (ST_VALID): Define locally.
11132 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11133 __statvfs_getflags, use the provided value.
11134 * sysdeps/unix/sysv/linux/kernel-features.h: Define
11135 __ASSUME_STATFS_F_FLAGS.
11136
754f7da3
UD
11137 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11138
10b3bedc
UD
11139 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11140 Add sys/fanotify.h.
11141 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11142 fanotify_mask for GLIBC_2.13.
11143 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11144 fanotify_init and fanotify_mark.
11145 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11146 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11147
c08fb0d7
UD
11148 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11149 Add prlimit.
11150 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11151 prlimit64 for GLIBC_2.13.
11152 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11153 prlimit64.
11154 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11155 syscall.
11156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11157 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11158 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11159 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11160 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
11161 add prlimit alias.
11162 * sysdeps/unix/sysv/linux/prlimit.c: New file.
11163
15bac72b
UD
11164 [BZ #11903]
11165 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11166 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11167
c3e2f19b
UD
11168 * nss/Makefile: Add rules to build and run tst-nss-test1.
11169 * shlib-versions: Add entry for libnss_test1.
11170 * nss/nss_test1.c: New file.
11171 * nss/tst-nss-test1.c: New file.
11172
11173 * nss/nsswitch.c (__nss_database_custom): Define new variable.
11174 (__nss_configure_lookup): Set appropriate entry in
11175 __nss_configure_lookup to true.
11176 * nss/nsswitch.h: Define enum with indeces of databases in
11177 databases and __nss_database_custom arrays. Declare
11178 __nss_database_custom.
11179 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
11180 to avoid using nscd when custom rules are installed.
11181 * nss/getXXbyYY_r.c: Likewise.
11182 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11183
11184 * nss/nss_files/files-parse.c: Whitespace fixes.
11185
f15ce4d8
UD
111862010-08-09 Ulrich Drepper <drepper@redhat.com>
11187
11188 [BZ #11883]
11189 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
11190 * posix/fnmatch_loop.c: Likewise.
11191
d22e4cc9
AK
111922010-07-17 Andi Kleen <ak@linux.intel.com>
11193
11194 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11195 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11196 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11197 * Versions.def [GLIBC_2.13]: Add.
11198
805bc17d
UD
111992010-08-06 Ulrich Drepper <drepper@redhat.com>
11200
11201 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11202 Also fail if tpwd after pwuid call is NULL.
11203
5a42321d
ST
112042010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11205
11206 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11207 when converting to ms.
11208
fd3ebeda
ST
112092010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11210
11211 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11212 EOPNOTSUPP errors with ENOTTY.
11213 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11214 EOPNOTSUPP errors with ENOTTY.
11215
73507d3a
UD
112162010-07-31 Ulrich Drepper <drepper@redhat.com>
11217
11218 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11219 Add strcasecmp_l-ssse3.
11220 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11221 strcasecmp.
11222 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11223 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11224 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11225
fe36dd02
UD
112262010-07-30 Ulrich Drepper <drepper@redhat.com>
11227
66f6765a
UD
11228 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11229
42e08a54
UD
11230 * string/Makefile (strop-tests): Add strcasecmp.
11231 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11232 strcasecmp_l-nonascii.
11233 (gen-as-const-headers): Add locale-defines.sym.
11234 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11235 * sysdeps/x86_64/strcasecmp.S: New file.
11236 * sysdeps/x86_64/strcasecmp_l.S: New file.
11237 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11238 * sysdeps/x86_64/locale-defines.sym: New file.
11239 * string/test-strcasecmp.c: New file.
11240
fe36dd02
UD
11241 * string/test-strcasestr.c: Test both ends of the range of characters.
11242 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11243
48cbc0d6
RM
112442010-07-29 Roland McGrath <roland@redhat.com>
11245
76e6d6bc 11246 [BZ #11856]
48cbc0d6
RM
11247 * manual/locale.texi (Yes-or-No Questions): Fix example code.
11248
880113d9
UD
112492010-07-27 Ulrich Drepper <drepper@redhat.com>
11250
11251 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11252 for ld.so.
11253
deb9cabb
AS
112542010-07-27 Andreas Schwab <schwab@redhat.com>
11255
11256 * manual/memory.texi (Malloc Tunable Parameters): Document
11257 M_PERTURB.
11258
1c7570ff
RM
112592010-07-26 Roland McGrath <roland@redhat.com>
11260
11261 [BZ #11840]
11262 * configure.in (-fgnu89-inline check): Set and substitute
11263 gnu89_inline, not libc_cv_gnu89_inline.
11264 * configure: Regenerated.
11265 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11266
24fb0f88
UD
112672010-07-26 Ulrich Drepper <drepper@redhat.com>
11268
11269 * string/test-strnlen.c: New file.
11270 * string/Makefile (strop-tests): Add strnlen.
11271 * string/tester.c (test_strnlen): Add a few more test cases.
11272 * string/tst-strlen.c: Better error reporting.
11273
11274 * sysdeps/x86_64/strnlen.S: New file.
11275
8e96b93a
UD
112762010-07-24 Ulrich Drepper <drepper@redhat.com>
11277
11278 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11279 lower-latency instructions.
11280
dbc676d4
UD
112812010-07-23 Ulrich Drepper <drepper@redhat.com>
11282
11283 * string/test-strcasestr.c: New file.
11284 * string/test-strstr.c: New file.
11285 * string/Makefile (strop-tests): Add strstr and strcasestr.
11286 * string/str-two-way.h: Don't undefine MAX.
11287 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11288
f6a31e0e
AS
112892010-07-21 Andreas Schwab <schwab@redhat.com>
11290
11291 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11292 strcasestr-nonascii.
11293 (CFLAGS-strcasestr-nonascii.c): Define.
11294 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11295 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11296 Remove unused attribute.
11297
5dbc3b6c
RM
112982010-07-20 Roland McGrath <roland@redhat.com>
11299
11300 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11301 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
11302 ld.so.cache was broken. With it, there is no way to disable dsocaps
11303 like LD_HWCAP_MASK can disable hwcaps.
11304
23d101d8
EPM
113052010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11306
11307 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11308
cc9f2e47
UD
113092010-07-16 Ulrich Drepper <drepper@redhat.com>
11310
11311 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11312 call in strcasestr.
11313 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11314 __strcasestr_sse42_nonascii.
11315 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11316 strcasestr-nonascii.c.
11317 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11318
77c1b069
LM
113192010-06-15 Luis Machado <luisgpm@br.ibm.com>
11320
11321 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11322 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11323 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11324 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11325
440566c3
UD
113262010-07-09 Ulrich Drepper <drepper@redhat.com>
11327
11328 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11329 fcntl.
11330
5be9d05d
AS
113312010-07-06 Andreas Schwab <schwab@redhat.com>
11332
c30b7ee2 11333 [BZ #11577]
5be9d05d
AS
11334 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11335 dl_signal_cerror.
11336
8a492a67
UD
113372010-07-06 Ulrich Drepper <drepper@redhat.com>
11338
11339 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11340 _PC_PIPE_BUF using F_GETPIPE_SZ.
11341
713df3d5
RM
113422010-07-05 Roland McGrath <roland@redhat.com>
11343
11344 * manual/arith.texi (Rounding Functions): Fix rint description
11345 implicit in round description.
11346
702e8f14
UD
113472010-07-02 Ulrich Drepper <drepper@redhat.com>
11348
11349 * elf/Makefile: Fix linking for a few tests to make recent linker
11350 happy.
11351
52ed8be9
AS
113522010-06-30 Andreas Schwab <schwab@redhat.com>
11353
11354 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11355 $(common-objpfx)libc_nonshared.a.
11356
f47c9a11
LM
113572010-06-21 Luis Machado <luisgpm@br.ibm.com>
11358
11359 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11360 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11361 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11362 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11363 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11364 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11365 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11366 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11381 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11382 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11383 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11384 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11385 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11386 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11387 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11388 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11389 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11390 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11391 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11392 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11407
6fb8cbcb
L
114082010-06-25 H.J. Lu <hongjiu.lu@intel.com>
11409
11410 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11411 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11412 * string/memmove.c (memmove): Renamed to ...
11413 (MEMMOVE): ...this. Default to memmove.
11414 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11415 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11416 (END_CHK): Define.
11417 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11418 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11419 mempcpy-ssse3-back memmove-ssse3-back.
11420 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11421 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11422 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11423 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11424 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11425 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11426 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11427 * sysdeps/x86_64/multiarch/memmove.c: New file.
11428 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11429 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11430 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11431 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11432 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11433 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11434 Define.
11435 (index_Fast_Copy_Backward): Define.
11436 (HAS_ARCH_FEATURE): Define.
11437 (HAS_FAST_REP_STRING): Define.
11438 (HAS_FAST_COPY_BACKWARD): Define.
11439
4e733bac 114402010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
11441
11442 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11443 Restore proper fallback handling.
11444
63c4ed22
UD
114452010-06-19 Ulrich Drepper <drepper@redhat.com>
11446
ac2b484c
UD
11447 [BZ #11701]
11448 * posix/group_member.c (__group_member): Correct checking loop.
11449
63c4ed22
UD
11450 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11451 OOM in getpwuid_r correctly. Return error number when the caller
11452 should return, otherwise -1.
11453 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11454 call returning > 0 value.
11455 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11456
765ade4b
AS
114572010-06-07 Andreas Schwab <schwab@redhat.com>
11458
11459 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11460 libc_nonshared.a from targets in modules-names.
11461
80da2e09
KS
114622010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11463
11464 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11465 requires it.
11466
158db122
LM
114672010-06-10 Luis Machado <luisgpm@br.ibm.com>
11468
11469 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11470 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11471 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11472 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11473
caa78cf8
AS
114742010-06-02 Andreas Schwab <schwab@redhat.com>
11475
11476 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11477
b2ef2c01
UD
114782010-06-14 Ulrich Drepper <drepper@redhat.com>
11479
11480 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11481 and F_GETPIPE_SZ.
11482 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11483 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11484 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11485 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11486 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11487 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11488
fbd643b6
RM
114892010-06-14 Roland McGrath <roland@redhat.com>
11490
11491 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11492
f32f2869
JJ
114932010-06-07 Jakub Jelinek <jakub@redhat.com>
11494
11495 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11496 __REDIRECT followed by __THROW.
11497 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11498 * posix/getopt.h (getopt): Likewise.
11499
2a50c078
EPM
115002010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11501
11502 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11503 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11504 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11505 in AT_FLAGS.
11506 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11507 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11508
eb5ad2eb
LM
115092010-05-28 Luis Machado <luisgpm@br.ibm.com>
11510
11511 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11512
3c88fe1e
L
115132010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11514
11515 [BZ #11640]
11516 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11517 Properly check family and model.
11518
d2f73151
TY
115192010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11520
11521 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11522
ebd2e13d
LM
115232010-05-24 Luis Machado <luisgpm@br.ibm.com>
11524
11525 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11526
b32b8b45
UD
115272010-05-21 Ulrich Drepper <drepper@redhat.com>
11528
11529 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11530 symbol reference.
11531
9acbe24d
AS
115322010-05-19 Andreas Schwab <schwab@redhat.com>
11533
11534 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11535 symbol reference.
11536
f0ccf6ea
AS
115372010-05-21 Andreas Schwab <schwab@redhat.com>
11538
3d04ff3a
AS
11539 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11540 and internal_recvmmsg.
11541 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11542 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11543 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11544 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11545
f0ccf6ea
AS
11546 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11547 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11548 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11549
5b08ac57
AS
115502010-05-20 Andreas Schwab <schwab@redhat.com>
11551
11552 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11553
4828935d
LM
115542010-05-17 Luis Machado <luisgpm@br.ibm.com>
11555
11556 POWER7 optimizations.
11557 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11558 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11559
373d545e
UD
115602010-05-19 Ulrich Drepper <drepper@redhat.com>
11561
11562 * version.h: Update for 2.13 development version.
11563
21a2b1ae
AS
115642010-05-12 Andrew Stubbs <ams@codesourcery.com>
11565
11566 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11567 exceptions. Return 0.
11568
3f7dcb2b
RM
115692010-05-07 Roland McGrath <roland@redhat.com>
11570
11571 * elf/ldconfig.c (main): Add a const.
11572
5f24d53a 115732010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 11574
a160f8d8
UD
11575 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11576 (args_options): Add no-idn option.
11577 (ahosts_keys_int): Add idn_flags to ai_flags.
11578 (parse_option): Handle 'i' option to clear idn_flags.
11579
5f24d53a
UD
11580 * malloc/malloc.c (_int_free): Possible race in the most recently
11581 added check. Only act on the data if no current modification
11582 happened.
265bb1ce
UD
11583
11584See ChangeLog.17 for earlier changes.