]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
cy_GB/en_GB: set am/pm in times
[thirdparty/glibc.git] / ChangeLog
CommitLineData
ec98af7d
RM
12012-04-12 Roland McGrath <roland@hack.frob.com>
2
3 [BZ #2074]
4 * libio/libio.h (__io_write_fn): Update comment.
5
247c3ede
PB
62012-04-12 Petr Baudis <pasky@ucw.cz>
7
8 [BZ #2074]
9 * stdio.texi (Hook Functions): The user provided writer function
10 is not allowed to return -1.
11
55939d6d
DM
122012-04-11 David S. Miller <davem@davemloft.net>
13
14 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15
90020f5a
MF
162012-04-11 Mike Frysinger <vapier@gentoo.org>
17
18 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
19 Add a leading slash to rtkaio.
20
288f9098
JM
212012-04-11 Jim Meyering <meyering@redhat.com>
22
90020f5a
MF
23 [BZ #11959]
24 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
25 It is not necessarily an error to ignore fwrite's return
26 value. One can reliably use ferror to test for errors after
27 the fact.
288f9098 28
4be2b570
L
292012-04-10 H.J. Lu <hongjiu.lu@intel.com>
30
31 * bits/types.h (__snseconds_t): New type.
32 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33
34 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
35 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36 (__SNSECONDS_T_TYPE): Likewise.
37 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38 (__SNSECONDS_T_TYPE): Likewise.
39 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40 (__SNSECONDS_T_TYPE): Likewise.
41
288f9098 422012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
43
44 [BZ #2636]
45 * manual/time.texi (Processor Time): Return type of times is
46 elapsed real time since an arbitrary point in the past.
47 (CPU Time): Move CLK_TCK from here...
48 (Processor Time): ...to here. Correct description.
49 * manual/conf.texi (Constants for Sysconf): Correct description of
50 _SC_CLK_TCK.
51
d7dd4413
DM
522012-04-10 David S. Miller <davem@davemloft.net>
53
54 [BZ #13967]
55 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
56 where the is a gap between DT_REL(A) and DT_JMPREL.
57
b46068fc
L
582012-04-10 H.J. Lu <hongjiu.lu@intel.com>
59
60 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
61 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
62 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
63
73d65cc3
SP
642012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
65
66 * elf/dl-support.c (_dl_inhibit_cache): New variable.
67 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
68 (dl_main): Handle --inhibit-cache.
69 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
70 _dl_inhibit_cache.
71 * elf/dl-load.c (_dl_map_object): Use it.
72 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
73
bcc8d661
JM
742012-04-09 Joseph Myers <joseph@codesourcery.com>
75
8f9a2fae
JM
76 [BZ #13872]
77 * sysdeps/i386/fpu/e_powl.S (p78): New object.
78 (__ieee754_powl): Saturate large exponents rather than testing for
79 overflow of y*log2(x).
80 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
81 * math/libm-test.inc (pow_test): Do not permit spurious overflow
82 exceptions.
83
bcc8d661
JM
84 [BZ #11521]
85 * math/s_ctan.c: Include <float.h>.
86 (__ctan): Avoid internal overflow or cancellation in calculating
87 denominator.
88 * math/s_ctanf.c: Likewise.
89 * math/s_ctanl.c: Likewise.
90 * math/s_ctanh.c: Likewise.
91 * math/s_ctanhf.c: Likewise.
92 * math/s_ctanhl.c: Likewise.
93 * math/libm-test.inc (ctan_test): Add more tests.
94 (ctanh_test): Likewise.
95 * sysdeps/i386/fpu/libm-test-ulps: Update.
96 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
97
823fbbb4
AJ
982012-04-09 Andreas Jaeger <aj@suse.de>
99
03879793
AJ
100 [BZ #6894]
101 * manual/filesys.texi (Directory Entries): Mention that d_namlen
102 is an optional BSD extension.
103
823fbbb4
AJ
104 [BZ #10254]
105 * manual/stdio.texi (Opening Streams): Document additional fopen
106 parameters.
107
8de131cb
RM
1082012-04-09 Roland McGrath <roland@hack.frob.com>
109
110 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
111 %eax without telling the compiler.
112
c0ed9d7d
CD
1132012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
114
115 [BZ # 13963]
116 * manual/install.texi: Use sourceware.org.
117
c483f6b4
JM
1182012-04-09 Joseph Myers <joseph@codesourcery.com>
119
d7dd9453
JM
120 [BZ #13873]
121 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
122 (__ieee754_pow): Generate overflow and underflow using huge*huge
123 and tiny*tiny rather than just returning constant infinity or zero
124 for large exponents.
125 * math/libm-test.inc (pow_test): Require overflow exceptions for
126 applicable cases of large exponents.
127
c483f6b4
JM
128 [BZ #706]
129 * sysdeps/i386/fpu/e_pow.S (p10): New object.
130 (__ieee754_pow): Use iterative multiplication algorithm only for
131 integer exponents with absolute value below 1024. Check for odd
132 integer exponents when using algorithm for real exponents.
133 * math/libm-test.inc (pow_test): Add more tests.
134 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
135
d2de7579
JM
1362012-04-08 Joseph Myers <joseph@codesourcery.com>
137
138 [BZ #13705]
139 * math/libm-test.inc (exp_test): Do not allow overflow exception
140 on underflow test.
141
f77f1232
AJ
1422012-04-08 Aurelien Jarno <aurelien@aurel32.net>
143
144 [BZ #13705]
145 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
146 instead of __kernel_standard_f.
147
3884932b
MF
1482012-04-08 Mike Frysinger <vapier@gentoo.org>
149
150 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
151 * sysdeps/x86_64/memset_chk.S: Likewise.
152
54472e9c
AJ
1532012-04-08 Andreas Jaeger <aj@suse.de>
154
6ab0fbfc
AJ
155 [BZ #10153]
156 * manual/startup.texi (Environment Access): Describe return value
157 for putenv and setenv.
158
61efba8c
AJ
159 [BZ #6895]
160 * manual/filesys.texi (Directory Entries): Add description for
161 DT_LNK.
162
95c3f29a
AJ
163 [BZ #6890]
164 * manual/filesys.texi (Directory Entries): Clarify that it's file
165 system not operating system in the description of DT_UNKNOWN.
166
54472e9c
AJ
167 [BZ #6578]
168 * manual/syslog.texi (closelog): Fix reference, it's openlog.
169
624254b1
SC
1702012-04-08 Stephen Compall <s11@member.fsf.org>
171
172 [BZ #6649]
173 * manual/llio.texi (Opening and Closing Files): Add cross
174 reference to explain mode argument.
175
1e4920e0
MF
1762012-04-07 Mike Frysinger <vapier@gentoo.org>
177
178 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
179 * sysdeps/x86_64/memset_chk.S: Likewise.
180
5ed848f3
DM
1812012-04-07 David S. Miller <davem@davemloft.net>
182
183 * elf/elf.h (R_SPARC_WDISP10): Define.
184 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
185 R_SPARC_SIZE32.
186 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
187 R_SPARC_SIZE64 and R_SPARC_H34.
188
96154cd8
CD
1892012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
190
191 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
192 conditions and remove no longer applicable assertion.
193
9904dc47
L
1942012-04-06 H.J. Lu <hongjiu.lu@intel.com>
195
196 * bits/byteswap.h: Include <features.h>.
197 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
198 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
199
f8887d0a
L
2002012-04-06 H.J. Lu <hongjiu.lu@intel.com>
201
202 * bits/byteswap.h (__bswap_16): Removed.
203 Include <bits/byteswap-16.h> to get __bswap_16.
204 * sysdeps/i386/bits/byteswap.h: Likewise.
205 * sysdeps/s390/bits/byteswap.h: Likewise.
206 * sysdeps/x86_64/bits/byteswap.h: Likewise.
207 * bits/byteswap-16.h: New file.
208 * sysdeps/i386/bits/byteswap-16.h: Likewise.
209 * sysdeps/s390/bits/byteswap-16.h: Likewise.
210 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
211 * string/Makefile (headers): Add bits/byteswap-16.h.
212
62470f60
PP
2132012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
214
215 [BZ #13895]
216 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
217 extra indirection.
218 * nss/Makefile (tests-static, tests): Add tst-nss-static.
219 * nss/tst-nss-static.c: New.
220
4dad7bab
RM
2212012-04-06 Robert Millan <rmh@gnu.org>
222
223 [BZ #6486]
224 * manual/llio.texi (File Position Primitive): lseek
225 refers to WHENCE when it really means OFFSET.
226
e9142a17
AJ
2272012-04-06 Andreas Jaeger <aj@suse.de>
228
2c040eff
AJ
229 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
230 strncmp declarations.
231
e9142a17
AJ
232 * abilist/libc.abilist: Add __poll and __ppoll.
233
ff9f1c5f
DM
2342012-04-05 David S. Miller <davem@davemloft.net>
235
dcd2ae90
DM
236 * scripts/check-local-headers.sh: Accept a host triplet in the
237 path matched by the exclude regexp.
238
993eb054
DM
239 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
240 definition.
241 * sysdeps/powerpc/powerpc32/dl-machine.h
242 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
243 * sysdeps/s390/s390-32/dl-machine.h
244 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
245 * sysdeps/sparc/sparc32/dl-machine.h
246 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
247 * sysdeps/sparc/sparc64/dl-machine.h
248 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
249
ff9f1c5f
DM
250 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
251 lazy binding.
48e2e132 252 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
253 undefined symbol errors.
254
48e2e132 255 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
256 DT_NEEDED entries.
257
e80d6f94
MM
2582012-04-05 Michael Matz <matz@suse.de>
259
260 [BZ #13592]
261 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
262
349fa79f
AJ
2632012-04-05 Andreas Jaeger <aj@suse.de>
264
265 [BZ #13908]
266 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
267 comment.
268
f402708f
KK
2692012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
270
271 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
272 which ROUND is no valid rounding mode.
273
2ecccfc9
KK
2742012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
275
276 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
277 read again.
278 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
279
8a53f50f
KK
2802012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
281
282 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
283 an exception using FPU order intentionally.
284
2852012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
286
287 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
288 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
289 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
290 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
291
d653abb7
SJ
2922012-04-05 Simon Josefsson <simon@josefsson.org>
293
294 [BZ #12340]
295 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
296 EINVAL when BUFLEN is too smal.
297
c3b1bf7d
TS
2982012-04-05 Thomas Schwinge <thomas@codesourcery.com>
299
300 [BZ #13553]
301 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
302 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
303
b1aa60f3
AJ
3042012-04-03 Andreas Jaeger <aj@suse.de>
305
c3b1bf7d 306 [BZ #13938]
67f60a26
AJ
307 * manual/setjmp.texi (System V contexts): Fix sentence.
308
b1aa60f3
AJ
309 [BZ #13926]
310 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
311 New macro for this case.
312 [!__GNUC__] (__bswap_64): New inline function for this case.
313 * sysdeps/x86_64/bits/byteswap.h: Likewise.
314 * bits/byteswap.h: Likewise.
315 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
316 ull, guard with __GLIBC_HAVE_LONG_LONG.
317
318 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
319 __GLIBC_HAVE_LONG_LONG.
320
321 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
322 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
323
39c59c35
TMQMF
3242012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
325
326 [BZ #13691]
327 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
328 inptr and inend, rather than using last_ch.
329
135ffda8
DM
3302012-04-02 David S. Miller <davem@davemloft.net>
331
332 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
333 * stdio-common/printf-parse.h (read_int): Change return type to
334 'int', return -1 on INT_MAX overflow.
335 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
336 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
337 overflows INT_MAX. Check for overflow of in-format-string precision
338 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
339 SIZE_MAX not INT_MAX for integer overflow test.
340 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
341 skip the construct in the format string but do not record anything.
342 * stdio-common/bug22.c: Adjust to test both width/prevision
343 INT_MAX overflow as well as total length INT_MAX overflow. Check
344 explicitly for proper errno values.
345
228c019e
TS
3462012-04-02 Thomas Schwinge <thomas@codesourcery.com>
347
302cadd3
TS
348 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
349 CHAR_MAX.
350 * string/test-strcmp.c [! WIDE]: Likewise.
351 * time/tst-mktime2.c: Likewise for INT_MAX.
352 * string/test-string.h: #include <sys/param.h> for MIN.
353
228c019e
TS
354 * csu/init-first.c (__libc_init_first): Call __ctype_init.
355 * sysdeps/i386/init-first.c (init): Likewise.
356 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
357 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
358 * sysdeps/sh/init-first.c (init): Likewise.
359
cfa633f5
UD
3602012-04-01 Ulrich Drepper <drepper@gmail.com>
361
362 * po/ru.po: Update from translation team.
d1635ef8 363 * po/vi.po: Likewise.
cfa633f5 364
6cd0a5ea
SP
3652012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
366
367 * resolv/nss_dns/dns-host.c: Merge copyright years.
368
4b43400f
LD
3692012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
370
371 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
372 Optimize memcpy with prefetch if
373 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
374 src, dst pointers have unequal 16 byte alignments.
375
48c41d04
SP
3762012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
377
378 [BZ #13928]
379 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
380 from a CNAME entry and return the minimum ttl for the query.
381 (gaih_getanswer_slice): Likewise.
382
b8dc394d
JL
3832012-03-30 Jeff Law <law@redhat.com>
384
385 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
386 due to long keys.
387 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
388 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
389
2f5a5ed0
JL
390 * resolv/nss_dns/dns-host.c: Update copyright year.
391
1d39e359
UD
3922012-03-30 Ulrich Drepper <drepper@gmail.com>
393
c030f70c 394 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 395 requests to save a system call. Fix check that all bytes are sent.
c030f70c 396
1d39e359
UD
397 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
398 comments for sendmmsg.
399
4002012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
401
402 [BZ #13691]
403 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
404 with only 1 character between 0x0041 and 0x01b0.
405 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
406 * wcsmbs/tst-mbsnrtowcs.c: New file.
407
20fde227
DM
4082012-03-29 David S. Miller <davem@davemloft.net>
409
410 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
411 small copies by hand.
412
984a4237
JL
4132012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
414
415 [BZ #13761]
416 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
417 _nss_compat_initgroups_dyn): Fall back to malloc/free
418 for large group memberships.
419
18c9d62b
DM
4202012-03-28 David S. Miller <davem@davemloft.net>
421
88d85d4f
DM
422 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
423 that branches into memcpy.
424 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
425 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
426 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
427 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
428 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
429 bits.
430 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
431 implementation too.
432 * sysdeps/sparc/mempcpy.S: New file.
433
e5aa83e1
DM
434 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
435 the IFUNC routine in the libc case.
436 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
437
88570753
DM
438 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
439 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
440 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
441 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
442 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
443 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
444 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
445 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
446
249d7567
DM
447 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
448 loop to 256 bytes instead of 64 bytes and fix test signedness.
449
18c9d62b
DM
450 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
451 * sysdeps/sparc/sparc32/Makefile: rather than here...
452 * sysdeps/sparc/sparc64/Makefile: and here.
453
05f3d1f6
UD
4542012-03-28 Ulrich Drepper <drepper@gmail.com>
455
456 * malloc/mallocbug.c: Avoid warnings about unused variables.
457
86ae07a8
JL
4582012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
459
460 [BZ #13760]
461 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
462 in the right place. Discard and retry query if response is
463 larger than input buffer size.
464
41bf21a1
JM
4652012-03-28 Joseph Myers <joseph@codesourcery.com>
466
d6270972
JM
467 [BZ #369]
468 [BZ #2678]
469 [BZ #3866]
470 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
471 x for large integer exponent.
472 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
473 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
474 sign of result as needed afterwards.
475 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
476 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
477 result for underflowing pow the same as for overflow.
478 (__kernel_standard_l): Handle powl overflow and underflow here
479 rather than calling __kernel_standard.
480 * math/libm-test.inc (pow_test): Add more tests.
481
414fca03 482 [BZ #3868]
41bf21a1
JM
483 [BZ #13879]
484 [BZ #13910]
485 [BZ #13911]
486 [BZ #13912]
487 [BZ #13913]
488 [BZ #13915]
489 [BZ #13916]
490 [BZ #13917]
491 [BZ #13918]
492 [BZ #13919]
493 [BZ #13920]
494 [BZ #13921]
495 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
496 * sysdeps/ieee754/k_standard.c: Include <float.h>.
497 (__kernel_standard_l): New function.
498 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
499 __kernel_standard.
500 * math/w_acosl.c (__acosl): Likewise.
501 * math/w_asinl.c (__asinl): Likewise.
502 * math/w_atan2l.c (__atan2l): Likewise.
503 * math/w_atanhl.c (__atanhl): Likewise.
504 * math/w_coshl.c (__coshl): Likewise.
505 * math/w_exp10l.c (__exp10l): Likewise.
506 * math/w_exp2l.c (__exp2l): Likewise.
507 * math/w_fmodl.c (__fmodl): Likewise.
508 * math/w_hypotl.c (__hypotl): Likewise.
509 * math/w_j0l.c (__j0l, __y0l): Likewise.
510 * math/w_j1l.c (__j1l, __y1l): Likewise.
511 * math/w_jnl.c (__jnl, __ynl): Likewise.
512 * math/w_lgammal.c (__lgammal): Likewise.
513 * math/w_log10l.c (__log10l): Likewise.
514 * math/w_log2l.c (__log2l): Likewise.
515 * math/w_logl.c (__logl): Likewise.
516 * math/w_powl.c (__powl): Likewise.
517 * math/w_remainderl.c (__remainderl): Likewise.
518 * math/w_scalbl.c (sysv_scalbl): Likewise.
519 * math/w_sinhl.c (__sinhl): Likewise.
520 * math/w_sqrtl.c (__sqrtl): Likewise.
521 * math/w_tgammal.c (__tgammal): Likewise.
522 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
523 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
524 * math/libm-test.inc (acos_test): Add more tests.
525 (acosh_test): Likewise.
526 (asin_test): Likewise.
527 (atanh_test): Likewise.
528 (exp_test): Likewise.
529 (exp10_test): Likewise.
530 (exp2_test): Likewise.
531 (expm1_test): Likewise.
532 (lgamma_test): Likewise.
533 (log_test): Likewise.
534 (log10_test): Likewise.
535 (log1p_test): Likewise.
536 (log2_test): Likewise.
537 (pow_test): Do not allow some spurious overflow exceptions.
538 (sqrt_test): Add more tests.
539 (tgamma_test): Likewise.
540 (y0_test): Likewise.
541 (y1_test): Likewise.
542 (yn_test): Likewise.
543
dd62fda6
AB
5442012-03-27 Anton Blanchard <anton@samba.org>
545
546 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
547 MAP_HUGETLB.
548 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
549 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
550 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
551
1e3cdfda
AJ
5522012-03-27 David S. Miller <davem@davemloft.net>
553
b855ab85
DM
554 * conform/Makefile: Run run-conformtest.sh using $(BASH).
555
1e3cdfda
AJ
556 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
557 have-as-vis3 check.
558
5592012-03-27 Andreas Jaeger <aj@suse.de>
560
561 * sysdeps/x86_64/elf/configure.in: Moved to ...
562 * sysdeps/x86_64/configure.in: ... here.
563 * sysdeps/x86_64/elf/start.S: Moved to ...
564 * sysdeps/x86_64/start.S: ... here.
565 * sysdeps/x86_64/elf/configure: Delete.
566
567 * sysdeps/x86_64/configure.in: Merge contents from
568 sysdeps/i386/configure.in (without i686 check).
569
570 * sysdeps/i386/elf/Versions: Merge into ...
571 * sysdeps/i386/Versions: ... this.
572 * sysdeps/i386/elf/Versions: Delete file.
573 * sysdeps/i386/elf/start.S: Moved to ...
574 * sysdeps/i386/start.S: ...here.
575 * sysdeps/i386/elf/configure.in: Merge into...
576 * sysdeps/i386/configure.in: ...here.
577 * sysdeps/i386/elf/configure.in: Delete file.
578 * sysdeps/i386/elf/configure: Delete file.
579
580 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
581 * debug/backtracesyms.c: ... here.
582 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
583 * debug/backtracesymsfd.c: ... here.
584 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
585 * sysdeps/generic/ifunc-sel.h: ... here.
586
587 * sysdeps/unix/i386/start.c: Delete file.
588 * sysdeps/unix/sparc/start.c: Delete file.
589 * sysdeps/unix/start.c: Delete file.
590
591 * sysdeps/sh/elf/configure.in: Moved to ...
592 * sysdeps/sh/configure.in: ... here.
593 * sysdeps/sh/elf/start.S: Moved to ...
594 * sysdeps/sh/start.S: ... here.
595 * sysdeps/sh/elf/configure: Delete file.
596
597 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
598 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
599 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
600 * sysdeps/powerpc/powerpc64/entry.h: ... here.
601 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
602 * sysdeps/powerpc/powerpc64/start.S: here.
603 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
604 * sysdeps/powerpc/powerpc64/Makefile: ... this.
605 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
606 * sysdeps/powerpc/powerpc64/configure.in: ... this.
607 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
608
609 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
610 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
611 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
612 * sysdeps/powerpc/powerpc32/start.S: ... here.
613 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
614 * sysdeps/powerpc/powerpc32/configure.in: ... this.
615 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
616
617 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
618 * sysdeps/powerpc/ifunc-sel.h: ... here.
619 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
620 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
621
622 * sysdeps/sparc/elf/configure.in: Moved to ...
623 * sysdeps/sparc/configure.in: ... here.
624 * sysdeps/sparc/elf/configure: Delete file.
625 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
626 * sysdeps/sparc/sparc32/start.S: ... here.
627 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
628 * sysdeps/sparc/sparc64/start.S: ... here.
629 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
630 * sysdeps/sparc/sparc32/Makefile: ... this.
631 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
632 * sysdeps/sparc/sparc64/Makefile: ... this.
633
634 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
635 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
636 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
637 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
638 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
639 * sysdeps/s390/s390-32/setjmp.S: ... here.
640 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
641 * sysdeps/s390/s390-32/configure.in: ... here.
642 * sysdeps/s390/s390-32/elf/configure: Delete file.
643 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
644 * sysdeps/s390/s390-32/start.S: ... here.
645
646 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
647 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
648 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
649 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
650 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
651 * sysdeps/s390/s390-64/setjmp.S: ... here.
652 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
653 * sysdeps/s390/s390-64/configure.in: ... here
654 * sysdeps/s390/s390-64/elf/configure: Delete file.
655 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
656 * sysdeps/s390/s390-64/start.S: ... here.
657 * sysdeps/s390/s390-64/elf/configure: Delete.
658
659 * configure.in: Remove support for elf directories in sysdeps.
660
661 * configure: Regenerated.
662 * sysdeps/i386/configure: Regenerated.
663 * sysdeps/powerpc/powerpc32/configure: Regenerated.
664 * sysdeps/powerpc/powerpc64/configure: Regenerated.
665 * sysdeps/s390/s390-32/configure: Regenerated.
666 * sysdeps/s390/s390-64/configure: Regenerated.
667 * sysdeps/sh/configure: Regenerated.
668 * sysdeps/sparc/configure: Regenerated.
669 * sysdeps/x86_64/configure: Regenerated.
670
a3f61311
AS
6712012-03-26 Andreas Schwab <schwab@linux-m68k.org>
672
c876e002
AS
673 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
674
a3f61311
AS
675 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
676 denormal result into account.
677
ac4c54f0
RM
6782012-03-25 Roland McGrath <roland@hack.frob.com>
679
680 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
681 Reported by Allan McRae <allan@archlinux.org>.
682
6a9b9c02
JL
6832012-03-23 Jeff Law <law@redhat.com>
684
685 * nss/getnssent.c (__nss_getent): Fix typo.
686
4c42a0c1
DM
6872012-03-23 David S. Miller <davem@davemloft.net>
688
689 * sysdeps/sparc/fpu/libm-test-ulps: Update.
690
1532c7ac
L
6912012-03-23 H.J. Lu <hongjiu.lu@intel.com>
692
693 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
694 to pad to uint64_t for each field.
695 (dl_tls_index): Replace unsigned long with uint64_t.
696
3ff42526
PP
6972012-03-23 Daniel Jacobowitz <dmj@google.com>
698 Paul Pluzhnikov <ppluzhnikov@google.com>
699
700 [BZ #6528]
701 * grp/Makefile (otherlibs): Don't set it.
702 * inet/Makefile (otherlibs): Likewise.
703 * login/Makefile (otherlibs): Likewise.
704 * nscd/Makefile (otherlibs): Likewise.
705 * posix/Makefile (otherlibs): Likewise.
706 * pwd/Makefile (otherlibs): Likewise.
707 * rt/Makefile (otherlibs): Likewise.
708 * sunrpc/Makefile (otherlibs): Likewise.
709 * nss/Makefile (otherlibs): Likewise.
710 Add libnss_files to routines and static-only-routines.
711 ($(objpfx)getent): Remove rule.
712 * resolv/Makefile: Add libnss_dns and libresolv to routines and
713 static-only-routines.
714
7c69cd14
JM
7152012-03-22 Joseph Myers <joseph@codesourcery.com>
716
717 [BZ #13892]
718 * math/s_cexp.c: Include <float.h>.
719 (__cexp): Handle exp result overflowing not necessarily
720 overflowing both real and imaginary parts of result.
721 * math/s_cexpf.c: Likewise.
722 * math/s_cexpl.c: Likewise.
723 * math/libm-test.inc (cexp_test): Add more tests.
724 * sysdeps/i386/fpu/libm-test-ulps: Update.
725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
726
81b035fe
L
7272012-03-22 H.J. Lu <hongjiu.lu@intel.com>
728
729 * include/link.h (ELFW): New macro.
730 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
731 Replace ELF64_R_TYPE with ELFW(R_TYPE).
732
1da7940c
L
7332012-03-22 H.J. Lu <hongjiu.lu@intel.com>
734
735 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
736 with uint64_t.
737
b749dbb9
L
7382012-03-22 H.J. Lu <hongjiu.lu@intel.com>
739
740 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
741 declaration.
742 (struct La_x32_retval): Likewise.
743
2ff87f3f
L
7442012-03-22 H.J. Lu <hongjiu.lu@intel.com>
745
746 * sysdeps/x86_64/preconfigure.in: New file.
747 * sysdeps/x86_64/preconfigure: New generated file.
748
c0df8e69
JM
7492012-03-22 Joseph Myers <joseph@codesourcery.com>
750
48e44791
JM
751 [BZ #13824]
752 * math/e_exp2l.c: Include <float.h>.
753 (__ieee754_exp2l): Handle overflow and underflow cases
754 separately. Only pass fractional part of argument to
755 __ieee754_expl.
756 * math/libm-test.inc (exp2_test): Add more tests.
757
c0df8e69
JM
758 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
759 negating x to take absolute value.
760 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
761 Likewise.
762 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
763 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
764 Likewise.
765 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
766 computing low part if x was negated.
767 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
768
c8e43ba7
L
7692012-03-21 H.J. Lu <hongjiu.lu@intel.com>
770
771 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
772 la_x32_gnu_pltexit.
773 (pltexit): Cast int_retval to ptrdiff_t.
774 * elf/tst-auditmod3b.c: Likewise.
775 * elf/tst-auditmod4b.c: Likewise.
776 * elf/tst-auditmod5b.c: Likewise.
777 * elf/tst-auditmod6b.c: Likewise.
778 * elf/tst-auditmod6c.c: Likewise.
779 * elf/tst-auditmod7b.c: Likewise.
780
781 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
782 and x32_gnu_pltexit.
783
784 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
785 __ELF_NATIVE_CLASS.
786 (La_x32_regs): New macro.
787 (La_x32_retval): Likewise.
788 (la_x32_gnu_pltenter): New function prototype.
789 (la_x32_gnu_pltexit): Likewise.
790
7998fa78
AS
7912012-03-21 Andreas Schwab <schwab@linux-m68k.org>
792
dcb33988
AS
793 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
794 exponent.
795
233fc563
AS
796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
797
7998fa78
AS
798 * configure.in (libc_cv_cc_nofma): Check for option to disable
799 generation of FMA instructions.
800 * configure: Regenerate.
801 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
802 * sysdeps/ieee754/dbl-64/Makefile: New file.
803 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
804 Remove brandred-fma4.
805 (CFLAGS-brandred-fma4.c): Remove.
806 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
807 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
808 define.
809 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
810 define.
811
8e95c99a
L
8122012-03-21 H.J. Lu <hongjiu.lu@intel.com>
813
814 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
815 LLONG_MAX != LONG_MAX.
816 (_itoa_word): Use _ITOA_WORD_TYPE on value.
817 (_fitoa_word): Likewise.
818 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
819 LLONG_MAX != LONG_MAX.
820 * stdio-common/_itowa.h: Include <_itoa.h>.
821 (_itowa_word): Use _ITOA_WORD_TYPE on value.
822 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
823 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
824 only if not defined.
825 (_ITOA_WORD_TYPE): Likewise.
826 (_itoa_word): Use _ITOA_WORD_TYPE on value.
827 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
828
6f4db457
DM
8292012-03-21 David S. Miller <davem@davemloft.net>
830
831 * sysdeps/sparc/fpu/libm-test-ulps: Update.
832
7785fe5a
L
8332012-03-21 H.J. Lu <hongjiu.lu@intel.com>
834
835 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
836 of x86_64 when setting libc_cv_slibdir, libdir and
837 libc_cv_localedir.
838 * sysdeps/unix/sysv/linux/configure: Regenerated.
839
4535cd55
JM
8402012-03-21 Joseph Myers <joseph@codesourcery.com>
841
842 * manual/lang.texi (Old Varargs): Remove section.
843 (How Variadic): Update menu.
844 (va_start): Do not mention varargs.h.
845
17228132
TS
8462012-03-21 Thomas Schwinge <thomas@codesourcery.com>
847 Joseph Myers <joseph@codesourcery.com>
848
849 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
850 link test.
851 * configure: Regenerated.
852
8149f976
TS
8532012-03-21 Thomas Schwinge <thomas@codesourcery.com>
854
05f3d1f6
UD
855 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
856 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
857 conformtest.pl
8149f976 858
1a4ac776
JM
8592012-03-21 Joseph Myers <joseph@codesourcery.com>
860
be22ce65
JM
861 * NOTES: Remove.
862 * Makefile (files-for-dist): Remove NOTES.
863 (NOTES): Remove rule.
864 * README: Don't refer to NOTES.
865 * manual/creature.texi: Don't include macros.texi.
866 * manual/intro.texi (creature.texi): Remove comment referring to
867 NOTES.
868
40b601fb
JM
869 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
870 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
871 * configure: Regenerated.
872 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
873 LIBC_TRY_CC_OPTION.
874 (libc_cv_as_i686): Likewise.
875 (libc_cv_cc_avx): Likewise.
876 (libc_cv_cc_sse2avx): Likewise.
877 (libc_cv_cc_fma4): Likewise.
878 (libc_cv_cc_novzeroupper): Likewise.
879 * sysdeps/i386/configure: Regenerated.
880
1a4ac776
JM
881 [BZ #13883]
882 * sysdeps/i386/fpu/s_cexp.S: Remove.
883 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
884 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
885 * math/libm-test.inc (cexp_test): Add more tests.
886 * sysdeps/i386/fpu/libm-test-ulps: Update.
887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
888
a458e7fe
AM
8892012-03-21 Allan McRae <allan@archlinux.org>
890
891 * timezone/Makefile: Do not install iso3166.tab and zone.tab
892
0cb7efc5
JM
8932012-03-21 Joseph Myers <joseph@codesourcery.com>
894
895 [BZ #13871]
896 * math/w_exp2.c: Do not include <float.h>.
897 (o_threshold, u_threshold): Remove.
898 (__exp2): Calculate result before checking finiteness and calling
899 __kernel_standard.
900 * math/w_exp2f.c: Likewise.
901 * math/w_exp2l.c: Likewise.
902 * math/libm-test.inc (exp2_test): Require overflow exception for
903 1e6 input.
2460d3aa
JM
904
905 [BZ #3866]
906 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
907 range of signed 64-bit integers before using fistpll. Remove
908 checks for whether integers fit in mantissa bits.
909 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
910 the range of signed 32-bit integers before using fistpl. Remove
911 checks for whether integers fit in mantissa bits.
912 * sysdeps/i386/fpu/e_powl.S (p64): New object.
913 (__ieee754_powl): Test for y outside the range of signed 64-bit
914 integers before using fistpll. Reduce 64-bit values to 63-bit
915 ones as needed.
916 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
917 divide-by-zero is raised for zero to large negative powers.
918 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
919 (__ieee754_powl): Test for y outside the range of signed 64-bit
920 integers before using fistpll. Reduce 64-bit values to 63-bit
921 ones as needed.
922 * math/libm-test.inc (pow_test): Add more tests.
923
eb96ffb0
L
9242012-03-20 H.J. Lu <hongjiu.lu@intel.com>
925
926 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
927 <stdio-common/_itoa.h>.
928 * debug/segfault.c: Likewise.
929 * elf/dl-cache.c: Likewise.
930 * elf/dl-minimal.c: Likewise.
931 * elf/dl-misc.c: Likewise.
932 * elf/dl-sysdep.c: Likewise.
933 * elf/dl-version.c: Likewise.
934 * elf/rtld.c: Likewise.
935 * hurd/hurdsock.c: Likewise.
936 * hurd/lookup-retry.c: Likewise.
937 * malloc/malloc.c: Likewise.
938 * malloc/mtrace.c: Likewise.
939 * nscd/nscd_getgr_r.c: Likewise.
940 * nscd/nscd_getpw_r.c: Likewise.
941 * nscd/nscd_getserv_r.c: Likewise.
942 * posix/getopt_init.c: Likewise.
943 * posix/wordexp.c: Likewise.
944 * stdio-common/_itoa.c: Likewise.
945 * stdio-common/printf_fphex.c: Likewise.
946 * stdio-common/vfprintf.c: Likewise.
947 * string/_strerror.c: Likewise.
948 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
949 * sysdeps/i386/i686/hp-timing.h: Likewise.
950 * sysdeps/mach/_strerror.c: Likewise.
951 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
952 * sysdeps/mach/hurd/sethostid.c: Likewise.
953 * sysdeps/mach/hurd/xmknodat.c: Likewise.
954 * sysdeps/mach/xpg-strerror.c: Likewise.
955 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
956 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
957 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
958 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
959 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
960 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
961 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
962 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
963 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
964 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
965 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
966 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
967 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
968 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
969 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
970 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
971 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
972 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
973 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
974 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
975 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
976
977 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
978
979 * stdio-common/_itoa.h: Moved to ...
980 * sysdeps/generic/_itoa.h: Here.
981
982 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
983
984 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
985 instead of "_itoa.h" and "_itowa.h".
986 * stdio-common/vfprintf.: Likewise.
987
d1af992d
L
9882012-03-20 H.J. Lu <hongjiu.lu@intel.com>
989
990 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
991 <bits/wordsize.h>.
992 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
993 (__signbit): Likwise.
994 (llrintf): Likwise.
995 (llrint): Likwise.
996
114883e0
L
9972012-03-20 H.J. Lu <hongjiu.lu@intel.com>
998
999 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
1000 __WORDSIZE != 64.
1001
c135cc1b
JM
10022012-03-20 Joseph Myers <joseph@codesourcery.com>
1003
1004 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
1005 OVERFLOW_EXCEPTION_OK.
1006 * math/libm-test.inc ("Philosophy"): Update comment about
1007 exception testing.
1008 (OVERFLOW_EXCEPTION): Define.
1009 (OVERFLOW_EXCEPTION_OK): Likewise.
1010 (INVALID_EXCEPTION_OK): Renumber.
1011 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1012 (IGNORE_ZERO_INF_SIGN): Likewise.
1013 (test_exceptions): Handle FE_OVERFLOW.
1014 (exp10_test): Expect overflow exceptions.
1015 (exp2_test): Likewise.
1016 (expm1_test): Likewise.
1017 (nextafter_test): Likewise.
1018 (pow_test): Likewise.
1019 (scalbn_test): Likewise.
1020 (scalbln_test): Likewise.
1021
95443d88
L
10222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1023
1024 * sysdeps/x86_64/bits/atomic.h
1025 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
1026 64bit integer.
1027 (atomic_exchange_acq): Likewise.
1028 (__arch_exchange_and_add_body): Likewise.
1029 (__arch_add_body): Likewise.
1030 (atomic_add_negative): Likewise.
1031 (atomic_add_zero): Likewise.
1032
490df6c4
L
10332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1034
c2722551 1035 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
1036 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
1037
5e52b189
L
10382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1039
1040 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
1041 Check __x86_64__ instead of __WORDSIZE.
1042
a9879d4c
L
10432012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1044
1045 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
1046
5df98260
DM
10472012-03-19 David S. Miller <davem@davemloft.net>
1048
e1497744
DM
1049 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1050
5df98260
DM
1051 * sysdeps/sparc/fpu/fenv_private.h: New file.
1052 * sysdeps/sparc/fpu/math_private.h: Use it.
1053 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1054 Remove.
1055 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1056 (libc_feholdexcept_setroundl): Remove.
1057 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1058 Remove.
1059 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1060 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1061
b4c35121
L
10622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1063
1064 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1065 int64_t instead of long int.
1066 (INSERT_WORDS64): Likwise.
1067
56965fd7
L
10682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1069
1070 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1071 _Unwind_GetCFA return to _Unwind_Ptr first.
1072
83d1aec8
JM
10732012-03-19 Joseph Myers <joseph@codesourcery.com>
1074
1897ad44
JM
1075 [BZ #13629]
1076 * math/s_clog.c: Include <float.h>.
1077 (__clog): Scale large or subnormal inputs.
1078 * math/s_clogf.c: Likewise.
1079 * math/s_clogl.c: Likewise.
1080 * math/s_clog10.c: Include <float.h>.
1081 (M_LOG10_2): Define.
1082 (__clog10): Scale large or subnormal inputs.
1083 * math/s_clog10f.c: Likewise.
1084 * math/s_clog10l.c: Likewise.
1085 * math/libm-test.inc (clog_test): Add more tests.
1086 (clog10_test): Likewise.
1087 * sysdeps/i386/fpu/libm-test-ulps: Update.
1088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1089
7726d6a9
JM
1090 [BZ #11451]
1091 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1092 x and y.
1093 * math/libm-test.inc (atan2_test): Add another test.
1094
83d1aec8
JM
1095 * Makerules (common-objdir-compile): Remove.
1096 * sysdeps/unix/Makefile (config-generated): Do not add
1097 $(unix-generated) to variable.
1098 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1099 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1100 Remove rule.
1101 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1102 Likewise.
1103 [generic bits/local_lim.h] (before-compile): Do not append to
1104 variable.
1105 [generic bits/local_lim.h] (common-generated): Likewise.
1106 [generic sys/param.h] (before-compile): Do not append to variable.
1107 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1108 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1109 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1110 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1111 include.
1112 [generic sys/param.h] (sys/param.h-includes): Remove variable.
1113 [generic sys/param.h] (sys/param.h-includes): Remove rule.
1114 [generic sys/param.h] ($(addprefix
1115 $(common-objpfx),$(sys/param.h-includes))): Likewise.
1116 [generic sys/param.h] (common-generated): Do not append to
1117 variable.
1118 [generic sys/param.h] (sysdep_headers): Likewise.
1119 [generic bits/errno.h] (before-compile): Do not append to
1120 variable.
1121 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
1122 rule.
1123 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
1124 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
1125 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
1126 [generic bits/errno.h] (common-generated): Do not append to
1127 variable.
1128 [generic bits/ioctls.h] (before-compile): Do not append to
1129 variable.
1130 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
1131 rule.
1132 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
1133 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
1134 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
1135 rule.
1136 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
1137 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
1138 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
1139 [generic bits/ioctls.h] (common-generated): Do not append to
1140 variable.
1141 [generic sys/syscall.h] (syscall.h): Remove variable.
1142 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
1143 rule.
1144 [generic sys/syscall.h] (before-compile): Do not append to
1145 variable.
1146 [generic sys/syscall.h] (common-generated): Likewise.
1147 * sysdeps/unix/errnos-tmpl.c: Remove file.
1148 * sysdeps/unix/errnos.awk: Likewise.
1149 * sysdeps/unix/ioctls-tmpl.c: Likewise.
1150 * sysdeps/unix/ioctls.awk: Likewise.
1151 * sysdeps/unix/mk-local_lim.c: Likewise.
1152 * sysdeps/unix/snarf-ioctls: Likewise.
1153
4851a949
RH
11542012-03-19 Richard Henderson <rth@twiddle.net>
1155
bd37f2ee
RH
1156 * sysdeps/i386/fpu/fenv_private.h: New file.
1157 * sysdeps/i386/fpu/math_private.h: Use it.
1158 (math_opt_barrier, math_force_eval): Remove.
1159 (libc_feholdexcept_setround_53bit): Remove.
1160 (libc_feupdateenv_53bit): Remove.
1161 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1162 (math_opt_barrier, math_force_eval): Remove.
1163 (libc_feholdexcept): Remove.
1164 (libc_feholdexcept_setround): Remove.
1165 (libc_fetestexcept, libc_fesetenv): Remove.
1166 (libc_feupdateenv_test): Remove.
1167 (libc_feupdateenv, libc_feholdsetround): Remove.
1168 (libc_feresetround): Remove.
1169
d0adc922
RH
1170 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1171 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1172
0fe0f1f8
RH
1173 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1174 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1175 (libc_feupdateenv_testl): New.
1176 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1177 (libc_feupdateenv_testf): New.
1178 (libc_feupdateenv): Use libc_feupdateenv_test.
1179 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1180 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1181
eb92c487
RH
1182 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1183 (libc_feholdsetroundf, libc_feholdsetroundl): New.
1184 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1185 (libc_feresetround_noex): New.
1186 (libc_feresetround_noexf): New.
1187 (libc_feresetround_noexl): New.
1188 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1189 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1190 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1191 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1192 SET_RESTORE_ROUND.
1193 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1194 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1195 (__cos): Likewise.
1196 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1197 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1198 SET_RESTORE_ROUND_NOEX.
1199 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1200 SET_RESTORE_ROUND_NOEXF.
1201 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1202 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1203 (libc_feholdsetroundf): New.
1204 (libc_feresetround, libc_feresetroundf): New.
1205
7d2e8012
RH
1206 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1207 (libc_feholdexcept_setround_53bit): Convert from macro to function.
1208 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
1209
b4dabbb4
RH
1210 * sysdeps/generic/math_private.h: Include <fenv.h>.
1211 (default_libc_feholdexcept): New.
1212 (default_libc_feholdexcept_setround): New.
1213 (default_libc_fesetenv, default_libc_feupdateenv): New.
1214 (libc_feholdexcept): Only define if undefined.
1215 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1216 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1217 (libc_feholdexcept_setroundl): Likewise.
1218 (libc_feholdexcept_setround_53bit): Likewise.
1219 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1220 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1221 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1222 (libc_feupdateenv_53bit): Likewise.
1223 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1224 (libc_feholdexcept): Convert from macro to inline function.
1225 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1226 (libc_fesetenv, libc_feupdateenv): Likewise.
1227
4851a949
RH
1228 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1229 not previously defined.
1230 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1231 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1232 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1233 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1234 * sysdeps/ieee754/flt-32/math_private.h: New file.
1235 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1236 math_private.h below SET_FLOAT_WORD.
1237 (__isnan, __isinf_ns, __finite): Remove.
1238 (__isnanf, __isinf_nsf, __finitef): Remove.
1239
e79d442e
AS
12402012-03-18 Andreas Schwab <schwab@linux-m68k.org>
1241
1242 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1243
90b80344
DM
12442012-03-17 David S. Miller <davem@davemloft.net>
1245
1246 [BZ #6471]
1247 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1248 for 2.16.
1249
edc21804
DM
12502012-03-16 David S. Miller <davem@davemloft.net>
1251
77e927af
DM
1252 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1253 warnings.
1254
374976dd
DM
1255 [BZ #6471]
1256 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1257 properly.
1258 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1259 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1260 sysdep_routines when subdir is sysvipc.
1261 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1262 __getshmlba helper.
1263
edc21804
DM
1264 * sysdeps/sparc/fpu/libm-test/ulps: Update.
1265
473c3ef3
L
12662012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1267
1268 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1269 [__LP64__].
1270
eb0f39b6
L
12712012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1272
1273 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1274 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1275 (__lround): Renamed to ...
1276 (__llround): This. Replace long int with long long int.
1277 Define lround functions as aliases of llround functions.
1278 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1279
6b6cd74b
L
12802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1281
1282 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1283 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
1284 adresses to uintptr_t. Replace "long int" and "unsigned long
1285 int" with "greg_t" on va_arg.
1286
f1a77b01
L
12872012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1288
1289 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1290 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1291
1292 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1293 Move e_machine check before EI_CLASS check. Handle x32
1294 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1295 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1296 SKIP_EM_IA_64 and include
1297 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1298
1299 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1300 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1301 (add_system_dir): New macro.
1302
1303 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1304 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1305
11b90b9f
JM
13062012-03-16 Joseph Myers <joseph@codesourcery.com>
1307
c36e1d23
JM
1308 [BZ #2551]
1309 [BZ #2552]
1310 [BZ #2553]
1311 [BZ #2554]
1312 [BZ #2562]
1313 [BZ #2563]
1314 [BZ #2565]
1315 [BZ #2566]
1316 [BZ #2576]
1317 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1318 (y0): Likewise.
1319 * math/w_j0f.c (j0f): Likewise.
1320 (y0f): Likewise.
1321 * math/w_j0l.c (__j0l): Likewise.
1322 (__y0l): Likewise.
1323 * math/w_j1.c (j1): Likewise.
1324 (y1): Likewise.
1325 * math/w_j1f.c (j1f): Likewise.
1326 (y1f): Likewise.
1327 * math/w_j1l.c (__j1l): Likewise.
1328 (__y1l): Likewise.
1329 * math/w_jn.c (jn): Likewise.
1330 (yn): Likewise.
1331 * math/w_jnf.c (jnf): Likewise.
1332 (ynf): Likewise.
1333 * math/w_jnl.c (__jnl): Likewise.
1334 (__ynl): Likewise.
1335 * math/libm-test.inc (j0_test): Add more tests.
1336 (j1_test): Likewise.
1337 (jn_test): Likewise. Add trailing semicolon to existing test.
1338 (y0_test): Likewise.
1339 (y1_test): Likewise.
1340 * sysdeps/i386/fpu/libm-test-ulps: Update.
1341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1342
11b90b9f
JM
1343 [BZ #13851]
1344 [BZ #13854]
1345 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1346 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1347 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1348 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1349 (__tanl): Set errno for infinite argument.
1350 * sysdeps/i386/fpu/mptan.c: Remove.
1351 * sysdeps/i386/fpu/s_tan.S: Likewise.
1352 * sysdeps/i386/fpu/s_tanl.S: Likewise.
1353 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1354 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1355 * math/libm-test.inc (tan_test): Add more tests and enable more
1356 tests for double and long double.
1357 * sysdeps/i386/fpu/libm-test-ulps: Update.
1358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1359
6a1bd2a1
JK
13602012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1361
1362 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1363 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1364
10a803e0
RM
13652012-03-16 Roland McGrath <roland@hack.frob.com>
1366
1367 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1368 * configure.in: Use it for both main tree and add-ons.
1369 * configure: Regenerated.
1370
f196c7f7
L
13712012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1372
1373 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1374
8848d99d
JM
13752012-03-16 Joseph Myers <joseph@codesourcery.com>
1376
96cbe7f4
JM
1377 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1378 in comment.
1379
8848d99d
JM
1380 [BZ #13851]
1381 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1382 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1383 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1384 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1385 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1386 infinite argument.
1387 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1388 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1389 != 0 for prec == 2.
1390 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1391 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1392 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1393 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1394 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1395 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1396 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1397 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1398 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1399 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1400 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1401 * math/libm-test.inc (cos_test): Add more tests and enable more
1402 tests for long double.
1403 (sin_test): Likewise.
1404 (sincos_test): Likewise.
1405 * sysdeps/i386/fpu/libm-test-ulps: Update.
1406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1407
dd7f4703
DM
14082012-03-16 David S. Miller <davem@davemloft.net>
1409
1410 * sysdeps/sparc/fpu/math_private.h: New file.
1411
006f1daa
DM
14122012-03-15 David S. Miller <davem@davemloft.net>
1413
c0c83bc8
DM
1414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1415 file.
e6a62e18 1416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
1417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1418 file.
e6a62e18
DM
1419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1420 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1421 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1422 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1423 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1424 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1425 sysdep routines.
1426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1427
88cb87d9
DM
1428 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1429 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1430
006f1daa 1431 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
1432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1433 sparc-ifunc.h
006f1daa 1434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
1435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1436 Likewise.
1437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1438 Likewise.
006f1daa
DM
1439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
1442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1443 Likewise.
006f1daa
DM
1444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
1448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1449 Likewise.
1450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1451 Likewise.
006f1daa
DM
1452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1456 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1457 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1458 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1459 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1460 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1461 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1462 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1463 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1464 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1465 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1466 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1467 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1468 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1469 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1470 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1471 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1472 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1473 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1474 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1475 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1476
11e0098e
AS
14772012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1478
1479 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1480 scaling.
1481 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1482
e85b09d0
AJ
14832012-03-15 Andreas Jaeger <aj@suse.de>
1484
1485 [BZ #13852]
1486 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1487 ieee754/flt-32 implementation for sin, cos and sincos.
1488 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1489 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1490 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1491 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1492 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1493 ieee754/flt-32 implementation for tan.
1494
1495 * math/libm-test.inc (cos_test): Enable some large input tests for
1496 float as well
1497 (sin_test): Likewise.
1498 (sincos_test): Likewise.
1499 (tan_test): Add tests for large input.
1500
1501 * sysdeps/i386/fpu/libm-test-ulps: Update.
1502
81c64153
AJ
15032012-03-15 Andreas Jaeger <aj@suse.de>
1504
1505 [BZ #13658]
1506 * math/libm-test.inc (cos_test): Add more test cases.
1507 (sin_test): Likewise.
1508 (sincos_test): Likewise.
1509
7bbfa5c6
AJ
15102012-03-15 Andreas Jaeger <aj@suse.de>
1511
1512 [BZ #13837]
1513 * math/libm-test.inc (cos_test): Add a test case for large input
1514 value.
1515 (sin_test): Likewise.
1516 (sincos_test): Likewise.
1517
15182012-03-15 Andreas Jaeger <aj@suse.de>,
1519 Joseph Myers <joseph@codesourcery.com>
1520
1521 [BZ #13658]
0671f479 1522 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
1523 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1524 * sysdeps/i386/fpu/branred.c: Likewise.
1525 * sysdeps/i386/fpu/dosincos.c: Likewise.
1526 * sysdeps/i386/fpu/mpa.c: Likewise.
1527 * sysdeps/i386/fpu/s_cos.S: Likewise.
1528 * sysdeps/i386/fpu/s_sin.S: Likewise.
1529 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1530 * sysdeps/i386/fpu/sincos32.c: Likewise.
1531
1532 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1533 Define.
1534 (libc_feupdateenv_53bit): Define.
1535 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1536 Define.
1537 (libc_feupdateenv_53bit): Define.
1538
1539 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1540 53 bit (without extend i386 double precision).
1541
1542 * math/libm-test.inc (sincos_test): Add tests for large input.
1543 (sin): Likewise.
1544 (cos): Likewise.
1545
1546 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1547
9cad04ea
AS
15482012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1549
1550 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1551
f7062b9a
DM
15522012-03-15 David S. Miller <davem@davemloft.net>
1553
1554 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1555 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1556 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1557 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1562 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1563 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1564 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1565 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1566 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1567 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1568 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
1569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1570 file.
f7062b9a 1571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
1572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1573 file.
f7062b9a 1574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
1575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1576 file.
f7062b9a 1577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
1578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1579 file.
f7062b9a
DM
1580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1581 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1582 fmin/fmax sysdep routines.
1583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1584
7bd951ff
DM
15852012-03-14 David S. Miller <davem@davemloft.net>
1586
559398ab
DM
1587 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1588 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1589 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1590 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1591 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1592 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1593 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1594 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1595 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1596 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1597 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1598 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1599 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1600 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1601 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1602 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1603 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1604 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1605 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1606 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1607 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1608 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1609 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1610 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1611 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1612 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1613 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1614 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1615 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1616 routines.
1617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1618 file.
559398ab 1619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
1620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1621 file.
559398ab 1622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
1623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1624 file.
559398ab 1625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
1626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1627 file.
559398ab 1628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
1629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1630 file.
559398ab 1631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
1632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1633 file.
1634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1635 file.
1636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1637 file.
1638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1639 file.
1640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1641 New file.
1642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1643 file.
1644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1645 file.
559398ab 1646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
1647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1648 file.
559398ab 1649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1651 file.
559398ab 1652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
1653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1654 file.
559398ab 1655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
1656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1657 VIS3 routines.
559398ab
DM
1658
1659 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1660 New file.
1661
5a1c1e32
DM
1662 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1663
eae47a36
DM
1664 * sysdeps/sparc/configure.in: New file.
1665 * sysdeps/sparc/configure: Generate.
1666 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1667 * configure: Regenerate.
1668 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1669 * config.make.in (have-as-vis3): New.
1670 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1671 available use -Av9d instead of -Av9a.
1672 * sysdeps/sparc/sparc64/Makefile: Likewise.
1673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
1674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1675 New file.
1676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1677 file.
1678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1679 New file.
1680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1681 file.
eae47a36
DM
1682 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1683 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1684 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1685 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1686 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1687
c0c83bc8
DM
1688 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1689 fzeros/fnegs to load 0x80000000 into a float register instead of
1690 using the stack.
7bd951ff
DM
1691 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1692
bd951ccb
JM
16932012-03-14 Joseph Myers <joseph@codesourcery.com>
1694
1695 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1696 bits/syscall.h.
1697 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1698 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1699 ($(inst_includedir)/bits/syscall.h): Remove rule.
1700 ($(objpfx)bits/syscall.d): Include instead of
1701 $(objpfx)syscall-list.d.
1702 (generated): Change syscall-list.h and syscall-list.d to
1703 bits/syscall.h and bits/syscall.d.
1704
bb4e6db2
RM
17052012-03-14 Roland McGrath <roland@hack.frob.com>
1706
1707 [BZ #13846]
1708 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1709
aa4a2ae1
JM
17102012-03-14 Joseph Myers <joseph@codesourcery.com>
1711
e456826d
JM
1712 [BZ #13841]
1713 * math/s_csqrt.c: Include <float.h>.
1714 (__csqrt): Scale large or subnormal inputs.
1715 * math/s_csqrtf.c: Likewise.
1716 * math/s_csqrtl.c: Likewise.
1717 * math/libm-test.inc (csqrt_test): Add more tests.
1718 * sysdeps/i386/fpu/libm-test-ulps: Update.
1719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1720
aa4a2ae1
JM
1721 [BZ #13840]
1722 * math/libm-test.inc (hypot_test): Add more tests.
1723
7c10fd35
DM
17242012-03-13 David S. Miller <davem@davemloft.net>
1725
1726 [BZ #13840]
1727 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1728 double-precision for the calculation instead of scaling.
1729
f453b98b
JM
17302012-03-13 Joseph Myers <joseph@codesourcery.com>
1731
1732 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1733 manipulate bits before adding and subtracting TWO52[sx].
1734 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1735 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1736 Likewise.
1737 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1738
09a3453f
DM
17392012-03-13 David S. Miller <davem@davemloft.net>
1740
8e59da90
DM
1741 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1742 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1743 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1744 rtld-global-offsets.h
1745 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1746
2a8ab7f2
DM
1747 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1748 large parameters.
1749
10f62770
DM
1750 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1751
5f0bdb18
DM
1752 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1753 'err' in the ifdef scope in which it is actually used.
1754
09a3453f
DM
1755 * nss/nss_db/db-init.c: Include string.h
1756
b4b2eb5e
DM
17572012-03-12 David S. Miller <davem@davemloft.net>
1758
98bb2f1c
DM
1759 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1760 masking out of the most significant byte of random value used.
1761 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1762 Fix coding style in previous change.
1763
b4b2eb5e
DM
1764 * sysdeps/unix/sysv/linux/kernel-features.h
1765 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1766 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1767 expression.
1768 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1769 later.
1770
6e226b09
DM
17712012-03-11 David S. Miller <davem@davemloft.net>
1772
a1bcbd40
DM
1773 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1774 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1775 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1776 for 'resultvar' otherwise things get truncated on 64-bit.
1777
cb9d6174
DM
1778 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1779 Fix masking out of the most significant byte of random value used.
1780
6e226b09
DM
1781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1782
058c132d
AS
17832012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1784
1785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1786
2d2cd515
DM
17872012-03-09 David S. Miller <davem@davemloft.net>
1788
1789 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1790 variables with appropriate CPP guards.
1791 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1792 frame pointer, not the stack pointer. Correct layout comments. Fix test
1793 on resulting framesize and the management of the outregs buffer for pltexit.
1794 Preserve floating point return values across _dl_call_pltexit call.
1795 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1796 framesize and the management of the outregs buffer for pltexit.
1797 Preserve floating point return values across _dl_call_pltexit
1798 call.
1799 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1800 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1801 (print_exit): Fix format string for return register value.
1802
9a07f9d0
JM
18032012-03-10 Joseph Myers <joseph@codesourcery.com>
1804
1805 * sunrpc/Makefile (others): Add rpcgen.
1806 ($(objpfx)rpcgen): Remove special build rule and dependency on
1807 libc.
1808 * sunrpc/rpcgen.c: New file.
1809
547b5e30
PE
18102012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1811
c524201a
PE
1812 [BZ #13673]
1813 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1814 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1815 * sysdeps/i386/crti.S: Likewise.
1816 * sysdeps/i386/crtn.S: Likewise.
1817 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1818 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1819 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1820 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1821 * sysdeps/sh/crti.S: Likewise.
1822 * sysdeps/sh/crtn.S: Likewise.
1823 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1824
7b6235f2
PE
1825 [BZ #13673]
1826 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1827 with URL.
1828 * locale/programs/locfile-kw.gperf: Likewise.
1829 * locale/programs/charmap-kw.h: Regenerated.
1830 * locale/programs/locfile-kw.h: Likewise.
1831
547b5e30
PE
1832 [BZ #13673]
1833 * intl/plural.y: Replace FSF snail mail address with URL.
1834 * intl/plural.c: Regenerated.
1835
5f0a5dae
RH
18362012-03-09 Richard Henderson <rth@twiddle.net>
1837
1838 * include/math_private.h: Remove file.
1839 * math/math_private.h: Move file ...
1840 * sysdeps/generic/math_private.h: ... here.
1841
b8c03620
RH
1842 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1843 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1844 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1845
4e234f5d 1846 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
1847 and <math_private.h>.
1848 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1849 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1850 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1851 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1852 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1853 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1854 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1855 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1856 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1857 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1858 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1859 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1860 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1861 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1862 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1863 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1864 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1865 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1866 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1867 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1868 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1869 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1870 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1871 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1872 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1873 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1874 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1875 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1876 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1877 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1878 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1879 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1880 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1881 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1882 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1883 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1884 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1885 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1886 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1887 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1888 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1889 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1890 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1891 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1892 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1893 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1894 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1895 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1896 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1897 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1898 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1899 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1900 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1901 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1902 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1903 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1904 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1905 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1906 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1907 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1908 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1909 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1910 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1911 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1912 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1913 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1914 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1915 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1916 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1917 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1918 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1919 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1920 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1921 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1922 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1923 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1924 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1925 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1926 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1927 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1928 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1929 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1930 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1931 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1932 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1933 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1934 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1935 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1936 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1937 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1938 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1939 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1940 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1941 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1942 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1943 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1944 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1945 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1946 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1947 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1948 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1949 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1950 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1951 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1952 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1953 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1954 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1955 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1956 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1957 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1958 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1959 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1960 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1961 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1962 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1963 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1964 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1965 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1966 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1967 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1968 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1969 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1970 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1971 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
1972 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1973 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1974 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1975 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
1976 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1977 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
1978 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
1979 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1980 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1981 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
1982 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
1983 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1984 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1985 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1986 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
1987 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1988 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1989 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1990 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1991 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
1992 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
1993 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1994 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1995 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1996 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1997 * sysdeps/ieee754/k_standard.c: Likewise.
1998 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1999 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2000 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2001 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2002 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2003 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2004 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2005 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2006 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2007 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2008 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2009 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2010 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2011 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2012 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2013 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2014 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2015 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2016 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2017 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2018 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2019 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2020 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2021 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2022 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2023 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2024 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2025 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2026 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2027 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2028 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2029 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2030 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2031 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2032 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2033 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2034 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2035 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
2036 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2037 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2038 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2039 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2040 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2041 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2042 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2043 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2044 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2045 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2046 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2047 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2048 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2049 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2050 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2051 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2052 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2053 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2054 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2055 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2056 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2057 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2058 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2059 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2060 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2061 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2062 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2063 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2064 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2065 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2066 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2067 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2068 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2069 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2070 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2071 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2072 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2073 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2074 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2075 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2076 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2077 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2078 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2079 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2080 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2081 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2082 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2083 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2084 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2085 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2086 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2087 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2088 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2089 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2090 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2091 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2092 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2093 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2094 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2095 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2096 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2097 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2098 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2099 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2100 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2101 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2102 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2103 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2104 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2105 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2106 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2107 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2108 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2109 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2110 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2111 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2112 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2113 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2114 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2115 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2116 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2117 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2118 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2119 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2120 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2121 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2122 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2123 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2124 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2125 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2126 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2127 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2128 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2129 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2130 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2131 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2132 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2133 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2134 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
2135 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2136 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2137 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
2138 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
2139 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2140 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
2141 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
2142 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2143 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2144 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2145 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2146 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2147 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
2148 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2149 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2150 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2151 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2152 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
2153 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
2154 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2155 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2156 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2157 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2158 * sysdeps/ieee754/s_lib_version.c: Likewise.
2159 * sysdeps/ieee754/s_matherr.c: Likewise.
2160 * sysdeps/ieee754/s_signgam.c: Likewise.
2161 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2162 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2163 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2164 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2165 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2166 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2167 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2168 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2169 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2170 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2171 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2172 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2173 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2174 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2175 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2176 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2177 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2178 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2179 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2180 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2181 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 2182
1991fa03
JM
21832012-03-09 Joseph Myers <joseph@codesourcery.com>
2184
2185 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2186 * sunrpc/rpc_main.c: Likewise.
2187 * sunrpc/rpc_svcout.c: Likewise.
2188
60d6f5a6
DM
21892012-03-09 David S. Miller <davem@davemloft.net>
2190
2191 * include/math_private.h: New file.
2192
4962050e
JM
21932012-03-09 Joseph Myers <joseph@codesourcery.com>
2194
02a6f887
JM
2195 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2196 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2197 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2198 from <bits/socket_type.h>.
2199 (enum __socket_type): Don't define here.
2200 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2201 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2202 bits/socket_type.h.
2203
c6e013c1
JM
2204 [BZ #13566]
2205 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2206 checking __USE_GNU.
2207
4962050e
JM
2208 * Makerules ($(inst_includedir)/%.h): New rule.
2209 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2210 (install-others): Remove variable setting.
2211 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2212
38842f45
RH
22132012-03-08 Richard Henderson <rth@twiddle.net>
2214
67bb6da6
RH
2215 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2216 from macro to inline function; merge with the
2217 !__LIBC_INTERNAL_MATH_INLINES version.
2218 (__ieee754_sqrtf): Likewise.
2219
15194b4b
RH
2220 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2221 to inline function.
2222 (__rintf, __floor, __floorf): Likewise.
2223
64e21ede
RH
2224 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2225 macro to inline function.
2226 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2227
38842f45
RH
2228 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2229 not <math/math_private.h>.
2230
c64bf5fe
DM
22312012-03-08 David S. Miller <davem@davemloft.net>
2232
2233 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2234 copyright year.
2235 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2236
82d86f28
TS
22372012-03-08 Thomas Schwinge <thomas@codesourcery.com>
2238
2239 * resolv/gai_misc.c (handle_requests): Fix struct timespec
2240 normalization.
2241 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2242 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2243
aea5d727
UD
22442012-03-08 Ulrich Drepper <drepper@gmail.com>
2245
2246 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
2247 be defined individually, they must be defined as a block. Define
2248 S for printing a string instead of hidint the different by using a
2249 macro for adding the 'l'.
2250 * stdio-common/tst-fphex-wide.c: Adjust.
2251
70bca0a3
MP
22522012-03-07 Marek Polacek <polacek@redhat.com>
2253
2254 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2255
65b81130
MP
22562012-03-08 Marek Polacek <polacek@redhat.com>
2257
2258 [BZ #13806]
2259 * stdio-common/Makefile (tests): Add tst-fphex-wide.
2260 * stdio-common/tst-fphex.c: Define a few macros to make the
2261 test reusable. Use them.
2262 * stdio-common/tst-fphex-wide.c: New file.
2263
07037eeb
JM
22642012-03-08 Joseph Myers <joseph@codesourcery.com>
2265
a7a93d50
JM
2266 [BZ #6911]
2267 * manual/macros.texi (gnusystems): New macro.
2268 (nongnusystems): Likewise.
2269 (gnulinuxhurdsystems): Likewise.
2270 (gnuhurdsystems): Likewise..
2271 (gnulinuxsystems): Likewise.
2272 * manual/charset.texi: Use new macros or @theglibc{} to refer to
2273 variants of the GNU system, not "GNU system".
2274 * manual/conf.texi: Likewise.
2275 * manual/errno.texi: Likewise. Update example of errno macro
2276 expansion.
2277 * manual/filesys.texi: Likewise.
2278 (getumask): Document as specific to GNU/Hurd.
2279 * manual/install.texi: Likewise. Reword some references to
2280 GNU/Linux.
2281 * manual/intro.texi: Likewise.
2282 * manual/io.texi: Likewise.
2283 (File Name Portability): Detail which constraints are inapplicable
2284 to all GNU systems and which are only inapplicable to GNU/Hurd.
2285 * manual/job.texi: Likewise.
2286 * manual/llio.texi: Likewise.
2287 (O_NOCTTY): Document as present on GNU/Linux.
2288 * manual/maint.texi: Likewise.
2289 * manual/memory.texi: Likewise.
2290 * manual/pattern.texi: Likewise.
2291 * manual/pipe.texi: Likewise.
2292 * manual/process.texi: Likewise.
2293 * manual/resource.texi: Likewise.
2294 (RUSAGE_CHILDREN): Remove statement about specifying a particular
2295 child on GNU/Hurd.
2296 * manual/setjmp.texi: Likewise.
2297 * manual/signal.texi: Likewise.
2298 * manual/startup.texi: Likewise.
2299 * manual/stdio.texi: Likewise.
2300 * manual/terminal.texi: Likewise.
2301 (ONLCR): Document as POSIX.
2302 (OXTABS): Document availability on GNU/Linux as XTABS.
2303 (ONOEOT): Document availability separately from other bits.
2304 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2305 * manual/time.texi: Likewise.
2306 * manual/users.texi: Likewise.
2307 * INSTALL: Regenerated.
2308 * sysdeps/gnu/errlist.c: Regenerated.
2309
07037eeb
JM
2310 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2311 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2312 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
2313 puts.
2314 * configure: Regenerated.
2315
d1d3431a
JM
23162012-03-07 Joseph Myers <joseph@codesourcery.com>
2317
af6a1e37
JM
2318 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2319 default includes instead of AC_HEADER_CHECK.
2320 * sysdeps/i386/configure: Regenerated.
2321
d1d3431a
JM
2322 [BZ #10716]
2323 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2324 * math/s_cacoshf.c (__cacoshf): Likewise.
2325 * math/s_cacoshl.c (__cacoshl): Likewise.
2326 * math/s_casinh.c (__casinh): Set signs of result from argument.
2327 * math/s_casinhf.c (__casinhf): Likewise.
2328 * math/s_casinhl.c (__casinhl): Likewise.
2329 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2330 (casinh_test): Add more tests.
2331 * sysdeps/i386/fpu/libm-test-ulps: Update.
2332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2333
482ff4da
UD
23342012-03-07 Ulrich Drepper <drepper@gmail.com>
2335
872fda05
UD
2336 * po/zh_TW.po: Update from translation team.
2337
a4300c7a
UD
2338 * login/Makefile (distribute): Remove variable.
2339 * catgets/Makefile: Likewise.
2340 * mach/Makefile: Likewise.
2341 * malloc/Makefile: Likewise.
2342 * misc/Makefile: Likewise.
2343 * iconv/Makefile: Likewise.
2344 * nscd/Makefile: Likewise.
2345 * hurd/Makefile: Likewise.
2346 * manual/Makefile: Likewise.
2347 * locale/Makefile: Likewise.
2348 * intl/Makefile: Likewise.
2349 * conform/Makefile: Likewise.
2350 * nss/Makefile: Likewise.
2351 * time/Makefile: Likewise.
2352 * soft-fp/Makefile: Likewise.
2353 * dirent/Makefile: Likewise.
2354 * gmon/Makefile: Likewise.
2355 * po/Makefile: Likewise.
2356 * rt/Makefile: Likewise.
2357 * socket/Makefile: Likewise.
2358 * math/Makefile: Likewise.
2359 * signal/Makefile: Likewise.
2360 * debug/Makefile: Likewise.
2361 * elf/Makefile: Likewise.
2362 * timezone/Makefile: Likewise.
2363 * stdlib/Makefile: Likewise.
2364 * iconvdata/Makefile: Likewise.
2365 * sunrpc/Makefile: Likewise.
2366 * io/Makefile: Likewise.
2367 * argp/Makefile: Likewise.
2368 * inet/Makefile: Likewise.
2369 * hesiod/Makefile: Likewise.
2370 * grp/Makefile: Likewise.
2371 * csu/Makefile: Likewise.
2372 * wctype/Makefile: Likewise.
2373 * crypt/Makefile: Likewise.
2374 * libio/Makefile: Likewise.
2375 * string/Makefile: Likewise.
2376 * nis/Makefile: Likewise.
2377 * resolv/Makefile: Likewise.
2378 * stdio-common/Makefile: Likewise.
2379 * wcsmbs/Makefile: Likewise.
2380 * dlfcn/Makefile: Likewise.
2381 * posix/Makefile: Likewise.
2382
482ff4da
UD
2383 * timezone/Makefile: Don't install timezone files, just the programs
2384 and scripts.
2385
f72ed77d
UD
23862012-03-06 Ulrich Drepper <drepper@gmail.com>
2387
a000466f
UD
2388 * nss/databases.def: Add missing gshadow entry.
2389
f72ed77d
UD
2390 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2391
a53b7a4e
MP
23922012-03-06 Marek Polacek <polacek@redhat.com>
2393
2394 [BZ #13726]
2395 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2396 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2397 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2398 * stdio-common/tst-long-dbl-fphex.c: New file.
2399
e9258400
DM
24002012-03-06 David S. Miller <davem@davemloft.net>
2401
2402 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2403 (set_obp_int): New function.
2404 (get_obp_int): New function.
2405 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
2406 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2407 Avoid unused variable warnings on 'val' and use builtin_expect.
2408 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2409 __builtin_expect.
e9258400
DM
2410 (INLINE_CLONE_SYSCALL): Likewise.
2411
3bd2c723
DM
24122012-03-05 David S. Miller <davem@davemloft.net>
2413
2414 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2415
bbb78d03
AS
24162012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2417
884c5db4
AS
2418 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2419
bbb78d03
AS
2420 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2421 only for |x| >= 40.
2422 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2423
1c9f702a 24242012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
2425
2426 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2427 Replace gettimeofday with __vdso_gettimeofday.
2428
7be16f82
RM
2429 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2430 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2431 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
2432
2433 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2434 time with __vdso_time.
2435
ed58a00f
JM
24362012-03-05 Joseph Myers <joseph@codesourcery.com>
2437
2438 * manual/lang.texi (size_t): Note types to which size_t may be
2439 equivalent with the GNU C Library, but do not describe when
2440 differences between them are significant.
2441
30ee4ced
AJ
24422012-03-05 Andreas Jaeger <aj@suse.de>
2443
2444 * sysdeps/i386/fpu/libm-test-ulps: Update.
2445
b7cd39e8
JM
24462012-03-05 Joseph Myers <joseph@codesourcery.com>
2447
2448 [BZ #3976]
2449 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2450 (__ieee754_pow): Save and restore rounding mode and use
2451 round-to-nearest for main computations.
2452 * math/libm-test.inc (pow_test_tonearest): New function.
2453 (pow_test_towardzero): Likewise.
2454 (pow_test_downward): Likewise.
2455 (pow_test_upward): Likewise.
2456 (main): Call the new functions.
2457 * sysdeps/i386/fpu/libm-test-ulps: Update.
2458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
2459
2460 [BZ #3976]
2461 * math/libm-test.inc (cosh_test_tonearest): New function.
2462 (cosh_test_towardzero): Likewise.
2463 (cosh_test_downward): Likewise.
2464 (cosh_test_upward): Likewise.
2465 (sinh_test_tonearest): Likewise.
2466 (sinh_test_towardzero): Likewise.
2467 (sinh_test_downward): Likewise.
2468 (sinh_test_upward): Likewise.
2469 (main): Call the new functions.
2470 * sysdeps/i386/fpu/libm-test-ulps: Update.
2471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2472
6c6a98c9
TV
24732012-03-05 Tom de Vries <tom@codesourcery.com>
2474
2475 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2476 default stack guard is set in last bytes.
2477 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2478
21bb2d2e 24792012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 2480
21bb2d2e 2481 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 2482
21bb2d2e
AJ
2483 [BZ #13656]
2484 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2485 possibly allocate from heap instead of stack.
2486 * stdio-common/bug-vfprintf-nargs.c: New file.
2487 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 2488
c6922934
AS
24892012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2490
2491 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2492
bc957d53
MP
24932012-03-03 Marek Polacek <polacek@redhat.com>
2494
2495 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2496 * math/math_private.h: Likewise.
2497 * stdlib/tst-strtod.c: Likewise.
2498 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2499 * sysdeps/x86_64/bits/atomic.h: Likewise.
2500
6358490d
DM
25012012-03-02 David S. Miller <davem@davemloft.net>
2502
2503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2507 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2508 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2509 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2510 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2511
01ae168d
RM
25122012-03-02 Roland McGrath <roland@hack.frob.com>
2513
d9a17c07
RM
2514 [BZ #13792]
2515 * manual/examples/README: New file, says the example source files
2516 can be used under GPL>=2.
2517 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2518 line containing just "*/".
2519 * manual/examples/add.c: Add copyright header (GPL>=2).
2520 * manual/examples/argp-ex1.c: Likewise.
2521 * manual/examples/argp-ex2.c: Likewise.
2522 * manual/examples/argp-ex3.c: Likewise.
2523 * manual/examples/argp-ex4.c: Likewise.
2524 * manual/examples/atexit.c: Likewise.
2525 * manual/examples/db.c: Likewise.
2526 * manual/examples/dir.c: Likewise.
2527 * manual/examples/dir2.c: Likewise.
2528 * manual/examples/execinfo.c: Likewise.
2529 * manual/examples/filecli.c: Likewise.
2530 * manual/examples/filesrv.c: Likewise.
2531 * manual/examples/fmtmsgexpl.c: Likewise.
2532 * manual/examples/genpass.c: Likewise.
2533 * manual/examples/inetcli.c: Likewise.
2534 * manual/examples/inetsrv.c: Likewise.
2535 * manual/examples/isockad.c: Likewise.
2536 * manual/examples/longopt.c: Likewise.
2537 * manual/examples/memopen.c: Likewise.
2538 * manual/examples/memstrm.c: Likewise.
2539 * manual/examples/mkfsock.c: Likewise.
2540 * manual/examples/mkisock.c: Likewise.
2541 * manual/examples/mygetpass.c: Likewise.
2542 * manual/examples/pipe.c: Likewise.
2543 * manual/examples/popen.c: Likewise.
2544 * manual/examples/rprintf.c: Likewise.
2545 * manual/examples/search.c: Likewise.
2546 * manual/examples/select.c: Likewise.
2547 * manual/examples/setjmp.c: Likewise.
2548 * manual/examples/sigh1.c: Likewise.
2549 * manual/examples/sigusr.c: Likewise.
2550 * manual/examples/stpcpy.c: Likewise.
2551 * manual/examples/strdupa.c: Likewise.
2552 * manual/examples/strftim.c: Likewise.
2553 * manual/examples/strncat.c: Likewise.
2554 * manual/examples/subopt.c: Likewise.
2555 * manual/examples/swapcontext.c: Likewise.
2556 * manual/examples/termios.c: Likewise.
2557 * manual/examples/testopt.c: Likewise.
2558 * manual/examples/testpass.c: Likewise.
2559 * manual/examples/timeval_subtract.c: Likewise.
2560
01ae168d
RM
2561 [BZ #13792]
2562 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2563 function to ...
2564 * manual/timeval_subtract.c.texi: ... here, new file.
2565
49efa33d
DM
25662012-03-02 David S. Miller <davem@davemloft.net>
2567
2568 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2569
28afd92d
JM
25702012-03-02 Joseph Myers <joseph@codesourcery.com>
2571
804360ed
JM
2572 [BZ #3976]
2573 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2574 (__sin): Save and restore rounding mode and use round-to-nearest
2575 for all computations.
2576 (__cos): Save and restore rounding mode and use round-to-nearest
2577 for all computations.
2578 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2579 <fenv.h>.
2580 (tan): Save and restore rounding mode and use round-to-nearest for
2581 all computations.
2582 * math/libm-test.inc (cos_test_tonearest): New function.
2583 (cos_test_towardzero): Likewise.
2584 (cos_test_downward): Likewise.
2585 (cos_test_upward): Likewise.
2586 (sin_test_tonearest): Likewise.
2587 (sin_test_towardzero): Likewise.
2588 (sin_test_downward): Likewise.
2589 (sin_test_upward): Likewise.
2590 (tan_test_tonearest): Likewise.
2591 (tan_test_towardzero): Likewise.
2592 (tan_test_downward): Likewise.
2593 (tan_test_upward): Likewise.
2594 (main): Call the new functions.
2595 * sysdeps/i386/fpu/libm-test-ulps: Update.
2596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2597
a6d06d7b
JM
2598 [BZ #10135]
2599 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2600 small n, then large n, before computing and testing k+n.
2601 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2602 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2603 Likewise.
2604 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2605 Likewise.
2606 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2607 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2608 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2609 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2610 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2611 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2612 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2613 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2614 * math/libm-test.inc (scalbn_test): Add more tests.
2615 (scalbln_test): Likewise.
2616
07e12bb3
JM
2617 * manual/filesys.texi (mode_t): Describe constraints on size and
2618 signedness, not exact equivalence to a particular type.
2619 (ino_t): Likewise.
2620 (ino64_t): Likewise.
2621 (dev_t): Likewise.
2622 (nlink_t): Likewise.
2623 (blkcnt_t): Likewise.
2624 (blkcnt64_t): Likewise.
2625 * manual/llio.texi (off_t): Likewise.
2626
28afd92d
JM
2627 [BZ #3976]
2628 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2629 (__ieee754_exp): Save and restore rounding mode and use
2630 round-to-nearest for all computations.
2631 * math/libm-test.inc (exp_test_tonearest): New function.
2632 (exp_test_towardzero): Likewise.
2633 (exp_test_downward): Likewise.
2634 (exp_test_upward): Likewise.
2635 (main): Call the new functions.
2636 * sysdeps/i386/fpu/libm-test-ulps: Update.
2637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2638
b1eeb65d
CD
26392012-03-01 Chris Demetriou <cgd@google.com>
2640
2641 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2642 have predictable order.
2643
53362a4b
DM
26442012-03-01 David S. Miller <davem@davemloft.net>
2645
3c969083
DM
2646 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2647
759707de
DM
2648 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2649 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2650 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2651 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2652
dfdb8ff2
DM
2653 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2654 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2655 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2657 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2658 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2659 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2660 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2661 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2662
ead89f96
DM
2663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2664
7f66bd07
DM
2665 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2666 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2667 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2668
53362a4b
DM
2669 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2670 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2671 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2672 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2673 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2674 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2675 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2676 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2677 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2678 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2679 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2680 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2681 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2682 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2683 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2684 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2685 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2686 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2687 * sysdeps/sparc/elf/configure: Regenerated.
2688
7b1902cb
JM
26892012-03-01 Joseph Myers <joseph@codesourcery.com>
2690
bec039bc
JM
2691 * configure.in (AS, LD): Require binutils 2.20 or later.
2692 * configure: Regenerated.
2693 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2694 as required minimum version.
2695 * INSTALL: Regenerated.
2696
7b1902cb
JM
2697 [BZ #2541]
2698 [BZ #4108]
2699 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2700 before squaring exponent.
2701 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2702 bottom long double and 27 bits of top long double before squaring
2703 exponent.
2704 * math/libm-test.inc (erfc_test): Add more tests.
2705 * sysdeps/i386/fpu/libm-test-ulps: Update.
2706 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2708
f775c276
KT
27092012-03-01 Kai Tietz <ktietz@redhat.com>
2710
2711 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2712 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2713 containing bit-fields.
2714 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2715 * soft-fp/single.h (_FP_UNION_S): Likewise.
2716 * soft-fp/double.h (_FP_UNION_D): Likewise.
2717
5b8a4d4a
JM
27182012-02-29 Joseph Myers <joseph@codesourcery.com>
2719
0bab47b6
JM
2720 [BZ #13786]
2721 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2722 not include ../strcmp.S.
2723 [USE_AS_STRNCASECMP_L]: Likewise.
2724 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2725 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2726 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2727 (__strncasecmp_l_ia32): Define as alias to
2728 __strncasecmp_l_nonascii.
2729
0fcad3e2
JM
2730 [BZ #5794]
2731 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2732 * sysdeps/i386/fpu/libm-test-ulps: Update.
2733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2734
5b8a4d4a
JM
2735 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2737
8fdceb2e
JL
27382012-02-29 Jeff Law <law@redhat.com>
2739
2740 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2741 out of bounds read.
2742
1f393a11
MP
27432012-02-29 Marek Polacek <polacek@redhat.com>
2744
2745 [BZ #13706]
2746 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2747 * elf/Makefile: Add rules to run tst-unused-dep.out.
2748
8847f037
DM
27492012-02-28 David S. Miller <davem@davemloft.net>
2750
2751 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2752 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2753 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2754 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2755 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2756 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2757
169d7f11
JM
27582012-02-29 Joseph Myers <joseph@codesourcery.com>
2759
2760 * math/libm-test.inc (llround_test): Move one test from
2761 lround_test. Use TEST_f_L in moved test.
2762 (lround_test): Move misplaced test to llround_test. Add testcase
2763 from bug 2561.
2764
39adf059
UD
27652012-02-28 Ulrich Drepper <drepper@gmail.com>
2766
2767 * sysdeps/x86_64/fpu/e_expf.S: New file.
2768 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2769
71b5d1c5
SB
27702012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2771
2772 [BZ #13637]
2773 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2774 of remain_len that may cause incomplete multi-byte character and
2775 false match.
2776 * posix/bug-regex33.c: New file.
2777 * posix/Makefile (tests): Add bug-regex33.
2778
1f77f049
JM
27792012-02-28 Joseph Myers <joseph@codesourcery.com>
2780
2781 * manual/macros.texi: New file.
2782 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2783 * manual/libc.texinfo: Include macros.texi.
2784 * manual/creatute.texi: Likewise.
2785 * manual/install.texi: Likewise.
2786 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2787 @glibcadj{} in references to the GNU C Library.
2788 * manual/charset.texi: Likewise.
2789 * manual/conf.texi: Likewise.
2790 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2791 when not using those macros.
2792 * manual/creature.texi: Likewise.
2793 * manual/crypt.texi: Likewise.
2794 * manual/errno.texi: Likewise.
2795 * manual/filesys.texi: Likewise.
2796 * manual/header.texi: Likewise.
2797 * manual/install.texi: Likewise.
2798 * manual/intro.texi: Likewise.
2799 * manual/io.texi: Likewise.
2800 * manual/job.texi: Likewise.
2801 * manual/lang.texi: Likewise.
2802 * manual/libc.texiinfo: Likewise.
2803 * manual/llio.texi: Likewise.
2804 * manual/locale.texi: Likewise.
2805 * manual/maint.texi: Likewise.
2806 * manual/math.texi: Likewise.
2807 * manual/memory.texi: Likewise.
2808 * manual/message.texi: Likewise.
2809 * manual/nss.texi: Likewise.
2810 * manual/pattern.texi: Likewise.
2811 * manual/process.texi: Likewise.
2812 * manual/resource.texi: Likewise.
2813 * manual/search.texi: Likewise.
2814 * manual/setjmp.texi: Likewise.
2815 * manual/signal.texi: Likewise.
2816 * manual/socket.texi: Likewise.
2817 * manual/startup.texi: Likewise.
2818 * manual/stdio.texi: Likewise.
2819 * manual/string.texi: Likewise.
2820 * manual/sysinfo.texi: Likewise.
2821 * manual/syslog.texi: Likewise.
2822 * manual/terminal.texi: Likewise.
2823 * manual/time.texi: Likewise.
2824 * manual/users.texi: Likewise.
2825 * INSTALL: Regenerated.
2826 * NOTES: Regenerated.
d40c5d54 2827 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 2828
450bf206
AS
28292012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2830
2831 * include/dirent.h: Include <dirstream.h> before
2832 <dirent/dirent.h>.
2833
741a235b
DM
28342012-02-28 David S. Miller <davem@davemloft.net>
2835
2836 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2837 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2838 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2839 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2840
d6b5aa58
DM
28412012-02-27 David S. Miller <davem@davemloft.net>
2842
1aff59a3
DM
2843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2845 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2846 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2847
d6b5aa58
DM
2848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2849 frame pointer instead of stack pointer relative arg slot.
2850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2851 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2852 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2853
433f48bf
CD
28542012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2855
2856 [BZ #3992]
2857 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2858
d674b76d
DM
28592012-02-27 David S. Miller <davem@davemloft.net>
2860
2861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2865 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2866 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2867 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2868 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2869
0e7727f7
JM
28702012-02-27 Joseph Myers <joseph@codesourcery.com>
2871
2872 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2873 later. Allow versions 5-9.
43be4ca2 2874 * configure: Regenerated.
0e7727f7
JM
2875 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2876 required minimum version and 4.6 as recommended version. Do not
2877 mention bugs in GCC 2.7 and 2.8.
43be4ca2 2878 * INSTALL: Regenerated.
0e7727f7 2879
a78bc654
DM
28802012-02-27 David S. Miller <davem@davemloft.net>
2881
428d5830
DM
2882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2883 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2884 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2885 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2886 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2887 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2888 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2889 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2890
a78bc654
DM
2891 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2892 manipulate bits before adding and subtracting TWO112[sx].
2893 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2894
4579f81c
RM
28952012-02-27 Roland McGrath <roland@hack.frob.com>
2896
36c8acb4
RM
2897 [BZ #13775]
2898 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2899 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2900 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2901 being in POSIX, because they are in 1003.1-2008.
2902
84ad622b
RM
2903 * rt/tst-aio.c: Include <fcntl.h>.
2904 * rt/tst-aio7.c: Likewise.
2905 * rt/tst-aio64.c: Likewise.
2906
4579f81c
RM
2907 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2908
abd923db
JM
29092012-02-27 Joseph Myers <joseph@codesourcery.com>
2910
2911 * manual/install.texi (--with-headers): Describe headers as
2912 interface headers, not private headers.
2913 (Specific advice for GNU/Linux systems): Describe use of headers
2914 from "make headers_install", not private headers from older
2915 kernels.
43be4ca2 2916 * INSTALL: Regenerated.
abd923db
JM
2917 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2918 Change to 2.6.19.
2919 * sysdeps/unix/sysv/linux/configure: Regenerated.
2920
6664049b
JM
2921 * manual/llio.texi (fclean): Remove documentation.
2922
bb8b6697
JM
2923 * manual/Makefile (libc-texi-generated): New variable. Include
2924 version.texi.
2925 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2926 $(libc-texi-generated), not duplicated list of files.
2927 (version.texi, stamp-version): New rules.
2928 (realclean): Remove $(libc-texi-generated), not individual files
2929 from that list. Do not remove dir-add.texinfo.
2930 * manual/libc.texinfo: Comment out uses of edition numbers and
2931 references to printed manual. Remove last-updated dates.
2932 (EDITION): Comment out.
2933 (ISBN): Likewise.
2934 (VERSION, UPDATED): Remove.
2935 (version.texi): Include.
2936
12e5c3b9
AS
29372012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2938
2939 * sysdeps/posix/spawni.c: Include <signal.h>.
2940 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2941 * sysdeps/pthread/aio_fsync.c: Likewise.
2942
4efeffc1 29432012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 2944
ba63ba08
UD
2945 * conform/Makefile (tests): Run only when not cross-compiling and
2946 when fast-check is not defined.
2947
d94a4670
UD
2948 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2949 * conform/data/limits.h-data: Fixes for POSIX2008.
2950 * conform/run-conformtest.sh: Run all tests.
2951 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2952 headers.
2953 * include/bits/dlfcn.h: Likewise.
2954 * include/langinfo.h: Likewise.
2955 * include/monetary.h: Likewise.
2956 * include/sys/poll.h: Likewise.
2957
2958 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2959 for __USE_GNU.
2960 * posix/spawn.h: Define __need_sigset_t.
2961 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2962 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2963 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2964 to get sigevent_t only.
2965 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2966 only for __USE_GNU.
2967 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2968 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2969 process_vm_writev only for __USE_GNU.
2970 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
2971
2972 * conform/Makefile: For now ignore errors from run-conformtest.
2973 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
2974 POSIX to avoid namespace pollution. Don't prepend headers.
2975 * conform/data/aio.h-data: Fixes for POSIX testing.
2976 * conform/data/fcntl.h-data: Likewise.
2977 * conform/data/glob.h-data: Likewise.
2978 * conform/data/grp.h-data: Likewise.
2979 * conform/data/pthread.h-data: Likewise.
2980 * conform/data/pwd.h-data: Likewise.
2981 * conform/data/signal.h-data: Likewise.
2982 * conform/data/spawn.h-data: Likewise.
2983 * conform/data/stdio.h-data: Likewise.
2984 * conform/data/stdlib.h-data: Likewise.
2985 * conform/data/stropts.h-data: Likewise.
2986 * conform/data/sys/mman.h-data: Likewise.
2987 * conform/data/sys/stat.h-data: Likewise.
2988 * conform/data/sys/types.h-data: Likewise.
2989 * conform/data/sys/wait.h-data: Likewise.
2990 * conform/data/time.h-data: Likewise.
2991 * conform/data/unistd.h-data: Likewise.
2992 * conform/data/utime.h-data: Likewise.
2993
2994 * io/sys/stat.h: fchmod was always in POSIX.
2995 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
2996 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
2997 * rt/aio.h: Define __need_timespec before including <time.h>.
2998 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
2999 struct. Add forward declaration of pthread_attr_t and use it in
3000 sigevent.
3001 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3002 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3003 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
3004 always remove CLK_TCK definition.
3005
c20105c3
AS
30062012-02-26 Andreas Schwab <schwab@linux-m68k.org>
3007
3008 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
3009
7a270350
UD
30102012-02-25 Ulrich Drepper <drepper@gmail.com>
3011
31341567
UD
3012 * conform/run-conformtest.sh: New file.
3013 * conform/Makefile: Run run-conformtest for tests.
3014 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
3015 support.
3016
3017 * conform/data/uchar.h-data: New file.
3018 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
3019 * conform/data/arpa/inet.h-data: Likewise.
3020 * conform/data/assert.h-data: Likewise.
3021 * conform/data/complex.h-data: Likewise.
3022 * conform/data/cpio.h-data: Likewise.
3023 * conform/data/ctype.h-data: Likewise.
3024 * conform/data/dirent.h-data: Likewise.
3025 * conform/data/dlfcn.h-data: Likewise.
3026 * conform/data/errno.h-data: Likewise.
3027 * conform/data/fcntl.h-data: Likewise.
3028 * conform/data/float.h-data: Likewise.
3029 * conform/data/fmtmsg.h-data: Likewise.
3030 * conform/data/fnmatch.h-data: Likewise.
3031 * conform/data/ftw.h-data: Likewise.
3032 * conform/data/glob.h-data: Likewise.
3033 * conform/data/grp.h-data: Likewise.
3034 * conform/data/iconv.h-data: Likewise.
3035 * conform/data/inttypes.h-data: Likewise.
3036 * conform/data/langinfo.h-data: Likewise.
3037 * conform/data/libgen.h-data: Likewise.
3038 * conform/data/limits.h-data: Likewise.
3039 * conform/data/locale.h-data: Likewise.
3040 * conform/data/math.h-data: Likewise.
3041 * conform/data/monetary.h-data: Likewise.
3042 * conform/data/mqueue.h-data: Likewise.
3043 * conform/data/ndbm.h-data: Likewise.
3044 * conform/data/net/if.h-data: Likewise.
3045 * conform/data/netdb.h-data: Likewise.
3046 * conform/data/netinet/in.h-data: Likewise.
3047 * conform/data/nl_types.h-data: Likewise.
3048 * conform/data/poll.h-data: Likewise.
3049 * conform/data/pthread.h-data: Likewise.
3050 * conform/data/pwd.h-data: Likewise.
3051 * conform/data/regex.h-data: Likewise.
3052 * conform/data/sched.h-data: Likewise.
3053 * conform/data/search.h-data: Likewise.
3054 * conform/data/semaphore.h-data: Likewise.
3055 * conform/data/setjmp.h-data: Likewise.
3056 * conform/data/signal.h-data: Likewise.
3057 * conform/data/spawn.h-data: Likewise.
3058 * conform/data/stdarg.h-data: Likewise.
3059 * conform/data/stdio.h-data: Likewise.
3060 * conform/data/stdlib.h-data: Likewise.
3061 * conform/data/string.h-data: Likewise.
3062 * conform/data/strings.h-data: Likewise.
3063 * conform/data/stropts.h-data: Likewise.
3064 * conform/data/sys/ipc.h-data: Likewise.
3065 * conform/data/sys/mman.h-data: Likewise.
3066 * conform/data/sys/msg.h-data: Likewise.
3067 * conform/data/sys/resource.h-data: Likewise.
3068 * conform/data/sys/select.h-data: Likewise.
3069 * conform/data/sys/sem.h-data: Likewise.
3070 * conform/data/sys/shm.h-data: Likewise.
3071 * conform/data/sys/socket.h-data: Likewise.
3072 * conform/data/sys/stat.h-data: Likewise.
3073 * conform/data/sys/statvfs.h-data: Likewise.
3074 * conform/data/sys/time.h-data: Likewise.
3075 * conform/data/sys/timeb.h-data: Likewise.
3076 * conform/data/sys/times.h-data: Likewise.
3077 * conform/data/sys/types.h-data: Likewise.
3078 * conform/data/sys/uio.h-data: Likewise.
3079 * conform/data/sys/un.h-data: Likewise.
3080 * conform/data/sys/utsname.h-data: Likewise.
3081 * conform/data/sys/wait.h-data: Likewise.
3082 * conform/data/syslog.h-data: Likewise.
3083 * conform/data/tar.h-data: Likewise.
3084 * conform/data/termios.h-data: Likewise.
3085 * conform/data/utime.h-data: Likewise.
3086 * conform/data/utmpx.h-data: Likewise.
3087 * conform/data/varargs.h-data: Likewise.
3088 * conform/data/wchar.h-data: Likewise.
3089 * conform/data/wctype.h-data: Likewise.
3090 * conform/data/wordexp.h-data: Likewise.
3091
3092 * include/stropts.h: New file.
3093 * include/uchar.h: New file.
3094 * include/aio.h: Changes to allow conformtest.pl to use the headers.
3095 * include/assert.h: Likewise.
3096 * include/ctype.h: Likewise.
3097 * include/dirent.h: Likewise.
3098 * include/dlfcn.h: Likewise.
3099 * include/fcntl.h: Likewise.
3100 * include/fnmatch.h: Likewise.
3101 * include/glob.h: Likewise.
3102 * include/grp.h: Likewise.
3103 * include/libio.h: Likewise.
3104 * include/locale.h: Likewise.
3105 * include/math.h: Likewise.
3106 * include/net/if.h: Likewise.
3107 * include/netdb.h: Likewise.
3108 * include/netinet/in.h: Likewise.
3109 * include/pthread.h: Likewise.
3110 * include/pwd.h: Likewise.
3111 * include/regex.h: Likewise.
3112 * include/sched.h: Likewise.
3113 * include/search.h: Likewise.
3114 * include/setjmp.h: Likewise.
3115 * include/signal.h: Likewise.
3116 * include/stdio.h: Likewise.
3117 * include/stdlib.h: Likewise.
3118 * include/string.h: Likewise.
3119 * include/sys/cdefs.h: Likewise.
3120 * include/sys/mman.h: Likewise.
3121 * include/sys/msg.h: Likewise.
3122 * include/sys/resource.h: Likewise.
3123 * include/sys/select.h: Likewise.
3124 * include/sys/socket.h: Likewise.
3125 * include/sys/stat.h: Likewise.
3126 * include/sys/statvfs.h: Likewise.
3127 * include/sys/time.h: Likewise.
3128 * include/sys/times.h: Likewise.
3129 * include/sys/uio.h: Likewise.
3130 * include/sys/utsname.h: Likewise.
3131 * include/sys/wait.h: Likewise.
3132 * include/termios.h: Likewise.
3133 * include/time.h: Likewise.
3134 * include/ulimit.h: Likewise.
3135 * include/unistd.h: Likewise.
3136 * include/utime.h: Likewise.
3137 * include/wchar.h: Likewise.
3138 * include/wctype.h: Likewise.
3139 * include/wordexp.h: Likewise.
3140
3141 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3142
7a270350
UD
3143 * time/time.h: TIME_UTC must be a macro.
3144 Make timespec_get available for ISO C11 only as well.
3145
7724defc
UD
31462012-02-24 Ulrich Drepper <drepper@gmail.com>
3147
3148 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
3149 Reported by Peng Haitao <penght@cn.fujitsu.com>.
3150
6b1d1d46
JM
31512012-02-24 Joseph Myers <joseph@codesourcery.com>
3152
3153 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 3154
0f8bbd69
JM
31552012-02-24 Joseph Myers <joseph@codesourcery.com>
3156
3157 * manual/texinfo.tex: Update to version 2012-01-19.16.
3158
66ab80bc
JM
31592012-02-24 Joseph Myers <joseph@codesourcery.com>
3160
3161 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3162
74981cc5
RM
31632012-02-24 Roland McGrath <roland@hack.frob.com>
3164
ee968201
RM
3165 [BZ #13738]
3166 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3167 * manual/fdl-1.3.texi: New file.
3168 * manual/fdl-1.1.texi: File removed.
3169
74981cc5
RM
3170 [BZ #13738]
3171 * manual/libc.texinfo (FDL_VERSION): New @set.
3172 Use it for mention of FDL in cover text.
3173 (Documentation License): Use it in @include file name.
3174
7bb764bc
JM
31752012-02-22 Joseph Myers <joseph@codesourcery.com>
3176 Roland McGrath <roland@hack.frob.com>
3177
3178 [BZ #5461]
3179 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3180 not LONG_LONG_MAX and LONG_LONG_MIN.
3181 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3182 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
3183 name.
3184 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3185
6cbeae47
JM
31862012-02-22 Joseph Myers <joseph@codesourcery.com>
3187
3188 [BZ #2547]
3189 [BZ #11365]
3190 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3191 manipulate bits before adding and subtracting TWO23[sx].
3192 * math/libm-test.inc (nearbyint_test): Add more tests.
3193
fe45ce09
JM
31942012-02-22 Joseph Myers <joseph@codesourcery.com>
3195
3196 [BZ #2548]
3197 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3198 bits before adding and subtracting TWO23[sx].
3199 * math/libm-test.inc (rint_test): Add more tests.
3200 (rint_test_tonearest): Likewise.
3201 (rint_test_towardzero): Likewise.
3202 (rint_test_downward): Likewise.
3203 (rint_test_upward: Likewise.
3204
ff3b3d82
JM
32052012-02-22 Joseph Myers <joseph@codesourcery.com>
3206
3207 [BZ #10110]
3208 * include/stdc-predef.h: New file. Extracted from features.h.
3209 * include/features.h: Include stdc-predef.h.
3210 * Makefile (headers): Add stdc-predef.h.
3211 * CONFORMANCE (Compiler limitations): Update.
3212
ef0aab35
JM
32132012-02-22 Joseph Myers <joseph@codesourcery.com>
3214
3215 * manual/libc.texinfo (VERSION, UPDATED): Revert.
3216
58639409
DM
32172012-02-21 David S. Miller <davem@davemloft.net>
3218
3219 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3220 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3221
c0e70b25
DM
32222012-02-20 David S. Miller <davem@davemloft.net>
3223
3224 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3225 using a normal save/restore sequence, rather than allocating a
3226 dummy stack frame just to store a frame pointer and restore.
3227 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3228
fb06851d
JM
32292012-02-21 Joseph Myers <joseph@codesourcery.com>
3230
3231 * manual/install.texi: Fix stray word in line-wrapped comment.
3232
7a8b71c3
DM
32332012-02-20 David S. Miller <davem@davemloft.net>
3234
d510c123
DM
3235 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3236 both binutils and gcc support GOTDATA.
3237
0722d7c2
DM
3238 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3239 "rd %pc" in the PIC register setup sequences.
3240
3d2b3019
DM
3241 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3242 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3243 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3244 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3245 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3246 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3247 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3248 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3249 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3250 (SYSCALL_ERROR_HANDLER): Likewise.
3251 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3252 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3253 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3254 (SYSCALL_ERROR_HANDLER): Likewise.
3255
c80098a9
DM
3256 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3257 (HAVE_GCC_GOTDATA): New.
3258 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3259 relocation support in both binutils and gcc.
3260 * sysdeps/sparc/elf/configure: Regenerate.
3261
3a2545a0
DM
3262 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3263 * sysdeps/sparc/sparc32/elf/configure: Delete.
3264 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3265 * sysdeps/sparc/sparc64/elf/configure: Delete.
3266 * sysdeps/sparc/elf/configure.in: New file.
3267 * sysdeps/sparc/elf/configure: Generate.
3268
7a8b71c3
DM
3269 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3270 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3271 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3272 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3273 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3274
f1e86fca
JM
32752012-02-21 Joseph Myers <joseph@codesourcery.com>
3276
3277 * manual/install.texi: Do not mention specific glibc version
3278 numbers.
3279 * manual/libc.texinfo (VERSION, UPDATED): Update.
3280 (@copying): Use @copyright{} and range of years.
3281
0e7dfaef
JM
32822012-02-21 Joseph Myers <joseph@codesourcery.com>
3283
3284 [BZ #13695]
3285 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3286 [crti.S not in sysdirs] (generated): Do not append.
3287 [crti.S not in sysdirs] (omit-deps): Likewise.
3288 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3289 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3290 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3291 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3292 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3293 Likewise.
3294 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3295 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3296 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3297 * csu/defs.awk: Remove file.
3298 * sysdeps/generic/initfini.c: Likewise.
3299 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3300 variable.
3301 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3302 Likewise.
3303
599af3ca
JM
33042012-02-20 Joseph Myers <joseph@codesourcery.com>
3305
3306 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3307 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3308 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3309 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3310 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3311 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3312 <bits/epoll.h>.
3313 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3314 (__EPOLL_PACKED): Define to empty if not defined by
3315 <bits/epoll.h>.
3316 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3317 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3318 bits/epoll.h.
3319
0e499750
JM
33202012-02-20 Joseph Myers <joseph@codesourcery.com>
3321
3322 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3323 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3324 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3325 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3326 <bits/timerfd.h>.
3327 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3328 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3329 bits/timerfd.h.
3330
5ad91f6e
JM
33312012-02-20 Joseph Myers <joseph@codesourcery.com>
3332
3333 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3334 in C locale.
3335 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3336 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3337 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3339
06b99b02
AJ
33402012-02-20 Aurelien Jarno <aurelien@aurel32.net>
3341
3342 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3343 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3344
7638c0fd
AS
33452012-02-19 Andreas Schwab <schwab@linux-m68k.org>
3346
3347 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3348 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3349 defined.
3350 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3351 Likewise.
3352 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3353 entry for 2.16.
3354
92221550
AJ
33552012-02-19 Aurelien Jarno <aurelien@aurel32.net>
3356
3357 * math/w_acos.c: Use non-signaling floating-point comparisons.
3358 * math/w_acosf.c: Likewise.
3359 * math/w_acosh.c: Likewise.
3360 * math/w_acoshf.c: Likewise.
3361 * math/w_acoshl.c: Likewise.
3362 * math/w_acosl.c: Likewise.
3363 * math/w_asin.c: Likewise.
3364 * math/w_asinf.c: Likewise.
3365 * math/w_asinl.c: Likewise.
3366 * math/w_atanh.c: Likewise.
3367 * math/w_atanhf.c: Likewise.
3368 * math/w_atanhl.c: Likewise.
3369 * math/w_exp2.c: Likewise.
3370 * math/w_exp2f.c: Likewise.
3371 * math/w_exp2l.c: Likewise.
3372 * math/w_j0.c: Likewise.
3373 * math/w_j0f.c: Likewise.
3374 * math/w_j0l.c: Likewise.
3375 * math/w_j1.c: Likewise.
3376 * math/w_j1f.c: Likewise.
3377 * math/w_j1l.c: Likewise.
3378 * math/w_jn.c: Likewise.
3379 * math/w_jnf.c: Likewise.
3380 * math/w_log.c: Likewise.
3381 * math/w_log10.c: Likewise.
3382 * math/w_log10f.c: Likewise.
3383 * math/w_log10l.c: Likewise.
3384 * math/w_log2.c: Likewise.
3385 * math/w_log2f.c: Likewise.
3386 * math/w_log2l.c: Likewise.
3387 * math/w_logf.c: Likewise.
3388 * math/w_logl.c: Likewise.
3389 * math/w_sqrt.c: Likewise.
3390 * math/w_sqrtf.c: Likewise.
3391 * math/w_sqrtl.c: Likewise.
3392 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3393 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3394 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3395 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3396 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3397
ebaf36eb
JM
33982012-02-19 Joseph Myers <joseph@codesourcery.com>
3399
3400 [BZ #9739]
3401 * manual/string.texi (strnlen): Use correct parameter name in
3402 equivalent expression.
3403
71c254a6
JM
34042012-02-19 Joseph Myers <joseph@codesourcery.com>
3405
3406 [BZ #11174]
3407 * manual/users.texi (seteuid): Consistently use neweuid for
3408 argument name.
3409
16d2c631
JM
34102012-02-19 Joseph Myers <joseph@codesourcery.com>
3411
3412 [BZ #13704]
3413 * manual/nss.texi (Services in the NSS configuration): Correct
3414 list of services in example configuration file.
3415
cd837b09
NB
34162012-02-19 Nick Bowler <nbowler@draconx.ca>
3417
3418 [BZ #11322]
3419 * manual/arith.texi: Remove statements about negative zero
3420 behaving identically to zero.
3421
02c4bbad
JM
34222012-02-18 Joseph Myers <joseph@codesourcery.com>
3423
3424 [BZ #5993]
3425 * manual/install.texi: Do not document upgrading from libc5.
3426
366842e7
JM
34272012-02-18 Joseph Myers <joseph@codesourcery.com>
3428
3429 [BZ #4596]
3430 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3431
dd54084d
DM
34322012-02-18 David S. Miller <davem@davemloft.net>
3433
3434 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3435 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3436 %o7 across the call.
3437 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3438 instead.
3439 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3440 SETUP_PIC_REG_LEAF.
3441 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3442 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3443 * sysdeps/sparc/crtn.S: Likewise.
3444
2bcc53a3
UD
34452012-02-17 Ulrich Drepper <drepper@gmail.com>
3446
3447 * aout/Makefile: Remove.
3448
09c093b5
RK
34492012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3450
3451 [BZ #13058]
3452 * manual/examples/argp-ex1.c (main): Format definition in GNU
3453 style.
3454 * manual/examples/argp-ex2.c (main): Likewise.
3455 * manual/examples/argp-ex3.c (main): Likewise.
3456 * manual/examples/argp-ex4.c (main): Likewise.
3457 * manual/examples/longopt.c (main): Use new-style prototype
3458 definition.
3459 * manual/examples/strncat.c (main): Specify return type and use
3460 (void) for arguments.
3461 * manual/examples/subopt.c (main): Use char **argv argument.
3462
2ee633a2
JM
34632012-02-17 Joseph Myers <joseph@codesourcery.com>
3464
3465 [BZ #5077]
3466 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3467 rounding modes.
3468
0520adde
FB
34692012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3470
3471 [BZ #6907]
3472 * manual/string.texi (strchr): Change when strchrnul is
3473 recommended.
3474
3f4081cd
DGM
34752012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3476
3477 [BZ #174]
3478 * manual/locale.texi (setlocale): Document LOCPATH.
3479
d1b10e78
JM
34802012-02-17 Joseph Myers <joseph@codesourcery.com>
3481
3482 [BZ #10210]
3483 * manual/process.texi (execle): Move @dots{} before last argument.
3484
79c6869c
PB
34852012-02-17 Paul Bolle <pebolle@tiscali.nl>
3486
3487 [BZ #12047]
3488 * manual/charset.texi (Generic Charset Conversion): Fix typo
3489 (LC_TYPE -> LC_CTYPE).
3490
cc6e48bc
NB
34912012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3492
3493 [BZ #5805]
3494 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3495 (scalbnf): Likewise.
3496 (scalbnl): Likewise.
3497 (scalbln): Likewise.
3498 (scalblnf): Likewise.
3499 (scalblnl): Likewise.
3500 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3501 (vwarnx): Likewise.
3502 (verr): Likewise.
3503 (verrx): Likewise.
3504 * manual/filesys.texi (telldir): Use braces around return type.
3505 * manual/llio.texi (mmap): Add space after comma.
3506 (mmap64): Likewise.
3507 * manual/math.texi (jn): Use @var{} on parameter names.
3508 (jnf): Likewise.
3509 (jnl): Likewise.
3510 (yn): Likewise.
3511 (ynf): Likewise.
3512 (ynl): Likewise.
3513 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3514 line.
3515 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3516 "...".
3517 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3518 (sched_get_priority_max): Likewise.
3519 * manual/signal.texi (sigvec): Add space after comma.
3520 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3521 names.
3522 (if_indextoname): Likewise.
3523 (if_freenameindex): Likewise.
3524 (sendto): Use ',' instead of '.' in prototype.
3525 * manual/startup.texi (syscall): Use @dots{} instead of literal
3526 "...".
3527 * manual/stdio.texi (__fpending): Separate initial words of
3528 paragraph from @deftypefun line.
3529 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3530 "...".
3531 (vsyslog): Use @var{} on parameter names.
3532 * manual/terminal.texi (stty): Use @var{} on parameter names.
3533 * manual/users.texi (getutmp): Use @var{} on parameter names.
3534 (getutmpx): Likewise.
3535
5b23062f
JM
35362012-02-17 Joseph Myers <joseph@codesourcery.com>
3537
3538 [BZ #6884]
3539 * manual/stdio.texi (fopen): Fix typos in description of
3540 ",ccs=STRING".
3541
8dee4833
AJ
35422012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3543
3544 [BZ #4026]
3545 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3546 get clock_id definition.
3547
9078ce93
TS
35482012-02-17 Thomas Schwinge <thomas@schwinge.name>
3549
3550 [BZ #4822]
3551 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3552 (madvise): Cast every argument to void on its own.
3553
3835c55f
JM
35542012-02-17 Joseph Myers <joseph@codesourcery.com>
3555
3556 [BZ #9902]
3557 * manual/startup.texi (Exit Status): Fix typo.
3558
35c47e37
JM
35592012-02-17 Joseph Myers <joseph@codesourcery.com>
3560
3561 [BZ #10140]
3562 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3563 * manual/examples/argp-ex2.c: Likewise.
3564 * manual/examples/argp-ex3.c: Likewise.
3565
e3b69ca7
RH
35662012-02-16 Richard Henderson <rth@redhat.com>
3567
3568 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3569 * sysdeps/s390/s390-32/initfini.c: Remove.
3570 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3571 * sysdeps/s390/s390-64/initfini.c: Remove.
3572
df83af67
KK
35732012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3574
3575 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3576 compiler output for sysdeps/generic/initfini.c.
3577 * sysdeps/sh/elf/initfini.c: Remove file.
3578
f63f3380
DM
35792012-02-16 David S. Miller <davem@davemloft.net>
3580
fb59b3a4
DM
3581 [BZ #11494]
3582 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3583
f63f3380
DM
3584 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3585 * sysdeps/sparc/crti.S: New file.
3586 * sysdeps/sparc/crtn.S: New file.
3587 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3588 * sysdeps/sparc/sparc64/Makefile: Likewise.
3589
df6a4a4a
MF
35902012-02-15 Mike Frysinger <vapier@gentoo.org>
3591
6dd8f3dc 3592 [BZ #3335]
df6a4a4a
MF
3593 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3594
1cac7236
RM
35952012-02-15 Roland McGrath <roland@hack.frob.com>
3596
d2c736f8
RM
3597 [BZ #4822]
3598 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3599
1cac7236
RM
3600 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3601 (write, read, close): Likewise.
3602 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3603
8e475601
JM
36042012-02-15 Joseph Myers <joseph@codesourcery.com>
3605
3606 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3607 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3608 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3609 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3610 <bits/signalfd.h>.
3611 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3612 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3613 bits/signalfd.h.
3614
ed656b40
MP
36152012-02-14 Marek Polacek <polacek@redhat.com>
3616
3617 * sysdeps/x86_64/crti.S: New file.
3618 * sysdeps/x86_64/crtn.S: New file.
3619 * sysdeps/x86_64/elf/initfini.c: Remove file.
3620
2a979d3a
JM
36212012-02-13 Joseph Myers <joseph@codesourcery.com>
3622
3623 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3624 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3625 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3626 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3627 <bits/inotify.h>.
3628 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3629 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3630 bits/inotify.h.
3631
2a418ac3
JM
36322012-02-13 Joseph Myers <joseph@codesourcery.com>
3633
3634 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3635 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3636 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3637 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3638 <bits/eventfd.h>.
3639 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3640 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3641 bits/eventfd.h.
3642
fb779be7
TS
36432012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3644
e19e83c5
RM
3645 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3646 __feraiseexcept instead of feraiseexcept.
7c35ffed 3647
fb779be7
TS
3648 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3649 nanosleep invocations.
3650 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3651 strings, and add error checking for a nanosleep invocations.
3652
59ba27a6
PE
36532012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3654
3655 Replace FSF snail mail address with URLs, as per GNU coding standards.
3656 Most of the snail mail addresses were wrong anyway, and omitting
3657 them makes the source code easier to maintain. Almost all of the
3658 changes are to license notices and to locale LC_IDENTIFICATION
3659 addresses, except for this one:
3660 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3661 not its snail mail address.
3662
57b957eb
RH
36632012-02-09 Richard Henderson <rth@twiddle.net>
3664
af850b1c
RH
3665 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3666 of kernel-features.h.
3667
57b957eb
RH
3668 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3669
6b73181a
MP
36702012-02-08 Marek Polacek <polacek@redhat.com>
3671
3672 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3673 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3674 * sysdeps/gnu/_G_config.h: Likewise.
3675 * sysdeps/generic/_G_config.h: Likewise.
3676
26ecc33a
AS
36772012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3678
6c6dbc63
AS
3679 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3680 tests.
3681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3682
e216c012
AS
3683 * sysdeps/powerpc/powerpc32/crti.S: New file.
3684 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3685 * sysdeps/powerpc/powerpc64/crti.S: New file.
3686 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3687
26ecc33a
AS
3688 * Makeconfig (have-initfini): Don't set.
3689 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3690 * configure.in (nopic_initfini): Don't substitute.
3691 * config.h.in (HAVE_INITFINI): Don't #undef.
3692 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3693 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3694
3add8e13
JM
36952012-02-08 Joseph Myers <joseph@codesourcery.com>
3696
3697 Support crti.S and crtn.S provided directly by architectures.
3698 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3699 [crti.S in sysdirs] (omit-deps): Likewise.
3700 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3701 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3702 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3703 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3704 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3705 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3706 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3707 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3708 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3709 compiler output for sysdeps/generic/initfini.c.
3710 * sysdeps/i386/elf/Makefile: Remove file.
3711 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3712
a22f12b4
MP
37132012-02-07 Marek Polacek <polacek@redhat.com>
3714
3715 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3716 * sysdeps/gnu/_G_config.h: Likewise.
3717 * sysdeps/mach/hurd/_G_config.h: Likewise.
3718
148cf100
MP
37192012-02-07 Marek Polacek <polacek@redhat.com>
3720
3721 * math/Makefile (tests): Add tst-CMPLX2.
3722 * math/tst-CMPLX2.c: New file.
3723
cfdc0dd7
AS
37242012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3725
84ba42c4
AS
3726 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3727
cfdc0dd7
AS
3728 * math/libm-test.inc (jn_test): Add missing L suffix.
3729
622c86f4
MP
37302012-02-06 Marek Polacek <polacek@redhat.com>
3731
3732 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3733 * sysdeps/i386/fpu/e_powf.S: Likewise.
3734 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3735 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3736 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3737 * sysdeps/i386/fpu/e_pow.S: Likewise.
3738 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3739 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3740 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3741 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3742 * sysdeps/i386/fpu/e_log2.S: Likewise.
3743 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3744 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3745 * sysdeps/i386/fpu/e_powl.S: Likewise.
3746 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3747 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3748 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3749 * sysdeps/i386/fpu/e_logl.S: Likewise.
3750 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3751 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3752 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3753 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3754 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3755 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3756 * sysdeps/i386/fpu/e_log.S: Likewise.
3757 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3758 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3759 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3760 * sysdeps/i386/fpu/e_logf.S: Likewise.
3761 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3762 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3763 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3764 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3765 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3766 * sysdeps/i386/fpu/e_log10.S: Likewise.
3767 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3768 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3769 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3770 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3771 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3772 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3773 * sysdeps/i386/asm-syntax.h: Likewise.
3774 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3775 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3776 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3777 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3778 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3779 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3780 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3781 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3782 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3783 * sysdeps/powerpc/sysdep.h: Likewise.
3784 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3785 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3786
d4a54ac6
JM
37872012-02-06 Joseph Myers <joseph@codesourcery.com>
3788
3789 [BZ #411]
3790 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3791
314054ea
JM
37922012-02-06 Joseph Myers <joseph@codesourcery.com>
3793
3794 * sysdeps/i386/sysdep.h: Include <features.h>.
3795 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3796 version.
3797
d8e0ca50
JM
37982012-02-05 Joseph Myers <joseph@codesourcery.com>
3799
3800 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3801 Define.
3802 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3803 LOAD_PIC_REG_STR.
3804
b1da7dd9
JM
38052012-02-03 Joseph Myers <joseph@codesourcery.com>
3806
3807 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3808 (SETUP_PIC_REG): Use GET_PC_THUNK.
3809 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3810 macro.
3811
9a1d9254
JM
38122012-02-03 Joseph Myers <joseph@codesourcery.com>
3813
3814 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3815 for non-PIC compilation.
3816 (SETUP_PIC_REG): Add .p2align directive.
3817 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3818 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3819 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3820 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3821 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3822 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3823 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3824 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3825 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3826 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3827 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3828 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3829 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3830 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3831 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3832 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3833 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3834 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3835 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3836 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3837 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3838 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3839 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3840 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3841 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3842 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3843 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3844 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3845 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3846 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3847 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3848 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3849 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3850 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3851 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3852 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3853 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3854 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3855 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3856 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3857 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3858
65dc3b75
JM
38592012-02-03 Joseph Myers <joseph@codesourcery.com>
3860
3861 * math/tst-CMPLX.c: Include <stdio.h>.
3862
d55bf177
JM
38632012-01-31 Joseph Myers <joseph@codesourcery.com>
3864
3865 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3866 float.
3867 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3868 * sysdeps/sparc/bits/mathdef.h: Likewise.
3869
69db4f8f
MP
38702012-01-31 Marek Polacek <polacek@redhat.com>
3871
3872 * libio/libio.h: Don't define _PARAMS.
3873 * locale/programs/config.h: Don't define PARAMS.
3874 * stdlib/strtol_l.c: Likewise.
3875 (__strtol_l): Remove PARAMS from the prototype.
3876
41b81892
UD
38772012-01-31 Ulrich Drepper <drepper@gmail.com>
3878
3b49edc0
UD
3879 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3880 names. Just use the correct names. Remove unnecessary wrapper
3881 functions.
3882 * malloc/arena.c: Likewise.
3883 * malloc/hooks.c: Likewise.
3884
41b81892
UD
3885 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3886 ARENA_TEST says not to. Simplify test for creation of a new arena.
3887 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3888
27a25b6e
UD
38892012-01-30 Ulrich Drepper <drepper@gmail.com>
3890
3891 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3892 into tail calls.
3893 (update_get_addr): New function.
3894 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3895 GET_ADDR_MODULE parameter.
3896
c8a89e7d
JM
38972012-01-30 Joseph Myers <joseph@codesourcery.com>
3898
3899 * crypt/cert.c: Remove __STDC__ conditionals.
3900 * crypt/crypt-entry.c: Likewise.
3901 * crypt/crypt_util.c: Likewise.
3902 * libio/filedoalloc.c: Likewise.
3903 * libio/fileops.c: Likewise.
3904 * libio/genops.c: Likewise.
3905 * libio/iofclose.c: Likewise.
3906 * libio/iofdopen.c: Likewise.
3907 * libio/iofopen.c: Likewise.
3908 * libio/iofopen64.c: Likewise.
3909 * libio/iogetdelim.c: Likewise.
3910 * libio/iopopen.c: Likewise.
3911 * libio/obprintf.c: Likewise.
3912 * libio/oldfileops.c: Likewise.
3913 * libio/oldiofclose.c: Likewise.
3914 * libio/oldiofdopen.c: Likewise.
3915 * libio/oldiofopen.c: Likewise.
3916 * libio/oldiopopen.c: Likewise.
3917 * libio/wfiledoalloc.c: Likewise.
3918 * libio/wgenops.c: Likewise.
3919 * locale/programs/xmalloc.c: Likewise.
3920 * misc/syslog.c: Likewise.
3921 * stdio-common/xbug.c: Likewise.
3922 * string/memchr.c: Likewise.
3923 * string/memcmp.c: Likewise.
3924 * string/memrchr.c: Likewise.
3925 * string/rawmemchr.c: Likewise.
3926 * sysdeps/posix/getcwd.c: Likewise.
3927 * time/strftime_l.c: Likewise.
3928
3b100462
JM
39292012-01-30 Joseph Myers <joseph@codesourcery.com>
3930
3931 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
3932 * config.make.in (config-cflags-sse2avx): Define.
3933 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3934 Fix typo.
3935
607998af
CM
39362012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3937
3938 * scripts/config.guess: Update from upstream config git repository.
3939 * scripts/config.sub: Likewise.
3940
3601428f
CM
39412012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3942
3ac8b282
CM
3943 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3944 (EM_NUM): Update.
3945 (R_TILEPRO_*, R_TILEGX_*): New macros.
3946
e034841e
CM
3947 * scripts/firstversions.awk: Fix bug in version range handling.
3948
540d7568
CM
3949 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3950
3601428f
CM
3951 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3952
463de862
CM
3953 * include/sys/epoll.h: New file.
3954 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3955 libc_hidden_def.
3956
73139a76
UD
39572012-01-28 Ulrich Drepper <drepper@gmail.com>
3958
96bc5b45
UD
3959 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3960 Avoid unnecessary __WORDSIZE == 64 test.
3961 (fmaxf): Use VEX format if possible.
3962 (fmax): Likewise.
3963 (fminf): Likewise.
3964 (fmin): Likewise.
3965
56f6f6a2
UD
3966 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3967 * math/math_private.h: Remove libc_fegetround* and
3968 libc_fesetround*.
3969 * sysdeps/i386/configure.in: Check for -msse2avx.
3970 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
3971 also if SSE2AVX is defined.
3972 Remove libc_fegetround* and libc_fesetround*.
3973 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
3974 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
3975 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
3976 of HAS_YMM_USABLE.
3977 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3978 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3979 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3980 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3981 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3982
73139a76
UD
3983 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
3984
d73f93a4
AZ
39852012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3986
3987 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
3988 size is not set.
3989 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3990
6ee65ed6
UD
39912012-01-27 Ulrich Drepper <drepper@gmail.com>
3992
3993 [BZ #13618]
3994 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
3995 relocation.
3996 * Makeconfig (libm): Define.
3997 * elf/Makefile: Add rules to build and run tst-relsort1.
3998 * elf/tst-relsort1.c: New file.
3999 * elf/tst-relsort1mod1.c: New file.
4000 * elf/tst-relsort1mod2.c: New file.
4001
8db21882
JM
40022012-01-27 Joseph Myers <joseph@codesourcery.com>
4003
4004 * math/s_ldexp.c: Remove __STDC__ conditionals.
4005 * math/s_ldexpf.c: Likewise.
4006 * math/s_ldexpl.c: Likewise.
4007 * math/s_nextafter.c: Likewise.
4008 * math/s_nexttowardf.c: Likewise.
4009 * math/s_significand.c: Likewise.
4010 * math/s_significandf.c: Likewise.
4011 * math/s_significandl.c: Likewise.
4012 * math/w_jnl.c: Likewise.
4013 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4014 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4015 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4016 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4017 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4018 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4019 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
4020 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4021 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4022 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4023 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4024 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4025 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4026 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4027 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4028 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4029 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4030 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4031 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4032 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4033 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4034 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4035 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4036 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4037 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4038 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4039 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4040 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4041 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4042 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4043 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4044 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4045 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4046 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4047 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4048 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4049 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4050 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4051 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4052 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4053 * sysdeps/ieee754/k_standard.c: Likewise.
4054 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4055 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4056 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4057 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4058 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4059 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4060 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4061 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4062 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4063 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4064 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4065 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4066 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4067 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4068 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4069 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4070 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4071 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4072 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4073 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4074 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4075 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4076 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4077 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4078 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4079 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4080 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4081 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4082 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4083 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4084 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4085 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4086 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4087 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4088 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4089 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4090 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4091 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4092 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4093 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4094 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4095 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4096 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4097 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4098 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4099 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4100 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4101 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4102 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4103 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4104 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4105 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4106 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4107 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4108 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4109 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4110 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4111 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4112 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4113 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4114 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4115 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4116 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4117 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4118 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4119 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4120 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4121 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4122 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4123 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4124 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4125 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4126 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4127 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4128 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4129 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4130 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4131 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4132 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4133 * sysdeps/ieee754/s_matherr.c: Likewise.
4134 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4135 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4136 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4137 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4138
965a54a4
JM
41392012-01-26 Joseph Myers <joseph@codesourcery.com>
4140
4141 * crypt/md5.h: Remove __STDC__ conditionals.
4142 * libio/libioP.h: Likewise.
4143 * locale/programs/config.h: Likewise.
4144 * sysdeps/generic/sysdep.h: Likewise.
4145 * sysdeps/i386/asm-syntax.h: Likewise.
4146 * sysdeps/s390/asm-syntax.h: Likewise.
4147 * sysdeps/unix/sysdep.h: Likewise.
4148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4150
7071ad79
JM
41512012-01-26 Joseph Myers <joseph@codesourcery.com>
4152
4153 * libio/libio.h: Remove __STDC__ conditionals.
4154 * malloc/obstack.h: Likewise.
4155 * math/complex.h: Likewise.
4156 * math/math.h: Likewise.
4157 * sysdeps/generic/_G_config.h: Likewise.
4158 * sysdeps/gnu/_G_config.h: Likewise.
4159 * sysdeps/mach/hurd/_G_config.h: Likewise.
4160 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4161 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4162 * sysdeps/sparc/bits/mathdef.h: Likewise.
4163
afc5ed09
UD
41642012-01-26 Ulrich Drepper <drepper@gmail.com>
4165
4166 [BZ #13583]
4167 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 4168 Clean up HAS_* macros.
afc5ed09 4169 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
4170 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4171 possible.
4172 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4173 HAS_AVX.
4174 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4175 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4176 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4177 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4178 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 4179
bdb6de1d
JM
41802012-01-25 Joseph Myers <joseph@codesourcery.com>
4181
4182 * elf/tst-unique3.cc (gets): Remove declaration.
4183 * elf/tst-unique3lib.cc (gets): Likewise.
4184 * elf/tst-unique3lib2.cc (gets): Likewise.
4185 * elf/tst-unique4.cc (gets): Likewise.
4186
b15549e6
UD
41872012-01-24 Ulrich Drepper <drepper@gmail.com>
4188
4189 * include/stdio.h: Add C++ protection. Add gets declarations and
4190 definitions.
4191 * debug/tst-chk1.c: Don't declare gets here.
4192 * stdio-common/tst-gets.c: Likewise.
4193
a037381f
JM
41942012-01-24 Joseph Myers <joseph@codesourcery.com>
4195
4196 * posix/glob: Remove directory.
4197
f1d4aa75
JM
41982012-01-24 Joseph Myers <joseph@codesourcery.com>
4199
4200 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4201
81c0c964
PT
42022012-01-22 Pino Toscano <toscano.pino@tiscali.it>
4203
4204 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4205 of the non-standard EPFNOSUPPORT.
4206
0ea698ae
ST
42072011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
4208
4209 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4210 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4211 ANYWHERE set to 1 only on KERN_NO_SPACE error.
4212
d220b117
UD
42132012-01-21 Ulrich Drepper <drepper@gmail.com>
4214
4215 * wcsmbs/uchar.h: Test __STDC_VERSION__.
4216
3e1aa84e
UD
42172012-01-20 Ulrich Drepper <drepper@gmail.com>
4218
4219 * nscd/aicache.c (addhstaiX): Do not cache negative results of
4220 transient errors.
4221 * nscd/grpcache.c (cache_addgr): Likewise.
4222 * nscd/hstcache.c (cache_addhst): Likewise.
4223 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4224 * nscd/pwdcache.c (cache_addpw): Likewise.
4225 * nscd/servicescache.c (cache_addserv): Likewise.
4226
400aa020
UD
42272012-01-16 Ulrich Drepper <drepper@gmail.com>
4228
d77e7869
UD
4229 * malloc/malloc.c: Various cleanups.
4230 * malloc/hooks.c: Likewise.
4231
400aa020
UD
4232 * stdlib/Makefile (tests): Add bug-fmtmsg1.
4233 * stdlib/bug-fmtmsg1.c: New file.
4234
4235 * stdlib/fmtmsg.c (init): Add missing unlock.
4236 Patch by Peng Haitao <penght@cn.fujitsu.com>.
4237
e0a309cf
MP
42382012-01-12 Marek Polacek <polacek@redhat.com>
4239
4240 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4241 and _GNU_SOURCE.
4242
929d11c7
WS
42432012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4244
4245 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4246 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4247 macro to ensure uniqueness of label name.
4248 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4249 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4250
41d0e869
UD
42512012-01-11 Ulrich Drepper <drepper@gmail.com>
4252
0cc5ed3b
UD
4253 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4254
41d0e869
UD
4255 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4256 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4257 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4258 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4259
a47a831a
UD
42602012-01-10 Ulrich Drepper <drepper@gmail.com>
4261
daa891c0
UD
4262 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4263
4264 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4265 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4266 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4267
e58ef0f2
UD
4268 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4269
a47a831a 4270 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
4271 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4272 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 4273 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
4274
4275 * math/bits/math-finite.h: Add ldexp support.
4276
a0bfc9c7
MP
42772012-01-10 Marek Polacek <polacek@redhat.com>
4278
4279 * locale/programs/localedef.h (show_archive_content): Add noreturn
4280 attribute.
4281
d6e97a1d
UD
42822012-01-09 Ulrich Drepper <drepper@gmail.com>
4283
4284 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4285
d5835c26
UD
42862012-01-08 Ulrich Drepper <drepper@gmail.com>
4287
e5f484c6
UD
4288 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4289
d5835c26
UD
4290 * io/Makefile (headers): Add bits/poll2.h.
4291
d1f741e9
WS
42922011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
4293
4294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4295 typo #include statement.
4296
ec09c1c4
UD
42972012-01-08 Ulrich Drepper <drepper@gmail.com>
4298
4299 * include/sys/cdefs.h: Define __attribute_alloc_size.
4300 * catgets/gencat.c: Add alloc_size attribute and apply consistently
4301 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4302 * elf/pldd.c: Likewise.
4303 * iconv/iconv_charmap.c: Likewise.
4304 * iconv/iconvconfig.c: Likewise.
4305 * iconv/strtab.c: Likewise.
4306 * locale/programs/locale.c: Likewise.
4307 * locale/programs/localedef.h: Likewise.
4308 * locale/programs/simple-hash.c: Likewise.
4309 * nscd/nscd.h: Likewise.
4310 * nss/makedb.c: Likewise.
4311 * sysdeps/generic/ldconfig.h: Likewise.
4312 * locale/programs/localedef.c: Remove xmalloc prototype.
4313 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4314
20b38e03
PP
43152012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4316
4317 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4318 appropriate.
4319
a0da5fe1
UD
43202012-01-08 Ulrich Drepper <drepper@gmail.com>
4321
1d5a644a 4322 * math/Makefile (tests): Add tst-CMPLX.
669704fd 4323 * math/tst-CMPLX.c: New file.
1d5a644a 4324
8784a6db
UD
4325 * math/complex.h (CMPLXL): Fix typo.
4326
d9a216c0
UD
4327 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4328 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4329 GLIBC_2.16.
4330 * debug/tst-chk1.c: Add poll and ppoll tests.
4331 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4332 * include/sys/poll.h: Add hidden proto for ppoll.
4333 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4334 * sysdeps/mach/hurd/ppoll.c: Likewise.
4335 * io/ppoll.c: Likewise.
4336 * debug/poll_chk.c: New file.
4337 * debug/ppoll_chk.c: New file.
4338 * include/bits/poll2.h: New file.
4339 * io/bits/poll2.h: New file.
4340
ac097f5c
UD
4341 [BZ #1350]
4342 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4343
2119dcfa
UD
4344 * configure.in: static is always set to yes. Remove.
4345 * config.make.in: Don't set build-static.
4346 * Makeconfig: Remove use of build-static.
4347 * dlfcn/Makefile: Likewise.
4348 * elf/Makefile: Likewise.
4349 * math/Makefile: Likewise.
4350 * misc/Makefile: Likewise.
4351 * nptl/Makefile: Likewise.
4352 * sysdeps/mach/hurd/Makefile: Likewise.
4353
121766a9
UD
4354 * configure.in: PWD_P is not used anymore.
4355 * config.make.in: Remove PWD_P entry.
4356
51a1d39c 4357 * configure.in: Remove last remnants of RANLIB.
8720d066 4358 No need to check for signed size_t anymore.
215f4bdc
UD
4359 Don't set libc_commonpagesize and libc_relro_required here for Alpha
4360 and IA-64.
3857022a 4361 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
4362 * aclocal.m4: Likewise.
4363
d3ed7225
UD
4364 * wcsmbs/mbrtoc16.c: Implement using towc function.
4365 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4366 * wcsmbs/wcsmbsload.c: Likewise.
4367 * iconv/gconv_simple.c: Likewise.
4368 * iconv/gconv_int.h: Likewise.
4369 * iconv/gconv_builtin.h: Likewise.
4370 * iconv/iconv_prog.c: Remove CHAR16 handling.
4371
4372 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4373
4374 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4375
a0da5fe1
UD
4376 * configure.in: Remove --with-elf and --enable-bounded options.
4377 Dont set base_machine for ia64. More non-ELF conditions removed.
4378 Remove testing and setting of leading underscore information.
4379 * config.make.in (build-bounded): Set to no.
4380 * config.h.in: Remove NO_UNDERSCORES entry.
4381 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4382 them.
4383 * csu/start.c: Remove !NO_UNDERSCORE code.
4384 * locale/localeinfo.h: Likewise.
4385 * sysdeps/generic/machine-gmon.h: Likewise.
4386 * sysdeps/generic/sysdep.h: Likewise.
4387 * sysdeps/i386/sysdep.h: Likewise.
4388 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4389 * sysdeps/mach/sysdep.h: Likewise.
4390 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4391 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4392 * sysdeps/sh/sysdep.h: Likewise.
4393 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4394 * sysdeps/unix/i386/sysdep.S: Likewise.
4395 * sysdeps/unix/sparc/start.c: Likewise.
4396 * sysdeps/unix/sparc/sysdep.S: Likewise.
4397 * sysdeps/unix/sparc/sysdep.h: Likewise.
4398 * sysdeps/unix/start.c: Likewise.
4399 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4400 * sysdeps/x86_64/sysdep.h: Likewise.
4401
df78418a
UD
44022012-01-07 Ulrich Drepper <drepper@gmail.com>
4403
a784e502
UD
4404 [BZ #13553]
4405 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4406 for non-gcc.
4407 * argp/argp-fmtstream.h: Use const instead __const.
4408 * argp/argp.h: Likewise.
4409 * assert/assert.h: Likewise.
4410 * bits/fenv.h: Likewise.
4411 * bits/sched.h: Likewise.
4412 * bits/sigset.h: Likewise.
4413 * bits/sigthread.h: Likewise.
4414 * catgets/nl_types.h: Likewise.
4415 * conform/data/pthread.h-data: Likewise.
4416 * crypt/crypt-private.h: Likewise.
4417 * crypt/crypt.h: Likewise.
4418 * crypt/crypt_util.c: Likewise.
4419 * ctype/ctype.h: Likewise.
4420 * debug/execinfo.h: Likewise.
4421 * debug/mbsnrtowcs_chk.c: Likewise.
4422 * debug/mbsrtowcs_chk.c: Likewise.
4423 * debug/wcsnrtombs_chk.c: Likewise.
4424 * debug/wcsrtombs_chk.c: Likewise.
4425 * debug/wcstombs_chk.c: Likewise.
4426 * dirent/dirent.h: Likewise.
4427 * dlfcn/dlfcn.h: Likewise.
4428 * elf/neededtest4.c: Likewise.
4429 * grp/grp.h: Likewise.
4430 * gshadow/gshadow.h: Likewise.
4431 * iconv/gconv.h: Likewise.
4432 * iconv/gconv_int.h: Likewise.
4433 * iconv/gconv_simple.c: Likewise.
4434 * iconv/iconv.h: Likewise.
4435 * iconv/loop.c: Likewise.
4436 * iconv/skeleton.c: Likewise.
4437 * include/aio.h: Likewise.
4438 * include/aliases.h: Likewise.
4439 * include/argz.h: Likewise.
4440 * include/arpa/inet.h: Likewise.
4441 * include/assert.h: Likewise.
4442 * include/dirent.h: Likewise.
4443 * include/dlfcn.h: Likewise.
4444 * include/execinfo.h: Likewise.
4445 * include/fcntl.h: Likewise.
4446 * include/fenv.h: Likewise.
4447 * include/glob.h: Likewise.
4448 * include/grp.h: Likewise.
4449 * include/libintl.h: Likewise.
4450 * include/mntent.h: Likewise.
4451 * include/netdb.h: Likewise.
4452 * include/pwd.h: Likewise.
4453 * include/rpc/netdb.h: Likewise.
4454 * include/sched.h: Likewise.
4455 * include/search.h: Likewise.
4456 * include/shadow.h: Likewise.
4457 * include/signal.h: Likewise.
4458 * include/stdio.h: Likewise.
4459 * include/stdlib.h: Likewise.
4460 * include/string.h: Likewise.
4461 * include/sys/socket.h: Likewise.
4462 * include/sys/stat.h: Likewise.
4463 * include/sys/statfs.h: Likewise.
4464 * include/sys/statvfs.h: Likewise.
4465 * include/sys/syslog.h: Likewise.
4466 * include/sys/time.h: Likewise.
4467 * include/sys/uio.h: Likewise.
4468 * include/time.h: Likewise.
4469 * include/unistd.h: Likewise.
4470 * include/utmp.h: Likewise.
4471 * include/wchar.h: Likewise.
4472 * include/wctype.h: Likewise.
4473 * inet/aliases.h: Likewise.
4474 * inet/arpa/inet.h: Likewise.
4475 * inet/netinet/ether.h: Likewise.
4476 * inet/netinet/in.h: Likewise.
4477 * intl/libintl.h: Likewise.
4478 * io/bits/fcntl2.h: Likewise.
4479 * io/fcntl.h: Likewise.
4480 * io/ftw.h: Likewise.
4481 * io/sys/poll.h: Likewise.
4482 * io/sys/stat.h: Likewise.
4483 * io/sys/statfs.h: Likewise.
4484 * io/sys/statvfs.h: Likewise.
4485 * io/utime.h: Likewise.
4486 * libio/bits/stdio.h: Likewise.
4487 * libio/bits/stdio2.h: Likewise.
4488 * libio/libio.h: Likewise.
4489 * libio/libioP.h: Likewise.
4490 * libio/stdio.h: Likewise.
4491 * locale/lc-ctype.c: Likewise.
4492 * locale/locale.h: Likewise.
4493 * login/utmp.h: Likewise.
4494 * malloc/arena.c: Likewise.
4495 * malloc/malloc.c: Likewise.
4496 * malloc/malloc.h: Likewise.
4497 * malloc/mcheck.c: Likewise.
4498 * malloc/mtrace.c: Likewise.
4499 * math/bits/mathcalls.h: Likewise.
4500 * math/fenv.h: Likewise.
4501 * math/math_private.h: Likewise.
4502 * misc/bits/error.h: Likewise.
4503 * misc/bits/syslog.h: Likewise.
4504 * misc/err.h: Likewise.
4505 * misc/error.h: Likewise.
4506 * misc/fstab.h: Likewise.
4507 * misc/mntent.h: Likewise.
4508 * misc/regexp.h: Likewise.
4509 * misc/search.h: Likewise.
4510 * misc/sgtty.h: Likewise.
4511 * misc/sys/mman.h: Likewise.
4512 * misc/sys/syslog.h: Likewise.
4513 * misc/sys/uio.h: Likewise.
4514 * misc/sys/xattr.h: Likewise.
4515 * misc/ttyent.h: Likewise.
4516 * nis/rpcsvc/ypclnt.h: Likewise.
4517 * nss/nss.h: Likewise.
4518 * posix/bits/unistd.h: Likewise.
4519 * posix/fnmatch.h: Likewise.
4520 * posix/glob.h: Likewise.
4521 * posix/sched.h: Likewise.
4522 * posix/spawn.h: Likewise.
4523 * posix/sys/wait.h: Likewise.
4524 * posix/unistd.h: Likewise.
4525 * posix/wordexp.h: Likewise.
4526 * pwd/pwd.h: Likewise.
4527 * resolv/netdb.h: Likewise.
4528 * resource/sys/resource.h: Likewise.
4529 * rt/aio.h: Likewise.
4530 * rt/bits/mqueue2.h: Likewise.
4531 * rt/mqueue.h: Likewise.
4532 * shadow/shadow.h: Likewise.
4533 * signal/signal.h: Likewise.
4534 * socket/send.c: Likewise.
4535 * socket/sendto.c: Likewise.
4536 * socket/sys/socket.h: Likewise.
4537 * stdio-common/printf.h: Likewise.
4538 * stdlib/bits/stdlib.h: Likewise.
4539 * stdlib/fmtmsg.h: Likewise.
4540 * stdlib/monetary.h: Likewise.
4541 * stdlib/stdlib.h: Likewise.
4542 * stdlib/ucontext.h: Likewise.
4543 * streams/stropts.h: Likewise.
4544 * string/argz.h: Likewise.
4545 * string/bits/string2.h: Likewise.
4546 * string/string.h: Likewise.
4547 * string/strings.h: Likewise.
4548 * sunrpc/rpc/auth.h: Likewise.
4549 * sunrpc/rpc/auth_des.h: Likewise.
4550 * sunrpc/rpc/clnt.h: Likewise.
4551 * sunrpc/rpc/netdb.h: Likewise.
4552 * sunrpc/rpc/pmap_clnt.h: Likewise.
4553 * sunrpc/rpc/xdr.h: Likewise.
4554 * sysdeps/generic/inttypes.h: Likewise.
4555 * sysdeps/generic/net/if.h: Likewise.
4556 * sysdeps/generic/sys/swap.h: Likewise.
4557 * sysdeps/gnu/net/if.h: Likewise.
4558 * sysdeps/gnu/utmpx.h: Likewise.
4559 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4560 * sysdeps/i386/i486/bits/string.h: Likewise.
4561 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4562 * sysdeps/s390/bits/string.h: Likewise.
4563 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4564 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4565 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4566 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4567 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4568 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4569 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4570 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4571 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4572 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4573 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4574 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4575 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4576 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4577 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4578 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4579 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4580 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4581 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4582 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4583 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4584 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4585 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4586 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4587 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4588 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4589 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4590 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4591 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4592 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4593 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4594 * sysvipc/sys/ipc.h: Likewise.
4595 * sysvipc/sys/msg.h: Likewise.
4596 * sysvipc/sys/sem.h: Likewise.
4597 * sysvipc/sys/shm.h: Likewise.
4598 * termios/termios.h: Likewise.
4599 * time/sys/time.h: Likewise.
4600 * time/time.h: Likewise.
4601 * wcsmbs/bits/wchar2.h: Likewise.
4602 * wcsmbs/uchar.h: Likewise.
4603 * wcsmbs/wchar.h: Likewise.
4604 * wctype/wctype.h: Likewise.
4605
0269750c
UD
4606 [BZ #13551]
4607 * Makeconfig: Remove all but ELF support including AIX support.
4608 * Makerules: Likewise.
4609 * config.h.in: Likewise.
4610 * config.make.in: Likewise.
4611 * configure: Likewise.
4612 * configure.in: Likewise.
4613 * csu/Makefile: Likewise.
4614 * csu/version.c: Likewise.
4615 * debug/Makefile: Likewise.
4616 * dlfcn/Makefile: Likewise.
4617 * elf/Makefile: Likewise.
4618 * extra-lib.mk: Likewise.
4619 * iconv/Makefile: Likewise.
4620 * include/libc-symbols.h: Likewise.
4621 * include/shlib-compat.h: Likewise.
4622 * resolv/Makefile: Likewise.
4623 * resolv/res_libc.c: Likewise.
4624 * rt/Makefile: Likewise.
4625 * sysdeps/i386/asm-syntax.h: Likewise.
4626 * sysdeps/i386/sysdep.h: Likewise.
4627 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4628 * sysdeps/mach/sysdep.h: Likewise.
4629 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4630 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4631 * sysdeps/s390/asm-syntax.h: Likewise.
4632 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4633 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4634 * sysdeps/sh/sysdep.h: Likewise.
4635 * sysdeps/unix/sparc/sysdep.h: Likewise.
4636 * sysdeps/wordsize-32/divdi3.c: Likewise.
4637 * sysdeps/x86_64/sysdep.h: Likewise.
4638
00bbd29b
UD
4639 * argp/Versions: Remove _argp_unlock_xxx.
4640
4641 [BZ #13559]
4642 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4643 * abilist/libBrokenLocale.abilist: Likewise.
4644 * abilist/libanl.abilist: Likewise.
4645 * abilist/libc.abilist: Likewise.
4646 * abilist/libcrypt.abilist: Likewise.
4647 * abilist/libdl.abilist: Likewise.
4648 * abilist/libm.abilist: Likewise.
4649 * abilist/libnsl.abilist: Likewise.
4650 * abilist/libpthread.abilist: Likewise.
4651 * abilist/libresolv.abilist: Likewise.
4652 * abilist/librt.abilist: Likewise.
4653 * abilist/libthread_db.abilist: Likewise.
4654 * abilist/libutil.abilist: Likewise.
4655 * abilist/libnss_db.abilist: New file.
4656
4657 * scripts/abilist.awk: Add support for indirect functions.
4658
a2693a0e
UD
4659 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4660
3f05895f
UD
4661 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4662
ecb6fb48
UD
4663 * shlib-versions: Remove entries for ports architectures.
4664
664f8cb9
UD
4665 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4666 files in ports.
4667 * elf/stackguard-macros.h: Remove support for IA-64.
4668 * elf/tst-auditmod1.c: Likewise.
4669 * sysdeps/generic/ldsodefs.h: Likewise.
4670
7ae81d88
UD
4671 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4672 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4673 configure files.
4674
bdeba135
UD
4675 [BZ #13552]
4676 * configure.in: Remove --enable-omitfp support.
4677 * FAQ.in: Adjust.
4678 * config.make.in: Likewise.
4679 * Makeconfig: Likewise.
4680 * manual/install.texi: Likewise.
4681
d75a0a62
UD
4682 In case anyone cares, the IA-64 architecture could move to ports.
4683 * sysdeps/ia64/*: Removed.
4684 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 4685 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 4686
dcc9756b
UD
4687 [BZ #13555]
4688 * configure.in: Remove entries for unsupported architectures.
4689
d3761ebc 4690 [BZ #13533]
9954432e
UD
4691 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4692 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4693 routines.
4694 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4695 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4696 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4697 fall back to using wcrtomb.
4698 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4699 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4700 renaming.
4701 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4702 * wcsmbs/tst-c16c32-1.c: New file.
4703
4704 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4705 local variable.
4706
c3a87236
UD
4707 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4708
28926a1b
UD
4709 * elf/tst-unique3.cc: Add explicit declaration of gets.
4710 * elf/tst-unique3lib.cc: Likewise.
4711 * elf/tst-unique3lib2.cc: Likewise.
4712 * elf/tst-unique4.cc: Likewise.
4713
df78418a
UD
4714 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4715
8ecd6b2a
JM
47162012-01-06 Joseph Myers <joseph@codesourcery.com>
4717
4718 [BZ #13566]
4719 * assert/assert.h (static_assert): Don't define for C++.
4720 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4721 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4722
9f115170
UD
47232012-01-03 Ulrich Drepper <drepper@gmail.com>
4724
5e0d0300
UD
4725 * iconv/loop.c (single loop): Fix assertion in storing of
4726 remaining bytes.
4727
9f115170
UD
4728 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4729
81fb02b0
UD
47302012-01-01 Ulrich Drepper <drepper@gmail.com>
4731
4732 * posix/getconf.c: Update copyright year.
4733 * nss/getent.c: Likewise.
a316c1f6 4734 * nss/makedb.c: Likewise.
81fb02b0
UD
4735 * iconv/iconvconfig.c: Likewise.
4736 * iconv/iconv_prog.c: Likewise.
4737 * elf/ldconfig.c: Likewise.
a316c1f6
UD
4738 * elf/pldd.c: Likewise.
4739 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
4740 * catgets/gencat.c: Likewise.
4741 * csu/version.c: Likewise.
4742 * elf/ldd.bash.in: Likewise.
4743 * elf/sprof.c (print_version): Likewise.
4744 * locale/programs/locale.c: Likewise.
4745 * locale/programs/localedef.c: Likewise.
a316c1f6 4746 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
4747 * nscd/nscd.c (print_version): Likewise.
4748 * debug/xtrace.sh: Likewise.
4749 * malloc/memusage.sh: Likewise.
4750 * malloc/mtrace.pl: Likewise.
4751 * debug/catchsegv.sh: Likewise.
4752
2ba92745
JJ
47532011-12-30 Jakub Jelinek <jakub@redhat.com>
4754
4755 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4756 pure attribute.
4757
dadebdae
UD
47582011-12-24 Ulrich Drepper <drepper@gmail.com>
4759
d3761ebc 4760 [BZ #13533]
db6af3eb
UD
4761 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4762 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4763 transformations.
4764 * iconv/gconv_int.h: Likewise.
4765 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4766 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4767 from libc for GLIBC_2.16.
4768 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4769 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4770 * wcsmbs/uchar.h: Really define mbstate_t.
4771 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4772 * wcsmbs/c16rtomb.c: New file.
4773 * wcsmbs/mbrtoc16.c: New file.
4774 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4775 for C/POSIX locale.
4776 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4777 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4778
dadebdae
UD
4779 * wcsmbs/wchar.h: Add missing __restrict.
4780
67371b56
UD
47812011-12-23 Ulrich Drepper <drepper@gmail.com>
4782
74033a25
UD
4783 [BZ #13532]
4784 * time/Makefile (routines): Add timespec_get.
4785 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4786 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4787 timespec for ISO C11.
4788 * time/timespec_get.c: New file.
4789 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4790 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4791
380d7e87
UD
4792 [BZ #13531]
4793 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4794 * stdlib/stdlib.h: Declare aligned_alloc.
4795 * Versions.def: Add GLIBC_2.16 for libc.
4796 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4797
4e9e7a35
UD
4798 [BZ 13527]
4799 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4800 ISO C11.
4801
380d7e87 4802 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
4803 code.
4804
03a71829
UD
4805 [BZ #13528]
4806 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4807
839e283e
UD
4808 [BZ #13529]
4809 * assert/assert.h (static_assert): Define.
4810
ce5294e2 4811 * version.h: Update for 2.16 development version.
90fa7312 4812
8d44e150 4813 [BZ #13526]
d7809905
UD
4814 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4815 _ISOC11_SOURCE.
4816
c0da14cd
UD
4817 * version.h (RELEASE): Bump for 2.15 release.
4818 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4819
530a3249
MP
4820 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4821 Patch by Marek Polacek <mpolacek@redhat.com>.
4822
67371b56
UD
4823 * bits/byteswap.h: Protect long long constants with __extension__.
4824 * sysdeps/i386/bits/byteswap.h: Likewise.
4825 * sysdeps/ia64/bits/byteswap.h: Likewise.
4826 * sysdeps/s390/bits/byteswap.h: Likewise.
4827 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4828
15db4de1
LD
48292011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4830
4831 [BZ #13540]
bbe315ea
LD
4832 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4833 destination buffer.
15db4de1
LD
4834 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4835
2b2596b1
MP
48362011-12-23 Marek Polacek <polacek@redhat.com>
4837
4838 * elf/dl-addr.c (determine_info): Add inline keyword.
4839 * elf/tst-auditmod4b.c (check_avx): Likewise.
4840 * elf/tst-auditmod6b.c (check_avx): Likewise.
4841 * elf/tst-auditmod6c.c (check_avx): Likewise.
4842 * elf/tst-auditmod7b.c (check_avx): Likewise.
4843
70c6c246
UD
48442011-12-23 Ulrich Drepper <drepper@gmail.com>
4845
4846 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4847 !__SSE_MATH__.
4848
c044cf14
LD
48492011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4850
15db4de1 4851 [BZ #13540]
c044cf14
LD
4852 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4853 processing for last bytes.
4854
6b13d9d9
BH
48552011-08-06 Bruno Haible <bruno@clisp.org>
4856
d455f537
BH
4857 [BZ #13061]
4858 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4859 U+0385, not to U+1FEE.
4860
6b13d9d9
BH
4861 [BZ #13062]
4862 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4863 entry for U+00A5 U+0301.
4864
db910efd
UD
48652011-12-22 Ulrich Drepper <drepper@gmail.com>
4866
27deeafc
UD
4867 [BZ #13166]
4868 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4869 buffer for the output is too small.
4870
aed9d171
UD
4871 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4872 optimization.
4873
db910efd
UD
4874 [BZ #13185]
4875 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4876 SSE flags if possible.
4877
2bd779ae
LD
48782011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4879
e7f9dac3 4880 [BZ #13540]
2bd779ae
LD
4881 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4882 processing for last bytes.
4883
154bfc16
JM
48842011-12-22 Joseph Myers <joseph@codesourcery.com>
4885
4886 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4887 (syscall-list-default-options, syscall-list-default-condition)
4888 (syscall-list-includes): Define.
4889 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4890 list of ABIs and options and #if conditions for each ABI. Do not
4891 handle common syscalls between ABIs specially.
4892 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4893 Remove.
4894 (syscall-list-variants, syscall-list-32bit-options)
4895 (syscall-list-32bit-condition, syscall-list-64bit-options)
4896 (syscall-list-64bit-condition): Define.
4897 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4898 (syscall-list-variants, syscall-list-32bit-options)
4899 (syscall-list-32bit-condition, syscall-list-64bit-options)
4900 (syscall-list-64bit-condition): Define.
4901 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4902 Remove.
4903 (syscall-list-variants, syscall-list-32bit-options)
4904 (syscall-list-32bit-condition, syscall-list-64bit-options)
4905 (syscall-list-64bit-condition): Define.
4906 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4907 Remove.
4908 (syscall-list-variants, syscall-list-32bit-options)
4909 (syscall-list-32bit-condition, syscall-list-64bit-options)
4910 (syscall-list-64bit-condition): Define.
4911
21eaf3a5
UD
49122011-12-22 Ulrich Drepper <drepper@gmail.com>
4913
16c6f992
UD
4914 * locale/iso-639.def: Add brx entry.
4915
41043168
UD
4916 [BZ #13328]
4917 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4918 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4919
21eaf3a5
UD
4920 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4921 __feraiseexcept_renamed.
4922
e3a851a2
UD
49232011-12-21 Ulrich Drepper <drepper@gmail.com>
4924
4920765e
UD
4925 [BZ #13538]
4926 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4927 EPOLLET with unsigned values.
4928 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4929 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4930
e3a851a2
UD
4931 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4932 to large cancellation.
4933 * math/s_cacoshf.c: Likewise.
4934 * math/s_cacoshl.c: Likewise.
4935
b27e24b8
RK
49362011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4937
4938 [BZ #13305]
aebefeee 4939 [BZ #12786]
b27e24b8
RK
4940 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4941 * math/s_cacoshf.c: Likewise.
4942 * math/s_cacoshl.c: Likewise.
4943
ee190f67
UD
49442011-12-21 Ulrich Drepper <drepper@gmail.com>
4945
4946 [BZ #13439]
4947 * iconv/gconv.h: Define __GCONV_SWAP.
4948 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4949 * iconvdata/utf-16.c: Likewise.
4950 * iconvdata/utf-32.c: Likewise.
4951
707f25df
AS
49522011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4953
4954 [BZ #13524]
4955 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4956 numerator after shifting it by one limb.
4957
d2daaa1e
RÁE
49582011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4959
4960 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4961 under [__USE_EXTERN_INLINES].
4962
a4647e72
UD
49632011-12-17 Ulrich Drepper <drepper@gmail.com>
4964
4965 [BZ #13446]
4966 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4967
f0b264f1
AZ
49682011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4969
4970 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
4971 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
4972 optimized code.
4973 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
4974 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
4975 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
4976 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
4977 for strncasecmp/strncasecmp_l compilation.
4978 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
4979 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
4980
8ef4f244
MP
49812011-12-08 Marek Polacek <mpolacek@redhat.com>
4982
4983 [BZ #13484]
4984 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
4985 of __asm__.
4986
97ac2654
UD
49872011-12-17 Ulrich Drepper <drepper@gmail.com>
4988
4989 [BZ #13506]
4990 * time/tzfile.c (__tzfile_read): Check values from file header.
4991
91d2a845
WS
49922011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4993
4994 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
4995 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
4996 * powerpc/powerpc32/dl-start.S: Likewise.
4997 * powerpc/powerpc32/elf/start.S: Likewise.
4998 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4999 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
5000 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5001 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
5002 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5003 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
5004 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
5005 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5006 * powerpc/powerpc32/fpu/s_round.S: Likewise.
5007 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5008 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5009 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5010 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5011 * powerpc/powerpc32/memset.S: Likewise.
5012 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5013 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5014 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5015 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5016 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5017 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5018 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5019 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5020 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
5021 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
5022 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
5023 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5024 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5025
a1267ba1
AZ
50262011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5027
5028 * math/libm-test.inc: Added more nearbyint tests.
5029 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5030 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5031 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5032 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5033
ad8ac1bd
RL
50342011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
5035
5036 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5037 FD_CLOEXEC.
5038
1d3e4b61
UD
50392011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5040
5041 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5042 Add wcscpy-ssse3 wcscpy-c.
5043 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5044 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5045 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5046 * sysdeps/x86_64/wcschr.S: New file.
5047 * sysdeps/x86_64/wcsrchr.S: New file.
5048 * string/test-strcmp.c: Remove checking of wcscmp function for
5049 wrong alignments.
5050 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5051 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5052 wcsrchr-sse2 wcsrchr-c.
5053 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5054 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5055 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5056 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5057 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5058 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5059 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5060 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5061 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5062 * wcsmbc/wcschr.c (WCSCHR): New macro.
5063
5b330a2d
UD
50642011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5065
5066 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5067 * wcsmbs/test-wcsrchr.c: New file.
5068 * string/test-strrchr.c: Add wcsrchr support.
5069 (WIDE): New macro.
5070 * wcsmbs/test-wcscpy.c: New file.
5071 * string/test-strcpy.c: Add wcscpy support.
5072 (WIDE): New macro.
26428b7c 5073
f039c043
UD
50742011-12-10 Ulrich Drepper <drepper@gmail.com>
5075
5076 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5077 the inner loop.
5078
850fb039
AS
50792011-12-06 Andreas Schwab <schwab@linux-m68k.org>
5080
5081 [BZ #13472]
5082 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5083
4efbd5cb
UD
50842011-12-04 Ulrich Drepper <drepper@gmail.com>
5085
52ff5dd0 5086 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 5087 Minor optimizations.
52ff5dd0 5088
4efbd5cb
UD
5089 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5090 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5091 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5092
8a426e12
UD
50932011-12-03 Ulrich Drepper <drepper@gmail.com>
5094
aff2453d
UD
5095 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5096 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5097 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5098 for gcc to avoid warnings.
5099 * inet/Makefile (tests): Add tst-checks.
5100 * inet/tst-checks.c: New file.
5101
5102 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5103 warning.
5104
5105 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5106 __wmemcmp_sse2.
5107
5108 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5109 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5110
8a426e12
UD
5111 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5112
9bea3473
UD
51132011-12-02 Ulrich Drepper <drepper@gmail.com>
5114
3a965496
UD
5115 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5116 problem.
5117
9bea3473
UD
5118 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5119
f101631b
UD
51202011-11-29 Joseph Myers <joseph@codesourcery.com>
5121
5122 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5123 conditional on GCC version.
5124 (__arch_compare_and_exchange_val_8_acq)
5125 (__arch_compare_and_exchange_val_16_acq)
5126 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5127 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5128 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5129
a98275aa
UD
51302011-12-02 Joseph Myers <joseph@codesourcery.com>
5131
5132 * sysdeps/sh/backtrace.c: New file.
5133
d4cc29a2
AS
51342011-12-02 Andreas Schwab <schwab@redhat.com>
5135
5136 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
5137 parenthesis.
5138
6257af2d
AS
51392011-12-01 Andreas Schwab <schwab@redhat.com>
5140
5141 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5142 falling back to utime.
5143
b5f44c1a
AS
51442011-11-30 Andreas Schwab <schwab@redhat.com>
5145
5146 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
5147 expectations for float.
5148
f3a6cc0a
AS
51492011-11-29 Andreas Schwab <schwab@redhat.com>
5150
5151 * locale/weight.h (findidx): Add parameter len.
5152 * locale/weightwc.h (findidx): Likewise.
5153 * posix/fnmatch_loop.c (FCT): Adjust caller.
5154 * posix/regcomp.c (build_equiv_class): Likewise.
5155 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
5156 * posix/regexec.c (check_node_accept_bytes): Likewise.
5157 * string/strcoll_l.c (STRCOLL): Likewise.
5158 * string/strxfrm_l.c (STRXFRM): Likewise.
5159
9d65ea3a
UD
51602011-11-17 Ulrich Drepper <drepper@gmail.com>
5161
5162 * Makefile.in: Remove CVSOPT handling.
5163 * configure.in: Remove use of AC_REVISION.
5164 * iconvdata/Makefile (distribute): No need to filter out CVS.
5165 * scripts/list-sources.sh: Remove CVS, subversion and monotone
5166 handling.
5167
5583a086
AS
51682011-11-16 Andreas Schwab <schwab@redhat.com>
5169
5170 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5171 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5172 [USE_AS_STRNCASECMP_L]: Likewise.
5173 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5174 NO_TLS_DIRECT_SEG_REFS.
5175 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5176 Fix argument offsets for non-PIC.
5177 [USE_AS_STRNCASECMP_L]: Likewise.
5178 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5179 NO_TLS_DIRECT_SEG_REFS.
5180
d62a8200
UD
51812011-11-15 Ulrich Drepper <drepper@gmail.com>
5182
9d65ea3a 5183 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
5184 O_CLOEXEC.
5185 * locale/loadlocale.c (_nl_load_locale): Likewise.
5186
09f93bd3
AS
51872011-11-15 Andreas Schwab <schwab@redhat.com>
5188
446514f9
AS
5189 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5190 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5191 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5192 (SYSCALL_GETTIME): Set errno on error.
5193
09f93bd3
AS
5194 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5195 count references to noai6ai_cached.
5196
312be3f9
UD
51972011-11-15 Ulrich Drepper <drepper@gmail.com>
5198
5199 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5200
5201 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5202 FD_CLOEXEC for /proc/self/maps.
5203
5204 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5205 FD_CLOEXEC for /proc/meminfo.
5206
5207 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5208 gai.conf.
5209
5210 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
5211 FD_CLOEXEC for given file.
5212
5213 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5214
5215 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5216 FD_CLOEXEC for /etc/hosts.
5217 (_gethtent): Likewise.
5218
5219 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5220
5221 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5222 cancellation and set FD_CLOEXEC for /etc/netgroup.
5223
5224 * nss/nss_files/files-key.c (search): Don't allow cancellation when
5225 reading /etc/publickey.
5226
5227 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5228 allow cancellation when reading /etc/group.
5229
5230 * nss/nss_files/files-alias.c (internal_setent): Don't allow
5231 cancellation.
5232 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
5233
5234 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5235 when using data file.
5236
5237 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5238
5239 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5240 (write_nis_obj): Use "c" and "e" in fopen.
5241
5242 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5243
5244 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5245
5246 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5247
5248 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5249
5250 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5251 locale.alias.
5252
5253 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5254
5255 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5256
5257 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5258
5259 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5260 file parsing and set FD_CLOEXEC.
5261
82af0fa8
UD
52622011-11-14 Ulrich Drepper <drepper@gmail.com>
5263
5264 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5265
a5fb313c
AS
52662011-11-14 Andreas Schwab <schwab@redhat.com>
5267
5268 * malloc/arena.c (arena_get2): Don't call reused_arena when
5269 _int_new_arena failed.
5270
6abf3465
UD
52712011-11-14 Ulrich Drepper <drepper@gmail.com>
5272
5273 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5274 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5275 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5276 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5277 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5278 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5279 to compile strcasecmp and strncasecmp.
5280 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5281 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5282
5283 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5284
76e3966e
UD
52852011-11-13 Ulrich Drepper <drepper@gmail.com>
5286
5287 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5288 locale-defines.sym to gen-as-const-headers.
5289 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5290 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5291 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5292 to compile strcasecmp and strncasecmp.
5293 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5294 strcasecmp_l and strncasecmp_l.
5295 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5296 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5297 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5298 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5299 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5300 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5301 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5302 * sysdeps/i386/i686/multiarch/strncase.S: New file.
5303 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5304 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5305 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5306
ab26144e
UD
53072011-11-12 Ulrich Drepper <drepper@gmail.com>
5308
7edb22ef
UD
5309 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5310 result of SYSDEP_GETTIME_CPU to retval.
5311 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5312 parameter list to macro. Remove trailing semicolon. Adjust users.
5313
9694fc44
UD
5314 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5315 variable.
5316
8ad89ef8
UD
5317 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5318 mantissa words.
5319 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5320
0c822ef9
UD
5321 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5322 from unused variable.
5323
874e0564
UD
5324 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5325 DWARF definitions.
5326 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5327 for assembling.
5328
3a2edc79
UD
5329 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5330 over namespaces.
5331
f3c2577f
UD
5332 * sunrpc/rpc_prot.c (rejected): Fix case value.
5333
294ce126
UD
5334 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5335 unsigned long long int to avoid warnings in shift.
5336
5e2b63c6
UD
5337 * posix/regex_internal.c (re_string_reconstruct): Actually use result
5338 of use of trans.
5339 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5340 variable tmp.
5341
e7f4b08e
UD
5342 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5343 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5344 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5345
ab26144e
UD
5346 * nis/nis_table.c (nis_list): Use variable of correct type for
5347 result of __follow_path call.
5348
8a6d5255
AZ
53492011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5350
5351 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5352 of math functions ceil, trunc, floor, round, and sqrt, when
5353 avaliable on the platform.
5354 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5355 name clash.
5356 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5357 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5358 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5359
aaddc98c
MP
53602011-10-30 Marek Polacek <mpolacek@redhat.com>
5361
5362 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5363 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5364
95b7042b
RM
53652011-11-11 Roland McGrath <roland@hack.frob.com>
5366
5367 * include/unistd.h: Fix __readlink return type.
5368 Reported by Chris Metcalf <cmetcalf@tilera.com>.
5369
57769839
UD
53702011-11-11 Ulrich Drepper <drepper@gmail.com>
5371
5372 * stdlib/ucontext.h: Undo last change for makecontext.
5373
edc5984d
AS
53742011-11-11 Andreas Schwab <schwab@redhat.com>
5375
98591e58
AS
5376 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5377
edc5984d
AS
5378 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5379 * setjmp/setjmp.h: Mark functions as non-leaf.
5380 * setjmp/bits/setjmp2.h: Likewise.
5381 * stdlib/ucontext.h: Likewise.
5382
77cdc054
AS
53832011-11-10 Andreas Schwab <schwab@redhat.com>
5384
5385 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5386 (reused_arena): Don't check arena limit.
5387 (arena_get2): Atomically check arena limit.
5388
fe72eebd
UD
53892011-11-08 Ulrich Drepper <drepper@gmail.com>
5390
5f078c32
UD
5391 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5392 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5393
fe72eebd
UD
5394 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5395 instructions.
5396
ae1bc2fa
AS
53972011-11-07 Andreas Schwab <schwab@redhat.com>
5398
7583a88d
AS
5399 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5400 handler when locking.
5401
ae1bc2fa
AS
5402 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5403 Fix size of allocated buffer.
5404
10fb0bfa
AS
54052011-11-04 Andreas Schwab <schwab@redhat.com>
5406
998832a4
AS
5407 [BZ #10103]
5408 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5409 declarations for long double functions.
5410 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5411
10fb0bfa
AS
5412 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5413
3d7ba52b
AS
54142011-11-03 Andreas Schwab <schwab@redhat.com>
5415
a9ae54a1
AS
5416 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5417 installed.
5418
3d7ba52b
AS
5419 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5420 is disabled.
5421
bc8db248
ST
54222011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5423
5424 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5425
45b96dd6
AS
54262011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5427
647776f6
AS
5428 * include/alloca.h (stackinfo_alloca_round): Define.
5429 (extend_alloca): Use it.
5430 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5431 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5432 here.
5433
d91a8b93
AS
5434 * scripts/check-local-headers.sh: Ignore libaudit.h.
5435
45b96dd6
AS
5436 * nscd/Makefile (extra-objs): Make recursively expanded.
5437
432d41ce
UD
54382011-11-01 Ulrich Drepper <drepper@gmail.com>
5439
34372fc6
UD
5440 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5441 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5442
fadb59f8
UD
5443 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5444 * posix/tst-rfc3484-2.c: Likewise.
5445 * posix/tst-rfc3484-3.c: Likewise.
5446
78239589
UD
5447 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5448 process_vm_writev.
5449 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5450 process_vm_writev.
5451 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5452 process_vm_writev from libc using GLIBC_2.15 version.
5453
432d41ce
UD
5454 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5455
02f9c6cf
PP
54562011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5457
5458 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5459 stack usage.
5460
3a2c0242
UD
54612011-10-31 Ulrich Drepper <drepper@gmail.com>
5462
f4ec4833
UD
5463 [BZ #13367]
5464 * nss/getent.c (initgroups_keys): Show error message in case no group
5465 names are given.
5466
3a2c0242
UD
5467 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5468 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5469 __bump_nl_timestamp.
5470 * nscd/connections (nscd_init): When host database is served open
5471 netlink socket and request notification about configuration changes.
5472 (main_loop_poll): Track netlink file descriptor and bump timestamp
5473 in case data becomes available.
5474 (main_loop_epoll): Likewise.
5475 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5476 (database_pers_head): Add extra_data fileds.
5477 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5478 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5479 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5480 Adjust caller.
5481 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5482 in6ai data, call __free_in6ai.
5483 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5484 Add -DHAVE_NETLINK.
5485 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5486 interface information. Reuse previous data if netlink timestamp
5487 is not changed.
5488 (__bump_nl_timestamp): New function.
5489 (__free_in6ai): New function.
5490
636064eb
UD
54912011-10-30 Ulrich Drepper <drepper@gmail.com>
5492
5493 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5494 close_not_cancel_no_status here.
5495 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5496
9beb2334
UD
54972011-10-29 Ulrich Drepper <drepper@gmail.com>
5498
6ef76f3b
UD
5499 [BZ #13276]
5500 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5501 return value.
5502
0ffc4f3e 5503 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
5504 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5505 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5506
cb95113e
UD
55072011-07-03 Andreas Jaeger <aj@suse.de>
5508
5509 [BZ #10709]
5510 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5511 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5512 * math/libm-test.inc (sin_test): Add test case.
5513
a1b560ff
UD
55142011-10-29 Ulrich Drepper <drepper@gmail.com>
5515
c9aaface
UD
5516 [BZ #13337]
5517 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5518 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5519
d272e7f1
UD
5520 * elf/chroot_canon.c (chroot_canon): Cleanups.
5521
1bc33071
UD
5522 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5523
1760874d
TJ
5524 [BZ #13335]
5525 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5526 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5527
51d91b18
UD
5528 * string/test-strchr.c: Make usable for strchrnul testing.
5529 * string/test-strchrnul.c: New file.
5530 * string/Makefile (strop-tests): Add strchrnul.
5531
a1b560ff 5532 * po/it.po: Update from translation team.
b611fb81 5533 * po/es.po: Likewise.
a1b560ff 5534
a5b81e1f
UD
55352011-10-28 Ulrich Drepper <drepper@gmail.com>
5536
fd52bc6d
UD
5537 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5538 the three constants needed as parameters. Drop the others.
5539 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5540 __m128i_strloadu_tolower.
52e4b9eb
UD
5541 Create and initialize variable zero and use it in all the places
5542 where _mm_setzero_si128 was used.
fd52bc6d 5543
a5b81e1f
UD
5544 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5545 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5546 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5547 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5548 anymore.
5549 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5550 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5551 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5552 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5553 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5554 __mpranred, __mptan.
5555 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5556 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5557 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5558 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5559 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5560 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5561 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5562 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5563 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5564
b4343346
AS
55652011-10-28 Andreas Schwab <schwab@redhat.com>
5566
0c92d8a8
AS
5567 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5568 redefine if SHARED.
5569 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5570
b4343346
AS
5571 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5572 wide char related routines to wcsmbs subdir.
5573
3871f58f
AS
55742011-10-27 Andreas Schwab <schwab@redhat.com>
5575
5576 [BZ #13344]
5577 * misc/sys/cdefs.h (__THROWNL): Define.
5578 * posix/unistd.h: Use __THREADNL instead of __THREAD
5579 for memory synchronization functions.
5580
94d44d9f
RM
55812011-10-26 Roland McGrath <roland@hack.frob.com>
5582
21b64b15 5583 [BZ #13349]
94d44d9f
RM
5584 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5585 doesn't exist.
5586 * manual/stdio.texi (Obstack Streams): Node removed.
5587
f6ce9294
AS
55882011-10-26 Andreas Schwab <schwab@redhat.com>
5589
80479147
AS
5590 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5591 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5592 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5593
f6ce9294
AS
5594 * math/math_private.h (math_force_eval): Allow non-addressable
5595 arguments.
5596 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5597
618280a1
UD
55982011-10-25 Ulrich Drepper <drepper@gmail.com>
5599
e0016b11
UD
5600 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5601 file is not needed.
5602
5603 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5604 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5605 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5606 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5607 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5608 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5609 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5610 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5611 Add AVX variants.
5612 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5613 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5614 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5615 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5616 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5617 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5618 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5619 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5620 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5621 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5622 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5623 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5624 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5625 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5626 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5627 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5628 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5629 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5630 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5631
5632 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5633 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5634
618280a1
UD
5635 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5636 place. Use VEX encoding when compiling for AVX.
5637
37822576
AS
56382011-10-25 Andreas Schwab <schwab@redhat.com>
5639
1f1e1947
AS
5640 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5641 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5642
37822576
AS
5643 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5644
31ea014d
UD
56452011-10-25 Ulrich Drepper <drepper@gmail.com>
5646
d7826aa1 5647 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 5648 useless if() expression.
d7826aa1
UD
5649 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5650 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5651 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5652 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5653 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5654 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5655 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5656 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5657 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5658 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5659 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5660 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5661 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5662 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5663 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5664 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5665 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5666 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5667 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5668
31ea014d
UD
5669 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5670
16437fec
AS
56712011-10-25 Andreas Schwab <schwab@redhat.com>
5672
5673 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5674 condition.
5675 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5676
31d3cc00
UD
56772011-10-25 Ulrich Drepper <drepper@gmail.com>
5678
5679 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5680 .text section. Avoid duplicate constants.
5681 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5682 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5683 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5684 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5685 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5686 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5687 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5688 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5689 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5690 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5691 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5692 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5693 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5694 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5695 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5696 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5697 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5698 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5699 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5700 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5701 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5702 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5703 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5704 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5705 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5706 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5707 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5708 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5709 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5710 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5711 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5712 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5713 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5714 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5715 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5716 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5717 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5718 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5719 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5720 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5721 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5722 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5723 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5724 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5725 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5726
58985aa9
UD
57272011-10-24 Ulrich Drepper <drepper@gmail.com>
5728
202c9deb
UD
5729 * sysdeps/x86_64/dla.h: Move to ...
5730 * sysdeps/x86_64/fpu/dla.h: ...here.
5731 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5732 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 5733
af968f62
UD
5734 * config.make.in: Add have-mfma4 entry.
5735 * configure.in: Substitute libc_cv_cc_fma4.
5736 * math/Makefile (dbl-only-routines): Add sincostab.
5737 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5738 Use __sincostab not sincos.
5739 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5740 name is a macro.
5741 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5742 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5743 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5744 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5745 using __copysign.
5746 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5747 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5748 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5749 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5750 and __inv.
5751 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5752 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5753 __copysign.
5754 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5755 define aliases when function name is a macro.
5756 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5757 sysdeps/ieee754/dbl-64/sincos.tbl.
5758 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5759 fma4-enabled routines.
5760 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5761 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5762 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5763 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5764 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5765 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5766 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5767 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5768 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5769 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5770 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5771 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5772 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5773 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5774 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5775 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5776 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5777 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5778 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5779 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5780 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5781 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5782 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5783 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5784 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5785 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5786 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5787 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5788 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5789 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5790
58985aa9
UD
5791 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5792 rename.
5793 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5794 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5795 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5796 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5797 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5798 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5799 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5800 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5801
a201fbcf
AS
58022011-10-24 Andreas Schwab <schwab@redhat.com>
5803
5804 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5805
fc2ee42a
LD
58062011-10-23 Ulrich Drepper <drepper@gmail.com>
5807
bb3129bd
UD
5808 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5809
0275fff8
UD
5810 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5811 prediction.
5812 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5813
2fa2ae85
UD
5814 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5815 Remove unused variable magic_bits.
5816 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5817
fc2ee42a
LD
5818 * string/strnlen.c: Define and use STRNLEN macro.
5819 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5820 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5821 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5822 * wcsmbs/wcslen.c: Define and use WCSLEN.
5823 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5824 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5825 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5826 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5827 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5828 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5829 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5830
ce7dd29f
LD
58312011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5832
5833 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5834 strnlen-sse2-no-bsf.
5835 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5836 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5837 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5838 Add strnlen support.
5839 (USE_AS_STRNLEN): New macro.
5840 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5841 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5842 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5843 * sysdeps/x86_64/wcslen.S: New file.
5844
979c70a3
MZ
58452011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5846
5847 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5848 XMM-moves are used for copying on small sizes.
5849
2d09f82f
LD
58502011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5851
5852 * wcsmbs/Makefile (strop-tests): Add wcschr.
5853 * wcsmbs/test-wcschr.c: New file.
5854 * string/test-strchr.c: Update.
5855 Add wcschr support.
5856 (WIDE): New macro.
5857
619fccca
LD
58582011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5859
2d09f82f 5860 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
5861 * wcsmbs/test-wcslen.c: New file.
5862 * string/test-strlen.c: Update.
5863 Add wcslen support.
5864 (WIDE): New macro.
5865
09f699ea
UD
58662011-10-23 Ulrich Drepper <drepper@gmail.com>
5867
5868 * po/it.po: Update from translation team.
5869
95584d3b
LD
58702011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5871
5872 * sysdeps/x86_64/wcscmp.S: Update.
5873 Fix wrong comparison semantics.
5874 wcscmp shall use signed comparison not unsigned.
5875 Don't use substraction to avoid overflow bug.
5876 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5877 * wcsmbc/wcscmp.c: Likewise.
5878 * string/test-strcmp.c: Likewise.
5879 Add new tests to check cases with negative values.
5880
c8b3296b
UD
58812011-10-23 Ulrich Drepper <drepper@gmail.com>
5882
5883 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5884 * sysdeps/x86_64/dla.h: ...here. New file.
5885 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5886 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5887 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5888 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5889 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5890 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5891 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5892 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5893 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5894
246ad57a
AS
58952011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5896
5897 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5898 __ynl_finite aliases.
5899
a1a87169
UD
59002011-10-22 Ulrich Drepper <drepper@gmail.com>
5901
0d355eb7
UD
5902 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5903
a1a87169
UD
5904 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5905 define DLA_FMA.
5906 [DLA_FMA] (EMULV): Use DLA_FMA.
5907 [DLA_FMA] (MUL12): Use EMULV.
5908 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5909 that are not needed.
5910 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5911 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5912 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5913 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5914 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5915 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5916 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5917
ee2aafe0
AS
59182011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5919
5920 * math/s_nan.c: Undef __nan.
5921 * math/s_nanf.c: Undef __nanf.
5922 * math/s_nanl.c: Undef __nanl.
5923 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5924 "math_private.h".
5925
bc62c2fb
UD
59262011-10-22 Ulrich Drepper <drepper@gmail.com>
5927
77425c63
UD
5928 * math/s_catan.c: Add branch predictions.
5929 * math/s_catanf.c: Likewise.
5930 * math/s_catanh.c: Likewise.
5931 * math/s_catanhf.c: Likewise.
5932 * math/s_catanhl.c: Likewise.
5933 * math/s_catanl.c: Likewise.
5934 * math/s_cexp.c: Likewise.
5935 * math/s_cexpf.c: Likewise.
5936 * math/s_cexpl.c: Likewise.
5937 * math/s_clog.c: Likewise.
5938 * math/s_clog10.c: Likewise.
5939 * math/s_clog10f.c: Likewise.
5940 * math/s_clog10l.c: Likewise.
5941 * math/s_clogf.c: Likewise.
5942 * math/s_clogl.c: Likewise.
5943 * math/s_csqrt.c: Likewise.
5944 * math/s_csqrtf.c: Likewise.
5945 * math/s_csqrtl.c: Likewise.
5946 * math/s_ctanf.c: Likewise.
5947 * math/s_ctanh.c: Likewise.
5948 * math/s_ctanhf.c: Likewise.
5949 * math/s_ctanhl.c: Likewise.
5950 * math/s_ctanl.c: Likewise.
5951
bc62c2fb
UD
5952 * math/math_private.h: Define __nan, __nanf, __nanl.
5953 * math/s_cacosh.c: Include <math_private.h>.
5954 * math/s_cacoshl.c: Likewise.
5955 * math/s_casinh.c: Likewise.
5956 * math/s_casinhf.c: Likewise.
5957 * math/s_casinhl.c: Likewise.
5958 * math/s_ccos.c: Rely entire on ccosh.
5959 * math/s_ccosf.c: Rely entire on ccoshf.
5960 * math/s_ccosl.c: Rely entirely on ccoshl.
5961 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5962 Remove tests for FE_INVALID.
5963 * math/s_ccoshf.c: Likewise.
5964 * math/s_ccoshl.c: Likewise.
5965 * math/s_csin.c: Likewise.
5966 * math/s_csinf.c: Likewise.
5967 * math/s_csinh.c Likewise.
5968 * math/s_csinhf.c: Likewise.
5969 * math/s_csinhl.c: Likewise.
5970 * math/s_csinl.c: Likewise.
5971 * math/s_ctan.c: Likewise.
5972 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
5973 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
5974 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
5975
8ec250a4
UD
59762011-10-21 Ulrich Drepper <drepper@gmail.com>
5977
c196fed8
UD
5978 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
5979 compilation problems.
5980
8ec250a4
UD
5981 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
5982 __builtin_expect.
5983
8d4f46c6
UD
59842011-10-20 Ulrich Drepper <drepper@gmail.com>
5985
ed72b654
UD
5986 * sysdeps/i386/configure.in: Test for -mfma4 option.
5987 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
5988 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
5989 COMMON_CPUID_INDEX_80000001.
5990 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
5991 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
5992 use it if FMA3 is not supported.
5993 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5994
8d4f46c6
UD
5995 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
5996 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5997
d45c60c2
AS
59982011-10-20 Andreas Schwab <schwab@redhat.com>
5999
6000 [BZ #12892]
6001 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
6002 it would create a cycle with a link time dependency.
6003
d9a4d2ab
UD
60042011-10-19 Ulrich Drepper <drepper@gmail.com>
6005
855d1560
UD
6006 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
6007 instruction.
6008 * string/Makefile (strop-tests): Add rawmemchr.
6009 * string/test-rawmemchr.c: New file.
6010
d9a4d2ab
UD
6011 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
6012 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
6013 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
6014 when compiling str{,n}casecmp and when AVX is available. Hook up
6015 new optimized code in initializers.
6016
8f3b1ffe
AS
60172011-10-19 Andreas Schwab <schwab@redhat.com>
6018
6019 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
6020 __feraiseexcept instead of feraiseexcept.
6021
d38f1dba
UD
60222011-10-18 Ulrich Drepper <drepper@gmail.com>
6023
d9a8d0ab
UD
6024 * math/math_private.h: Define defaults for libc_fetestexcept and
6025 libc_feupdateenv.
6026 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
6027 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6028 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6029 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6030 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6031 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6032 libc_fetestexcept and libc_feupdateenv.
6033
4855e3dd
UD
6034 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6035 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6036 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6037 * sysdeps/x86_64/fpu/math_private.h: Define special version of
6038 libc_feholdexcept_setround.
6039
581d30e3
UD
6040 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6041 Add s_nearbyint-c and s_nearbyintf-c.
6042 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6043 nearbyintf inlines.
6044 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6045 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6046 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6047 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6048
d38f1dba
UD
6049 * math/math_private.h: Define defaults for libc_fegetround,
6050 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6051 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6052 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6053 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6054 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6055 standard functions.
6056 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6057 Remove comments and hacks for old compiler versions.
6058 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6059 libc_fegetround, libc_fesetround, libc_feholdexcept, and
6060 libc_feholdexceptl.
6061
caa6c9d8
AS
60622011-10-18 Andreas Schwab <schwab@redhat.com>
6063
6064 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
6065 (__feraiseexcept_renamed): Add __NTH.
6066 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
6067 namespace violations.
6068
97c066e6
UD
60692011-10-17 Ulrich Drepper <drepper@gmail.com>
6070
99ce7b04
UD
6071 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6072
1004d182
UD
6073 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6074
228a984d
UD
6075 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6076 recently added interfaces.
6077 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6078
c8553a6a
UD
6079 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6080 about macro parameter expansion.
6081
ed22dcf6
UD
6082 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6083 __NO_MATH_INLINES is defined. Cleanups.
6084
6085 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6086 and __floorf is target has SSE4.1.
6087 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6088 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6089 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6090 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6091
b171c137
UD
6092 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6093 name.
6094 (floorf): Likewise.
6095
97c066e6
UD
6096 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6097
629f62ef
AS
60982011-10-17 Andreas Schwab <schwab@redhat.com>
6099
49a43d80
AS
6100 * misc/sys/cdefs.h: Fix last change.
6101
629f62ef
AS
6102 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6103 database lookup.
6104
e453f6cd
UD
61052011-10-16 Ulrich Drepper <drepper@gmail.com>
6106
aa78043a
UD
6107 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6108
ad0f5cad
UD
6109 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6110 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6111 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6112 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6113 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6114 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6115 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6116 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6117 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6118 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6119 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6120 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6121 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6122 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6123 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6124 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6125 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6126 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6127 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6128 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6129 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6130 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6131
6132 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6133 ceil, ceilf, floor, floorf.
6134
6135 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6136 Perform IRELATIVE relocations last.
6137
e453f6cd
UD
6138 * elf/do-rel.h: Add another parameter nrelative, replacing the
6139 local variable with the same name. Change name of the function
6140 to end in Rel or Rela (uppercase).
6141 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6142 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
6143 elf_dynamic_do_##reloc function.
6144
fd5bdc09
UD
61452011-10-15 Ulrich Drepper <drepper@gmail.com>
6146
79b195b5
UD
6147 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
6148 is sufficient, at least on modern CPUs.
6149
d4a28569
UD
6150 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
6151
b61099b5
UD
6152 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
6153 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
6154
bcf01e6d
UD
6155 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
6156 __expl_finite.
6157 * math/bits/math-finite.h: Add entries for exp.
6158 * math/e_expl.c: Add __*_finite alias.
6159 * sysdeps/i386/fpu/e_exp.S: Likewise.
6160 * sysdeps/i386/fpu/e_expf.S: Likewise.
6161 * sysdeps/i386/fpu/e_expl.c: Likewise.
6162 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6163 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6164 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6165 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6166 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6167 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6168 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6169
ba1a0d59
UD
6170 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6171 is sufficient, at least on modern CPUs.
6172
fd5bdc09
UD
6173 * ctype/ctype-info.c (__ctype_init): Define.
6174 * include/ctype.h (__ctype_init): Declare.
6175 (__ctype_b_loc): The variable is always initialized.
6176 (__ctype_toupper_loc): Likewise.
6177 (__ctype_tolower_loc): Likewise.
6178 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6179 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6180
7872cfb0
AS
61812011-10-15 Andreas Schwab <schwab@linux-m68k.org>
6182
b468825a
AS
6183 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6184
7872cfb0
AS
6185 * configure.in: Also look in $cxxmachine/include for C++ system
6186 headers.
6187
be13f7bf
LD
61882011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6189
6190 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6191 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6192 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6193 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
6194 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6195 (USE_AS_WMEMCMP): New macro.
6196 Fixing indents.
6197 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6198 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6199 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6200 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6201 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6202 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6203 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6204 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6205 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6206 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6207 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6208 (USE_AS_WMEMCMP): New macro.
6209 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6210 * sysdeps/string/test-memcmp.c: Update.
6211 Fix simple_wmemcmp.
6212 Add new tests.
6213 * wcsmbs/wmemcmp.c: Update.
6214 (WMEMCMP): New macro.
6215 Fix overflow bug.
6216
556a2007
AJ
62172011-10-12 Andreas Jaeger <aj@suse.de>
6218
6219 [BZ #13268]
6220 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6221
538faaa7
UD
62222011-10-15 Ulrich Drepper <drepper@gmail.com>
6223
ab6737ff
UD
6224 * libio/iofwide.c (do_length): Avoid warning.
6225
538faaa7
UD
6226 * ctype/ctype.h (__isctype_f): Add missing __THROW.
6227
396a21b1
UD
62282011-10-14 Ulrich Drepper <drepper@gmail.com>
6229
cdf2901f
UD
6230 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6231
38ad40ce
UD
6232 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6233 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6234 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6235 * sysdeps/i386/i686/fpu/e_log.S: New file.
6236 * sysdeps/i386/i686/fpu/e_logf.S: New file.
6237 * sysdeps/i386/i686/fpu/e_logl.S: New file.
6238
396a21b1
UD
6239 * ctype/ctype.h: Add support for inlined isXXX functions when
6240 compiling C++ code.
6241
6b1f68c9
AS
62422011-10-14 Andreas Schwab <schwab@redhat.com>
6243
349290c0
AS
6244 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6245
6b1f68c9
AS
6246 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6247
f2282d42
RM
62482011-10-13 Roland McGrath <roland@hack.frob.com>
6249
6250 [BZ #13291]
6251 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6252
5298ffa8
AS
62532011-10-13 Andreas Schwab <schwab@redhat.com>
6254
714fad23
AS
6255 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6256 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6257 feraiseexcept.
6258
81dcc7fb
AS
6259 * sysdeps/x86_64/memrchr.S: Check for zero size.
6260
5298ffa8
AS
6261 * string/stratcliff.c: Add memrchr tests.
6262
951fbcec
LD
62632011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6264
6265 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6266 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6267 rawmemchr-sse2 rawmemchr-sse2-bsf.
6268 * sysdeps/i386/i686/multiarch/memchr.S: New file.
6269 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6270 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6271 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6272 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6273 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6274 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6275 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6276 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6277 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6278 * string/memrchr.c (MEMRCHR): New macro.
6279
0ac5ae23
UD
62802011-10-12 Ulrich Drepper <drepper@gmail.com>
6281
6282 Add integration with gcc's -ffinite-math-only and optimize wrapper
6283 functions in libm.
6284 * Versions.def: Define GLIBC_2.15 version for libm.
6285 * math/Makefile (headers): Add bits/math-finite.h.
6286 * math/bits/math-finite.h: New file.
6287 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6288 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6289 * math/e_acoshl.c: Add __*_finite alias.
6290 * math/e_acosl.c: Likewise.
6291 * math/e_asinl.c: Likewise.
6292 * math/e_atan2l.c: Likewise.
6293 * math/e_atanhl.c: Likewise.
6294 * math/e_coshl.c: Likewise.
6295 * math/e_exp10.c: Likewise.
6296 * math/e_exp10f.c: Likewise.
6297 * math/e_exp10l.c: Likewise.
6298 * math/e_exp2l.c: Likewise.
6299 * math/e_fmodl.c: Likewise.
6300 * math/e_gammal_r.c: Likewise.
6301 * math/e_hypotl.c: Likewise.
6302 * math/e_j0l.c: Likewise.
6303 * math/e_j1l.c: Likewise.
6304 * math/e_jnl.c: Likewise.
6305 * math/e_lgammal_r.c: Likewise.
6306 * math/e_log10l.c: Likewise.
6307 * math/e_log2l.c: Likewise.
6308 * math/e_logl.c: Likewise.
6309 * math/e_powl.c: Likewise.
6310 * math/e_sinhl.c: Likewise.
6311 * math/e_sqrtl.c: Likewise.
6312 * math/e_scalb.c: Completely rewritten and optimized.
6313 * math/e_scalbf.c: Likewise.
6314 * math/e_scalbl.c: Likewise.
6315 * math/w_acos.c: Likewise.
6316 * math/w_acosf.c: Likewise.
6317 * math/w_acosl.c: Likewise.
6318 * math/w_acosh.c: Likewise.
6319 * math/w_acoshf.c: Likewise.
6320 * math/w_acoshl.c: Likewise.
6321 * math/w_asin.c: Likewise.
6322 * math/w_asinf.c: Likewise.
6323 * math/w_asinl.c: Likewise.
6324 * math/w_atan2.c: Likewise.
6325 * math/w_atan2f.c: Likewise.
6326 * math/w_atan2l.c: Likewise.
6327 * math/w_atanh.c: Likewise.
6328 * math/w_atanhf.c: Likewise.
6329 * math/w_atanhl.c: Likewise.
6330 * math/w_exp10.c: Likewise.
6331 * math/w_exp10f.c: Likewise.
6332 * math/w_exp10l.c: Likewise.
6333 * math/w_fmod.c: Likewise.
6334 * math/w_fmodf.c: Likewise.
6335 * math/w_fmodl.c: Likewise.
6336 * math/w_j0.c: Likewise.
6337 * math/w_j0f.c: Likewise.
6338 * math/w_j0l.c: Likewise.
6339 * math/w_j1.c: Likewise.
6340 * math/w_j1f.c: Likewise.
6341 * math/w_j1l.c: Likewise.
6342 * math/w_jn.c: Likewise.
6343 * math/w_jnf.c: Likewise.
6344 * math/w_log.c: Likewise.
6345 * math/w_logf.c: Likewise.
6346 * math/w_logl.c: Likewise.
6347 * math/w_log10.c: Likewise.
6348 * math/w_log10f.c: Likewise.
6349 * math/w_log10l.c: Likewise.
6350 * math/w_log2.c: Likewise.
6351 * math/w_log2f.c: Likewise.
6352 * math/w_log2l.c: Likewise.
6353 * math/w_pow.c: Likewise.
6354 * math/w_powf.c: Likewise.
6355 * math/w_powl.c: Likewise.
6356 * math/w_remainder.c: Likewise.
6357 * math/w_remainderf.c: Likewise.
6358 * math/w_remainderl.c: Likewise.
6359 * math/w_scalb.c: Likewise.
6360 * math/w_scalbf.c: Likewise.
6361 * math/w_scalbl.c: Likewise.
6362 * math/w_sqrt.c: Likewise.
6363 * math/w_sqrtf.c: Likewise.
6364 * math/w_sqrtl.c: Likewise.
6365 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6366 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
6367 used.
6368 * math/math_private.h: Declare __kernel_standard_f.
6369 * math/w_cosh.c: Remove cruft and optimize a bit.
6370 * math/w_coshf.c: Likewise.
6371 * math/w_coshl.c: Likewise.
6372 * math/w_exp2.c: Likewise.
6373 * math/w_exp2f.c: Likewise.
6374 * math/w_exp2l.c: Likewise.
6375 * math/w_hypot.c: Likewise.
6376 * math/w_hypotf.c: Likewise.
6377 * math/w_hypotl.c: Likewise.
6378 * math/w_lgamma.c: Likewise.
6379 * math/w_lgamma_r.c: Likewise.
6380 * math/w_lgammaf.c: Likewise.
6381 * math/w_lgammaf_r.c: Likewise.
6382 * math/w_lgammal.c: Likewise.
6383 * math/w_lgammal_r.c: Likewise.
6384 * math/w_sinh.c: Likewise.
6385 * math/w_sinhf.c: Likewise.
6386 * math/w_sinhl.c: Likewise.
6387 * math/w_tgamma.c: Likewise.
6388 * math/w_tgammaf.c: Likewise.
6389 * math/w_tgammal.c: Likewise.
6390 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6391 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6392 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6393 Minor optimizations. Pretty printing. Remove cruft.
6394 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6395 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6396 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6397 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6398 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6399 * sysdeps/i386/fpu/e_asin.S: Likewise.
6400 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6401 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6402 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6403 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6404 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6405 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6406 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6407 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6408 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6409 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6410 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6411 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6412 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6413 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6414 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6415 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6416 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6417 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6418 * sysdeps/i386/fpu/e_log.S: Likewise.
6419 * sysdeps/i386/fpu/e_log10.S: Likewise.
6420 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6421 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6422 * sysdeps/i386/fpu/e_log2.S: Likewise.
6423 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6424 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6425 * sysdeps/i386/fpu/e_logf.S: Likewise.
6426 * sysdeps/i386/fpu/e_logl.S: Likewise.
6427 * sysdeps/i386/fpu/e_pow.S: Likewise.
6428 * sysdeps/i386/fpu/e_powf.S: Likewise.
6429 * sysdeps/i386/fpu/e_powl.S: Likewise.
6430 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6431 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6432 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6433 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6434 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6435 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6436 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6437 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6438 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6439 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6440 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6441 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6442 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6443 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6444 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6445 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6446 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6447 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6448 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6449 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6450 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6451 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6452 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6453 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6454 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6455 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6456 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6457 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6458 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6459 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6460 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6461 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6462 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6463 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6464 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6465 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6466 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6467 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6468 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6469 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6470 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6471 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6472 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6473 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6474 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6475 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6476 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6477 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6478 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6479 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6480 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6481 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6482 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6483 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6484 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6485 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6486 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6487 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6488 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6489 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6490 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6491 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6492 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6493 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6494 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6495 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6496 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6497 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6498 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6499 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6500 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6501 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6502 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6503 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6504 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6505 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6506 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6507 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6508 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6509 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6510 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6511 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6512 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6513 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6514 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6515 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6516 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6517 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6518 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6519 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6520 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6521 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6522 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6523 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6524 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6525 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6526 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6527 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6528 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6529 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6530 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6531 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6532 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6533 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6534 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6535 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6536 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6537 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6538 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6539 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6540 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6541 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6542 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6543 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6544 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6545 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6546 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6547 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6548 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6549 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6550 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6551 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6552 (__isnanf): Likewise.
6553 (__isinf_ns): Likewise.
6554 (__isinf_nsf): Likewise.
6555 (__finite): Likewise.
6556 (__finitef): Likewise.
6557 (__ieee754_sqrt): Define as macro.
6558 (__ieee754_sqrtf): Define as macro.
6559 (__ieee754_sqrtl): Define as macro.
6560 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6561 inlined copy.
6562 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6563 __FINITE_MATH_ONLY__ consistent.
6564 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6565
12cc2fcd
AS
65662011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6567
a843a204
AS
6568 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6569 of rawmemchr.
6570
12cc2fcd
AS
6571 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6572
c853acd5
UD
65732011-10-09 Ulrich Drepper <drepper@gmail.com>
6574
6575 * po/ja.po: Update from translation team.
6576
c658d255
RM
65772011-10-08 Roland McGrath <roland@hack.frob.com>
6578
110946e4
RM
6579 * locale/programs/locarchive.c (prepare_address_space): New function.
6580 (create_archive, enlarge_archive, open_archive): Use it.
6581
50604220
RM
6582 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6583 inside [SHARED], where it is used.
6584
c658d255
RM
6585 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6586
6587 * nss/getent.c (netgroup_keys): Remove unused variable.
6588 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6589
6a621eb7
UD
65902011-10-08 Ulrich Drepper <drepper@gmail.com>
6591
7edb55ce
UD
6592 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6593 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6594 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6595 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6596 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6597 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6598 * math/Makefile (libm-calls): Add s_isinf_ns.
6599 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6600 * math/multc3.c: Likewise.
6601 * math/s_casin.c: Likewise.
6602 * math/s_casinf.c: Likewise.
6603 * math/s_casinl.c: Likewise.
6604 * math/s_ccos.c: Likewise.
6605 * math/s_ccosf.c: Likewise.
6606 * math/s_ccosl.c: Likewise.
6607 * math/s_ctan.c: Likewise.
6608 * math/s_ctanf.c: Likewise.
6609 * math/s_ctanh.c: Likewise.
6610 * math/s_ctanhf.c: Likewise.
6611 * math/s_ctanhl.c: Likewise.
6612 * math/s_ctanl.c: Likewise.
6613 * math/w_fmod.c: Likewise.
6614 * math/w_fmodf.c: Likewise.
6615 * math/w_fmodl.c: Likewise.
6616 * math/w_remainder.c: Likewise.
6617 * math/w_remainderf.c: Likewise.
6618 * math/w_remainderl.c: Likewise.
6619 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6620 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6621 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6622 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6623 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6624 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6625 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6626 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6627
187da0ae
UD
6628 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6629 of the number.
6630 * stdio-common/printf_fphex.c: Likewise.
6631 * stdio-common/printf_size.c: Likewise.
6632
9277c064
UD
6633 * math/e_exp10.c: Include math_private.h using <...> not "...".
6634 * math/e_exp10f.c: Likewise.
6635 * math/e_exp10l.c: Likewise.
6636 * math/e_exp2l.c: Likewise.
6637 * math/e_j0l.c: Likewise.
6638 * math/e_j1l.c: Likewise.
6639 * math/e_jnl.c: Likewise.
6640 * math/e_lgammal_r.c: Likewise.
6641 * math/e_rem_pio2l.c: Likewise.
6642 * math/e_scalb.c: Likewise.
6643 * math/e_scalbf.c: Likewise.
6644 * math/e_scalbl.c: Likewise.
6645 * math/k_cosl.c: Likewise.
6646 * math/k_sinl.c: Likewise.
6647 * math/k_tanl.c: Likewise.
6648 * math/s_cacoshf.c: Likewise.
6649 * math/s_catan.c: Likewise.
6650 * math/s_catanf.c: Likewise.
6651 * math/s_catanh.c: Likewise.
6652 * math/s_catanhf.c: Likewise.
6653 * math/s_catanhl.c: Likewise.
6654 * math/s_catanl.c: Likewise.
6655 * math/s_ccosh.c: Likewise.
6656 * math/s_ccoshf.c: Likewise.
6657 * math/s_ccoshl.c: Likewise.
6658 * math/s_cexp.c: Likewise.
6659 * math/s_cexpf.c: Likewise.
6660 * math/s_cexpl.c: Likewise.
6661 * math/s_clog.c: Likewise.
6662 * math/s_clog10.c: Likewise.
6663 * math/s_clog10f.c: Likewise.
6664 * math/s_clog10l.c: Likewise.
6665 * math/s_clogf.c: Likewise.
6666 * math/s_clogl.c: Likewise.
6667 * math/s_csin.c: Likewise.
6668 * math/s_csinf.c: Likewise.
6669 * math/s_csinh.c: Likewise.
6670 * math/s_csinhf.c: Likewise.
6671 * math/s_csinhl.c: Likewise.
6672 * math/s_csinl.c: Likewise.
6673 * math/s_csqrt.c: Likewise.
6674 * math/s_csqrtf.c: Likewise.
6675 * math/s_csqrtl.c: Likewise.
6676 * math/s_ctan.c: Likewise.
6677 * math/s_ctanf.c: Likewise.
6678 * math/s_ctanh.c: Likewise.
6679 * math/s_ctanhf.c: Likewise.
6680 * math/s_ctanhl.c: Likewise.
6681 * math/s_ctanl.c: Likewise.
6682 * math/s_ldexp.c: Likewise.
6683 * math/s_ldexpf.c: Likewise.
6684 * math/s_ldexpl.c: Likewise.
6685 * math/s_significand.c: Likewise.
6686 * math/s_significandf.c: Likewise.
6687 * math/s_significandl.c: Likewise.
6688 * math/w_acos.c: Likewise.
6689 * math/w_acosf.c: Likewise.
6690 * math/w_acosh.c: Likewise.
6691 * math/w_acoshf.c: Likewise.
6692 * math/w_acoshl.c: Likewise.
6693 * math/w_acosl.c: Likewise.
6694 * math/w_asin.c: Likewise.
6695 * math/w_asinf.c: Likewise.
6696 * math/w_asinl.c: Likewise.
6697 * math/w_atan2.c: Likewise.
6698 * math/w_atan2f.c: Likewise.
6699 * math/w_atan2l.c: Likewise.
6700 * math/w_atanh.c: Likewise.
6701 * math/w_atanhf.c: Likewise.
6702 * math/w_atanhl.c: Likewise.
6703 * math/w_cosh.c: Likewise.
6704 * math/w_coshf.c: Likewise.
6705 * math/w_coshl.c: Likewise.
6706 * math/w_dremf.c: Likewise.
6707 * math/w_exp10.c: Likewise.
6708 * math/w_exp10f.c: Likewise.
6709 * math/w_exp10l.c: Likewise.
6710 * math/w_exp2.c: Likewise.
6711 * math/w_exp2f.c: Likewise.
6712 * math/w_fmod.c: Likewise.
6713 * math/w_fmodf.c: Likewise.
6714 * math/w_fmodl.c: Likewise.
6715 * math/w_hypot.c: Likewise.
6716 * math/w_hypotf.c: Likewise.
6717 * math/w_hypotl.c: Likewise.
6718 * math/w_j0.c: Likewise.
6719 * math/w_j0f.c: Likewise.
6720 * math/w_j0l.c: Likewise.
6721 * math/w_j1.c: Likewise.
6722 * math/w_j1f.c: Likewise.
6723 * math/w_j1l.c: Likewise.
6724 * math/w_jn.c: Likewise.
6725 * math/w_jnf.c: Likewise.
6726 * math/w_jnl.c: Likewise.
6727 * math/w_lgamma.c: Likewise.
6728 * math/w_lgamma_r.c: Likewise.
6729 * math/w_lgammaf.c: Likewise.
6730 * math/w_lgammaf_r.c: Likewise.
6731 * math/w_lgammal.c: Likewise.
6732 * math/w_lgammal_r.c: Likewise.
6733 * math/w_log.c: Likewise.
6734 * math/w_log10.c: Likewise.
6735 * math/w_log10f.c: Likewise.
6736 * math/w_log10l.c: Likewise.
6737 * math/w_log2.c: Likewise.
6738 * math/w_log2f.c: Likewise.
6739 * math/w_log2l.c: Likewise.
6740 * math/w_logf.c: Likewise.
6741 * math/w_logl.c: Likewise.
6742 * math/w_pow.c: Likewise.
6743 * math/w_powf.c: Likewise.
6744 * math/w_powl.c: Likewise.
6745 * math/w_remainder.c: Likewise.
6746 * math/w_remainderf.c: Likewise.
6747 * math/w_remainderl.c: Likewise.
6748 * math/w_scalb.c: Likewise.
6749 * math/w_scalbf.c: Likewise.
6750 * math/w_scalbl.c: Likewise.
6751 * math/w_sinh.c: Likewise.
6752 * math/w_sinhf.c: Likewise.
6753 * math/w_sinhl.c: Likewise.
6754 * math/w_sqrt.c: Likewise.
6755 * math/w_sqrtf.c: Likewise.
6756 * math/w_sqrtl.c: Likewise.
6757 * math/w_tgamma.c: Likewise.
6758 * math/w_tgammaf.c: Likewise.
6759 * math/w_tgammal.c: Likewise.
6760
6a621eb7
UD
6761 * po/ja.po: Update from translation team.
6762
bf582445
AJ
67632011-09-29 Andreas Jaeger <aj@suse.de>
6764
f9efbf3a
AJ
6765 [BZ #13179]
6766 * sunrpc/netname.c (netname2host): Fix logic.
6767
bf582445
AJ
6768 [BZ #6779]
6769 [BZ #6783]
6770 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6771 correctly.
6772 * math/w_remainder.c (__remainder): Likewise.
6773 * math/w_remainderf.c (__remainderf): Likewise.
6774 * math/libm-test.inc (remainder_test): Add test cases.
6775
48693bea
AK
67762011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6777
6778 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6779 sdiv_qrnnd.
6780
42622229
LD
67812011-10-07 Ulrich Drepper <drepper@gmail.com>
6782
6783 * string/test-memcmp.c: Avoid unncessary #defines.
6784 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6785
093ecf92
LD
67862011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6787
6788 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6789 Use new sse2 version for core i3 - i7 as it's faster
6790 than sse42 version.
6791 (bit_Prefer_PMINUB_for_stringop): New.
6792 * sysdeps/x86_64/rawmemchr.S: Update.
6793 Replace with faster SSE2 version.
6794 * sysdeps/x86_64/memrchr.S: New file.
6795 * sysdeps/x86_64/memchr.S: Update.
6796 Replace with faster SSE2 version.
6797
fde56e5c
MP
67982011-09-12 Marek Polacek <mpolacek@redhat.com>
6799
6800 * elf/dl-load.c (lose): Add cast to avoid warning.
6801
21fd49a9
UD
68022011-10-07 Ulrich Drepper <drepper@gmail.com>
6803
5a06e643
UD
6804 * po/ca.po: Update from translation team.
6805
684ae515
UD
6806 * inet/getnetgrent_r.c: Hook up nscd.
6807 * nscd/Makefile (routines): Add nscd_netgroup.
6808 (nscd-modules): Add netgroupcache.
6809 (CFLAGS-netgroupcache.c): Define.
6810 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6811 (cache_search): Add const to second parameter.
6812 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6813 INNETGR.
6814 (dbs): Add netgrdb entry.
6815 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6816 (verify_persistent_db): Handle netgrdb.
6817 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6818 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6819 GETFDNETGR.
6820 (netgroup_response_header): Define.
6821 (innetgroup_response_header): Define.
6822 (datahead): Add netgroup_response_header and innetgroup_response_header
6823 elements.
6824 * nscd/nscd.conf: Add entries for netgroup cache.
6825 * nscd/nscd.h (dbtype): Add netgrdb.
6826 (_PATH_NSCD_NETGROUP_DB): Define.
6827 (netgroup_iov_disabled): Declare.
6828 (xmalloc, xcalloc, xrealloc): Move declarations here.
6829 (cache_search): Adjust prototype.
6830 Add netgroup-related prototypes.
6831 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6832 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6833 (__nscd_innetgr): Declare.
6834 * nscd/selinux.c (perms): Use access_vector_t as element type and
6835 add netgroup-related initializers.
6836 * nscd/netgroupcache.c: New file.
6837 * nscd/nscd_netgroup.c: New file.
6838 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6839 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6840 For four parameters use innetgr.
6841 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6842 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6843 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6844 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6845
21fd49a9
UD
6846 * nscd/connections.c (register_traced_file): Don't register file
6847 for disabled databases.
6848
054c0457
UD
68492011-10-06 Ulrich Drepper <drepper@gmail.com>
6850
32b63198
UD
6851 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6852
054c0457
UD
6853 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6854 from tree and freeing node.
6855
64031225
JO
68562011-09-25 Jiri Olsa <jolsa@redhat.com>
6857
6858 * nss/nsswitch.c (__nss_database_lookup): Handle
6859 nss_parse_service_list out of memory case.
6860
0490345c
JO
68612011-09-15 Jiri Olsa <jolsa@redhat.com>
6862
6863 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6864 out of memory case.
6865
3a62d00d
AS
68662011-10-04 Andreas Schwab <schwab@redhat.com>
6867
6868 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6869 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6870 pass it down.
6871 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6872 elf_machine_rela, elf_machine_lazy_rel.
6873 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6874 (ELF_DYNAMIC_DO_REL): Likewise.
6875 (ELF_DYNAMIC_DO_RELA): Likewise.
6876 (ELF_DYNAMIC_RELOCATE): Likewise.
6877 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6878 to ELF_DYNAMIC_DO_REL.
6879 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6880 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6881 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6882 elf_machine_rela.
6883 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6884 skip_ifunc, don't call ifunc function if non-zero.
6885 (elf_machine_rela): Likewise.
6886 (elf_machine_lazy_rel): Likewise.
6887 (elf_machine_lazy_rela): Likewise.
6888 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6889 (elf_machine_lazy_rel): Likewise.
6890 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6891 Likewise.
6892 (elf_machine_lazy_rel): Likewise.
6893 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6894 Likewise.
6895 (elf_machine_lazy_rel): Likewise.
6896 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6897 (elf_machine_lazy_rel): Likewise.
6898 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6899 (elf_machine_lazy_rel): Likewise.
6900 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6901 (elf_machine_lazy_rel): Likewise.
6902 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6903 (elf_machine_lazy_rel): Likewise.
6904 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6905 (elf_machine_lazy_rel): Likewise.
6906 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6907 (elf_machine_lazy_rel): Likewise.
6908
68577918
UD
69092011-09-28 Ulrich Drepper <drepper@gmail.com>
6910
6911 * nss/nss_files/files-init.c (_nss_files_init): Use static
6912 initialization for all the *_traced_file variables.
6913
68822d74
AS
69142011-09-28 Andreas Schwab <schwab@redhat.com>
6915
6916 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6917
2056100b
RM
69182011-09-27 Roland McGrath <roland@hack.frob.com>
6919
6920 [BZ #13226]
6921 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6922
32c76b63
AS
69232011-09-27 Andreas Schwab <schwab@redhat.com>
6924
6925 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6926 Reread the line before reparsing it.
6927
bf972c9d
AS
69282011-09-26 Andreas Schwab <schwab@redhat.com>
6929
6930 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6931
e057a1b5
JM
69322011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6933 Maxim Kuvyrkov <maxim@codesourcery.com>
6934 Joseph Myers <joseph@codesourcery.com>
6935
6936 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6937 if needed for __stack_chk_guard.
6938
bc7e1c36
RM
69392011-09-19 Roland McGrath <roland@hack.frob.com>
6940
ecb1482f
RM
6941 * sysdeps/posix/spawni.c (script_execute): Always define it.
6942 It will be optimized away if unused.
6943 (maybe_script_execute): New function.
6944 (__spawni): Call it.
6945
bc7e1c36
RM
6946 * Makerules: Don't include tls.make.
6947 (config-tls): Always set to thread.
6948 * tls.make.c: File removed.
6949
1c3b002b
MF
69502011-09-19 Mike Frysinger <vapier@gentoo.org>
6951
6952 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6953 * config.make.in (CPPFLAGS-config): New substituted variable.
6954
2840865d
UD
69552011-09-15 Ulrich Drepper <drepper@gmail.com>
6956
88738eb6
UD
6957 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6958
cbf645a6 6959 [BZ #13192]
2840865d
UD
6960 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6961 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6962
b402e91a
RM
69632011-09-15 Roland McGrath <roland@hack.frob.com>
6964
6965 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6966 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6967 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6968 (CALL_FAIL): Likewise.
6969 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6970 (CALL_FAIL): Macro removed.
6971 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
6972
4c1a1f71
UD
69732011-09-15 Ulrich Drepper <drepper@gmail.com>
6974
6975 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
6976 for __FINITE_MATH_ONLY__ == 1.
6977
edc121be
AS
69782011-09-15 Andreas Schwab <schwab@redhat.com>
6979
6980 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
6981 __ieee754_sqrt instead of sqrt.
6982 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
6983 __ieee754_sqrtf instead of sqrtf.
6984 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6985 __floorf instead of floorf.
6986 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
6987 __floorf, __truncf instead of floorf, truncf.
6988
cd205654
UD
69892011-09-14 Ulrich Drepper <drepper@gmail.com>
6990
ee4d0315
UD
6991 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
6992
cd205654
UD
6993 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
6994 __extern_always_inline.
6995 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
6996 32-bit.
6997
48b67d71
AS
69982011-09-14 Andreas Schwab <schwab@redhat.com>
6999
7000 * elf/rtld.c (dl_main): Also relocate in dependency order when
7001 doing symbol dependency testing.
7002
1ae12c75
AS
70032011-09-13 Andreas Schwab <schwab@linux-m68k.org>
7004
7005 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7006 Always define `refsym'.
7007
995a80df
AS
70082011-09-13 Andreas Schwab <schwab@redhat.com>
7009
e529793b
AS
7010 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
7011 (__FD_ELT): Renamed from __FDELT.
7012 * misc/bits/select2.h (__FD_ELT): Likewise.
7013 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
7014 __FD_MASK instead of __FDELT, __FDMASK.
7015 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7016 Likewise.
7017 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7018 Likewise.
7019
52d4fef8
AS
7020 * elf/Makefile (gen-ldd): Fix pattern.
7021
995a80df
AS
7022 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
7023 (init_tls): Likewise.
7024
8682f8b0
UD
70252011-09-12 Ulrich Drepper <drepper@gmail.com>
7026
7027 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7028
de82006d
AS
70292011-09-12 Andreas Schwab <schwab@redhat.com>
7030
a7c8e6a1
AS
7031 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7032 `struct cmsghdr *' instead of `void *'.
7033 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7034 Likewise.
7035
0f31fe77
AS
70362011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7037
7038 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7039 if non-absolute.
7040 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7041 ldd_rewrite_script.
0f31fe77 7042
32b4c839
UD
70432011-09-11 Ulrich Drepper <drepper@gmail.com>
7044
83cd1420
UD
7045 * configure.in: Remove --with-tls option.
7046 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7047 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7048 out in case it is missing.
7049 * sysdeps/ia64/elf/configure.in: Likewise.
7050 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7051 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7052 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7053 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7054 * sysdeps/sh/elf/configure.in: Likewise.
7055 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7056 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7057 * sysdeps/x86_64/elf/configure.in: Likewise.
7058 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7059 * sysdeps/mach/hurd/tls.h: Likewise.
7060
633f745d
UD
7061 [BZ #13067]
7062 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7063
f318beb8
UD
7064 [BZ #13090]
7065 * configure.in: Fix use of AC_INIT.
7066
32b4c839
UD
7067 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7068
3ce1f295
UD
70692011-09-10 Ulrich Drepper <drepper@gmail.com>
7070
bb016596
UD
7071 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7072 __set_errno.
8e58439c
UD
7073 * malloc/hooks.c: Likewise.
7074
aebae053 7075 [BZ #11929]
02d46fc4
UD
7076 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
7077 variables statically.
7078 (narenas): Initialize.
7079 (list_lock): Initialize.
bb016596
UD
7080 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
7081 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
7082 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7083 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
7084 Add initializers to main_arena and mp_.
7085 (malloc_state): Remove pagesize member. Change all users to use
7086 GLRO(dl_pagesize).
7087
7088 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7089 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
7090 is always initialized.
7091
22a89187
UD
7092 * malloc/malloc.c: Removed unused configurations and dead code.
7093 * malloc/arena.c: Likewise.
7094 * malloc/hooks.c: Likewise.
02d46fc4 7095 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 7096
d063d164
UD
7097 * include/tls.h: Removed. USE___THREAD must always be defined.
7098 * bits/libc-tsd.h: Don't handle !USE___THREAD.
7099 * elf/dl-libc.c: Likewise.
7100 * elf/dl-tsd.c: Likewise.
7101 * include/errno.h: Likewise.
7102 * include/netdb.h: Likewise.
7103 * include/resolv.h: Likewise.
7104 * inet/herrno-loc.c: Likewise.
7105 * inet/herrno.c: Likewise.
7106 * malloc/arena.c: Likewise.
7107 * malloc/hooks.c: Likewise.
7108 * malloc/malloc.c: Likewise.
7109 * resolv/res-state.c: Likewise.
7110 * resolv/res_libc.c: Likewise.
7111 * sysdeps/i386/dl-machine.h: Likewise.
7112 * sysdeps/ia64/dl-machine.h: Likewise.
7113 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7114 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7115 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7116 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7117 * sysdeps/sh/dl-machine.h: Likewise.
7118 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7119 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7120 * sysdeps/unix/i386/sysdep.S: Likewise.
7121 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7122 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7123 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7124 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7125 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7126 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7127 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7128 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7129 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7130 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7131 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7132 * sysdeps/x86_64/dl-machine.h: Likewise.
7133 * tls.make.c: Likewise.
7134
3ce1f295
UD
7135 * configure.in: Remove --with-__thread option. Make tests for
7136 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7137 tls_model attribute fail if no support is available. Remove
7138 USE_IN_LIBIO.
7139 * Makeconfig: Adjust for dropped configure option. All features are
7140 now mandatory.
7141 * Makerules: Likewise.
7142 * Versions.def: Likewise.
7143 * argp/argp-fmtstream.c: Likewise.
7144 * argp/argp-fmtstream.h: Likewise.
7145 * argp/argp-help.c: Likewise.
7146 * assert/assert.c: Likewise.
7147 * config.h.in: Likewise.
7148 * config.make.in: Likewise.
7149 * configure: Likewise.
7150 * configure.in: Likewise.
7151 * csu/Versions: Likewise.
7152 * csu/init.c: Likewise.
7153 * elf/tst-audit2.c: Likewise.
7154 * elf/tst-tls10.c: Likewise.
7155 * elf/tst-tls10.h: Likewise.
7156 * elf/tst-tls11.c: Likewise.
7157 * elf/tst-tls12.c: Likewise.
7158 * elf/tst-tls14.c: Likewise.
7159 * elf/tst-tlsmod11.c: Likewise.
7160 * elf/tst-tlsmod12.c: Likewise.
7161 * elf/tst-tlsmod13.c: Likewise.
7162 * elf/tst-tlsmod13a.c: Likewise.
7163 * elf/tst-tlsmod14a.c: Likewise.
7164 * elf/tst-tlsmod15b.c: Likewise.
7165 * elf/tst-tlsmod16a.c: Likewise.
7166 * elf/tst-tlsmod16b.c: Likewise.
7167 * elf/tst-tlsmod7.c: Likewise.
7168 * elf/tst-tlsmod8.c: Likewise.
7169 * elf/tst-tlsmod9.c: Likewise.
7170 * gmon/gmon.c: Likewise.
7171 * grp/fgetgrent_r.c: Likewise.
7172 * grp/putgrent.c: Likewise.
7173 * hurd/fopenport.c: Likewise.
7174 * include/libc-symbols.h: Likewise.
7175 * include/tls.h: Likewise.
7176 * intl/gettextP.h: Likewise.
7177 * intl/loadinfo.h: Likewise.
7178 * locale/global-locale.c: Likewise.
7179 * locale/localeinfo.h: Likewise.
7180 * mach/devstream.c: Likewise.
7181 * malloc/arena.c: Likewise.
7182 * malloc/set-freeres.c: Likewise.
7183 * misc/err.c: Likewise.
7184 * misc/getttyent.c: Likewise.
7185 * misc/mntent_r.c: Likewise.
7186 * posix/getopt.c: Likewise.
7187 * posix/wordexp.c: Likewise.
7188 * pwd/fgetpwent_r.c: Likewise.
7189 * resolv/Versions: Likewise.
7190 * resolv/res_hconf.c: Likewise.
7191 * shadow/fgetspent_r.c: Likewise.
7192 * shadow/putspent.c: Likewise.
7193 * stdio-common/printf_fphex.c: Likewise.
7194 * stdio-common/tmpfile.c: Likewise.
7195 * stdlib/abort.c: Likewise.
7196 * stdlib/fmtmsg.c: Likewise.
7197 * sunrpc/auth_unix.c: Likewise.
7198 * sunrpc/clnt_perr.c: Likewise.
7199 * sunrpc/clnt_tcp.c: Likewise.
7200 * sunrpc/clnt_udp.c: Likewise.
7201 * sunrpc/clnt_unix.c: Likewise.
7202 * sunrpc/openchild.c: Likewise.
7203 * sunrpc/svc_simple.c: Likewise.
7204 * sunrpc/svc_tcp.c: Likewise.
7205 * sunrpc/svc_udp.c: Likewise.
7206 * sunrpc/svc_unix.c: Likewise.
7207 * sunrpc/xdr.c: Likewise.
7208 * sunrpc/xdr_array.c: Likewise.
7209 * sunrpc/xdr_rec.c: Likewise.
7210 * sunrpc/xdr_ref.c: Likewise.
7211 * sunrpc/xdr_stdio.c: Likewise.
7212
1248c1c4
PB
72132011-09-09 Ulrich Drepper <drepper@gmail.com>
7214
7215 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7216
72172011-07-03 Andreas Jaeger <aj@suse.de>
7218
7219 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7220 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7221 regenerate with gen-libm-tests.pl.
7222
72232010-05-12 Petr Baudis <pasky@suse.cz>
7224
7225 [BZ #11589]
7226 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7227 around j0() zero points by switching to j1().
7228 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7229 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7230 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7231 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7232
f22e1074
UD
72332011-09-09 Ulrich Drepper <drepper@gmail.com>
7234
f19009c1
UD
7235 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7236 instead of 0.
7237 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7238 instead of 0. .
7239 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7240 Patch in part by Pavel Roskin <proski@gnu.org>.
7241
3f8cc204
UD
7242 [BZ #13138]
7243 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7244 realloc.
7245 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
7246 Free memory block if necessary.
7247
f22e1074
UD
7248 [BZ #12847]
7249 * libio/genops.c (INTDEF): For string streams the _lock pointer can
7250 be NULL. Don't lock in this case.
7251
0a2349f9
RM
72522011-09-09 Roland McGrath <roland@hack.frob.com>
7253
7254 * elf/elf.h (ELFOSABI_GNU): New macro.
7255 (ELFOSABI_LINUX): Define to that.
7256
f3cdd467
DZ
72572011-07-29 Denis Zaitceff <zaitceff@gmail.com>
7258
7259 * string/strncat.c (strncat): Undef the symbol in case it has been
7260 defined in bits/string.h.
7261
74718d13
UD
72622011-09-09 Ulrich Drepper <drepper@gmail.com>
7263
633e9e0f
UD
7264 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7265
0a2349f9 7266 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
7267 link map.
7268
f9924780
AJ
72692011-08-17 Andreas Jaeger <aj@suse.de>
7270
7271 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7272
7f5517aa
PP
72732011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7274 Ian Lance Taylor <iant@google.com>
7275
7276 * math/libm-test.inc (lround_test): New testcase.
7277 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7278
762011fe
UD
72792011-09-08 Ulrich Drepper <drepper@gmail.com>
7280
92963737
UD
7281 * Makefile: Remove support for automatic cvs check-ins.
7282 * Makerules: Likewise.
7283 * config.make.in: Likewise.
7284 * configure.in: Likewise.
7285 * intl/Makefile: Likewise.
7286 * locale/Makefile: Likewise.
7287 * po/Makefile: Likewise.
7288 * posix/Makefile: Likewise.
7289 * sysdeps/gnu/Makefile: Likewise.
7290 * sysdeps/mach/hurd/Makefile: Likewise.
7291 * sysdeps/sparc/sparc32/Makefile: Likewise.
7292
b0727fd8
JS
7293 [BZ #13118]
7294 * posix/Makefile (bug-regex32-ENV): Define.
7295 Patch by John Stanley <jpsinthemix@verizon.net>.
7296
a0f33f99
UD
7297 * misc/Makefile (headers): Add bits/select2.h.
7298 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7299 * misc/bits/select2.h: New file.
7300 * include/bits/select2.h: New file.
7301 * debug/Makefile (routines): Add fdelt_chk.
7302 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7303 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7304 FD_ISSET.
7305 * debug/fdelt_chk.c: New file.
7306
762011fe
UD
7307 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
7308 * wcsmbs/test-wmemcmp.c: Likewise.
7309 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 7310 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
7311
73122011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7313
7314 * string/Makefile (strop-tests): Add memcmp.
7315 * string/test-wmemcmp.c: New file.
7316 * string/test-memcmp.c: Add wmemcmp support.
7317
7f513ec8
RM
73182011-09-08 Roland McGrath <roland@hack.frob.com>
7319
0442afb4
RM
7320 [BZ #13153]
7321 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7322 2011-07-19 change.
7323
7f513ec8
RM
7324 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7325 garbage value in a __mach_port_mod_refs call in the cases of the
7326 task-self and thread-self ports.
7327
a12b2239
ST
73282011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7329
7330 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7331
610f9ab4
AS
73322011-09-08 Andreas Schwab <schwab@redhat.com>
7333
7f513ec8 7334 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 7335
48882a1a
LD
73362011-09-07 Ulrich Drepper <drepper@gmail.com>
7337
b49865be
UD
7338 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7339
fdc86bc9
UD
7340 * elf/dl-libc.c (dlerror_run): Pass back error code from
7341 dl_catch_error.
7342
c966526a
UD
7343 [BZ #13123]
7344 * elf/dl-load.c (lose): Free l_origin if it is valid.
7345
48882a1a
LD
7346 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7347 names.
7348 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7349 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7350 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7351 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7352 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7353 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7354
77a2a8b4
AZ
73552011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7356
7357 * sysdeps/powerpc/fpu/e_hypot.c: New file.
7358 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7359 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7360 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7361 * sysdeps/powerpc/fpu/k_cosf.c: New file.
7362 * sysdeps/powerpc/fpu/k_sinf.c: New file.
7363 * sysdeps/powerpc/fpu/s_cosf.c: New file.
7364 * sysdeps/powerpc/fpu/s_sinf.c: New file.
7365 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7366 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7367
24f579d8
AM
73682011-08-15 Alan Modra <amodra@gmail.com>
7369
7370 [BZ #13092]
7371 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7372 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7373 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
7374 ppc_mcount to static-only-routines.
7375 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7376 __mcount_internal.
7377 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7378 __mcount_internal with usual JUMPTARGET. Remove useless nop.
7379
3d4837df
UD
73802011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7381
7382 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7383 for finite and infinity parameters.
7384
22700377
WS
73852011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7386
7387 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7388 and add nop instructions for throughput optimization.
7389 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7390
5025581e
WS
73912011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7392
7393 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7394 aligned copy for power7 with vector-scalar instructions.
7395 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7396
08a300c9
L
73972011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7398
7399 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7400 AVX check.
7401
59178ef9
AS
74022011-09-07 Andreas Schwab <schwab@redhat.com>
7403
7404 [BZ #13144]
7405 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7406 last change.
7407
e38ba7ab
UD
74082011-09-07 Ulrich Drepper <drepper@gmail.com>
7409
7410 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7411 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7412 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7413 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7414 clock_gettime.
7415
d53a73ac
UD
74162011-09-06 Ulrich Drepper <drepper@gmail.com>
7417
fc8bffcc
UD
7418 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7419 Forgot to demangle the pointer.
7420
ceaa0c5d
UD
7421 * sysdeps/i386/sysdep.h: Define atom_text_section.
7422 * sysdeps/x86_64/sysdep.h: Likewise.
7423 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7424 section with atom_text_section.
7425 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7426 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7427 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7428 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7429 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7430
a77d3c17
UD
7431 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7432 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7433 already be defined. Change to take two parameters and don't assign
7434 result to variable. Adjust all users.
7435 Define INTERNAL_GETTIME if not already defined.
7436 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7437 call.
7438 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7439 HAVE_CLOCK_GETTIME_VSYSCALL.
7440 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7441
d53a73ac
UD
7442 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7443 gettimeofday vsyscall, just use time.
7444
a8f84144
AS
74452011-09-06 Andreas Schwab <schwab@redhat.com>
7446
7447 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7448 <errno.h>.
7449
ef606249
UD
74502011-09-06 Ulrich Drepper <drepper@gmail.com>
7451
7452 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7453 syscall on x86-64.
7454 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7455 syscall.
7456 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7457 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7458 syscall if possible.
7459
6585cb60
UD
74602011-09-05 Ulrich Drepper <drepper@gmail.com>
7461
7462 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7463 e_ident. Don't pass to find_mapsXX.
7464 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7465
a5f524e4
LD
74662011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7467
7468 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7469 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7470 * sysdeps/x86_64/multiarch/strchr.S: Update.
7471 Check bit_slow_BSF bit.
7472 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7473 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7474 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7475
554881ef
UD
74762011-09-05 Ulrich Drepper <drepper@gmail.com>
7477
d96de963
UD
7478 [BZ #13134]
7479 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7480 before glibc 2.15.
7481 (tryshell): Define.
7482 (__spawni): Change last parameter to be flag. Test
7483 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7484 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7485 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7486 * posix/spawni.c: Likewise.
7487 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7488 * posix/spawnp.c: Likewise. Change normal version to use
7489 SPAWN_XFLAGS_USE_PATH.
7490 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7491 SPAWN_XFLAGS_TRY_SHELL.
7492
d48e5868
UD
7493 [BZ #13150]
7494 * posix/glob.h: Remove gcc 1.x support.
7495
554881ef
UD
7496 [BZ #13068]
7497 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7498
693fb948
LD
74992011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7500
7501 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7502 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7503 strrchr-sse2-bsf
7504 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7505 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7506 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7507 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7508 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7509 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7510
1b48c537
UD
75112011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7512
49d42c37
UD
7513 * sysdeps/x86_64/wcscmp.S: New file.
7514
1b48c537
UD
7515 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7516 wcscmp-c wcscmp-sse2
7517 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7518 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7519 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7520 * wcsmbs/wcscmp.c: Allow renaming.
7521
15c95c5d
DM
75222011-09-05 David S. Miller <davem@davemloft.net>
7523
7524 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7525 stack slot, rather than the struct return pointer slot.
7526 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7527 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7529 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7530
2f0ad8f3
UD
75312011-09-05 Ulrich Drepper <drepper@gmail.com>
7532
d88ae418
UD
7533 * po/ja.po: Update from translation team.
7534
2f0ad8f3
UD
7535 [BZ #13144]
7536 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7537 kernel in 64-bit binaries.
7538
5f4318d1
DM
75392011-09-01 David S. Miller <davem@davemloft.net>
7540
7541 * elf/elf.h (HWCAP_SPARC_*): Move to..
7542 * sysdeps/sparc/sysdep.h: this new file and add new values.
7543 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7544 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7545 _DL_HWCAP_COUNT to 24.
7546 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7547 entries.
7548 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7549 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7550 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7551 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7552 instead of magic constants.
7553 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7554
3ba57516
DM
75552011-08-31 David S. Miller <davem@davemloft.net>
7556
7557 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7558 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7559 Reimplement to do errno handling inline.
7560 (SYSCALL_ERROR_HANDLER): New macro.
7561 (__SYSCALL_STRING): Do not do errno handling in asm.
7562 (__CLONE_SYSCALL_STRING): Delete.
7563 (__INTERNAL_SYSCALL_STRING): Delete.
7564 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7565 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7566 (PSEUDO): Reimplement to do errno handling inline.
7567 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7568 (SYSCALL_ERROR_HANDLER): New macro.
7569 (__SYSCALL_STRING): Do not do errno handling in asm.
7570 (__CLONE_SYSCALL_STRING): Delete.
7571 (__INTERNAL_SYSCALL_STRING): Delete.
7572 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7573 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7574 i386.
7575 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7576 (inline_syscall*): Add 'err' argument.
7577 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7578 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7579 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7580 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7581
7582 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7583 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7584
2bc17433
AS
75852011-08-30 Andreas Schwab <schwab@redhat.com>
7586
7587 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7588
fbeb5f4d
JO
75892011-08-29 Jiri Olsa <jolsa@redhat.com>
7590
7591 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7592 directive.
7593
ad69cc26
DM
75942011-08-24 David S. Miller <davem@davemloft.net>
7595
7596 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7597
39dd69df
AS
75982011-08-24 Andreas Schwab <schwab@redhat.com>
7599
7600 * elf/Makefile: Add rules to build and run unload8 test.
7601 * elf/unload8.c: New file.
7602 * elf/unload8mod1.c: New file.
7603 * elf/unload8mod1x.c: New file.
7604 * elf/unload8mod2.c: New file.
7605 * elf/unload8mod3.c: New file.
7606
7607 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7608 it wasn't used.
7609
2c0b250a
DM
76102011-08-23 David S. Miller <davem@davemloft.net>
7611
7612 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7613 subtract stack bias.
7614 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7615 %sp not %fp in calculations.
7616 (_JMPBUF_UNWINDS_ADJ): Likewise.
7617
22044b48
DM
7618 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7619 (aio_suspend): Call it to force an exception region around the
7620 AIO_MISC_WAIT() invocation.
7621
2cae4995
AS
76222011-08-23 Andreas Schwab <schwab@redhat.com>
7623
7624 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7625 backslash.
7626
873a772e
AJ
76272011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7628
7629 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7630 protection macro.
7631 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7632 and <dl-machine.h>.
7633 (Elf64_FuncDesc): Remove.
7634
25ad0df1
DM
76352011-08-22 David S. Miller <davem@davemloft.net>
7636
7637 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7638 sigaltstack check, add missing cfi directives.
7639 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7640 missing cfi directives, and sigaltstack handling.
7641
e888bcbe
AS
76422011-08-16 Andreas Schwab <schwab@redhat.com>
7643
7644 [BZ #11724]
7645 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7646 object is seen twice.
7647 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7648
7649 * elf/Makefile (distribute): Add tst-initorder2.c.
7650 (tests): Add tst-initorder2.
7651 (modules-names): Add tst-initorder2a tst-initorder2b
7652 tst-initorder2c tst-initorder2d. Add rules to build them.
7653 ($(objpfx)tst-initorder2.out): New rule.
7654 * elf/tst-initorder2.c: New file.
7655 * elf/tst-initorder2.exp: New file.
7656
87162f46
AS
76572011-08-22 Andreas Schwab <schwab@redhat.com>
7658
70538b7f
AS
7659 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7660
f55ffe58
AS
7661 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7662 dependencies back to end of function.
7663
87162f46
AS
7664 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7665 $(elfobjdir)/ld.so.
7666
91b392a4
UD
76672011-08-21 Ulrich Drepper <drepper@gmail.com>
7668
7669 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7670 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7671 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7672 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7673 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7674 of __vdso_gettimeofday.
7675 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7676 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7677 attribute_hidden.
7678 (_libc_vdso_platform_setup): Remove initialization of
7679 __vdso_gettimeofday and __vdso_time.
7680
5c43483f
UD
76812011-08-20 Ulrich Drepper <drepper@gmail.com>
7682
775a77e7
UD
7683 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7684 and fgetc_unlocked.
7685 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7686 getc_unlocked.
89f447ed 7687
49c74ba9
UD
7688 * elf/dl-open.c (add_to_global): Report additions to the global scope
7689 for LD_DEBUG=scopes.
7690 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 7691 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 7692
5c43483f
UD
7693 [BZ #13114]
7694 * stdio-common/Makefile (tests): Add bug24.
7695 * stdio-common/bug24.c: New file.
7696
a101b025
AJ
76972011-08-19 Andreas Jaeger <aj@suse.de>
7698
7699 [BZ #13114]
7700 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7701 non-existant file when using close-on-exec mode.
7702
c88f1766
UD
77032011-08-20 Ulrich Drepper <drepper@gmail.com>
7704
0276a718
UD
7705 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7706 the very first instruction.
7707
c88f1766
UD
7708 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7709 the CFI state in the end.
7710 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7711 inclusion of dl-trampoline.h.
7712 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7713
51ccffa0
AS
77142011-08-19 Andreas Schwab <schwab@redhat.com>
7715
94d7165f
AS
7716 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7717 expectations for long double.
7718
51ccffa0
AS
7719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7720 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7721
fd708658 77222011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
7723
7724 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7725 artificual limit depends upon the system page size.
7726
44f0a71e
UD
77272011-08-17 Ulrich Drepper <drepper@gmail.com>
7728
7729 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7730 * resolv/Makefile: Define CFLAGS-libresolv.
7731
8de79a24
AS
77322011-08-17 Andreas Schwab <schwab@redhat.com>
7733
7734 * nss/makedb.c (compute_tables): Make variables used in nested
7735 function static.
7736
27724598
UD
77372011-08-17 Ulrich Drepper <drepper@gmail.com>
7738
c5305d88
UD
7739 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7740 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7741 if buffer was too small.
7742
27724598
UD
7743 * elf/pldd.c (main): Attach to all threads in the process.
7744 Rewrite /proc handling to use *at functions.
7745
076fe015
UD
77462011-08-16 Ulrich Drepper <drepper@gmail.com>
7747
174baab3
UD
7748 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7749 specifies first scope to show.
7750 (dl_open_worker): Update callers. Move printing scope of new
7751 object to before the relocation.
44f0a71e 7752 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
7753 * sysdeps/generic/ldsodefs.h: Update declaration.
7754
076fe015
UD
7755 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7756 string for the scope number.
7757
a60df2c3
UD
77582011-08-14 Ulrich Drepper <drepper@gmail.com>
7759
7760 * nscd/servicescache.c (cache_addserv): Make sure written is always
7761 initialized.
7762
5e4287d1
RM
77632011-08-14 Roland McGrath <roland@hack.frob.com>
7764
85ae0589
RM
7765 * sysdeps/i386/i486/bits/atomic.h
7766 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7767 statement expression, so as to suppress "set but not used" warning.
7768 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7769
69f63097
RM
7770 * string/strncat.c (STRNCAT): Use prototype definition.
7771
675456ef
RM
7772 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7773 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7774 -Iprograms here.
7775 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7776 (localedef-modules): Add localedef.
7777 (locale-modules): Add locale.
7778
5e4287d1
RM
7779 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7780 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7781 to avoid a warning.
7782
9c96ff23
DM
77832011-08-14 David S. Miller <davem@davemloft.net>
7784
7785 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7786 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7787
f9ddf089
UD
77882011-08-13 Ulrich Drepper <drepper@gmail.com>
7789
44f0a71e 7790 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
7791 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7792 * elf/rtld.c (dl_main): Set l_name of vDSO.
7793 Call _dl_show_scope when DL_DEBUG_SCOPES.
7794 (process_dl_debug): Recognize scopes flag and also set it for all.
7795 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7796 Declare _dl_show_scope.
7797
1dc27704
UD
7798 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7799 (do_dlopen): Pass caller_dlopen to dl_open.
7800 (__libc_dlopen_mode): Initialize caller_dlopen.
7801
f9ddf089
UD
7802 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7803 of libc. Make tolower call locale-independent. Optimize a bit by
7804 using isdigit instead of isalnum.
7805 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7806
9ac533d3
UD
78072011-08-12 Ulrich Drepper <drepper@gmail.com>
7808
7809 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7810 was a dependency or dynamically loaded.
7811
89edf2e9
UD
78122011-08-11 Ulrich Drepper <drepper@gmail.com>
7813
8e999d29
UD
7814 * intl/l10nflist.c: Allow architecture-specific pop function.
7815 * sysdeps/x86_64/l10nflist.c: New file.
7816
89edf2e9
UD
7817 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7818 classification.
7819
14d96785
AS
78202011-08-10 Andreas Schwab <schwab@redhat.com>
7821
7822 * include/dirent.h: Add libc_hidden_proto for scandirat and
7823 scandirat64. Don't declare __scandirat64.
7824 * dirent/scandirat.c: Add libc_hidden_def.
7825 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7826 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7827
6761ac04
DM
78282011-08-10 David S. Miller <davem@davemloft.net>
7829
7830 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7831 enum.
7832 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7833 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7834 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7835
c55fbd1e
UD
78362011-08-09 Ulrich Drepper <drepper@gmail.com>
7837
7838 * Versions.def [libc]: Add GLIBC_2.15.
7839 * dirent/Makefile (routines): Add scandirat and scandirat64.
7840 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7841 GLIBC_2.15.
7842 * dirent/dirent.h: Declare scandirat and scandirat64.
7843 * dirent/scandirat.c: New file.
7844 * dirent/scandirat64.c: New file.
7845 * sysdeps/wordsize-64/scandirat.c: New file.
7846 * sysdeps/wordsize-64/scandirat64.c: New file.
7847 * dirent/opendir.c: Define opendirat.
7848 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7849 using scandirat.
7850 * dirent/scandir64.c: Adjust for scandir.c change.
7851 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7852 __scandirat64, and __scandir_cancel_handler.
7853 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7854 additional parameter and use openat instead of open (outside of ld.so).
7855 Add new __opendir as wrapper around __opendirat.
7856 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7857 here without requiring old scandirat implementation.
7858
879165f2
UD
78592011-08-08 Ulrich Drepper <drepper@gmail.com>
7860
7861 * dirent/scandir.c (cancel_handler): Renamed to
7862 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7863 defined. Adjust users.
7864 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7865 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7866
cb7e923b
UD
78672011-08-04 Ulrich Drepper <drepper@gmail.com>
7868
16292edd
UD
7869 * string/test-string.h (IMPL): Use __STRING to expand name and then
7870 stringify it.
7871
cb7e923b
UD
7872 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7873 of cleanups.
7874
cff82933
LD
78752011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7876
7877 * string/Makefile: Update.
7878 (strop-tests): Append strncat.
7879 * string/test-wcscmp.c: New file.
7880 New comprehensive test for wcscmp.
7881 * string/test-strcmp.c: Update.
7882 (WIDE): New define.
7883
9be9bfcc
AS
78842011-07-22 Andreas Schwab <schwab@redhat.com>
7885
7886 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7887 line.
7888
2e96f1c7
AS
78892011-07-26 Andreas Schwab <schwab@redhat.com>
7890
7891 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7892 encoding to ACE if AI_IDN.
7893
85188888
JJ
78942011-08-01 Jakub Jelinek <jakub@redhat.com>
7895
7896 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7897 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7898
5fa16e9b
LD
78992011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7900
7901 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7902 Fix overflow bug in strncat.
7903 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7904
7905 * string/test-strncat.c: Update.
7906 Add new tests for checking overflow bugs.
7907
79082011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7909
7910 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7911 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7912 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7913 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7914 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7915 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7916 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7917 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7918 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7919
7920 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7921 (USE_AS_STRCAT): Define.
7922 Add strcat and strncat support.
7923 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7924
8c1a459f
AS
79252011-07-25 Andreas Schwab <schwab@redhat.com>
7926
7927 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7928 __n bigger than INT_MAX+1.
7929 (__strncmp_g): Likewise.
7930
bba33c28
UD
79312011-07-23 Ulrich Drepper <drepper@gmail.com>
7932
798be72d
UD
7933 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7934 * libio/stido.h: Likewise.
7935
8accd4dc
UD
7936 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7937 (AF_NFC): Define.
7938 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7939 (AF_NFC): Define.
7940
cbff0d96
UD
7941 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7942 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7943 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7944 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7945 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7946
9191c04a
UD
7947 [BZ #13021]
7948 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7949 installed.
7950
bba33c28
UD
7951 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7952 typo.
7953 (_dl_x86_64_save_sse): Likewise.
7954
90f139dd
UD
79552011-07-22 Ulrich Drepper <drepper@gmail.com>
7956
1aae088a
UD
7957 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7958 OSXSAVE.
7959 (_dl_x86_64_save_sse): Likewise.
7960
8e2045f5
UD
7961 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7962
90f139dd
UD
7963 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7964
1d002f25
AS
79652011-07-21 Andreas Schwab <schwab@redhat.com>
7966
7967 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7968 change.
7969 (_dl_x86_64_save_sse): Use correct AVX check.
7970
21137f89
UD
79712011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7972
7973 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
7974 bug in strncpy/strncat.
7975 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7976
a65c0b7a
UD
79772011-07-21 Ulrich Drepper <drepper@gmail.com>
7978
7979 * string/tester.c (test_strcat): Add tests for different alignments
7980 of source and destination.
7981 (test_strncat): Likewise.
7982
6986b98a
UD
79832011-07-20 Ulrich Drepper <drepper@gmail.com>
7984
90bb2039
UD
7985 [BZ #12852]
7986 * posix/glob.c (glob): Check passed in values before using them in
7987 expressions to avoid some overflows.
7988 (glob_in_dir): Likewise.
7989
5644ef54
UD
7990 [BZ #13007]
7991 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
7992 check for AVX enablement so that we don't crash with old kernels and
7993 new hardware.
7994 * elf/tst-audit4.c: Add same checks here.
7995 * elf/tst-audit6.c: Likewise.
7996
7997 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 7998
bfc9dc9b
AS
79992011-07-09 Andreas Schwab <schwab@linux-m68k.org>
8000
8001 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
8002
702e64bb
UD
80032011-07-20 Ulrich Drepper <drepper@gmail.com>
8004
8005 * po/cs.po: Update from translation team.
8006 * po/bg.po: Likewise.
8007
295e904f
MP
80082011-07-12 Marek Polacek <mpolacek@redhat.com>
8009
8010 * misc/sys/cdefs.h: Add support for const attribute.
8011 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
8012 to gnu_dev_{major,minor,makedev} functions.
8013
3ff94596
MP
80142011-07-20 Marek Polacek <mpolacek@redhat.com>
8015
8016 * intl/dcigettext.c (get_output_charset): Add missing bracket.
8017
28b59fca
AS
80182011-07-20 Andreas Schwab <schwab@redhat.com>
8019
8020 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
8021 strlen results.
8022
19df733e
AK
80232011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8024
8025 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8026 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
8027 register in order to avoid conflicts with the soft frame pointer
8028 being held in r11 when necessary.
8029 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8030 (INTERNAL_VSYSCALL_NCS): Likewise.
8031
c8835729
MP
80322011-07-14 Marek Polacek <mpolacek@redhat.com>
8033
8034 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8035 * elf/dl-fini.c (_dl_fini): Adjust caller.
8036 * elf/dl-close.c (_dl_close_worker): Likewise.
8037 * sysdeps/generic/ldsodefs.h: Adjust declaration.
8038
b902330c
MP
80392011-07-15 Marek Polacek <mpolacek@redhat.com>
8040
8991e135
MP
8041 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8042 "aux_cache->nlibs < 0".
8043
b902330c
MP
8044 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8045 in the reload-count case.
8046
99710781
LD
80472011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8048
8049 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8050 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8051 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8052 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8053 * sysdeps/x86_64/multiarch/strcat.S: New file.
8054 * sysdeps/x86_64/multiarch/strncat.S: New file.
8055 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8056 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8057 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8058 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8059 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8060 (USE_AS_STRCAT): Define.
8061 Add strcat and strncat support.
8062 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8063 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8064 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8065 * string/strncat.c: Update.
8066 (USE_AS_STRNCAT): Define.
8067 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8068 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8069 and i7.
8070 * sysdeps/x86_64/multiarch/init-arch.h
8071 (bit_Prefer_PMINUB_for_stringop): New.
8072 (index_Prefer_PMINUB_for_stringop): Likewise.
8073 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8074 bit_Prefer_PMINUB_for_stringop.
8075
7dc6bd90
UD
80762011-07-19 Ulrich Drepper <drepper@gmail.com>
8077
8078 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8079 buffer64.
8080 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8081 of casting of buffer.
8082 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8083 buffer32 and buffer64.
8084 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8085 writes instead of casting of buffer.
8086 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8087 buffer32.
8088 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8089 casting of buffer.
8090
e0e72284
AS
80912011-07-19 Andreas Schwab <schwab@redhat.com>
8092
8093 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8094
feb1eb0b
UD
80952011-07-19 Ulrich Drepper <drepper@gmail.com>
8096
8097 * nscd/nscd.c (termination_handler): Don't do anything for a database
8098 if it has not yet been initialized.
8099
298711ff
UD
81002011-07-18 Ulrich Drepper <drepper@gmail.com>
8101
8102 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8103
81042011-07-15 Marek Polacek <mpolacek@redhat.com>
8105
8106 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8107
f9d68389
UD
81082011-07-18 Ulrich Drepper <drepper@gmail.com>
8109
8110 * po/nl.po: Update from translation team.
8111 * po/sv.po: Likewise.
8112
db290cf5
RM
81132011-07-16 Roland McGrath <roland@hack.frob.com>
8114
8115 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8116 now disallowed by GCC.
5c550700 8117
fd5e21c7
RM
8118 * configure.in (use-default-link): Default to yes if a test -shared
8119 link meets our qualifications.
8120 * configure: Regenerated.
8121
5c550700
RM
8122 * config.make.in (output-format): New variable.
8123 * configure.in: Check for ld --print-output-format support.
8124 * configure: Regenerated.
8125 * Makerules ($(common-objpfx)format.lds)
8126 [$(output-format) != unknown]: Just use $(output-format),
8127 instead of the linker-script munging.
8128
9fa2c032
RM
81292011-07-14 Roland McGrath <roland@hack.frob.com>
8130
a6928d51
RM
8131 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8132 of $(common-objpfx)shlib.lds.
8133 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8134
661607b3
RM
8135 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8136 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8137
9fa2c032
RM
8138 * configure.in (-z relro check): Adjust test code to add a large
8139 writable data section after it.
8140 * configure: Regenerated.
8141
defe9061
RM
81422011-07-11 Roland McGrath <roland@hack.frob.com>
8143
8144 * configure.in (-z relro check): Fix test code to make the variable
8145 truly const.
8146 * configure: Regenerated.
8147
319b9ad4
UD
81482011-07-11 Ulrich Drepper <drepper@gmail.com>
8149
8150 * nscd/nscd.h (struct traced_file): Define.
8151 (struct database_dyn): Remove inotify_descr, reset_res, and filename
8152 elements. Add traced_files.
8153 (inotify_fd): Declare.
8154 (register_traced_file): Declare.
8155 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
8156 (inotify_fd): Export.
8157 (resolv_conf_descr): Remove.
8158 (nscd_init): Move inotify descriptor creation to main.
8159 Don't register files for notification here.
8160 (register_traced_file): New function.
8161 (invalidate_cache): Don't use reset_res to determine whether to call
8162 res_init, go through the list of registered files.
8163 (main_loop_poll): The inotify descriptors are now stored in the
8164 structures for the traced files.
8165 (main_loop_epoll): Likewise
8166 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
8167 to __nss_disable_nscd.
8168 * nscd/cache.c (prune_cache): There is no single inotify descriptor
8169 for a database anymore. Check the records for all the registered
8170 files instead.
8171 * nss/Makefile (libnss_files-routines): Add files-init.
8172 (libnss_db-routines): Add db-init.
8173 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8174 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8175 * nss/nss_db/db-init.c: New file.
8176 * nss/nss_files/files-init.c: New file.
8177 * nss/nsswitch.c (nss_load_library): New function. Broken out of
8178 __nss_lookup_function.
8179 (__nss_lookup_function): Call nss_load_library.
8180 (nss_load_all_libraries): New function.
8181 (__nss_disable_nscd): Take parameter with callback function for files
8182 to register. Set is_nscd. Load all the DSOs for the NSS modules
8183 used for the cached services.
8184 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8185 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8186 options for features to all the files in nscd.
8187
8188 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8189
23bee3e8
RM
81902011-07-10 Roland McGrath <roland@hack.frob.com>
8191
8192 * csu/elf-init.c (__libc_csu_init): Comment typo.
8193
46a5b7f0
UD
81942011-07-09 Ulrich Drepper <drepper@gmail.com>
8195
8196 * po/pl.po: Update from translation team.
8197 * po/ja.po: Likewise.
8198 * po/ru.po: Likewise.
8199 * po/ko.po: Likewise.
8200 * po/fr.po: Likewise.
8201
d30cf5bb
RM
82022011-07-09 Roland McGrath <roland@hack.frob.com>
8203
113ddea4
RM
8204 * configure.in (.ctors/.dtors header and trailer check):
8205 Use an empirical test on a built program.
8206 * configure: Regenerated.
8207
574920b4
RM
8208 * configure.in (-z relro check): Use an empirical test on a built DSO.
8209 Detect, but do not require, on ia64.
8210 * configure: Regenerated.
8211
d30cf5bb
RM
8212 * configure.in (READELF): Find it with AC_CHECK_TOOL.
8213 Update tests that use readelf to use $READELF instead.
8214 * configure: Regenerated.
8215
8538fdb3
UD
82162011-07-08 Ulrich Drepper <drepper@gmail.com>
8217
8218 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8219 if the result is not used.
8220
04d08991
AJ
82212011-07-05 Andreas Jaeger <aj@suse.de>
8222
8223 [BZ#9696]
8224 * stdlib/tst-strtod.c: Add testcase.
8225
de283087
AD
82262011-07-07 Ulrich Drepper <drepper@gmail.com>
8227
4e5f31c8 8228 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 8229 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
8230 The latter has a higher limit. Take additional parameter to pass to
8231 the new function.
8232 (__pathconf): Pass file to __statfs_link_max.
8233 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8234 __statfs_link_max.
8235 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8236 __statfs_link_max.
8237
de283087
AD
8238 [BZ #12868]
8239 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8240 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8241 Handle Lustre.
8242 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8243 (__statfs_filesize_max): Likewise.
8244 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8245
c75fa153
AJ
82462011-07-05 Andreas Jaeger <aj@suse.de>
8247
8248 * resolv/res_comp.c (dn_skipname): Remove unused variable.
8249
1a544854
UD
82502011-07-06 Marek Polacek <mpolacek@redhat.com>
8251
8252 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8253 `status' variable.
8254 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8255 Likewise.
8256
6f0eec67
UD
82572011-07-04 H.J. Lu <hongjiu.lu@intel.com>
8258
8259 * Makefile (strop-tests): Add strncat.
8260 * string/test-strncat.c: New file.
8261
aae30307
UD
82622011-06-30 Marek Polacek <mpolacek@redhat.com>
8263
8264 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8265
c0cfb5eb
UD
82662011-06-21 Andreas Jaeger <aj@suse.de>
8267
8268 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8269 Copy rule from iconvdata/Makefile.
8270
01636b21
UD
82712011-07-06 Ulrich Drepper <drepper@gmail.com>
8272
8273 [BZ #12922]
8274 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8275 but no long options are defined, just return 'W'.
8276
9895c8bc
UD
82772011-06-22 Marek Polacek <mpolacek@redhat.com>
8278
8279 [BZ #9696]
8280 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8281
5d4cf042
UD
82822011-07-06 Ulrich Drepper <drepper@gmail.com>
8283
8284 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8285 netgroups to read.
960e5535 8286 (innetgr): Likewise.
5d4cf042 8287
751eb97e
RM
82882011-07-05 Roland McGrath <roland@hack.frob.com>
8289
8290 * config.make.in (install_root): Default to $(DESTDIR).
8291
f15f1e45
UD
82922011-07-05 Ulrich Drepper <drepper@gmail.com>
8293
8294 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8295
4e34ac6a
RM
82962011-07-02 Roland McGrath <roland@hack.frob.com>
8297
5e9b6af4
RM
8298 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8299
84f9ea0f
RM
8300 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8301 containing directory rather than embedding absolute directory names.
8302
ea5ee9f7
RM
8303 * scripts/check-local-headers.sh: Rewritten using awk.
8304 Match by word, not by line. Print error messages for matches.
8305 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8306
1b74661a
RM
8307 * Makerules [shlib-lds-flags empty]:
8308 ($(common-objpfx)libc_pic.opts): New target.
8309 ($(common-objpfx)libc_pic.os.clean): New target.
8310 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8311
8312 * config.make.in (OBJCOPY): New variable.
8313 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8314 * configure: Regenerated.
8315
f781ef40
RM
8316 * config.make.in (use-default-link): New variable.
8317 * configure.in (use_default_link): Grok --with-default-link to set it.
8318 * configure: Regenerated.
8319 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8320 (shlib-lds, shlib-lds-flags): Define to empty.
8321
2d4fa81e
RM
8322 * Makerules (shlib-lds): New variable.
8323 (shlib-lds-flags): New variable.
8324 (build-shlib, build-moduile, build-module-asneeded): Use it.
8325 ($(common-objpfx)libc.so): Use $(shlib-lds).
8326 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8327 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8328
31fffa6b
RM
8329 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8330 DT_FLAGS/DT_FLAGS_1 with zero flags.
8331
4e34ac6a
RM
8332 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8333 linker script munging.
8334
fcfc776b
UD
83352011-07-02 Ulrich Drepper <drepper@gmail.com>
8336
8337 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8338 as 128-bit value.
8339 * crypt/sha512.c (sha512_process_block): Perform total addition using
8340 128-bit if possible.
8341 (__sha512_finish_ctx): Likewise.
8342 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8343 as 64-bit value.
8344 * crypt/sha256.c (SWAP64): Define.
8345 (sha256_process_block): Perform total addition using 64-bit if
8346 possible.
8347 (__sha256_finish_ctx): Likewise.
8348
99231d9a
UD
83492011-07-01 Ulrich Drepper <drepper@gmail.com>
8350
8351 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
8352 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8353 * nscd/hstcache.c (cache_addhst): Likewise.
8354 * nscd/grpcache.c (cache_addgr): Likewise.
8355 * nscd/aicache.c (addhstaiX): Likewise
8356 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8357
445b4a53
TK
83582011-07-01 Thorsten Kukuk <kukuk@suse.de>
8359
8360 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8361 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8362 * nscd/hstcache.c (cache_addhst): Likewise.
8363 * nscd/grpcache.c (cache_addgr): Likewise.
8364 * nscd/aicache.c (addhstaiX): Likewise
8365
6d4d8e8e
AS
83662011-07-01 Andreas Schwab <schwab@redhat.com>
8367
8368 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8369 domain only when needed.
8370
89f654c5
AS
83712011-06-30 Andreas Schwab <schwab@redhat.com>
8372
8373 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8374 is always restored.
8375
cf3b23ff
UD
83762011-06-29 Ulrich Drepper <drepper@gmail.com>
8377
8378 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8379 are re-adding the entry.
8380 * nscd/servicescache.c (cache_addserv): Likewise.
8381
751626f9
AJ
83822011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8383
8384 * sysdeps/generic/dl-irel.h: fix protection against multiple
8385 inclusions.
8386 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8387
9113ea1f
UD
83882011-06-28 Ulrich Drepper <drepper@gmail.com>
8389
5c0b8d90
UD
8390 [BZ #12935]
8391 * malloc/memusage.sh: Fix quoting in message.
8392 * debug/xtrace.sh: Likewise.
8393
9113ea1f
UD
8394 * configure.in: Remove support for --experimental-malloc option, make
8395 it the default.
8396 * config.make.in: Likewise.
8397 * malloc/Makefile: Likewise.
8398
a4172181
AS
83992011-06-27 Andreas Schwab <schwab@redhat.com>
8400
8401 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8402 two-byte characters.
8403
78a7eee7
RM
84042011-06-27 Roland McGrath <roland@hack.frob.com>
8405
62bede13
RM
8406 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8407 AC_CACHE_CHECK invocation.
8408 * configure: Regenerated.
8409
78a7eee7
RM
8410 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8411
5ce33a62
UD
84122011-06-27 Ulrich Drepper <drepper@gmail.com>
8413
034807a9
UD
8414 [BZ #12350]
8415 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8416 bit from old_res_options.
8417
4902da17
UD
8418 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8419
5ce33a62
UD
8420 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8421 value type for setfct.
8422
c2344f56
L
84232011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8424
8425 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8426 __gettimeofday instead of gettimeofday.
8427
68468076
UD
84282011-06-26 Ulrich Drepper <drepper@gmail.com>
8429
8430 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8431
acb0d739
L
84322011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8433
8434 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8435
8436 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8437 info.
8438
8912479f
L
84392011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8440
8441 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8442 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8443 strcpy-sse2-unaligned strncpy-sse2-unaligned
8444 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8445 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8446 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8447 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8448 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8449 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8450 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8451 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8452 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8453 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8454 (STRCPY): Support SSE2 and SSSE3 versions.
8455
d5495a11
UD
84562011-06-24 Ulrich Drepper <drepper@gmail.com>
8457
8458 [BZ #12874]
8459 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8460 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8461 kernels which artificially limit size of requests.
8462
0b1cbaae
L
84632011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8464
8465 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8466 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8467 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8468 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8469 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8470 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8471 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8472 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8473 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8474 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8475 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8476 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8477 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8478 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8479 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8480 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8481 Enable unaligned load optimization for Intel Core i3, i5 and i7
8482 processors.
8483 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8484 Define.
8485 (index_Fast_Unaligned_Load): Define.
8486 (HAS_FAST_UNALIGNED_LOAD): Define.
8487
07f494a0
MP
84882011-06-23 Marek Polacek <mpolacek@redhat.com>
8489
8490 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8491
fa3fc0fe
UD
84922011-06-22 Ulrich Drepper <drepper@gmail.com>
8493
8494 [BZ #12907]
8495 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8496 until it is clear that the information is realy needed.
8497 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8498
e12df166
AS
84992011-06-22 Andreas Schwab <schwab@redhat.com>
8500
8501 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8502
852eb34d
UD
85032011-06-22 Ulrich Drepper <drepper@gmail.com>
8504
84e2a551
UD
8505 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8506 /sys/devices/system/cpu/online if it is usable.
8507
852eb34d
UD
8508 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8509 reading the information from the /proc filesystem to once a second.
8510
6e502e19
UD
85112011-06-21 Andreas Jaeger <aj@suse.de>
8512
8513 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8514 NULL after inclusion of kernel headers.
8515
75d39ff2
UD
85162011-06-21 Ulrich Drepper <drepper@gmail.com>
8517
51f9aa6a
UD
8518 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8519 calls to internal_setent.
8520
c0244a9d
UD
8521 [BZ #12885]
8522 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8523 addresses using gethostbyname4_r ignore IPv4 addresses.
8524
c5e3c2ae
UD
8525 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8526 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8527
75d39ff2
UD
8528 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8529
42675c6f
DM
85302011-06-20 David S. Miller <davem@davemloft.net>
8531
8532 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8533 inclusions.
8534 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8535
8536 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8537 (elf_irel): Use it.
8538 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8539 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8540 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8541 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8542 * sysdeps/x86_64/dl-irel.h: Likewise.
8543
8544 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8545 * elf/dl-sym.c: Likewise.
8546
57912a71
UD
85472011-06-15 Ulrich Drepper <drepper@gmail.com>
8548
8549 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8550 need to dereference resplen2.
8551
ee22793d
AS
85522011-06-14 Andreas Schwab <schwab@redhat.com>
8553
8554 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8555
a9e836b0
UD
85562011-06-15 Ulrich Drepper <drepper@gmail.com>
8557
77fb9117
UD
8558 * Makeconfig: Define vardbdir and inst_vardbdir.
8559 * nss/Makefile: Add rules to install db-Makefile.
8560
40c1b22c
UD
8561 * nss/nss_db/db-XXX.c: Cleanup.
8562
9f2da732
UD
8563 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8564 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8565 GLIBC_PRIVATE.
8566 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8567 * nss/makedb.c: Implement -g option to specify that value strings
8568 are generated and should not be added to table iterated over for
8569 get*ent calls.
8570 * nss/nss_db/db-initgroups.c: New file.
8571
82e9a1f7
UD
8572 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8573 interface.
8574
c41af17e
UD
8575 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8576 (internal_getgrouplist): Adjust to name change.
8577 Update use_initgroups_entry if this is not the first call.
8578 * nss/databases.def: Add initgroups entry.
8579
a9e836b0
UD
8580 * nss/makedb.c (compute_tables): Check result of multiple hash table
8581 sizes to minimize maximum chain length.
8582
2666d441
UD
85832011-06-14 Ulrich Drepper <drepper@gmail.com>
8584
8585 * Versions.def: Add entry for libnss_db.
8586 * shlib-versions: Likewise.
8587 * nss/Makefile: Add rules to build libnss_db.
8588 * nss/Versions: Add libnss_db information. Organize libnss_files
8589 entries better.
8590 * nss/db-Makefile: Add gshadow support. Change rules for the new
8591 makedb progra. Some minor improvements to generate smaller files.
8592 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8593 here from...
8594 * nss/makedb.c: ...here.
8595 Improve database format to be smaller and require less memory at
8596 runtime.
8597 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8598 db anymore.
8599 * nss/nss_db/db-netgrp.c: Likewise.
8600 * nss/nss_db/db-open.c: Likewise.
8601 * nss/nss_files/flies-XXX.x: Adjust comments.
8602 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8603 * nss/nss_files/files-grp.c: Likewise.
8604 * nss/nss_files/files-hosts.c: Likewise.
8605 * nss/nss_files/files-network.c: Likewise.
8606 * nss/nss_files/files-proto.c: Likewise.
8607 * nss/nss_files/files-pwd.c: Likewise.
8608 * nss/nss_files/files-rpc.c: Likewise.
8609 * nss/nss_files/files-service.c: Likewise.
8610 * nss/nss_files/files-sgrp.c: Likewise.
8611 * nss/nss_files/files-spwd.c: Likewise.
8612 * nss/nss_db/db-alias.c: Removed.
8613 * nss/nss_db/dummy-db.h: Removed.
8614
9ee76b5a
UD
86152011-06-02 Ulrich Drepper <drepper@gmail.com>
8616
8617 * nss/makedb.c: Rewritten to not use database library.
8618 * nss/Makefile: Update to build new makedb program.
8619
c71ca1f8
AJ
86202011-06-14 Andreas Jaeger <aj@suse.de>
8621
8622 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8623 memset declaration.
8624
3154bfb8
UD
86252011-06-10 Andreas Schwab <schwab@redhat.com>
8626
8627 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8628 tmpbuf.
8629
b350afab
RM
86302011-06-10 Roland McGrath <roland@hack.frob.com>
8631
decd4e50
RM
8632 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8633 * elf/Makefile ($(objpfx)ld.so): Likewise.
8634
5615eaf2
RM
8635 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8636 Don't list ld.so twice in dependencies.
8637
8638 * posix/bug-regex31.c: Include <stdlib.h>.
8639
8640 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8641
8642 * nis/nss_compat/compat-spwd.c
8643 (getspent_next_nss_netgr): Remove unused variable.
8644 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8645
8646 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8647 nonmembers" output to use the right array.
8648
8649 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8650
8651 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8652
8653 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8654 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8655 * catgets/gencat.c (read_input_file): Likewise.
8656 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8657
8658 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8659 variable definition inside #if's controlling its use.
8660
8661 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8662
8663 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8664
8665 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8666
8667 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8668 unreachable code.
8669
8670 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8671
b68e08db
RM
8672 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8673 * configure: Regenerated.
8674
b350afab
RM
8675 * Makerules: Revert last change.
8676 * elf/Makefile: Likewise.
8677
28368601
RM
86782011-06-09 Roland McGrath <roland@hack.frob.com>
8679
8680 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8681 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8682 (reloc-link): Likewise.
8683
11988f8f
UD
86842011-06-09 Ulrich Drepper <drepper@gmail.com>
8685
8686 * elf/Makefile: Add rules to build pldd.
8687 * elf/pldd.c: New file.
8688 * elf/pldd-xx.c: New file.
8689
e80fab37
UD
86902011-06-07 Ulrich Drepper <drepper@gmail.com>
8691
8692 * version.h: Update for 2.15 development version.
8693
9b849836
DM
86942011-06-07 David S. Miller <davem@davemloft.net>
8695
8696 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8697 ifuncs.
8698 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8699 elf_machine_lazy_rel): Likewise.
8700 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8701 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8702 elf_machine_lazy_rel): Likewise.
8703 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8704 dl_hwcap via passed in argument.
8705 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8706 Likewise.
8707
5a31b283
AK
87082011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8709
8710 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8711
069e52f8
RM
87122011-06-06 Roland McGrath <roland@hack.frob.com>
8713
8714 [BZ #12849]
8715 * manual/fdl-1.1.texi: New file, verbatim from:
8716 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8717 * manual/lgpl-2.1.texi: New file, verbatim from:
8718 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8719 * manual/Makefile (licenses): New variable, list those new file names.
8720 (texis): Use it.
8721 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8722
8723 * manual/fdl.texi: File removed.
8724 * manual/lesser.texi: File removed.
8725 * manual/libc.texinfo (Copying, Documentation License):
8726 Use new @include file names, put @appendix directive before @include.
8727
f16846a5
JJ
87282011-06-04 Jakub Jelinek <jakub@redhat.com>
8729
8730 [BZ #12841]
8731 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8732 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8733 (mq_open): Add __NTH.
8734
3d29045b
L
87352011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8736
8737 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8738 Assume Intel Core i3/i5/i7 processor if AVX is available.
8739
8c297311
UD
87402011-05-31 Ulrich Drepper <drepper@gmail.com>
8741
8742 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8743 typo.
8744
c8fc0c91
UD
87452011-05-31 Andreas Schwab <schwab@redhat.com>
8746
8747 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8748 memory. Use alloca_account. Fix memory leak when retrying.
8749
5b27a807
UD
87502011-05-31 Ulrich Drepper <drepper@gmail.com>
8751
356f8bc6
UD
8752 * version.h (RELEASE): Bump for 2.14 release.
8753 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8754
5b27a807
UD
8755 * config.make.in (RANLIB): Remove entry.
8756
01f16ab0
UD
87572011-05-30 Ulrich Drepper <drepper@gmail.com>
8758
41fce8bd
UD
8759 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8760 (libc.pot): Work around missing support for .ksh extension in xgettext.
8761
4769ae77
UD
8762 [BZ #12684]
8763 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8764 if both request failed.
8765 (send_dg): In case of server errors clear resplen or *resplen2.
8766
6b1e7d19
UD
8767 [BZ #12454]
8768 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8769 when there are multiple maps.
8770 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8771 (_dl_fini): Remove test here.
8772
01f16ab0
UD
8773 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8774
b1ebd700
UD
87752011-05-29 Ulrich Drepper <drepper@gmail.com>
8776
7ae22829
UD
8777 [BZ #12350]
8778 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8779 bit from old_res_options.
8780 (gaih_inet): Likewise.
8781
553149f6 8782 [BZ #11099]
18a84741 8783 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
8784 as signed.
8785
652ffab1
UD
8786 * resolv/res_init.c (res_setoptions): Make the code more compact.
8787
16985fd0
UD
8788 [BZ #11558]
8789 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8790 set RES_USEVC.
8791
0464f746
UD
8792 [BZ #11634]
8793 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8794
7d17596c
UD
8795 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8796
cf6bbbd7
UD
8797 [BZ #11781]
8798 * malloc/malloc.h: Declare malloc hook variables as volatile.
8799
13f1ab36
UD
8800 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8801 in last patch.
8802
b1ebd700
UD
8803 [BZ #11799]
8804 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 8805 raise in the comment.
80e2212d
UD
8806 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8807 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8808 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 8809
ce67228d
UD
88102011-05-28 Ulrich Drepper <drepper@gmail.com>
8811
8887a920
UD
8812 [BZ #12811]
8813 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8814 grow the buffers more if it already has to be sufficient.
8815 (build_wcs_upper_buffer): Likewise.
8816 * posix/regexec.c (check_matching): Likewise.
8817 (clean_state_log_if_needed): Likewise.
8818 (extend_buffers): Don't enlarge buffers beyond size of the input
8819 buffer.
8820 Patches mostly by Emil Wojak <emil@wojak.eu>.
8821 * posix/bug-regex32.c: New file.
8822 * posix/Makefile (tests): Add bug-regex32.
8823
4f031072
UD
8824 * locale/findlocale.c (_nl_find_locale): Return right away if
8825 _nl_explode_name failed.
8826 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8827
d0478f0c
UD
8828 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8829
de81b246
UD
8830 * debug/xtrace.sh: Unify messages.
8831 * malloc/memusage.sh: Likewise.
8832
c738465a
UD
8833 [BZ #12813]
8834 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8835 time symbol from vDSO. Substitute with vsyscall if not available.
8836 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8837 __vdso_time.
8838
f1f929d7
UD
8839 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8840 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8841 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8842 Add sendmmsg and internal_sendmmsg.
8843 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8844 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8845 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8846
ce67228d
UD
8847 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8848 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8849 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8850
e57420c6
UD
88512011-05-27 Ulrich Drepper <drepper@gmail.com>
8852
a8509ca5
UD
8853 [BZ #12813]
8854 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8855 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8856 available.
8857 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8858 __vdso_getcpu.
8859
e57420c6
UD
8860 [BZ #12814]
8861 * iconvdata/Makefile (tests): Add bug-iconv9.
8862 * iconvdata/bug-iconv9.c: New file.
8863
4d07db15
AS
88642011-05-27 Andreas Schwab <schwab@redhat.com>
8865
8866 [BZ #12814]
8867 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8868
ea486f69
JJ
88692011-05-25 Jakub Jelinek <jakub@redhat.com>
8870
8871 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8872 (struct user_regs_struct): Change intcs field back to cs.
8873
6f038433
UD
88742011-05-25 Ulrich Drepper <drepper@gmail.com>
8875
8876 * po/ja.po: Update from translation team.
8877
67f86a25
UD
88782011-05-23 Ulrich Drepper <drepper@gmail.com>
8879
8880 [BZ #12795]
8881 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8882 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8883
def7fbd6
AS
88842011-05-20 Andreas Schwab <schwab@redhat.com>
8885
8886 * stdlib/longlong.h: Update from GCC.
8887
f50ef8f1
AS
88882011-05-23 Andreas Schwab <schwab@redhat.com>
8889
8890 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8891 parameter name.
8892 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8893 Add parameter name.
8894 (__sysconf): Pass it down.
8895
de7ce8f1
UD
88962011-05-22 Ulrich Drepper <drepper@gmail.com>
8897
f2962a71
UD
8898 [BZ #12671]
8899 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8900 some situations.
8901 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8902 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8903 add in in __libc_use_alloca calls. Adjust callers.
8904 (glob): Use malloc in some situations.
8905
de7ce8f1
UD
8906 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8907 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8908 pltexit.
8909
aec84f53
UD
89102011-05-21 Ulrich Drepper <drepper@gmail.com>
8911
05bb4a68
UD
8912 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8913 and CLOCK_BOOTTIME_ALARM.
8914
7ea72f99
UD
8915 [BZ #12782]
8916 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8917 is returned.
8918
7e4afad5
UD
8919 * string/_strerror.c (__strerror_r): Print negative errors as signed
8920 numbers.
8921
8e211fec
UD
8922 [BZ #12777]
8923 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8924 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8925 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8926
f7d82dc9
UD
8927 * configure.in: Fix typo in redirection and correct removal of test
8928 files in two cases.
8929
cc9e536d
UD
8930 [BZ #12788]
8931 * locale/setlocale.c (new_composite_name): Fix test to check for
8932 identical name of all categories.
8933
aec84f53
UD
8934 [BZ #12792]
8935 * libio/filedoalloc.c (local_isatty): New function.
8936 (_IO_file_doallocate): Use local_isatty.
8937 * stdio-common/perror.c (perror): In case a new stream is used
8938 forward the stream error.
8939 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8940 error flag.
8941
78e64fdc
RT
89422011-05-20 Ulrich Drepper <drepper@gmail.com>
8943
34a9094f
UD
8944 [BZ #11869]
8945 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8946 alloca.
8947 * include/alloca.h (extend_alloca_account): Define.
8948
78e64fdc
RT
8949 [BZ #11857]
8950 * posix/regex.h: Fix comments with documentation of user-accessible
8951 fields after compilation and describe correct free'ing of pattern
8952 after re_compile_pattern.
8953 Patch by Reuben Thomas <rrt@sc3d.org>.
8954
457bddfc
RA
89552011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8956
8957 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8958 and -mno-altivec to prevent the compiler from using Altivec and/or
8959 VSX instructions when the corresponding registers are not available.
8960
a4527b51
AS
89612011-05-19 Andreas Schwab <schwab@redhat.com>
8962
8963 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8964
ed690b2f
UD
89652011-05-19 Ulrich Drepper <drepper@gmail.com>
8966
8967 * libio/freopen.c (freopen): Use __dup2, not dup2.
8968 * libio/freopen64.c (freopen64): Likewise.
8969
8db73634
L
89702011-05-17 H.J. Lu <hongjiu.lu@intel.com>
8971
8972 [BZ #12775]
8973 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
8974 * math/Makefile (tests): Add test-powl.
8975 (CFLAGS-test-powl.c): Define.
8976 * math/test-powl.c: New file.
8977
0a197a9d
L
89782011-05-16 H.J. Lu <hongjiu.lu@intel.com>
8979
8980 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
8981
ee30c380
UD
89822011-05-17 Ulrich Drepper <drepper@gmail.com>
8983
8984 [BZ #11837]
8985 * iconvdata/gb18030.c: Update to GB18020-2005.
8986
6ce75379
UD
89872011-05-16 Ulrich Drepper <drepper@gmail.com>
8988
a4b89fd8
AR
8989 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
8990 RE_SYNTAX_POSIX_AWK): Update to match recent development.
8991 Patch by Aharon Robbins <arnold@skeeve.com>.
8992
ea389b12
UD
8993 [BZ #11892]
8994 * stdlib/putenv.c (putenv): Don't always create copy of the variable
8995 on the stack.
8996
68a3f91f
UD
8997 [BZ #11895]
8998 * misc/pselect.c (__pselect): Handle timeout value errors hidden
8999 through underflows.
9000
15cc7dd1
UD
9001 [BZ #12766]
9002 * misc/error.c (error_at_line): Ensure file_name and old_file_name
9003 point to strings before performing equality test for error_one_per_line
9004 mode.
9005
f3799213
UD
9006 [BZ #11697]
9007 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
9008
d79a9c94
UD
9009 [BZ #11820]
9010 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9011 (struct user_fpregs_struct): Avoid __uint*_t types.
9012
56e5eb46
UD
9013 [BZ #6420]
9014 * malloc/mtrace.c (tr_where): Add additional parameter to point to
9015 symbol info. Use it instead of calling _dl_addr locally.
9016 (lock_and_info): New function.
9017 (tr_freehook): Call lock_and_info and pass symbol info as additional
9018 parameter to tr_where.
9019 (tr_mallochook): Likewise.
9020 (tr_reallochook): Likewise.
9021 (tr_memalignhook): Likewise.
9022
6ce75379
UD
9023 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
9024 used and couldn't be at all thread-safe.
9025
f8a3b5bf
UD
90262011-05-15 Ulrich Drepper <drepper@gmail.com>
9027
94b7cc37
UD
9028 * libio/freopen.c (freopen): Don't close old file descriptor
9029 before the new one is opened. Instead dup the new file descriptor
9030 to the old one after the new stream is created.
9031 * libio/freopen64.c (freopen64): Likewise.
9032 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9033 * libio/fileops.c (_IO_new_file_close_it): Handle new
9034 _IO_FLAGS2_NOCLOSE flag.
9035 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9036 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9037 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9038 _IO_FLAGS2_NOCLOSE flag.
9039 * include/unistd.h: Add hidden_proto for dup3.
9040 Define __have_dup3.
9041 * io/dup3.c: Define hidden symbol.
9042 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9043
bd25564e
UD
9044 [BZ #7101]
9045 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9046 when an incomplete long option is used.
9047 * posix/tst-getopt_long1.c: New file.
9048 * posix/Makefile (tests): Add tst-getopt_long1.
9049
c84cfef4
UD
9050 [BZ #10138]
9051 * scripts/config.guess: Update from autoconf-2.68.
9052 * scripts/config.sub: Likewise.
9053
3b85df27
UD
9054 [BZ #10157]
9055 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9056 tests into ...
9057 (has_cpuclock): ...this. New function.
9058 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9059 macro here based on has_cpuclock code.
9060
15a856b1
UD
9061 [BZ #10149]
9062 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9063 First byte (not low byte) is now always NUL.
9064 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9065
05f399e6
UD
9066 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9067 Use non-cancelable interfaces.
9068
10a52685 9069 [BZ #9809]
94ecc67d
UD
9070 * locale/iso-639.def: Add entry for Sorani.
9071
f8a3b5bf
UD
9072 [BZ #11901]
9073 * include/stdlib.h: Move include protection to the right place.
9074 Define abort_msg_s. Declare __abort_msg with it.
9075 * stdlib/abort.c (__abort_msg): Adjust type.
9076 * assert/assert.c (__assert_fail_base): New function. Majority
9077 of code from __assert_fail. Allocate memory for __abort_msg with
9078 mmap.
9079 (__assert_fail): Now call __assert_fail_base.
9080 * assert/assert-perr.c: Remove bulk of implementation. Use
9081 __assert_fail_base.
9082 * include/assert.hL Declare __assert_fail_base.
9083 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9084 mmap.
9085 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9086
1af4e298
UD
90872011-05-14 Ulrich Drepper <drepper@gmail.com>
9088
f8a3b5bf 9089 [BZ #11952]
d26dfc60
MG
9090 [BZ #12453]
9091 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9092 until all modules are registered in the DTV.
9093 * elf/Makefile: Add rules to build and run tst-tls19.
9094 * elf/tst-tls19.c: New file.
9095 * elf/tst-tls19mod1.c: New file.
9096 * elf/tst-tls19mod2.c: New file.
9097 * elf/tst-tls19mod3.c: New file.
9098 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9099
2fc54d6f
UD
9100 [BZ #12083]
9101 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9102 correctly.
9103
98d76b46
UD
9104 [BZ #12601]
9105 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9106 two-byte sequence errors.
9107 * iconvdata/Makefile (tests): Add bug-iconv8.
9108 * iconvdata/bug-iconv8.c: New file.
9109
da3c19ef
UD
9110 [BZ #12626]
9111 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9112 buf2 definition.
9113
ca408c15
UD
9114 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9115
d6f67f7d
UD
9116 [BZ #12432]
9117 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9118 (dummy_getcfa): New function.
9119 (init): Get _Unwind_GetCFA address, use dummy if not found.
9120 (backtrace_helper): In recursion check, also check whether CFA changes.
9121 (__backtrace): Completely initialize arg.
9122
1af4e298 9123 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
9124 storing incomplete byte sequence in state object. Avoid testing for
9125 guaranteed too small input if we know there is enough data available.
1af4e298 9126
da62f81b
AS
91272011-05-11 Andreas Schwab <schwab@redhat.com>
9128
9129 * Makeconfig (+link-pie): Indent.
9130 * Rules (binaries-pie): Define if $(have-fpie) and
9131 $(build-shared).
9132 (binaries-shared): Also filter out $(binaries-pie).
9133 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9134 * nscd/Makefile (others-pie): Add nscd.
9135 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9136 ($(objpfx)nscd): Remove command override.
9137 * login/Makefile (others-pie): Add pt_chown.
9138 ($(objpfx)pt_chown): Remove command override.
9139 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9140 remove command overrides.
9141
fcabc0f8
UD
91422011-05-13 Ulrich Drepper <drepper@gmail.com>
9143
20030ae6
UD
9144 * libio/tst_putwc.c: Fix error messages.
9145
fcabc0f8
UD
9146 [BZ #12724]
9147 * libio/fileops.c (_IO_new_file_close_it): Always flush when
9148 currently writing and seek to current position when not.
9149 * libio/Makefile (tests): Add bug-fclose1.
9150 * libio/bug-fclose1.c: New file.
9151
320a5dc0
PB
91522011-05-12 Ulrich Drepper <drepper@gmail.com>
9153
9154 [BZ #12511]
9155 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
9156 don't set DF_1_NODELETE here.
9157 (do_lookup_x): When entering new entry test for copy relocation
9158 and if necessary set DF_1_NODELETE flag.
9159 * elf/tst-unique4.cc: New file.
9160 * elf/tst-unique4.h: New file.
9161 * elf/tst-unique4lib.cc: New file.
9162 * elf/Makefile: Add rules to build and run tst-unique4.
9163 Patch by Piotr Bury <pbury@goahead.com>.
9164
22836f52
UD
91652011-05-11 Ulrich Drepper <drepper@gmail.com>
9166
f574184a
UD
9167 [BZ #12052]
9168 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9169
e1fb097f
UD
9170 [BZ #12625]
9171 * misc/mntent_r.c (addmntent): Flush the stream after the output
9172
22836f52
UD
9173 [BZ #12393]
9174 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9175 (is_trusted_path_normalize): Skip initial colon. Append slash
9176 to empty buffer. Duplicate is_trusted_path code but allow
9177 constructed patch to be prefix.
9178 (is_dst): Allow $ORIGIN followed by /.
9179 (_dl_dst_substitute): Correct clearing of check_for_trusted.
9180 Correct testing of result of is_trusted_path_normalize
9181 (decompose_rpath): Fix warning.
9182
7b3b0b2a
UD
91832011-05-10 Ulrich Drepper <drepper@gmail.com>
9184
9185 [BZ #11257]
9186 * grp/initgroups.c (internal_getgrouplist): When we found the service
9187 list through the initgroups entry in nsswitch.conf do not always
9188 continue on a successful lookup. Don't always use the
eac80ce2 9189 __nss_group_database value if it is set.
7b3b0b2a
UD
9190 * nss/nsswitch.conf (initgroups): Change action for successful db
9191 lookup to continue for compatibility.
9192
2a81eaa5
UD
91932011-05-09 Ulrich Drepper <drepper@gmail.com>
9194
be97a69e
UD
9195 [BZ #11532]
9196 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9197 and CP774 modules.
9198 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9199 and CP774 modules.
9200 * iconvdata/tst-tables.sh: Likewise.
9201 * iconvdata/cp770.c: New file.
9202 * iconvdata/cp771.c: New file.
9203 * iconvdata/cp772.c: New file.
9204 * iconvdata/cp773.c: New file.
9205 * iconvdata/cp774.c: New file.
9206 * iconvdata/testdata/CP770: New file.
9207 * iconvdata/testdata/CP770..UTF8: New file.
9208 * iconvdata/testdata/CP771: New file.
9209 * iconvdata/testdata/CP771..UTF8: New file.
9210 * iconvdata/testdata/CP772: New file.
9211 * iconvdata/testdata/CP772..UTF8: New file.
9212 * iconvdata/testdata/CP773: New file.
9213 * iconvdata/testdata/CP773..UTF8: New file.
9214 * iconvdata/testdata/CP774: New file.
9215 * iconvdata/testdata/CP774..UTF8: New file.
9216
9217 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9218 END CHARMAP line.
9219 * iconvdata/gen-8bit-gap.sh: Likewise.
9220 * iconvdata/gen-8bit.sh: Likewise.
9221
c1e9e399
UD
9222 * locale/iso-639.def: Add ary entry.
9223
24c55fb3 9224 [BZ #11258]
96b4b1b0
UD
9225 * locale/C-translit.h.in: Add U20A1 transliteration.
9226
bdc2f971
KB
9227 [BZ #12178]
9228 * locale/iso-639.def: Add wae entry.
9229 Patch by Kevin Bortis <bortis@translate-wae.ch>.
9230
2952b117
UD
9231 [BZ #12545]
9232 * locale/programs/localedef.c (construct_output_path): Use ssize_t
9233 for n.
9234
2a81eaa5
UD
9235 [BZ #12711]
9236 * locale/C-translit.h.in: Add entry for U20B9.
9237 Patch by pravin.d.s@gmail.com.
9238
28377d1b
UD
92392011-05-08 Ulrich Drepper <drepper@gmail.com>
9240
7fb90fb8
UD
9241 [BZ #12713]
9242 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9243 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
9244 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
9245 in rtld. Use *stat64.
7fb90fb8 9246 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 9247 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 9248 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
9249 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9250 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9251 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9252 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9253 __fstatat64 macros.
7fb90fb8
UD
9254 * include/dirent.h: Add libc_hidden_proto for rewinddir.
9255 * dirent/rewinddir.c: Add libc_hidden_def.
9256 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 9257 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 9258
28377d1b
UD
9259 * include/dirent.h (__alloc_dir): Add flags parameter.
9260 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9261 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9262 __alloc_dir.
9263 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
9264 from fdopendir if O_CLOEXEC is already set.
9265
66bdbaa4
AM
92662011-03-15 Alan Modra <amodra@gmail.com>
9267
9268 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9269 l_tls_firstbyte_offset non-zero. Save padding offset in
9270 l_tls_firstbyte_offset for later use.
9271 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9272 freeing static tls block.
9273
95721191
JN
92742011-03-05 Jonathan Nieder <jrnieder@gmail.com>
9275
9276 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9277 where #ifdef was intended. The intent is to prevent ARG_MAX from
9278 being defined by the kernel headers.
9279
f87dfb1f
UD
92802011-05-07 Ulrich Drepper <drepper@gmail.com>
9281
9282 [BZ #12734]
9283 * resolv/resolv.h: Define RES_NOTLDQUERY.
9284 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9285 no-tld-query and set RES_NOTLDQUERY.
9286 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9287 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9288 modern BIND to search name as TLD unless forbidden.
9289
47c3cd7a
UD
92902011-05-07 Petr Baudis <pasky@suse.cz>
9291 Ulrich Drepper <drepper@gmail.com>
9292
9293 [BZ #12393]
9294 * elf/dl-load.c (fillin_rpath): Move trusted path check...
9295 (is_trusted_path): ...to here.
c1e9ea35 9296 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 9297 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 9298 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 9299
8a35c912
PP
93002011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9301
9302 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9303 __BEGIN/__END_DECLS.
9304
acd41f47
UD
93052011-05-06 Ulrich Drepper <drepper@gmail.com>
9306
9307 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9308 NSS_STATUS_NOTFOUND if no record was found.
9309
597df647
AS
93102011-05-05 Andreas Schwab <schwab@redhat.com>
9311
9312 * sunrpc/Makefile (headers): Add rpc/netdb.h.
9313 (headers-not-in-tirpc): Remove rpc/netdb.h
9314 * resolv/netdb.h: Revert last change.
9315
b9af1301
PP
93162011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9317
9318 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9319 circular dependency between libgcc.a and libc.a.
9320
4e34d5f5
AS
93212011-05-05 Andreas Schwab <schwab@redhat.com>
9322
9323 * resolv/netdb.h: Don't include <rpc/netdb.h>.
9324 * nis/Makefile: Don't install rpcsvc/*.
9325 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9326 instead of <rpc/types.h>.
9327 (MAXHOSTNAMELEN): Define.
9328
00ee369c
AS
93292011-05-03 Andreas Schwab <schwab@redhat.com>
9330
9331 * elf/ldconfig.c (add_dir): Don't crash on empty path.
9332
0b592a30
MB
93332011-04-28 Maciej Babinski <mbabinski@google.com>
9334
9335 [BZ #12714]
9336 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9337 gethostbyname4_r when IPv6 results are possible.
9338
6e04cbbe
UD
93392011-05-02 Ulrich Drepper <drepper@gmail.com>
9340
9341 [BZ #12723]
9342 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9343 _PC_PIPE_BUF handling.
9344
e4ecafe0
BH
93452011-04-30 Bruno Haible <bruno@clisp.org>
9346
9347 [BZ #12717]
9348 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9349 * resolv/netdb.h (getnameinfo): Change type of flags parameter
9350 to 'int'.
9351 * inet/getnameinfo.c (getnameinfo): Likewise.
9352
125ee683
UD
93532011-04-29 Ulrich Drepper <drepper@gmail.com>
9354
9355 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9356 to groups setting in database lookup.
9357 * nss/nsswitch.conf: Add initgroups entry.
9358
b722481a
EB
93592011-04-22 Ulrich Drepper <drepper@gmail.com>
9360
9361 [BZ #12685]
9362 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9363 mode string.
9364 Patch by Eric Blake <eblake@redhat.com>.
9365
4df46dbd
L
93662011-04-20 H.J. Lu <hongjiu.lu@intel.com>
9367
9368 * sunrpc/Makefile (need-export-routines): Add svc_run.
9369 (routines): Remove svc_run.
9370 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9371 * sunrpc/clnt_perr.c (clnt_perrno): Export.
9372 * sunrpc/svc_run.c (svc_run): Likewise.
9373 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9374
e84142d2
UD
93752011-04-21 Ulrich Drepper <drepper@gmail.com>
9376
9377 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9378 problem in reallocation in last patch.
9379
877175d8
UD
93802011-04-20 Ulrich Drepper <drepper@gmail.com>
9381
9382 * sunrpc/Makefile: Move inclusion of Rules.
9383
ab8eed78
UD
93842011-04-19 Ulrich Drepper <drepper@gmail.com>
9385
9386 * nss/nss_files/files-initgroups.c: New file.
9387 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9388 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9389 _nss_files_initgroups_dyn.
9390
e3d8f584
RS
93912011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9392
9393 * elf/elf.h (R_ARM_IRELATIVE): Define.
9394
af190f45
UD
93952011-04-19 Ulrich Drepper <drepper@gmail.com>
9396
9397 * po/ru.po: Update from translation team.
9398
53cf59ef
UD
93992011-04-17 Ulrich Drepper <drepper@gmail.com>
9400
9401 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9402 dependencies.
9403
4c559bcd
MF
94042011-02-06 Mike Frysinger <vapier@gentoo.org>
9405
9406 [BZ #12653]
9407 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9408 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9409 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9410 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9411 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9412
4420675c
AS
94132011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9414
9415 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9416 differing bytes.
9417 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9418 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9419 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9420
75ea32ab
UD
94212011-04-17 Ulrich Drepper <drepper@gmail.com>
9422
9423 [BZ #12420]
9424 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9425 storing it.
9426 * stdlib/bug-getcontext.c: New file.
9427 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9428
27390476
AK
94292011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9430
9431 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9432 instructions into .machine "z9-109".
9433 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9434 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9435
10442705
AK
94362011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9437
9438 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9439 between environment variables and auxiliary vector.
9440
7b57bfe5
UD
94412011-04-16 Ulrich Drepper <drepper@gmail.com>
9442
9443 * Makefile: Add rules to build linkobj/libc.so.
9444 * include/libc-symbols.h: Define libc_hidden_nolink.
9445 * include/rpc/auth.h: Mark functions which are to be hidden.
9446 * include/rpc/auth_des.h: Likewise.
9447 * include/rpc/auth_unix.h: Likewise.
9448 * include/rpc/clnt.h: Likewise.
9449 * include/rpc/des_crypt.h: Likewise.
9450 * include/rpc/key_prot.h: Likewise.
9451 * include/rpc/pmap_clnt.h: Likewise.
9452 * include/rpc/pmap_prot.h: Likewise.
9453 * include/rpc/pmap_rmt.h: Likewise.
9454 * include/rpc/rpc_msg.h: Likewise.
9455 * include/rpc/svc.h: Likewise.
9456 * include/rpc/svc_auth.h: Likewise.
9457 * include/rpc/xdr.h: Likewise.
9458 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9459 * nss/Makefile: Likewise.
9460 * sunrpc/Makefile: Don't install headers. Build library with normal
9461 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9462 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9463 for the compat linking library. Remove use of INTDEF/INTUSE.
9464 * sunrpc/auth_none.c: Likewise.
9465 * sunrpc/auth_unix.c: Likewise.
9466 * sunrpc/authdes_prot.c: Likewise.
9467 * sunrpc/authuxprot.c: Likewise.
9468 * sunrpc/clnt_gen.c: Likewise.
9469 * sunrpc/clnt_perr.c: Likewise.
9470 * sunrpc/clnt_raw.c: Likewise.
9471 * sunrpc/clnt_simp.c: Likewise.
9472 * sunrpc/clnt_tcp.c: Likewise.
9473 * sunrpc/clnt_udp.c: Likewise.
9474 * sunrpc/clnt_unix.c: Likewise.
9475 * sunrpc/des_crypt.c: Likewise.
9476 * sunrpc/des_soft.c: Likewise.
9477 * sunrpc/get_myaddr.c: Likewise.
9478 * sunrpc/key_call.c: Likewise.
9479 * sunrpc/key_prot.c: Likewise.
9480 * sunrpc/netname.c: Likewise.
9481 * sunrpc/pm_getmaps.c: Likewise.
9482 * sunrpc/pm_getport.c: Likewise.
9483 * sunrpc/pmap_clnt.c: Likewise.
9484 * sunrpc/pmap_prot.c: Likewise.
9485 * sunrpc/pmap_prot2.c: Likewise.
9486 * sunrpc/pmap_rmt.c: Likewise.
9487 * sunrpc/publickey.c: Likewise.
9488 * sunrpc/rpc_cmsg.c: Likewise.
9489 * sunrpc/rpc_common.c: Likewise.
9490 * sunrpc/rpc_dtable.c: Likewise.
9491 * sunrpc/rpc_prot.c: Likewise.
9492 * sunrpc/rpc_thread.c: Likewise.
9493 * sunrpc/rtime.c: Likewise.
9494 * sunrpc/svc.c: Likewise.
9495 * sunrpc/svc_auth.c: Likewise.
9496 * sunrpc/svc_authux.c: Likewise.
9497 * sunrpc/svc_raw.c: Likewise.
9498 * sunrpc/svc_run.c: Likewise.
9499 * sunrpc/svc_simple.c: Likewise.
9500 * sunrpc/svc_tcp.c: Likewise.
9501 * sunrpc/svc_udp.c: Likewise.
9502 * sunrpc/svc_unix.c: Likewise.
9503 * sunrpc/svcauth_des.c: Likewise.
9504 * sunrpc/xcrypt.c: Likewise.
9505 * sunrpc/xdr.c: Likewise.
9506 * sunrpc/xdr_array.c: Likewise.
9507 * sunrpc/xdr_float.c: Likewise.
9508 * sunrpc/xdr_intXX_t.c: Likewise.
9509 * sunrpc/xdr_mem.c: Likewise.
9510 * sunrpc/xdr_rec.c: Likewise.
9511 * sunrpc/xdr_ref.c: Likewise.
9512 * sunrpc/xdr_sizeof.c: Likewise.
9513 * sunrpc/xdr_stdio.c: Likewise.
9514
e6c61494
UD
95152011-04-10 Ulrich Drepper <drepper@gmail.com>
9516
9517 [BZ #12650]
9518 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9519 * sysdeps/ia64/dl-tls.h: Likewise.
9520 * sysdeps/powerpc/dl-tls.h: Likewise.
9521 * sysdeps/s390/dl-tls.h: Likewise.
9522 * sysdeps/sh/dl-tls.h: Likewise.
9523 * sysdeps/sparc/dl-tls.h: Likewise.
9524 * sysdeps/x86_64/dl-tls.h: Likewise.
9525 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9526
34fe483e
AS
95272011-03-14 Andreas Schwab <schwab@redhat.com>
9528
9529 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9530 rpath element also skip the following colon.
9531 (expand_dynamic_string_token): Add is_path parameter and pass
9532 down to DL_DST_REQUIRED and _dl_dst_substitute.
9533 (decompose_rpath): Call expand_dynamic_string_token with
9534 non-zero is_path. Ignore empty rpaths.
9535 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9536 with zero is_path.
9537
f12a32e6
AS
95382011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9539
9540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9541 Make cancelable.
9542
38a7d692
UD
95432011-04-09 Ulrich Drepper <drepper@gmail.com>
9544
9545 [BZ #12655]
9546 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9547 Patch by Filipe David Manana <fdmanana@apache.org>.
9548
e451d22b
AS
95492011-04-07 Andreas Schwab <schwab@redhat.com>
9550
9551 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9552 Maintain aligned stack.
9553 (CHECK_RSP): Remove unused macro.
9554
dedc7c7b
UD
95552011-04-03 Ulrich Drepper <drepper@gmail.com>
9556
9557 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9558 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9559
94521213
UD
95602011-04-02 Ulrich Drepper <drepper@gmail.com>
9561
9562 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9563
8cb700c0 9564 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 9565
0354e355
L
95662011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9567
9568 [BZ #12518]
9569 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9570 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9571 * sysdeps/x86_64/memmove.c: New file.
9572 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9573 (memcpy): Renamed to ...
9574 (__new_memcpy): This.
9575 (memcpy): Provide GLIBC_2_14 memcpy.
9576 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9577 (memcpy): Provide GLIBC_2_2_5 memcpy.
9578
8593482f
UD
95792011-04-01 Ulrich Drepper <drepper@gmail.com>
9580
9581 [BZ #12631]
9582 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9583
81a5726b
AS
95842011-03-30 Andreas Schwab <schwab@redhat.com>
9585
9586 * misc/syncfs.c: New file.
9587 * misc/Makefile (routines): Add syncfs.
9588 * posix/unistd.h: Declare syncfs.
9589 * sysdeps/unix/syscalls.list: Add syncfs.
9590
00e5419f
AS
95912011-04-01 Andreas Schwab <schwab@redhat.com>
9592
9593 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9594 open_by_handle_at.
9595 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9596 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9597 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9598 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9599 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9600 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9601 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9602
748876bf
UD
96032011-04-01 Ulrich Drepper <drepper@gmail.com>
9604
658e451d
UD
9605 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9606 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9607 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9608 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9609 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9610 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9611 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9612
748876bf
UD
9613 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9614 sync_file_range.c with -fexceptions.
9615 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9616 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9617 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9618 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9619 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9620 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9621 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
9622 sync_file_range as cancellation point
9623 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9624 now a wrapper around __call_sync_file_range with cancellation handling.
9625 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9626 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9627 function name to __call_sync_file_range.
9628 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9629 Add call_sync_file_range.
748876bf 9630
6e63d5e1
AS
96312011-04-01 Andreas Schwab <schwab@redhat.com>
9632
9633 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 9634 bits/timex.h.
6e63d5e1 9635
46998f74
UD
96362011-04-01 Ulrich Drepper <drepper@gmail.com>
9637
4c1423ed
UD
9638 * iconv/iconv.h: Fix typo in comment.
9639 * io/fcntl.h: Likewise.
9640 * libio/stdio.h: Likewise.
9641 * posix/spawn.h: Likewise.
9642 * posix/unistd.h: Likewise.
9643 * stdlib/stdlib.h: Likewise.
9644 * time/time.h: Likewise.
9645 * wcsmbs/wchar.h: Likewise.
9646
158648c0
UD
9647 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9648 open_by_handle): Add.
9649 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9650 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9651 Augment a few comments.
9652 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9653 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9654 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9655 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9656 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9657 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9658 open_by_handle.
9659
46998f74
UD
9660 * io/fcntl.h (AT_EMPTY_PATH): Define.
9661
83fe108b
UD
96622011-03-30 Ulrich Drepper <drepper@gmail.com>
9663
9664 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9665 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9666 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9667 to...
9668 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
9669 * Versions.def: Add GLIBC_2.14.
9670 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9671 Export.
83fe108b 9672
bb242059
UD
96732011-03-22 Ulrich Drepper <drepper@gmail.com>
9674
9675 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9676 round counter.
9677 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9678
c97a1282
L
96792011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9680
9681 [BZ #12597]
9682 * string/test-strncmp.c (do_page_test): New function.
9683 (check2): Likewise.
9684 (test_main): Call check2.
9685 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9686
2a115601
UD
96872011-03-20 Ulrich Drepper <drepper@gmail.com>
9688
9689 [BZ #12587]
9690 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9691 Handle cache information in CPU leaf 4.
9692 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9693
8126d904
UD
96942011-03-18 Ulrich Drepper <drepper@gmail.com>
9695
042c49c6 9696 [BZ #12583]
8126d904
UD
9697 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9698 character representation.
9699 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9700
ccfe366e
RA
97012011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9702
9703 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9704 END(__isnan) to END(__isnanf) to match function entry point/label
9705 EALIGN(__isnanf,...).
9706
c6e13027
JJ
97072011-03-10 Jakub Jelinek <jakub@redhat.com>
9708
9709 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9710
33f85a3f
UD
97112011-03-10 Ulrich Drepper <drepper@gmail.com>
9712
028478fa
UD
9713 [BZ #12510]
9714 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9715 copy from the symbol referenced in the relocation to initialize the
9716 used variable.
9717 Patch by Piotr Bury <pbury@goahead.com>.
9718 * elf/Makefile: Add rules to build and tst-unique3.
9719 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9720 * elf/tst-unique3.cc: New file.
9721 * elf/tst-unique3.h: New file.
9722 * elf/tst-unique3lib.cc: New file.
9723 * elf/tst-unique3lib2.cc: New file.
9724
33f85a3f
UD
9725 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9726
03592fc7
MF
97272011-03-10 Mike Frysinger <vapier@gentoo.org>
9728
9729 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9730 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9731 to _start.
03592fc7 9732
6a5ee102
UD
97332011-03-06 Ulrich Drepper <drepper@gmail.com>
9734
9735 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9736 to-be-loaded object along a path to loader is ld.so.
9737
7e4ba49c
HJ
97382011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9739 Ulrich Drepper <drepper@gmail.com>
9740
9741 * sysdeps/x86_64/memset.S: After aligning destination, code
9742 branches to different locations depending on the value of
9743 misalignment, when multiarch is enabled. Fix this.
9744
97452011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9746
9747 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9748 Set _x86_64_preferred_memory_instruction for AMD processsors.
9749 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9750 Set bit_Prefer_SSE_for_memop for AMD processors.
9751
13a804de
UD
97522011-03-04 Ulrich Drepper <drepper@gmail.com>
9753
9754 * libio/fmemopen.c (fmemopen): Optimize a bit.
9755
9d25c392
AS
97562011-03-03 Andreas Schwab <schwab@redhat.com>
9757
9758 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9759
a5543c6a
RM
97602011-03-03 Roland McGrath <roland@redhat.com>
9761
9762 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9763
012d35f7
DM
97642011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9765
7e4ba49c 9766 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
9767 __bzero_ultra1 instead of __memset_ultra1.
9768
4bff6e01
AS
97692011-02-23 Andreas Schwab <schwab@redhat.com>
9770 Ulrich Drepper <drepper@gmail.com>
9771
9772 [BZ #12509]
9773 * include/link.h (struct link_map): Add l_orig_initfini.
9774 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9775 returning unsuccessfully.
9776 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9777 close of a file loaded at startup, restore the original l_initfini
9778 list.
9779 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9780 list, store the pointer.
9781 * elf/Makefile ($(objpfx)noload-mem): New rule.
9782 (noload-ENV): Define.
9783 (tests): Add $(objpfx)noload-mem.
9784 * elf/noload.c: Include <memcheck.h>.
9785 (main): Call mtrace. Close all opened handles.
9786
f2092faf
AS
97872011-02-17 Andreas Schwab <schwab@redhat.com>
9788
9789 [BZ #12454]
9790 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9791 dependencies are missing.
9792
6c8a2e88
ST
97932011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9794
f2092faf 9795 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
9796 Hurd needs munmap.
9797 * sysdeps/mach/hurd/ifreq.h: New file.
9798
84a42118
PB
97992011-01-27 Petr Baudis <pasky@suse.cz>
9800 Ulrich Drepper <drepper@gmail.com>
9801
071f805e 9802 [BZ 12445]#
84a42118
PB
9803 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9804 to extend_alloca().
9805 * stdio-common/bug23.c: New file.
9806 * stdio-common/Makefile (tests): Add bug23.
9807
e23fe25b
AS
98082010-09-28 Andreas Schwab <schwab@redhat.com>
9809 Ulrich Drepper <drepper@gmail.com>
9810
9811 [BZ #12489]
9812 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9813 before performing relro protection. At old place add assertion
9814 to make sure nothing changed.
9815
d3f02e10
NS
98162011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9817 Glauber de Oliveira Costa <glommer@gmail.com>
9818
9819 * elf/elf.h: Add new ARM TLS relocs.
9820
d55fd7a5
RA
98212011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9822
9823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9824 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9825 cast from r3.
9826 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9827 'tests' variable.
9828 * sysdeps/wordsize-64/tst-writev.c: New file.
9829
2206397e
RA
98302011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9831
9832 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9833 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9834 insns in _dl_start to prevent a TOC reference before relocs are
9835 resolved.
9836
e9433893
UD
98372011-02-15 Ulrich Drepper <drepper@gmail.com>
9838
9839 [BZ #12469]
9840 * Makeconfig: Remove RANLIB definition.
9841 * Makerules: Don't use RANLIB.
9842 * aclocal.m4: Remove ranlib test.
9843 * configure.in: No need to check for ranlib.
9844 * elf/rtld-Rules: Don't use RANLIB.
9845
f75286c6
ST
98462011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9847
8e31c82d
ST
9848 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9849 protection macro.
9850 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9851 inclusion protection macro.
9852
f75286c6
ST
9853 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9854 SIGRTMIN and SIGRTMAX and print information in that case only when
9855 SIGRTMIN is defined.
9856
c1d0e639
JJ
98572011-02-11 Jakub Jelinek <jakub@redhat.com>
9858
9859 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9860 arginfo fn returning -1.
9861
9862 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9863 and thousands string is zero terminated.
9864
edf9294e
AS
98652011-02-03 Andreas Schwab <schwab@redhat.com>
9866
9867 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9868 sysdeps/unix/sysv/linux/bits/socket.h.
9869
2b7e92df
ST
98702011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9871
edf9294e
AS
9872 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9873 (__CPU_COUNT): Remove old macros.
9874 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9875 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9876 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
9877 (__sched_cpualloc, __sched_cpufree): Add declarations.
9878
a4c7ea7b
UD
98792011-02-05 Ulrich Drepper <drepper@gmail.com>
9880
9881 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9882 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9883 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9884 (readdhstai): Return value of addhstaiX call.
9885 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9886 (addgrbyX): Return value returned by cache_addgr.
9887 (readdgrbyname): Return value returned by addgrbyX.
9888 (readdgrbygid): Likewise.
9889 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9890 (addpwbyX): Return value returned by cache_addpw.
9891 (readdpwbyname): Return value returned by addhstbyX.
9892 (readdpwbyuid): Likewise.
9893 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9894 (addservbyX): Return value returned by cache_addserv.
9895 (readdservbyname): Return value returned by addservbyX:
9896 (readdservbyport): Likewise.
9897 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9898 (addhstbyX): Return value returned by cache_addhst.
9899 (readdhstbyname): Return value returned by addhstbyX.
9900 (readdhstbyaddr): Likewise.
9901 (readdhstbynamev6): Likewise.
9902 (readdhstbyaddrv6): Likewise.
9903 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9904 (readdinitgroups): Return value returned by addinitgroupsX.
9905 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9906 (prune_cache): Keep track of timeout value of re-added entries.
9907 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9908 * nscd/nscd.h: Adjust prototypes of readd* functions.
9909
a0bf67cc
RM
99102011-02-04 Roland McGrath <roland@redhat.com>
9911
9912 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9913 (nis_stats): Likewise.
9914 * nis/nis_modify.c (nis_modify): Likewise.
9915 * nis/nis_remove.c (nis_remove): Likewise.
9916 * nis/nis_add.c (nis_add): Likewise.
9917
9918 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9919
9920 * posix/fnmatch_loop.c: Add some consts.
9921
9922 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9923
435b95eb
L
99242011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9925
9926 [BZ #12460]
9927 * config.make.in (config-cflags-novzeroupper): Define.
9928 * configure.in: Substitute libc_cv_cc_novzeroupper.
9929 * elf/Makefile (AVX-CFLAGS): Define.
9930 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9931 (CFLAGS-tst-auditmod4a.c): Likewise.
9932 (CFLAGS-tst-auditmod4b.c): Likewise.
9933 (CFLAGS-tst-auditmod6b.c): Likewise.
9934 (CFLAGS-tst-auditmod6c.c): Likewise.
9935 (CFLAGS-tst-auditmod7b.c): Likewise.
9936 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9937
8517b15e
UD
99382011-02-02 Ulrich Drepper <drepper@gmail.com>
9939
9940 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9941 function to the callback.
9942 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9943
10a656fe
AS
99442011-02-02 Andreas Schwab <schwab@redhat.com>
9945
9946 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9947 of errno.
9948
968dad0a
UD
99492011-01-19 Ulrich Drepper <drepper@gmail.com>
9950
9f94d2ea 9951 [BZ #11724]
968dad0a
UD
9952 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9953 of constructors.
9954 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9955 of destructors.
9956 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9957
9958 [BZ #11724]
9959 * elf/Makefile: Add rules to build and run new test.
9960 * elf/tst-initorder.c: New file.
9961 * elf/tst-initorder.exp: New file.
9962 * elf/tst-initordera1.c: New file.
9963 * elf/tst-initordera2.c: New file.
9964 * elf/tst-initordera3.c: New file.
9965 * elf/tst-initordera4.c: New file.
9966 * elf/tst-initorderb1.c: New file.
9967 * elf/tst-initorderb2.c: New file.
9968 * elf/tst-order-a1.c: New file.
9969 * elf/tst-order-a2.c: New file.
9970 * elf/tst-order-a3.c: New file.
9971 * elf/tst-order-a4.c: New file.
9972 * elf/tst-order-b1.c: New file.
9973 * elf/tst-order-b2.c: New file.
9974 * elf/tst-order-main.c: New file.
9975 New test case by George Gensure <werkt0@gmail.com>.
9976
86e92359
UD
99772010-10-01 Andreas Schwab <schwab@redhat.com>
9978
9979 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9980 decoding ACE if AI_CANONIDN.
9981
5d5732b0
UD
99822011-01-18 Ulrich Drepper <drepper@gmail.com>
9983
9984 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
9985
a77e8cbc
UD
99862011-01-17 Ulrich Drepper <drepper@gmail.com>
9987
6392473f
UD
9988 * version.h (RELEASE): Bump for 2.13 release.
9989 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
9990
620a0529
UD
9991 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
9992
18ba70a5
UD
9993 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
9994 MADV_NOHUGEPAGE.
32465c3e
UD
9995 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
9996 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9997 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9998 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9999 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10000 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10001
c0dafcf1
UD
10002 * posix/getconf.c: Update copyright year.
10003 * catgets/gencat.c: Likewise.
10004 * csu/version.c: Likewise.
10005 * debug/catchsegv.sh: Likewise.
10006 * debug/xtrace.sh: Likewise.
10007 * elf/ldconfig.c: Likewise.
10008 * elf/ldd.bash.in: Likewise.
10009 * elf/sprof.c (print_version): Likewise.
10010 * iconv/iconv_prog.c: Likewise.
10011 * iconv/iconvconfig.c: Likewise.
10012 * locale/programs/locale.c: Likewise.
10013 * locale/programs/localedef.c: Likewise.
10014 * malloc/memusage.sh: Likewise.
10015 * malloc/mtrace.pl: Likewise.
10016 * nscd/nscd.c (print_version): Likewise.
10017 * nss/getent.c: Likewise.
10018
a77e8cbc
UD
10019 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
10020 PF_CAIF, and PF_ALG.
10021 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10022
77e8bddf
AS
100232011-01-16 Andreas Schwab <schwab@linux-m68k.org>
10024
1f20b93a
AS
10025 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
10026 (modules-names): Use them.
10027 (ifunc-test-modules, ifunc-pie-tests): Define.
10028 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10029 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10030 (test-extras): Likewise.
10031 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10032 $(compile-command.c).
10033 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10034 (all-built-dso): Define.
10035 (check-textrel.out, check-execstack.out): Depend on it.
10036
77e8bddf
AS
10037 * configure.in: Don't override --enable-multi-arch.
10038
bc425b33
UD
100392011-01-15 Ulrich Drepper <drepper@gmail.com>
10040
10041 [BZ #6812]
10042 * nscd/hstcache.c (tryagain): Define.
10043 (cache_addhst): Return tryagain not notfound for temporary errors.
10044 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10045 failed.
10046
794c3ad3
UD
100472011-01-14 Ulrich Drepper <drepper@gmail.com>
10048
70181fdd
UD
10049 [BZ #10563]
10050 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10051 to make the syscall.
10052 * sysdeps/unix/sysv/linux/setgroups.c: New file.
10053
794c3ad3
UD
10054 [BZ #12378]
10055 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10056 and fall back to matching as normal character if the string ends before
10057 the matching ']' is found. This is what POSIX requires.
10058 * posix/testfnm.c: Adjust test result.
10059 * posix/globtest.sh: Adjust test result. Add new test.
10060 * posix/tst-fnmatch.input: Likewise.
10061 * posix/tst-fnmatch2.c: Add new test.
10062
68dc9497
AS
100632010-12-28 Andreas Schwab <schwab@linux-m68k.org>
10064
10065 * elf/Makefile (check-execstack): Revert last change. Depend on
10066 check-execstack.h.
10067 (check-execstack.h): New target.
10068 (generated): Add check-execstack.h.
10069 * elf/check-execstack.c: Include "check-execstack.h".
10070 (main): Revert last change.
10071 (handle_file): Return zero if GNU_STACK is absent and
10072 DEFAULT_STACK_PERMS doesn't include PF_X.
10073
451f001b
UD
100742011-01-13 Ulrich Drepper <drepper@gmail.com>
10075
cfa28e56
UD
10076 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10077 in child fails because the descriptor is already closed.
8cf8ce17
UD
10078 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10079 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10080 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 10081
1086d70d
UD
10082 [BZ #12397]
10083 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10084 syscall.
10085
451f001b
UD
10086 [BZ #10484]
10087 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10088 temporary buffer used to handle multi lookups locally.
a85b5cb4 10089 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 10090
08769175
UD
100912011-01-12 Ulrich Drepper <drepper@gmail.com>
10092
10093 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10094 loader is ld.so.
10095
5e49c52e
UD
100962011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
10097
10098 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10099 alignment for SSE2.
10100
60522a5f
UD
101012011-01-12 Ulrich Drepper <drepper@gmail.com>
10102
10103 [BZ #12394]
10104 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10105 characters. When rounding increased number of integer digits recompute
10106 number of groups.
10107 * stdio-common/tst-grouping.c: New file.
10108 * stdio-common/Makefile: Add rules to build and run tst-grouping.
10109
f257bbd7
UD
101102011-01-09 Ulrich Drepper <drepper@gmail.com>
10111
10112 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10113 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
10114
10115 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10116 void.
10117 * bits/select.h: Likewise.
10118
fa9c15cb
UD
101192011-01-08 Ulrich Drepper <drepper@gmail.com>
10120
10121 * po/ja.po: Update from translation team.
10122
16c2895f
DM
101232011-01-04 David S. Miller <davem@sunset.davemloft.net>
10124
10125 [BZ #11155]
10126 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10127 implementation just like for lxstat, fxstatat, et al.
10128
2543fef2
JM
101292010-12-27 Jim Meyering <meyering@redhat.com>
10130
10131 [BZ #12348]
10132 * posix/regexec.c (build_trtable): Return failure indication upon
10133 calloc failure. Otherwise, re_search_internal could infloop on OOM.
10134
98727dbe
UD
101352010-12-25 Ulrich Drepper <drepper@gmail.com>
10136
5bd6dc5c
UD
10137 [BZ #12201]
10138 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10139 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10140 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10141 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
10142
97983464
UD
10143 [BZ #12207]
10144 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
10145
98727dbe
UD
10146 [BZ #12204]
10147 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
10148 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
10149
4a531bb0
L
101502010-12-15 H.J. Lu <hongjiu.lu@intel.com>
10151
10152 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
10153 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
10154 script has SORT_BY_INIT_PRIORITY.
10155 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
10156 NO_CTORS_DTORS_SECTIONS is defined.
10157 * elf/soinit.c: Likewise.
10158 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
10159 NO_CTORS_DTORS_SECTIONS is defined.
10160 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
10161 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10162 * sysdeps/sh/init-first.c: Likewise.
10163 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10164
07eb4b71
UD
101652010-12-24 Ulrich Drepper <drepper@gmail.com>
10166
10167 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10168 always use the slow path.
10169
30950a5f
RA
101702010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
10171
10172 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10173 similar rule which adds the sysdep directories to the header search in
10174 order to pick up the correct platform stackinfo.h.
10175 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10176 perform test if it is, otherwise return successfully without testing.
10177 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10178 DEFAULT_STACK_PERMS define in stackinfo.h.
10179 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10180 defined in stackinfo.h.
10181 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10182 DEFAULT_STACK_PERMS defined in stackinfo.h.
10183 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10184 * sysdeps/ia64/stackinfo.h: Likewise.
10185 * sysdeps/s390/stackinfo.h: Likewise.
10186 * sysdeps/sh/stackinfo.h: Likewise.
10187 * sysdeps/sparc/stackinfo.h: Likewise.
10188 * sysdeps/x86_64/stackinfo.h: Likewise.
10189 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10190 PF_X for powerpc64. Retain PF_X for powerpc32.
10191
db753e2c
UD
101922010-12-19 Ulrich Drepper <drepper@gmail.com>
10193
14b697f7
UD
10194 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10195 accurately.
db753e2c
UD
10196 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10197 GETDENTS_64BIT_ALIGNED.
10198
28300719
UD
101992010-12-14 Ulrich Drepper <dreper@gmail.com>
10200
14b697f7 10201 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 10202
4f197237
AS
102032010-12-10 Andreas Schwab <schwab@redhat.com>
10204
dbb0472f
AS
10205 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10206 _GNU_SOURCE.
10207
4f197237
AS
10208 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10209 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10210 Remove __restrict.
10211 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10212 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10213
fb88ac72
UD
102142010-12-09 Ulrich Drepper <drepper@gmail.com>
10215
10216 [BZ #11655]
10217 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10218 are initialized.
10219
42acbb92
JJ
102202010-12-09 Jakub Jelinek <jakub@redhat.com>
10221
10222 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10223
c038d98d
UD
102242010-12-03 Ulrich Drepper <drepper@gmail.com>
10225
10226 * po/it.po: Update from translation team.
10227
3a4a2499
L
102282010-12-01 H.J. Lu <hongjiu.lu@intel.com>
10229
10230 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10231 unused codes.
10232
1e24cf6e
UD
102332010-11-30 Ulrich Drepper <drepper@gmail.com>
10234
10235 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10236
a7690819
AS
102372010-11-24 Andreas Schwab <schwab@redhat.com>
10238
10239 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10240 specially.
10241 (gaih_getanswer_slice): Likewise.
10242
3bf8d1b1
JJ
102432010-10-20 Jakub Jelinek <jakub@redhat.com>
10244
10245 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10246
6db52fbb
PB
102472010-05-31 Petr Baudis <pasky@suse.cz>
10248
10249 [BZ #11149]
10250 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10251 silently even in the chroot mode.
10252
eaca7569
UD
102532010-11-22 Ulrich Drepper <drepper@gmail.com>
10254
10255 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10256 last patch a bit. Pretty printing
10257
3056dcdb
UD
102582010-05-31 Petr Baudis <pasky@suse.cz>
10259
10260 [BZ #10085]
10261 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10262 initialization of skip_initgroups_dyn.
10263
cf7c9078
UD
102642010-11-19 Ulrich Drepper <drepper@gmail.com>
10265
10266 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10267 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10268
a1fb5e3e
UD
102692010-11-16 Ulrich Drepper <drepper@gmail.com>
10270
10271 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10272
3540d66b
AS
102732010-11-11 Andreas Schwab <schwab@redhat.com>
10274
10275 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10276 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10277 (tst-fnmatch-ENV): Set MALLOC_TRACE.
10278 ($(objpfx)tst-fnmatch-mem): New rule.
10279 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10280 * posix/tst-fnmatch.c (main): Call mtrace.
10281
13b69574
L
102822010-11-11 H.J. Lu <hongjiu.lu@intel.com>
10283
10284 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10285 Support Intel processor model 6 and model 0x2c.
10286
da93d214
LM
102872010-11-10 Luis Machado <luisgpm@br.ibm.com>
10288
10289 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10290 signed comparison.
10291
8ca52c6e
L
102922010-11-09 H.J. Lu <hongjiu.lu@intel.com>
10293
10294 [BZ #12205]
10295 * string/test-strncasecmp.c (check_result): New function.
10296 (do_one_test): Use it.
10297 (check1): New function.
10298 (test_main): Use it.
10299 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10300 Support strcasecmp and strncasecmp.
10301
69da074d
UD
103022010-11-08 Ulrich Drepper <drepper@gmail.com>
10303
10304 [BZ #12194]
10305 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10306 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10307
ff02d528
L
103082010-11-07 H.J. Lu <hongjiu.lu@intel.com>
10309
10310 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10311 IFUNC support.
10312 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10313 memset-x86-64.
10314 * sysdeps/x86_64/multiarch/bzero.S: New file.
10315 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10316 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10317 * sysdeps/x86_64/multiarch/memset.S: New file.
10318 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10319 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10320 Set bit_Prefer_SSE_for_memop for Intel processors.
10321 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10322 Define.
10323 (index_Prefer_SSE_for_memop): Define.
10324 (HAS_PREFER_SSE_FOR_MEMOP): Define.
10325
344d0b54
LM
103262010-11-04 Luis Machado <luisgpm@br.ibm.com>
10327
10328 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10329 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10330
c0dde15b
UD
103312010-11-03 H.J. Lu <hongjiu.lu@intel.com>
10332
10333 [BZ #12191]
10334 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10335 (__x86_64_raw_data_cache_size_half): Likewise.
10336 (__x86_64_raw_shared_cache_size): Likewise.
10337 (__x86_64_raw_shared_cache_size_half): Likewise.
10338
10339 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10340 (__x86_64_raw_data_cache_size_half): Likewise.
10341 (__x86_64_raw_shared_cache_size): Likewise.
10342 (__x86_64_raw_shared_cache_size_half): Likewise.
10343 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10344 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10345 and __x86_64_raw_shared_cache_size_half. Round
10346 __x86_64_data_cache_size_half, __x86_64_data_cache_size
10347 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10348 to multiple of 256 bytes.
10349
0e516e0e
MS
103502010-11-03 Ulrich Drepper <drepper@gmail.com>
10351
10352 [BZ #12167]
10353 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10354 of inacessible symlinks. Verify result of symlink before returning it.
10355 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10356 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10357
0e012e87
ER
103582010-10-28 Erich Ritz <erichritz@gmail.com>
10359
10360 * math/math.h (isinf): Fix typo in comment.
10361
de0ff7bc
UD
103622010-11-01 Ulrich Drepper <drepper@gmail.com>
10363
10364 * po/da.po: Update from translation team.
10365
fa41c84d
UD
103662010-10-26 Ulrich Drepper <drepper@gmail.com>
10367
10368 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10369 is added to the list.
10370
f0967738
AK
103712010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10372 Ulrich Drepper <drepper@gmail.com>
10373
10374 * elf/dl-object.c (_dl_new_object): Don't append the new object to
10375 the global list here. Move code to...
10376 (_dl_add_to_namespace_list): ...here. New function.
10377 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10378 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10379 * elf/dl-load.c (lose): Don't remove the element from the list.
10380 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10381 (_dl_map_object): Likewise.
10382
103832010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
10384
10385 [BZ #12159]
10386 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10387 into all bytes of SSE register.
10388 Patch by Richard Li <richardpku@gmail.com>.
10389
f0967738 103902010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
10391
10392 [BZ #12140]
10393 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10394 perturbing.
10395
d0b9e94f
MB
103962010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10397
10398 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10399 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10400 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10401 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10403 submachine.
10404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10405
8e9f92e9
AS
104062010-10-22 Andreas Schwab <schwab@redhat.com>
10407
10408 * include/dlfcn.h (__RTLD_SECURE): Define.
10409 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10410 mode & __RTLD_SECURE instead.
10411 (open_path): Rename preloaded parameter to secure.
10412 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10413 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10414 * elf/dl-deps.c (openaux): Likewise.
10415 * elf/rtld.c (struct map_args): Remove is_preloaded.
10416 (map_doit): Don't use it.
10417 (dl_main): Likewise.
10418 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10419 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10420
bc96fbda
AS
104212010-09-09 Andreas Schwab <schwab@redhat.com>
10422
10423 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10424 (sysd-rules-targets): Remove duplicates.
10425 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10426 rtld-%.$o dependency.
10427
22cd1c9b
AS
104282010-10-18 Andreas Schwab <schwab@redhat.com>
10429
10430 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10431 _dl_map_object do it.
10432
18edac48
UD
104332010-10-19 Ulrich Drepper <drepper@gmail.com>
10434
10435 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10436 fast fma builtins, define the macros in the C99 standard.
10437 (FP_FAST_FMAF): Likewise.
10438 (FP_FAST_FMAL): Likewise.
10439 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10440
10441 * bits/mathdef.h: Update copyright year.
10442 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10443
d2050124
MM
104442010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10445
10446 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10447 builtins, define the macros in the C99 standard.
10448 (FP_FAST_FMAF): Likewise.
10449 (FP_FAST_FMAL): Likewise.
10450 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10451 multiply/add.
10452 (FP_FAST_FMAF): Likewise.
10453
475facd1
JJ
104542010-10-15 Jakub Jelinek <jakub@redhat.com>
10455
10456 [BZ #3268]
10457 * math/libm-test.inc (fma_test): Some new testcases.
10458 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10459 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10460 y and infinite z. Do multiplication by C already in long double.
10461 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10462 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10463 y and infinite z. Do bitwise or of inexact bit into u.d.
10464 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10465 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10466 * sysdeps/i386/fpu/s_fma.S: Removed.
10467 * sysdeps/i386/fpu/s_fmal.S: Removed.
10468
7c08a05c
JJ
104692010-10-16 Jakub Jelinek <jakub@redhat.com>
10470
10471 [BZ #3268]
10472 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10473 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10474 computation is not scheduled after fetestexcept. Fix value
10475 of minimum denormal long double.
10476
f3f7372d
JJ
104772010-10-14 Jakub Jelinek <jakub@redhat.com>
10478
10479 [BZ #3268]
10480 * math/libm-test.inc (fma_test): Add some more tests.
10481 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10482 correctly.
10483
14d43591
AS
104842010-10-15 Andreas Schwab <schwab@redhat.com>
10485
10486 * scripts/data/localplt-s390-linux-gnu.data: New file.
10487 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10488
5e908464
JJ
104892010-10-13 Jakub Jelinek <jakub@redhat.com>
10490
10491 [BZ #3268]
10492 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10493 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10494 instead of dbl-64.
10495 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10496 inlines.
10497 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10498 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10499 if one of x and y is very large and the other is subnormal.
10500 * sysdeps/s390/fpu/s_fmaf.c: New file.
10501 * sysdeps/s390/fpu/s_fma.c: New file.
10502 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10503 * sysdeps/powerpc/fpu/s_fma.S: New file.
10504 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10505 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10506 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10507
105082010-10-12 Jakub Jelinek <jakub@redhat.com>
10509
10510 [BZ #3268]
10511 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10512 fma tests.
10513 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10514 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10515 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10516 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10517 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10518 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10519 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10520
b833d51f
UD
105212010-10-12 Ulrich Drepper <drepper@redhat.com>
10522
10523 [BZ #12078]
10524 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10525 * posix/bug-regex31.input: Add test case.
10526
1751705d
UD
105272010-10-11 Ulrich Drepper <drepper@gmail.com>
10528
e9b9cbf5
UD
10529 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10530 * posix/bug-regex31.input: New file.
10531
10532 [BZ #12078]
10533 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10534 (parse_sub_exp): Fix last change, use postorder.
10535
ef06edbe
UD
10536 * posix/bug-regex31.c: New file.
10537 * posix/Makefile: Add rules to build and run bug-regex31.
10538
a129c80d
UD
10539 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10540
10541 [BZ #12078]
10542 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10543
b76b818e
UD
10544 [BZ #12108]
10545 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10546 to have entries in sys_siglist.
10547
1751705d
UD
10548 [BZ #12093]
10549 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10550 be NULL.
10551
9ff8d36f
JJ
105522010-10-07 Jakub Jelinek <jakub@redhat.com>
10553
10554 [BZ #3268]
10555 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10556 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10557 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10558 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10559 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10560 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10561 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10562 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10563 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10564 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10565 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10566 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10567 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10568 * math/ftestexcept.c (fetestexcept): Likewise.
10569 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10570 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10571 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10572 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10573 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10574 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10575 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10576
af325969
UD
105772010-10-11 Ulrich Drepper <drepper@gmail.com>
10578
c579b202 10579 [BZ #12107]
af325969
UD
10580 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10581 newline.
10582
67a67b95
UD
105832010-10-06 Ulrich Drepper <drepper@gmail.com>
10584
10585 * string/bug-strstr1.c: New file.
10586 * string/Makefile: Add rules to build and run bug-strstr1.
10587
5fb308bc
EB
105882010-10-05 Eric Blake <eblake@redhat.com>
10589
10590 [BZ #12092]
10591 * string/str-two-way.h (two_way_long_needle): Always clear memory
10592 when skipping input due to the shift table.
10593
45db99c7
UD
105942010-10-03 Ulrich Drepper <drepper@gmail.com>
10595
3b111893
UD
10596 [BZ #12005]
10597 * malloc/mcheck.c: Handle large requests.
10598
45db99c7
UD
10599 [BZ #12077]
10600 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10601 for strncmp and strncasecmp.
10602 * string/stratcliff.c: Add tests for strcmp and strncmp.
10603 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10604
cf7a1eb8
NI
106052010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10606
10607 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10608 __set_fpscr.
10609
6484ba5e
AJ
106102010-09-30 Andreas Jaeger <aj@suse.de>
10611
10612 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10613 (CGROUP_SUPER_MAGIC): Define.
10614 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10615 Handle btrfs and cgroup file systems.
10616 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10617 Likewise.
10618
91c42559
LM
106192010-09-27 Luis Machado <luisgpm@br.ibm.com>
10620
10621 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10622 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10623
87a97932
AK
106242010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10625
10626 [BZ #12067]
10627 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10628 trying to locate the ELF header.
10629
c21cc9bc
AS
106302010-09-27 Andreas Schwab <schwab@redhat.com>
10631
10632 [BZ #11611]
10633 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10634 Mask out sign-bit copies when constructing f_fsid.
10635
315970f6
PB
106362010-09-24 Petr Baudis <pasky@suse.cz>
10637
10638 * debug/stack_chk_fail_local.c: Add missing licence exception.
10639 * debug/warning-nop.c: Likewise.
10640
1ac7a2c7
JM
106412010-09-15 Joseph Myers <joseph@codesourcery.com>
10642
10643 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10644 implementing getdents64 using getdents syscall, set d_type if
10645 __ASSUME_GETDENTS32_D_TYPE.
10646
56801c50
AS
106472010-09-16 Andreas Schwab <schwab@redhat.com>
10648
10649 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10650 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10651
dda51327
UD
106522010-09-21 Ulrich Drepper <drepper@redhat.com>
10653
10654 [BZ #12037]
10655 * posix/unistd.h: Undo change of feature selection for ftruncate from
10656 2010-01-11.
10657
8ffcee4a
UD
106582010-09-20 Ulrich Drepper <drepper@redhat.com>
10659
a545ecd9 10660 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
10661 detection.
10662
e24f0a8b
AS
106632010-09-20 Andreas Schwab <schwab@redhat.com>
10664
10665 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10666 fanotify_mark.
10667 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10668
7291c56f
AS
106692010-09-14 Andreas Schwab <schwab@redhat.com>
10670
10671 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10672 variables after CHECK_SP call.
10673 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10674
bc5fb037
AS
106752010-09-13 Andreas Schwab <schwab@redhat.com>
10676 Ulrich Drepper <drepper@redhat.com>
10677
10678 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10679 re-relocationg ld.so.
10680 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10681 _dl_init_paths call.
10682 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10683 here anymore.
10684
e66e7419
UD
106852010-09-14 Ulrich Drepper <drepper@redhat.com>
10686
10687 * resolv/res_init.c (__res_vinit): Count the default server we added.
10688
c044aa75
CLT
106892010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10690 Ulrich Drepper <drepper@redhat.com>
10691
10692 [BZ #11968]
10693 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10694 (____longjmp_chk): Use %ebx for saving value across system call.
10695 Add unwind info.
10696
32cf4069
AS
106972010-09-06 Andreas Schwab <schwab@redhat.com>
10698
10699 * manual/Makefile: Don't mix pattern rules with normal rules.
10700
817328ee
AS
107012010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10702
10703 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10704 operation.
10705 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10706 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10707 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10708 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10709 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10710 Likewise.
10711
29fddf61
UD
107122010-09-04 Ulrich Drepper <drepper@redhat.com>
10713
10714 [BZ #11979]
10715 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10716 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10717
0959ffc9
UD
107182010-09-02 Ulrich Drepper <drepper@redhat.com>
10719
10720 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10721 * sysdeps/x86_64/addmul_1.S: Likewise.
10722 * sysdeps/x86_64/lshift.S: Likewise.
10723 * sysdeps/x86_64/mul_1.S: Likewise.
10724 * sysdeps/x86_64/rshift.S: Likewise.
10725 * sysdeps/x86_64/sub_n.S: Likewise.
10726 * sysdeps/x86_64/submul_1.S: Likewise.
10727
ece29840
ST
107282010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10729
0959ffc9
UD
10730 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10731 Define __sched_param instead of SCHED_* and sched_param when
ece29840 10732 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 10733 * bits/sched.h [__need_schedparam]
ece29840 10734 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
10735 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10736 (__defined_schedparam): Define to 1.
ece29840
ST
10737 (__sched_param): New structure, identical to sched_param.
10738 (__need_schedparam): Undefine.
10739
e53a31fe
MF
107402010-08-31 Mike Frysinger <vapier@gentoo.org>
10741
fdc0c10d
MF
10742 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10743 (epoll_create1): Declare.
10744
e53a31fe
MF
10745 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10746
a726d796
AS
107472010-08-31 Andreas Schwab <schwab@redhat.com>
10748
10749 [BZ #7066]
10750 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10751 shifting retval into place.
10752
2f3e3dc7
UD
107532010-09-01 Ulrich Drepper <drepper@redhat.com>
10754
f2933da9
UD
10755 * nis/rpcsvc/nis.h: Update copyright notice.
10756 * nis/rpcsvc/nis.x: Likewise.
10757 * nis/rpcsvc/nis_callback.h: Likewise.
10758 * nis/rpcsvc/nis_callback.x: Likewise.
10759 * nis/rpcsvc/nis_object.x: Likewise.
10760 * nis/rpcsvc/nis_tags.h: Likewise.
10761 * nis/rpcsvc/yp.h: Likewise.
10762 * nis/rpcsvc/yp.x: Likewise.
10763 * nis/rpcsvc/ypupd.h: Likewise.
10764 * nis/yp_xdr.c: Likewise.
10765 * nis/ypupdate_xdr.c: Likewise.
10766
2f3e3dc7
UD
10767 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10768 mainly the body of pmap_getport. Add parameters to specify timeouts.
10769 (pmap_getport): Use __libc_rpc_getport.
10770 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10771 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10772 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10773
f3dcc2f9
AS
107742010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10775
10776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10777 fanotify_mark.
10778
6d34eb5b
RM
107792010-08-27 Roland McGrath <roland@redhat.com>
10780
10781 * sysdeps/i386/i686/multiarch/Makefile
10782 (CFLAGS-varshift.c): New variable.
10783
9ea3de11
UD
107842010-08-27 Ulrich Drepper <drepper@redhat.com>
10785
c96d23fc
UD
10786 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10787 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10788
9ea3de11
UD
10789 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10790
10791 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10792
623aac7f
L
107932010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10794
10795 * sysdeps/x86_64/strlen.S: Unroll the loop.
10796 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10797 strlen-sse2 strlen-sse2-bsf.
10798 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10799 __strlen_no_bsf if bit_Slow_BSF is set.
10800 (__strlen_sse42): Removed.
10801 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10802 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10803
8b2b7715
RM
108042010-08-25 Roland McGrath <roland@redhat.com>
10805
10806 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10807 * sysdeps/x86_64/multiarch/varshift.c: New file.
10808 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10809 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10810 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10811 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10812
e73015f2
L
108132010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10814
10815 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10816 strlen-sse2 strlen-sse2-bsf.
10817 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10818 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10819 (__strlen_sse2): Removed.
10820 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10821 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10822 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10823 bit_Slow_BSF for Atom.
10824 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10825 (index_Slow_BSF): Define.
10826 (HAS_SLOW_BSF): Define.
10827
df24a73e
UD
108282010-08-25 Ulrich Drepper <drepper@redhat.com>
10829
10830 [BZ #10851]
10831 * resolv/res_init.c (__res_vinit): When no server address at all
10832 is given default to loopback.
10833
f2ac4868
RM
108342010-08-24 Roland McGrath <roland@redhat.com>
10835
09055553
RM
10836 * configure.in: Remove config-name.h generation.
10837 * configure: Regenerated.
10838 * config-name.in: File removed.
10839 * scripts/config-uname.sh: New file.
10840 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10841 ($(objdir)config-name.h): New target.
10842
f2ac4868
RM
10843 * sunrpc/rpc_parse.h: Avoid nested comment.
10844
73f27d5e
RH
108452010-08-24 Richard Henderson <rth@redhat.com>
10846 Ulrich Drepper <drepper@redhat.com>
10847 H.J. Lu <hongjiu.lu@intel.com>
10848
10849 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10850 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10851 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10852 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10853 _mm_alignr_epi8 with _mm_loadu_si128.
10854 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10855 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10856 (__m128i_shift_right): Removed.
10857 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10858 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10859 * sysdeps/x86_64/multiarch/varshift.h: New file.
10860 * sysdeps/x86_64/multiarch/varshift.S: New file.
10861
84b9230c
MF
108622010-08-21 Mike Frysinger <vapier@gentoo.org>
10863
10864 * configure.in: Move assembler checks to before sysdep dir checking.
10865
9bbd0ddc
PB
108662010-08-20 Petr Baudis <pasky@suse.cz>
10867
10868 * LICENSES: Sync the sunrpc license.
10869
9da4bb31
UD
108702010-08-19 Ulrich Drepper <drepper@redhat.com>
10871
a7ab6ec8
UD
10872 * sunrpc/auth_des.c: Update copyright notice once again.
10873 * sunrpc/auth_none.c: Likewise.
10874 * sunrpc/auth_unix.c: Likewise.
10875 * sunrpc/authdes_prot.c: Likewise.
10876 * sunrpc/authuxprot.c: Likewise.
10877 * sunrpc/bindrsvprt.c: Likewise.
10878 * sunrpc/clnt_gen.c: Likewise.
10879 * sunrpc/clnt_perr.c: Likewise.
10880 * sunrpc/clnt_raw.c: Likewise.
10881 * sunrpc/clnt_simp.c: Likewise.
10882 * sunrpc/clnt_tcp.c: Likewise.
10883 * sunrpc/clnt_udp.c: Likewise.
10884 * sunrpc/clnt_unix.c: Likewise.
10885 * sunrpc/des_crypt.c: Likewise.
10886 * sunrpc/des_soft.c: Likewise.
10887 * sunrpc/get_myaddr.c: Likewise.
10888 * sunrpc/getrpcport.c: Likewise.
10889 * sunrpc/key_call.c: Likewise.
10890 * sunrpc/key_prot.c: Likewise.
10891 * sunrpc/openchild.c: Likewise.
10892 * sunrpc/pm_getmaps.c: Likewise.
10893 * sunrpc/pm_getport.c: Likewise.
10894 * sunrpc/pmap_clnt.c: Likewise.
10895 * sunrpc/pmap_prot.c: Likewise.
10896 * sunrpc/pmap_prot2.c: Likewise.
10897 * sunrpc/pmap_rmt.c: Likewise.
10898 * sunrpc/rpc/auth.h: Likewise.
10899 * sunrpc/rpc/auth_unix.h: Likewise.
10900 * sunrpc/rpc/clnt.h: Likewise.
10901 * sunrpc/rpc/des_crypt.h: Likewise.
10902 * sunrpc/rpc/key_prot.h: Likewise.
10903 * sunrpc/rpc/netdb.h: Likewise.
10904 * sunrpc/rpc/pmap_clnt.h: Likewise.
10905 * sunrpc/rpc/pmap_prot.h: Likewise.
10906 * sunrpc/rpc/pmap_rmt.h: Likewise.
10907 * sunrpc/rpc/rpc.h: Likewise.
10908 * sunrpc/rpc/rpc_des.h: Likewise.
10909 * sunrpc/rpc/rpc_msg.h: Likewise.
10910 * sunrpc/rpc/svc.h: Likewise.
10911 * sunrpc/rpc/svc_auth.h: Likewise.
10912 * sunrpc/rpc/types.h: Likewise.
10913 * sunrpc/rpc/xdr.h: Likewise.
10914 * sunrpc/rpc_clntout.c: Likewise.
10915 * sunrpc/rpc_cmsg.c: Likewise.
10916 * sunrpc/rpc_common.c: Likewise.
10917 * sunrpc/rpc_cout.c: Likewise.
10918 * sunrpc/rpc_dtable.c: Likewise.
10919 * sunrpc/rpc_hout.c: Likewise.
10920 * sunrpc/rpc_main.c: Likewise.
10921 * sunrpc/rpc_parse.c: Likewise.
10922 * sunrpc/rpc_parse.h: Likewise.
10923 * sunrpc/rpc_prot.c: Likewise.
10924 * sunrpc/rpc_sample.c: Likewise.
10925 * sunrpc/rpc_scan.c: Likewise.
10926 * sunrpc/rpc_scan.h: Likewise.
10927 * sunrpc/rpc_svcout.c: Likewise.
10928 * sunrpc/rpc_tblout.c: Likewise.
10929 * sunrpc/rpc_util.c: Likewise.
10930 * sunrpc/rpc_util.h: Likewise.
10931 * sunrpc/rpcinfo.c: Likewise.
10932 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10933 * sunrpc/rpcsvc/key_prot.x: Likewise.
10934 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10935 * sunrpc/rpcsvc/mount.x: Likewise.
10936 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10937 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10938 * sunrpc/rpcsvc/rex.x: Likewise.
10939 * sunrpc/rpcsvc/rstat.x: Likewise.
10940 * sunrpc/rpcsvc/rusers.x: Likewise.
10941 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10942 * sunrpc/rpcsvc/spray.x: Likewise.
10943 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10944 * sunrpc/rtime.c: Likewise.
10945 * sunrpc/svc.c: Likewise.
10946 * sunrpc/svc_auth.c: Likewise.
10947 * sunrpc/svc_authux.c: Likewise.
10948 * sunrpc/svc_raw.c: Likewise.
10949 * sunrpc/svc_run.c: Likewise.
10950 * sunrpc/svc_simple.c: Likewise.
10951 * sunrpc/svc_tcp.c: Likewise.
10952 * sunrpc/svc_udp.c: Likewise.
10953 * sunrpc/svc_unix.c: Likewise.
10954 * sunrpc/svcauth_des.c: Likewise.
10955 * sunrpc/xcrypt.c: Likewise.
10956 * sunrpc/xdr.c: Likewise.
10957 * sunrpc/xdr_array.c: Likewise.
10958 * sunrpc/xdr_float.c: Likewise.
10959 * sunrpc/xdr_mem.c: Likewise.
10960 * sunrpc/xdr_rec.c: Likewise.
10961 * sunrpc/xdr_ref.c: Likewise.
10962 * sunrpc/xdr_sizeof.c: Likewise.
10963 * sunrpc/xdr_stdio.c: Likewise.
10964
9da4bb31
UD
10965 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10966 handling.
10967
bdaa77bc
AS
109682010-08-19 Andreas Schwab <schwab@redhat.com>
10969
10970 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
10971
fe2f79db
LM
109722010-08-19 Luis Machado <luisgpm@br.ibm.com>
10973
10974 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
10975 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
10976 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
10977 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
10978 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
10979 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
10980 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
10981 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
10982 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
10983 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
10984 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
10985 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
10986 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
10987 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
10988
b9b42ee0
AB
109892010-07-26 Anton Blanchard <anton@samba.org>
10990
10991 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
10992 * malloc/arena.c (heap_trim): Likewise.
10993
1c06ba31
UD
109942010-08-16 Ulrich Drepper <drepper@redhat.com>
10995
10996 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
10997 here. Not...
10998 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
10999 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
11000
f8392f40
L
110012010-08-12 H.J. Lu <hongjiu.lu@intel.com>
11002
11003 * sysdeps/i386/elf/Makefile: New file.
11004
3162f12e
AS
110052010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11006
11007 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
11008 from fanotify_init.
11009 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11010 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11011
28c90b2c
UD
110122010-08-15 Ulrich Drepper <drepper@redhat.com>
11013
11014 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
11015 of strncasecmp_l.
1feccb6c 11016 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 11017
ca6bb004
UD
110182010-08-14 Ulrich Drepper <drepper@redhat.com>
11019
e9f82e0d
UD
11020 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11021 strncase_l-nonascii.
11022 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11023 Add strncase_l-ssse3.
11024 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
11025 * sysdeps/x86_64/strcmp.S: Likewise.
11026 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
11027 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11028 * sysdeps/x86_64/strncase.S: New file.
11029 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11030 * sysdeps/x86_64/strncase_l.S: New file.
11031 * string/Makefile (strop-tests): Add strncasecmp.
11032 * string/test-strncasecmp.c: New file.
11033
11034 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11035 warning.
11036
ca6bb004
UD
11037 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11038 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11039
052fa7b3
AS
110402010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11041
11042 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11043
962dba78
UD
110442010-08-12 Ulrich Drepper <drepper@redhat.com>
11045
11046 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11047 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11048 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11049
bebff237
AM
110502010-05-01 Alan Modra <amodra@gmail.com>
11051
11052 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11053 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11054 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11055 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11056 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11057 tidying. Don't tail-call __sigjmp_save for static lib.
11058 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11059 save location.
11060 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11061 (CALL_MCOUNT): Add eh info, and nop after bl.
11062 (TAIL_CALL_SYSCALL_ERROR): New macro.
11063 (PSEUDO_RET): Use it.
11064 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11065 Correct save location of integer regs and cr.
11066 (_dl_profile_resolve): Correct cr save location. Delete nops
11067 after bl when SHARED. Reduce cfi size a little by better
11068 placement of cfi directives.
11069 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11070 make a stack frame. Instead use parm save area as a temp.
11071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11072 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
11073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11074 Don't make a stack frame for parent, use parm save area.
11075 Increase child stack frame to 112 bytes. Don't save unused reg,
11076 and adjust reg usage. Set up cfi on error recovery and
11077 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11079 (__makecontext): Add dummy nop after jump to exit.
11080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11081 Use correct parm save area and cr save, reduce stack frame.
11082 Correct cfi for possible PSEUDO_RET frame setup.
11083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11084 Branch to local label emitted by PSEUDO_RET rather than
11085 __syscall_error.
11086
02637374
AS
110872010-08-12 Andreas Schwab <schwab@redhat.com>
11088
11089 [BZ #11904]
11090 * locale/programs/locale.c (print_assignment): New function.
11091 (show_locale_vars): Use it.
11092
c3e2f19b
UD
110932010-08-11 Ulrich Drepper <drepper@redhat.com>
11094
3cdaa6ad
UD
11095 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11096 field.
11097 (struct statfs64): Likewise.
11098 (_STATFS_F_FLAGS): Define.
11099 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11100 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11101 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11102 (ST_VALID): Define locally.
11103 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11104 __statvfs_getflags, use the provided value.
11105 * sysdeps/unix/sysv/linux/kernel-features.h: Define
11106 __ASSUME_STATFS_F_FLAGS.
11107
754f7da3
UD
11108 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11109
10b3bedc
UD
11110 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11111 Add sys/fanotify.h.
11112 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11113 fanotify_mask for GLIBC_2.13.
11114 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11115 fanotify_init and fanotify_mark.
11116 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11117 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11118
c08fb0d7
UD
11119 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11120 Add prlimit.
11121 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11122 prlimit64 for GLIBC_2.13.
11123 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11124 prlimit64.
11125 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11126 syscall.
11127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11128 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11129 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11130 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11131 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
11132 add prlimit alias.
11133 * sysdeps/unix/sysv/linux/prlimit.c: New file.
11134
15bac72b
UD
11135 [BZ #11903]
11136 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11137 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11138
c3e2f19b
UD
11139 * nss/Makefile: Add rules to build and run tst-nss-test1.
11140 * shlib-versions: Add entry for libnss_test1.
11141 * nss/nss_test1.c: New file.
11142 * nss/tst-nss-test1.c: New file.
11143
11144 * nss/nsswitch.c (__nss_database_custom): Define new variable.
11145 (__nss_configure_lookup): Set appropriate entry in
11146 __nss_configure_lookup to true.
11147 * nss/nsswitch.h: Define enum with indeces of databases in
11148 databases and __nss_database_custom arrays. Declare
11149 __nss_database_custom.
11150 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
11151 to avoid using nscd when custom rules are installed.
11152 * nss/getXXbyYY_r.c: Likewise.
11153 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11154
11155 * nss/nss_files/files-parse.c: Whitespace fixes.
11156
f15ce4d8
UD
111572010-08-09 Ulrich Drepper <drepper@redhat.com>
11158
11159 [BZ #11883]
11160 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
11161 * posix/fnmatch_loop.c: Likewise.
11162
d22e4cc9
AK
111632010-07-17 Andi Kleen <ak@linux.intel.com>
11164
11165 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11166 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11167 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11168 * Versions.def [GLIBC_2.13]: Add.
11169
805bc17d
UD
111702010-08-06 Ulrich Drepper <drepper@redhat.com>
11171
11172 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11173 Also fail if tpwd after pwuid call is NULL.
11174
5a42321d
ST
111752010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11176
11177 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11178 when converting to ms.
11179
fd3ebeda
ST
111802010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11181
11182 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11183 EOPNOTSUPP errors with ENOTTY.
11184 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11185 EOPNOTSUPP errors with ENOTTY.
11186
73507d3a
UD
111872010-07-31 Ulrich Drepper <drepper@redhat.com>
11188
11189 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11190 Add strcasecmp_l-ssse3.
11191 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11192 strcasecmp.
11193 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11194 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11195 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11196
fe36dd02
UD
111972010-07-30 Ulrich Drepper <drepper@redhat.com>
11198
66f6765a
UD
11199 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11200
42e08a54
UD
11201 * string/Makefile (strop-tests): Add strcasecmp.
11202 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11203 strcasecmp_l-nonascii.
11204 (gen-as-const-headers): Add locale-defines.sym.
11205 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11206 * sysdeps/x86_64/strcasecmp.S: New file.
11207 * sysdeps/x86_64/strcasecmp_l.S: New file.
11208 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11209 * sysdeps/x86_64/locale-defines.sym: New file.
11210 * string/test-strcasecmp.c: New file.
11211
fe36dd02
UD
11212 * string/test-strcasestr.c: Test both ends of the range of characters.
11213 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11214
48cbc0d6
RM
112152010-07-29 Roland McGrath <roland@redhat.com>
11216
76e6d6bc 11217 [BZ #11856]
48cbc0d6
RM
11218 * manual/locale.texi (Yes-or-No Questions): Fix example code.
11219
880113d9
UD
112202010-07-27 Ulrich Drepper <drepper@redhat.com>
11221
11222 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11223 for ld.so.
11224
deb9cabb
AS
112252010-07-27 Andreas Schwab <schwab@redhat.com>
11226
11227 * manual/memory.texi (Malloc Tunable Parameters): Document
11228 M_PERTURB.
11229
1c7570ff
RM
112302010-07-26 Roland McGrath <roland@redhat.com>
11231
11232 [BZ #11840]
11233 * configure.in (-fgnu89-inline check): Set and substitute
11234 gnu89_inline, not libc_cv_gnu89_inline.
11235 * configure: Regenerated.
11236 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11237
24fb0f88
UD
112382010-07-26 Ulrich Drepper <drepper@redhat.com>
11239
11240 * string/test-strnlen.c: New file.
11241 * string/Makefile (strop-tests): Add strnlen.
11242 * string/tester.c (test_strnlen): Add a few more test cases.
11243 * string/tst-strlen.c: Better error reporting.
11244
11245 * sysdeps/x86_64/strnlen.S: New file.
11246
8e96b93a
UD
112472010-07-24 Ulrich Drepper <drepper@redhat.com>
11248
11249 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11250 lower-latency instructions.
11251
dbc676d4
UD
112522010-07-23 Ulrich Drepper <drepper@redhat.com>
11253
11254 * string/test-strcasestr.c: New file.
11255 * string/test-strstr.c: New file.
11256 * string/Makefile (strop-tests): Add strstr and strcasestr.
11257 * string/str-two-way.h: Don't undefine MAX.
11258 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11259
f6a31e0e
AS
112602010-07-21 Andreas Schwab <schwab@redhat.com>
11261
11262 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11263 strcasestr-nonascii.
11264 (CFLAGS-strcasestr-nonascii.c): Define.
11265 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11266 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11267 Remove unused attribute.
11268
5dbc3b6c
RM
112692010-07-20 Roland McGrath <roland@redhat.com>
11270
11271 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11272 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
11273 ld.so.cache was broken. With it, there is no way to disable dsocaps
11274 like LD_HWCAP_MASK can disable hwcaps.
11275
23d101d8
EPM
112762010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11277
11278 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11279
cc9f2e47
UD
112802010-07-16 Ulrich Drepper <drepper@redhat.com>
11281
11282 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11283 call in strcasestr.
11284 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11285 __strcasestr_sse42_nonascii.
11286 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11287 strcasestr-nonascii.c.
11288 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11289
77c1b069
LM
112902010-06-15 Luis Machado <luisgpm@br.ibm.com>
11291
11292 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11293 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11294 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11295 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11296
440566c3
UD
112972010-07-09 Ulrich Drepper <drepper@redhat.com>
11298
11299 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11300 fcntl.
11301
5be9d05d
AS
113022010-07-06 Andreas Schwab <schwab@redhat.com>
11303
c30b7ee2 11304 [BZ #11577]
5be9d05d
AS
11305 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11306 dl_signal_cerror.
11307
8a492a67
UD
113082010-07-06 Ulrich Drepper <drepper@redhat.com>
11309
11310 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11311 _PC_PIPE_BUF using F_GETPIPE_SZ.
11312
713df3d5
RM
113132010-07-05 Roland McGrath <roland@redhat.com>
11314
11315 * manual/arith.texi (Rounding Functions): Fix rint description
11316 implicit in round description.
11317
702e8f14
UD
113182010-07-02 Ulrich Drepper <drepper@redhat.com>
11319
11320 * elf/Makefile: Fix linking for a few tests to make recent linker
11321 happy.
11322
52ed8be9
AS
113232010-06-30 Andreas Schwab <schwab@redhat.com>
11324
11325 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11326 $(common-objpfx)libc_nonshared.a.
11327
f47c9a11
LM
113282010-06-21 Luis Machado <luisgpm@br.ibm.com>
11329
11330 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11331 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11332 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11333 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11334 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11335 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11336 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11337 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11352 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11353 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11354 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11355 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11356 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11357 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11358 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11359 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11360 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11361 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11362 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11363 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11378
6fb8cbcb
L
113792010-06-25 H.J. Lu <hongjiu.lu@intel.com>
11380
11381 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11382 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11383 * string/memmove.c (memmove): Renamed to ...
11384 (MEMMOVE): ...this. Default to memmove.
11385 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11386 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11387 (END_CHK): Define.
11388 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11389 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11390 mempcpy-ssse3-back memmove-ssse3-back.
11391 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11392 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11393 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11394 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11395 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11396 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11397 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11398 * sysdeps/x86_64/multiarch/memmove.c: New file.
11399 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11400 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11401 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11402 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11403 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11404 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11405 Define.
11406 (index_Fast_Copy_Backward): Define.
11407 (HAS_ARCH_FEATURE): Define.
11408 (HAS_FAST_REP_STRING): Define.
11409 (HAS_FAST_COPY_BACKWARD): Define.
11410
4e733bac 114112010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
11412
11413 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11414 Restore proper fallback handling.
11415
63c4ed22
UD
114162010-06-19 Ulrich Drepper <drepper@redhat.com>
11417
ac2b484c
UD
11418 [BZ #11701]
11419 * posix/group_member.c (__group_member): Correct checking loop.
11420
63c4ed22
UD
11421 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11422 OOM in getpwuid_r correctly. Return error number when the caller
11423 should return, otherwise -1.
11424 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11425 call returning > 0 value.
11426 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11427
765ade4b
AS
114282010-06-07 Andreas Schwab <schwab@redhat.com>
11429
11430 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11431 libc_nonshared.a from targets in modules-names.
11432
80da2e09
KS
114332010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11434
11435 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11436 requires it.
11437
158db122
LM
114382010-06-10 Luis Machado <luisgpm@br.ibm.com>
11439
11440 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11441 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11442 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11443 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11444
caa78cf8
AS
114452010-06-02 Andreas Schwab <schwab@redhat.com>
11446
11447 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11448
b2ef2c01
UD
114492010-06-14 Ulrich Drepper <drepper@redhat.com>
11450
11451 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11452 and F_GETPIPE_SZ.
11453 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11454 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11455 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11456 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11457 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11458 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11459
fbd643b6
RM
114602010-06-14 Roland McGrath <roland@redhat.com>
11461
11462 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11463
f32f2869
JJ
114642010-06-07 Jakub Jelinek <jakub@redhat.com>
11465
11466 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11467 __REDIRECT followed by __THROW.
11468 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11469 * posix/getopt.h (getopt): Likewise.
11470
2a50c078
EPM
114712010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11472
11473 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11474 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11475 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11476 in AT_FLAGS.
11477 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11478 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11479
eb5ad2eb
LM
114802010-05-28 Luis Machado <luisgpm@br.ibm.com>
11481
11482 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11483
3c88fe1e
L
114842010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11485
11486 [BZ #11640]
11487 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11488 Properly check family and model.
11489
d2f73151
TY
114902010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11491
11492 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11493
ebd2e13d
LM
114942010-05-24 Luis Machado <luisgpm@br.ibm.com>
11495
11496 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11497
b32b8b45
UD
114982010-05-21 Ulrich Drepper <drepper@redhat.com>
11499
11500 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11501 symbol reference.
11502
9acbe24d
AS
115032010-05-19 Andreas Schwab <schwab@redhat.com>
11504
11505 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11506 symbol reference.
11507
f0ccf6ea
AS
115082010-05-21 Andreas Schwab <schwab@redhat.com>
11509
3d04ff3a
AS
11510 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11511 and internal_recvmmsg.
11512 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11513 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11514 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11515 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11516
f0ccf6ea
AS
11517 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11518 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11519 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11520
5b08ac57
AS
115212010-05-20 Andreas Schwab <schwab@redhat.com>
11522
11523 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11524
4828935d
LM
115252010-05-17 Luis Machado <luisgpm@br.ibm.com>
11526
11527 POWER7 optimizations.
11528 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11529 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11530
373d545e
UD
115312010-05-19 Ulrich Drepper <drepper@redhat.com>
11532
11533 * version.h: Update for 2.13 development version.
11534
21a2b1ae
AS
115352010-05-12 Andrew Stubbs <ams@codesourcery.com>
11536
11537 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11538 exceptions. Return 0.
11539
3f7dcb2b
RM
115402010-05-07 Roland McGrath <roland@redhat.com>
11541
11542 * elf/ldconfig.c (main): Add a const.
11543
5f24d53a 115442010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 11545
a160f8d8
UD
11546 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11547 (args_options): Add no-idn option.
11548 (ahosts_keys_int): Add idn_flags to ai_flags.
11549 (parse_option): Handle 'i' option to clear idn_flags.
11550
5f24d53a
UD
11551 * malloc/malloc.c (_int_free): Possible race in the most recently
11552 added check. Only act on the data if no current modification
11553 happened.
265bb1ce
UD
11554
11555See ChangeLog.17 for earlier changes.