]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix ld.so regression.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
d7dd4413
DM
12012-04-10 David S. Miller <davem@davemloft.net>
2
3 [BZ #13967]
4 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
5 where the is a gap between DT_REL(A) and DT_JMPREL.
6
b46068fc
L
72012-04-10 H.J. Lu <hongjiu.lu@intel.com>
8
9 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
10 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
11 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12
73d65cc3
SP
132012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14
15 * elf/dl-support.c (_dl_inhibit_cache): New variable.
16 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
17 (dl_main): Handle --inhibit-cache.
18 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
19 _dl_inhibit_cache.
20 * elf/dl-load.c (_dl_map_object): Use it.
21 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
22
bcc8d661
JM
232012-04-09 Joseph Myers <joseph@codesourcery.com>
24
8f9a2fae
JM
25 [BZ #13872]
26 * sysdeps/i386/fpu/e_powl.S (p78): New object.
27 (__ieee754_powl): Saturate large exponents rather than testing for
28 overflow of y*log2(x).
29 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31 exceptions.
32
bcc8d661
JM
33 [BZ #11521]
34 * math/s_ctan.c: Include <float.h>.
35 (__ctan): Avoid internal overflow or cancellation in calculating
36 denominator.
37 * math/s_ctanf.c: Likewise.
38 * math/s_ctanl.c: Likewise.
39 * math/s_ctanh.c: Likewise.
40 * math/s_ctanhf.c: Likewise.
41 * math/s_ctanhl.c: Likewise.
42 * math/libm-test.inc (ctan_test): Add more tests.
43 (ctanh_test): Likewise.
44 * sysdeps/i386/fpu/libm-test-ulps: Update.
45 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46
823fbbb4
AJ
472012-04-09 Andreas Jaeger <aj@suse.de>
48
03879793
AJ
49 [BZ #6894]
50 * manual/filesys.texi (Directory Entries): Mention that d_namlen
51 is an optional BSD extension.
52
823fbbb4
AJ
53 [BZ #10254]
54 * manual/stdio.texi (Opening Streams): Document additional fopen
55 parameters.
56
8de131cb
RM
572012-04-09 Roland McGrath <roland@hack.frob.com>
58
59 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
60 %eax without telling the compiler.
61
c0ed9d7d
CD
622012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
63
64 [BZ # 13963]
65 * manual/install.texi: Use sourceware.org.
66
c483f6b4
JM
672012-04-09 Joseph Myers <joseph@codesourcery.com>
68
d7dd9453
JM
69 [BZ #13873]
70 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
71 (__ieee754_pow): Generate overflow and underflow using huge*huge
72 and tiny*tiny rather than just returning constant infinity or zero
73 for large exponents.
74 * math/libm-test.inc (pow_test): Require overflow exceptions for
75 applicable cases of large exponents.
76
c483f6b4
JM
77 [BZ #706]
78 * sysdeps/i386/fpu/e_pow.S (p10): New object.
79 (__ieee754_pow): Use iterative multiplication algorithm only for
80 integer exponents with absolute value below 1024. Check for odd
81 integer exponents when using algorithm for real exponents.
82 * math/libm-test.inc (pow_test): Add more tests.
83 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84
d2de7579
JM
852012-04-08 Joseph Myers <joseph@codesourcery.com>
86
87 [BZ #13705]
88 * math/libm-test.inc (exp_test): Do not allow overflow exception
89 on underflow test.
90
f77f1232
AJ
912012-04-08 Aurelien Jarno <aurelien@aurel32.net>
92
93 [BZ #13705]
94 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
95 instead of __kernel_standard_f.
96
3884932b
MF
972012-04-08 Mike Frysinger <vapier@gentoo.org>
98
99 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
100 * sysdeps/x86_64/memset_chk.S: Likewise.
101
54472e9c
AJ
1022012-04-08 Andreas Jaeger <aj@suse.de>
103
6ab0fbfc
AJ
104 [BZ #10153]
105 * manual/startup.texi (Environment Access): Describe return value
106 for putenv and setenv.
107
61efba8c
AJ
108 [BZ #6895]
109 * manual/filesys.texi (Directory Entries): Add description for
110 DT_LNK.
111
95c3f29a
AJ
112 [BZ #6890]
113 * manual/filesys.texi (Directory Entries): Clarify that it's file
114 system not operating system in the description of DT_UNKNOWN.
115
54472e9c
AJ
116 [BZ #6578]
117 * manual/syslog.texi (closelog): Fix reference, it's openlog.
118
624254b1
SC
1192012-04-08 Stephen Compall <s11@member.fsf.org>
120
121 [BZ #6649]
122 * manual/llio.texi (Opening and Closing Files): Add cross
123 reference to explain mode argument.
124
1e4920e0
MF
1252012-04-07 Mike Frysinger <vapier@gentoo.org>
126
127 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
128 * sysdeps/x86_64/memset_chk.S: Likewise.
129
5ed848f3
DM
1302012-04-07 David S. Miller <davem@davemloft.net>
131
132 * elf/elf.h (R_SPARC_WDISP10): Define.
133 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
134 R_SPARC_SIZE32.
135 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
136 R_SPARC_SIZE64 and R_SPARC_H34.
137
96154cd8
CD
1382012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
139
140 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
141 conditions and remove no longer applicable assertion.
142
9904dc47
L
1432012-04-06 H.J. Lu <hongjiu.lu@intel.com>
144
145 * bits/byteswap.h: Include <features.h>.
146 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
147 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
148
f8887d0a
L
1492012-04-06 H.J. Lu <hongjiu.lu@intel.com>
150
151 * bits/byteswap.h (__bswap_16): Removed.
152 Include <bits/byteswap-16.h> to get __bswap_16.
153 * sysdeps/i386/bits/byteswap.h: Likewise.
154 * sysdeps/s390/bits/byteswap.h: Likewise.
155 * sysdeps/x86_64/bits/byteswap.h: Likewise.
156 * bits/byteswap-16.h: New file.
157 * sysdeps/i386/bits/byteswap-16.h: Likewise.
158 * sysdeps/s390/bits/byteswap-16.h: Likewise.
159 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
160 * string/Makefile (headers): Add bits/byteswap-16.h.
161
62470f60
PP
1622012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
163
164 [BZ #13895]
165 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
166 extra indirection.
167 * nss/Makefile (tests-static, tests): Add tst-nss-static.
168 * nss/tst-nss-static.c: New.
169
4dad7bab
RM
1702012-04-06 Robert Millan <rmh@gnu.org>
171
172 [BZ #6486]
173 * manual/llio.texi (File Position Primitive): lseek
174 refers to WHENCE when it really means OFFSET.
175
e9142a17
AJ
1762012-04-06 Andreas Jaeger <aj@suse.de>
177
2c040eff
AJ
178 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
179 strncmp declarations.
180
e9142a17
AJ
181 * abilist/libc.abilist: Add __poll and __ppoll.
182
ff9f1c5f
DM
1832012-04-05 David S. Miller <davem@davemloft.net>
184
dcd2ae90
DM
185 * scripts/check-local-headers.sh: Accept a host triplet in the
186 path matched by the exclude regexp.
187
993eb054
DM
188 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
189 definition.
190 * sysdeps/powerpc/powerpc32/dl-machine.h
191 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
192 * sysdeps/s390/s390-32/dl-machine.h
193 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
194 * sysdeps/sparc/sparc32/dl-machine.h
195 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
196 * sysdeps/sparc/sparc64/dl-machine.h
197 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
198
ff9f1c5f
DM
199 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
200 lazy binding.
48e2e132 201 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
202 undefined symbol errors.
203
48e2e132 204 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
205 DT_NEEDED entries.
206
e80d6f94
MM
2072012-04-05 Michael Matz <matz@suse.de>
208
209 [BZ #13592]
210 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
211
349fa79f
AJ
2122012-04-05 Andreas Jaeger <aj@suse.de>
213
214 [BZ #13908]
215 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
216 comment.
217
f402708f
KK
2182012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
219
220 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
221 which ROUND is no valid rounding mode.
222
2ecccfc9
KK
2232012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
224
225 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
226 read again.
227 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
228
8a53f50f
KK
2292012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
230
231 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
232 an exception using FPU order intentionally.
233
2342012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
235
236 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
237 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
238 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
239 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
240
d653abb7
SJ
2412012-04-05 Simon Josefsson <simon@josefsson.org>
242
243 [BZ #12340]
244 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
245 EINVAL when BUFLEN is too smal.
246
c3b1bf7d
TS
2472012-04-05 Thomas Schwinge <thomas@codesourcery.com>
248
249 [BZ #13553]
250 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
251 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
252
b1aa60f3
AJ
2532012-04-03 Andreas Jaeger <aj@suse.de>
254
c3b1bf7d 255 [BZ #13938]
67f60a26
AJ
256 * manual/setjmp.texi (System V contexts): Fix sentence.
257
b1aa60f3
AJ
258 [BZ #13926]
259 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
260 New macro for this case.
261 [!__GNUC__] (__bswap_64): New inline function for this case.
262 * sysdeps/x86_64/bits/byteswap.h: Likewise.
263 * bits/byteswap.h: Likewise.
264 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
265 ull, guard with __GLIBC_HAVE_LONG_LONG.
266
267 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
268 __GLIBC_HAVE_LONG_LONG.
269
270 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
271 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
272
39c59c35
TMQMF
2732012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
274
275 [BZ #13691]
276 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
277 inptr and inend, rather than using last_ch.
278
135ffda8
DM
2792012-04-02 David S. Miller <davem@davemloft.net>
280
281 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
282 * stdio-common/printf-parse.h (read_int): Change return type to
283 'int', return -1 on INT_MAX overflow.
284 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
285 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
286 overflows INT_MAX. Check for overflow of in-format-string precision
287 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
288 SIZE_MAX not INT_MAX for integer overflow test.
289 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
290 skip the construct in the format string but do not record anything.
291 * stdio-common/bug22.c: Adjust to test both width/prevision
292 INT_MAX overflow as well as total length INT_MAX overflow. Check
293 explicitly for proper errno values.
294
228c019e
TS
2952012-04-02 Thomas Schwinge <thomas@codesourcery.com>
296
302cadd3
TS
297 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
298 CHAR_MAX.
299 * string/test-strcmp.c [! WIDE]: Likewise.
300 * time/tst-mktime2.c: Likewise for INT_MAX.
301 * string/test-string.h: #include <sys/param.h> for MIN.
302
228c019e
TS
303 * csu/init-first.c (__libc_init_first): Call __ctype_init.
304 * sysdeps/i386/init-first.c (init): Likewise.
305 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
306 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
307 * sysdeps/sh/init-first.c (init): Likewise.
308
cfa633f5
UD
3092012-04-01 Ulrich Drepper <drepper@gmail.com>
310
311 * po/ru.po: Update from translation team.
d1635ef8 312 * po/vi.po: Likewise.
cfa633f5 313
6cd0a5ea
SP
3142012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
315
316 * resolv/nss_dns/dns-host.c: Merge copyright years.
317
4b43400f
LD
3182012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
319
320 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
321 Optimize memcpy with prefetch if
322 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
323 src, dst pointers have unequal 16 byte alignments.
324
48c41d04
SP
3252012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
326
327 [BZ #13928]
328 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
329 from a CNAME entry and return the minimum ttl for the query.
330 (gaih_getanswer_slice): Likewise.
331
b8dc394d
JL
3322012-03-30 Jeff Law <law@redhat.com>
333
334 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
335 due to long keys.
336 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
337 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
338
2f5a5ed0
JL
339 * resolv/nss_dns/dns-host.c: Update copyright year.
340
1d39e359
UD
3412012-03-30 Ulrich Drepper <drepper@gmail.com>
342
c030f70c 343 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 344 requests to save a system call. Fix check that all bytes are sent.
c030f70c 345
1d39e359
UD
346 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
347 comments for sendmmsg.
348
3492012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
350
351 [BZ #13691]
352 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
353 with only 1 character between 0x0041 and 0x01b0.
354 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
355 * wcsmbs/tst-mbsnrtowcs.c: New file.
356
20fde227
DM
3572012-03-29 David S. Miller <davem@davemloft.net>
358
359 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
360 small copies by hand.
361
984a4237
JL
3622012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
363
364 [BZ #13761]
365 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
366 _nss_compat_initgroups_dyn): Fall back to malloc/free
367 for large group memberships.
368
18c9d62b
DM
3692012-03-28 David S. Miller <davem@davemloft.net>
370
88d85d4f
DM
371 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
372 that branches into memcpy.
373 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
374 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
375 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
376 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
377 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
378 bits.
379 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
380 implementation too.
381 * sysdeps/sparc/mempcpy.S: New file.
382
e5aa83e1
DM
383 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
384 the IFUNC routine in the libc case.
385 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
386
88570753
DM
387 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
388 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
389 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
390 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
391 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
392 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
393 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
394 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
395
249d7567
DM
396 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
397 loop to 256 bytes instead of 64 bytes and fix test signedness.
398
18c9d62b
DM
399 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
400 * sysdeps/sparc/sparc32/Makefile: rather than here...
401 * sysdeps/sparc/sparc64/Makefile: and here.
402
05f3d1f6
UD
4032012-03-28 Ulrich Drepper <drepper@gmail.com>
404
405 * malloc/mallocbug.c: Avoid warnings about unused variables.
406
86ae07a8
JL
4072012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
408
409 [BZ #13760]
410 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
411 in the right place. Discard and retry query if response is
412 larger than input buffer size.
413
41bf21a1
JM
4142012-03-28 Joseph Myers <joseph@codesourcery.com>
415
d6270972
JM
416 [BZ #369]
417 [BZ #2678]
418 [BZ #3866]
419 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
420 x for large integer exponent.
421 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
422 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
423 sign of result as needed afterwards.
424 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
425 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
426 result for underflowing pow the same as for overflow.
427 (__kernel_standard_l): Handle powl overflow and underflow here
428 rather than calling __kernel_standard.
429 * math/libm-test.inc (pow_test): Add more tests.
430
414fca03 431 [BZ #3868]
41bf21a1
JM
432 [BZ #13879]
433 [BZ #13910]
434 [BZ #13911]
435 [BZ #13912]
436 [BZ #13913]
437 [BZ #13915]
438 [BZ #13916]
439 [BZ #13917]
440 [BZ #13918]
441 [BZ #13919]
442 [BZ #13920]
443 [BZ #13921]
444 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
445 * sysdeps/ieee754/k_standard.c: Include <float.h>.
446 (__kernel_standard_l): New function.
447 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
448 __kernel_standard.
449 * math/w_acosl.c (__acosl): Likewise.
450 * math/w_asinl.c (__asinl): Likewise.
451 * math/w_atan2l.c (__atan2l): Likewise.
452 * math/w_atanhl.c (__atanhl): Likewise.
453 * math/w_coshl.c (__coshl): Likewise.
454 * math/w_exp10l.c (__exp10l): Likewise.
455 * math/w_exp2l.c (__exp2l): Likewise.
456 * math/w_fmodl.c (__fmodl): Likewise.
457 * math/w_hypotl.c (__hypotl): Likewise.
458 * math/w_j0l.c (__j0l, __y0l): Likewise.
459 * math/w_j1l.c (__j1l, __y1l): Likewise.
460 * math/w_jnl.c (__jnl, __ynl): Likewise.
461 * math/w_lgammal.c (__lgammal): Likewise.
462 * math/w_log10l.c (__log10l): Likewise.
463 * math/w_log2l.c (__log2l): Likewise.
464 * math/w_logl.c (__logl): Likewise.
465 * math/w_powl.c (__powl): Likewise.
466 * math/w_remainderl.c (__remainderl): Likewise.
467 * math/w_scalbl.c (sysv_scalbl): Likewise.
468 * math/w_sinhl.c (__sinhl): Likewise.
469 * math/w_sqrtl.c (__sqrtl): Likewise.
470 * math/w_tgammal.c (__tgammal): Likewise.
471 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
472 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
473 * math/libm-test.inc (acos_test): Add more tests.
474 (acosh_test): Likewise.
475 (asin_test): Likewise.
476 (atanh_test): Likewise.
477 (exp_test): Likewise.
478 (exp10_test): Likewise.
479 (exp2_test): Likewise.
480 (expm1_test): Likewise.
481 (lgamma_test): Likewise.
482 (log_test): Likewise.
483 (log10_test): Likewise.
484 (log1p_test): Likewise.
485 (log2_test): Likewise.
486 (pow_test): Do not allow some spurious overflow exceptions.
487 (sqrt_test): Add more tests.
488 (tgamma_test): Likewise.
489 (y0_test): Likewise.
490 (y1_test): Likewise.
491 (yn_test): Likewise.
492
dd62fda6
AB
4932012-03-27 Anton Blanchard <anton@samba.org>
494
495 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
496 MAP_HUGETLB.
497 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
498 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
499 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
500
1e3cdfda
AJ
5012012-03-27 David S. Miller <davem@davemloft.net>
502
b855ab85
DM
503 * conform/Makefile: Run run-conformtest.sh using $(BASH).
504
1e3cdfda
AJ
505 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
506 have-as-vis3 check.
507
5082012-03-27 Andreas Jaeger <aj@suse.de>
509
510 * sysdeps/x86_64/elf/configure.in: Moved to ...
511 * sysdeps/x86_64/configure.in: ... here.
512 * sysdeps/x86_64/elf/start.S: Moved to ...
513 * sysdeps/x86_64/start.S: ... here.
514 * sysdeps/x86_64/elf/configure: Delete.
515
516 * sysdeps/x86_64/configure.in: Merge contents from
517 sysdeps/i386/configure.in (without i686 check).
518
519 * sysdeps/i386/elf/Versions: Merge into ...
520 * sysdeps/i386/Versions: ... this.
521 * sysdeps/i386/elf/Versions: Delete file.
522 * sysdeps/i386/elf/start.S: Moved to ...
523 * sysdeps/i386/start.S: ...here.
524 * sysdeps/i386/elf/configure.in: Merge into...
525 * sysdeps/i386/configure.in: ...here.
526 * sysdeps/i386/elf/configure.in: Delete file.
527 * sysdeps/i386/elf/configure: Delete file.
528
529 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
530 * debug/backtracesyms.c: ... here.
531 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
532 * debug/backtracesymsfd.c: ... here.
533 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
534 * sysdeps/generic/ifunc-sel.h: ... here.
535
536 * sysdeps/unix/i386/start.c: Delete file.
537 * sysdeps/unix/sparc/start.c: Delete file.
538 * sysdeps/unix/start.c: Delete file.
539
540 * sysdeps/sh/elf/configure.in: Moved to ...
541 * sysdeps/sh/configure.in: ... here.
542 * sysdeps/sh/elf/start.S: Moved to ...
543 * sysdeps/sh/start.S: ... here.
544 * sysdeps/sh/elf/configure: Delete file.
545
546 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
547 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
548 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
549 * sysdeps/powerpc/powerpc64/entry.h: ... here.
550 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
551 * sysdeps/powerpc/powerpc64/start.S: here.
552 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
553 * sysdeps/powerpc/powerpc64/Makefile: ... this.
554 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
555 * sysdeps/powerpc/powerpc64/configure.in: ... this.
556 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
557
558 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
559 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
560 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
561 * sysdeps/powerpc/powerpc32/start.S: ... here.
562 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
563 * sysdeps/powerpc/powerpc32/configure.in: ... this.
564 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
565
566 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
567 * sysdeps/powerpc/ifunc-sel.h: ... here.
568 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
569 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
570
571 * sysdeps/sparc/elf/configure.in: Moved to ...
572 * sysdeps/sparc/configure.in: ... here.
573 * sysdeps/sparc/elf/configure: Delete file.
574 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
575 * sysdeps/sparc/sparc32/start.S: ... here.
576 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
577 * sysdeps/sparc/sparc64/start.S: ... here.
578 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
579 * sysdeps/sparc/sparc32/Makefile: ... this.
580 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
581 * sysdeps/sparc/sparc64/Makefile: ... this.
582
583 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
584 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
585 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
586 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
587 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
588 * sysdeps/s390/s390-32/setjmp.S: ... here.
589 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
590 * sysdeps/s390/s390-32/configure.in: ... here.
591 * sysdeps/s390/s390-32/elf/configure: Delete file.
592 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
593 * sysdeps/s390/s390-32/start.S: ... here.
594
595 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
596 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
597 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
598 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
599 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
600 * sysdeps/s390/s390-64/setjmp.S: ... here.
601 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
602 * sysdeps/s390/s390-64/configure.in: ... here
603 * sysdeps/s390/s390-64/elf/configure: Delete file.
604 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
605 * sysdeps/s390/s390-64/start.S: ... here.
606 * sysdeps/s390/s390-64/elf/configure: Delete.
607
608 * configure.in: Remove support for elf directories in sysdeps.
609
610 * configure: Regenerated.
611 * sysdeps/i386/configure: Regenerated.
612 * sysdeps/powerpc/powerpc32/configure: Regenerated.
613 * sysdeps/powerpc/powerpc64/configure: Regenerated.
614 * sysdeps/s390/s390-32/configure: Regenerated.
615 * sysdeps/s390/s390-64/configure: Regenerated.
616 * sysdeps/sh/configure: Regenerated.
617 * sysdeps/sparc/configure: Regenerated.
618 * sysdeps/x86_64/configure: Regenerated.
619
a3f61311
AS
6202012-03-26 Andreas Schwab <schwab@linux-m68k.org>
621
c876e002
AS
622 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
623
a3f61311
AS
624 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
625 denormal result into account.
626
ac4c54f0
RM
6272012-03-25 Roland McGrath <roland@hack.frob.com>
628
629 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
630 Reported by Allan McRae <allan@archlinux.org>.
631
6a9b9c02
JL
6322012-03-23 Jeff Law <law@redhat.com>
633
634 * nss/getnssent.c (__nss_getent): Fix typo.
635
4c42a0c1
DM
6362012-03-23 David S. Miller <davem@davemloft.net>
637
638 * sysdeps/sparc/fpu/libm-test-ulps: Update.
639
1532c7ac
L
6402012-03-23 H.J. Lu <hongjiu.lu@intel.com>
641
642 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
643 to pad to uint64_t for each field.
644 (dl_tls_index): Replace unsigned long with uint64_t.
645
3ff42526
PP
6462012-03-23 Daniel Jacobowitz <dmj@google.com>
647 Paul Pluzhnikov <ppluzhnikov@google.com>
648
649 [BZ #6528]
650 * grp/Makefile (otherlibs): Don't set it.
651 * inet/Makefile (otherlibs): Likewise.
652 * login/Makefile (otherlibs): Likewise.
653 * nscd/Makefile (otherlibs): Likewise.
654 * posix/Makefile (otherlibs): Likewise.
655 * pwd/Makefile (otherlibs): Likewise.
656 * rt/Makefile (otherlibs): Likewise.
657 * sunrpc/Makefile (otherlibs): Likewise.
658 * nss/Makefile (otherlibs): Likewise.
659 Add libnss_files to routines and static-only-routines.
660 ($(objpfx)getent): Remove rule.
661 * resolv/Makefile: Add libnss_dns and libresolv to routines and
662 static-only-routines.
663
7c69cd14
JM
6642012-03-22 Joseph Myers <joseph@codesourcery.com>
665
666 [BZ #13892]
667 * math/s_cexp.c: Include <float.h>.
668 (__cexp): Handle exp result overflowing not necessarily
669 overflowing both real and imaginary parts of result.
670 * math/s_cexpf.c: Likewise.
671 * math/s_cexpl.c: Likewise.
672 * math/libm-test.inc (cexp_test): Add more tests.
673 * sysdeps/i386/fpu/libm-test-ulps: Update.
674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
675
81b035fe
L
6762012-03-22 H.J. Lu <hongjiu.lu@intel.com>
677
678 * include/link.h (ELFW): New macro.
679 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
680 Replace ELF64_R_TYPE with ELFW(R_TYPE).
681
1da7940c
L
6822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
683
684 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
685 with uint64_t.
686
b749dbb9
L
6872012-03-22 H.J. Lu <hongjiu.lu@intel.com>
688
689 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
690 declaration.
691 (struct La_x32_retval): Likewise.
692
2ff87f3f
L
6932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
694
695 * sysdeps/x86_64/preconfigure.in: New file.
696 * sysdeps/x86_64/preconfigure: New generated file.
697
c0df8e69
JM
6982012-03-22 Joseph Myers <joseph@codesourcery.com>
699
48e44791
JM
700 [BZ #13824]
701 * math/e_exp2l.c: Include <float.h>.
702 (__ieee754_exp2l): Handle overflow and underflow cases
703 separately. Only pass fractional part of argument to
704 __ieee754_expl.
705 * math/libm-test.inc (exp2_test): Add more tests.
706
c0df8e69
JM
707 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
708 negating x to take absolute value.
709 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
710 Likewise.
711 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
712 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
713 Likewise.
714 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
715 computing low part if x was negated.
716 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
717
c8e43ba7
L
7182012-03-21 H.J. Lu <hongjiu.lu@intel.com>
719
720 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
721 la_x32_gnu_pltexit.
722 (pltexit): Cast int_retval to ptrdiff_t.
723 * elf/tst-auditmod3b.c: Likewise.
724 * elf/tst-auditmod4b.c: Likewise.
725 * elf/tst-auditmod5b.c: Likewise.
726 * elf/tst-auditmod6b.c: Likewise.
727 * elf/tst-auditmod6c.c: Likewise.
728 * elf/tst-auditmod7b.c: Likewise.
729
730 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
731 and x32_gnu_pltexit.
732
733 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
734 __ELF_NATIVE_CLASS.
735 (La_x32_regs): New macro.
736 (La_x32_retval): Likewise.
737 (la_x32_gnu_pltenter): New function prototype.
738 (la_x32_gnu_pltexit): Likewise.
739
7998fa78
AS
7402012-03-21 Andreas Schwab <schwab@linux-m68k.org>
741
dcb33988
AS
742 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
743 exponent.
744
233fc563
AS
745 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
746
7998fa78
AS
747 * configure.in (libc_cv_cc_nofma): Check for option to disable
748 generation of FMA instructions.
749 * configure: Regenerate.
750 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
751 * sysdeps/ieee754/dbl-64/Makefile: New file.
752 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
753 Remove brandred-fma4.
754 (CFLAGS-brandred-fma4.c): Remove.
755 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
756 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
757 define.
758 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
759 define.
760
8e95c99a
L
7612012-03-21 H.J. Lu <hongjiu.lu@intel.com>
762
763 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
764 LLONG_MAX != LONG_MAX.
765 (_itoa_word): Use _ITOA_WORD_TYPE on value.
766 (_fitoa_word): Likewise.
767 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
768 LLONG_MAX != LONG_MAX.
769 * stdio-common/_itowa.h: Include <_itoa.h>.
770 (_itowa_word): Use _ITOA_WORD_TYPE on value.
771 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
772 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
773 only if not defined.
774 (_ITOA_WORD_TYPE): Likewise.
775 (_itoa_word): Use _ITOA_WORD_TYPE on value.
776 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
777
6f4db457
DM
7782012-03-21 David S. Miller <davem@davemloft.net>
779
780 * sysdeps/sparc/fpu/libm-test-ulps: Update.
781
7785fe5a
L
7822012-03-21 H.J. Lu <hongjiu.lu@intel.com>
783
784 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
785 of x86_64 when setting libc_cv_slibdir, libdir and
786 libc_cv_localedir.
787 * sysdeps/unix/sysv/linux/configure: Regenerated.
788
4535cd55
JM
7892012-03-21 Joseph Myers <joseph@codesourcery.com>
790
791 * manual/lang.texi (Old Varargs): Remove section.
792 (How Variadic): Update menu.
793 (va_start): Do not mention varargs.h.
794
17228132
TS
7952012-03-21 Thomas Schwinge <thomas@codesourcery.com>
796 Joseph Myers <joseph@codesourcery.com>
797
798 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
799 link test.
800 * configure: Regenerated.
801
8149f976
TS
8022012-03-21 Thomas Schwinge <thomas@codesourcery.com>
803
05f3d1f6
UD
804 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
805 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
806 conformtest.pl
8149f976 807
1a4ac776
JM
8082012-03-21 Joseph Myers <joseph@codesourcery.com>
809
be22ce65
JM
810 * NOTES: Remove.
811 * Makefile (files-for-dist): Remove NOTES.
812 (NOTES): Remove rule.
813 * README: Don't refer to NOTES.
814 * manual/creature.texi: Don't include macros.texi.
815 * manual/intro.texi (creature.texi): Remove comment referring to
816 NOTES.
817
40b601fb
JM
818 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
819 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
820 * configure: Regenerated.
821 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
822 LIBC_TRY_CC_OPTION.
823 (libc_cv_as_i686): Likewise.
824 (libc_cv_cc_avx): Likewise.
825 (libc_cv_cc_sse2avx): Likewise.
826 (libc_cv_cc_fma4): Likewise.
827 (libc_cv_cc_novzeroupper): Likewise.
828 * sysdeps/i386/configure: Regenerated.
829
1a4ac776
JM
830 [BZ #13883]
831 * sysdeps/i386/fpu/s_cexp.S: Remove.
832 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
833 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
834 * math/libm-test.inc (cexp_test): Add more tests.
835 * sysdeps/i386/fpu/libm-test-ulps: Update.
836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
837
a458e7fe
AM
8382012-03-21 Allan McRae <allan@archlinux.org>
839
840 * timezone/Makefile: Do not install iso3166.tab and zone.tab
841
0cb7efc5
JM
8422012-03-21 Joseph Myers <joseph@codesourcery.com>
843
844 [BZ #13871]
845 * math/w_exp2.c: Do not include <float.h>.
846 (o_threshold, u_threshold): Remove.
847 (__exp2): Calculate result before checking finiteness and calling
848 __kernel_standard.
849 * math/w_exp2f.c: Likewise.
850 * math/w_exp2l.c: Likewise.
851 * math/libm-test.inc (exp2_test): Require overflow exception for
852 1e6 input.
2460d3aa
JM
853
854 [BZ #3866]
855 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
856 range of signed 64-bit integers before using fistpll. Remove
857 checks for whether integers fit in mantissa bits.
858 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
859 the range of signed 32-bit integers before using fistpl. Remove
860 checks for whether integers fit in mantissa bits.
861 * sysdeps/i386/fpu/e_powl.S (p64): New object.
862 (__ieee754_powl): Test for y outside the range of signed 64-bit
863 integers before using fistpll. Reduce 64-bit values to 63-bit
864 ones as needed.
865 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
866 divide-by-zero is raised for zero to large negative powers.
867 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
868 (__ieee754_powl): Test for y outside the range of signed 64-bit
869 integers before using fistpll. Reduce 64-bit values to 63-bit
870 ones as needed.
871 * math/libm-test.inc (pow_test): Add more tests.
872
eb96ffb0
L
8732012-03-20 H.J. Lu <hongjiu.lu@intel.com>
874
875 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
876 <stdio-common/_itoa.h>.
877 * debug/segfault.c: Likewise.
878 * elf/dl-cache.c: Likewise.
879 * elf/dl-minimal.c: Likewise.
880 * elf/dl-misc.c: Likewise.
881 * elf/dl-sysdep.c: Likewise.
882 * elf/dl-version.c: Likewise.
883 * elf/rtld.c: Likewise.
884 * hurd/hurdsock.c: Likewise.
885 * hurd/lookup-retry.c: Likewise.
886 * malloc/malloc.c: Likewise.
887 * malloc/mtrace.c: Likewise.
888 * nscd/nscd_getgr_r.c: Likewise.
889 * nscd/nscd_getpw_r.c: Likewise.
890 * nscd/nscd_getserv_r.c: Likewise.
891 * posix/getopt_init.c: Likewise.
892 * posix/wordexp.c: Likewise.
893 * stdio-common/_itoa.c: Likewise.
894 * stdio-common/printf_fphex.c: Likewise.
895 * stdio-common/vfprintf.c: Likewise.
896 * string/_strerror.c: Likewise.
897 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
898 * sysdeps/i386/i686/hp-timing.h: Likewise.
899 * sysdeps/mach/_strerror.c: Likewise.
900 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
901 * sysdeps/mach/hurd/sethostid.c: Likewise.
902 * sysdeps/mach/hurd/xmknodat.c: Likewise.
903 * sysdeps/mach/xpg-strerror.c: Likewise.
904 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
905 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
906 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
907 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
908 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
909 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
910 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
911 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
912 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
913 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
914 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
915 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
916 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
917 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
918 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
919 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
920 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
921 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
922 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
923 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
924 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
925
926 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
927
928 * stdio-common/_itoa.h: Moved to ...
929 * sysdeps/generic/_itoa.h: Here.
930
931 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
932
933 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
934 instead of "_itoa.h" and "_itowa.h".
935 * stdio-common/vfprintf.: Likewise.
936
d1af992d
L
9372012-03-20 H.J. Lu <hongjiu.lu@intel.com>
938
939 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
940 <bits/wordsize.h>.
941 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
942 (__signbit): Likwise.
943 (llrintf): Likwise.
944 (llrint): Likwise.
945
114883e0
L
9462012-03-20 H.J. Lu <hongjiu.lu@intel.com>
947
948 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
949 __WORDSIZE != 64.
950
c135cc1b
JM
9512012-03-20 Joseph Myers <joseph@codesourcery.com>
952
953 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
954 OVERFLOW_EXCEPTION_OK.
955 * math/libm-test.inc ("Philosophy"): Update comment about
956 exception testing.
957 (OVERFLOW_EXCEPTION): Define.
958 (OVERFLOW_EXCEPTION_OK): Likewise.
959 (INVALID_EXCEPTION_OK): Renumber.
960 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
961 (IGNORE_ZERO_INF_SIGN): Likewise.
962 (test_exceptions): Handle FE_OVERFLOW.
963 (exp10_test): Expect overflow exceptions.
964 (exp2_test): Likewise.
965 (expm1_test): Likewise.
966 (nextafter_test): Likewise.
967 (pow_test): Likewise.
968 (scalbn_test): Likewise.
969 (scalbln_test): Likewise.
970
95443d88
L
9712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
972
973 * sysdeps/x86_64/bits/atomic.h
974 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
975 64bit integer.
976 (atomic_exchange_acq): Likewise.
977 (__arch_exchange_and_add_body): Likewise.
978 (__arch_add_body): Likewise.
979 (atomic_add_negative): Likewise.
980 (atomic_add_zero): Likewise.
981
490df6c4
L
9822012-03-19 H.J. Lu <hongjiu.lu@intel.com>
983
c2722551 984 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
985 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
986
5e52b189
L
9872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
988
989 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
990 Check __x86_64__ instead of __WORDSIZE.
991
a9879d4c
L
9922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
993
994 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
995
5df98260
DM
9962012-03-19 David S. Miller <davem@davemloft.net>
997
e1497744
DM
998 * sysdeps/sparc/fpu/libm-test-ulps: Update.
999
5df98260
DM
1000 * sysdeps/sparc/fpu/fenv_private.h: New file.
1001 * sysdeps/sparc/fpu/math_private.h: Use it.
1002 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1003 Remove.
1004 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1005 (libc_feholdexcept_setroundl): Remove.
1006 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1007 Remove.
1008 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1009 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1010
b4c35121
L
10112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1012
1013 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1014 int64_t instead of long int.
1015 (INSERT_WORDS64): Likwise.
1016
56965fd7
L
10172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1018
1019 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1020 _Unwind_GetCFA return to _Unwind_Ptr first.
1021
83d1aec8
JM
10222012-03-19 Joseph Myers <joseph@codesourcery.com>
1023
1897ad44
JM
1024 [BZ #13629]
1025 * math/s_clog.c: Include <float.h>.
1026 (__clog): Scale large or subnormal inputs.
1027 * math/s_clogf.c: Likewise.
1028 * math/s_clogl.c: Likewise.
1029 * math/s_clog10.c: Include <float.h>.
1030 (M_LOG10_2): Define.
1031 (__clog10): Scale large or subnormal inputs.
1032 * math/s_clog10f.c: Likewise.
1033 * math/s_clog10l.c: Likewise.
1034 * math/libm-test.inc (clog_test): Add more tests.
1035 (clog10_test): Likewise.
1036 * sysdeps/i386/fpu/libm-test-ulps: Update.
1037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1038
7726d6a9
JM
1039 [BZ #11451]
1040 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1041 x and y.
1042 * math/libm-test.inc (atan2_test): Add another test.
1043
83d1aec8
JM
1044 * Makerules (common-objdir-compile): Remove.
1045 * sysdeps/unix/Makefile (config-generated): Do not add
1046 $(unix-generated) to variable.
1047 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1048 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1049 Remove rule.
1050 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1051 Likewise.
1052 [generic bits/local_lim.h] (before-compile): Do not append to
1053 variable.
1054 [generic bits/local_lim.h] (common-generated): Likewise.
1055 [generic sys/param.h] (before-compile): Do not append to variable.
1056 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1057 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1058 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1059 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1060 include.
1061 [generic sys/param.h] (sys/param.h-includes): Remove variable.
1062 [generic sys/param.h] (sys/param.h-includes): Remove rule.
1063 [generic sys/param.h] ($(addprefix
1064 $(common-objpfx),$(sys/param.h-includes))): Likewise.
1065 [generic sys/param.h] (common-generated): Do not append to
1066 variable.
1067 [generic sys/param.h] (sysdep_headers): Likewise.
1068 [generic bits/errno.h] (before-compile): Do not append to
1069 variable.
1070 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
1071 rule.
1072 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
1073 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
1074 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
1075 [generic bits/errno.h] (common-generated): Do not append to
1076 variable.
1077 [generic bits/ioctls.h] (before-compile): Do not append to
1078 variable.
1079 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
1080 rule.
1081 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
1082 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
1083 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
1084 rule.
1085 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
1086 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
1087 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
1088 [generic bits/ioctls.h] (common-generated): Do not append to
1089 variable.
1090 [generic sys/syscall.h] (syscall.h): Remove variable.
1091 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
1092 rule.
1093 [generic sys/syscall.h] (before-compile): Do not append to
1094 variable.
1095 [generic sys/syscall.h] (common-generated): Likewise.
1096 * sysdeps/unix/errnos-tmpl.c: Remove file.
1097 * sysdeps/unix/errnos.awk: Likewise.
1098 * sysdeps/unix/ioctls-tmpl.c: Likewise.
1099 * sysdeps/unix/ioctls.awk: Likewise.
1100 * sysdeps/unix/mk-local_lim.c: Likewise.
1101 * sysdeps/unix/snarf-ioctls: Likewise.
1102
4851a949
RH
11032012-03-19 Richard Henderson <rth@twiddle.net>
1104
bd37f2ee
RH
1105 * sysdeps/i386/fpu/fenv_private.h: New file.
1106 * sysdeps/i386/fpu/math_private.h: Use it.
1107 (math_opt_barrier, math_force_eval): Remove.
1108 (libc_feholdexcept_setround_53bit): Remove.
1109 (libc_feupdateenv_53bit): Remove.
1110 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1111 (math_opt_barrier, math_force_eval): Remove.
1112 (libc_feholdexcept): Remove.
1113 (libc_feholdexcept_setround): Remove.
1114 (libc_fetestexcept, libc_fesetenv): Remove.
1115 (libc_feupdateenv_test): Remove.
1116 (libc_feupdateenv, libc_feholdsetround): Remove.
1117 (libc_feresetround): Remove.
1118
d0adc922
RH
1119 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1120 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1121
0fe0f1f8
RH
1122 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1123 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1124 (libc_feupdateenv_testl): New.
1125 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1126 (libc_feupdateenv_testf): New.
1127 (libc_feupdateenv): Use libc_feupdateenv_test.
1128 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1129 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1130
eb92c487
RH
1131 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1132 (libc_feholdsetroundf, libc_feholdsetroundl): New.
1133 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1134 (libc_feresetround_noex): New.
1135 (libc_feresetround_noexf): New.
1136 (libc_feresetround_noexl): New.
1137 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1138 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1139 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1140 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1141 SET_RESTORE_ROUND.
1142 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1143 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1144 (__cos): Likewise.
1145 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1146 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1147 SET_RESTORE_ROUND_NOEX.
1148 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1149 SET_RESTORE_ROUND_NOEXF.
1150 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1151 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1152 (libc_feholdsetroundf): New.
1153 (libc_feresetround, libc_feresetroundf): New.
1154
7d2e8012
RH
1155 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1156 (libc_feholdexcept_setround_53bit): Convert from macro to function.
1157 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
1158
b4dabbb4
RH
1159 * sysdeps/generic/math_private.h: Include <fenv.h>.
1160 (default_libc_feholdexcept): New.
1161 (default_libc_feholdexcept_setround): New.
1162 (default_libc_fesetenv, default_libc_feupdateenv): New.
1163 (libc_feholdexcept): Only define if undefined.
1164 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1165 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1166 (libc_feholdexcept_setroundl): Likewise.
1167 (libc_feholdexcept_setround_53bit): Likewise.
1168 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1169 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1170 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1171 (libc_feupdateenv_53bit): Likewise.
1172 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1173 (libc_feholdexcept): Convert from macro to inline function.
1174 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1175 (libc_fesetenv, libc_feupdateenv): Likewise.
1176
4851a949
RH
1177 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1178 not previously defined.
1179 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1180 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1181 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1182 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1183 * sysdeps/ieee754/flt-32/math_private.h: New file.
1184 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1185 math_private.h below SET_FLOAT_WORD.
1186 (__isnan, __isinf_ns, __finite): Remove.
1187 (__isnanf, __isinf_nsf, __finitef): Remove.
1188
e79d442e
AS
11892012-03-18 Andreas Schwab <schwab@linux-m68k.org>
1190
1191 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1192
90b80344
DM
11932012-03-17 David S. Miller <davem@davemloft.net>
1194
1195 [BZ #6471]
1196 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1197 for 2.16.
1198
edc21804
DM
11992012-03-16 David S. Miller <davem@davemloft.net>
1200
77e927af
DM
1201 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1202 warnings.
1203
374976dd
DM
1204 [BZ #6471]
1205 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1206 properly.
1207 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1208 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1209 sysdep_routines when subdir is sysvipc.
1210 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1211 __getshmlba helper.
1212
edc21804
DM
1213 * sysdeps/sparc/fpu/libm-test/ulps: Update.
1214
473c3ef3
L
12152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1216
1217 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1218 [__LP64__].
1219
eb0f39b6
L
12202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1221
1222 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1223 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1224 (__lround): Renamed to ...
1225 (__llround): This. Replace long int with long long int.
1226 Define lround functions as aliases of llround functions.
1227 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1228
6b6cd74b
L
12292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1230
1231 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1232 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
1233 adresses to uintptr_t. Replace "long int" and "unsigned long
1234 int" with "greg_t" on va_arg.
1235
f1a77b01
L
12362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1237
1238 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1239 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1240
1241 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1242 Move e_machine check before EI_CLASS check. Handle x32
1243 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1244 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1245 SKIP_EM_IA_64 and include
1246 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1247
1248 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1249 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1250 (add_system_dir): New macro.
1251
1252 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1253 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1254
11b90b9f
JM
12552012-03-16 Joseph Myers <joseph@codesourcery.com>
1256
c36e1d23
JM
1257 [BZ #2551]
1258 [BZ #2552]
1259 [BZ #2553]
1260 [BZ #2554]
1261 [BZ #2562]
1262 [BZ #2563]
1263 [BZ #2565]
1264 [BZ #2566]
1265 [BZ #2576]
1266 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1267 (y0): Likewise.
1268 * math/w_j0f.c (j0f): Likewise.
1269 (y0f): Likewise.
1270 * math/w_j0l.c (__j0l): Likewise.
1271 (__y0l): Likewise.
1272 * math/w_j1.c (j1): Likewise.
1273 (y1): Likewise.
1274 * math/w_j1f.c (j1f): Likewise.
1275 (y1f): Likewise.
1276 * math/w_j1l.c (__j1l): Likewise.
1277 (__y1l): Likewise.
1278 * math/w_jn.c (jn): Likewise.
1279 (yn): Likewise.
1280 * math/w_jnf.c (jnf): Likewise.
1281 (ynf): Likewise.
1282 * math/w_jnl.c (__jnl): Likewise.
1283 (__ynl): Likewise.
1284 * math/libm-test.inc (j0_test): Add more tests.
1285 (j1_test): Likewise.
1286 (jn_test): Likewise. Add trailing semicolon to existing test.
1287 (y0_test): Likewise.
1288 (y1_test): Likewise.
1289 * sysdeps/i386/fpu/libm-test-ulps: Update.
1290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1291
11b90b9f
JM
1292 [BZ #13851]
1293 [BZ #13854]
1294 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1295 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1296 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1297 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1298 (__tanl): Set errno for infinite argument.
1299 * sysdeps/i386/fpu/mptan.c: Remove.
1300 * sysdeps/i386/fpu/s_tan.S: Likewise.
1301 * sysdeps/i386/fpu/s_tanl.S: Likewise.
1302 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1303 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1304 * math/libm-test.inc (tan_test): Add more tests and enable more
1305 tests for double and long double.
1306 * sysdeps/i386/fpu/libm-test-ulps: Update.
1307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1308
6a1bd2a1
JK
13092012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1310
1311 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1312 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1313
10a803e0
RM
13142012-03-16 Roland McGrath <roland@hack.frob.com>
1315
1316 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1317 * configure.in: Use it for both main tree and add-ons.
1318 * configure: Regenerated.
1319
f196c7f7
L
13202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1321
1322 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1323
8848d99d
JM
13242012-03-16 Joseph Myers <joseph@codesourcery.com>
1325
96cbe7f4
JM
1326 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1327 in comment.
1328
8848d99d
JM
1329 [BZ #13851]
1330 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1331 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1332 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1333 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1334 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1335 infinite argument.
1336 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1337 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1338 != 0 for prec == 2.
1339 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1340 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1341 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1342 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1343 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1344 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1345 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1346 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1347 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1348 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1349 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1350 * math/libm-test.inc (cos_test): Add more tests and enable more
1351 tests for long double.
1352 (sin_test): Likewise.
1353 (sincos_test): Likewise.
1354 * sysdeps/i386/fpu/libm-test-ulps: Update.
1355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1356
dd7f4703
DM
13572012-03-16 David S. Miller <davem@davemloft.net>
1358
1359 * sysdeps/sparc/fpu/math_private.h: New file.
1360
006f1daa
DM
13612012-03-15 David S. Miller <davem@davemloft.net>
1362
c0c83bc8
DM
1363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1364 file.
e6a62e18 1365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
1366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1367 file.
e6a62e18
DM
1368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1369 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1370 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1371 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1372 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1373 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1374 sysdep routines.
1375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1376
88cb87d9
DM
1377 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1378 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1379
006f1daa 1380 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
1381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1382 sparc-ifunc.h
006f1daa 1383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
1384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1385 Likewise.
1386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1387 Likewise.
006f1daa
DM
1388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
1391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1392 Likewise.
006f1daa
DM
1393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
1397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1398 Likewise.
1399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1400 Likewise.
006f1daa
DM
1401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1405 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1406 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1407 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1408 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1409 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1410 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1411 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1412 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1413 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1414 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1415 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1416 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1417 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1418 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1419 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1420 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1421 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1422 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1423 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1424 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1425
11e0098e
AS
14262012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1427
1428 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1429 scaling.
1430 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1431
e85b09d0
AJ
14322012-03-15 Andreas Jaeger <aj@suse.de>
1433
1434 [BZ #13852]
1435 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1436 ieee754/flt-32 implementation for sin, cos and sincos.
1437 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1438 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1439 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1440 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1441 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1442 ieee754/flt-32 implementation for tan.
1443
1444 * math/libm-test.inc (cos_test): Enable some large input tests for
1445 float as well
1446 (sin_test): Likewise.
1447 (sincos_test): Likewise.
1448 (tan_test): Add tests for large input.
1449
1450 * sysdeps/i386/fpu/libm-test-ulps: Update.
1451
81c64153
AJ
14522012-03-15 Andreas Jaeger <aj@suse.de>
1453
1454 [BZ #13658]
1455 * math/libm-test.inc (cos_test): Add more test cases.
1456 (sin_test): Likewise.
1457 (sincos_test): Likewise.
1458
7bbfa5c6
AJ
14592012-03-15 Andreas Jaeger <aj@suse.de>
1460
1461 [BZ #13837]
1462 * math/libm-test.inc (cos_test): Add a test case for large input
1463 value.
1464 (sin_test): Likewise.
1465 (sincos_test): Likewise.
1466
14672012-03-15 Andreas Jaeger <aj@suse.de>,
1468 Joseph Myers <joseph@codesourcery.com>
1469
1470 [BZ #13658]
0671f479 1471 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
1472 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1473 * sysdeps/i386/fpu/branred.c: Likewise.
1474 * sysdeps/i386/fpu/dosincos.c: Likewise.
1475 * sysdeps/i386/fpu/mpa.c: Likewise.
1476 * sysdeps/i386/fpu/s_cos.S: Likewise.
1477 * sysdeps/i386/fpu/s_sin.S: Likewise.
1478 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1479 * sysdeps/i386/fpu/sincos32.c: Likewise.
1480
1481 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1482 Define.
1483 (libc_feupdateenv_53bit): Define.
1484 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1485 Define.
1486 (libc_feupdateenv_53bit): Define.
1487
1488 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1489 53 bit (without extend i386 double precision).
1490
1491 * math/libm-test.inc (sincos_test): Add tests for large input.
1492 (sin): Likewise.
1493 (cos): Likewise.
1494
1495 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1496
9cad04ea
AS
14972012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1498
1499 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1500
f7062b9a
DM
15012012-03-15 David S. Miller <davem@davemloft.net>
1502
1503 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1504 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1505 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1506 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1507 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1511 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1512 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1513 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1514 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1515 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1516 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1517 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
1518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1519 file.
f7062b9a 1520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
1521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1522 file.
f7062b9a 1523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
1524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1525 file.
f7062b9a 1526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
1527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1528 file.
f7062b9a
DM
1529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1530 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1531 fmin/fmax sysdep routines.
1532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1533
7bd951ff
DM
15342012-03-14 David S. Miller <davem@davemloft.net>
1535
559398ab
DM
1536 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1537 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1538 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1539 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1540 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1541 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1542 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1543 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1544 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1545 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1546 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1547 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1548 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1549 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1550 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1551 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1552 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1553 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1554 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1555 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1556 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1557 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1558 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1559 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1560 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1561 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1562 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1563 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1564 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1565 routines.
1566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1567 file.
559398ab 1568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
1569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1570 file.
559398ab 1571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
1572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1573 file.
559398ab 1574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
1575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1576 file.
559398ab 1577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
1578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1579 file.
559398ab 1580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
1581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1582 file.
1583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1584 file.
1585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1586 file.
1587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1588 file.
1589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1590 New file.
1591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1592 file.
1593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1594 file.
559398ab 1595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
1596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1597 file.
559398ab 1598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1600 file.
559398ab 1601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
1602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1603 file.
559398ab 1604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
1605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1606 VIS3 routines.
559398ab
DM
1607
1608 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1609 New file.
1610
5a1c1e32
DM
1611 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1612
eae47a36
DM
1613 * sysdeps/sparc/configure.in: New file.
1614 * sysdeps/sparc/configure: Generate.
1615 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1616 * configure: Regenerate.
1617 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1618 * config.make.in (have-as-vis3): New.
1619 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1620 available use -Av9d instead of -Av9a.
1621 * sysdeps/sparc/sparc64/Makefile: Likewise.
1622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
1623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1624 New file.
1625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1626 file.
1627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1628 New file.
1629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1630 file.
eae47a36
DM
1631 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1632 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1633 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1634 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1635 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1636
c0c83bc8
DM
1637 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1638 fzeros/fnegs to load 0x80000000 into a float register instead of
1639 using the stack.
7bd951ff
DM
1640 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1641
bd951ccb
JM
16422012-03-14 Joseph Myers <joseph@codesourcery.com>
1643
1644 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1645 bits/syscall.h.
1646 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1647 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1648 ($(inst_includedir)/bits/syscall.h): Remove rule.
1649 ($(objpfx)bits/syscall.d): Include instead of
1650 $(objpfx)syscall-list.d.
1651 (generated): Change syscall-list.h and syscall-list.d to
1652 bits/syscall.h and bits/syscall.d.
1653
bb4e6db2
RM
16542012-03-14 Roland McGrath <roland@hack.frob.com>
1655
1656 [BZ #13846]
1657 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1658
aa4a2ae1
JM
16592012-03-14 Joseph Myers <joseph@codesourcery.com>
1660
e456826d
JM
1661 [BZ #13841]
1662 * math/s_csqrt.c: Include <float.h>.
1663 (__csqrt): Scale large or subnormal inputs.
1664 * math/s_csqrtf.c: Likewise.
1665 * math/s_csqrtl.c: Likewise.
1666 * math/libm-test.inc (csqrt_test): Add more tests.
1667 * sysdeps/i386/fpu/libm-test-ulps: Update.
1668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1669
aa4a2ae1
JM
1670 [BZ #13840]
1671 * math/libm-test.inc (hypot_test): Add more tests.
1672
7c10fd35
DM
16732012-03-13 David S. Miller <davem@davemloft.net>
1674
1675 [BZ #13840]
1676 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1677 double-precision for the calculation instead of scaling.
1678
f453b98b
JM
16792012-03-13 Joseph Myers <joseph@codesourcery.com>
1680
1681 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1682 manipulate bits before adding and subtracting TWO52[sx].
1683 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1684 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1685 Likewise.
1686 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1687
09a3453f
DM
16882012-03-13 David S. Miller <davem@davemloft.net>
1689
8e59da90
DM
1690 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1691 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1692 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1693 rtld-global-offsets.h
1694 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1695
2a8ab7f2
DM
1696 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1697 large parameters.
1698
10f62770
DM
1699 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1700
5f0bdb18
DM
1701 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1702 'err' in the ifdef scope in which it is actually used.
1703
09a3453f
DM
1704 * nss/nss_db/db-init.c: Include string.h
1705
b4b2eb5e
DM
17062012-03-12 David S. Miller <davem@davemloft.net>
1707
98bb2f1c
DM
1708 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1709 masking out of the most significant byte of random value used.
1710 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1711 Fix coding style in previous change.
1712
b4b2eb5e
DM
1713 * sysdeps/unix/sysv/linux/kernel-features.h
1714 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1715 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1716 expression.
1717 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1718 later.
1719
6e226b09
DM
17202012-03-11 David S. Miller <davem@davemloft.net>
1721
a1bcbd40
DM
1722 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1723 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1724 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1725 for 'resultvar' otherwise things get truncated on 64-bit.
1726
cb9d6174
DM
1727 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1728 Fix masking out of the most significant byte of random value used.
1729
6e226b09
DM
1730 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1731
058c132d
AS
17322012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1733
1734 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1735
2d2cd515
DM
17362012-03-09 David S. Miller <davem@davemloft.net>
1737
1738 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1739 variables with appropriate CPP guards.
1740 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1741 frame pointer, not the stack pointer. Correct layout comments. Fix test
1742 on resulting framesize and the management of the outregs buffer for pltexit.
1743 Preserve floating point return values across _dl_call_pltexit call.
1744 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1745 framesize and the management of the outregs buffer for pltexit.
1746 Preserve floating point return values across _dl_call_pltexit
1747 call.
1748 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1749 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1750 (print_exit): Fix format string for return register value.
1751
9a07f9d0
JM
17522012-03-10 Joseph Myers <joseph@codesourcery.com>
1753
1754 * sunrpc/Makefile (others): Add rpcgen.
1755 ($(objpfx)rpcgen): Remove special build rule and dependency on
1756 libc.
1757 * sunrpc/rpcgen.c: New file.
1758
547b5e30
PE
17592012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1760
c524201a
PE
1761 [BZ #13673]
1762 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1763 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1764 * sysdeps/i386/crti.S: Likewise.
1765 * sysdeps/i386/crtn.S: Likewise.
1766 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1767 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1768 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1769 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1770 * sysdeps/sh/crti.S: Likewise.
1771 * sysdeps/sh/crtn.S: Likewise.
1772 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1773
7b6235f2
PE
1774 [BZ #13673]
1775 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1776 with URL.
1777 * locale/programs/locfile-kw.gperf: Likewise.
1778 * locale/programs/charmap-kw.h: Regenerated.
1779 * locale/programs/locfile-kw.h: Likewise.
1780
547b5e30
PE
1781 [BZ #13673]
1782 * intl/plural.y: Replace FSF snail mail address with URL.
1783 * intl/plural.c: Regenerated.
1784
5f0a5dae
RH
17852012-03-09 Richard Henderson <rth@twiddle.net>
1786
1787 * include/math_private.h: Remove file.
1788 * math/math_private.h: Move file ...
1789 * sysdeps/generic/math_private.h: ... here.
1790
b8c03620
RH
1791 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1792 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1793 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1794
4e234f5d 1795 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
1796 and <math_private.h>.
1797 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1798 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1799 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1800 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1801 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1802 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1803 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1804 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1805 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1806 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1807 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1808 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1809 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1810 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1811 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1812 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1813 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1814 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1815 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1816 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1817 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1818 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1819 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1820 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1821 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1822 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1823 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1824 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1825 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1826 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1827 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1828 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1829 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1830 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1831 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1832 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1833 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1834 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1835 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1836 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1837 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1838 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1839 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1840 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1841 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1842 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1843 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1844 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1845 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1846 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1847 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1848 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1849 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1850 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1851 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1852 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1853 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1854 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1855 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1856 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1857 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1858 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1859 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1860 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1861 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1862 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1863 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1864 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1865 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1866 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1867 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1868 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1869 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1870 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1871 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1872 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1873 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1874 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1875 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1876 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1877 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1878 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1879 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1880 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1881 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1882 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1883 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1884 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1885 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1886 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1887 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1888 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1889 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1890 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1891 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1892 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1893 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1894 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1895 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1896 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1897 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1898 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1899 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1900 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1901 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1902 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1903 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1904 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1905 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1906 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1907 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1908 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1909 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1910 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1911 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1912 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1913 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1914 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1915 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1916 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1917 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1918 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1919 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1920 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
1921 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1922 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1923 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1924 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
1925 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1926 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
1927 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
1928 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1929 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1930 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
1931 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
1932 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1933 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1934 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1935 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
1936 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1937 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1938 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1939 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1940 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
1941 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
1942 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1943 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1944 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1945 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1946 * sysdeps/ieee754/k_standard.c: Likewise.
1947 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1948 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1949 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1950 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1951 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1952 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1953 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1954 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1955 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1956 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1957 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1958 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1959 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1960 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1961 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1962 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1963 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1964 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1965 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1966 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1967 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1968 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1969 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1970 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1971 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1972 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1973 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1974 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1975 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1976 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1977 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1978 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1979 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1980 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1981 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1982 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1983 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1984 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
1985 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1986 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1987 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1988 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1989 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1990 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1991 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1992 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1993 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1994 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1995 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1996 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1997 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1998 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1999 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2000 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2001 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2002 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2003 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2004 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2005 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2006 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2007 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2008 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2009 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2010 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2011 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2012 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2013 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2014 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2015 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2016 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2017 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2018 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2019 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2020 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2021 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2022 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2023 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2024 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2025 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2026 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2027 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2028 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2029 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2030 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2031 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2032 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2033 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2034 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2035 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2036 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2037 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2038 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2039 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2040 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2041 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2042 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2043 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2044 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2045 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2046 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2047 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2048 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2049 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2050 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2051 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2052 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2053 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2054 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2055 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2056 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2057 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2058 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2059 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2060 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2061 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2062 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2063 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2064 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2065 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2066 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2067 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2068 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2069 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2070 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2071 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2072 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2073 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2074 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2075 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2076 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2077 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2078 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2079 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2080 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2081 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2082 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2083 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
2084 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2085 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2086 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
2087 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
2088 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2089 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
2090 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
2091 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2092 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2093 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2094 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2095 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2096 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
2097 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2098 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2099 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2100 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2101 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
2102 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
2103 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2104 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2105 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2106 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2107 * sysdeps/ieee754/s_lib_version.c: Likewise.
2108 * sysdeps/ieee754/s_matherr.c: Likewise.
2109 * sysdeps/ieee754/s_signgam.c: Likewise.
2110 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2111 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2112 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2113 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2114 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2115 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2116 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2117 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2118 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2119 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2120 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2121 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2122 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2123 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2124 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2125 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2126 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2127 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2128 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2129 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2130 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 2131
1991fa03
JM
21322012-03-09 Joseph Myers <joseph@codesourcery.com>
2133
2134 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2135 * sunrpc/rpc_main.c: Likewise.
2136 * sunrpc/rpc_svcout.c: Likewise.
2137
60d6f5a6
DM
21382012-03-09 David S. Miller <davem@davemloft.net>
2139
2140 * include/math_private.h: New file.
2141
4962050e
JM
21422012-03-09 Joseph Myers <joseph@codesourcery.com>
2143
02a6f887
JM
2144 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2145 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2146 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2147 from <bits/socket_type.h>.
2148 (enum __socket_type): Don't define here.
2149 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2150 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2151 bits/socket_type.h.
2152
c6e013c1
JM
2153 [BZ #13566]
2154 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2155 checking __USE_GNU.
2156
4962050e
JM
2157 * Makerules ($(inst_includedir)/%.h): New rule.
2158 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2159 (install-others): Remove variable setting.
2160 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2161
38842f45
RH
21622012-03-08 Richard Henderson <rth@twiddle.net>
2163
67bb6da6
RH
2164 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2165 from macro to inline function; merge with the
2166 !__LIBC_INTERNAL_MATH_INLINES version.
2167 (__ieee754_sqrtf): Likewise.
2168
15194b4b
RH
2169 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2170 to inline function.
2171 (__rintf, __floor, __floorf): Likewise.
2172
64e21ede
RH
2173 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2174 macro to inline function.
2175 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2176
38842f45
RH
2177 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2178 not <math/math_private.h>.
2179
c64bf5fe
DM
21802012-03-08 David S. Miller <davem@davemloft.net>
2181
2182 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2183 copyright year.
2184 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2185
82d86f28
TS
21862012-03-08 Thomas Schwinge <thomas@codesourcery.com>
2187
2188 * resolv/gai_misc.c (handle_requests): Fix struct timespec
2189 normalization.
2190 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2191 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2192
aea5d727
UD
21932012-03-08 Ulrich Drepper <drepper@gmail.com>
2194
2195 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
2196 be defined individually, they must be defined as a block. Define
2197 S for printing a string instead of hidint the different by using a
2198 macro for adding the 'l'.
2199 * stdio-common/tst-fphex-wide.c: Adjust.
2200
70bca0a3
MP
22012012-03-07 Marek Polacek <polacek@redhat.com>
2202
2203 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2204
65b81130
MP
22052012-03-08 Marek Polacek <polacek@redhat.com>
2206
2207 [BZ #13806]
2208 * stdio-common/Makefile (tests): Add tst-fphex-wide.
2209 * stdio-common/tst-fphex.c: Define a few macros to make the
2210 test reusable. Use them.
2211 * stdio-common/tst-fphex-wide.c: New file.
2212
07037eeb
JM
22132012-03-08 Joseph Myers <joseph@codesourcery.com>
2214
a7a93d50
JM
2215 [BZ #6911]
2216 * manual/macros.texi (gnusystems): New macro.
2217 (nongnusystems): Likewise.
2218 (gnulinuxhurdsystems): Likewise.
2219 (gnuhurdsystems): Likewise..
2220 (gnulinuxsystems): Likewise.
2221 * manual/charset.texi: Use new macros or @theglibc{} to refer to
2222 variants of the GNU system, not "GNU system".
2223 * manual/conf.texi: Likewise.
2224 * manual/errno.texi: Likewise. Update example of errno macro
2225 expansion.
2226 * manual/filesys.texi: Likewise.
2227 (getumask): Document as specific to GNU/Hurd.
2228 * manual/install.texi: Likewise. Reword some references to
2229 GNU/Linux.
2230 * manual/intro.texi: Likewise.
2231 * manual/io.texi: Likewise.
2232 (File Name Portability): Detail which constraints are inapplicable
2233 to all GNU systems and which are only inapplicable to GNU/Hurd.
2234 * manual/job.texi: Likewise.
2235 * manual/llio.texi: Likewise.
2236 (O_NOCTTY): Document as present on GNU/Linux.
2237 * manual/maint.texi: Likewise.
2238 * manual/memory.texi: Likewise.
2239 * manual/pattern.texi: Likewise.
2240 * manual/pipe.texi: Likewise.
2241 * manual/process.texi: Likewise.
2242 * manual/resource.texi: Likewise.
2243 (RUSAGE_CHILDREN): Remove statement about specifying a particular
2244 child on GNU/Hurd.
2245 * manual/setjmp.texi: Likewise.
2246 * manual/signal.texi: Likewise.
2247 * manual/startup.texi: Likewise.
2248 * manual/stdio.texi: Likewise.
2249 * manual/terminal.texi: Likewise.
2250 (ONLCR): Document as POSIX.
2251 (OXTABS): Document availability on GNU/Linux as XTABS.
2252 (ONOEOT): Document availability separately from other bits.
2253 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2254 * manual/time.texi: Likewise.
2255 * manual/users.texi: Likewise.
2256 * INSTALL: Regenerated.
2257 * sysdeps/gnu/errlist.c: Regenerated.
2258
07037eeb
JM
2259 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2260 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2261 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
2262 puts.
2263 * configure: Regenerated.
2264
d1d3431a
JM
22652012-03-07 Joseph Myers <joseph@codesourcery.com>
2266
af6a1e37
JM
2267 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2268 default includes instead of AC_HEADER_CHECK.
2269 * sysdeps/i386/configure: Regenerated.
2270
d1d3431a
JM
2271 [BZ #10716]
2272 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2273 * math/s_cacoshf.c (__cacoshf): Likewise.
2274 * math/s_cacoshl.c (__cacoshl): Likewise.
2275 * math/s_casinh.c (__casinh): Set signs of result from argument.
2276 * math/s_casinhf.c (__casinhf): Likewise.
2277 * math/s_casinhl.c (__casinhl): Likewise.
2278 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2279 (casinh_test): Add more tests.
2280 * sysdeps/i386/fpu/libm-test-ulps: Update.
2281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2282
482ff4da
UD
22832012-03-07 Ulrich Drepper <drepper@gmail.com>
2284
872fda05
UD
2285 * po/zh_TW.po: Update from translation team.
2286
a4300c7a
UD
2287 * login/Makefile (distribute): Remove variable.
2288 * catgets/Makefile: Likewise.
2289 * mach/Makefile: Likewise.
2290 * malloc/Makefile: Likewise.
2291 * misc/Makefile: Likewise.
2292 * iconv/Makefile: Likewise.
2293 * nscd/Makefile: Likewise.
2294 * hurd/Makefile: Likewise.
2295 * manual/Makefile: Likewise.
2296 * locale/Makefile: Likewise.
2297 * intl/Makefile: Likewise.
2298 * conform/Makefile: Likewise.
2299 * nss/Makefile: Likewise.
2300 * time/Makefile: Likewise.
2301 * soft-fp/Makefile: Likewise.
2302 * dirent/Makefile: Likewise.
2303 * gmon/Makefile: Likewise.
2304 * po/Makefile: Likewise.
2305 * rt/Makefile: Likewise.
2306 * socket/Makefile: Likewise.
2307 * math/Makefile: Likewise.
2308 * signal/Makefile: Likewise.
2309 * debug/Makefile: Likewise.
2310 * elf/Makefile: Likewise.
2311 * timezone/Makefile: Likewise.
2312 * stdlib/Makefile: Likewise.
2313 * iconvdata/Makefile: Likewise.
2314 * sunrpc/Makefile: Likewise.
2315 * io/Makefile: Likewise.
2316 * argp/Makefile: Likewise.
2317 * inet/Makefile: Likewise.
2318 * hesiod/Makefile: Likewise.
2319 * grp/Makefile: Likewise.
2320 * csu/Makefile: Likewise.
2321 * wctype/Makefile: Likewise.
2322 * crypt/Makefile: Likewise.
2323 * libio/Makefile: Likewise.
2324 * string/Makefile: Likewise.
2325 * nis/Makefile: Likewise.
2326 * resolv/Makefile: Likewise.
2327 * stdio-common/Makefile: Likewise.
2328 * wcsmbs/Makefile: Likewise.
2329 * dlfcn/Makefile: Likewise.
2330 * posix/Makefile: Likewise.
2331
482ff4da
UD
2332 * timezone/Makefile: Don't install timezone files, just the programs
2333 and scripts.
2334
f72ed77d
UD
23352012-03-06 Ulrich Drepper <drepper@gmail.com>
2336
a000466f
UD
2337 * nss/databases.def: Add missing gshadow entry.
2338
f72ed77d
UD
2339 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2340
a53b7a4e
MP
23412012-03-06 Marek Polacek <polacek@redhat.com>
2342
2343 [BZ #13726]
2344 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2345 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2346 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2347 * stdio-common/tst-long-dbl-fphex.c: New file.
2348
e9258400
DM
23492012-03-06 David S. Miller <davem@davemloft.net>
2350
2351 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2352 (set_obp_int): New function.
2353 (get_obp_int): New function.
2354 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
2355 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2356 Avoid unused variable warnings on 'val' and use builtin_expect.
2357 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2358 __builtin_expect.
e9258400
DM
2359 (INLINE_CLONE_SYSCALL): Likewise.
2360
3bd2c723
DM
23612012-03-05 David S. Miller <davem@davemloft.net>
2362
2363 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2364
bbb78d03
AS
23652012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2366
884c5db4
AS
2367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2368
bbb78d03
AS
2369 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2370 only for |x| >= 40.
2371 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2372
1c9f702a 23732012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
2374
2375 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2376 Replace gettimeofday with __vdso_gettimeofday.
2377
7be16f82
RM
2378 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2379 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2380 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
2381
2382 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2383 time with __vdso_time.
2384
ed58a00f
JM
23852012-03-05 Joseph Myers <joseph@codesourcery.com>
2386
2387 * manual/lang.texi (size_t): Note types to which size_t may be
2388 equivalent with the GNU C Library, but do not describe when
2389 differences between them are significant.
2390
30ee4ced
AJ
23912012-03-05 Andreas Jaeger <aj@suse.de>
2392
2393 * sysdeps/i386/fpu/libm-test-ulps: Update.
2394
b7cd39e8
JM
23952012-03-05 Joseph Myers <joseph@codesourcery.com>
2396
2397 [BZ #3976]
2398 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2399 (__ieee754_pow): Save and restore rounding mode and use
2400 round-to-nearest for main computations.
2401 * math/libm-test.inc (pow_test_tonearest): New function.
2402 (pow_test_towardzero): Likewise.
2403 (pow_test_downward): Likewise.
2404 (pow_test_upward): Likewise.
2405 (main): Call the new functions.
2406 * sysdeps/i386/fpu/libm-test-ulps: Update.
2407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
2408
2409 [BZ #3976]
2410 * math/libm-test.inc (cosh_test_tonearest): New function.
2411 (cosh_test_towardzero): Likewise.
2412 (cosh_test_downward): Likewise.
2413 (cosh_test_upward): Likewise.
2414 (sinh_test_tonearest): Likewise.
2415 (sinh_test_towardzero): Likewise.
2416 (sinh_test_downward): Likewise.
2417 (sinh_test_upward): Likewise.
2418 (main): Call the new functions.
2419 * sysdeps/i386/fpu/libm-test-ulps: Update.
2420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2421
6c6a98c9
TV
24222012-03-05 Tom de Vries <tom@codesourcery.com>
2423
2424 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2425 default stack guard is set in last bytes.
2426 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2427
21bb2d2e 24282012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 2429
21bb2d2e 2430 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 2431
21bb2d2e
AJ
2432 [BZ #13656]
2433 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2434 possibly allocate from heap instead of stack.
2435 * stdio-common/bug-vfprintf-nargs.c: New file.
2436 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 2437
c6922934
AS
24382012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2439
2440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2441
bc957d53
MP
24422012-03-03 Marek Polacek <polacek@redhat.com>
2443
2444 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2445 * math/math_private.h: Likewise.
2446 * stdlib/tst-strtod.c: Likewise.
2447 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2448 * sysdeps/x86_64/bits/atomic.h: Likewise.
2449
6358490d
DM
24502012-03-02 David S. Miller <davem@davemloft.net>
2451
2452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2456 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2457 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2458 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2459 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2460
01ae168d
RM
24612012-03-02 Roland McGrath <roland@hack.frob.com>
2462
d9a17c07
RM
2463 [BZ #13792]
2464 * manual/examples/README: New file, says the example source files
2465 can be used under GPL>=2.
2466 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2467 line containing just "*/".
2468 * manual/examples/add.c: Add copyright header (GPL>=2).
2469 * manual/examples/argp-ex1.c: Likewise.
2470 * manual/examples/argp-ex2.c: Likewise.
2471 * manual/examples/argp-ex3.c: Likewise.
2472 * manual/examples/argp-ex4.c: Likewise.
2473 * manual/examples/atexit.c: Likewise.
2474 * manual/examples/db.c: Likewise.
2475 * manual/examples/dir.c: Likewise.
2476 * manual/examples/dir2.c: Likewise.
2477 * manual/examples/execinfo.c: Likewise.
2478 * manual/examples/filecli.c: Likewise.
2479 * manual/examples/filesrv.c: Likewise.
2480 * manual/examples/fmtmsgexpl.c: Likewise.
2481 * manual/examples/genpass.c: Likewise.
2482 * manual/examples/inetcli.c: Likewise.
2483 * manual/examples/inetsrv.c: Likewise.
2484 * manual/examples/isockad.c: Likewise.
2485 * manual/examples/longopt.c: Likewise.
2486 * manual/examples/memopen.c: Likewise.
2487 * manual/examples/memstrm.c: Likewise.
2488 * manual/examples/mkfsock.c: Likewise.
2489 * manual/examples/mkisock.c: Likewise.
2490 * manual/examples/mygetpass.c: Likewise.
2491 * manual/examples/pipe.c: Likewise.
2492 * manual/examples/popen.c: Likewise.
2493 * manual/examples/rprintf.c: Likewise.
2494 * manual/examples/search.c: Likewise.
2495 * manual/examples/select.c: Likewise.
2496 * manual/examples/setjmp.c: Likewise.
2497 * manual/examples/sigh1.c: Likewise.
2498 * manual/examples/sigusr.c: Likewise.
2499 * manual/examples/stpcpy.c: Likewise.
2500 * manual/examples/strdupa.c: Likewise.
2501 * manual/examples/strftim.c: Likewise.
2502 * manual/examples/strncat.c: Likewise.
2503 * manual/examples/subopt.c: Likewise.
2504 * manual/examples/swapcontext.c: Likewise.
2505 * manual/examples/termios.c: Likewise.
2506 * manual/examples/testopt.c: Likewise.
2507 * manual/examples/testpass.c: Likewise.
2508 * manual/examples/timeval_subtract.c: Likewise.
2509
01ae168d
RM
2510 [BZ #13792]
2511 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2512 function to ...
2513 * manual/timeval_subtract.c.texi: ... here, new file.
2514
49efa33d
DM
25152012-03-02 David S. Miller <davem@davemloft.net>
2516
2517 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2518
28afd92d
JM
25192012-03-02 Joseph Myers <joseph@codesourcery.com>
2520
804360ed
JM
2521 [BZ #3976]
2522 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2523 (__sin): Save and restore rounding mode and use round-to-nearest
2524 for all computations.
2525 (__cos): Save and restore rounding mode and use round-to-nearest
2526 for all computations.
2527 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2528 <fenv.h>.
2529 (tan): Save and restore rounding mode and use round-to-nearest for
2530 all computations.
2531 * math/libm-test.inc (cos_test_tonearest): New function.
2532 (cos_test_towardzero): Likewise.
2533 (cos_test_downward): Likewise.
2534 (cos_test_upward): Likewise.
2535 (sin_test_tonearest): Likewise.
2536 (sin_test_towardzero): Likewise.
2537 (sin_test_downward): Likewise.
2538 (sin_test_upward): Likewise.
2539 (tan_test_tonearest): Likewise.
2540 (tan_test_towardzero): Likewise.
2541 (tan_test_downward): Likewise.
2542 (tan_test_upward): Likewise.
2543 (main): Call the new functions.
2544 * sysdeps/i386/fpu/libm-test-ulps: Update.
2545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2546
a6d06d7b
JM
2547 [BZ #10135]
2548 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2549 small n, then large n, before computing and testing k+n.
2550 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2551 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2552 Likewise.
2553 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2554 Likewise.
2555 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2556 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2557 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2558 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2559 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2560 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2561 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2562 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2563 * math/libm-test.inc (scalbn_test): Add more tests.
2564 (scalbln_test): Likewise.
2565
07e12bb3
JM
2566 * manual/filesys.texi (mode_t): Describe constraints on size and
2567 signedness, not exact equivalence to a particular type.
2568 (ino_t): Likewise.
2569 (ino64_t): Likewise.
2570 (dev_t): Likewise.
2571 (nlink_t): Likewise.
2572 (blkcnt_t): Likewise.
2573 (blkcnt64_t): Likewise.
2574 * manual/llio.texi (off_t): Likewise.
2575
28afd92d
JM
2576 [BZ #3976]
2577 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2578 (__ieee754_exp): Save and restore rounding mode and use
2579 round-to-nearest for all computations.
2580 * math/libm-test.inc (exp_test_tonearest): New function.
2581 (exp_test_towardzero): Likewise.
2582 (exp_test_downward): Likewise.
2583 (exp_test_upward): Likewise.
2584 (main): Call the new functions.
2585 * sysdeps/i386/fpu/libm-test-ulps: Update.
2586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2587
b1eeb65d
CD
25882012-03-01 Chris Demetriou <cgd@google.com>
2589
2590 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2591 have predictable order.
2592
53362a4b
DM
25932012-03-01 David S. Miller <davem@davemloft.net>
2594
3c969083
DM
2595 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2596
759707de
DM
2597 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2598 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2599 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2600 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2601
dfdb8ff2
DM
2602 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2603 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2604 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2606 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2607 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2608 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2609 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2610 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2611
ead89f96
DM
2612 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2613
7f66bd07
DM
2614 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2615 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2616 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2617
53362a4b
DM
2618 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2619 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2620 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2621 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2622 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2623 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2624 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2625 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2626 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2627 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2628 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2629 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2630 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2631 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2632 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2633 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2634 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2635 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2636 * sysdeps/sparc/elf/configure: Regenerated.
2637
7b1902cb
JM
26382012-03-01 Joseph Myers <joseph@codesourcery.com>
2639
bec039bc
JM
2640 * configure.in (AS, LD): Require binutils 2.20 or later.
2641 * configure: Regenerated.
2642 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2643 as required minimum version.
2644 * INSTALL: Regenerated.
2645
7b1902cb
JM
2646 [BZ #2541]
2647 [BZ #4108]
2648 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2649 before squaring exponent.
2650 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2651 bottom long double and 27 bits of top long double before squaring
2652 exponent.
2653 * math/libm-test.inc (erfc_test): Add more tests.
2654 * sysdeps/i386/fpu/libm-test-ulps: Update.
2655 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2657
f775c276
KT
26582012-03-01 Kai Tietz <ktietz@redhat.com>
2659
2660 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2661 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2662 containing bit-fields.
2663 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2664 * soft-fp/single.h (_FP_UNION_S): Likewise.
2665 * soft-fp/double.h (_FP_UNION_D): Likewise.
2666
5b8a4d4a
JM
26672012-02-29 Joseph Myers <joseph@codesourcery.com>
2668
0bab47b6
JM
2669 [BZ #13786]
2670 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2671 not include ../strcmp.S.
2672 [USE_AS_STRNCASECMP_L]: Likewise.
2673 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2674 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2675 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2676 (__strncasecmp_l_ia32): Define as alias to
2677 __strncasecmp_l_nonascii.
2678
0fcad3e2
JM
2679 [BZ #5794]
2680 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2681 * sysdeps/i386/fpu/libm-test-ulps: Update.
2682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2683
5b8a4d4a
JM
2684 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2686
8fdceb2e
JL
26872012-02-29 Jeff Law <law@redhat.com>
2688
2689 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2690 out of bounds read.
2691
1f393a11
MP
26922012-02-29 Marek Polacek <polacek@redhat.com>
2693
2694 [BZ #13706]
2695 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2696 * elf/Makefile: Add rules to run tst-unused-dep.out.
2697
8847f037
DM
26982012-02-28 David S. Miller <davem@davemloft.net>
2699
2700 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2701 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2702 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2703 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2704 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2705 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2706
169d7f11
JM
27072012-02-29 Joseph Myers <joseph@codesourcery.com>
2708
2709 * math/libm-test.inc (llround_test): Move one test from
2710 lround_test. Use TEST_f_L in moved test.
2711 (lround_test): Move misplaced test to llround_test. Add testcase
2712 from bug 2561.
2713
39adf059
UD
27142012-02-28 Ulrich Drepper <drepper@gmail.com>
2715
2716 * sysdeps/x86_64/fpu/e_expf.S: New file.
2717 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2718
71b5d1c5
SB
27192012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2720
2721 [BZ #13637]
2722 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2723 of remain_len that may cause incomplete multi-byte character and
2724 false match.
2725 * posix/bug-regex33.c: New file.
2726 * posix/Makefile (tests): Add bug-regex33.
2727
1f77f049
JM
27282012-02-28 Joseph Myers <joseph@codesourcery.com>
2729
2730 * manual/macros.texi: New file.
2731 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2732 * manual/libc.texinfo: Include macros.texi.
2733 * manual/creatute.texi: Likewise.
2734 * manual/install.texi: Likewise.
2735 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2736 @glibcadj{} in references to the GNU C Library.
2737 * manual/charset.texi: Likewise.
2738 * manual/conf.texi: Likewise.
2739 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2740 when not using those macros.
2741 * manual/creature.texi: Likewise.
2742 * manual/crypt.texi: Likewise.
2743 * manual/errno.texi: Likewise.
2744 * manual/filesys.texi: Likewise.
2745 * manual/header.texi: Likewise.
2746 * manual/install.texi: Likewise.
2747 * manual/intro.texi: Likewise.
2748 * manual/io.texi: Likewise.
2749 * manual/job.texi: Likewise.
2750 * manual/lang.texi: Likewise.
2751 * manual/libc.texiinfo: Likewise.
2752 * manual/llio.texi: Likewise.
2753 * manual/locale.texi: Likewise.
2754 * manual/maint.texi: Likewise.
2755 * manual/math.texi: Likewise.
2756 * manual/memory.texi: Likewise.
2757 * manual/message.texi: Likewise.
2758 * manual/nss.texi: Likewise.
2759 * manual/pattern.texi: Likewise.
2760 * manual/process.texi: Likewise.
2761 * manual/resource.texi: Likewise.
2762 * manual/search.texi: Likewise.
2763 * manual/setjmp.texi: Likewise.
2764 * manual/signal.texi: Likewise.
2765 * manual/socket.texi: Likewise.
2766 * manual/startup.texi: Likewise.
2767 * manual/stdio.texi: Likewise.
2768 * manual/string.texi: Likewise.
2769 * manual/sysinfo.texi: Likewise.
2770 * manual/syslog.texi: Likewise.
2771 * manual/terminal.texi: Likewise.
2772 * manual/time.texi: Likewise.
2773 * manual/users.texi: Likewise.
2774 * INSTALL: Regenerated.
2775 * NOTES: Regenerated.
d40c5d54 2776 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 2777
450bf206
AS
27782012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2779
2780 * include/dirent.h: Include <dirstream.h> before
2781 <dirent/dirent.h>.
2782
741a235b
DM
27832012-02-28 David S. Miller <davem@davemloft.net>
2784
2785 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2786 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2787 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2788 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2789
d6b5aa58
DM
27902012-02-27 David S. Miller <davem@davemloft.net>
2791
1aff59a3
DM
2792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2794 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2795 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2796
d6b5aa58
DM
2797 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2798 frame pointer instead of stack pointer relative arg slot.
2799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2800 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2801 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2802
433f48bf
CD
28032012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2804
2805 [BZ #3992]
2806 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2807
d674b76d
DM
28082012-02-27 David S. Miller <davem@davemloft.net>
2809
2810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2814 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2815 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2816 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2817 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2818
0e7727f7
JM
28192012-02-27 Joseph Myers <joseph@codesourcery.com>
2820
2821 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2822 later. Allow versions 5-9.
43be4ca2 2823 * configure: Regenerated.
0e7727f7
JM
2824 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2825 required minimum version and 4.6 as recommended version. Do not
2826 mention bugs in GCC 2.7 and 2.8.
43be4ca2 2827 * INSTALL: Regenerated.
0e7727f7 2828
a78bc654
DM
28292012-02-27 David S. Miller <davem@davemloft.net>
2830
428d5830
DM
2831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2835 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2836 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2837 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2838 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2839
a78bc654
DM
2840 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2841 manipulate bits before adding and subtracting TWO112[sx].
2842 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2843
4579f81c
RM
28442012-02-27 Roland McGrath <roland@hack.frob.com>
2845
36c8acb4
RM
2846 [BZ #13775]
2847 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2848 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2849 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2850 being in POSIX, because they are in 1003.1-2008.
2851
84ad622b
RM
2852 * rt/tst-aio.c: Include <fcntl.h>.
2853 * rt/tst-aio7.c: Likewise.
2854 * rt/tst-aio64.c: Likewise.
2855
4579f81c
RM
2856 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2857
abd923db
JM
28582012-02-27 Joseph Myers <joseph@codesourcery.com>
2859
2860 * manual/install.texi (--with-headers): Describe headers as
2861 interface headers, not private headers.
2862 (Specific advice for GNU/Linux systems): Describe use of headers
2863 from "make headers_install", not private headers from older
2864 kernels.
43be4ca2 2865 * INSTALL: Regenerated.
abd923db
JM
2866 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2867 Change to 2.6.19.
2868 * sysdeps/unix/sysv/linux/configure: Regenerated.
2869
6664049b
JM
2870 * manual/llio.texi (fclean): Remove documentation.
2871
bb8b6697
JM
2872 * manual/Makefile (libc-texi-generated): New variable. Include
2873 version.texi.
2874 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2875 $(libc-texi-generated), not duplicated list of files.
2876 (version.texi, stamp-version): New rules.
2877 (realclean): Remove $(libc-texi-generated), not individual files
2878 from that list. Do not remove dir-add.texinfo.
2879 * manual/libc.texinfo: Comment out uses of edition numbers and
2880 references to printed manual. Remove last-updated dates.
2881 (EDITION): Comment out.
2882 (ISBN): Likewise.
2883 (VERSION, UPDATED): Remove.
2884 (version.texi): Include.
2885
12e5c3b9
AS
28862012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2887
2888 * sysdeps/posix/spawni.c: Include <signal.h>.
2889 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2890 * sysdeps/pthread/aio_fsync.c: Likewise.
2891
4efeffc1 28922012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 2893
ba63ba08
UD
2894 * conform/Makefile (tests): Run only when not cross-compiling and
2895 when fast-check is not defined.
2896
d94a4670
UD
2897 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2898 * conform/data/limits.h-data: Fixes for POSIX2008.
2899 * conform/run-conformtest.sh: Run all tests.
2900 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2901 headers.
2902 * include/bits/dlfcn.h: Likewise.
2903 * include/langinfo.h: Likewise.
2904 * include/monetary.h: Likewise.
2905 * include/sys/poll.h: Likewise.
2906
2907 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2908 for __USE_GNU.
2909 * posix/spawn.h: Define __need_sigset_t.
2910 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2911 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2912 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2913 to get sigevent_t only.
2914 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2915 only for __USE_GNU.
2916 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2917 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2918 process_vm_writev only for __USE_GNU.
2919 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
2920
2921 * conform/Makefile: For now ignore errors from run-conformtest.
2922 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
2923 POSIX to avoid namespace pollution. Don't prepend headers.
2924 * conform/data/aio.h-data: Fixes for POSIX testing.
2925 * conform/data/fcntl.h-data: Likewise.
2926 * conform/data/glob.h-data: Likewise.
2927 * conform/data/grp.h-data: Likewise.
2928 * conform/data/pthread.h-data: Likewise.
2929 * conform/data/pwd.h-data: Likewise.
2930 * conform/data/signal.h-data: Likewise.
2931 * conform/data/spawn.h-data: Likewise.
2932 * conform/data/stdio.h-data: Likewise.
2933 * conform/data/stdlib.h-data: Likewise.
2934 * conform/data/stropts.h-data: Likewise.
2935 * conform/data/sys/mman.h-data: Likewise.
2936 * conform/data/sys/stat.h-data: Likewise.
2937 * conform/data/sys/types.h-data: Likewise.
2938 * conform/data/sys/wait.h-data: Likewise.
2939 * conform/data/time.h-data: Likewise.
2940 * conform/data/unistd.h-data: Likewise.
2941 * conform/data/utime.h-data: Likewise.
2942
2943 * io/sys/stat.h: fchmod was always in POSIX.
2944 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
2945 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
2946 * rt/aio.h: Define __need_timespec before including <time.h>.
2947 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
2948 struct. Add forward declaration of pthread_attr_t and use it in
2949 sigevent.
2950 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2951 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2952 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
2953 always remove CLK_TCK definition.
2954
c20105c3
AS
29552012-02-26 Andreas Schwab <schwab@linux-m68k.org>
2956
2957 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
2958
7a270350
UD
29592012-02-25 Ulrich Drepper <drepper@gmail.com>
2960
31341567
UD
2961 * conform/run-conformtest.sh: New file.
2962 * conform/Makefile: Run run-conformtest for tests.
2963 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
2964 support.
2965
2966 * conform/data/uchar.h-data: New file.
2967 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
2968 * conform/data/arpa/inet.h-data: Likewise.
2969 * conform/data/assert.h-data: Likewise.
2970 * conform/data/complex.h-data: Likewise.
2971 * conform/data/cpio.h-data: Likewise.
2972 * conform/data/ctype.h-data: Likewise.
2973 * conform/data/dirent.h-data: Likewise.
2974 * conform/data/dlfcn.h-data: Likewise.
2975 * conform/data/errno.h-data: Likewise.
2976 * conform/data/fcntl.h-data: Likewise.
2977 * conform/data/float.h-data: Likewise.
2978 * conform/data/fmtmsg.h-data: Likewise.
2979 * conform/data/fnmatch.h-data: Likewise.
2980 * conform/data/ftw.h-data: Likewise.
2981 * conform/data/glob.h-data: Likewise.
2982 * conform/data/grp.h-data: Likewise.
2983 * conform/data/iconv.h-data: Likewise.
2984 * conform/data/inttypes.h-data: Likewise.
2985 * conform/data/langinfo.h-data: Likewise.
2986 * conform/data/libgen.h-data: Likewise.
2987 * conform/data/limits.h-data: Likewise.
2988 * conform/data/locale.h-data: Likewise.
2989 * conform/data/math.h-data: Likewise.
2990 * conform/data/monetary.h-data: Likewise.
2991 * conform/data/mqueue.h-data: Likewise.
2992 * conform/data/ndbm.h-data: Likewise.
2993 * conform/data/net/if.h-data: Likewise.
2994 * conform/data/netdb.h-data: Likewise.
2995 * conform/data/netinet/in.h-data: Likewise.
2996 * conform/data/nl_types.h-data: Likewise.
2997 * conform/data/poll.h-data: Likewise.
2998 * conform/data/pthread.h-data: Likewise.
2999 * conform/data/pwd.h-data: Likewise.
3000 * conform/data/regex.h-data: Likewise.
3001 * conform/data/sched.h-data: Likewise.
3002 * conform/data/search.h-data: Likewise.
3003 * conform/data/semaphore.h-data: Likewise.
3004 * conform/data/setjmp.h-data: Likewise.
3005 * conform/data/signal.h-data: Likewise.
3006 * conform/data/spawn.h-data: Likewise.
3007 * conform/data/stdarg.h-data: Likewise.
3008 * conform/data/stdio.h-data: Likewise.
3009 * conform/data/stdlib.h-data: Likewise.
3010 * conform/data/string.h-data: Likewise.
3011 * conform/data/strings.h-data: Likewise.
3012 * conform/data/stropts.h-data: Likewise.
3013 * conform/data/sys/ipc.h-data: Likewise.
3014 * conform/data/sys/mman.h-data: Likewise.
3015 * conform/data/sys/msg.h-data: Likewise.
3016 * conform/data/sys/resource.h-data: Likewise.
3017 * conform/data/sys/select.h-data: Likewise.
3018 * conform/data/sys/sem.h-data: Likewise.
3019 * conform/data/sys/shm.h-data: Likewise.
3020 * conform/data/sys/socket.h-data: Likewise.
3021 * conform/data/sys/stat.h-data: Likewise.
3022 * conform/data/sys/statvfs.h-data: Likewise.
3023 * conform/data/sys/time.h-data: Likewise.
3024 * conform/data/sys/timeb.h-data: Likewise.
3025 * conform/data/sys/times.h-data: Likewise.
3026 * conform/data/sys/types.h-data: Likewise.
3027 * conform/data/sys/uio.h-data: Likewise.
3028 * conform/data/sys/un.h-data: Likewise.
3029 * conform/data/sys/utsname.h-data: Likewise.
3030 * conform/data/sys/wait.h-data: Likewise.
3031 * conform/data/syslog.h-data: Likewise.
3032 * conform/data/tar.h-data: Likewise.
3033 * conform/data/termios.h-data: Likewise.
3034 * conform/data/utime.h-data: Likewise.
3035 * conform/data/utmpx.h-data: Likewise.
3036 * conform/data/varargs.h-data: Likewise.
3037 * conform/data/wchar.h-data: Likewise.
3038 * conform/data/wctype.h-data: Likewise.
3039 * conform/data/wordexp.h-data: Likewise.
3040
3041 * include/stropts.h: New file.
3042 * include/uchar.h: New file.
3043 * include/aio.h: Changes to allow conformtest.pl to use the headers.
3044 * include/assert.h: Likewise.
3045 * include/ctype.h: Likewise.
3046 * include/dirent.h: Likewise.
3047 * include/dlfcn.h: Likewise.
3048 * include/fcntl.h: Likewise.
3049 * include/fnmatch.h: Likewise.
3050 * include/glob.h: Likewise.
3051 * include/grp.h: Likewise.
3052 * include/libio.h: Likewise.
3053 * include/locale.h: Likewise.
3054 * include/math.h: Likewise.
3055 * include/net/if.h: Likewise.
3056 * include/netdb.h: Likewise.
3057 * include/netinet/in.h: Likewise.
3058 * include/pthread.h: Likewise.
3059 * include/pwd.h: Likewise.
3060 * include/regex.h: Likewise.
3061 * include/sched.h: Likewise.
3062 * include/search.h: Likewise.
3063 * include/setjmp.h: Likewise.
3064 * include/signal.h: Likewise.
3065 * include/stdio.h: Likewise.
3066 * include/stdlib.h: Likewise.
3067 * include/string.h: Likewise.
3068 * include/sys/cdefs.h: Likewise.
3069 * include/sys/mman.h: Likewise.
3070 * include/sys/msg.h: Likewise.
3071 * include/sys/resource.h: Likewise.
3072 * include/sys/select.h: Likewise.
3073 * include/sys/socket.h: Likewise.
3074 * include/sys/stat.h: Likewise.
3075 * include/sys/statvfs.h: Likewise.
3076 * include/sys/time.h: Likewise.
3077 * include/sys/times.h: Likewise.
3078 * include/sys/uio.h: Likewise.
3079 * include/sys/utsname.h: Likewise.
3080 * include/sys/wait.h: Likewise.
3081 * include/termios.h: Likewise.
3082 * include/time.h: Likewise.
3083 * include/ulimit.h: Likewise.
3084 * include/unistd.h: Likewise.
3085 * include/utime.h: Likewise.
3086 * include/wchar.h: Likewise.
3087 * include/wctype.h: Likewise.
3088 * include/wordexp.h: Likewise.
3089
3090 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3091
7a270350
UD
3092 * time/time.h: TIME_UTC must be a macro.
3093 Make timespec_get available for ISO C11 only as well.
3094
7724defc
UD
30952012-02-24 Ulrich Drepper <drepper@gmail.com>
3096
3097 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
3098 Reported by Peng Haitao <penght@cn.fujitsu.com>.
3099
6b1d1d46
JM
31002012-02-24 Joseph Myers <joseph@codesourcery.com>
3101
3102 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 3103
0f8bbd69
JM
31042012-02-24 Joseph Myers <joseph@codesourcery.com>
3105
3106 * manual/texinfo.tex: Update to version 2012-01-19.16.
3107
66ab80bc
JM
31082012-02-24 Joseph Myers <joseph@codesourcery.com>
3109
3110 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3111
74981cc5
RM
31122012-02-24 Roland McGrath <roland@hack.frob.com>
3113
ee968201
RM
3114 [BZ #13738]
3115 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3116 * manual/fdl-1.3.texi: New file.
3117 * manual/fdl-1.1.texi: File removed.
3118
74981cc5
RM
3119 [BZ #13738]
3120 * manual/libc.texinfo (FDL_VERSION): New @set.
3121 Use it for mention of FDL in cover text.
3122 (Documentation License): Use it in @include file name.
3123
7bb764bc
JM
31242012-02-22 Joseph Myers <joseph@codesourcery.com>
3125 Roland McGrath <roland@hack.frob.com>
3126
3127 [BZ #5461]
3128 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3129 not LONG_LONG_MAX and LONG_LONG_MIN.
3130 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3131 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
3132 name.
3133 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3134
6cbeae47
JM
31352012-02-22 Joseph Myers <joseph@codesourcery.com>
3136
3137 [BZ #2547]
3138 [BZ #11365]
3139 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3140 manipulate bits before adding and subtracting TWO23[sx].
3141 * math/libm-test.inc (nearbyint_test): Add more tests.
3142
fe45ce09
JM
31432012-02-22 Joseph Myers <joseph@codesourcery.com>
3144
3145 [BZ #2548]
3146 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3147 bits before adding and subtracting TWO23[sx].
3148 * math/libm-test.inc (rint_test): Add more tests.
3149 (rint_test_tonearest): Likewise.
3150 (rint_test_towardzero): Likewise.
3151 (rint_test_downward): Likewise.
3152 (rint_test_upward: Likewise.
3153
ff3b3d82
JM
31542012-02-22 Joseph Myers <joseph@codesourcery.com>
3155
3156 [BZ #10110]
3157 * include/stdc-predef.h: New file. Extracted from features.h.
3158 * include/features.h: Include stdc-predef.h.
3159 * Makefile (headers): Add stdc-predef.h.
3160 * CONFORMANCE (Compiler limitations): Update.
3161
ef0aab35
JM
31622012-02-22 Joseph Myers <joseph@codesourcery.com>
3163
3164 * manual/libc.texinfo (VERSION, UPDATED): Revert.
3165
58639409
DM
31662012-02-21 David S. Miller <davem@davemloft.net>
3167
3168 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3169 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3170
c0e70b25
DM
31712012-02-20 David S. Miller <davem@davemloft.net>
3172
3173 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3174 using a normal save/restore sequence, rather than allocating a
3175 dummy stack frame just to store a frame pointer and restore.
3176 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3177
fb06851d
JM
31782012-02-21 Joseph Myers <joseph@codesourcery.com>
3179
3180 * manual/install.texi: Fix stray word in line-wrapped comment.
3181
7a8b71c3
DM
31822012-02-20 David S. Miller <davem@davemloft.net>
3183
d510c123
DM
3184 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3185 both binutils and gcc support GOTDATA.
3186
0722d7c2
DM
3187 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3188 "rd %pc" in the PIC register setup sequences.
3189
3d2b3019
DM
3190 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3191 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3192 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3193 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3194 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3195 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3196 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3197 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3198 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3199 (SYSCALL_ERROR_HANDLER): Likewise.
3200 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3201 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3202 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3203 (SYSCALL_ERROR_HANDLER): Likewise.
3204
c80098a9
DM
3205 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3206 (HAVE_GCC_GOTDATA): New.
3207 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3208 relocation support in both binutils and gcc.
3209 * sysdeps/sparc/elf/configure: Regenerate.
3210
3a2545a0
DM
3211 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3212 * sysdeps/sparc/sparc32/elf/configure: Delete.
3213 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3214 * sysdeps/sparc/sparc64/elf/configure: Delete.
3215 * sysdeps/sparc/elf/configure.in: New file.
3216 * sysdeps/sparc/elf/configure: Generate.
3217
7a8b71c3
DM
3218 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3219 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3220 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3221 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3222 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3223
f1e86fca
JM
32242012-02-21 Joseph Myers <joseph@codesourcery.com>
3225
3226 * manual/install.texi: Do not mention specific glibc version
3227 numbers.
3228 * manual/libc.texinfo (VERSION, UPDATED): Update.
3229 (@copying): Use @copyright{} and range of years.
3230
0e7dfaef
JM
32312012-02-21 Joseph Myers <joseph@codesourcery.com>
3232
3233 [BZ #13695]
3234 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3235 [crti.S not in sysdirs] (generated): Do not append.
3236 [crti.S not in sysdirs] (omit-deps): Likewise.
3237 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3238 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3239 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3240 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3241 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3242 Likewise.
3243 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3244 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3245 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3246 * csu/defs.awk: Remove file.
3247 * sysdeps/generic/initfini.c: Likewise.
3248 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3249 variable.
3250 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3251 Likewise.
3252
599af3ca
JM
32532012-02-20 Joseph Myers <joseph@codesourcery.com>
3254
3255 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3256 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3257 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3258 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3259 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3260 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3261 <bits/epoll.h>.
3262 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3263 (__EPOLL_PACKED): Define to empty if not defined by
3264 <bits/epoll.h>.
3265 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3266 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3267 bits/epoll.h.
3268
0e499750
JM
32692012-02-20 Joseph Myers <joseph@codesourcery.com>
3270
3271 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3272 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3273 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3274 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3275 <bits/timerfd.h>.
3276 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3277 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3278 bits/timerfd.h.
3279
5ad91f6e
JM
32802012-02-20 Joseph Myers <joseph@codesourcery.com>
3281
3282 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3283 in C locale.
3284 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3285 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3286 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3288
06b99b02
AJ
32892012-02-20 Aurelien Jarno <aurelien@aurel32.net>
3290
3291 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3292 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3293
7638c0fd
AS
32942012-02-19 Andreas Schwab <schwab@linux-m68k.org>
3295
3296 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3297 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3298 defined.
3299 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3300 Likewise.
3301 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3302 entry for 2.16.
3303
92221550
AJ
33042012-02-19 Aurelien Jarno <aurelien@aurel32.net>
3305
3306 * math/w_acos.c: Use non-signaling floating-point comparisons.
3307 * math/w_acosf.c: Likewise.
3308 * math/w_acosh.c: Likewise.
3309 * math/w_acoshf.c: Likewise.
3310 * math/w_acoshl.c: Likewise.
3311 * math/w_acosl.c: Likewise.
3312 * math/w_asin.c: Likewise.
3313 * math/w_asinf.c: Likewise.
3314 * math/w_asinl.c: Likewise.
3315 * math/w_atanh.c: Likewise.
3316 * math/w_atanhf.c: Likewise.
3317 * math/w_atanhl.c: Likewise.
3318 * math/w_exp2.c: Likewise.
3319 * math/w_exp2f.c: Likewise.
3320 * math/w_exp2l.c: Likewise.
3321 * math/w_j0.c: Likewise.
3322 * math/w_j0f.c: Likewise.
3323 * math/w_j0l.c: Likewise.
3324 * math/w_j1.c: Likewise.
3325 * math/w_j1f.c: Likewise.
3326 * math/w_j1l.c: Likewise.
3327 * math/w_jn.c: Likewise.
3328 * math/w_jnf.c: Likewise.
3329 * math/w_log.c: Likewise.
3330 * math/w_log10.c: Likewise.
3331 * math/w_log10f.c: Likewise.
3332 * math/w_log10l.c: Likewise.
3333 * math/w_log2.c: Likewise.
3334 * math/w_log2f.c: Likewise.
3335 * math/w_log2l.c: Likewise.
3336 * math/w_logf.c: Likewise.
3337 * math/w_logl.c: Likewise.
3338 * math/w_sqrt.c: Likewise.
3339 * math/w_sqrtf.c: Likewise.
3340 * math/w_sqrtl.c: Likewise.
3341 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3342 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3343 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3344 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3345 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3346
ebaf36eb
JM
33472012-02-19 Joseph Myers <joseph@codesourcery.com>
3348
3349 [BZ #9739]
3350 * manual/string.texi (strnlen): Use correct parameter name in
3351 equivalent expression.
3352
71c254a6
JM
33532012-02-19 Joseph Myers <joseph@codesourcery.com>
3354
3355 [BZ #11174]
3356 * manual/users.texi (seteuid): Consistently use neweuid for
3357 argument name.
3358
16d2c631
JM
33592012-02-19 Joseph Myers <joseph@codesourcery.com>
3360
3361 [BZ #13704]
3362 * manual/nss.texi (Services in the NSS configuration): Correct
3363 list of services in example configuration file.
3364
cd837b09
NB
33652012-02-19 Nick Bowler <nbowler@draconx.ca>
3366
3367 [BZ #11322]
3368 * manual/arith.texi: Remove statements about negative zero
3369 behaving identically to zero.
3370
02c4bbad
JM
33712012-02-18 Joseph Myers <joseph@codesourcery.com>
3372
3373 [BZ #5993]
3374 * manual/install.texi: Do not document upgrading from libc5.
3375
366842e7
JM
33762012-02-18 Joseph Myers <joseph@codesourcery.com>
3377
3378 [BZ #4596]
3379 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3380
dd54084d
DM
33812012-02-18 David S. Miller <davem@davemloft.net>
3382
3383 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3384 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3385 %o7 across the call.
3386 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3387 instead.
3388 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3389 SETUP_PIC_REG_LEAF.
3390 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3391 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3392 * sysdeps/sparc/crtn.S: Likewise.
3393
2bcc53a3
UD
33942012-02-17 Ulrich Drepper <drepper@gmail.com>
3395
3396 * aout/Makefile: Remove.
3397
09c093b5
RK
33982012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3399
3400 [BZ #13058]
3401 * manual/examples/argp-ex1.c (main): Format definition in GNU
3402 style.
3403 * manual/examples/argp-ex2.c (main): Likewise.
3404 * manual/examples/argp-ex3.c (main): Likewise.
3405 * manual/examples/argp-ex4.c (main): Likewise.
3406 * manual/examples/longopt.c (main): Use new-style prototype
3407 definition.
3408 * manual/examples/strncat.c (main): Specify return type and use
3409 (void) for arguments.
3410 * manual/examples/subopt.c (main): Use char **argv argument.
3411
2ee633a2
JM
34122012-02-17 Joseph Myers <joseph@codesourcery.com>
3413
3414 [BZ #5077]
3415 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3416 rounding modes.
3417
0520adde
FB
34182012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3419
3420 [BZ #6907]
3421 * manual/string.texi (strchr): Change when strchrnul is
3422 recommended.
3423
3f4081cd
DGM
34242012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3425
3426 [BZ #174]
3427 * manual/locale.texi (setlocale): Document LOCPATH.
3428
d1b10e78
JM
34292012-02-17 Joseph Myers <joseph@codesourcery.com>
3430
3431 [BZ #10210]
3432 * manual/process.texi (execle): Move @dots{} before last argument.
3433
79c6869c
PB
34342012-02-17 Paul Bolle <pebolle@tiscali.nl>
3435
3436 [BZ #12047]
3437 * manual/charset.texi (Generic Charset Conversion): Fix typo
3438 (LC_TYPE -> LC_CTYPE).
3439
cc6e48bc
NB
34402012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3441
3442 [BZ #5805]
3443 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3444 (scalbnf): Likewise.
3445 (scalbnl): Likewise.
3446 (scalbln): Likewise.
3447 (scalblnf): Likewise.
3448 (scalblnl): Likewise.
3449 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3450 (vwarnx): Likewise.
3451 (verr): Likewise.
3452 (verrx): Likewise.
3453 * manual/filesys.texi (telldir): Use braces around return type.
3454 * manual/llio.texi (mmap): Add space after comma.
3455 (mmap64): Likewise.
3456 * manual/math.texi (jn): Use @var{} on parameter names.
3457 (jnf): Likewise.
3458 (jnl): Likewise.
3459 (yn): Likewise.
3460 (ynf): Likewise.
3461 (ynl): Likewise.
3462 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3463 line.
3464 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3465 "...".
3466 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3467 (sched_get_priority_max): Likewise.
3468 * manual/signal.texi (sigvec): Add space after comma.
3469 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3470 names.
3471 (if_indextoname): Likewise.
3472 (if_freenameindex): Likewise.
3473 (sendto): Use ',' instead of '.' in prototype.
3474 * manual/startup.texi (syscall): Use @dots{} instead of literal
3475 "...".
3476 * manual/stdio.texi (__fpending): Separate initial words of
3477 paragraph from @deftypefun line.
3478 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3479 "...".
3480 (vsyslog): Use @var{} on parameter names.
3481 * manual/terminal.texi (stty): Use @var{} on parameter names.
3482 * manual/users.texi (getutmp): Use @var{} on parameter names.
3483 (getutmpx): Likewise.
3484
5b23062f
JM
34852012-02-17 Joseph Myers <joseph@codesourcery.com>
3486
3487 [BZ #6884]
3488 * manual/stdio.texi (fopen): Fix typos in description of
3489 ",ccs=STRING".
3490
8dee4833
AJ
34912012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3492
3493 [BZ #4026]
3494 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3495 get clock_id definition.
3496
9078ce93
TS
34972012-02-17 Thomas Schwinge <thomas@schwinge.name>
3498
3499 [BZ #4822]
3500 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3501 (madvise): Cast every argument to void on its own.
3502
3835c55f
JM
35032012-02-17 Joseph Myers <joseph@codesourcery.com>
3504
3505 [BZ #9902]
3506 * manual/startup.texi (Exit Status): Fix typo.
3507
35c47e37
JM
35082012-02-17 Joseph Myers <joseph@codesourcery.com>
3509
3510 [BZ #10140]
3511 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3512 * manual/examples/argp-ex2.c: Likewise.
3513 * manual/examples/argp-ex3.c: Likewise.
3514
e3b69ca7
RH
35152012-02-16 Richard Henderson <rth@redhat.com>
3516
3517 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3518 * sysdeps/s390/s390-32/initfini.c: Remove.
3519 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3520 * sysdeps/s390/s390-64/initfini.c: Remove.
3521
df83af67
KK
35222012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3523
3524 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3525 compiler output for sysdeps/generic/initfini.c.
3526 * sysdeps/sh/elf/initfini.c: Remove file.
3527
f63f3380
DM
35282012-02-16 David S. Miller <davem@davemloft.net>
3529
fb59b3a4
DM
3530 [BZ #11494]
3531 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3532
f63f3380
DM
3533 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3534 * sysdeps/sparc/crti.S: New file.
3535 * sysdeps/sparc/crtn.S: New file.
3536 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3537 * sysdeps/sparc/sparc64/Makefile: Likewise.
3538
df6a4a4a
MF
35392012-02-15 Mike Frysinger <vapier@gentoo.org>
3540
6dd8f3dc 3541 [BZ #3335]
df6a4a4a
MF
3542 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3543
1cac7236
RM
35442012-02-15 Roland McGrath <roland@hack.frob.com>
3545
d2c736f8
RM
3546 [BZ #4822]
3547 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3548
1cac7236
RM
3549 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3550 (write, read, close): Likewise.
3551 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3552
8e475601
JM
35532012-02-15 Joseph Myers <joseph@codesourcery.com>
3554
3555 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3556 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3557 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3558 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3559 <bits/signalfd.h>.
3560 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3561 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3562 bits/signalfd.h.
3563
ed656b40
MP
35642012-02-14 Marek Polacek <polacek@redhat.com>
3565
3566 * sysdeps/x86_64/crti.S: New file.
3567 * sysdeps/x86_64/crtn.S: New file.
3568 * sysdeps/x86_64/elf/initfini.c: Remove file.
3569
2a979d3a
JM
35702012-02-13 Joseph Myers <joseph@codesourcery.com>
3571
3572 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3573 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3574 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3575 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3576 <bits/inotify.h>.
3577 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3578 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3579 bits/inotify.h.
3580
2a418ac3
JM
35812012-02-13 Joseph Myers <joseph@codesourcery.com>
3582
3583 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3584 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3585 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3586 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3587 <bits/eventfd.h>.
3588 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3589 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3590 bits/eventfd.h.
3591
fb779be7
TS
35922012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3593
e19e83c5
RM
3594 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3595 __feraiseexcept instead of feraiseexcept.
7c35ffed 3596
fb779be7
TS
3597 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3598 nanosleep invocations.
3599 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3600 strings, and add error checking for a nanosleep invocations.
3601
59ba27a6
PE
36022012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3603
3604 Replace FSF snail mail address with URLs, as per GNU coding standards.
3605 Most of the snail mail addresses were wrong anyway, and omitting
3606 them makes the source code easier to maintain. Almost all of the
3607 changes are to license notices and to locale LC_IDENTIFICATION
3608 addresses, except for this one:
3609 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3610 not its snail mail address.
3611
57b957eb
RH
36122012-02-09 Richard Henderson <rth@twiddle.net>
3613
af850b1c
RH
3614 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3615 of kernel-features.h.
3616
57b957eb
RH
3617 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3618
6b73181a
MP
36192012-02-08 Marek Polacek <polacek@redhat.com>
3620
3621 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3622 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3623 * sysdeps/gnu/_G_config.h: Likewise.
3624 * sysdeps/generic/_G_config.h: Likewise.
3625
26ecc33a
AS
36262012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3627
6c6dbc63
AS
3628 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3629 tests.
3630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3631
e216c012
AS
3632 * sysdeps/powerpc/powerpc32/crti.S: New file.
3633 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3634 * sysdeps/powerpc/powerpc64/crti.S: New file.
3635 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3636
26ecc33a
AS
3637 * Makeconfig (have-initfini): Don't set.
3638 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3639 * configure.in (nopic_initfini): Don't substitute.
3640 * config.h.in (HAVE_INITFINI): Don't #undef.
3641 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3642 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3643
3add8e13
JM
36442012-02-08 Joseph Myers <joseph@codesourcery.com>
3645
3646 Support crti.S and crtn.S provided directly by architectures.
3647 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3648 [crti.S in sysdirs] (omit-deps): Likewise.
3649 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3650 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3651 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3652 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3653 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3654 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3655 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3656 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3657 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3658 compiler output for sysdeps/generic/initfini.c.
3659 * sysdeps/i386/elf/Makefile: Remove file.
3660 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3661
a22f12b4
MP
36622012-02-07 Marek Polacek <polacek@redhat.com>
3663
3664 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3665 * sysdeps/gnu/_G_config.h: Likewise.
3666 * sysdeps/mach/hurd/_G_config.h: Likewise.
3667
148cf100
MP
36682012-02-07 Marek Polacek <polacek@redhat.com>
3669
3670 * math/Makefile (tests): Add tst-CMPLX2.
3671 * math/tst-CMPLX2.c: New file.
3672
cfdc0dd7
AS
36732012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3674
84ba42c4
AS
3675 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3676
cfdc0dd7
AS
3677 * math/libm-test.inc (jn_test): Add missing L suffix.
3678
622c86f4
MP
36792012-02-06 Marek Polacek <polacek@redhat.com>
3680
3681 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3682 * sysdeps/i386/fpu/e_powf.S: Likewise.
3683 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3684 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3685 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3686 * sysdeps/i386/fpu/e_pow.S: Likewise.
3687 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3688 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3689 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3690 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3691 * sysdeps/i386/fpu/e_log2.S: Likewise.
3692 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3693 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3694 * sysdeps/i386/fpu/e_powl.S: Likewise.
3695 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3696 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3697 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3698 * sysdeps/i386/fpu/e_logl.S: Likewise.
3699 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3700 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3701 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3702 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3703 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3704 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3705 * sysdeps/i386/fpu/e_log.S: Likewise.
3706 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3707 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3708 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3709 * sysdeps/i386/fpu/e_logf.S: Likewise.
3710 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3711 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3712 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3713 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3714 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3715 * sysdeps/i386/fpu/e_log10.S: Likewise.
3716 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3717 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3718 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3719 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3720 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3721 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3722 * sysdeps/i386/asm-syntax.h: Likewise.
3723 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3724 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3725 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3726 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3727 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3728 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3729 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3730 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3731 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3732 * sysdeps/powerpc/sysdep.h: Likewise.
3733 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3734 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3735
d4a54ac6
JM
37362012-02-06 Joseph Myers <joseph@codesourcery.com>
3737
3738 [BZ #411]
3739 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3740
314054ea
JM
37412012-02-06 Joseph Myers <joseph@codesourcery.com>
3742
3743 * sysdeps/i386/sysdep.h: Include <features.h>.
3744 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3745 version.
3746
d8e0ca50
JM
37472012-02-05 Joseph Myers <joseph@codesourcery.com>
3748
3749 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3750 Define.
3751 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3752 LOAD_PIC_REG_STR.
3753
b1da7dd9
JM
37542012-02-03 Joseph Myers <joseph@codesourcery.com>
3755
3756 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3757 (SETUP_PIC_REG): Use GET_PC_THUNK.
3758 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3759 macro.
3760
9a1d9254
JM
37612012-02-03 Joseph Myers <joseph@codesourcery.com>
3762
3763 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3764 for non-PIC compilation.
3765 (SETUP_PIC_REG): Add .p2align directive.
3766 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3767 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3768 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3769 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3770 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3771 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3772 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3773 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3774 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3775 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3776 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3777 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3778 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3779 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3780 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3781 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3782 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3783 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3784 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3785 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3786 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3787 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3788 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3789 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3790 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3791 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3792 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3793 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3794 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3795 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3796 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3797 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3798 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3799 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3800 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3801 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3802 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3803 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3804 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3805 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3806 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3807
65dc3b75
JM
38082012-02-03 Joseph Myers <joseph@codesourcery.com>
3809
3810 * math/tst-CMPLX.c: Include <stdio.h>.
3811
d55bf177
JM
38122012-01-31 Joseph Myers <joseph@codesourcery.com>
3813
3814 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3815 float.
3816 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3817 * sysdeps/sparc/bits/mathdef.h: Likewise.
3818
69db4f8f
MP
38192012-01-31 Marek Polacek <polacek@redhat.com>
3820
3821 * libio/libio.h: Don't define _PARAMS.
3822 * locale/programs/config.h: Don't define PARAMS.
3823 * stdlib/strtol_l.c: Likewise.
3824 (__strtol_l): Remove PARAMS from the prototype.
3825
41b81892
UD
38262012-01-31 Ulrich Drepper <drepper@gmail.com>
3827
3b49edc0
UD
3828 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3829 names. Just use the correct names. Remove unnecessary wrapper
3830 functions.
3831 * malloc/arena.c: Likewise.
3832 * malloc/hooks.c: Likewise.
3833
41b81892
UD
3834 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3835 ARENA_TEST says not to. Simplify test for creation of a new arena.
3836 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3837
27a25b6e
UD
38382012-01-30 Ulrich Drepper <drepper@gmail.com>
3839
3840 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3841 into tail calls.
3842 (update_get_addr): New function.
3843 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3844 GET_ADDR_MODULE parameter.
3845
c8a89e7d
JM
38462012-01-30 Joseph Myers <joseph@codesourcery.com>
3847
3848 * crypt/cert.c: Remove __STDC__ conditionals.
3849 * crypt/crypt-entry.c: Likewise.
3850 * crypt/crypt_util.c: Likewise.
3851 * libio/filedoalloc.c: Likewise.
3852 * libio/fileops.c: Likewise.
3853 * libio/genops.c: Likewise.
3854 * libio/iofclose.c: Likewise.
3855 * libio/iofdopen.c: Likewise.
3856 * libio/iofopen.c: Likewise.
3857 * libio/iofopen64.c: Likewise.
3858 * libio/iogetdelim.c: Likewise.
3859 * libio/iopopen.c: Likewise.
3860 * libio/obprintf.c: Likewise.
3861 * libio/oldfileops.c: Likewise.
3862 * libio/oldiofclose.c: Likewise.
3863 * libio/oldiofdopen.c: Likewise.
3864 * libio/oldiofopen.c: Likewise.
3865 * libio/oldiopopen.c: Likewise.
3866 * libio/wfiledoalloc.c: Likewise.
3867 * libio/wgenops.c: Likewise.
3868 * locale/programs/xmalloc.c: Likewise.
3869 * misc/syslog.c: Likewise.
3870 * stdio-common/xbug.c: Likewise.
3871 * string/memchr.c: Likewise.
3872 * string/memcmp.c: Likewise.
3873 * string/memrchr.c: Likewise.
3874 * string/rawmemchr.c: Likewise.
3875 * sysdeps/posix/getcwd.c: Likewise.
3876 * time/strftime_l.c: Likewise.
3877
3b100462
JM
38782012-01-30 Joseph Myers <joseph@codesourcery.com>
3879
3880 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
3881 * config.make.in (config-cflags-sse2avx): Define.
3882 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3883 Fix typo.
3884
607998af
CM
38852012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3886
3887 * scripts/config.guess: Update from upstream config git repository.
3888 * scripts/config.sub: Likewise.
3889
3601428f
CM
38902012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3891
3ac8b282
CM
3892 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3893 (EM_NUM): Update.
3894 (R_TILEPRO_*, R_TILEGX_*): New macros.
3895
e034841e
CM
3896 * scripts/firstversions.awk: Fix bug in version range handling.
3897
540d7568
CM
3898 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3899
3601428f
CM
3900 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3901
463de862
CM
3902 * include/sys/epoll.h: New file.
3903 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3904 libc_hidden_def.
3905
73139a76
UD
39062012-01-28 Ulrich Drepper <drepper@gmail.com>
3907
96bc5b45
UD
3908 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3909 Avoid unnecessary __WORDSIZE == 64 test.
3910 (fmaxf): Use VEX format if possible.
3911 (fmax): Likewise.
3912 (fminf): Likewise.
3913 (fmin): Likewise.
3914
56f6f6a2
UD
3915 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3916 * math/math_private.h: Remove libc_fegetround* and
3917 libc_fesetround*.
3918 * sysdeps/i386/configure.in: Check for -msse2avx.
3919 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
3920 also if SSE2AVX is defined.
3921 Remove libc_fegetround* and libc_fesetround*.
3922 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
3923 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
3924 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
3925 of HAS_YMM_USABLE.
3926 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3927 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3928 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3929 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3930 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3931
73139a76
UD
3932 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
3933
d73f93a4
AZ
39342012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3935
3936 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
3937 size is not set.
3938 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3939
6ee65ed6
UD
39402012-01-27 Ulrich Drepper <drepper@gmail.com>
3941
3942 [BZ #13618]
3943 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
3944 relocation.
3945 * Makeconfig (libm): Define.
3946 * elf/Makefile: Add rules to build and run tst-relsort1.
3947 * elf/tst-relsort1.c: New file.
3948 * elf/tst-relsort1mod1.c: New file.
3949 * elf/tst-relsort1mod2.c: New file.
3950
8db21882
JM
39512012-01-27 Joseph Myers <joseph@codesourcery.com>
3952
3953 * math/s_ldexp.c: Remove __STDC__ conditionals.
3954 * math/s_ldexpf.c: Likewise.
3955 * math/s_ldexpl.c: Likewise.
3956 * math/s_nextafter.c: Likewise.
3957 * math/s_nexttowardf.c: Likewise.
3958 * math/s_significand.c: Likewise.
3959 * math/s_significandf.c: Likewise.
3960 * math/s_significandl.c: Likewise.
3961 * math/w_jnl.c: Likewise.
3962 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3963 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3964 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3965 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3966 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3967 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3968 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
3969 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3970 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3971 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3972 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3973 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3974 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3975 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3976 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3977 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3978 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3979 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3980 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3981 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3982 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3983 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3984 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3985 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3986 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3987 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3988 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3989 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3990 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3991 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3992 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3993 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3994 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3995 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3996 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3997 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3998 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3999 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4000 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4001 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4002 * sysdeps/ieee754/k_standard.c: Likewise.
4003 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4004 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4005 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4006 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4007 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4008 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4009 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4010 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4011 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4012 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4013 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4014 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4015 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4016 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4017 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4018 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4019 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4020 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4021 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4022 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4023 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4024 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4025 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4026 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4027 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4028 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4029 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4030 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4031 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4032 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4033 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4034 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4035 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4036 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4037 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4038 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4039 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4040 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4041 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4042 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4043 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4044 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4045 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4046 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4047 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4048 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4049 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4050 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4051 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4052 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4053 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4054 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4055 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4056 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4057 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4058 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4059 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4060 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4061 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4062 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4063 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4064 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4065 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4066 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4067 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4068 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4069 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4070 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4071 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4072 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4073 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4074 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4075 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4076 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4077 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4078 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4079 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4080 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4081 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4082 * sysdeps/ieee754/s_matherr.c: Likewise.
4083 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4084 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4085 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4086 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4087
965a54a4
JM
40882012-01-26 Joseph Myers <joseph@codesourcery.com>
4089
4090 * crypt/md5.h: Remove __STDC__ conditionals.
4091 * libio/libioP.h: Likewise.
4092 * locale/programs/config.h: Likewise.
4093 * sysdeps/generic/sysdep.h: Likewise.
4094 * sysdeps/i386/asm-syntax.h: Likewise.
4095 * sysdeps/s390/asm-syntax.h: Likewise.
4096 * sysdeps/unix/sysdep.h: Likewise.
4097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4099
7071ad79
JM
41002012-01-26 Joseph Myers <joseph@codesourcery.com>
4101
4102 * libio/libio.h: Remove __STDC__ conditionals.
4103 * malloc/obstack.h: Likewise.
4104 * math/complex.h: Likewise.
4105 * math/math.h: Likewise.
4106 * sysdeps/generic/_G_config.h: Likewise.
4107 * sysdeps/gnu/_G_config.h: Likewise.
4108 * sysdeps/mach/hurd/_G_config.h: Likewise.
4109 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4110 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4111 * sysdeps/sparc/bits/mathdef.h: Likewise.
4112
afc5ed09
UD
41132012-01-26 Ulrich Drepper <drepper@gmail.com>
4114
4115 [BZ #13583]
4116 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 4117 Clean up HAS_* macros.
afc5ed09 4118 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
4119 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4120 possible.
4121 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4122 HAS_AVX.
4123 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4124 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4125 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4126 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4127 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 4128
bdb6de1d
JM
41292012-01-25 Joseph Myers <joseph@codesourcery.com>
4130
4131 * elf/tst-unique3.cc (gets): Remove declaration.
4132 * elf/tst-unique3lib.cc (gets): Likewise.
4133 * elf/tst-unique3lib2.cc (gets): Likewise.
4134 * elf/tst-unique4.cc (gets): Likewise.
4135
b15549e6
UD
41362012-01-24 Ulrich Drepper <drepper@gmail.com>
4137
4138 * include/stdio.h: Add C++ protection. Add gets declarations and
4139 definitions.
4140 * debug/tst-chk1.c: Don't declare gets here.
4141 * stdio-common/tst-gets.c: Likewise.
4142
a037381f
JM
41432012-01-24 Joseph Myers <joseph@codesourcery.com>
4144
4145 * posix/glob: Remove directory.
4146
f1d4aa75
JM
41472012-01-24 Joseph Myers <joseph@codesourcery.com>
4148
4149 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4150
81c0c964
PT
41512012-01-22 Pino Toscano <toscano.pino@tiscali.it>
4152
4153 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4154 of the non-standard EPFNOSUPPORT.
4155
0ea698ae
ST
41562011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
4157
4158 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4159 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4160 ANYWHERE set to 1 only on KERN_NO_SPACE error.
4161
d220b117
UD
41622012-01-21 Ulrich Drepper <drepper@gmail.com>
4163
4164 * wcsmbs/uchar.h: Test __STDC_VERSION__.
4165
3e1aa84e
UD
41662012-01-20 Ulrich Drepper <drepper@gmail.com>
4167
4168 * nscd/aicache.c (addhstaiX): Do not cache negative results of
4169 transient errors.
4170 * nscd/grpcache.c (cache_addgr): Likewise.
4171 * nscd/hstcache.c (cache_addhst): Likewise.
4172 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4173 * nscd/pwdcache.c (cache_addpw): Likewise.
4174 * nscd/servicescache.c (cache_addserv): Likewise.
4175
400aa020
UD
41762012-01-16 Ulrich Drepper <drepper@gmail.com>
4177
d77e7869
UD
4178 * malloc/malloc.c: Various cleanups.
4179 * malloc/hooks.c: Likewise.
4180
400aa020
UD
4181 * stdlib/Makefile (tests): Add bug-fmtmsg1.
4182 * stdlib/bug-fmtmsg1.c: New file.
4183
4184 * stdlib/fmtmsg.c (init): Add missing unlock.
4185 Patch by Peng Haitao <penght@cn.fujitsu.com>.
4186
e0a309cf
MP
41872012-01-12 Marek Polacek <polacek@redhat.com>
4188
4189 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4190 and _GNU_SOURCE.
4191
929d11c7
WS
41922012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4193
4194 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4195 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4196 macro to ensure uniqueness of label name.
4197 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4198 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4199
41d0e869
UD
42002012-01-11 Ulrich Drepper <drepper@gmail.com>
4201
0cc5ed3b
UD
4202 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4203
41d0e869
UD
4204 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4205 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4206 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4207 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4208
a47a831a
UD
42092012-01-10 Ulrich Drepper <drepper@gmail.com>
4210
daa891c0
UD
4211 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4212
4213 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4214 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4215 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4216
e58ef0f2
UD
4217 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4218
a47a831a 4219 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
4220 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4221 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 4222 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
4223
4224 * math/bits/math-finite.h: Add ldexp support.
4225
a0bfc9c7
MP
42262012-01-10 Marek Polacek <polacek@redhat.com>
4227
4228 * locale/programs/localedef.h (show_archive_content): Add noreturn
4229 attribute.
4230
d6e97a1d
UD
42312012-01-09 Ulrich Drepper <drepper@gmail.com>
4232
4233 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4234
d5835c26
UD
42352012-01-08 Ulrich Drepper <drepper@gmail.com>
4236
e5f484c6
UD
4237 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4238
d5835c26
UD
4239 * io/Makefile (headers): Add bits/poll2.h.
4240
d1f741e9
WS
42412011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
4242
4243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4244 typo #include statement.
4245
ec09c1c4
UD
42462012-01-08 Ulrich Drepper <drepper@gmail.com>
4247
4248 * include/sys/cdefs.h: Define __attribute_alloc_size.
4249 * catgets/gencat.c: Add alloc_size attribute and apply consistently
4250 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4251 * elf/pldd.c: Likewise.
4252 * iconv/iconv_charmap.c: Likewise.
4253 * iconv/iconvconfig.c: Likewise.
4254 * iconv/strtab.c: Likewise.
4255 * locale/programs/locale.c: Likewise.
4256 * locale/programs/localedef.h: Likewise.
4257 * locale/programs/simple-hash.c: Likewise.
4258 * nscd/nscd.h: Likewise.
4259 * nss/makedb.c: Likewise.
4260 * sysdeps/generic/ldconfig.h: Likewise.
4261 * locale/programs/localedef.c: Remove xmalloc prototype.
4262 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4263
20b38e03
PP
42642012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4265
4266 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4267 appropriate.
4268
a0da5fe1
UD
42692012-01-08 Ulrich Drepper <drepper@gmail.com>
4270
1d5a644a 4271 * math/Makefile (tests): Add tst-CMPLX.
669704fd 4272 * math/tst-CMPLX.c: New file.
1d5a644a 4273
8784a6db
UD
4274 * math/complex.h (CMPLXL): Fix typo.
4275
d9a216c0
UD
4276 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4277 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4278 GLIBC_2.16.
4279 * debug/tst-chk1.c: Add poll and ppoll tests.
4280 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4281 * include/sys/poll.h: Add hidden proto for ppoll.
4282 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4283 * sysdeps/mach/hurd/ppoll.c: Likewise.
4284 * io/ppoll.c: Likewise.
4285 * debug/poll_chk.c: New file.
4286 * debug/ppoll_chk.c: New file.
4287 * include/bits/poll2.h: New file.
4288 * io/bits/poll2.h: New file.
4289
ac097f5c
UD
4290 [BZ #1350]
4291 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4292
2119dcfa
UD
4293 * configure.in: static is always set to yes. Remove.
4294 * config.make.in: Don't set build-static.
4295 * Makeconfig: Remove use of build-static.
4296 * dlfcn/Makefile: Likewise.
4297 * elf/Makefile: Likewise.
4298 * math/Makefile: Likewise.
4299 * misc/Makefile: Likewise.
4300 * nptl/Makefile: Likewise.
4301 * sysdeps/mach/hurd/Makefile: Likewise.
4302
121766a9
UD
4303 * configure.in: PWD_P is not used anymore.
4304 * config.make.in: Remove PWD_P entry.
4305
51a1d39c 4306 * configure.in: Remove last remnants of RANLIB.
8720d066 4307 No need to check for signed size_t anymore.
215f4bdc
UD
4308 Don't set libc_commonpagesize and libc_relro_required here for Alpha
4309 and IA-64.
3857022a 4310 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
4311 * aclocal.m4: Likewise.
4312
d3ed7225
UD
4313 * wcsmbs/mbrtoc16.c: Implement using towc function.
4314 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4315 * wcsmbs/wcsmbsload.c: Likewise.
4316 * iconv/gconv_simple.c: Likewise.
4317 * iconv/gconv_int.h: Likewise.
4318 * iconv/gconv_builtin.h: Likewise.
4319 * iconv/iconv_prog.c: Remove CHAR16 handling.
4320
4321 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4322
4323 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4324
a0da5fe1
UD
4325 * configure.in: Remove --with-elf and --enable-bounded options.
4326 Dont set base_machine for ia64. More non-ELF conditions removed.
4327 Remove testing and setting of leading underscore information.
4328 * config.make.in (build-bounded): Set to no.
4329 * config.h.in: Remove NO_UNDERSCORES entry.
4330 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4331 them.
4332 * csu/start.c: Remove !NO_UNDERSCORE code.
4333 * locale/localeinfo.h: Likewise.
4334 * sysdeps/generic/machine-gmon.h: Likewise.
4335 * sysdeps/generic/sysdep.h: Likewise.
4336 * sysdeps/i386/sysdep.h: Likewise.
4337 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4338 * sysdeps/mach/sysdep.h: Likewise.
4339 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4340 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4341 * sysdeps/sh/sysdep.h: Likewise.
4342 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4343 * sysdeps/unix/i386/sysdep.S: Likewise.
4344 * sysdeps/unix/sparc/start.c: Likewise.
4345 * sysdeps/unix/sparc/sysdep.S: Likewise.
4346 * sysdeps/unix/sparc/sysdep.h: Likewise.
4347 * sysdeps/unix/start.c: Likewise.
4348 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4349 * sysdeps/x86_64/sysdep.h: Likewise.
4350
df78418a
UD
43512012-01-07 Ulrich Drepper <drepper@gmail.com>
4352
a784e502
UD
4353 [BZ #13553]
4354 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4355 for non-gcc.
4356 * argp/argp-fmtstream.h: Use const instead __const.
4357 * argp/argp.h: Likewise.
4358 * assert/assert.h: Likewise.
4359 * bits/fenv.h: Likewise.
4360 * bits/sched.h: Likewise.
4361 * bits/sigset.h: Likewise.
4362 * bits/sigthread.h: Likewise.
4363 * catgets/nl_types.h: Likewise.
4364 * conform/data/pthread.h-data: Likewise.
4365 * crypt/crypt-private.h: Likewise.
4366 * crypt/crypt.h: Likewise.
4367 * crypt/crypt_util.c: Likewise.
4368 * ctype/ctype.h: Likewise.
4369 * debug/execinfo.h: Likewise.
4370 * debug/mbsnrtowcs_chk.c: Likewise.
4371 * debug/mbsrtowcs_chk.c: Likewise.
4372 * debug/wcsnrtombs_chk.c: Likewise.
4373 * debug/wcsrtombs_chk.c: Likewise.
4374 * debug/wcstombs_chk.c: Likewise.
4375 * dirent/dirent.h: Likewise.
4376 * dlfcn/dlfcn.h: Likewise.
4377 * elf/neededtest4.c: Likewise.
4378 * grp/grp.h: Likewise.
4379 * gshadow/gshadow.h: Likewise.
4380 * iconv/gconv.h: Likewise.
4381 * iconv/gconv_int.h: Likewise.
4382 * iconv/gconv_simple.c: Likewise.
4383 * iconv/iconv.h: Likewise.
4384 * iconv/loop.c: Likewise.
4385 * iconv/skeleton.c: Likewise.
4386 * include/aio.h: Likewise.
4387 * include/aliases.h: Likewise.
4388 * include/argz.h: Likewise.
4389 * include/arpa/inet.h: Likewise.
4390 * include/assert.h: Likewise.
4391 * include/dirent.h: Likewise.
4392 * include/dlfcn.h: Likewise.
4393 * include/execinfo.h: Likewise.
4394 * include/fcntl.h: Likewise.
4395 * include/fenv.h: Likewise.
4396 * include/glob.h: Likewise.
4397 * include/grp.h: Likewise.
4398 * include/libintl.h: Likewise.
4399 * include/mntent.h: Likewise.
4400 * include/netdb.h: Likewise.
4401 * include/pwd.h: Likewise.
4402 * include/rpc/netdb.h: Likewise.
4403 * include/sched.h: Likewise.
4404 * include/search.h: Likewise.
4405 * include/shadow.h: Likewise.
4406 * include/signal.h: Likewise.
4407 * include/stdio.h: Likewise.
4408 * include/stdlib.h: Likewise.
4409 * include/string.h: Likewise.
4410 * include/sys/socket.h: Likewise.
4411 * include/sys/stat.h: Likewise.
4412 * include/sys/statfs.h: Likewise.
4413 * include/sys/statvfs.h: Likewise.
4414 * include/sys/syslog.h: Likewise.
4415 * include/sys/time.h: Likewise.
4416 * include/sys/uio.h: Likewise.
4417 * include/time.h: Likewise.
4418 * include/unistd.h: Likewise.
4419 * include/utmp.h: Likewise.
4420 * include/wchar.h: Likewise.
4421 * include/wctype.h: Likewise.
4422 * inet/aliases.h: Likewise.
4423 * inet/arpa/inet.h: Likewise.
4424 * inet/netinet/ether.h: Likewise.
4425 * inet/netinet/in.h: Likewise.
4426 * intl/libintl.h: Likewise.
4427 * io/bits/fcntl2.h: Likewise.
4428 * io/fcntl.h: Likewise.
4429 * io/ftw.h: Likewise.
4430 * io/sys/poll.h: Likewise.
4431 * io/sys/stat.h: Likewise.
4432 * io/sys/statfs.h: Likewise.
4433 * io/sys/statvfs.h: Likewise.
4434 * io/utime.h: Likewise.
4435 * libio/bits/stdio.h: Likewise.
4436 * libio/bits/stdio2.h: Likewise.
4437 * libio/libio.h: Likewise.
4438 * libio/libioP.h: Likewise.
4439 * libio/stdio.h: Likewise.
4440 * locale/lc-ctype.c: Likewise.
4441 * locale/locale.h: Likewise.
4442 * login/utmp.h: Likewise.
4443 * malloc/arena.c: Likewise.
4444 * malloc/malloc.c: Likewise.
4445 * malloc/malloc.h: Likewise.
4446 * malloc/mcheck.c: Likewise.
4447 * malloc/mtrace.c: Likewise.
4448 * math/bits/mathcalls.h: Likewise.
4449 * math/fenv.h: Likewise.
4450 * math/math_private.h: Likewise.
4451 * misc/bits/error.h: Likewise.
4452 * misc/bits/syslog.h: Likewise.
4453 * misc/err.h: Likewise.
4454 * misc/error.h: Likewise.
4455 * misc/fstab.h: Likewise.
4456 * misc/mntent.h: Likewise.
4457 * misc/regexp.h: Likewise.
4458 * misc/search.h: Likewise.
4459 * misc/sgtty.h: Likewise.
4460 * misc/sys/mman.h: Likewise.
4461 * misc/sys/syslog.h: Likewise.
4462 * misc/sys/uio.h: Likewise.
4463 * misc/sys/xattr.h: Likewise.
4464 * misc/ttyent.h: Likewise.
4465 * nis/rpcsvc/ypclnt.h: Likewise.
4466 * nss/nss.h: Likewise.
4467 * posix/bits/unistd.h: Likewise.
4468 * posix/fnmatch.h: Likewise.
4469 * posix/glob.h: Likewise.
4470 * posix/sched.h: Likewise.
4471 * posix/spawn.h: Likewise.
4472 * posix/sys/wait.h: Likewise.
4473 * posix/unistd.h: Likewise.
4474 * posix/wordexp.h: Likewise.
4475 * pwd/pwd.h: Likewise.
4476 * resolv/netdb.h: Likewise.
4477 * resource/sys/resource.h: Likewise.
4478 * rt/aio.h: Likewise.
4479 * rt/bits/mqueue2.h: Likewise.
4480 * rt/mqueue.h: Likewise.
4481 * shadow/shadow.h: Likewise.
4482 * signal/signal.h: Likewise.
4483 * socket/send.c: Likewise.
4484 * socket/sendto.c: Likewise.
4485 * socket/sys/socket.h: Likewise.
4486 * stdio-common/printf.h: Likewise.
4487 * stdlib/bits/stdlib.h: Likewise.
4488 * stdlib/fmtmsg.h: Likewise.
4489 * stdlib/monetary.h: Likewise.
4490 * stdlib/stdlib.h: Likewise.
4491 * stdlib/ucontext.h: Likewise.
4492 * streams/stropts.h: Likewise.
4493 * string/argz.h: Likewise.
4494 * string/bits/string2.h: Likewise.
4495 * string/string.h: Likewise.
4496 * string/strings.h: Likewise.
4497 * sunrpc/rpc/auth.h: Likewise.
4498 * sunrpc/rpc/auth_des.h: Likewise.
4499 * sunrpc/rpc/clnt.h: Likewise.
4500 * sunrpc/rpc/netdb.h: Likewise.
4501 * sunrpc/rpc/pmap_clnt.h: Likewise.
4502 * sunrpc/rpc/xdr.h: Likewise.
4503 * sysdeps/generic/inttypes.h: Likewise.
4504 * sysdeps/generic/net/if.h: Likewise.
4505 * sysdeps/generic/sys/swap.h: Likewise.
4506 * sysdeps/gnu/net/if.h: Likewise.
4507 * sysdeps/gnu/utmpx.h: Likewise.
4508 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4509 * sysdeps/i386/i486/bits/string.h: Likewise.
4510 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4511 * sysdeps/s390/bits/string.h: Likewise.
4512 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4513 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4514 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4515 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4516 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4517 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4518 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4519 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4520 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4521 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4522 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4523 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4524 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4525 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4526 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4527 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4528 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4529 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4530 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4531 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4532 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4533 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4534 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4535 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4536 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4537 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4538 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4539 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4540 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4541 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4542 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4543 * sysvipc/sys/ipc.h: Likewise.
4544 * sysvipc/sys/msg.h: Likewise.
4545 * sysvipc/sys/sem.h: Likewise.
4546 * sysvipc/sys/shm.h: Likewise.
4547 * termios/termios.h: Likewise.
4548 * time/sys/time.h: Likewise.
4549 * time/time.h: Likewise.
4550 * wcsmbs/bits/wchar2.h: Likewise.
4551 * wcsmbs/uchar.h: Likewise.
4552 * wcsmbs/wchar.h: Likewise.
4553 * wctype/wctype.h: Likewise.
4554
0269750c
UD
4555 [BZ #13551]
4556 * Makeconfig: Remove all but ELF support including AIX support.
4557 * Makerules: Likewise.
4558 * config.h.in: Likewise.
4559 * config.make.in: Likewise.
4560 * configure: Likewise.
4561 * configure.in: Likewise.
4562 * csu/Makefile: Likewise.
4563 * csu/version.c: Likewise.
4564 * debug/Makefile: Likewise.
4565 * dlfcn/Makefile: Likewise.
4566 * elf/Makefile: Likewise.
4567 * extra-lib.mk: Likewise.
4568 * iconv/Makefile: Likewise.
4569 * include/libc-symbols.h: Likewise.
4570 * include/shlib-compat.h: Likewise.
4571 * resolv/Makefile: Likewise.
4572 * resolv/res_libc.c: Likewise.
4573 * rt/Makefile: Likewise.
4574 * sysdeps/i386/asm-syntax.h: Likewise.
4575 * sysdeps/i386/sysdep.h: Likewise.
4576 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4577 * sysdeps/mach/sysdep.h: Likewise.
4578 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4579 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4580 * sysdeps/s390/asm-syntax.h: Likewise.
4581 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4582 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4583 * sysdeps/sh/sysdep.h: Likewise.
4584 * sysdeps/unix/sparc/sysdep.h: Likewise.
4585 * sysdeps/wordsize-32/divdi3.c: Likewise.
4586 * sysdeps/x86_64/sysdep.h: Likewise.
4587
00bbd29b
UD
4588 * argp/Versions: Remove _argp_unlock_xxx.
4589
4590 [BZ #13559]
4591 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4592 * abilist/libBrokenLocale.abilist: Likewise.
4593 * abilist/libanl.abilist: Likewise.
4594 * abilist/libc.abilist: Likewise.
4595 * abilist/libcrypt.abilist: Likewise.
4596 * abilist/libdl.abilist: Likewise.
4597 * abilist/libm.abilist: Likewise.
4598 * abilist/libnsl.abilist: Likewise.
4599 * abilist/libpthread.abilist: Likewise.
4600 * abilist/libresolv.abilist: Likewise.
4601 * abilist/librt.abilist: Likewise.
4602 * abilist/libthread_db.abilist: Likewise.
4603 * abilist/libutil.abilist: Likewise.
4604 * abilist/libnss_db.abilist: New file.
4605
4606 * scripts/abilist.awk: Add support for indirect functions.
4607
a2693a0e
UD
4608 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4609
3f05895f
UD
4610 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4611
ecb6fb48
UD
4612 * shlib-versions: Remove entries for ports architectures.
4613
664f8cb9
UD
4614 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4615 files in ports.
4616 * elf/stackguard-macros.h: Remove support for IA-64.
4617 * elf/tst-auditmod1.c: Likewise.
4618 * sysdeps/generic/ldsodefs.h: Likewise.
4619
7ae81d88
UD
4620 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4621 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4622 configure files.
4623
bdeba135
UD
4624 [BZ #13552]
4625 * configure.in: Remove --enable-omitfp support.
4626 * FAQ.in: Adjust.
4627 * config.make.in: Likewise.
4628 * Makeconfig: Likewise.
4629 * manual/install.texi: Likewise.
4630
d75a0a62
UD
4631 In case anyone cares, the IA-64 architecture could move to ports.
4632 * sysdeps/ia64/*: Removed.
4633 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 4634 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 4635
dcc9756b
UD
4636 [BZ #13555]
4637 * configure.in: Remove entries for unsupported architectures.
4638
d3761ebc 4639 [BZ #13533]
9954432e
UD
4640 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4641 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4642 routines.
4643 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4644 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4645 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4646 fall back to using wcrtomb.
4647 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4648 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4649 renaming.
4650 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4651 * wcsmbs/tst-c16c32-1.c: New file.
4652
4653 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4654 local variable.
4655
c3a87236
UD
4656 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4657
28926a1b
UD
4658 * elf/tst-unique3.cc: Add explicit declaration of gets.
4659 * elf/tst-unique3lib.cc: Likewise.
4660 * elf/tst-unique3lib2.cc: Likewise.
4661 * elf/tst-unique4.cc: Likewise.
4662
df78418a
UD
4663 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4664
8ecd6b2a
JM
46652012-01-06 Joseph Myers <joseph@codesourcery.com>
4666
4667 [BZ #13566]
4668 * assert/assert.h (static_assert): Don't define for C++.
4669 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4670 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4671
9f115170
UD
46722012-01-03 Ulrich Drepper <drepper@gmail.com>
4673
5e0d0300
UD
4674 * iconv/loop.c (single loop): Fix assertion in storing of
4675 remaining bytes.
4676
9f115170
UD
4677 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4678
81fb02b0
UD
46792012-01-01 Ulrich Drepper <drepper@gmail.com>
4680
4681 * posix/getconf.c: Update copyright year.
4682 * nss/getent.c: Likewise.
a316c1f6 4683 * nss/makedb.c: Likewise.
81fb02b0
UD
4684 * iconv/iconvconfig.c: Likewise.
4685 * iconv/iconv_prog.c: Likewise.
4686 * elf/ldconfig.c: Likewise.
a316c1f6
UD
4687 * elf/pldd.c: Likewise.
4688 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
4689 * catgets/gencat.c: Likewise.
4690 * csu/version.c: Likewise.
4691 * elf/ldd.bash.in: Likewise.
4692 * elf/sprof.c (print_version): Likewise.
4693 * locale/programs/locale.c: Likewise.
4694 * locale/programs/localedef.c: Likewise.
a316c1f6 4695 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
4696 * nscd/nscd.c (print_version): Likewise.
4697 * debug/xtrace.sh: Likewise.
4698 * malloc/memusage.sh: Likewise.
4699 * malloc/mtrace.pl: Likewise.
4700 * debug/catchsegv.sh: Likewise.
4701
2ba92745
JJ
47022011-12-30 Jakub Jelinek <jakub@redhat.com>
4703
4704 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4705 pure attribute.
4706
dadebdae
UD
47072011-12-24 Ulrich Drepper <drepper@gmail.com>
4708
d3761ebc 4709 [BZ #13533]
db6af3eb
UD
4710 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4711 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4712 transformations.
4713 * iconv/gconv_int.h: Likewise.
4714 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4715 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4716 from libc for GLIBC_2.16.
4717 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4718 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4719 * wcsmbs/uchar.h: Really define mbstate_t.
4720 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4721 * wcsmbs/c16rtomb.c: New file.
4722 * wcsmbs/mbrtoc16.c: New file.
4723 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4724 for C/POSIX locale.
4725 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4726 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4727
dadebdae
UD
4728 * wcsmbs/wchar.h: Add missing __restrict.
4729
67371b56
UD
47302011-12-23 Ulrich Drepper <drepper@gmail.com>
4731
74033a25
UD
4732 [BZ #13532]
4733 * time/Makefile (routines): Add timespec_get.
4734 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4735 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4736 timespec for ISO C11.
4737 * time/timespec_get.c: New file.
4738 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4739 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4740
380d7e87
UD
4741 [BZ #13531]
4742 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4743 * stdlib/stdlib.h: Declare aligned_alloc.
4744 * Versions.def: Add GLIBC_2.16 for libc.
4745 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4746
4e9e7a35
UD
4747 [BZ 13527]
4748 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4749 ISO C11.
4750
380d7e87 4751 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
4752 code.
4753
03a71829
UD
4754 [BZ #13528]
4755 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4756
839e283e
UD
4757 [BZ #13529]
4758 * assert/assert.h (static_assert): Define.
4759
ce5294e2 4760 * version.h: Update for 2.16 development version.
90fa7312 4761
8d44e150 4762 [BZ #13526]
d7809905
UD
4763 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4764 _ISOC11_SOURCE.
4765
c0da14cd
UD
4766 * version.h (RELEASE): Bump for 2.15 release.
4767 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4768
530a3249
MP
4769 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4770 Patch by Marek Polacek <mpolacek@redhat.com>.
4771
67371b56
UD
4772 * bits/byteswap.h: Protect long long constants with __extension__.
4773 * sysdeps/i386/bits/byteswap.h: Likewise.
4774 * sysdeps/ia64/bits/byteswap.h: Likewise.
4775 * sysdeps/s390/bits/byteswap.h: Likewise.
4776 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4777
15db4de1
LD
47782011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4779
4780 [BZ #13540]
bbe315ea
LD
4781 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4782 destination buffer.
15db4de1
LD
4783 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4784
2b2596b1
MP
47852011-12-23 Marek Polacek <polacek@redhat.com>
4786
4787 * elf/dl-addr.c (determine_info): Add inline keyword.
4788 * elf/tst-auditmod4b.c (check_avx): Likewise.
4789 * elf/tst-auditmod6b.c (check_avx): Likewise.
4790 * elf/tst-auditmod6c.c (check_avx): Likewise.
4791 * elf/tst-auditmod7b.c (check_avx): Likewise.
4792
70c6c246
UD
47932011-12-23 Ulrich Drepper <drepper@gmail.com>
4794
4795 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4796 !__SSE_MATH__.
4797
c044cf14
LD
47982011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4799
15db4de1 4800 [BZ #13540]
c044cf14
LD
4801 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4802 processing for last bytes.
4803
6b13d9d9
BH
48042011-08-06 Bruno Haible <bruno@clisp.org>
4805
d455f537
BH
4806 [BZ #13061]
4807 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4808 U+0385, not to U+1FEE.
4809
6b13d9d9
BH
4810 [BZ #13062]
4811 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4812 entry for U+00A5 U+0301.
4813
db910efd
UD
48142011-12-22 Ulrich Drepper <drepper@gmail.com>
4815
27deeafc
UD
4816 [BZ #13166]
4817 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4818 buffer for the output is too small.
4819
aed9d171
UD
4820 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4821 optimization.
4822
db910efd
UD
4823 [BZ #13185]
4824 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4825 SSE flags if possible.
4826
2bd779ae
LD
48272011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4828
e7f9dac3 4829 [BZ #13540]
2bd779ae
LD
4830 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4831 processing for last bytes.
4832
154bfc16
JM
48332011-12-22 Joseph Myers <joseph@codesourcery.com>
4834
4835 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4836 (syscall-list-default-options, syscall-list-default-condition)
4837 (syscall-list-includes): Define.
4838 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4839 list of ABIs and options and #if conditions for each ABI. Do not
4840 handle common syscalls between ABIs specially.
4841 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4842 Remove.
4843 (syscall-list-variants, syscall-list-32bit-options)
4844 (syscall-list-32bit-condition, syscall-list-64bit-options)
4845 (syscall-list-64bit-condition): Define.
4846 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4847 (syscall-list-variants, syscall-list-32bit-options)
4848 (syscall-list-32bit-condition, syscall-list-64bit-options)
4849 (syscall-list-64bit-condition): Define.
4850 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4851 Remove.
4852 (syscall-list-variants, syscall-list-32bit-options)
4853 (syscall-list-32bit-condition, syscall-list-64bit-options)
4854 (syscall-list-64bit-condition): Define.
4855 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4856 Remove.
4857 (syscall-list-variants, syscall-list-32bit-options)
4858 (syscall-list-32bit-condition, syscall-list-64bit-options)
4859 (syscall-list-64bit-condition): Define.
4860
21eaf3a5
UD
48612011-12-22 Ulrich Drepper <drepper@gmail.com>
4862
16c6f992
UD
4863 * locale/iso-639.def: Add brx entry.
4864
41043168
UD
4865 [BZ #13328]
4866 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4867 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4868
21eaf3a5
UD
4869 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4870 __feraiseexcept_renamed.
4871
e3a851a2
UD
48722011-12-21 Ulrich Drepper <drepper@gmail.com>
4873
4920765e
UD
4874 [BZ #13538]
4875 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4876 EPOLLET with unsigned values.
4877 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4878 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4879
e3a851a2
UD
4880 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4881 to large cancellation.
4882 * math/s_cacoshf.c: Likewise.
4883 * math/s_cacoshl.c: Likewise.
4884
b27e24b8
RK
48852011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4886
4887 [BZ #13305]
aebefeee 4888 [BZ #12786]
b27e24b8
RK
4889 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4890 * math/s_cacoshf.c: Likewise.
4891 * math/s_cacoshl.c: Likewise.
4892
ee190f67
UD
48932011-12-21 Ulrich Drepper <drepper@gmail.com>
4894
4895 [BZ #13439]
4896 * iconv/gconv.h: Define __GCONV_SWAP.
4897 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4898 * iconvdata/utf-16.c: Likewise.
4899 * iconvdata/utf-32.c: Likewise.
4900
707f25df
AS
49012011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4902
4903 [BZ #13524]
4904 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4905 numerator after shifting it by one limb.
4906
d2daaa1e
RÁE
49072011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4908
4909 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4910 under [__USE_EXTERN_INLINES].
4911
a4647e72
UD
49122011-12-17 Ulrich Drepper <drepper@gmail.com>
4913
4914 [BZ #13446]
4915 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4916
f0b264f1
AZ
49172011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4918
4919 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
4920 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
4921 optimized code.
4922 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
4923 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
4924 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
4925 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
4926 for strncasecmp/strncasecmp_l compilation.
4927 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
4928 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
4929
8ef4f244
MP
49302011-12-08 Marek Polacek <mpolacek@redhat.com>
4931
4932 [BZ #13484]
4933 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
4934 of __asm__.
4935
97ac2654
UD
49362011-12-17 Ulrich Drepper <drepper@gmail.com>
4937
4938 [BZ #13506]
4939 * time/tzfile.c (__tzfile_read): Check values from file header.
4940
91d2a845
WS
49412011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4942
4943 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
4944 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
4945 * powerpc/powerpc32/dl-start.S: Likewise.
4946 * powerpc/powerpc32/elf/start.S: Likewise.
4947 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4948 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
4949 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4950 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
4951 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4952 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
4953 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
4954 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4955 * powerpc/powerpc32/fpu/s_round.S: Likewise.
4956 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4957 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4958 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4959 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4960 * powerpc/powerpc32/memset.S: Likewise.
4961 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4962 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4963 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4964 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4965 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4966 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4967 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4968 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4969 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
4970 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
4971 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
4972 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4973 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4974
a1267ba1
AZ
49752011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4976
4977 * math/libm-test.inc: Added more nearbyint tests.
4978 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
4979 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
4980 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
4981 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
4982
ad8ac1bd
RL
49832011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
4984
4985 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
4986 FD_CLOEXEC.
4987
1d3e4b61
UD
49882011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4989
4990 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
4991 Add wcscpy-ssse3 wcscpy-c.
4992 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
4993 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
4994 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
4995 * sysdeps/x86_64/wcschr.S: New file.
4996 * sysdeps/x86_64/wcsrchr.S: New file.
4997 * string/test-strcmp.c: Remove checking of wcscmp function for
4998 wrong alignments.
4999 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5000 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5001 wcsrchr-sse2 wcsrchr-c.
5002 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5003 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5004 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5005 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5006 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5007 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5008 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5009 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5010 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5011 * wcsmbc/wcschr.c (WCSCHR): New macro.
5012
5b330a2d
UD
50132011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5014
5015 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5016 * wcsmbs/test-wcsrchr.c: New file.
5017 * string/test-strrchr.c: Add wcsrchr support.
5018 (WIDE): New macro.
5019 * wcsmbs/test-wcscpy.c: New file.
5020 * string/test-strcpy.c: Add wcscpy support.
5021 (WIDE): New macro.
26428b7c 5022
f039c043
UD
50232011-12-10 Ulrich Drepper <drepper@gmail.com>
5024
5025 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5026 the inner loop.
5027
850fb039
AS
50282011-12-06 Andreas Schwab <schwab@linux-m68k.org>
5029
5030 [BZ #13472]
5031 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5032
4efbd5cb
UD
50332011-12-04 Ulrich Drepper <drepper@gmail.com>
5034
52ff5dd0 5035 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 5036 Minor optimizations.
52ff5dd0 5037
4efbd5cb
UD
5038 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5039 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5040 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5041
8a426e12
UD
50422011-12-03 Ulrich Drepper <drepper@gmail.com>
5043
aff2453d
UD
5044 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5045 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5046 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5047 for gcc to avoid warnings.
5048 * inet/Makefile (tests): Add tst-checks.
5049 * inet/tst-checks.c: New file.
5050
5051 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5052 warning.
5053
5054 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5055 __wmemcmp_sse2.
5056
5057 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5058 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5059
8a426e12
UD
5060 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5061
9bea3473
UD
50622011-12-02 Ulrich Drepper <drepper@gmail.com>
5063
3a965496
UD
5064 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5065 problem.
5066
9bea3473
UD
5067 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5068
f101631b
UD
50692011-11-29 Joseph Myers <joseph@codesourcery.com>
5070
5071 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5072 conditional on GCC version.
5073 (__arch_compare_and_exchange_val_8_acq)
5074 (__arch_compare_and_exchange_val_16_acq)
5075 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5076 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5077 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5078
a98275aa
UD
50792011-12-02 Joseph Myers <joseph@codesourcery.com>
5080
5081 * sysdeps/sh/backtrace.c: New file.
5082
d4cc29a2
AS
50832011-12-02 Andreas Schwab <schwab@redhat.com>
5084
5085 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
5086 parenthesis.
5087
6257af2d
AS
50882011-12-01 Andreas Schwab <schwab@redhat.com>
5089
5090 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5091 falling back to utime.
5092
b5f44c1a
AS
50932011-11-30 Andreas Schwab <schwab@redhat.com>
5094
5095 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
5096 expectations for float.
5097
f3a6cc0a
AS
50982011-11-29 Andreas Schwab <schwab@redhat.com>
5099
5100 * locale/weight.h (findidx): Add parameter len.
5101 * locale/weightwc.h (findidx): Likewise.
5102 * posix/fnmatch_loop.c (FCT): Adjust caller.
5103 * posix/regcomp.c (build_equiv_class): Likewise.
5104 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
5105 * posix/regexec.c (check_node_accept_bytes): Likewise.
5106 * string/strcoll_l.c (STRCOLL): Likewise.
5107 * string/strxfrm_l.c (STRXFRM): Likewise.
5108
9d65ea3a
UD
51092011-11-17 Ulrich Drepper <drepper@gmail.com>
5110
5111 * Makefile.in: Remove CVSOPT handling.
5112 * configure.in: Remove use of AC_REVISION.
5113 * iconvdata/Makefile (distribute): No need to filter out CVS.
5114 * scripts/list-sources.sh: Remove CVS, subversion and monotone
5115 handling.
5116
5583a086
AS
51172011-11-16 Andreas Schwab <schwab@redhat.com>
5118
5119 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5120 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5121 [USE_AS_STRNCASECMP_L]: Likewise.
5122 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5123 NO_TLS_DIRECT_SEG_REFS.
5124 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5125 Fix argument offsets for non-PIC.
5126 [USE_AS_STRNCASECMP_L]: Likewise.
5127 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5128 NO_TLS_DIRECT_SEG_REFS.
5129
d62a8200
UD
51302011-11-15 Ulrich Drepper <drepper@gmail.com>
5131
9d65ea3a 5132 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
5133 O_CLOEXEC.
5134 * locale/loadlocale.c (_nl_load_locale): Likewise.
5135
09f93bd3
AS
51362011-11-15 Andreas Schwab <schwab@redhat.com>
5137
446514f9
AS
5138 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5139 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5140 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5141 (SYSCALL_GETTIME): Set errno on error.
5142
09f93bd3
AS
5143 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5144 count references to noai6ai_cached.
5145
312be3f9
UD
51462011-11-15 Ulrich Drepper <drepper@gmail.com>
5147
5148 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5149
5150 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5151 FD_CLOEXEC for /proc/self/maps.
5152
5153 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5154 FD_CLOEXEC for /proc/meminfo.
5155
5156 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5157 gai.conf.
5158
5159 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
5160 FD_CLOEXEC for given file.
5161
5162 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5163
5164 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5165 FD_CLOEXEC for /etc/hosts.
5166 (_gethtent): Likewise.
5167
5168 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5169
5170 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5171 cancellation and set FD_CLOEXEC for /etc/netgroup.
5172
5173 * nss/nss_files/files-key.c (search): Don't allow cancellation when
5174 reading /etc/publickey.
5175
5176 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5177 allow cancellation when reading /etc/group.
5178
5179 * nss/nss_files/files-alias.c (internal_setent): Don't allow
5180 cancellation.
5181 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
5182
5183 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5184 when using data file.
5185
5186 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5187
5188 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5189 (write_nis_obj): Use "c" and "e" in fopen.
5190
5191 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5192
5193 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5194
5195 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5196
5197 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5198
5199 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5200 locale.alias.
5201
5202 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5203
5204 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5205
5206 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5207
5208 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5209 file parsing and set FD_CLOEXEC.
5210
82af0fa8
UD
52112011-11-14 Ulrich Drepper <drepper@gmail.com>
5212
5213 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5214
a5fb313c
AS
52152011-11-14 Andreas Schwab <schwab@redhat.com>
5216
5217 * malloc/arena.c (arena_get2): Don't call reused_arena when
5218 _int_new_arena failed.
5219
6abf3465
UD
52202011-11-14 Ulrich Drepper <drepper@gmail.com>
5221
5222 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5223 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5224 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5225 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5226 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5227 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5228 to compile strcasecmp and strncasecmp.
5229 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5230 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5231
5232 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5233
76e3966e
UD
52342011-11-13 Ulrich Drepper <drepper@gmail.com>
5235
5236 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5237 locale-defines.sym to gen-as-const-headers.
5238 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5239 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5240 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5241 to compile strcasecmp and strncasecmp.
5242 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5243 strcasecmp_l and strncasecmp_l.
5244 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5245 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5246 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5247 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5248 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5249 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5250 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5251 * sysdeps/i386/i686/multiarch/strncase.S: New file.
5252 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5253 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5254 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5255
ab26144e
UD
52562011-11-12 Ulrich Drepper <drepper@gmail.com>
5257
7edb22ef
UD
5258 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5259 result of SYSDEP_GETTIME_CPU to retval.
5260 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5261 parameter list to macro. Remove trailing semicolon. Adjust users.
5262
9694fc44
UD
5263 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5264 variable.
5265
8ad89ef8
UD
5266 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5267 mantissa words.
5268 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5269
0c822ef9
UD
5270 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5271 from unused variable.
5272
874e0564
UD
5273 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5274 DWARF definitions.
5275 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5276 for assembling.
5277
3a2edc79
UD
5278 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5279 over namespaces.
5280
f3c2577f
UD
5281 * sunrpc/rpc_prot.c (rejected): Fix case value.
5282
294ce126
UD
5283 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5284 unsigned long long int to avoid warnings in shift.
5285
5e2b63c6
UD
5286 * posix/regex_internal.c (re_string_reconstruct): Actually use result
5287 of use of trans.
5288 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5289 variable tmp.
5290
e7f4b08e
UD
5291 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5292 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5293 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5294
ab26144e
UD
5295 * nis/nis_table.c (nis_list): Use variable of correct type for
5296 result of __follow_path call.
5297
8a6d5255
AZ
52982011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5299
5300 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5301 of math functions ceil, trunc, floor, round, and sqrt, when
5302 avaliable on the platform.
5303 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5304 name clash.
5305 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5306 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5307 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5308
aaddc98c
MP
53092011-10-30 Marek Polacek <mpolacek@redhat.com>
5310
5311 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5312 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5313
95b7042b
RM
53142011-11-11 Roland McGrath <roland@hack.frob.com>
5315
5316 * include/unistd.h: Fix __readlink return type.
5317 Reported by Chris Metcalf <cmetcalf@tilera.com>.
5318
57769839
UD
53192011-11-11 Ulrich Drepper <drepper@gmail.com>
5320
5321 * stdlib/ucontext.h: Undo last change for makecontext.
5322
edc5984d
AS
53232011-11-11 Andreas Schwab <schwab@redhat.com>
5324
98591e58
AS
5325 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5326
edc5984d
AS
5327 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5328 * setjmp/setjmp.h: Mark functions as non-leaf.
5329 * setjmp/bits/setjmp2.h: Likewise.
5330 * stdlib/ucontext.h: Likewise.
5331
77cdc054
AS
53322011-11-10 Andreas Schwab <schwab@redhat.com>
5333
5334 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5335 (reused_arena): Don't check arena limit.
5336 (arena_get2): Atomically check arena limit.
5337
fe72eebd
UD
53382011-11-08 Ulrich Drepper <drepper@gmail.com>
5339
5f078c32
UD
5340 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5341 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5342
fe72eebd
UD
5343 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5344 instructions.
5345
ae1bc2fa
AS
53462011-11-07 Andreas Schwab <schwab@redhat.com>
5347
7583a88d
AS
5348 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5349 handler when locking.
5350
ae1bc2fa
AS
5351 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5352 Fix size of allocated buffer.
5353
10fb0bfa
AS
53542011-11-04 Andreas Schwab <schwab@redhat.com>
5355
998832a4
AS
5356 [BZ #10103]
5357 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5358 declarations for long double functions.
5359 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5360
10fb0bfa
AS
5361 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5362
3d7ba52b
AS
53632011-11-03 Andreas Schwab <schwab@redhat.com>
5364
a9ae54a1
AS
5365 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5366 installed.
5367
3d7ba52b
AS
5368 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5369 is disabled.
5370
bc8db248
ST
53712011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5372
5373 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5374
45b96dd6
AS
53752011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5376
647776f6
AS
5377 * include/alloca.h (stackinfo_alloca_round): Define.
5378 (extend_alloca): Use it.
5379 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5380 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5381 here.
5382
d91a8b93
AS
5383 * scripts/check-local-headers.sh: Ignore libaudit.h.
5384
45b96dd6
AS
5385 * nscd/Makefile (extra-objs): Make recursively expanded.
5386
432d41ce
UD
53872011-11-01 Ulrich Drepper <drepper@gmail.com>
5388
34372fc6
UD
5389 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5390 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5391
fadb59f8
UD
5392 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5393 * posix/tst-rfc3484-2.c: Likewise.
5394 * posix/tst-rfc3484-3.c: Likewise.
5395
78239589
UD
5396 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5397 process_vm_writev.
5398 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5399 process_vm_writev.
5400 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5401 process_vm_writev from libc using GLIBC_2.15 version.
5402
432d41ce
UD
5403 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5404
02f9c6cf
PP
54052011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5406
5407 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5408 stack usage.
5409
3a2c0242
UD
54102011-10-31 Ulrich Drepper <drepper@gmail.com>
5411
f4ec4833
UD
5412 [BZ #13367]
5413 * nss/getent.c (initgroups_keys): Show error message in case no group
5414 names are given.
5415
3a2c0242
UD
5416 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5417 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5418 __bump_nl_timestamp.
5419 * nscd/connections (nscd_init): When host database is served open
5420 netlink socket and request notification about configuration changes.
5421 (main_loop_poll): Track netlink file descriptor and bump timestamp
5422 in case data becomes available.
5423 (main_loop_epoll): Likewise.
5424 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5425 (database_pers_head): Add extra_data fileds.
5426 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5427 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5428 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5429 Adjust caller.
5430 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5431 in6ai data, call __free_in6ai.
5432 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5433 Add -DHAVE_NETLINK.
5434 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5435 interface information. Reuse previous data if netlink timestamp
5436 is not changed.
5437 (__bump_nl_timestamp): New function.
5438 (__free_in6ai): New function.
5439
636064eb
UD
54402011-10-30 Ulrich Drepper <drepper@gmail.com>
5441
5442 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5443 close_not_cancel_no_status here.
5444 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5445
9beb2334
UD
54462011-10-29 Ulrich Drepper <drepper@gmail.com>
5447
6ef76f3b
UD
5448 [BZ #13276]
5449 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5450 return value.
5451
0ffc4f3e 5452 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
5453 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5454 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5455
cb95113e
UD
54562011-07-03 Andreas Jaeger <aj@suse.de>
5457
5458 [BZ #10709]
5459 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5460 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5461 * math/libm-test.inc (sin_test): Add test case.
5462
a1b560ff
UD
54632011-10-29 Ulrich Drepper <drepper@gmail.com>
5464
c9aaface
UD
5465 [BZ #13337]
5466 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5467 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5468
d272e7f1
UD
5469 * elf/chroot_canon.c (chroot_canon): Cleanups.
5470
1bc33071
UD
5471 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5472
1760874d
TJ
5473 [BZ #13335]
5474 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5475 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5476
51d91b18
UD
5477 * string/test-strchr.c: Make usable for strchrnul testing.
5478 * string/test-strchrnul.c: New file.
5479 * string/Makefile (strop-tests): Add strchrnul.
5480
a1b560ff 5481 * po/it.po: Update from translation team.
b611fb81 5482 * po/es.po: Likewise.
a1b560ff 5483
a5b81e1f
UD
54842011-10-28 Ulrich Drepper <drepper@gmail.com>
5485
fd52bc6d
UD
5486 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5487 the three constants needed as parameters. Drop the others.
5488 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5489 __m128i_strloadu_tolower.
52e4b9eb
UD
5490 Create and initialize variable zero and use it in all the places
5491 where _mm_setzero_si128 was used.
fd52bc6d 5492
a5b81e1f
UD
5493 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5494 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5495 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5496 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5497 anymore.
5498 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5499 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5500 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5501 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5502 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5503 __mpranred, __mptan.
5504 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5505 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5506 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5507 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5508 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5509 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5510 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5511 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5512 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5513
b4343346
AS
55142011-10-28 Andreas Schwab <schwab@redhat.com>
5515
0c92d8a8
AS
5516 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5517 redefine if SHARED.
5518 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5519
b4343346
AS
5520 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5521 wide char related routines to wcsmbs subdir.
5522
3871f58f
AS
55232011-10-27 Andreas Schwab <schwab@redhat.com>
5524
5525 [BZ #13344]
5526 * misc/sys/cdefs.h (__THROWNL): Define.
5527 * posix/unistd.h: Use __THREADNL instead of __THREAD
5528 for memory synchronization functions.
5529
94d44d9f
RM
55302011-10-26 Roland McGrath <roland@hack.frob.com>
5531
21b64b15 5532 [BZ #13349]
94d44d9f
RM
5533 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5534 doesn't exist.
5535 * manual/stdio.texi (Obstack Streams): Node removed.
5536
f6ce9294
AS
55372011-10-26 Andreas Schwab <schwab@redhat.com>
5538
80479147
AS
5539 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5540 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5541 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5542
f6ce9294
AS
5543 * math/math_private.h (math_force_eval): Allow non-addressable
5544 arguments.
5545 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5546
618280a1
UD
55472011-10-25 Ulrich Drepper <drepper@gmail.com>
5548
e0016b11
UD
5549 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5550 file is not needed.
5551
5552 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5553 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5554 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5555 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5556 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5557 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5558 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5559 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5560 Add AVX variants.
5561 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5562 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5563 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5564 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5565 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5566 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5567 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5568 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5569 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5570 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5571 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5572 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5573 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5574 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5575 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5576 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5577 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5578 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5579 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5580
5581 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5582 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5583
618280a1
UD
5584 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5585 place. Use VEX encoding when compiling for AVX.
5586
37822576
AS
55872011-10-25 Andreas Schwab <schwab@redhat.com>
5588
1f1e1947
AS
5589 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5590 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5591
37822576
AS
5592 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5593
31ea014d
UD
55942011-10-25 Ulrich Drepper <drepper@gmail.com>
5595
d7826aa1 5596 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 5597 useless if() expression.
d7826aa1
UD
5598 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5599 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5600 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5601 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5602 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5603 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5604 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5605 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5606 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5607 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5608 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5609 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5610 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5611 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5612 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5613 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5614 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5615 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5616 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5617
31ea014d
UD
5618 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5619
16437fec
AS
56202011-10-25 Andreas Schwab <schwab@redhat.com>
5621
5622 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5623 condition.
5624 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5625
31d3cc00
UD
56262011-10-25 Ulrich Drepper <drepper@gmail.com>
5627
5628 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5629 .text section. Avoid duplicate constants.
5630 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5631 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5632 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5633 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5634 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5635 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5636 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5637 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5638 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5639 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5640 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5641 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5642 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5643 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5644 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5645 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5646 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5647 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5648 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5649 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5650 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5651 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5652 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5653 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5654 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5655 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5656 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5657 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5658 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5659 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5660 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5661 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5662 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5663 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5664 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5665 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5666 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5667 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5668 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5669 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5670 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5671 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5672 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5673 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5674 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5675
58985aa9
UD
56762011-10-24 Ulrich Drepper <drepper@gmail.com>
5677
202c9deb
UD
5678 * sysdeps/x86_64/dla.h: Move to ...
5679 * sysdeps/x86_64/fpu/dla.h: ...here.
5680 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5681 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 5682
af968f62
UD
5683 * config.make.in: Add have-mfma4 entry.
5684 * configure.in: Substitute libc_cv_cc_fma4.
5685 * math/Makefile (dbl-only-routines): Add sincostab.
5686 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5687 Use __sincostab not sincos.
5688 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5689 name is a macro.
5690 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5691 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5692 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5693 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5694 using __copysign.
5695 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5696 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5697 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5698 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5699 and __inv.
5700 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5701 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5702 __copysign.
5703 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5704 define aliases when function name is a macro.
5705 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5706 sysdeps/ieee754/dbl-64/sincos.tbl.
5707 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5708 fma4-enabled routines.
5709 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5710 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5711 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5712 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5713 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5714 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5715 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5716 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5717 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5718 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5719 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5720 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5721 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5722 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5723 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5724 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5725 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5726 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5727 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5728 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5729 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5730 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5731 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5732 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5733 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5734 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5735 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5736 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5737 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5738 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5739
58985aa9
UD
5740 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5741 rename.
5742 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5743 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5744 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5745 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5746 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5747 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5748 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5749 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5750
a201fbcf
AS
57512011-10-24 Andreas Schwab <schwab@redhat.com>
5752
5753 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5754
fc2ee42a
LD
57552011-10-23 Ulrich Drepper <drepper@gmail.com>
5756
bb3129bd
UD
5757 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5758
0275fff8
UD
5759 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5760 prediction.
5761 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5762
2fa2ae85
UD
5763 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5764 Remove unused variable magic_bits.
5765 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5766
fc2ee42a
LD
5767 * string/strnlen.c: Define and use STRNLEN macro.
5768 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5769 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5770 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5771 * wcsmbs/wcslen.c: Define and use WCSLEN.
5772 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5773 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5774 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5775 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5776 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5777 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5778 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5779
ce7dd29f
LD
57802011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5781
5782 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5783 strnlen-sse2-no-bsf.
5784 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5785 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5786 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5787 Add strnlen support.
5788 (USE_AS_STRNLEN): New macro.
5789 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5790 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5791 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5792 * sysdeps/x86_64/wcslen.S: New file.
5793
979c70a3
MZ
57942011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5795
5796 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5797 XMM-moves are used for copying on small sizes.
5798
2d09f82f
LD
57992011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5800
5801 * wcsmbs/Makefile (strop-tests): Add wcschr.
5802 * wcsmbs/test-wcschr.c: New file.
5803 * string/test-strchr.c: Update.
5804 Add wcschr support.
5805 (WIDE): New macro.
5806
619fccca
LD
58072011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5808
2d09f82f 5809 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
5810 * wcsmbs/test-wcslen.c: New file.
5811 * string/test-strlen.c: Update.
5812 Add wcslen support.
5813 (WIDE): New macro.
5814
09f699ea
UD
58152011-10-23 Ulrich Drepper <drepper@gmail.com>
5816
5817 * po/it.po: Update from translation team.
5818
95584d3b
LD
58192011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5820
5821 * sysdeps/x86_64/wcscmp.S: Update.
5822 Fix wrong comparison semantics.
5823 wcscmp shall use signed comparison not unsigned.
5824 Don't use substraction to avoid overflow bug.
5825 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5826 * wcsmbc/wcscmp.c: Likewise.
5827 * string/test-strcmp.c: Likewise.
5828 Add new tests to check cases with negative values.
5829
c8b3296b
UD
58302011-10-23 Ulrich Drepper <drepper@gmail.com>
5831
5832 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5833 * sysdeps/x86_64/dla.h: ...here. New file.
5834 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5835 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5836 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5837 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5838 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5839 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5840 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5841 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5842 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5843
246ad57a
AS
58442011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5845
5846 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5847 __ynl_finite aliases.
5848
a1a87169
UD
58492011-10-22 Ulrich Drepper <drepper@gmail.com>
5850
0d355eb7
UD
5851 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5852
a1a87169
UD
5853 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5854 define DLA_FMA.
5855 [DLA_FMA] (EMULV): Use DLA_FMA.
5856 [DLA_FMA] (MUL12): Use EMULV.
5857 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5858 that are not needed.
5859 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5860 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5861 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5862 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5863 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5864 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5865 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5866
ee2aafe0
AS
58672011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5868
5869 * math/s_nan.c: Undef __nan.
5870 * math/s_nanf.c: Undef __nanf.
5871 * math/s_nanl.c: Undef __nanl.
5872 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5873 "math_private.h".
5874
bc62c2fb
UD
58752011-10-22 Ulrich Drepper <drepper@gmail.com>
5876
77425c63
UD
5877 * math/s_catan.c: Add branch predictions.
5878 * math/s_catanf.c: Likewise.
5879 * math/s_catanh.c: Likewise.
5880 * math/s_catanhf.c: Likewise.
5881 * math/s_catanhl.c: Likewise.
5882 * math/s_catanl.c: Likewise.
5883 * math/s_cexp.c: Likewise.
5884 * math/s_cexpf.c: Likewise.
5885 * math/s_cexpl.c: Likewise.
5886 * math/s_clog.c: Likewise.
5887 * math/s_clog10.c: Likewise.
5888 * math/s_clog10f.c: Likewise.
5889 * math/s_clog10l.c: Likewise.
5890 * math/s_clogf.c: Likewise.
5891 * math/s_clogl.c: Likewise.
5892 * math/s_csqrt.c: Likewise.
5893 * math/s_csqrtf.c: Likewise.
5894 * math/s_csqrtl.c: Likewise.
5895 * math/s_ctanf.c: Likewise.
5896 * math/s_ctanh.c: Likewise.
5897 * math/s_ctanhf.c: Likewise.
5898 * math/s_ctanhl.c: Likewise.
5899 * math/s_ctanl.c: Likewise.
5900
bc62c2fb
UD
5901 * math/math_private.h: Define __nan, __nanf, __nanl.
5902 * math/s_cacosh.c: Include <math_private.h>.
5903 * math/s_cacoshl.c: Likewise.
5904 * math/s_casinh.c: Likewise.
5905 * math/s_casinhf.c: Likewise.
5906 * math/s_casinhl.c: Likewise.
5907 * math/s_ccos.c: Rely entire on ccosh.
5908 * math/s_ccosf.c: Rely entire on ccoshf.
5909 * math/s_ccosl.c: Rely entirely on ccoshl.
5910 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5911 Remove tests for FE_INVALID.
5912 * math/s_ccoshf.c: Likewise.
5913 * math/s_ccoshl.c: Likewise.
5914 * math/s_csin.c: Likewise.
5915 * math/s_csinf.c: Likewise.
5916 * math/s_csinh.c Likewise.
5917 * math/s_csinhf.c: Likewise.
5918 * math/s_csinhl.c: Likewise.
5919 * math/s_csinl.c: Likewise.
5920 * math/s_ctan.c: Likewise.
5921 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
5922 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
5923 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
5924
8ec250a4
UD
59252011-10-21 Ulrich Drepper <drepper@gmail.com>
5926
c196fed8
UD
5927 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
5928 compilation problems.
5929
8ec250a4
UD
5930 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
5931 __builtin_expect.
5932
8d4f46c6
UD
59332011-10-20 Ulrich Drepper <drepper@gmail.com>
5934
ed72b654
UD
5935 * sysdeps/i386/configure.in: Test for -mfma4 option.
5936 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
5937 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
5938 COMMON_CPUID_INDEX_80000001.
5939 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
5940 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
5941 use it if FMA3 is not supported.
5942 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5943
8d4f46c6
UD
5944 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
5945 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5946
d45c60c2
AS
59472011-10-20 Andreas Schwab <schwab@redhat.com>
5948
5949 [BZ #12892]
5950 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
5951 it would create a cycle with a link time dependency.
5952
d9a4d2ab
UD
59532011-10-19 Ulrich Drepper <drepper@gmail.com>
5954
855d1560
UD
5955 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
5956 instruction.
5957 * string/Makefile (strop-tests): Add rawmemchr.
5958 * string/test-rawmemchr.c: New file.
5959
d9a4d2ab
UD
5960 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
5961 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
5962 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
5963 when compiling str{,n}casecmp and when AVX is available. Hook up
5964 new optimized code in initializers.
5965
8f3b1ffe
AS
59662011-10-19 Andreas Schwab <schwab@redhat.com>
5967
5968 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
5969 __feraiseexcept instead of feraiseexcept.
5970
d38f1dba
UD
59712011-10-18 Ulrich Drepper <drepper@gmail.com>
5972
d9a8d0ab
UD
5973 * math/math_private.h: Define defaults for libc_fetestexcept and
5974 libc_feupdateenv.
5975 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
5976 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5977 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5978 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5979 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5980 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5981 libc_fetestexcept and libc_feupdateenv.
5982
4855e3dd
UD
5983 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
5984 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
5985 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
5986 * sysdeps/x86_64/fpu/math_private.h: Define special version of
5987 libc_feholdexcept_setround.
5988
581d30e3
UD
5989 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
5990 Add s_nearbyint-c and s_nearbyintf-c.
5991 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
5992 nearbyintf inlines.
5993 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
5994 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
5995 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
5996 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
5997
d38f1dba
UD
5998 * math/math_private.h: Define defaults for libc_fegetround,
5999 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6000 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6001 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6002 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6003 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6004 standard functions.
6005 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6006 Remove comments and hacks for old compiler versions.
6007 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6008 libc_fegetround, libc_fesetround, libc_feholdexcept, and
6009 libc_feholdexceptl.
6010
caa6c9d8
AS
60112011-10-18 Andreas Schwab <schwab@redhat.com>
6012
6013 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
6014 (__feraiseexcept_renamed): Add __NTH.
6015 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
6016 namespace violations.
6017
97c066e6
UD
60182011-10-17 Ulrich Drepper <drepper@gmail.com>
6019
99ce7b04
UD
6020 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6021
1004d182
UD
6022 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6023
228a984d
UD
6024 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6025 recently added interfaces.
6026 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6027
c8553a6a
UD
6028 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6029 about macro parameter expansion.
6030
ed22dcf6
UD
6031 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6032 __NO_MATH_INLINES is defined. Cleanups.
6033
6034 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6035 and __floorf is target has SSE4.1.
6036 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6037 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6038 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6039 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6040
b171c137
UD
6041 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6042 name.
6043 (floorf): Likewise.
6044
97c066e6
UD
6045 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6046
629f62ef
AS
60472011-10-17 Andreas Schwab <schwab@redhat.com>
6048
49a43d80
AS
6049 * misc/sys/cdefs.h: Fix last change.
6050
629f62ef
AS
6051 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6052 database lookup.
6053
e453f6cd
UD
60542011-10-16 Ulrich Drepper <drepper@gmail.com>
6055
aa78043a
UD
6056 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6057
ad0f5cad
UD
6058 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6059 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6060 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6061 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6062 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6063 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6064 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6065 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6066 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6067 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6068 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6069 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6070 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6071 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6072 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6073 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6074 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6075 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6076 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6077 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6078 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6079 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6080
6081 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6082 ceil, ceilf, floor, floorf.
6083
6084 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6085 Perform IRELATIVE relocations last.
6086
e453f6cd
UD
6087 * elf/do-rel.h: Add another parameter nrelative, replacing the
6088 local variable with the same name. Change name of the function
6089 to end in Rel or Rela (uppercase).
6090 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6091 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
6092 elf_dynamic_do_##reloc function.
6093
fd5bdc09
UD
60942011-10-15 Ulrich Drepper <drepper@gmail.com>
6095
79b195b5
UD
6096 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
6097 is sufficient, at least on modern CPUs.
6098
d4a28569
UD
6099 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
6100
b61099b5
UD
6101 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
6102 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
6103
bcf01e6d
UD
6104 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
6105 __expl_finite.
6106 * math/bits/math-finite.h: Add entries for exp.
6107 * math/e_expl.c: Add __*_finite alias.
6108 * sysdeps/i386/fpu/e_exp.S: Likewise.
6109 * sysdeps/i386/fpu/e_expf.S: Likewise.
6110 * sysdeps/i386/fpu/e_expl.c: Likewise.
6111 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6112 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6113 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6114 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6115 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6116 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6117 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6118
ba1a0d59
UD
6119 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6120 is sufficient, at least on modern CPUs.
6121
fd5bdc09
UD
6122 * ctype/ctype-info.c (__ctype_init): Define.
6123 * include/ctype.h (__ctype_init): Declare.
6124 (__ctype_b_loc): The variable is always initialized.
6125 (__ctype_toupper_loc): Likewise.
6126 (__ctype_tolower_loc): Likewise.
6127 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6128 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6129
7872cfb0
AS
61302011-10-15 Andreas Schwab <schwab@linux-m68k.org>
6131
b468825a
AS
6132 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6133
7872cfb0
AS
6134 * configure.in: Also look in $cxxmachine/include for C++ system
6135 headers.
6136
be13f7bf
LD
61372011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6138
6139 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6140 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6141 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6142 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
6143 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6144 (USE_AS_WMEMCMP): New macro.
6145 Fixing indents.
6146 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6147 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6148 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6149 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6150 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6151 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6152 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6153 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6154 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6155 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6156 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6157 (USE_AS_WMEMCMP): New macro.
6158 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6159 * sysdeps/string/test-memcmp.c: Update.
6160 Fix simple_wmemcmp.
6161 Add new tests.
6162 * wcsmbs/wmemcmp.c: Update.
6163 (WMEMCMP): New macro.
6164 Fix overflow bug.
6165
556a2007
AJ
61662011-10-12 Andreas Jaeger <aj@suse.de>
6167
6168 [BZ #13268]
6169 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6170
538faaa7
UD
61712011-10-15 Ulrich Drepper <drepper@gmail.com>
6172
ab6737ff
UD
6173 * libio/iofwide.c (do_length): Avoid warning.
6174
538faaa7
UD
6175 * ctype/ctype.h (__isctype_f): Add missing __THROW.
6176
396a21b1
UD
61772011-10-14 Ulrich Drepper <drepper@gmail.com>
6178
cdf2901f
UD
6179 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6180
38ad40ce
UD
6181 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6182 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6183 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6184 * sysdeps/i386/i686/fpu/e_log.S: New file.
6185 * sysdeps/i386/i686/fpu/e_logf.S: New file.
6186 * sysdeps/i386/i686/fpu/e_logl.S: New file.
6187
396a21b1
UD
6188 * ctype/ctype.h: Add support for inlined isXXX functions when
6189 compiling C++ code.
6190
6b1f68c9
AS
61912011-10-14 Andreas Schwab <schwab@redhat.com>
6192
349290c0
AS
6193 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6194
6b1f68c9
AS
6195 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6196
f2282d42
RM
61972011-10-13 Roland McGrath <roland@hack.frob.com>
6198
6199 [BZ #13291]
6200 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6201
5298ffa8
AS
62022011-10-13 Andreas Schwab <schwab@redhat.com>
6203
714fad23
AS
6204 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6205 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6206 feraiseexcept.
6207
81dcc7fb
AS
6208 * sysdeps/x86_64/memrchr.S: Check for zero size.
6209
5298ffa8
AS
6210 * string/stratcliff.c: Add memrchr tests.
6211
951fbcec
LD
62122011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6213
6214 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6215 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6216 rawmemchr-sse2 rawmemchr-sse2-bsf.
6217 * sysdeps/i386/i686/multiarch/memchr.S: New file.
6218 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6219 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6220 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6221 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6222 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6223 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6224 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6225 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6226 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6227 * string/memrchr.c (MEMRCHR): New macro.
6228
0ac5ae23
UD
62292011-10-12 Ulrich Drepper <drepper@gmail.com>
6230
6231 Add integration with gcc's -ffinite-math-only and optimize wrapper
6232 functions in libm.
6233 * Versions.def: Define GLIBC_2.15 version for libm.
6234 * math/Makefile (headers): Add bits/math-finite.h.
6235 * math/bits/math-finite.h: New file.
6236 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6237 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6238 * math/e_acoshl.c: Add __*_finite alias.
6239 * math/e_acosl.c: Likewise.
6240 * math/e_asinl.c: Likewise.
6241 * math/e_atan2l.c: Likewise.
6242 * math/e_atanhl.c: Likewise.
6243 * math/e_coshl.c: Likewise.
6244 * math/e_exp10.c: Likewise.
6245 * math/e_exp10f.c: Likewise.
6246 * math/e_exp10l.c: Likewise.
6247 * math/e_exp2l.c: Likewise.
6248 * math/e_fmodl.c: Likewise.
6249 * math/e_gammal_r.c: Likewise.
6250 * math/e_hypotl.c: Likewise.
6251 * math/e_j0l.c: Likewise.
6252 * math/e_j1l.c: Likewise.
6253 * math/e_jnl.c: Likewise.
6254 * math/e_lgammal_r.c: Likewise.
6255 * math/e_log10l.c: Likewise.
6256 * math/e_log2l.c: Likewise.
6257 * math/e_logl.c: Likewise.
6258 * math/e_powl.c: Likewise.
6259 * math/e_sinhl.c: Likewise.
6260 * math/e_sqrtl.c: Likewise.
6261 * math/e_scalb.c: Completely rewritten and optimized.
6262 * math/e_scalbf.c: Likewise.
6263 * math/e_scalbl.c: Likewise.
6264 * math/w_acos.c: Likewise.
6265 * math/w_acosf.c: Likewise.
6266 * math/w_acosl.c: Likewise.
6267 * math/w_acosh.c: Likewise.
6268 * math/w_acoshf.c: Likewise.
6269 * math/w_acoshl.c: Likewise.
6270 * math/w_asin.c: Likewise.
6271 * math/w_asinf.c: Likewise.
6272 * math/w_asinl.c: Likewise.
6273 * math/w_atan2.c: Likewise.
6274 * math/w_atan2f.c: Likewise.
6275 * math/w_atan2l.c: Likewise.
6276 * math/w_atanh.c: Likewise.
6277 * math/w_atanhf.c: Likewise.
6278 * math/w_atanhl.c: Likewise.
6279 * math/w_exp10.c: Likewise.
6280 * math/w_exp10f.c: Likewise.
6281 * math/w_exp10l.c: Likewise.
6282 * math/w_fmod.c: Likewise.
6283 * math/w_fmodf.c: Likewise.
6284 * math/w_fmodl.c: Likewise.
6285 * math/w_j0.c: Likewise.
6286 * math/w_j0f.c: Likewise.
6287 * math/w_j0l.c: Likewise.
6288 * math/w_j1.c: Likewise.
6289 * math/w_j1f.c: Likewise.
6290 * math/w_j1l.c: Likewise.
6291 * math/w_jn.c: Likewise.
6292 * math/w_jnf.c: Likewise.
6293 * math/w_log.c: Likewise.
6294 * math/w_logf.c: Likewise.
6295 * math/w_logl.c: Likewise.
6296 * math/w_log10.c: Likewise.
6297 * math/w_log10f.c: Likewise.
6298 * math/w_log10l.c: Likewise.
6299 * math/w_log2.c: Likewise.
6300 * math/w_log2f.c: Likewise.
6301 * math/w_log2l.c: Likewise.
6302 * math/w_pow.c: Likewise.
6303 * math/w_powf.c: Likewise.
6304 * math/w_powl.c: Likewise.
6305 * math/w_remainder.c: Likewise.
6306 * math/w_remainderf.c: Likewise.
6307 * math/w_remainderl.c: Likewise.
6308 * math/w_scalb.c: Likewise.
6309 * math/w_scalbf.c: Likewise.
6310 * math/w_scalbl.c: Likewise.
6311 * math/w_sqrt.c: Likewise.
6312 * math/w_sqrtf.c: Likewise.
6313 * math/w_sqrtl.c: Likewise.
6314 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6315 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
6316 used.
6317 * math/math_private.h: Declare __kernel_standard_f.
6318 * math/w_cosh.c: Remove cruft and optimize a bit.
6319 * math/w_coshf.c: Likewise.
6320 * math/w_coshl.c: Likewise.
6321 * math/w_exp2.c: Likewise.
6322 * math/w_exp2f.c: Likewise.
6323 * math/w_exp2l.c: Likewise.
6324 * math/w_hypot.c: Likewise.
6325 * math/w_hypotf.c: Likewise.
6326 * math/w_hypotl.c: Likewise.
6327 * math/w_lgamma.c: Likewise.
6328 * math/w_lgamma_r.c: Likewise.
6329 * math/w_lgammaf.c: Likewise.
6330 * math/w_lgammaf_r.c: Likewise.
6331 * math/w_lgammal.c: Likewise.
6332 * math/w_lgammal_r.c: Likewise.
6333 * math/w_sinh.c: Likewise.
6334 * math/w_sinhf.c: Likewise.
6335 * math/w_sinhl.c: Likewise.
6336 * math/w_tgamma.c: Likewise.
6337 * math/w_tgammaf.c: Likewise.
6338 * math/w_tgammal.c: Likewise.
6339 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6340 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6341 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6342 Minor optimizations. Pretty printing. Remove cruft.
6343 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6344 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6345 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6346 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6347 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6348 * sysdeps/i386/fpu/e_asin.S: Likewise.
6349 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6350 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6351 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6352 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6353 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6354 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6355 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6356 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6357 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6358 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6359 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6360 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6361 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6362 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6363 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6364 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6365 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6366 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6367 * sysdeps/i386/fpu/e_log.S: Likewise.
6368 * sysdeps/i386/fpu/e_log10.S: Likewise.
6369 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6370 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6371 * sysdeps/i386/fpu/e_log2.S: Likewise.
6372 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6373 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6374 * sysdeps/i386/fpu/e_logf.S: Likewise.
6375 * sysdeps/i386/fpu/e_logl.S: Likewise.
6376 * sysdeps/i386/fpu/e_pow.S: Likewise.
6377 * sysdeps/i386/fpu/e_powf.S: Likewise.
6378 * sysdeps/i386/fpu/e_powl.S: Likewise.
6379 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6380 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6381 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6382 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6383 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6384 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6385 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6386 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6387 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6388 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6389 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6390 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6391 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6392 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6393 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6394 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6395 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6396 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6397 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6398 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6399 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6400 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6401 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6402 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6403 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6404 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6405 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6406 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6407 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6408 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6409 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6410 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6411 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6412 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6413 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6414 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6415 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6416 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6417 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6418 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6419 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6420 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6421 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6422 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6423 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6424 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6425 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6426 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6427 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6428 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6429 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6430 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6431 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6432 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6433 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6434 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6435 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6436 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6437 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6438 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6439 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6440 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6441 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6442 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6443 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6444 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6445 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6446 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6447 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6448 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6449 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6450 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6451 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6452 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6453 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6454 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6455 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6456 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6457 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6458 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6459 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6460 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6461 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6462 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6463 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6464 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6465 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6466 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6467 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6468 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6469 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6470 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6471 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6472 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6473 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6474 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6475 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6476 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6477 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6478 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6479 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6480 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6481 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6482 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6483 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6484 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6485 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6486 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6487 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6488 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6489 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6490 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6491 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6492 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6493 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6494 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6495 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6496 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6497 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6498 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6499 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6500 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6501 (__isnanf): Likewise.
6502 (__isinf_ns): Likewise.
6503 (__isinf_nsf): Likewise.
6504 (__finite): Likewise.
6505 (__finitef): Likewise.
6506 (__ieee754_sqrt): Define as macro.
6507 (__ieee754_sqrtf): Define as macro.
6508 (__ieee754_sqrtl): Define as macro.
6509 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6510 inlined copy.
6511 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6512 __FINITE_MATH_ONLY__ consistent.
6513 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6514
12cc2fcd
AS
65152011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6516
a843a204
AS
6517 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6518 of rawmemchr.
6519
12cc2fcd
AS
6520 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6521
c853acd5
UD
65222011-10-09 Ulrich Drepper <drepper@gmail.com>
6523
6524 * po/ja.po: Update from translation team.
6525
c658d255
RM
65262011-10-08 Roland McGrath <roland@hack.frob.com>
6527
110946e4
RM
6528 * locale/programs/locarchive.c (prepare_address_space): New function.
6529 (create_archive, enlarge_archive, open_archive): Use it.
6530
50604220
RM
6531 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6532 inside [SHARED], where it is used.
6533
c658d255
RM
6534 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6535
6536 * nss/getent.c (netgroup_keys): Remove unused variable.
6537 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6538
6a621eb7
UD
65392011-10-08 Ulrich Drepper <drepper@gmail.com>
6540
7edb55ce
UD
6541 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6542 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6543 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6544 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6545 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6546 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6547 * math/Makefile (libm-calls): Add s_isinf_ns.
6548 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6549 * math/multc3.c: Likewise.
6550 * math/s_casin.c: Likewise.
6551 * math/s_casinf.c: Likewise.
6552 * math/s_casinl.c: Likewise.
6553 * math/s_ccos.c: Likewise.
6554 * math/s_ccosf.c: Likewise.
6555 * math/s_ccosl.c: Likewise.
6556 * math/s_ctan.c: Likewise.
6557 * math/s_ctanf.c: Likewise.
6558 * math/s_ctanh.c: Likewise.
6559 * math/s_ctanhf.c: Likewise.
6560 * math/s_ctanhl.c: Likewise.
6561 * math/s_ctanl.c: Likewise.
6562 * math/w_fmod.c: Likewise.
6563 * math/w_fmodf.c: Likewise.
6564 * math/w_fmodl.c: Likewise.
6565 * math/w_remainder.c: Likewise.
6566 * math/w_remainderf.c: Likewise.
6567 * math/w_remainderl.c: Likewise.
6568 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6569 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6570 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6571 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6572 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6573 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6574 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6575 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6576
187da0ae
UD
6577 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6578 of the number.
6579 * stdio-common/printf_fphex.c: Likewise.
6580 * stdio-common/printf_size.c: Likewise.
6581
9277c064
UD
6582 * math/e_exp10.c: Include math_private.h using <...> not "...".
6583 * math/e_exp10f.c: Likewise.
6584 * math/e_exp10l.c: Likewise.
6585 * math/e_exp2l.c: Likewise.
6586 * math/e_j0l.c: Likewise.
6587 * math/e_j1l.c: Likewise.
6588 * math/e_jnl.c: Likewise.
6589 * math/e_lgammal_r.c: Likewise.
6590 * math/e_rem_pio2l.c: Likewise.
6591 * math/e_scalb.c: Likewise.
6592 * math/e_scalbf.c: Likewise.
6593 * math/e_scalbl.c: Likewise.
6594 * math/k_cosl.c: Likewise.
6595 * math/k_sinl.c: Likewise.
6596 * math/k_tanl.c: Likewise.
6597 * math/s_cacoshf.c: Likewise.
6598 * math/s_catan.c: Likewise.
6599 * math/s_catanf.c: Likewise.
6600 * math/s_catanh.c: Likewise.
6601 * math/s_catanhf.c: Likewise.
6602 * math/s_catanhl.c: Likewise.
6603 * math/s_catanl.c: Likewise.
6604 * math/s_ccosh.c: Likewise.
6605 * math/s_ccoshf.c: Likewise.
6606 * math/s_ccoshl.c: Likewise.
6607 * math/s_cexp.c: Likewise.
6608 * math/s_cexpf.c: Likewise.
6609 * math/s_cexpl.c: Likewise.
6610 * math/s_clog.c: Likewise.
6611 * math/s_clog10.c: Likewise.
6612 * math/s_clog10f.c: Likewise.
6613 * math/s_clog10l.c: Likewise.
6614 * math/s_clogf.c: Likewise.
6615 * math/s_clogl.c: Likewise.
6616 * math/s_csin.c: Likewise.
6617 * math/s_csinf.c: Likewise.
6618 * math/s_csinh.c: Likewise.
6619 * math/s_csinhf.c: Likewise.
6620 * math/s_csinhl.c: Likewise.
6621 * math/s_csinl.c: Likewise.
6622 * math/s_csqrt.c: Likewise.
6623 * math/s_csqrtf.c: Likewise.
6624 * math/s_csqrtl.c: Likewise.
6625 * math/s_ctan.c: Likewise.
6626 * math/s_ctanf.c: Likewise.
6627 * math/s_ctanh.c: Likewise.
6628 * math/s_ctanhf.c: Likewise.
6629 * math/s_ctanhl.c: Likewise.
6630 * math/s_ctanl.c: Likewise.
6631 * math/s_ldexp.c: Likewise.
6632 * math/s_ldexpf.c: Likewise.
6633 * math/s_ldexpl.c: Likewise.
6634 * math/s_significand.c: Likewise.
6635 * math/s_significandf.c: Likewise.
6636 * math/s_significandl.c: Likewise.
6637 * math/w_acos.c: Likewise.
6638 * math/w_acosf.c: Likewise.
6639 * math/w_acosh.c: Likewise.
6640 * math/w_acoshf.c: Likewise.
6641 * math/w_acoshl.c: Likewise.
6642 * math/w_acosl.c: Likewise.
6643 * math/w_asin.c: Likewise.
6644 * math/w_asinf.c: Likewise.
6645 * math/w_asinl.c: Likewise.
6646 * math/w_atan2.c: Likewise.
6647 * math/w_atan2f.c: Likewise.
6648 * math/w_atan2l.c: Likewise.
6649 * math/w_atanh.c: Likewise.
6650 * math/w_atanhf.c: Likewise.
6651 * math/w_atanhl.c: Likewise.
6652 * math/w_cosh.c: Likewise.
6653 * math/w_coshf.c: Likewise.
6654 * math/w_coshl.c: Likewise.
6655 * math/w_dremf.c: Likewise.
6656 * math/w_exp10.c: Likewise.
6657 * math/w_exp10f.c: Likewise.
6658 * math/w_exp10l.c: Likewise.
6659 * math/w_exp2.c: Likewise.
6660 * math/w_exp2f.c: Likewise.
6661 * math/w_fmod.c: Likewise.
6662 * math/w_fmodf.c: Likewise.
6663 * math/w_fmodl.c: Likewise.
6664 * math/w_hypot.c: Likewise.
6665 * math/w_hypotf.c: Likewise.
6666 * math/w_hypotl.c: Likewise.
6667 * math/w_j0.c: Likewise.
6668 * math/w_j0f.c: Likewise.
6669 * math/w_j0l.c: Likewise.
6670 * math/w_j1.c: Likewise.
6671 * math/w_j1f.c: Likewise.
6672 * math/w_j1l.c: Likewise.
6673 * math/w_jn.c: Likewise.
6674 * math/w_jnf.c: Likewise.
6675 * math/w_jnl.c: Likewise.
6676 * math/w_lgamma.c: Likewise.
6677 * math/w_lgamma_r.c: Likewise.
6678 * math/w_lgammaf.c: Likewise.
6679 * math/w_lgammaf_r.c: Likewise.
6680 * math/w_lgammal.c: Likewise.
6681 * math/w_lgammal_r.c: Likewise.
6682 * math/w_log.c: Likewise.
6683 * math/w_log10.c: Likewise.
6684 * math/w_log10f.c: Likewise.
6685 * math/w_log10l.c: Likewise.
6686 * math/w_log2.c: Likewise.
6687 * math/w_log2f.c: Likewise.
6688 * math/w_log2l.c: Likewise.
6689 * math/w_logf.c: Likewise.
6690 * math/w_logl.c: Likewise.
6691 * math/w_pow.c: Likewise.
6692 * math/w_powf.c: Likewise.
6693 * math/w_powl.c: Likewise.
6694 * math/w_remainder.c: Likewise.
6695 * math/w_remainderf.c: Likewise.
6696 * math/w_remainderl.c: Likewise.
6697 * math/w_scalb.c: Likewise.
6698 * math/w_scalbf.c: Likewise.
6699 * math/w_scalbl.c: Likewise.
6700 * math/w_sinh.c: Likewise.
6701 * math/w_sinhf.c: Likewise.
6702 * math/w_sinhl.c: Likewise.
6703 * math/w_sqrt.c: Likewise.
6704 * math/w_sqrtf.c: Likewise.
6705 * math/w_sqrtl.c: Likewise.
6706 * math/w_tgamma.c: Likewise.
6707 * math/w_tgammaf.c: Likewise.
6708 * math/w_tgammal.c: Likewise.
6709
6a621eb7
UD
6710 * po/ja.po: Update from translation team.
6711
bf582445
AJ
67122011-09-29 Andreas Jaeger <aj@suse.de>
6713
f9efbf3a
AJ
6714 [BZ #13179]
6715 * sunrpc/netname.c (netname2host): Fix logic.
6716
bf582445
AJ
6717 [BZ #6779]
6718 [BZ #6783]
6719 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6720 correctly.
6721 * math/w_remainder.c (__remainder): Likewise.
6722 * math/w_remainderf.c (__remainderf): Likewise.
6723 * math/libm-test.inc (remainder_test): Add test cases.
6724
48693bea
AK
67252011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6726
6727 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6728 sdiv_qrnnd.
6729
42622229
LD
67302011-10-07 Ulrich Drepper <drepper@gmail.com>
6731
6732 * string/test-memcmp.c: Avoid unncessary #defines.
6733 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6734
093ecf92
LD
67352011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6736
6737 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6738 Use new sse2 version for core i3 - i7 as it's faster
6739 than sse42 version.
6740 (bit_Prefer_PMINUB_for_stringop): New.
6741 * sysdeps/x86_64/rawmemchr.S: Update.
6742 Replace with faster SSE2 version.
6743 * sysdeps/x86_64/memrchr.S: New file.
6744 * sysdeps/x86_64/memchr.S: Update.
6745 Replace with faster SSE2 version.
6746
fde56e5c
MP
67472011-09-12 Marek Polacek <mpolacek@redhat.com>
6748
6749 * elf/dl-load.c (lose): Add cast to avoid warning.
6750
21fd49a9
UD
67512011-10-07 Ulrich Drepper <drepper@gmail.com>
6752
5a06e643
UD
6753 * po/ca.po: Update from translation team.
6754
684ae515
UD
6755 * inet/getnetgrent_r.c: Hook up nscd.
6756 * nscd/Makefile (routines): Add nscd_netgroup.
6757 (nscd-modules): Add netgroupcache.
6758 (CFLAGS-netgroupcache.c): Define.
6759 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6760 (cache_search): Add const to second parameter.
6761 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6762 INNETGR.
6763 (dbs): Add netgrdb entry.
6764 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6765 (verify_persistent_db): Handle netgrdb.
6766 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6767 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6768 GETFDNETGR.
6769 (netgroup_response_header): Define.
6770 (innetgroup_response_header): Define.
6771 (datahead): Add netgroup_response_header and innetgroup_response_header
6772 elements.
6773 * nscd/nscd.conf: Add entries for netgroup cache.
6774 * nscd/nscd.h (dbtype): Add netgrdb.
6775 (_PATH_NSCD_NETGROUP_DB): Define.
6776 (netgroup_iov_disabled): Declare.
6777 (xmalloc, xcalloc, xrealloc): Move declarations here.
6778 (cache_search): Adjust prototype.
6779 Add netgroup-related prototypes.
6780 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6781 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6782 (__nscd_innetgr): Declare.
6783 * nscd/selinux.c (perms): Use access_vector_t as element type and
6784 add netgroup-related initializers.
6785 * nscd/netgroupcache.c: New file.
6786 * nscd/nscd_netgroup.c: New file.
6787 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6788 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6789 For four parameters use innetgr.
6790 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6791 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6792 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6793 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6794
21fd49a9
UD
6795 * nscd/connections.c (register_traced_file): Don't register file
6796 for disabled databases.
6797
054c0457
UD
67982011-10-06 Ulrich Drepper <drepper@gmail.com>
6799
32b63198
UD
6800 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6801
054c0457
UD
6802 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6803 from tree and freeing node.
6804
64031225
JO
68052011-09-25 Jiri Olsa <jolsa@redhat.com>
6806
6807 * nss/nsswitch.c (__nss_database_lookup): Handle
6808 nss_parse_service_list out of memory case.
6809
0490345c
JO
68102011-09-15 Jiri Olsa <jolsa@redhat.com>
6811
6812 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6813 out of memory case.
6814
3a62d00d
AS
68152011-10-04 Andreas Schwab <schwab@redhat.com>
6816
6817 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6818 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6819 pass it down.
6820 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6821 elf_machine_rela, elf_machine_lazy_rel.
6822 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6823 (ELF_DYNAMIC_DO_REL): Likewise.
6824 (ELF_DYNAMIC_DO_RELA): Likewise.
6825 (ELF_DYNAMIC_RELOCATE): Likewise.
6826 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6827 to ELF_DYNAMIC_DO_REL.
6828 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6829 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6830 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6831 elf_machine_rela.
6832 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6833 skip_ifunc, don't call ifunc function if non-zero.
6834 (elf_machine_rela): Likewise.
6835 (elf_machine_lazy_rel): Likewise.
6836 (elf_machine_lazy_rela): Likewise.
6837 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6838 (elf_machine_lazy_rel): Likewise.
6839 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6840 Likewise.
6841 (elf_machine_lazy_rel): Likewise.
6842 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6843 Likewise.
6844 (elf_machine_lazy_rel): Likewise.
6845 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6846 (elf_machine_lazy_rel): Likewise.
6847 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6848 (elf_machine_lazy_rel): Likewise.
6849 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6850 (elf_machine_lazy_rel): Likewise.
6851 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6852 (elf_machine_lazy_rel): Likewise.
6853 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6854 (elf_machine_lazy_rel): Likewise.
6855 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6856 (elf_machine_lazy_rel): Likewise.
6857
68577918
UD
68582011-09-28 Ulrich Drepper <drepper@gmail.com>
6859
6860 * nss/nss_files/files-init.c (_nss_files_init): Use static
6861 initialization for all the *_traced_file variables.
6862
68822d74
AS
68632011-09-28 Andreas Schwab <schwab@redhat.com>
6864
6865 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6866
2056100b
RM
68672011-09-27 Roland McGrath <roland@hack.frob.com>
6868
6869 [BZ #13226]
6870 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6871
32c76b63
AS
68722011-09-27 Andreas Schwab <schwab@redhat.com>
6873
6874 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6875 Reread the line before reparsing it.
6876
bf972c9d
AS
68772011-09-26 Andreas Schwab <schwab@redhat.com>
6878
6879 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6880
e057a1b5
JM
68812011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6882 Maxim Kuvyrkov <maxim@codesourcery.com>
6883 Joseph Myers <joseph@codesourcery.com>
6884
6885 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6886 if needed for __stack_chk_guard.
6887
bc7e1c36
RM
68882011-09-19 Roland McGrath <roland@hack.frob.com>
6889
ecb1482f
RM
6890 * sysdeps/posix/spawni.c (script_execute): Always define it.
6891 It will be optimized away if unused.
6892 (maybe_script_execute): New function.
6893 (__spawni): Call it.
6894
bc7e1c36
RM
6895 * Makerules: Don't include tls.make.
6896 (config-tls): Always set to thread.
6897 * tls.make.c: File removed.
6898
1c3b002b
MF
68992011-09-19 Mike Frysinger <vapier@gentoo.org>
6900
6901 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6902 * config.make.in (CPPFLAGS-config): New substituted variable.
6903
2840865d
UD
69042011-09-15 Ulrich Drepper <drepper@gmail.com>
6905
88738eb6
UD
6906 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6907
cbf645a6 6908 [BZ #13192]
2840865d
UD
6909 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6910 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6911
b402e91a
RM
69122011-09-15 Roland McGrath <roland@hack.frob.com>
6913
6914 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6915 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6916 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6917 (CALL_FAIL): Likewise.
6918 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6919 (CALL_FAIL): Macro removed.
6920 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
6921
4c1a1f71
UD
69222011-09-15 Ulrich Drepper <drepper@gmail.com>
6923
6924 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
6925 for __FINITE_MATH_ONLY__ == 1.
6926
edc121be
AS
69272011-09-15 Andreas Schwab <schwab@redhat.com>
6928
6929 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
6930 __ieee754_sqrt instead of sqrt.
6931 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
6932 __ieee754_sqrtf instead of sqrtf.
6933 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6934 __floorf instead of floorf.
6935 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
6936 __floorf, __truncf instead of floorf, truncf.
6937
cd205654
UD
69382011-09-14 Ulrich Drepper <drepper@gmail.com>
6939
ee4d0315
UD
6940 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
6941
cd205654
UD
6942 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
6943 __extern_always_inline.
6944 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
6945 32-bit.
6946
48b67d71
AS
69472011-09-14 Andreas Schwab <schwab@redhat.com>
6948
6949 * elf/rtld.c (dl_main): Also relocate in dependency order when
6950 doing symbol dependency testing.
6951
1ae12c75
AS
69522011-09-13 Andreas Schwab <schwab@linux-m68k.org>
6953
6954 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6955 Always define `refsym'.
6956
995a80df
AS
69572011-09-13 Andreas Schwab <schwab@redhat.com>
6958
e529793b
AS
6959 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
6960 (__FD_ELT): Renamed from __FDELT.
6961 * misc/bits/select2.h (__FD_ELT): Likewise.
6962 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
6963 __FD_MASK instead of __FDELT, __FDMASK.
6964 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6965 Likewise.
6966 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6967 Likewise.
6968
52d4fef8
AS
6969 * elf/Makefile (gen-ldd): Fix pattern.
6970
995a80df
AS
6971 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
6972 (init_tls): Likewise.
6973
8682f8b0
UD
69742011-09-12 Ulrich Drepper <drepper@gmail.com>
6975
6976 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
6977
de82006d
AS
69782011-09-12 Andreas Schwab <schwab@redhat.com>
6979
a7c8e6a1
AS
6980 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
6981 `struct cmsghdr *' instead of `void *'.
6982 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
6983 Likewise.
6984
0f31fe77
AS
69852011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6986
6987 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
6988 if non-absolute.
6989 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
6990 ldd_rewrite_script.
0f31fe77 6991
32b4c839
UD
69922011-09-11 Ulrich Drepper <drepper@gmail.com>
6993
83cd1420
UD
6994 * configure.in: Remove --with-tls option.
6995 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
6996 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
6997 out in case it is missing.
6998 * sysdeps/ia64/elf/configure.in: Likewise.
6999 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7000 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7001 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7002 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7003 * sysdeps/sh/elf/configure.in: Likewise.
7004 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7005 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7006 * sysdeps/x86_64/elf/configure.in: Likewise.
7007 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7008 * sysdeps/mach/hurd/tls.h: Likewise.
7009
633f745d
UD
7010 [BZ #13067]
7011 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7012
f318beb8
UD
7013 [BZ #13090]
7014 * configure.in: Fix use of AC_INIT.
7015
32b4c839
UD
7016 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7017
3ce1f295
UD
70182011-09-10 Ulrich Drepper <drepper@gmail.com>
7019
bb016596
UD
7020 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7021 __set_errno.
8e58439c
UD
7022 * malloc/hooks.c: Likewise.
7023
aebae053 7024 [BZ #11929]
02d46fc4
UD
7025 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
7026 variables statically.
7027 (narenas): Initialize.
7028 (list_lock): Initialize.
bb016596
UD
7029 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
7030 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
7031 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7032 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
7033 Add initializers to main_arena and mp_.
7034 (malloc_state): Remove pagesize member. Change all users to use
7035 GLRO(dl_pagesize).
7036
7037 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7038 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
7039 is always initialized.
7040
22a89187
UD
7041 * malloc/malloc.c: Removed unused configurations and dead code.
7042 * malloc/arena.c: Likewise.
7043 * malloc/hooks.c: Likewise.
02d46fc4 7044 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 7045
d063d164
UD
7046 * include/tls.h: Removed. USE___THREAD must always be defined.
7047 * bits/libc-tsd.h: Don't handle !USE___THREAD.
7048 * elf/dl-libc.c: Likewise.
7049 * elf/dl-tsd.c: Likewise.
7050 * include/errno.h: Likewise.
7051 * include/netdb.h: Likewise.
7052 * include/resolv.h: Likewise.
7053 * inet/herrno-loc.c: Likewise.
7054 * inet/herrno.c: Likewise.
7055 * malloc/arena.c: Likewise.
7056 * malloc/hooks.c: Likewise.
7057 * malloc/malloc.c: Likewise.
7058 * resolv/res-state.c: Likewise.
7059 * resolv/res_libc.c: Likewise.
7060 * sysdeps/i386/dl-machine.h: Likewise.
7061 * sysdeps/ia64/dl-machine.h: Likewise.
7062 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7063 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7064 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7065 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7066 * sysdeps/sh/dl-machine.h: Likewise.
7067 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7068 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7069 * sysdeps/unix/i386/sysdep.S: Likewise.
7070 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7071 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7072 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7073 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7074 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7075 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7076 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7077 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7078 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7079 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7080 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7081 * sysdeps/x86_64/dl-machine.h: Likewise.
7082 * tls.make.c: Likewise.
7083
3ce1f295
UD
7084 * configure.in: Remove --with-__thread option. Make tests for
7085 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7086 tls_model attribute fail if no support is available. Remove
7087 USE_IN_LIBIO.
7088 * Makeconfig: Adjust for dropped configure option. All features are
7089 now mandatory.
7090 * Makerules: Likewise.
7091 * Versions.def: Likewise.
7092 * argp/argp-fmtstream.c: Likewise.
7093 * argp/argp-fmtstream.h: Likewise.
7094 * argp/argp-help.c: Likewise.
7095 * assert/assert.c: Likewise.
7096 * config.h.in: Likewise.
7097 * config.make.in: Likewise.
7098 * configure: Likewise.
7099 * configure.in: Likewise.
7100 * csu/Versions: Likewise.
7101 * csu/init.c: Likewise.
7102 * elf/tst-audit2.c: Likewise.
7103 * elf/tst-tls10.c: Likewise.
7104 * elf/tst-tls10.h: Likewise.
7105 * elf/tst-tls11.c: Likewise.
7106 * elf/tst-tls12.c: Likewise.
7107 * elf/tst-tls14.c: Likewise.
7108 * elf/tst-tlsmod11.c: Likewise.
7109 * elf/tst-tlsmod12.c: Likewise.
7110 * elf/tst-tlsmod13.c: Likewise.
7111 * elf/tst-tlsmod13a.c: Likewise.
7112 * elf/tst-tlsmod14a.c: Likewise.
7113 * elf/tst-tlsmod15b.c: Likewise.
7114 * elf/tst-tlsmod16a.c: Likewise.
7115 * elf/tst-tlsmod16b.c: Likewise.
7116 * elf/tst-tlsmod7.c: Likewise.
7117 * elf/tst-tlsmod8.c: Likewise.
7118 * elf/tst-tlsmod9.c: Likewise.
7119 * gmon/gmon.c: Likewise.
7120 * grp/fgetgrent_r.c: Likewise.
7121 * grp/putgrent.c: Likewise.
7122 * hurd/fopenport.c: Likewise.
7123 * include/libc-symbols.h: Likewise.
7124 * include/tls.h: Likewise.
7125 * intl/gettextP.h: Likewise.
7126 * intl/loadinfo.h: Likewise.
7127 * locale/global-locale.c: Likewise.
7128 * locale/localeinfo.h: Likewise.
7129 * mach/devstream.c: Likewise.
7130 * malloc/arena.c: Likewise.
7131 * malloc/set-freeres.c: Likewise.
7132 * misc/err.c: Likewise.
7133 * misc/getttyent.c: Likewise.
7134 * misc/mntent_r.c: Likewise.
7135 * posix/getopt.c: Likewise.
7136 * posix/wordexp.c: Likewise.
7137 * pwd/fgetpwent_r.c: Likewise.
7138 * resolv/Versions: Likewise.
7139 * resolv/res_hconf.c: Likewise.
7140 * shadow/fgetspent_r.c: Likewise.
7141 * shadow/putspent.c: Likewise.
7142 * stdio-common/printf_fphex.c: Likewise.
7143 * stdio-common/tmpfile.c: Likewise.
7144 * stdlib/abort.c: Likewise.
7145 * stdlib/fmtmsg.c: Likewise.
7146 * sunrpc/auth_unix.c: Likewise.
7147 * sunrpc/clnt_perr.c: Likewise.
7148 * sunrpc/clnt_tcp.c: Likewise.
7149 * sunrpc/clnt_udp.c: Likewise.
7150 * sunrpc/clnt_unix.c: Likewise.
7151 * sunrpc/openchild.c: Likewise.
7152 * sunrpc/svc_simple.c: Likewise.
7153 * sunrpc/svc_tcp.c: Likewise.
7154 * sunrpc/svc_udp.c: Likewise.
7155 * sunrpc/svc_unix.c: Likewise.
7156 * sunrpc/xdr.c: Likewise.
7157 * sunrpc/xdr_array.c: Likewise.
7158 * sunrpc/xdr_rec.c: Likewise.
7159 * sunrpc/xdr_ref.c: Likewise.
7160 * sunrpc/xdr_stdio.c: Likewise.
7161
1248c1c4
PB
71622011-09-09 Ulrich Drepper <drepper@gmail.com>
7163
7164 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7165
71662011-07-03 Andreas Jaeger <aj@suse.de>
7167
7168 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7169 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7170 regenerate with gen-libm-tests.pl.
7171
71722010-05-12 Petr Baudis <pasky@suse.cz>
7173
7174 [BZ #11589]
7175 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7176 around j0() zero points by switching to j1().
7177 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7178 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7179 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7180 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7181
f22e1074
UD
71822011-09-09 Ulrich Drepper <drepper@gmail.com>
7183
f19009c1
UD
7184 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7185 instead of 0.
7186 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7187 instead of 0. .
7188 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7189 Patch in part by Pavel Roskin <proski@gnu.org>.
7190
3f8cc204
UD
7191 [BZ #13138]
7192 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7193 realloc.
7194 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
7195 Free memory block if necessary.
7196
f22e1074
UD
7197 [BZ #12847]
7198 * libio/genops.c (INTDEF): For string streams the _lock pointer can
7199 be NULL. Don't lock in this case.
7200
0a2349f9
RM
72012011-09-09 Roland McGrath <roland@hack.frob.com>
7202
7203 * elf/elf.h (ELFOSABI_GNU): New macro.
7204 (ELFOSABI_LINUX): Define to that.
7205
f3cdd467
DZ
72062011-07-29 Denis Zaitceff <zaitceff@gmail.com>
7207
7208 * string/strncat.c (strncat): Undef the symbol in case it has been
7209 defined in bits/string.h.
7210
74718d13
UD
72112011-09-09 Ulrich Drepper <drepper@gmail.com>
7212
633e9e0f
UD
7213 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7214
0a2349f9 7215 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
7216 link map.
7217
f9924780
AJ
72182011-08-17 Andreas Jaeger <aj@suse.de>
7219
7220 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7221
7f5517aa
PP
72222011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7223 Ian Lance Taylor <iant@google.com>
7224
7225 * math/libm-test.inc (lround_test): New testcase.
7226 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7227
762011fe
UD
72282011-09-08 Ulrich Drepper <drepper@gmail.com>
7229
92963737
UD
7230 * Makefile: Remove support for automatic cvs check-ins.
7231 * Makerules: Likewise.
7232 * config.make.in: Likewise.
7233 * configure.in: Likewise.
7234 * intl/Makefile: Likewise.
7235 * locale/Makefile: Likewise.
7236 * po/Makefile: Likewise.
7237 * posix/Makefile: Likewise.
7238 * sysdeps/gnu/Makefile: Likewise.
7239 * sysdeps/mach/hurd/Makefile: Likewise.
7240 * sysdeps/sparc/sparc32/Makefile: Likewise.
7241
b0727fd8
JS
7242 [BZ #13118]
7243 * posix/Makefile (bug-regex32-ENV): Define.
7244 Patch by John Stanley <jpsinthemix@verizon.net>.
7245
a0f33f99
UD
7246 * misc/Makefile (headers): Add bits/select2.h.
7247 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7248 * misc/bits/select2.h: New file.
7249 * include/bits/select2.h: New file.
7250 * debug/Makefile (routines): Add fdelt_chk.
7251 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7252 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7253 FD_ISSET.
7254 * debug/fdelt_chk.c: New file.
7255
762011fe
UD
7256 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
7257 * wcsmbs/test-wmemcmp.c: Likewise.
7258 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 7259 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
7260
72612011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7262
7263 * string/Makefile (strop-tests): Add memcmp.
7264 * string/test-wmemcmp.c: New file.
7265 * string/test-memcmp.c: Add wmemcmp support.
7266
7f513ec8
RM
72672011-09-08 Roland McGrath <roland@hack.frob.com>
7268
0442afb4
RM
7269 [BZ #13153]
7270 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7271 2011-07-19 change.
7272
7f513ec8
RM
7273 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7274 garbage value in a __mach_port_mod_refs call in the cases of the
7275 task-self and thread-self ports.
7276
a12b2239
ST
72772011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7278
7279 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7280
610f9ab4
AS
72812011-09-08 Andreas Schwab <schwab@redhat.com>
7282
7f513ec8 7283 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 7284
48882a1a
LD
72852011-09-07 Ulrich Drepper <drepper@gmail.com>
7286
b49865be
UD
7287 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7288
fdc86bc9
UD
7289 * elf/dl-libc.c (dlerror_run): Pass back error code from
7290 dl_catch_error.
7291
c966526a
UD
7292 [BZ #13123]
7293 * elf/dl-load.c (lose): Free l_origin if it is valid.
7294
48882a1a
LD
7295 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7296 names.
7297 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7298 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7299 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7300 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7301 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7302 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7303
77a2a8b4
AZ
73042011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7305
7306 * sysdeps/powerpc/fpu/e_hypot.c: New file.
7307 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7308 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7309 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7310 * sysdeps/powerpc/fpu/k_cosf.c: New file.
7311 * sysdeps/powerpc/fpu/k_sinf.c: New file.
7312 * sysdeps/powerpc/fpu/s_cosf.c: New file.
7313 * sysdeps/powerpc/fpu/s_sinf.c: New file.
7314 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7315 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7316
24f579d8
AM
73172011-08-15 Alan Modra <amodra@gmail.com>
7318
7319 [BZ #13092]
7320 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7321 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7322 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
7323 ppc_mcount to static-only-routines.
7324 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7325 __mcount_internal.
7326 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7327 __mcount_internal with usual JUMPTARGET. Remove useless nop.
7328
3d4837df
UD
73292011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7330
7331 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7332 for finite and infinity parameters.
7333
22700377
WS
73342011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7335
7336 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7337 and add nop instructions for throughput optimization.
7338 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7339
5025581e
WS
73402011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7341
7342 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7343 aligned copy for power7 with vector-scalar instructions.
7344 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7345
08a300c9
L
73462011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7347
7348 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7349 AVX check.
7350
59178ef9
AS
73512011-09-07 Andreas Schwab <schwab@redhat.com>
7352
7353 [BZ #13144]
7354 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7355 last change.
7356
e38ba7ab
UD
73572011-09-07 Ulrich Drepper <drepper@gmail.com>
7358
7359 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7360 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7361 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7362 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7363 clock_gettime.
7364
d53a73ac
UD
73652011-09-06 Ulrich Drepper <drepper@gmail.com>
7366
fc8bffcc
UD
7367 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7368 Forgot to demangle the pointer.
7369
ceaa0c5d
UD
7370 * sysdeps/i386/sysdep.h: Define atom_text_section.
7371 * sysdeps/x86_64/sysdep.h: Likewise.
7372 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7373 section with atom_text_section.
7374 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7375 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7376 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7377 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7378 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7379
a77d3c17
UD
7380 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7381 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7382 already be defined. Change to take two parameters and don't assign
7383 result to variable. Adjust all users.
7384 Define INTERNAL_GETTIME if not already defined.
7385 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7386 call.
7387 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7388 HAVE_CLOCK_GETTIME_VSYSCALL.
7389 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7390
d53a73ac
UD
7391 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7392 gettimeofday vsyscall, just use time.
7393
a8f84144
AS
73942011-09-06 Andreas Schwab <schwab@redhat.com>
7395
7396 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7397 <errno.h>.
7398
ef606249
UD
73992011-09-06 Ulrich Drepper <drepper@gmail.com>
7400
7401 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7402 syscall on x86-64.
7403 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7404 syscall.
7405 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7406 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7407 syscall if possible.
7408
6585cb60
UD
74092011-09-05 Ulrich Drepper <drepper@gmail.com>
7410
7411 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7412 e_ident. Don't pass to find_mapsXX.
7413 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7414
a5f524e4
LD
74152011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7416
7417 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7418 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7419 * sysdeps/x86_64/multiarch/strchr.S: Update.
7420 Check bit_slow_BSF bit.
7421 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7422 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7423 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7424
554881ef
UD
74252011-09-05 Ulrich Drepper <drepper@gmail.com>
7426
d96de963
UD
7427 [BZ #13134]
7428 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7429 before glibc 2.15.
7430 (tryshell): Define.
7431 (__spawni): Change last parameter to be flag. Test
7432 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7433 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7434 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7435 * posix/spawni.c: Likewise.
7436 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7437 * posix/spawnp.c: Likewise. Change normal version to use
7438 SPAWN_XFLAGS_USE_PATH.
7439 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7440 SPAWN_XFLAGS_TRY_SHELL.
7441
d48e5868
UD
7442 [BZ #13150]
7443 * posix/glob.h: Remove gcc 1.x support.
7444
554881ef
UD
7445 [BZ #13068]
7446 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7447
693fb948
LD
74482011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7449
7450 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7451 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7452 strrchr-sse2-bsf
7453 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7454 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7455 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7456 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7457 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7458 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7459
1b48c537
UD
74602011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7461
49d42c37
UD
7462 * sysdeps/x86_64/wcscmp.S: New file.
7463
1b48c537
UD
7464 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7465 wcscmp-c wcscmp-sse2
7466 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7467 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7468 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7469 * wcsmbs/wcscmp.c: Allow renaming.
7470
15c95c5d
DM
74712011-09-05 David S. Miller <davem@davemloft.net>
7472
7473 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7474 stack slot, rather than the struct return pointer slot.
7475 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7476 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7478 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7479
2f0ad8f3
UD
74802011-09-05 Ulrich Drepper <drepper@gmail.com>
7481
d88ae418
UD
7482 * po/ja.po: Update from translation team.
7483
2f0ad8f3
UD
7484 [BZ #13144]
7485 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7486 kernel in 64-bit binaries.
7487
5f4318d1
DM
74882011-09-01 David S. Miller <davem@davemloft.net>
7489
7490 * elf/elf.h (HWCAP_SPARC_*): Move to..
7491 * sysdeps/sparc/sysdep.h: this new file and add new values.
7492 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7493 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7494 _DL_HWCAP_COUNT to 24.
7495 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7496 entries.
7497 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7498 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7499 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7500 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7501 instead of magic constants.
7502 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7503
3ba57516
DM
75042011-08-31 David S. Miller <davem@davemloft.net>
7505
7506 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7507 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7508 Reimplement to do errno handling inline.
7509 (SYSCALL_ERROR_HANDLER): New macro.
7510 (__SYSCALL_STRING): Do not do errno handling in asm.
7511 (__CLONE_SYSCALL_STRING): Delete.
7512 (__INTERNAL_SYSCALL_STRING): Delete.
7513 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7514 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7515 (PSEUDO): Reimplement to do errno handling inline.
7516 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7517 (SYSCALL_ERROR_HANDLER): New macro.
7518 (__SYSCALL_STRING): Do not do errno handling in asm.
7519 (__CLONE_SYSCALL_STRING): Delete.
7520 (__INTERNAL_SYSCALL_STRING): Delete.
7521 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7522 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7523 i386.
7524 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7525 (inline_syscall*): Add 'err' argument.
7526 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7527 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7528 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7529 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7530
7531 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7532 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7533
2bc17433
AS
75342011-08-30 Andreas Schwab <schwab@redhat.com>
7535
7536 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7537
fbeb5f4d
JO
75382011-08-29 Jiri Olsa <jolsa@redhat.com>
7539
7540 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7541 directive.
7542
ad69cc26
DM
75432011-08-24 David S. Miller <davem@davemloft.net>
7544
7545 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7546
39dd69df
AS
75472011-08-24 Andreas Schwab <schwab@redhat.com>
7548
7549 * elf/Makefile: Add rules to build and run unload8 test.
7550 * elf/unload8.c: New file.
7551 * elf/unload8mod1.c: New file.
7552 * elf/unload8mod1x.c: New file.
7553 * elf/unload8mod2.c: New file.
7554 * elf/unload8mod3.c: New file.
7555
7556 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7557 it wasn't used.
7558
2c0b250a
DM
75592011-08-23 David S. Miller <davem@davemloft.net>
7560
7561 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7562 subtract stack bias.
7563 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7564 %sp not %fp in calculations.
7565 (_JMPBUF_UNWINDS_ADJ): Likewise.
7566
22044b48
DM
7567 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7568 (aio_suspend): Call it to force an exception region around the
7569 AIO_MISC_WAIT() invocation.
7570
2cae4995
AS
75712011-08-23 Andreas Schwab <schwab@redhat.com>
7572
7573 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7574 backslash.
7575
873a772e
AJ
75762011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7577
7578 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7579 protection macro.
7580 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7581 and <dl-machine.h>.
7582 (Elf64_FuncDesc): Remove.
7583
25ad0df1
DM
75842011-08-22 David S. Miller <davem@davemloft.net>
7585
7586 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7587 sigaltstack check, add missing cfi directives.
7588 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7589 missing cfi directives, and sigaltstack handling.
7590
e888bcbe
AS
75912011-08-16 Andreas Schwab <schwab@redhat.com>
7592
7593 [BZ #11724]
7594 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7595 object is seen twice.
7596 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7597
7598 * elf/Makefile (distribute): Add tst-initorder2.c.
7599 (tests): Add tst-initorder2.
7600 (modules-names): Add tst-initorder2a tst-initorder2b
7601 tst-initorder2c tst-initorder2d. Add rules to build them.
7602 ($(objpfx)tst-initorder2.out): New rule.
7603 * elf/tst-initorder2.c: New file.
7604 * elf/tst-initorder2.exp: New file.
7605
87162f46
AS
76062011-08-22 Andreas Schwab <schwab@redhat.com>
7607
70538b7f
AS
7608 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7609
f55ffe58
AS
7610 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7611 dependencies back to end of function.
7612
87162f46
AS
7613 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7614 $(elfobjdir)/ld.so.
7615
91b392a4
UD
76162011-08-21 Ulrich Drepper <drepper@gmail.com>
7617
7618 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7619 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7620 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7621 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7622 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7623 of __vdso_gettimeofday.
7624 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7625 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7626 attribute_hidden.
7627 (_libc_vdso_platform_setup): Remove initialization of
7628 __vdso_gettimeofday and __vdso_time.
7629
5c43483f
UD
76302011-08-20 Ulrich Drepper <drepper@gmail.com>
7631
775a77e7
UD
7632 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7633 and fgetc_unlocked.
7634 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7635 getc_unlocked.
89f447ed 7636
49c74ba9
UD
7637 * elf/dl-open.c (add_to_global): Report additions to the global scope
7638 for LD_DEBUG=scopes.
7639 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 7640 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 7641
5c43483f
UD
7642 [BZ #13114]
7643 * stdio-common/Makefile (tests): Add bug24.
7644 * stdio-common/bug24.c: New file.
7645
a101b025
AJ
76462011-08-19 Andreas Jaeger <aj@suse.de>
7647
7648 [BZ #13114]
7649 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7650 non-existant file when using close-on-exec mode.
7651
c88f1766
UD
76522011-08-20 Ulrich Drepper <drepper@gmail.com>
7653
0276a718
UD
7654 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7655 the very first instruction.
7656
c88f1766
UD
7657 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7658 the CFI state in the end.
7659 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7660 inclusion of dl-trampoline.h.
7661 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7662
51ccffa0
AS
76632011-08-19 Andreas Schwab <schwab@redhat.com>
7664
94d7165f
AS
7665 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7666 expectations for long double.
7667
51ccffa0
AS
7668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7669 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7670
fd708658 76712011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
7672
7673 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7674 artificual limit depends upon the system page size.
7675
44f0a71e
UD
76762011-08-17 Ulrich Drepper <drepper@gmail.com>
7677
7678 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7679 * resolv/Makefile: Define CFLAGS-libresolv.
7680
8de79a24
AS
76812011-08-17 Andreas Schwab <schwab@redhat.com>
7682
7683 * nss/makedb.c (compute_tables): Make variables used in nested
7684 function static.
7685
27724598
UD
76862011-08-17 Ulrich Drepper <drepper@gmail.com>
7687
c5305d88
UD
7688 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7689 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7690 if buffer was too small.
7691
27724598
UD
7692 * elf/pldd.c (main): Attach to all threads in the process.
7693 Rewrite /proc handling to use *at functions.
7694
076fe015
UD
76952011-08-16 Ulrich Drepper <drepper@gmail.com>
7696
174baab3
UD
7697 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7698 specifies first scope to show.
7699 (dl_open_worker): Update callers. Move printing scope of new
7700 object to before the relocation.
44f0a71e 7701 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
7702 * sysdeps/generic/ldsodefs.h: Update declaration.
7703
076fe015
UD
7704 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7705 string for the scope number.
7706
a60df2c3
UD
77072011-08-14 Ulrich Drepper <drepper@gmail.com>
7708
7709 * nscd/servicescache.c (cache_addserv): Make sure written is always
7710 initialized.
7711
5e4287d1
RM
77122011-08-14 Roland McGrath <roland@hack.frob.com>
7713
85ae0589
RM
7714 * sysdeps/i386/i486/bits/atomic.h
7715 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7716 statement expression, so as to suppress "set but not used" warning.
7717 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7718
69f63097
RM
7719 * string/strncat.c (STRNCAT): Use prototype definition.
7720
675456ef
RM
7721 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7722 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7723 -Iprograms here.
7724 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7725 (localedef-modules): Add localedef.
7726 (locale-modules): Add locale.
7727
5e4287d1
RM
7728 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7729 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7730 to avoid a warning.
7731
9c96ff23
DM
77322011-08-14 David S. Miller <davem@davemloft.net>
7733
7734 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7735 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7736
f9ddf089
UD
77372011-08-13 Ulrich Drepper <drepper@gmail.com>
7738
44f0a71e 7739 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
7740 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7741 * elf/rtld.c (dl_main): Set l_name of vDSO.
7742 Call _dl_show_scope when DL_DEBUG_SCOPES.
7743 (process_dl_debug): Recognize scopes flag and also set it for all.
7744 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7745 Declare _dl_show_scope.
7746
1dc27704
UD
7747 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7748 (do_dlopen): Pass caller_dlopen to dl_open.
7749 (__libc_dlopen_mode): Initialize caller_dlopen.
7750
f9ddf089
UD
7751 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7752 of libc. Make tolower call locale-independent. Optimize a bit by
7753 using isdigit instead of isalnum.
7754 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7755
9ac533d3
UD
77562011-08-12 Ulrich Drepper <drepper@gmail.com>
7757
7758 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7759 was a dependency or dynamically loaded.
7760
89edf2e9
UD
77612011-08-11 Ulrich Drepper <drepper@gmail.com>
7762
8e999d29
UD
7763 * intl/l10nflist.c: Allow architecture-specific pop function.
7764 * sysdeps/x86_64/l10nflist.c: New file.
7765
89edf2e9
UD
7766 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7767 classification.
7768
14d96785
AS
77692011-08-10 Andreas Schwab <schwab@redhat.com>
7770
7771 * include/dirent.h: Add libc_hidden_proto for scandirat and
7772 scandirat64. Don't declare __scandirat64.
7773 * dirent/scandirat.c: Add libc_hidden_def.
7774 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7775 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7776
6761ac04
DM
77772011-08-10 David S. Miller <davem@davemloft.net>
7778
7779 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7780 enum.
7781 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7782 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7783 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7784
c55fbd1e
UD
77852011-08-09 Ulrich Drepper <drepper@gmail.com>
7786
7787 * Versions.def [libc]: Add GLIBC_2.15.
7788 * dirent/Makefile (routines): Add scandirat and scandirat64.
7789 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7790 GLIBC_2.15.
7791 * dirent/dirent.h: Declare scandirat and scandirat64.
7792 * dirent/scandirat.c: New file.
7793 * dirent/scandirat64.c: New file.
7794 * sysdeps/wordsize-64/scandirat.c: New file.
7795 * sysdeps/wordsize-64/scandirat64.c: New file.
7796 * dirent/opendir.c: Define opendirat.
7797 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7798 using scandirat.
7799 * dirent/scandir64.c: Adjust for scandir.c change.
7800 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7801 __scandirat64, and __scandir_cancel_handler.
7802 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7803 additional parameter and use openat instead of open (outside of ld.so).
7804 Add new __opendir as wrapper around __opendirat.
7805 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7806 here without requiring old scandirat implementation.
7807
879165f2
UD
78082011-08-08 Ulrich Drepper <drepper@gmail.com>
7809
7810 * dirent/scandir.c (cancel_handler): Renamed to
7811 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7812 defined. Adjust users.
7813 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7814 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7815
cb7e923b
UD
78162011-08-04 Ulrich Drepper <drepper@gmail.com>
7817
16292edd
UD
7818 * string/test-string.h (IMPL): Use __STRING to expand name and then
7819 stringify it.
7820
cb7e923b
UD
7821 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7822 of cleanups.
7823
cff82933
LD
78242011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7825
7826 * string/Makefile: Update.
7827 (strop-tests): Append strncat.
7828 * string/test-wcscmp.c: New file.
7829 New comprehensive test for wcscmp.
7830 * string/test-strcmp.c: Update.
7831 (WIDE): New define.
7832
9be9bfcc
AS
78332011-07-22 Andreas Schwab <schwab@redhat.com>
7834
7835 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7836 line.
7837
2e96f1c7
AS
78382011-07-26 Andreas Schwab <schwab@redhat.com>
7839
7840 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7841 encoding to ACE if AI_IDN.
7842
85188888
JJ
78432011-08-01 Jakub Jelinek <jakub@redhat.com>
7844
7845 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7846 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7847
5fa16e9b
LD
78482011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7849
7850 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7851 Fix overflow bug in strncat.
7852 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7853
7854 * string/test-strncat.c: Update.
7855 Add new tests for checking overflow bugs.
7856
78572011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7858
7859 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7860 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7861 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7862 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7863 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7864 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7865 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7866 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7867 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7868
7869 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7870 (USE_AS_STRCAT): Define.
7871 Add strcat and strncat support.
7872 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7873
8c1a459f
AS
78742011-07-25 Andreas Schwab <schwab@redhat.com>
7875
7876 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7877 __n bigger than INT_MAX+1.
7878 (__strncmp_g): Likewise.
7879
bba33c28
UD
78802011-07-23 Ulrich Drepper <drepper@gmail.com>
7881
798be72d
UD
7882 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7883 * libio/stido.h: Likewise.
7884
8accd4dc
UD
7885 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7886 (AF_NFC): Define.
7887 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7888 (AF_NFC): Define.
7889
cbff0d96
UD
7890 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7891 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7892 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7893 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7894 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7895
9191c04a
UD
7896 [BZ #13021]
7897 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7898 installed.
7899
bba33c28
UD
7900 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7901 typo.
7902 (_dl_x86_64_save_sse): Likewise.
7903
90f139dd
UD
79042011-07-22 Ulrich Drepper <drepper@gmail.com>
7905
1aae088a
UD
7906 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7907 OSXSAVE.
7908 (_dl_x86_64_save_sse): Likewise.
7909
8e2045f5
UD
7910 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7911
90f139dd
UD
7912 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7913
1d002f25
AS
79142011-07-21 Andreas Schwab <schwab@redhat.com>
7915
7916 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7917 change.
7918 (_dl_x86_64_save_sse): Use correct AVX check.
7919
21137f89
UD
79202011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7921
7922 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
7923 bug in strncpy/strncat.
7924 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7925
a65c0b7a
UD
79262011-07-21 Ulrich Drepper <drepper@gmail.com>
7927
7928 * string/tester.c (test_strcat): Add tests for different alignments
7929 of source and destination.
7930 (test_strncat): Likewise.
7931
6986b98a
UD
79322011-07-20 Ulrich Drepper <drepper@gmail.com>
7933
90bb2039
UD
7934 [BZ #12852]
7935 * posix/glob.c (glob): Check passed in values before using them in
7936 expressions to avoid some overflows.
7937 (glob_in_dir): Likewise.
7938
5644ef54
UD
7939 [BZ #13007]
7940 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
7941 check for AVX enablement so that we don't crash with old kernels and
7942 new hardware.
7943 * elf/tst-audit4.c: Add same checks here.
7944 * elf/tst-audit6.c: Likewise.
7945
7946 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 7947
bfc9dc9b
AS
79482011-07-09 Andreas Schwab <schwab@linux-m68k.org>
7949
7950 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
7951
702e64bb
UD
79522011-07-20 Ulrich Drepper <drepper@gmail.com>
7953
7954 * po/cs.po: Update from translation team.
7955 * po/bg.po: Likewise.
7956
295e904f
MP
79572011-07-12 Marek Polacek <mpolacek@redhat.com>
7958
7959 * misc/sys/cdefs.h: Add support for const attribute.
7960 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
7961 to gnu_dev_{major,minor,makedev} functions.
7962
3ff94596
MP
79632011-07-20 Marek Polacek <mpolacek@redhat.com>
7964
7965 * intl/dcigettext.c (get_output_charset): Add missing bracket.
7966
28b59fca
AS
79672011-07-20 Andreas Schwab <schwab@redhat.com>
7968
7969 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
7970 strlen results.
7971
19df733e
AK
79722011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7973
7974 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7975 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
7976 register in order to avoid conflicts with the soft frame pointer
7977 being held in r11 when necessary.
7978 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7979 (INTERNAL_VSYSCALL_NCS): Likewise.
7980
c8835729
MP
79812011-07-14 Marek Polacek <mpolacek@redhat.com>
7982
7983 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
7984 * elf/dl-fini.c (_dl_fini): Adjust caller.
7985 * elf/dl-close.c (_dl_close_worker): Likewise.
7986 * sysdeps/generic/ldsodefs.h: Adjust declaration.
7987
b902330c
MP
79882011-07-15 Marek Polacek <mpolacek@redhat.com>
7989
8991e135
MP
7990 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
7991 "aux_cache->nlibs < 0".
7992
b902330c
MP
7993 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
7994 in the reload-count case.
7995
99710781
LD
79962011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7997
7998 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7999 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8000 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8001 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8002 * sysdeps/x86_64/multiarch/strcat.S: New file.
8003 * sysdeps/x86_64/multiarch/strncat.S: New file.
8004 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8005 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8006 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8007 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8008 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8009 (USE_AS_STRCAT): Define.
8010 Add strcat and strncat support.
8011 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8012 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8013 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8014 * string/strncat.c: Update.
8015 (USE_AS_STRNCAT): Define.
8016 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8017 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8018 and i7.
8019 * sysdeps/x86_64/multiarch/init-arch.h
8020 (bit_Prefer_PMINUB_for_stringop): New.
8021 (index_Prefer_PMINUB_for_stringop): Likewise.
8022 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8023 bit_Prefer_PMINUB_for_stringop.
8024
7dc6bd90
UD
80252011-07-19 Ulrich Drepper <drepper@gmail.com>
8026
8027 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8028 buffer64.
8029 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8030 of casting of buffer.
8031 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8032 buffer32 and buffer64.
8033 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8034 writes instead of casting of buffer.
8035 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8036 buffer32.
8037 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8038 casting of buffer.
8039
e0e72284
AS
80402011-07-19 Andreas Schwab <schwab@redhat.com>
8041
8042 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8043
feb1eb0b
UD
80442011-07-19 Ulrich Drepper <drepper@gmail.com>
8045
8046 * nscd/nscd.c (termination_handler): Don't do anything for a database
8047 if it has not yet been initialized.
8048
298711ff
UD
80492011-07-18 Ulrich Drepper <drepper@gmail.com>
8050
8051 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8052
80532011-07-15 Marek Polacek <mpolacek@redhat.com>
8054
8055 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8056
f9d68389
UD
80572011-07-18 Ulrich Drepper <drepper@gmail.com>
8058
8059 * po/nl.po: Update from translation team.
8060 * po/sv.po: Likewise.
8061
db290cf5
RM
80622011-07-16 Roland McGrath <roland@hack.frob.com>
8063
8064 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8065 now disallowed by GCC.
5c550700 8066
fd5e21c7
RM
8067 * configure.in (use-default-link): Default to yes if a test -shared
8068 link meets our qualifications.
8069 * configure: Regenerated.
8070
5c550700
RM
8071 * config.make.in (output-format): New variable.
8072 * configure.in: Check for ld --print-output-format support.
8073 * configure: Regenerated.
8074 * Makerules ($(common-objpfx)format.lds)
8075 [$(output-format) != unknown]: Just use $(output-format),
8076 instead of the linker-script munging.
8077
9fa2c032
RM
80782011-07-14 Roland McGrath <roland@hack.frob.com>
8079
a6928d51
RM
8080 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8081 of $(common-objpfx)shlib.lds.
8082 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8083
661607b3
RM
8084 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8085 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8086
9fa2c032
RM
8087 * configure.in (-z relro check): Adjust test code to add a large
8088 writable data section after it.
8089 * configure: Regenerated.
8090
defe9061
RM
80912011-07-11 Roland McGrath <roland@hack.frob.com>
8092
8093 * configure.in (-z relro check): Fix test code to make the variable
8094 truly const.
8095 * configure: Regenerated.
8096
319b9ad4
UD
80972011-07-11 Ulrich Drepper <drepper@gmail.com>
8098
8099 * nscd/nscd.h (struct traced_file): Define.
8100 (struct database_dyn): Remove inotify_descr, reset_res, and filename
8101 elements. Add traced_files.
8102 (inotify_fd): Declare.
8103 (register_traced_file): Declare.
8104 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
8105 (inotify_fd): Export.
8106 (resolv_conf_descr): Remove.
8107 (nscd_init): Move inotify descriptor creation to main.
8108 Don't register files for notification here.
8109 (register_traced_file): New function.
8110 (invalidate_cache): Don't use reset_res to determine whether to call
8111 res_init, go through the list of registered files.
8112 (main_loop_poll): The inotify descriptors are now stored in the
8113 structures for the traced files.
8114 (main_loop_epoll): Likewise
8115 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
8116 to __nss_disable_nscd.
8117 * nscd/cache.c (prune_cache): There is no single inotify descriptor
8118 for a database anymore. Check the records for all the registered
8119 files instead.
8120 * nss/Makefile (libnss_files-routines): Add files-init.
8121 (libnss_db-routines): Add db-init.
8122 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8123 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8124 * nss/nss_db/db-init.c: New file.
8125 * nss/nss_files/files-init.c: New file.
8126 * nss/nsswitch.c (nss_load_library): New function. Broken out of
8127 __nss_lookup_function.
8128 (__nss_lookup_function): Call nss_load_library.
8129 (nss_load_all_libraries): New function.
8130 (__nss_disable_nscd): Take parameter with callback function for files
8131 to register. Set is_nscd. Load all the DSOs for the NSS modules
8132 used for the cached services.
8133 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8134 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8135 options for features to all the files in nscd.
8136
8137 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8138
23bee3e8
RM
81392011-07-10 Roland McGrath <roland@hack.frob.com>
8140
8141 * csu/elf-init.c (__libc_csu_init): Comment typo.
8142
46a5b7f0
UD
81432011-07-09 Ulrich Drepper <drepper@gmail.com>
8144
8145 * po/pl.po: Update from translation team.
8146 * po/ja.po: Likewise.
8147 * po/ru.po: Likewise.
8148 * po/ko.po: Likewise.
8149 * po/fr.po: Likewise.
8150
d30cf5bb
RM
81512011-07-09 Roland McGrath <roland@hack.frob.com>
8152
113ddea4
RM
8153 * configure.in (.ctors/.dtors header and trailer check):
8154 Use an empirical test on a built program.
8155 * configure: Regenerated.
8156
574920b4
RM
8157 * configure.in (-z relro check): Use an empirical test on a built DSO.
8158 Detect, but do not require, on ia64.
8159 * configure: Regenerated.
8160
d30cf5bb
RM
8161 * configure.in (READELF): Find it with AC_CHECK_TOOL.
8162 Update tests that use readelf to use $READELF instead.
8163 * configure: Regenerated.
8164
8538fdb3
UD
81652011-07-08 Ulrich Drepper <drepper@gmail.com>
8166
8167 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8168 if the result is not used.
8169
04d08991
AJ
81702011-07-05 Andreas Jaeger <aj@suse.de>
8171
8172 [BZ#9696]
8173 * stdlib/tst-strtod.c: Add testcase.
8174
de283087
AD
81752011-07-07 Ulrich Drepper <drepper@gmail.com>
8176
4e5f31c8 8177 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 8178 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
8179 The latter has a higher limit. Take additional parameter to pass to
8180 the new function.
8181 (__pathconf): Pass file to __statfs_link_max.
8182 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8183 __statfs_link_max.
8184 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8185 __statfs_link_max.
8186
de283087
AD
8187 [BZ #12868]
8188 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8189 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8190 Handle Lustre.
8191 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8192 (__statfs_filesize_max): Likewise.
8193 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8194
c75fa153
AJ
81952011-07-05 Andreas Jaeger <aj@suse.de>
8196
8197 * resolv/res_comp.c (dn_skipname): Remove unused variable.
8198
1a544854
UD
81992011-07-06 Marek Polacek <mpolacek@redhat.com>
8200
8201 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8202 `status' variable.
8203 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8204 Likewise.
8205
6f0eec67
UD
82062011-07-04 H.J. Lu <hongjiu.lu@intel.com>
8207
8208 * Makefile (strop-tests): Add strncat.
8209 * string/test-strncat.c: New file.
8210
aae30307
UD
82112011-06-30 Marek Polacek <mpolacek@redhat.com>
8212
8213 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8214
c0cfb5eb
UD
82152011-06-21 Andreas Jaeger <aj@suse.de>
8216
8217 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8218 Copy rule from iconvdata/Makefile.
8219
01636b21
UD
82202011-07-06 Ulrich Drepper <drepper@gmail.com>
8221
8222 [BZ #12922]
8223 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8224 but no long options are defined, just return 'W'.
8225
9895c8bc
UD
82262011-06-22 Marek Polacek <mpolacek@redhat.com>
8227
8228 [BZ #9696]
8229 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8230
5d4cf042
UD
82312011-07-06 Ulrich Drepper <drepper@gmail.com>
8232
8233 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8234 netgroups to read.
960e5535 8235 (innetgr): Likewise.
5d4cf042 8236
751eb97e
RM
82372011-07-05 Roland McGrath <roland@hack.frob.com>
8238
8239 * config.make.in (install_root): Default to $(DESTDIR).
8240
f15f1e45
UD
82412011-07-05 Ulrich Drepper <drepper@gmail.com>
8242
8243 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8244
4e34ac6a
RM
82452011-07-02 Roland McGrath <roland@hack.frob.com>
8246
5e9b6af4
RM
8247 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8248
84f9ea0f
RM
8249 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8250 containing directory rather than embedding absolute directory names.
8251
ea5ee9f7
RM
8252 * scripts/check-local-headers.sh: Rewritten using awk.
8253 Match by word, not by line. Print error messages for matches.
8254 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8255
1b74661a
RM
8256 * Makerules [shlib-lds-flags empty]:
8257 ($(common-objpfx)libc_pic.opts): New target.
8258 ($(common-objpfx)libc_pic.os.clean): New target.
8259 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8260
8261 * config.make.in (OBJCOPY): New variable.
8262 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8263 * configure: Regenerated.
8264
f781ef40
RM
8265 * config.make.in (use-default-link): New variable.
8266 * configure.in (use_default_link): Grok --with-default-link to set it.
8267 * configure: Regenerated.
8268 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8269 (shlib-lds, shlib-lds-flags): Define to empty.
8270
2d4fa81e
RM
8271 * Makerules (shlib-lds): New variable.
8272 (shlib-lds-flags): New variable.
8273 (build-shlib, build-moduile, build-module-asneeded): Use it.
8274 ($(common-objpfx)libc.so): Use $(shlib-lds).
8275 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8276 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8277
31fffa6b
RM
8278 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8279 DT_FLAGS/DT_FLAGS_1 with zero flags.
8280
4e34ac6a
RM
8281 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8282 linker script munging.
8283
fcfc776b
UD
82842011-07-02 Ulrich Drepper <drepper@gmail.com>
8285
8286 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8287 as 128-bit value.
8288 * crypt/sha512.c (sha512_process_block): Perform total addition using
8289 128-bit if possible.
8290 (__sha512_finish_ctx): Likewise.
8291 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8292 as 64-bit value.
8293 * crypt/sha256.c (SWAP64): Define.
8294 (sha256_process_block): Perform total addition using 64-bit if
8295 possible.
8296 (__sha256_finish_ctx): Likewise.
8297
99231d9a
UD
82982011-07-01 Ulrich Drepper <drepper@gmail.com>
8299
8300 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
8301 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8302 * nscd/hstcache.c (cache_addhst): Likewise.
8303 * nscd/grpcache.c (cache_addgr): Likewise.
8304 * nscd/aicache.c (addhstaiX): Likewise
8305 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8306
445b4a53
TK
83072011-07-01 Thorsten Kukuk <kukuk@suse.de>
8308
8309 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8310 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8311 * nscd/hstcache.c (cache_addhst): Likewise.
8312 * nscd/grpcache.c (cache_addgr): Likewise.
8313 * nscd/aicache.c (addhstaiX): Likewise
8314
6d4d8e8e
AS
83152011-07-01 Andreas Schwab <schwab@redhat.com>
8316
8317 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8318 domain only when needed.
8319
89f654c5
AS
83202011-06-30 Andreas Schwab <schwab@redhat.com>
8321
8322 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8323 is always restored.
8324
cf3b23ff
UD
83252011-06-29 Ulrich Drepper <drepper@gmail.com>
8326
8327 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8328 are re-adding the entry.
8329 * nscd/servicescache.c (cache_addserv): Likewise.
8330
751626f9
AJ
83312011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8332
8333 * sysdeps/generic/dl-irel.h: fix protection against multiple
8334 inclusions.
8335 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8336
9113ea1f
UD
83372011-06-28 Ulrich Drepper <drepper@gmail.com>
8338
5c0b8d90
UD
8339 [BZ #12935]
8340 * malloc/memusage.sh: Fix quoting in message.
8341 * debug/xtrace.sh: Likewise.
8342
9113ea1f
UD
8343 * configure.in: Remove support for --experimental-malloc option, make
8344 it the default.
8345 * config.make.in: Likewise.
8346 * malloc/Makefile: Likewise.
8347
a4172181
AS
83482011-06-27 Andreas Schwab <schwab@redhat.com>
8349
8350 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8351 two-byte characters.
8352
78a7eee7
RM
83532011-06-27 Roland McGrath <roland@hack.frob.com>
8354
62bede13
RM
8355 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8356 AC_CACHE_CHECK invocation.
8357 * configure: Regenerated.
8358
78a7eee7
RM
8359 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8360
5ce33a62
UD
83612011-06-27 Ulrich Drepper <drepper@gmail.com>
8362
034807a9
UD
8363 [BZ #12350]
8364 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8365 bit from old_res_options.
8366
4902da17
UD
8367 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8368
5ce33a62
UD
8369 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8370 value type for setfct.
8371
c2344f56
L
83722011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8373
8374 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8375 __gettimeofday instead of gettimeofday.
8376
68468076
UD
83772011-06-26 Ulrich Drepper <drepper@gmail.com>
8378
8379 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8380
acb0d739
L
83812011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8382
8383 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8384
8385 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8386 info.
8387
8912479f
L
83882011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8389
8390 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8391 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8392 strcpy-sse2-unaligned strncpy-sse2-unaligned
8393 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8394 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8395 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8396 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8397 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8398 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8399 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8400 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8401 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8402 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8403 (STRCPY): Support SSE2 and SSSE3 versions.
8404
d5495a11
UD
84052011-06-24 Ulrich Drepper <drepper@gmail.com>
8406
8407 [BZ #12874]
8408 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8409 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8410 kernels which artificially limit size of requests.
8411
0b1cbaae
L
84122011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8413
8414 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8415 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8416 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8417 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8418 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8419 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8420 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8421 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8422 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8423 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8424 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8425 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8426 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8427 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8428 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8429 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8430 Enable unaligned load optimization for Intel Core i3, i5 and i7
8431 processors.
8432 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8433 Define.
8434 (index_Fast_Unaligned_Load): Define.
8435 (HAS_FAST_UNALIGNED_LOAD): Define.
8436
07f494a0
MP
84372011-06-23 Marek Polacek <mpolacek@redhat.com>
8438
8439 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8440
fa3fc0fe
UD
84412011-06-22 Ulrich Drepper <drepper@gmail.com>
8442
8443 [BZ #12907]
8444 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8445 until it is clear that the information is realy needed.
8446 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8447
e12df166
AS
84482011-06-22 Andreas Schwab <schwab@redhat.com>
8449
8450 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8451
852eb34d
UD
84522011-06-22 Ulrich Drepper <drepper@gmail.com>
8453
84e2a551
UD
8454 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8455 /sys/devices/system/cpu/online if it is usable.
8456
852eb34d
UD
8457 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8458 reading the information from the /proc filesystem to once a second.
8459
6e502e19
UD
84602011-06-21 Andreas Jaeger <aj@suse.de>
8461
8462 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8463 NULL after inclusion of kernel headers.
8464
75d39ff2
UD
84652011-06-21 Ulrich Drepper <drepper@gmail.com>
8466
51f9aa6a
UD
8467 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8468 calls to internal_setent.
8469
c0244a9d
UD
8470 [BZ #12885]
8471 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8472 addresses using gethostbyname4_r ignore IPv4 addresses.
8473
c5e3c2ae
UD
8474 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8475 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8476
75d39ff2
UD
8477 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8478
42675c6f
DM
84792011-06-20 David S. Miller <davem@davemloft.net>
8480
8481 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8482 inclusions.
8483 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8484
8485 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8486 (elf_irel): Use it.
8487 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8488 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8489 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8490 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8491 * sysdeps/x86_64/dl-irel.h: Likewise.
8492
8493 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8494 * elf/dl-sym.c: Likewise.
8495
57912a71
UD
84962011-06-15 Ulrich Drepper <drepper@gmail.com>
8497
8498 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8499 need to dereference resplen2.
8500
ee22793d
AS
85012011-06-14 Andreas Schwab <schwab@redhat.com>
8502
8503 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8504
a9e836b0
UD
85052011-06-15 Ulrich Drepper <drepper@gmail.com>
8506
77fb9117
UD
8507 * Makeconfig: Define vardbdir and inst_vardbdir.
8508 * nss/Makefile: Add rules to install db-Makefile.
8509
40c1b22c
UD
8510 * nss/nss_db/db-XXX.c: Cleanup.
8511
9f2da732
UD
8512 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8513 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8514 GLIBC_PRIVATE.
8515 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8516 * nss/makedb.c: Implement -g option to specify that value strings
8517 are generated and should not be added to table iterated over for
8518 get*ent calls.
8519 * nss/nss_db/db-initgroups.c: New file.
8520
82e9a1f7
UD
8521 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8522 interface.
8523
c41af17e
UD
8524 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8525 (internal_getgrouplist): Adjust to name change.
8526 Update use_initgroups_entry if this is not the first call.
8527 * nss/databases.def: Add initgroups entry.
8528
a9e836b0
UD
8529 * nss/makedb.c (compute_tables): Check result of multiple hash table
8530 sizes to minimize maximum chain length.
8531
2666d441
UD
85322011-06-14 Ulrich Drepper <drepper@gmail.com>
8533
8534 * Versions.def: Add entry for libnss_db.
8535 * shlib-versions: Likewise.
8536 * nss/Makefile: Add rules to build libnss_db.
8537 * nss/Versions: Add libnss_db information. Organize libnss_files
8538 entries better.
8539 * nss/db-Makefile: Add gshadow support. Change rules for the new
8540 makedb progra. Some minor improvements to generate smaller files.
8541 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8542 here from...
8543 * nss/makedb.c: ...here.
8544 Improve database format to be smaller and require less memory at
8545 runtime.
8546 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8547 db anymore.
8548 * nss/nss_db/db-netgrp.c: Likewise.
8549 * nss/nss_db/db-open.c: Likewise.
8550 * nss/nss_files/flies-XXX.x: Adjust comments.
8551 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8552 * nss/nss_files/files-grp.c: Likewise.
8553 * nss/nss_files/files-hosts.c: Likewise.
8554 * nss/nss_files/files-network.c: Likewise.
8555 * nss/nss_files/files-proto.c: Likewise.
8556 * nss/nss_files/files-pwd.c: Likewise.
8557 * nss/nss_files/files-rpc.c: Likewise.
8558 * nss/nss_files/files-service.c: Likewise.
8559 * nss/nss_files/files-sgrp.c: Likewise.
8560 * nss/nss_files/files-spwd.c: Likewise.
8561 * nss/nss_db/db-alias.c: Removed.
8562 * nss/nss_db/dummy-db.h: Removed.
8563
9ee76b5a
UD
85642011-06-02 Ulrich Drepper <drepper@gmail.com>
8565
8566 * nss/makedb.c: Rewritten to not use database library.
8567 * nss/Makefile: Update to build new makedb program.
8568
c71ca1f8
AJ
85692011-06-14 Andreas Jaeger <aj@suse.de>
8570
8571 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8572 memset declaration.
8573
3154bfb8
UD
85742011-06-10 Andreas Schwab <schwab@redhat.com>
8575
8576 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8577 tmpbuf.
8578
b350afab
RM
85792011-06-10 Roland McGrath <roland@hack.frob.com>
8580
decd4e50
RM
8581 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8582 * elf/Makefile ($(objpfx)ld.so): Likewise.
8583
5615eaf2
RM
8584 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8585 Don't list ld.so twice in dependencies.
8586
8587 * posix/bug-regex31.c: Include <stdlib.h>.
8588
8589 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8590
8591 * nis/nss_compat/compat-spwd.c
8592 (getspent_next_nss_netgr): Remove unused variable.
8593 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8594
8595 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8596 nonmembers" output to use the right array.
8597
8598 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8599
8600 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8601
8602 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8603 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8604 * catgets/gencat.c (read_input_file): Likewise.
8605 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8606
8607 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8608 variable definition inside #if's controlling its use.
8609
8610 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8611
8612 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8613
8614 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8615
8616 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8617 unreachable code.
8618
8619 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8620
b68e08db
RM
8621 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8622 * configure: Regenerated.
8623
b350afab
RM
8624 * Makerules: Revert last change.
8625 * elf/Makefile: Likewise.
8626
28368601
RM
86272011-06-09 Roland McGrath <roland@hack.frob.com>
8628
8629 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8630 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8631 (reloc-link): Likewise.
8632
11988f8f
UD
86332011-06-09 Ulrich Drepper <drepper@gmail.com>
8634
8635 * elf/Makefile: Add rules to build pldd.
8636 * elf/pldd.c: New file.
8637 * elf/pldd-xx.c: New file.
8638
e80fab37
UD
86392011-06-07 Ulrich Drepper <drepper@gmail.com>
8640
8641 * version.h: Update for 2.15 development version.
8642
9b849836
DM
86432011-06-07 David S. Miller <davem@davemloft.net>
8644
8645 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8646 ifuncs.
8647 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8648 elf_machine_lazy_rel): Likewise.
8649 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8650 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8651 elf_machine_lazy_rel): Likewise.
8652 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8653 dl_hwcap via passed in argument.
8654 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8655 Likewise.
8656
5a31b283
AK
86572011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8658
8659 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8660
069e52f8
RM
86612011-06-06 Roland McGrath <roland@hack.frob.com>
8662
8663 [BZ #12849]
8664 * manual/fdl-1.1.texi: New file, verbatim from:
8665 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8666 * manual/lgpl-2.1.texi: New file, verbatim from:
8667 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8668 * manual/Makefile (licenses): New variable, list those new file names.
8669 (texis): Use it.
8670 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8671
8672 * manual/fdl.texi: File removed.
8673 * manual/lesser.texi: File removed.
8674 * manual/libc.texinfo (Copying, Documentation License):
8675 Use new @include file names, put @appendix directive before @include.
8676
f16846a5
JJ
86772011-06-04 Jakub Jelinek <jakub@redhat.com>
8678
8679 [BZ #12841]
8680 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8681 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8682 (mq_open): Add __NTH.
8683
3d29045b
L
86842011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8685
8686 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8687 Assume Intel Core i3/i5/i7 processor if AVX is available.
8688
8c297311
UD
86892011-05-31 Ulrich Drepper <drepper@gmail.com>
8690
8691 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8692 typo.
8693
c8fc0c91
UD
86942011-05-31 Andreas Schwab <schwab@redhat.com>
8695
8696 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8697 memory. Use alloca_account. Fix memory leak when retrying.
8698
5b27a807
UD
86992011-05-31 Ulrich Drepper <drepper@gmail.com>
8700
356f8bc6
UD
8701 * version.h (RELEASE): Bump for 2.14 release.
8702 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8703
5b27a807
UD
8704 * config.make.in (RANLIB): Remove entry.
8705
01f16ab0
UD
87062011-05-30 Ulrich Drepper <drepper@gmail.com>
8707
41fce8bd
UD
8708 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8709 (libc.pot): Work around missing support for .ksh extension in xgettext.
8710
4769ae77
UD
8711 [BZ #12684]
8712 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8713 if both request failed.
8714 (send_dg): In case of server errors clear resplen or *resplen2.
8715
6b1e7d19
UD
8716 [BZ #12454]
8717 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8718 when there are multiple maps.
8719 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8720 (_dl_fini): Remove test here.
8721
01f16ab0
UD
8722 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8723
b1ebd700
UD
87242011-05-29 Ulrich Drepper <drepper@gmail.com>
8725
7ae22829
UD
8726 [BZ #12350]
8727 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8728 bit from old_res_options.
8729 (gaih_inet): Likewise.
8730
553149f6 8731 [BZ #11099]
18a84741 8732 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
8733 as signed.
8734
652ffab1
UD
8735 * resolv/res_init.c (res_setoptions): Make the code more compact.
8736
16985fd0
UD
8737 [BZ #11558]
8738 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8739 set RES_USEVC.
8740
0464f746
UD
8741 [BZ #11634]
8742 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8743
7d17596c
UD
8744 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8745
cf6bbbd7
UD
8746 [BZ #11781]
8747 * malloc/malloc.h: Declare malloc hook variables as volatile.
8748
13f1ab36
UD
8749 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8750 in last patch.
8751
b1ebd700
UD
8752 [BZ #11799]
8753 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 8754 raise in the comment.
80e2212d
UD
8755 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8756 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8757 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 8758
ce67228d
UD
87592011-05-28 Ulrich Drepper <drepper@gmail.com>
8760
8887a920
UD
8761 [BZ #12811]
8762 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8763 grow the buffers more if it already has to be sufficient.
8764 (build_wcs_upper_buffer): Likewise.
8765 * posix/regexec.c (check_matching): Likewise.
8766 (clean_state_log_if_needed): Likewise.
8767 (extend_buffers): Don't enlarge buffers beyond size of the input
8768 buffer.
8769 Patches mostly by Emil Wojak <emil@wojak.eu>.
8770 * posix/bug-regex32.c: New file.
8771 * posix/Makefile (tests): Add bug-regex32.
8772
4f031072
UD
8773 * locale/findlocale.c (_nl_find_locale): Return right away if
8774 _nl_explode_name failed.
8775 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8776
d0478f0c
UD
8777 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8778
de81b246
UD
8779 * debug/xtrace.sh: Unify messages.
8780 * malloc/memusage.sh: Likewise.
8781
c738465a
UD
8782 [BZ #12813]
8783 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8784 time symbol from vDSO. Substitute with vsyscall if not available.
8785 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8786 __vdso_time.
8787
f1f929d7
UD
8788 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8789 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8790 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8791 Add sendmmsg and internal_sendmmsg.
8792 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8793 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8794 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8795
ce67228d
UD
8796 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8797 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8798 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8799
e57420c6
UD
88002011-05-27 Ulrich Drepper <drepper@gmail.com>
8801
a8509ca5
UD
8802 [BZ #12813]
8803 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8804 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8805 available.
8806 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8807 __vdso_getcpu.
8808
e57420c6
UD
8809 [BZ #12814]
8810 * iconvdata/Makefile (tests): Add bug-iconv9.
8811 * iconvdata/bug-iconv9.c: New file.
8812
4d07db15
AS
88132011-05-27 Andreas Schwab <schwab@redhat.com>
8814
8815 [BZ #12814]
8816 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8817
ea486f69
JJ
88182011-05-25 Jakub Jelinek <jakub@redhat.com>
8819
8820 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8821 (struct user_regs_struct): Change intcs field back to cs.
8822
6f038433
UD
88232011-05-25 Ulrich Drepper <drepper@gmail.com>
8824
8825 * po/ja.po: Update from translation team.
8826
67f86a25
UD
88272011-05-23 Ulrich Drepper <drepper@gmail.com>
8828
8829 [BZ #12795]
8830 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8831 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8832
def7fbd6
AS
88332011-05-20 Andreas Schwab <schwab@redhat.com>
8834
8835 * stdlib/longlong.h: Update from GCC.
8836
f50ef8f1
AS
88372011-05-23 Andreas Schwab <schwab@redhat.com>
8838
8839 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8840 parameter name.
8841 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8842 Add parameter name.
8843 (__sysconf): Pass it down.
8844
de7ce8f1
UD
88452011-05-22 Ulrich Drepper <drepper@gmail.com>
8846
f2962a71
UD
8847 [BZ #12671]
8848 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8849 some situations.
8850 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8851 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8852 add in in __libc_use_alloca calls. Adjust callers.
8853 (glob): Use malloc in some situations.
8854
de7ce8f1
UD
8855 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8856 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8857 pltexit.
8858
aec84f53
UD
88592011-05-21 Ulrich Drepper <drepper@gmail.com>
8860
05bb4a68
UD
8861 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8862 and CLOCK_BOOTTIME_ALARM.
8863
7ea72f99
UD
8864 [BZ #12782]
8865 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8866 is returned.
8867
7e4afad5
UD
8868 * string/_strerror.c (__strerror_r): Print negative errors as signed
8869 numbers.
8870
8e211fec
UD
8871 [BZ #12777]
8872 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8873 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8874 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8875
f7d82dc9
UD
8876 * configure.in: Fix typo in redirection and correct removal of test
8877 files in two cases.
8878
cc9e536d
UD
8879 [BZ #12788]
8880 * locale/setlocale.c (new_composite_name): Fix test to check for
8881 identical name of all categories.
8882
aec84f53
UD
8883 [BZ #12792]
8884 * libio/filedoalloc.c (local_isatty): New function.
8885 (_IO_file_doallocate): Use local_isatty.
8886 * stdio-common/perror.c (perror): In case a new stream is used
8887 forward the stream error.
8888 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8889 error flag.
8890
78e64fdc
RT
88912011-05-20 Ulrich Drepper <drepper@gmail.com>
8892
34a9094f
UD
8893 [BZ #11869]
8894 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8895 alloca.
8896 * include/alloca.h (extend_alloca_account): Define.
8897
78e64fdc
RT
8898 [BZ #11857]
8899 * posix/regex.h: Fix comments with documentation of user-accessible
8900 fields after compilation and describe correct free'ing of pattern
8901 after re_compile_pattern.
8902 Patch by Reuben Thomas <rrt@sc3d.org>.
8903
457bddfc
RA
89042011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8905
8906 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8907 and -mno-altivec to prevent the compiler from using Altivec and/or
8908 VSX instructions when the corresponding registers are not available.
8909
a4527b51
AS
89102011-05-19 Andreas Schwab <schwab@redhat.com>
8911
8912 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8913
ed690b2f
UD
89142011-05-19 Ulrich Drepper <drepper@gmail.com>
8915
8916 * libio/freopen.c (freopen): Use __dup2, not dup2.
8917 * libio/freopen64.c (freopen64): Likewise.
8918
8db73634
L
89192011-05-17 H.J. Lu <hongjiu.lu@intel.com>
8920
8921 [BZ #12775]
8922 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
8923 * math/Makefile (tests): Add test-powl.
8924 (CFLAGS-test-powl.c): Define.
8925 * math/test-powl.c: New file.
8926
0a197a9d
L
89272011-05-16 H.J. Lu <hongjiu.lu@intel.com>
8928
8929 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
8930
ee30c380
UD
89312011-05-17 Ulrich Drepper <drepper@gmail.com>
8932
8933 [BZ #11837]
8934 * iconvdata/gb18030.c: Update to GB18020-2005.
8935
6ce75379
UD
89362011-05-16 Ulrich Drepper <drepper@gmail.com>
8937
a4b89fd8
AR
8938 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
8939 RE_SYNTAX_POSIX_AWK): Update to match recent development.
8940 Patch by Aharon Robbins <arnold@skeeve.com>.
8941
ea389b12
UD
8942 [BZ #11892]
8943 * stdlib/putenv.c (putenv): Don't always create copy of the variable
8944 on the stack.
8945
68a3f91f
UD
8946 [BZ #11895]
8947 * misc/pselect.c (__pselect): Handle timeout value errors hidden
8948 through underflows.
8949
15cc7dd1
UD
8950 [BZ #12766]
8951 * misc/error.c (error_at_line): Ensure file_name and old_file_name
8952 point to strings before performing equality test for error_one_per_line
8953 mode.
8954
f3799213
UD
8955 [BZ #11697]
8956 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
8957
d79a9c94
UD
8958 [BZ #11820]
8959 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8960 (struct user_fpregs_struct): Avoid __uint*_t types.
8961
56e5eb46
UD
8962 [BZ #6420]
8963 * malloc/mtrace.c (tr_where): Add additional parameter to point to
8964 symbol info. Use it instead of calling _dl_addr locally.
8965 (lock_and_info): New function.
8966 (tr_freehook): Call lock_and_info and pass symbol info as additional
8967 parameter to tr_where.
8968 (tr_mallochook): Likewise.
8969 (tr_reallochook): Likewise.
8970 (tr_memalignhook): Likewise.
8971
6ce75379
UD
8972 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
8973 used and couldn't be at all thread-safe.
8974
f8a3b5bf
UD
89752011-05-15 Ulrich Drepper <drepper@gmail.com>
8976
94b7cc37
UD
8977 * libio/freopen.c (freopen): Don't close old file descriptor
8978 before the new one is opened. Instead dup the new file descriptor
8979 to the old one after the new stream is created.
8980 * libio/freopen64.c (freopen64): Likewise.
8981 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
8982 * libio/fileops.c (_IO_new_file_close_it): Handle new
8983 _IO_FLAGS2_NOCLOSE flag.
8984 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
8985 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
8986 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
8987 _IO_FLAGS2_NOCLOSE flag.
8988 * include/unistd.h: Add hidden_proto for dup3.
8989 Define __have_dup3.
8990 * io/dup3.c: Define hidden symbol.
8991 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
8992
bd25564e
UD
8993 [BZ #7101]
8994 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
8995 when an incomplete long option is used.
8996 * posix/tst-getopt_long1.c: New file.
8997 * posix/Makefile (tests): Add tst-getopt_long1.
8998
c84cfef4
UD
8999 [BZ #10138]
9000 * scripts/config.guess: Update from autoconf-2.68.
9001 * scripts/config.sub: Likewise.
9002
3b85df27
UD
9003 [BZ #10157]
9004 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9005 tests into ...
9006 (has_cpuclock): ...this. New function.
9007 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9008 macro here based on has_cpuclock code.
9009
15a856b1
UD
9010 [BZ #10149]
9011 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9012 First byte (not low byte) is now always NUL.
9013 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9014
05f399e6
UD
9015 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9016 Use non-cancelable interfaces.
9017
10a52685 9018 [BZ #9809]
94ecc67d
UD
9019 * locale/iso-639.def: Add entry for Sorani.
9020
f8a3b5bf
UD
9021 [BZ #11901]
9022 * include/stdlib.h: Move include protection to the right place.
9023 Define abort_msg_s. Declare __abort_msg with it.
9024 * stdlib/abort.c (__abort_msg): Adjust type.
9025 * assert/assert.c (__assert_fail_base): New function. Majority
9026 of code from __assert_fail. Allocate memory for __abort_msg with
9027 mmap.
9028 (__assert_fail): Now call __assert_fail_base.
9029 * assert/assert-perr.c: Remove bulk of implementation. Use
9030 __assert_fail_base.
9031 * include/assert.hL Declare __assert_fail_base.
9032 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9033 mmap.
9034 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9035
1af4e298
UD
90362011-05-14 Ulrich Drepper <drepper@gmail.com>
9037
f8a3b5bf 9038 [BZ #11952]
d26dfc60
MG
9039 [BZ #12453]
9040 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9041 until all modules are registered in the DTV.
9042 * elf/Makefile: Add rules to build and run tst-tls19.
9043 * elf/tst-tls19.c: New file.
9044 * elf/tst-tls19mod1.c: New file.
9045 * elf/tst-tls19mod2.c: New file.
9046 * elf/tst-tls19mod3.c: New file.
9047 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9048
2fc54d6f
UD
9049 [BZ #12083]
9050 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9051 correctly.
9052
98d76b46
UD
9053 [BZ #12601]
9054 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9055 two-byte sequence errors.
9056 * iconvdata/Makefile (tests): Add bug-iconv8.
9057 * iconvdata/bug-iconv8.c: New file.
9058
da3c19ef
UD
9059 [BZ #12626]
9060 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9061 buf2 definition.
9062
ca408c15
UD
9063 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9064
d6f67f7d
UD
9065 [BZ #12432]
9066 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9067 (dummy_getcfa): New function.
9068 (init): Get _Unwind_GetCFA address, use dummy if not found.
9069 (backtrace_helper): In recursion check, also check whether CFA changes.
9070 (__backtrace): Completely initialize arg.
9071
1af4e298 9072 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
9073 storing incomplete byte sequence in state object. Avoid testing for
9074 guaranteed too small input if we know there is enough data available.
1af4e298 9075
da62f81b
AS
90762011-05-11 Andreas Schwab <schwab@redhat.com>
9077
9078 * Makeconfig (+link-pie): Indent.
9079 * Rules (binaries-pie): Define if $(have-fpie) and
9080 $(build-shared).
9081 (binaries-shared): Also filter out $(binaries-pie).
9082 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9083 * nscd/Makefile (others-pie): Add nscd.
9084 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9085 ($(objpfx)nscd): Remove command override.
9086 * login/Makefile (others-pie): Add pt_chown.
9087 ($(objpfx)pt_chown): Remove command override.
9088 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9089 remove command overrides.
9090
fcabc0f8
UD
90912011-05-13 Ulrich Drepper <drepper@gmail.com>
9092
20030ae6
UD
9093 * libio/tst_putwc.c: Fix error messages.
9094
fcabc0f8
UD
9095 [BZ #12724]
9096 * libio/fileops.c (_IO_new_file_close_it): Always flush when
9097 currently writing and seek to current position when not.
9098 * libio/Makefile (tests): Add bug-fclose1.
9099 * libio/bug-fclose1.c: New file.
9100
320a5dc0
PB
91012011-05-12 Ulrich Drepper <drepper@gmail.com>
9102
9103 [BZ #12511]
9104 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
9105 don't set DF_1_NODELETE here.
9106 (do_lookup_x): When entering new entry test for copy relocation
9107 and if necessary set DF_1_NODELETE flag.
9108 * elf/tst-unique4.cc: New file.
9109 * elf/tst-unique4.h: New file.
9110 * elf/tst-unique4lib.cc: New file.
9111 * elf/Makefile: Add rules to build and run tst-unique4.
9112 Patch by Piotr Bury <pbury@goahead.com>.
9113
22836f52
UD
91142011-05-11 Ulrich Drepper <drepper@gmail.com>
9115
f574184a
UD
9116 [BZ #12052]
9117 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9118
e1fb097f
UD
9119 [BZ #12625]
9120 * misc/mntent_r.c (addmntent): Flush the stream after the output
9121
22836f52
UD
9122 [BZ #12393]
9123 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9124 (is_trusted_path_normalize): Skip initial colon. Append slash
9125 to empty buffer. Duplicate is_trusted_path code but allow
9126 constructed patch to be prefix.
9127 (is_dst): Allow $ORIGIN followed by /.
9128 (_dl_dst_substitute): Correct clearing of check_for_trusted.
9129 Correct testing of result of is_trusted_path_normalize
9130 (decompose_rpath): Fix warning.
9131
7b3b0b2a
UD
91322011-05-10 Ulrich Drepper <drepper@gmail.com>
9133
9134 [BZ #11257]
9135 * grp/initgroups.c (internal_getgrouplist): When we found the service
9136 list through the initgroups entry in nsswitch.conf do not always
9137 continue on a successful lookup. Don't always use the
eac80ce2 9138 __nss_group_database value if it is set.
7b3b0b2a
UD
9139 * nss/nsswitch.conf (initgroups): Change action for successful db
9140 lookup to continue for compatibility.
9141
2a81eaa5
UD
91422011-05-09 Ulrich Drepper <drepper@gmail.com>
9143
be97a69e
UD
9144 [BZ #11532]
9145 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9146 and CP774 modules.
9147 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9148 and CP774 modules.
9149 * iconvdata/tst-tables.sh: Likewise.
9150 * iconvdata/cp770.c: New file.
9151 * iconvdata/cp771.c: New file.
9152 * iconvdata/cp772.c: New file.
9153 * iconvdata/cp773.c: New file.
9154 * iconvdata/cp774.c: New file.
9155 * iconvdata/testdata/CP770: New file.
9156 * iconvdata/testdata/CP770..UTF8: New file.
9157 * iconvdata/testdata/CP771: New file.
9158 * iconvdata/testdata/CP771..UTF8: New file.
9159 * iconvdata/testdata/CP772: New file.
9160 * iconvdata/testdata/CP772..UTF8: New file.
9161 * iconvdata/testdata/CP773: New file.
9162 * iconvdata/testdata/CP773..UTF8: New file.
9163 * iconvdata/testdata/CP774: New file.
9164 * iconvdata/testdata/CP774..UTF8: New file.
9165
9166 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9167 END CHARMAP line.
9168 * iconvdata/gen-8bit-gap.sh: Likewise.
9169 * iconvdata/gen-8bit.sh: Likewise.
9170
c1e9e399
UD
9171 * locale/iso-639.def: Add ary entry.
9172
24c55fb3 9173 [BZ #11258]
96b4b1b0
UD
9174 * locale/C-translit.h.in: Add U20A1 transliteration.
9175
bdc2f971
KB
9176 [BZ #12178]
9177 * locale/iso-639.def: Add wae entry.
9178 Patch by Kevin Bortis <bortis@translate-wae.ch>.
9179
2952b117
UD
9180 [BZ #12545]
9181 * locale/programs/localedef.c (construct_output_path): Use ssize_t
9182 for n.
9183
2a81eaa5
UD
9184 [BZ #12711]
9185 * locale/C-translit.h.in: Add entry for U20B9.
9186 Patch by pravin.d.s@gmail.com.
9187
28377d1b
UD
91882011-05-08 Ulrich Drepper <drepper@gmail.com>
9189
7fb90fb8
UD
9190 [BZ #12713]
9191 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9192 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
9193 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
9194 in rtld. Use *stat64.
7fb90fb8 9195 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 9196 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 9197 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
9198 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9199 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9200 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9201 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9202 __fstatat64 macros.
7fb90fb8
UD
9203 * include/dirent.h: Add libc_hidden_proto for rewinddir.
9204 * dirent/rewinddir.c: Add libc_hidden_def.
9205 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 9206 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 9207
28377d1b
UD
9208 * include/dirent.h (__alloc_dir): Add flags parameter.
9209 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9210 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9211 __alloc_dir.
9212 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
9213 from fdopendir if O_CLOEXEC is already set.
9214
66bdbaa4
AM
92152011-03-15 Alan Modra <amodra@gmail.com>
9216
9217 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9218 l_tls_firstbyte_offset non-zero. Save padding offset in
9219 l_tls_firstbyte_offset for later use.
9220 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9221 freeing static tls block.
9222
95721191
JN
92232011-03-05 Jonathan Nieder <jrnieder@gmail.com>
9224
9225 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9226 where #ifdef was intended. The intent is to prevent ARG_MAX from
9227 being defined by the kernel headers.
9228
f87dfb1f
UD
92292011-05-07 Ulrich Drepper <drepper@gmail.com>
9230
9231 [BZ #12734]
9232 * resolv/resolv.h: Define RES_NOTLDQUERY.
9233 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9234 no-tld-query and set RES_NOTLDQUERY.
9235 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9236 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9237 modern BIND to search name as TLD unless forbidden.
9238
47c3cd7a
UD
92392011-05-07 Petr Baudis <pasky@suse.cz>
9240 Ulrich Drepper <drepper@gmail.com>
9241
9242 [BZ #12393]
9243 * elf/dl-load.c (fillin_rpath): Move trusted path check...
9244 (is_trusted_path): ...to here.
c1e9ea35 9245 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 9246 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 9247 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 9248
8a35c912
PP
92492011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9250
9251 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9252 __BEGIN/__END_DECLS.
9253
acd41f47
UD
92542011-05-06 Ulrich Drepper <drepper@gmail.com>
9255
9256 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9257 NSS_STATUS_NOTFOUND if no record was found.
9258
597df647
AS
92592011-05-05 Andreas Schwab <schwab@redhat.com>
9260
9261 * sunrpc/Makefile (headers): Add rpc/netdb.h.
9262 (headers-not-in-tirpc): Remove rpc/netdb.h
9263 * resolv/netdb.h: Revert last change.
9264
b9af1301
PP
92652011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9266
9267 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9268 circular dependency between libgcc.a and libc.a.
9269
4e34d5f5
AS
92702011-05-05 Andreas Schwab <schwab@redhat.com>
9271
9272 * resolv/netdb.h: Don't include <rpc/netdb.h>.
9273 * nis/Makefile: Don't install rpcsvc/*.
9274 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9275 instead of <rpc/types.h>.
9276 (MAXHOSTNAMELEN): Define.
9277
00ee369c
AS
92782011-05-03 Andreas Schwab <schwab@redhat.com>
9279
9280 * elf/ldconfig.c (add_dir): Don't crash on empty path.
9281
0b592a30
MB
92822011-04-28 Maciej Babinski <mbabinski@google.com>
9283
9284 [BZ #12714]
9285 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9286 gethostbyname4_r when IPv6 results are possible.
9287
6e04cbbe
UD
92882011-05-02 Ulrich Drepper <drepper@gmail.com>
9289
9290 [BZ #12723]
9291 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9292 _PC_PIPE_BUF handling.
9293
e4ecafe0
BH
92942011-04-30 Bruno Haible <bruno@clisp.org>
9295
9296 [BZ #12717]
9297 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9298 * resolv/netdb.h (getnameinfo): Change type of flags parameter
9299 to 'int'.
9300 * inet/getnameinfo.c (getnameinfo): Likewise.
9301
125ee683
UD
93022011-04-29 Ulrich Drepper <drepper@gmail.com>
9303
9304 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9305 to groups setting in database lookup.
9306 * nss/nsswitch.conf: Add initgroups entry.
9307
b722481a
EB
93082011-04-22 Ulrich Drepper <drepper@gmail.com>
9309
9310 [BZ #12685]
9311 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9312 mode string.
9313 Patch by Eric Blake <eblake@redhat.com>.
9314
4df46dbd
L
93152011-04-20 H.J. Lu <hongjiu.lu@intel.com>
9316
9317 * sunrpc/Makefile (need-export-routines): Add svc_run.
9318 (routines): Remove svc_run.
9319 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9320 * sunrpc/clnt_perr.c (clnt_perrno): Export.
9321 * sunrpc/svc_run.c (svc_run): Likewise.
9322 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9323
e84142d2
UD
93242011-04-21 Ulrich Drepper <drepper@gmail.com>
9325
9326 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9327 problem in reallocation in last patch.
9328
877175d8
UD
93292011-04-20 Ulrich Drepper <drepper@gmail.com>
9330
9331 * sunrpc/Makefile: Move inclusion of Rules.
9332
ab8eed78
UD
93332011-04-19 Ulrich Drepper <drepper@gmail.com>
9334
9335 * nss/nss_files/files-initgroups.c: New file.
9336 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9337 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9338 _nss_files_initgroups_dyn.
9339
e3d8f584
RS
93402011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9341
9342 * elf/elf.h (R_ARM_IRELATIVE): Define.
9343
af190f45
UD
93442011-04-19 Ulrich Drepper <drepper@gmail.com>
9345
9346 * po/ru.po: Update from translation team.
9347
53cf59ef
UD
93482011-04-17 Ulrich Drepper <drepper@gmail.com>
9349
9350 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9351 dependencies.
9352
4c559bcd
MF
93532011-02-06 Mike Frysinger <vapier@gentoo.org>
9354
9355 [BZ #12653]
9356 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9357 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9358 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9359 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9360 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9361
4420675c
AS
93622011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9363
9364 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9365 differing bytes.
9366 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9367 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9368 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9369
75ea32ab
UD
93702011-04-17 Ulrich Drepper <drepper@gmail.com>
9371
9372 [BZ #12420]
9373 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9374 storing it.
9375 * stdlib/bug-getcontext.c: New file.
9376 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9377
27390476
AK
93782011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9379
9380 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9381 instructions into .machine "z9-109".
9382 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9383 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9384
10442705
AK
93852011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9386
9387 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9388 between environment variables and auxiliary vector.
9389
7b57bfe5
UD
93902011-04-16 Ulrich Drepper <drepper@gmail.com>
9391
9392 * Makefile: Add rules to build linkobj/libc.so.
9393 * include/libc-symbols.h: Define libc_hidden_nolink.
9394 * include/rpc/auth.h: Mark functions which are to be hidden.
9395 * include/rpc/auth_des.h: Likewise.
9396 * include/rpc/auth_unix.h: Likewise.
9397 * include/rpc/clnt.h: Likewise.
9398 * include/rpc/des_crypt.h: Likewise.
9399 * include/rpc/key_prot.h: Likewise.
9400 * include/rpc/pmap_clnt.h: Likewise.
9401 * include/rpc/pmap_prot.h: Likewise.
9402 * include/rpc/pmap_rmt.h: Likewise.
9403 * include/rpc/rpc_msg.h: Likewise.
9404 * include/rpc/svc.h: Likewise.
9405 * include/rpc/svc_auth.h: Likewise.
9406 * include/rpc/xdr.h: Likewise.
9407 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9408 * nss/Makefile: Likewise.
9409 * sunrpc/Makefile: Don't install headers. Build library with normal
9410 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9411 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9412 for the compat linking library. Remove use of INTDEF/INTUSE.
9413 * sunrpc/auth_none.c: Likewise.
9414 * sunrpc/auth_unix.c: Likewise.
9415 * sunrpc/authdes_prot.c: Likewise.
9416 * sunrpc/authuxprot.c: Likewise.
9417 * sunrpc/clnt_gen.c: Likewise.
9418 * sunrpc/clnt_perr.c: Likewise.
9419 * sunrpc/clnt_raw.c: Likewise.
9420 * sunrpc/clnt_simp.c: Likewise.
9421 * sunrpc/clnt_tcp.c: Likewise.
9422 * sunrpc/clnt_udp.c: Likewise.
9423 * sunrpc/clnt_unix.c: Likewise.
9424 * sunrpc/des_crypt.c: Likewise.
9425 * sunrpc/des_soft.c: Likewise.
9426 * sunrpc/get_myaddr.c: Likewise.
9427 * sunrpc/key_call.c: Likewise.
9428 * sunrpc/key_prot.c: Likewise.
9429 * sunrpc/netname.c: Likewise.
9430 * sunrpc/pm_getmaps.c: Likewise.
9431 * sunrpc/pm_getport.c: Likewise.
9432 * sunrpc/pmap_clnt.c: Likewise.
9433 * sunrpc/pmap_prot.c: Likewise.
9434 * sunrpc/pmap_prot2.c: Likewise.
9435 * sunrpc/pmap_rmt.c: Likewise.
9436 * sunrpc/publickey.c: Likewise.
9437 * sunrpc/rpc_cmsg.c: Likewise.
9438 * sunrpc/rpc_common.c: Likewise.
9439 * sunrpc/rpc_dtable.c: Likewise.
9440 * sunrpc/rpc_prot.c: Likewise.
9441 * sunrpc/rpc_thread.c: Likewise.
9442 * sunrpc/rtime.c: Likewise.
9443 * sunrpc/svc.c: Likewise.
9444 * sunrpc/svc_auth.c: Likewise.
9445 * sunrpc/svc_authux.c: Likewise.
9446 * sunrpc/svc_raw.c: Likewise.
9447 * sunrpc/svc_run.c: Likewise.
9448 * sunrpc/svc_simple.c: Likewise.
9449 * sunrpc/svc_tcp.c: Likewise.
9450 * sunrpc/svc_udp.c: Likewise.
9451 * sunrpc/svc_unix.c: Likewise.
9452 * sunrpc/svcauth_des.c: Likewise.
9453 * sunrpc/xcrypt.c: Likewise.
9454 * sunrpc/xdr.c: Likewise.
9455 * sunrpc/xdr_array.c: Likewise.
9456 * sunrpc/xdr_float.c: Likewise.
9457 * sunrpc/xdr_intXX_t.c: Likewise.
9458 * sunrpc/xdr_mem.c: Likewise.
9459 * sunrpc/xdr_rec.c: Likewise.
9460 * sunrpc/xdr_ref.c: Likewise.
9461 * sunrpc/xdr_sizeof.c: Likewise.
9462 * sunrpc/xdr_stdio.c: Likewise.
9463
e6c61494
UD
94642011-04-10 Ulrich Drepper <drepper@gmail.com>
9465
9466 [BZ #12650]
9467 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9468 * sysdeps/ia64/dl-tls.h: Likewise.
9469 * sysdeps/powerpc/dl-tls.h: Likewise.
9470 * sysdeps/s390/dl-tls.h: Likewise.
9471 * sysdeps/sh/dl-tls.h: Likewise.
9472 * sysdeps/sparc/dl-tls.h: Likewise.
9473 * sysdeps/x86_64/dl-tls.h: Likewise.
9474 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9475
34fe483e
AS
94762011-03-14 Andreas Schwab <schwab@redhat.com>
9477
9478 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9479 rpath element also skip the following colon.
9480 (expand_dynamic_string_token): Add is_path parameter and pass
9481 down to DL_DST_REQUIRED and _dl_dst_substitute.
9482 (decompose_rpath): Call expand_dynamic_string_token with
9483 non-zero is_path. Ignore empty rpaths.
9484 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9485 with zero is_path.
9486
f12a32e6
AS
94872011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9488
9489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9490 Make cancelable.
9491
38a7d692
UD
94922011-04-09 Ulrich Drepper <drepper@gmail.com>
9493
9494 [BZ #12655]
9495 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9496 Patch by Filipe David Manana <fdmanana@apache.org>.
9497
e451d22b
AS
94982011-04-07 Andreas Schwab <schwab@redhat.com>
9499
9500 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9501 Maintain aligned stack.
9502 (CHECK_RSP): Remove unused macro.
9503
dedc7c7b
UD
95042011-04-03 Ulrich Drepper <drepper@gmail.com>
9505
9506 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9507 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9508
94521213
UD
95092011-04-02 Ulrich Drepper <drepper@gmail.com>
9510
9511 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9512
8cb700c0 9513 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 9514
0354e355
L
95152011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9516
9517 [BZ #12518]
9518 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9519 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9520 * sysdeps/x86_64/memmove.c: New file.
9521 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9522 (memcpy): Renamed to ...
9523 (__new_memcpy): This.
9524 (memcpy): Provide GLIBC_2_14 memcpy.
9525 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9526 (memcpy): Provide GLIBC_2_2_5 memcpy.
9527
8593482f
UD
95282011-04-01 Ulrich Drepper <drepper@gmail.com>
9529
9530 [BZ #12631]
9531 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9532
81a5726b
AS
95332011-03-30 Andreas Schwab <schwab@redhat.com>
9534
9535 * misc/syncfs.c: New file.
9536 * misc/Makefile (routines): Add syncfs.
9537 * posix/unistd.h: Declare syncfs.
9538 * sysdeps/unix/syscalls.list: Add syncfs.
9539
00e5419f
AS
95402011-04-01 Andreas Schwab <schwab@redhat.com>
9541
9542 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9543 open_by_handle_at.
9544 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9545 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9546 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9547 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9548 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9549 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9550 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9551
748876bf
UD
95522011-04-01 Ulrich Drepper <drepper@gmail.com>
9553
658e451d
UD
9554 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9555 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9556 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9557 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9558 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9559 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9560 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9561
748876bf
UD
9562 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9563 sync_file_range.c with -fexceptions.
9564 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9565 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9566 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9567 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9568 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9569 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9570 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
9571 sync_file_range as cancellation point
9572 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9573 now a wrapper around __call_sync_file_range with cancellation handling.
9574 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9575 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9576 function name to __call_sync_file_range.
9577 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9578 Add call_sync_file_range.
748876bf 9579
6e63d5e1
AS
95802011-04-01 Andreas Schwab <schwab@redhat.com>
9581
9582 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 9583 bits/timex.h.
6e63d5e1 9584
46998f74
UD
95852011-04-01 Ulrich Drepper <drepper@gmail.com>
9586
4c1423ed
UD
9587 * iconv/iconv.h: Fix typo in comment.
9588 * io/fcntl.h: Likewise.
9589 * libio/stdio.h: Likewise.
9590 * posix/spawn.h: Likewise.
9591 * posix/unistd.h: Likewise.
9592 * stdlib/stdlib.h: Likewise.
9593 * time/time.h: Likewise.
9594 * wcsmbs/wchar.h: Likewise.
9595
158648c0
UD
9596 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9597 open_by_handle): Add.
9598 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9599 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9600 Augment a few comments.
9601 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9602 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9603 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9604 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9605 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9606 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9607 open_by_handle.
9608
46998f74
UD
9609 * io/fcntl.h (AT_EMPTY_PATH): Define.
9610
83fe108b
UD
96112011-03-30 Ulrich Drepper <drepper@gmail.com>
9612
9613 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9614 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9615 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9616 to...
9617 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
9618 * Versions.def: Add GLIBC_2.14.
9619 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9620 Export.
83fe108b 9621
bb242059
UD
96222011-03-22 Ulrich Drepper <drepper@gmail.com>
9623
9624 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9625 round counter.
9626 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9627
c97a1282
L
96282011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9629
9630 [BZ #12597]
9631 * string/test-strncmp.c (do_page_test): New function.
9632 (check2): Likewise.
9633 (test_main): Call check2.
9634 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9635
2a115601
UD
96362011-03-20 Ulrich Drepper <drepper@gmail.com>
9637
9638 [BZ #12587]
9639 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9640 Handle cache information in CPU leaf 4.
9641 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9642
8126d904
UD
96432011-03-18 Ulrich Drepper <drepper@gmail.com>
9644
042c49c6 9645 [BZ #12583]
8126d904
UD
9646 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9647 character representation.
9648 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9649
ccfe366e
RA
96502011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9651
9652 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9653 END(__isnan) to END(__isnanf) to match function entry point/label
9654 EALIGN(__isnanf,...).
9655
c6e13027
JJ
96562011-03-10 Jakub Jelinek <jakub@redhat.com>
9657
9658 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9659
33f85a3f
UD
96602011-03-10 Ulrich Drepper <drepper@gmail.com>
9661
028478fa
UD
9662 [BZ #12510]
9663 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9664 copy from the symbol referenced in the relocation to initialize the
9665 used variable.
9666 Patch by Piotr Bury <pbury@goahead.com>.
9667 * elf/Makefile: Add rules to build and tst-unique3.
9668 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9669 * elf/tst-unique3.cc: New file.
9670 * elf/tst-unique3.h: New file.
9671 * elf/tst-unique3lib.cc: New file.
9672 * elf/tst-unique3lib2.cc: New file.
9673
33f85a3f
UD
9674 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9675
03592fc7
MF
96762011-03-10 Mike Frysinger <vapier@gentoo.org>
9677
9678 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9679 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9680 to _start.
03592fc7 9681
6a5ee102
UD
96822011-03-06 Ulrich Drepper <drepper@gmail.com>
9683
9684 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9685 to-be-loaded object along a path to loader is ld.so.
9686
7e4ba49c
HJ
96872011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9688 Ulrich Drepper <drepper@gmail.com>
9689
9690 * sysdeps/x86_64/memset.S: After aligning destination, code
9691 branches to different locations depending on the value of
9692 misalignment, when multiarch is enabled. Fix this.
9693
96942011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9695
9696 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9697 Set _x86_64_preferred_memory_instruction for AMD processsors.
9698 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9699 Set bit_Prefer_SSE_for_memop for AMD processors.
9700
13a804de
UD
97012011-03-04 Ulrich Drepper <drepper@gmail.com>
9702
9703 * libio/fmemopen.c (fmemopen): Optimize a bit.
9704
9d25c392
AS
97052011-03-03 Andreas Schwab <schwab@redhat.com>
9706
9707 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9708
a5543c6a
RM
97092011-03-03 Roland McGrath <roland@redhat.com>
9710
9711 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9712
012d35f7
DM
97132011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9714
7e4ba49c 9715 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
9716 __bzero_ultra1 instead of __memset_ultra1.
9717
4bff6e01
AS
97182011-02-23 Andreas Schwab <schwab@redhat.com>
9719 Ulrich Drepper <drepper@gmail.com>
9720
9721 [BZ #12509]
9722 * include/link.h (struct link_map): Add l_orig_initfini.
9723 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9724 returning unsuccessfully.
9725 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9726 close of a file loaded at startup, restore the original l_initfini
9727 list.
9728 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9729 list, store the pointer.
9730 * elf/Makefile ($(objpfx)noload-mem): New rule.
9731 (noload-ENV): Define.
9732 (tests): Add $(objpfx)noload-mem.
9733 * elf/noload.c: Include <memcheck.h>.
9734 (main): Call mtrace. Close all opened handles.
9735
f2092faf
AS
97362011-02-17 Andreas Schwab <schwab@redhat.com>
9737
9738 [BZ #12454]
9739 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9740 dependencies are missing.
9741
6c8a2e88
ST
97422011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9743
f2092faf 9744 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
9745 Hurd needs munmap.
9746 * sysdeps/mach/hurd/ifreq.h: New file.
9747
84a42118
PB
97482011-01-27 Petr Baudis <pasky@suse.cz>
9749 Ulrich Drepper <drepper@gmail.com>
9750
071f805e 9751 [BZ 12445]#
84a42118
PB
9752 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9753 to extend_alloca().
9754 * stdio-common/bug23.c: New file.
9755 * stdio-common/Makefile (tests): Add bug23.
9756
e23fe25b
AS
97572010-09-28 Andreas Schwab <schwab@redhat.com>
9758 Ulrich Drepper <drepper@gmail.com>
9759
9760 [BZ #12489]
9761 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9762 before performing relro protection. At old place add assertion
9763 to make sure nothing changed.
9764
d3f02e10
NS
97652011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9766 Glauber de Oliveira Costa <glommer@gmail.com>
9767
9768 * elf/elf.h: Add new ARM TLS relocs.
9769
d55fd7a5
RA
97702011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9771
9772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9773 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9774 cast from r3.
9775 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9776 'tests' variable.
9777 * sysdeps/wordsize-64/tst-writev.c: New file.
9778
2206397e
RA
97792011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9780
9781 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9782 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9783 insns in _dl_start to prevent a TOC reference before relocs are
9784 resolved.
9785
e9433893
UD
97862011-02-15 Ulrich Drepper <drepper@gmail.com>
9787
9788 [BZ #12469]
9789 * Makeconfig: Remove RANLIB definition.
9790 * Makerules: Don't use RANLIB.
9791 * aclocal.m4: Remove ranlib test.
9792 * configure.in: No need to check for ranlib.
9793 * elf/rtld-Rules: Don't use RANLIB.
9794
f75286c6
ST
97952011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9796
8e31c82d
ST
9797 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9798 protection macro.
9799 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9800 inclusion protection macro.
9801
f75286c6
ST
9802 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9803 SIGRTMIN and SIGRTMAX and print information in that case only when
9804 SIGRTMIN is defined.
9805
c1d0e639
JJ
98062011-02-11 Jakub Jelinek <jakub@redhat.com>
9807
9808 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9809 arginfo fn returning -1.
9810
9811 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9812 and thousands string is zero terminated.
9813
edf9294e
AS
98142011-02-03 Andreas Schwab <schwab@redhat.com>
9815
9816 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9817 sysdeps/unix/sysv/linux/bits/socket.h.
9818
2b7e92df
ST
98192011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9820
edf9294e
AS
9821 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9822 (__CPU_COUNT): Remove old macros.
9823 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9824 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9825 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
9826 (__sched_cpualloc, __sched_cpufree): Add declarations.
9827
a4c7ea7b
UD
98282011-02-05 Ulrich Drepper <drepper@gmail.com>
9829
9830 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9831 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9832 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9833 (readdhstai): Return value of addhstaiX call.
9834 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9835 (addgrbyX): Return value returned by cache_addgr.
9836 (readdgrbyname): Return value returned by addgrbyX.
9837 (readdgrbygid): Likewise.
9838 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9839 (addpwbyX): Return value returned by cache_addpw.
9840 (readdpwbyname): Return value returned by addhstbyX.
9841 (readdpwbyuid): Likewise.
9842 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9843 (addservbyX): Return value returned by cache_addserv.
9844 (readdservbyname): Return value returned by addservbyX:
9845 (readdservbyport): Likewise.
9846 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9847 (addhstbyX): Return value returned by cache_addhst.
9848 (readdhstbyname): Return value returned by addhstbyX.
9849 (readdhstbyaddr): Likewise.
9850 (readdhstbynamev6): Likewise.
9851 (readdhstbyaddrv6): Likewise.
9852 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9853 (readdinitgroups): Return value returned by addinitgroupsX.
9854 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9855 (prune_cache): Keep track of timeout value of re-added entries.
9856 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9857 * nscd/nscd.h: Adjust prototypes of readd* functions.
9858
a0bf67cc
RM
98592011-02-04 Roland McGrath <roland@redhat.com>
9860
9861 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9862 (nis_stats): Likewise.
9863 * nis/nis_modify.c (nis_modify): Likewise.
9864 * nis/nis_remove.c (nis_remove): Likewise.
9865 * nis/nis_add.c (nis_add): Likewise.
9866
9867 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9868
9869 * posix/fnmatch_loop.c: Add some consts.
9870
9871 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9872
435b95eb
L
98732011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9874
9875 [BZ #12460]
9876 * config.make.in (config-cflags-novzeroupper): Define.
9877 * configure.in: Substitute libc_cv_cc_novzeroupper.
9878 * elf/Makefile (AVX-CFLAGS): Define.
9879 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9880 (CFLAGS-tst-auditmod4a.c): Likewise.
9881 (CFLAGS-tst-auditmod4b.c): Likewise.
9882 (CFLAGS-tst-auditmod6b.c): Likewise.
9883 (CFLAGS-tst-auditmod6c.c): Likewise.
9884 (CFLAGS-tst-auditmod7b.c): Likewise.
9885 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9886
8517b15e
UD
98872011-02-02 Ulrich Drepper <drepper@gmail.com>
9888
9889 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9890 function to the callback.
9891 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9892
10a656fe
AS
98932011-02-02 Andreas Schwab <schwab@redhat.com>
9894
9895 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9896 of errno.
9897
968dad0a
UD
98982011-01-19 Ulrich Drepper <drepper@gmail.com>
9899
9f94d2ea 9900 [BZ #11724]
968dad0a
UD
9901 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9902 of constructors.
9903 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9904 of destructors.
9905 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9906
9907 [BZ #11724]
9908 * elf/Makefile: Add rules to build and run new test.
9909 * elf/tst-initorder.c: New file.
9910 * elf/tst-initorder.exp: New file.
9911 * elf/tst-initordera1.c: New file.
9912 * elf/tst-initordera2.c: New file.
9913 * elf/tst-initordera3.c: New file.
9914 * elf/tst-initordera4.c: New file.
9915 * elf/tst-initorderb1.c: New file.
9916 * elf/tst-initorderb2.c: New file.
9917 * elf/tst-order-a1.c: New file.
9918 * elf/tst-order-a2.c: New file.
9919 * elf/tst-order-a3.c: New file.
9920 * elf/tst-order-a4.c: New file.
9921 * elf/tst-order-b1.c: New file.
9922 * elf/tst-order-b2.c: New file.
9923 * elf/tst-order-main.c: New file.
9924 New test case by George Gensure <werkt0@gmail.com>.
9925
86e92359
UD
99262010-10-01 Andreas Schwab <schwab@redhat.com>
9927
9928 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9929 decoding ACE if AI_CANONIDN.
9930
5d5732b0
UD
99312011-01-18 Ulrich Drepper <drepper@gmail.com>
9932
9933 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
9934
a77e8cbc
UD
99352011-01-17 Ulrich Drepper <drepper@gmail.com>
9936
6392473f
UD
9937 * version.h (RELEASE): Bump for 2.13 release.
9938 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
9939
620a0529
UD
9940 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
9941
18ba70a5
UD
9942 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
9943 MADV_NOHUGEPAGE.
32465c3e
UD
9944 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
9945 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9946 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9947 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9948 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9949 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9950
c0dafcf1
UD
9951 * posix/getconf.c: Update copyright year.
9952 * catgets/gencat.c: Likewise.
9953 * csu/version.c: Likewise.
9954 * debug/catchsegv.sh: Likewise.
9955 * debug/xtrace.sh: Likewise.
9956 * elf/ldconfig.c: Likewise.
9957 * elf/ldd.bash.in: Likewise.
9958 * elf/sprof.c (print_version): Likewise.
9959 * iconv/iconv_prog.c: Likewise.
9960 * iconv/iconvconfig.c: Likewise.
9961 * locale/programs/locale.c: Likewise.
9962 * locale/programs/localedef.c: Likewise.
9963 * malloc/memusage.sh: Likewise.
9964 * malloc/mtrace.pl: Likewise.
9965 * nscd/nscd.c (print_version): Likewise.
9966 * nss/getent.c: Likewise.
9967
a77e8cbc
UD
9968 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
9969 PF_CAIF, and PF_ALG.
9970 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9971
77e8bddf
AS
99722011-01-16 Andreas Schwab <schwab@linux-m68k.org>
9973
1f20b93a
AS
9974 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
9975 (modules-names): Use them.
9976 (ifunc-test-modules, ifunc-pie-tests): Define.
9977 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
9978 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
9979 (test-extras): Likewise.
9980 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
9981 $(compile-command.c).
9982 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
9983 (all-built-dso): Define.
9984 (check-textrel.out, check-execstack.out): Depend on it.
9985
77e8bddf
AS
9986 * configure.in: Don't override --enable-multi-arch.
9987
bc425b33
UD
99882011-01-15 Ulrich Drepper <drepper@gmail.com>
9989
9990 [BZ #6812]
9991 * nscd/hstcache.c (tryagain): Define.
9992 (cache_addhst): Return tryagain not notfound for temporary errors.
9993 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
9994 failed.
9995
794c3ad3
UD
99962011-01-14 Ulrich Drepper <drepper@gmail.com>
9997
70181fdd
UD
9998 [BZ #10563]
9999 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10000 to make the syscall.
10001 * sysdeps/unix/sysv/linux/setgroups.c: New file.
10002
794c3ad3
UD
10003 [BZ #12378]
10004 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10005 and fall back to matching as normal character if the string ends before
10006 the matching ']' is found. This is what POSIX requires.
10007 * posix/testfnm.c: Adjust test result.
10008 * posix/globtest.sh: Adjust test result. Add new test.
10009 * posix/tst-fnmatch.input: Likewise.
10010 * posix/tst-fnmatch2.c: Add new test.
10011
68dc9497
AS
100122010-12-28 Andreas Schwab <schwab@linux-m68k.org>
10013
10014 * elf/Makefile (check-execstack): Revert last change. Depend on
10015 check-execstack.h.
10016 (check-execstack.h): New target.
10017 (generated): Add check-execstack.h.
10018 * elf/check-execstack.c: Include "check-execstack.h".
10019 (main): Revert last change.
10020 (handle_file): Return zero if GNU_STACK is absent and
10021 DEFAULT_STACK_PERMS doesn't include PF_X.
10022
451f001b
UD
100232011-01-13 Ulrich Drepper <drepper@gmail.com>
10024
cfa28e56
UD
10025 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10026 in child fails because the descriptor is already closed.
8cf8ce17
UD
10027 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10028 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10029 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 10030
1086d70d
UD
10031 [BZ #12397]
10032 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10033 syscall.
10034
451f001b
UD
10035 [BZ #10484]
10036 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10037 temporary buffer used to handle multi lookups locally.
a85b5cb4 10038 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 10039
08769175
UD
100402011-01-12 Ulrich Drepper <drepper@gmail.com>
10041
10042 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10043 loader is ld.so.
10044
5e49c52e
UD
100452011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
10046
10047 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10048 alignment for SSE2.
10049
60522a5f
UD
100502011-01-12 Ulrich Drepper <drepper@gmail.com>
10051
10052 [BZ #12394]
10053 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10054 characters. When rounding increased number of integer digits recompute
10055 number of groups.
10056 * stdio-common/tst-grouping.c: New file.
10057 * stdio-common/Makefile: Add rules to build and run tst-grouping.
10058
f257bbd7
UD
100592011-01-09 Ulrich Drepper <drepper@gmail.com>
10060
10061 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10062 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
10063
10064 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10065 void.
10066 * bits/select.h: Likewise.
10067
fa9c15cb
UD
100682011-01-08 Ulrich Drepper <drepper@gmail.com>
10069
10070 * po/ja.po: Update from translation team.
10071
16c2895f
DM
100722011-01-04 David S. Miller <davem@sunset.davemloft.net>
10073
10074 [BZ #11155]
10075 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10076 implementation just like for lxstat, fxstatat, et al.
10077
2543fef2
JM
100782010-12-27 Jim Meyering <meyering@redhat.com>
10079
10080 [BZ #12348]
10081 * posix/regexec.c (build_trtable): Return failure indication upon
10082 calloc failure. Otherwise, re_search_internal could infloop on OOM.
10083
98727dbe
UD
100842010-12-25 Ulrich Drepper <drepper@gmail.com>
10085
5bd6dc5c
UD
10086 [BZ #12201]
10087 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10088 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10089 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10090 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
10091
97983464
UD
10092 [BZ #12207]
10093 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
10094
98727dbe
UD
10095 [BZ #12204]
10096 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
10097 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
10098
4a531bb0
L
100992010-12-15 H.J. Lu <hongjiu.lu@intel.com>
10100
10101 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
10102 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
10103 script has SORT_BY_INIT_PRIORITY.
10104 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
10105 NO_CTORS_DTORS_SECTIONS is defined.
10106 * elf/soinit.c: Likewise.
10107 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
10108 NO_CTORS_DTORS_SECTIONS is defined.
10109 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
10110 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10111 * sysdeps/sh/init-first.c: Likewise.
10112 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10113
07eb4b71
UD
101142010-12-24 Ulrich Drepper <drepper@gmail.com>
10115
10116 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10117 always use the slow path.
10118
30950a5f
RA
101192010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
10120
10121 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10122 similar rule which adds the sysdep directories to the header search in
10123 order to pick up the correct platform stackinfo.h.
10124 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10125 perform test if it is, otherwise return successfully without testing.
10126 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10127 DEFAULT_STACK_PERMS define in stackinfo.h.
10128 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10129 defined in stackinfo.h.
10130 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10131 DEFAULT_STACK_PERMS defined in stackinfo.h.
10132 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10133 * sysdeps/ia64/stackinfo.h: Likewise.
10134 * sysdeps/s390/stackinfo.h: Likewise.
10135 * sysdeps/sh/stackinfo.h: Likewise.
10136 * sysdeps/sparc/stackinfo.h: Likewise.
10137 * sysdeps/x86_64/stackinfo.h: Likewise.
10138 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10139 PF_X for powerpc64. Retain PF_X for powerpc32.
10140
db753e2c
UD
101412010-12-19 Ulrich Drepper <drepper@gmail.com>
10142
14b697f7
UD
10143 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10144 accurately.
db753e2c
UD
10145 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10146 GETDENTS_64BIT_ALIGNED.
10147
28300719
UD
101482010-12-14 Ulrich Drepper <dreper@gmail.com>
10149
14b697f7 10150 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 10151
4f197237
AS
101522010-12-10 Andreas Schwab <schwab@redhat.com>
10153
dbb0472f
AS
10154 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10155 _GNU_SOURCE.
10156
4f197237
AS
10157 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10158 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10159 Remove __restrict.
10160 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10161 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10162
fb88ac72
UD
101632010-12-09 Ulrich Drepper <drepper@gmail.com>
10164
10165 [BZ #11655]
10166 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10167 are initialized.
10168
42acbb92
JJ
101692010-12-09 Jakub Jelinek <jakub@redhat.com>
10170
10171 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10172
c038d98d
UD
101732010-12-03 Ulrich Drepper <drepper@gmail.com>
10174
10175 * po/it.po: Update from translation team.
10176
3a4a2499
L
101772010-12-01 H.J. Lu <hongjiu.lu@intel.com>
10178
10179 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10180 unused codes.
10181
1e24cf6e
UD
101822010-11-30 Ulrich Drepper <drepper@gmail.com>
10183
10184 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10185
a7690819
AS
101862010-11-24 Andreas Schwab <schwab@redhat.com>
10187
10188 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10189 specially.
10190 (gaih_getanswer_slice): Likewise.
10191
3bf8d1b1
JJ
101922010-10-20 Jakub Jelinek <jakub@redhat.com>
10193
10194 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10195
6db52fbb
PB
101962010-05-31 Petr Baudis <pasky@suse.cz>
10197
10198 [BZ #11149]
10199 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10200 silently even in the chroot mode.
10201
eaca7569
UD
102022010-11-22 Ulrich Drepper <drepper@gmail.com>
10203
10204 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10205 last patch a bit. Pretty printing
10206
3056dcdb
UD
102072010-05-31 Petr Baudis <pasky@suse.cz>
10208
10209 [BZ #10085]
10210 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10211 initialization of skip_initgroups_dyn.
10212
cf7c9078
UD
102132010-11-19 Ulrich Drepper <drepper@gmail.com>
10214
10215 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10216 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10217
a1fb5e3e
UD
102182010-11-16 Ulrich Drepper <drepper@gmail.com>
10219
10220 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10221
3540d66b
AS
102222010-11-11 Andreas Schwab <schwab@redhat.com>
10223
10224 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10225 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10226 (tst-fnmatch-ENV): Set MALLOC_TRACE.
10227 ($(objpfx)tst-fnmatch-mem): New rule.
10228 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10229 * posix/tst-fnmatch.c (main): Call mtrace.
10230
13b69574
L
102312010-11-11 H.J. Lu <hongjiu.lu@intel.com>
10232
10233 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10234 Support Intel processor model 6 and model 0x2c.
10235
da93d214
LM
102362010-11-10 Luis Machado <luisgpm@br.ibm.com>
10237
10238 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10239 signed comparison.
10240
8ca52c6e
L
102412010-11-09 H.J. Lu <hongjiu.lu@intel.com>
10242
10243 [BZ #12205]
10244 * string/test-strncasecmp.c (check_result): New function.
10245 (do_one_test): Use it.
10246 (check1): New function.
10247 (test_main): Use it.
10248 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10249 Support strcasecmp and strncasecmp.
10250
69da074d
UD
102512010-11-08 Ulrich Drepper <drepper@gmail.com>
10252
10253 [BZ #12194]
10254 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10255 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10256
ff02d528
L
102572010-11-07 H.J. Lu <hongjiu.lu@intel.com>
10258
10259 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10260 IFUNC support.
10261 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10262 memset-x86-64.
10263 * sysdeps/x86_64/multiarch/bzero.S: New file.
10264 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10265 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10266 * sysdeps/x86_64/multiarch/memset.S: New file.
10267 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10268 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10269 Set bit_Prefer_SSE_for_memop for Intel processors.
10270 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10271 Define.
10272 (index_Prefer_SSE_for_memop): Define.
10273 (HAS_PREFER_SSE_FOR_MEMOP): Define.
10274
344d0b54
LM
102752010-11-04 Luis Machado <luisgpm@br.ibm.com>
10276
10277 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10278 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10279
c0dde15b
UD
102802010-11-03 H.J. Lu <hongjiu.lu@intel.com>
10281
10282 [BZ #12191]
10283 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10284 (__x86_64_raw_data_cache_size_half): Likewise.
10285 (__x86_64_raw_shared_cache_size): Likewise.
10286 (__x86_64_raw_shared_cache_size_half): Likewise.
10287
10288 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10289 (__x86_64_raw_data_cache_size_half): Likewise.
10290 (__x86_64_raw_shared_cache_size): Likewise.
10291 (__x86_64_raw_shared_cache_size_half): Likewise.
10292 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10293 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10294 and __x86_64_raw_shared_cache_size_half. Round
10295 __x86_64_data_cache_size_half, __x86_64_data_cache_size
10296 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10297 to multiple of 256 bytes.
10298
0e516e0e
MS
102992010-11-03 Ulrich Drepper <drepper@gmail.com>
10300
10301 [BZ #12167]
10302 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10303 of inacessible symlinks. Verify result of symlink before returning it.
10304 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10305 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10306
0e012e87
ER
103072010-10-28 Erich Ritz <erichritz@gmail.com>
10308
10309 * math/math.h (isinf): Fix typo in comment.
10310
de0ff7bc
UD
103112010-11-01 Ulrich Drepper <drepper@gmail.com>
10312
10313 * po/da.po: Update from translation team.
10314
fa41c84d
UD
103152010-10-26 Ulrich Drepper <drepper@gmail.com>
10316
10317 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10318 is added to the list.
10319
f0967738
AK
103202010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10321 Ulrich Drepper <drepper@gmail.com>
10322
10323 * elf/dl-object.c (_dl_new_object): Don't append the new object to
10324 the global list here. Move code to...
10325 (_dl_add_to_namespace_list): ...here. New function.
10326 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10327 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10328 * elf/dl-load.c (lose): Don't remove the element from the list.
10329 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10330 (_dl_map_object): Likewise.
10331
103322010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
10333
10334 [BZ #12159]
10335 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10336 into all bytes of SSE register.
10337 Patch by Richard Li <richardpku@gmail.com>.
10338
f0967738 103392010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
10340
10341 [BZ #12140]
10342 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10343 perturbing.
10344
d0b9e94f
MB
103452010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10346
10347 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10348 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10349 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10350 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10352 submachine.
10353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10354
8e9f92e9
AS
103552010-10-22 Andreas Schwab <schwab@redhat.com>
10356
10357 * include/dlfcn.h (__RTLD_SECURE): Define.
10358 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10359 mode & __RTLD_SECURE instead.
10360 (open_path): Rename preloaded parameter to secure.
10361 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10362 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10363 * elf/dl-deps.c (openaux): Likewise.
10364 * elf/rtld.c (struct map_args): Remove is_preloaded.
10365 (map_doit): Don't use it.
10366 (dl_main): Likewise.
10367 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10368 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10369
bc96fbda
AS
103702010-09-09 Andreas Schwab <schwab@redhat.com>
10371
10372 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10373 (sysd-rules-targets): Remove duplicates.
10374 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10375 rtld-%.$o dependency.
10376
22cd1c9b
AS
103772010-10-18 Andreas Schwab <schwab@redhat.com>
10378
10379 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10380 _dl_map_object do it.
10381
18edac48
UD
103822010-10-19 Ulrich Drepper <drepper@gmail.com>
10383
10384 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10385 fast fma builtins, define the macros in the C99 standard.
10386 (FP_FAST_FMAF): Likewise.
10387 (FP_FAST_FMAL): Likewise.
10388 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10389
10390 * bits/mathdef.h: Update copyright year.
10391 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10392
d2050124
MM
103932010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10394
10395 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10396 builtins, define the macros in the C99 standard.
10397 (FP_FAST_FMAF): Likewise.
10398 (FP_FAST_FMAL): Likewise.
10399 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10400 multiply/add.
10401 (FP_FAST_FMAF): Likewise.
10402
475facd1
JJ
104032010-10-15 Jakub Jelinek <jakub@redhat.com>
10404
10405 [BZ #3268]
10406 * math/libm-test.inc (fma_test): Some new testcases.
10407 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10408 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10409 y and infinite z. Do multiplication by C already in long double.
10410 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10411 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10412 y and infinite z. Do bitwise or of inexact bit into u.d.
10413 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10414 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10415 * sysdeps/i386/fpu/s_fma.S: Removed.
10416 * sysdeps/i386/fpu/s_fmal.S: Removed.
10417
7c08a05c
JJ
104182010-10-16 Jakub Jelinek <jakub@redhat.com>
10419
10420 [BZ #3268]
10421 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10422 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10423 computation is not scheduled after fetestexcept. Fix value
10424 of minimum denormal long double.
10425
f3f7372d
JJ
104262010-10-14 Jakub Jelinek <jakub@redhat.com>
10427
10428 [BZ #3268]
10429 * math/libm-test.inc (fma_test): Add some more tests.
10430 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10431 correctly.
10432
14d43591
AS
104332010-10-15 Andreas Schwab <schwab@redhat.com>
10434
10435 * scripts/data/localplt-s390-linux-gnu.data: New file.
10436 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10437
5e908464
JJ
104382010-10-13 Jakub Jelinek <jakub@redhat.com>
10439
10440 [BZ #3268]
10441 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10442 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10443 instead of dbl-64.
10444 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10445 inlines.
10446 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10447 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10448 if one of x and y is very large and the other is subnormal.
10449 * sysdeps/s390/fpu/s_fmaf.c: New file.
10450 * sysdeps/s390/fpu/s_fma.c: New file.
10451 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10452 * sysdeps/powerpc/fpu/s_fma.S: New file.
10453 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10454 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10455 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10456
104572010-10-12 Jakub Jelinek <jakub@redhat.com>
10458
10459 [BZ #3268]
10460 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10461 fma tests.
10462 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10463 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10464 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10465 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10466 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10467 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10468 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10469
b833d51f
UD
104702010-10-12 Ulrich Drepper <drepper@redhat.com>
10471
10472 [BZ #12078]
10473 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10474 * posix/bug-regex31.input: Add test case.
10475
1751705d
UD
104762010-10-11 Ulrich Drepper <drepper@gmail.com>
10477
e9b9cbf5
UD
10478 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10479 * posix/bug-regex31.input: New file.
10480
10481 [BZ #12078]
10482 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10483 (parse_sub_exp): Fix last change, use postorder.
10484
ef06edbe
UD
10485 * posix/bug-regex31.c: New file.
10486 * posix/Makefile: Add rules to build and run bug-regex31.
10487
a129c80d
UD
10488 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10489
10490 [BZ #12078]
10491 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10492
b76b818e
UD
10493 [BZ #12108]
10494 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10495 to have entries in sys_siglist.
10496
1751705d
UD
10497 [BZ #12093]
10498 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10499 be NULL.
10500
9ff8d36f
JJ
105012010-10-07 Jakub Jelinek <jakub@redhat.com>
10502
10503 [BZ #3268]
10504 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10505 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10506 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10507 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10508 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10509 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10510 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10511 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10512 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10513 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10514 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10515 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10516 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10517 * math/ftestexcept.c (fetestexcept): Likewise.
10518 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10519 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10520 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10521 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10522 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10523 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10524 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10525
af325969
UD
105262010-10-11 Ulrich Drepper <drepper@gmail.com>
10527
c579b202 10528 [BZ #12107]
af325969
UD
10529 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10530 newline.
10531
67a67b95
UD
105322010-10-06 Ulrich Drepper <drepper@gmail.com>
10533
10534 * string/bug-strstr1.c: New file.
10535 * string/Makefile: Add rules to build and run bug-strstr1.
10536
5fb308bc
EB
105372010-10-05 Eric Blake <eblake@redhat.com>
10538
10539 [BZ #12092]
10540 * string/str-two-way.h (two_way_long_needle): Always clear memory
10541 when skipping input due to the shift table.
10542
45db99c7
UD
105432010-10-03 Ulrich Drepper <drepper@gmail.com>
10544
3b111893
UD
10545 [BZ #12005]
10546 * malloc/mcheck.c: Handle large requests.
10547
45db99c7
UD
10548 [BZ #12077]
10549 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10550 for strncmp and strncasecmp.
10551 * string/stratcliff.c: Add tests for strcmp and strncmp.
10552 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10553
cf7a1eb8
NI
105542010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10555
10556 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10557 __set_fpscr.
10558
6484ba5e
AJ
105592010-09-30 Andreas Jaeger <aj@suse.de>
10560
10561 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10562 (CGROUP_SUPER_MAGIC): Define.
10563 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10564 Handle btrfs and cgroup file systems.
10565 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10566 Likewise.
10567
91c42559
LM
105682010-09-27 Luis Machado <luisgpm@br.ibm.com>
10569
10570 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10571 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10572
87a97932
AK
105732010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10574
10575 [BZ #12067]
10576 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10577 trying to locate the ELF header.
10578
c21cc9bc
AS
105792010-09-27 Andreas Schwab <schwab@redhat.com>
10580
10581 [BZ #11611]
10582 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10583 Mask out sign-bit copies when constructing f_fsid.
10584
315970f6
PB
105852010-09-24 Petr Baudis <pasky@suse.cz>
10586
10587 * debug/stack_chk_fail_local.c: Add missing licence exception.
10588 * debug/warning-nop.c: Likewise.
10589
1ac7a2c7
JM
105902010-09-15 Joseph Myers <joseph@codesourcery.com>
10591
10592 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10593 implementing getdents64 using getdents syscall, set d_type if
10594 __ASSUME_GETDENTS32_D_TYPE.
10595
56801c50
AS
105962010-09-16 Andreas Schwab <schwab@redhat.com>
10597
10598 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10599 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10600
dda51327
UD
106012010-09-21 Ulrich Drepper <drepper@redhat.com>
10602
10603 [BZ #12037]
10604 * posix/unistd.h: Undo change of feature selection for ftruncate from
10605 2010-01-11.
10606
8ffcee4a
UD
106072010-09-20 Ulrich Drepper <drepper@redhat.com>
10608
a545ecd9 10609 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
10610 detection.
10611
e24f0a8b
AS
106122010-09-20 Andreas Schwab <schwab@redhat.com>
10613
10614 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10615 fanotify_mark.
10616 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10617
7291c56f
AS
106182010-09-14 Andreas Schwab <schwab@redhat.com>
10619
10620 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10621 variables after CHECK_SP call.
10622 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10623
bc5fb037
AS
106242010-09-13 Andreas Schwab <schwab@redhat.com>
10625 Ulrich Drepper <drepper@redhat.com>
10626
10627 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10628 re-relocationg ld.so.
10629 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10630 _dl_init_paths call.
10631 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10632 here anymore.
10633
e66e7419
UD
106342010-09-14 Ulrich Drepper <drepper@redhat.com>
10635
10636 * resolv/res_init.c (__res_vinit): Count the default server we added.
10637
c044aa75
CLT
106382010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10639 Ulrich Drepper <drepper@redhat.com>
10640
10641 [BZ #11968]
10642 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10643 (____longjmp_chk): Use %ebx for saving value across system call.
10644 Add unwind info.
10645
32cf4069
AS
106462010-09-06 Andreas Schwab <schwab@redhat.com>
10647
10648 * manual/Makefile: Don't mix pattern rules with normal rules.
10649
817328ee
AS
106502010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10651
10652 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10653 operation.
10654 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10655 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10656 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10657 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10658 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10659 Likewise.
10660
29fddf61
UD
106612010-09-04 Ulrich Drepper <drepper@redhat.com>
10662
10663 [BZ #11979]
10664 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10665 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10666
0959ffc9
UD
106672010-09-02 Ulrich Drepper <drepper@redhat.com>
10668
10669 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10670 * sysdeps/x86_64/addmul_1.S: Likewise.
10671 * sysdeps/x86_64/lshift.S: Likewise.
10672 * sysdeps/x86_64/mul_1.S: Likewise.
10673 * sysdeps/x86_64/rshift.S: Likewise.
10674 * sysdeps/x86_64/sub_n.S: Likewise.
10675 * sysdeps/x86_64/submul_1.S: Likewise.
10676
ece29840
ST
106772010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10678
0959ffc9
UD
10679 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10680 Define __sched_param instead of SCHED_* and sched_param when
ece29840 10681 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 10682 * bits/sched.h [__need_schedparam]
ece29840 10683 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
10684 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10685 (__defined_schedparam): Define to 1.
ece29840
ST
10686 (__sched_param): New structure, identical to sched_param.
10687 (__need_schedparam): Undefine.
10688
e53a31fe
MF
106892010-08-31 Mike Frysinger <vapier@gentoo.org>
10690
fdc0c10d
MF
10691 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10692 (epoll_create1): Declare.
10693
e53a31fe
MF
10694 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10695
a726d796
AS
106962010-08-31 Andreas Schwab <schwab@redhat.com>
10697
10698 [BZ #7066]
10699 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10700 shifting retval into place.
10701
2f3e3dc7
UD
107022010-09-01 Ulrich Drepper <drepper@redhat.com>
10703
f2933da9
UD
10704 * nis/rpcsvc/nis.h: Update copyright notice.
10705 * nis/rpcsvc/nis.x: Likewise.
10706 * nis/rpcsvc/nis_callback.h: Likewise.
10707 * nis/rpcsvc/nis_callback.x: Likewise.
10708 * nis/rpcsvc/nis_object.x: Likewise.
10709 * nis/rpcsvc/nis_tags.h: Likewise.
10710 * nis/rpcsvc/yp.h: Likewise.
10711 * nis/rpcsvc/yp.x: Likewise.
10712 * nis/rpcsvc/ypupd.h: Likewise.
10713 * nis/yp_xdr.c: Likewise.
10714 * nis/ypupdate_xdr.c: Likewise.
10715
2f3e3dc7
UD
10716 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10717 mainly the body of pmap_getport. Add parameters to specify timeouts.
10718 (pmap_getport): Use __libc_rpc_getport.
10719 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10720 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10721 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10722
f3dcc2f9
AS
107232010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10724
10725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10726 fanotify_mark.
10727
6d34eb5b
RM
107282010-08-27 Roland McGrath <roland@redhat.com>
10729
10730 * sysdeps/i386/i686/multiarch/Makefile
10731 (CFLAGS-varshift.c): New variable.
10732
9ea3de11
UD
107332010-08-27 Ulrich Drepper <drepper@redhat.com>
10734
c96d23fc
UD
10735 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10736 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10737
9ea3de11
UD
10738 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10739
10740 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10741
623aac7f
L
107422010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10743
10744 * sysdeps/x86_64/strlen.S: Unroll the loop.
10745 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10746 strlen-sse2 strlen-sse2-bsf.
10747 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10748 __strlen_no_bsf if bit_Slow_BSF is set.
10749 (__strlen_sse42): Removed.
10750 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10751 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10752
8b2b7715
RM
107532010-08-25 Roland McGrath <roland@redhat.com>
10754
10755 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10756 * sysdeps/x86_64/multiarch/varshift.c: New file.
10757 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10758 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10759 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10760 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10761
e73015f2
L
107622010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10763
10764 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10765 strlen-sse2 strlen-sse2-bsf.
10766 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10767 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10768 (__strlen_sse2): Removed.
10769 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10770 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10771 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10772 bit_Slow_BSF for Atom.
10773 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10774 (index_Slow_BSF): Define.
10775 (HAS_SLOW_BSF): Define.
10776
df24a73e
UD
107772010-08-25 Ulrich Drepper <drepper@redhat.com>
10778
10779 [BZ #10851]
10780 * resolv/res_init.c (__res_vinit): When no server address at all
10781 is given default to loopback.
10782
f2ac4868
RM
107832010-08-24 Roland McGrath <roland@redhat.com>
10784
09055553
RM
10785 * configure.in: Remove config-name.h generation.
10786 * configure: Regenerated.
10787 * config-name.in: File removed.
10788 * scripts/config-uname.sh: New file.
10789 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10790 ($(objdir)config-name.h): New target.
10791
f2ac4868
RM
10792 * sunrpc/rpc_parse.h: Avoid nested comment.
10793
73f27d5e
RH
107942010-08-24 Richard Henderson <rth@redhat.com>
10795 Ulrich Drepper <drepper@redhat.com>
10796 H.J. Lu <hongjiu.lu@intel.com>
10797
10798 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10799 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10800 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10801 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10802 _mm_alignr_epi8 with _mm_loadu_si128.
10803 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10804 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10805 (__m128i_shift_right): Removed.
10806 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10807 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10808 * sysdeps/x86_64/multiarch/varshift.h: New file.
10809 * sysdeps/x86_64/multiarch/varshift.S: New file.
10810
84b9230c
MF
108112010-08-21 Mike Frysinger <vapier@gentoo.org>
10812
10813 * configure.in: Move assembler checks to before sysdep dir checking.
10814
9bbd0ddc
PB
108152010-08-20 Petr Baudis <pasky@suse.cz>
10816
10817 * LICENSES: Sync the sunrpc license.
10818
9da4bb31
UD
108192010-08-19 Ulrich Drepper <drepper@redhat.com>
10820
a7ab6ec8
UD
10821 * sunrpc/auth_des.c: Update copyright notice once again.
10822 * sunrpc/auth_none.c: Likewise.
10823 * sunrpc/auth_unix.c: Likewise.
10824 * sunrpc/authdes_prot.c: Likewise.
10825 * sunrpc/authuxprot.c: Likewise.
10826 * sunrpc/bindrsvprt.c: Likewise.
10827 * sunrpc/clnt_gen.c: Likewise.
10828 * sunrpc/clnt_perr.c: Likewise.
10829 * sunrpc/clnt_raw.c: Likewise.
10830 * sunrpc/clnt_simp.c: Likewise.
10831 * sunrpc/clnt_tcp.c: Likewise.
10832 * sunrpc/clnt_udp.c: Likewise.
10833 * sunrpc/clnt_unix.c: Likewise.
10834 * sunrpc/des_crypt.c: Likewise.
10835 * sunrpc/des_soft.c: Likewise.
10836 * sunrpc/get_myaddr.c: Likewise.
10837 * sunrpc/getrpcport.c: Likewise.
10838 * sunrpc/key_call.c: Likewise.
10839 * sunrpc/key_prot.c: Likewise.
10840 * sunrpc/openchild.c: Likewise.
10841 * sunrpc/pm_getmaps.c: Likewise.
10842 * sunrpc/pm_getport.c: Likewise.
10843 * sunrpc/pmap_clnt.c: Likewise.
10844 * sunrpc/pmap_prot.c: Likewise.
10845 * sunrpc/pmap_prot2.c: Likewise.
10846 * sunrpc/pmap_rmt.c: Likewise.
10847 * sunrpc/rpc/auth.h: Likewise.
10848 * sunrpc/rpc/auth_unix.h: Likewise.
10849 * sunrpc/rpc/clnt.h: Likewise.
10850 * sunrpc/rpc/des_crypt.h: Likewise.
10851 * sunrpc/rpc/key_prot.h: Likewise.
10852 * sunrpc/rpc/netdb.h: Likewise.
10853 * sunrpc/rpc/pmap_clnt.h: Likewise.
10854 * sunrpc/rpc/pmap_prot.h: Likewise.
10855 * sunrpc/rpc/pmap_rmt.h: Likewise.
10856 * sunrpc/rpc/rpc.h: Likewise.
10857 * sunrpc/rpc/rpc_des.h: Likewise.
10858 * sunrpc/rpc/rpc_msg.h: Likewise.
10859 * sunrpc/rpc/svc.h: Likewise.
10860 * sunrpc/rpc/svc_auth.h: Likewise.
10861 * sunrpc/rpc/types.h: Likewise.
10862 * sunrpc/rpc/xdr.h: Likewise.
10863 * sunrpc/rpc_clntout.c: Likewise.
10864 * sunrpc/rpc_cmsg.c: Likewise.
10865 * sunrpc/rpc_common.c: Likewise.
10866 * sunrpc/rpc_cout.c: Likewise.
10867 * sunrpc/rpc_dtable.c: Likewise.
10868 * sunrpc/rpc_hout.c: Likewise.
10869 * sunrpc/rpc_main.c: Likewise.
10870 * sunrpc/rpc_parse.c: Likewise.
10871 * sunrpc/rpc_parse.h: Likewise.
10872 * sunrpc/rpc_prot.c: Likewise.
10873 * sunrpc/rpc_sample.c: Likewise.
10874 * sunrpc/rpc_scan.c: Likewise.
10875 * sunrpc/rpc_scan.h: Likewise.
10876 * sunrpc/rpc_svcout.c: Likewise.
10877 * sunrpc/rpc_tblout.c: Likewise.
10878 * sunrpc/rpc_util.c: Likewise.
10879 * sunrpc/rpc_util.h: Likewise.
10880 * sunrpc/rpcinfo.c: Likewise.
10881 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10882 * sunrpc/rpcsvc/key_prot.x: Likewise.
10883 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10884 * sunrpc/rpcsvc/mount.x: Likewise.
10885 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10886 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10887 * sunrpc/rpcsvc/rex.x: Likewise.
10888 * sunrpc/rpcsvc/rstat.x: Likewise.
10889 * sunrpc/rpcsvc/rusers.x: Likewise.
10890 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10891 * sunrpc/rpcsvc/spray.x: Likewise.
10892 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10893 * sunrpc/rtime.c: Likewise.
10894 * sunrpc/svc.c: Likewise.
10895 * sunrpc/svc_auth.c: Likewise.
10896 * sunrpc/svc_authux.c: Likewise.
10897 * sunrpc/svc_raw.c: Likewise.
10898 * sunrpc/svc_run.c: Likewise.
10899 * sunrpc/svc_simple.c: Likewise.
10900 * sunrpc/svc_tcp.c: Likewise.
10901 * sunrpc/svc_udp.c: Likewise.
10902 * sunrpc/svc_unix.c: Likewise.
10903 * sunrpc/svcauth_des.c: Likewise.
10904 * sunrpc/xcrypt.c: Likewise.
10905 * sunrpc/xdr.c: Likewise.
10906 * sunrpc/xdr_array.c: Likewise.
10907 * sunrpc/xdr_float.c: Likewise.
10908 * sunrpc/xdr_mem.c: Likewise.
10909 * sunrpc/xdr_rec.c: Likewise.
10910 * sunrpc/xdr_ref.c: Likewise.
10911 * sunrpc/xdr_sizeof.c: Likewise.
10912 * sunrpc/xdr_stdio.c: Likewise.
10913
9da4bb31
UD
10914 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10915 handling.
10916
bdaa77bc
AS
109172010-08-19 Andreas Schwab <schwab@redhat.com>
10918
10919 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
10920
fe2f79db
LM
109212010-08-19 Luis Machado <luisgpm@br.ibm.com>
10922
10923 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
10924 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
10925 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
10926 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
10927 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
10928 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
10929 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
10930 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
10931 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
10932 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
10933 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
10934 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
10935 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
10936 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
10937
b9b42ee0
AB
109382010-07-26 Anton Blanchard <anton@samba.org>
10939
10940 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
10941 * malloc/arena.c (heap_trim): Likewise.
10942
1c06ba31
UD
109432010-08-16 Ulrich Drepper <drepper@redhat.com>
10944
10945 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
10946 here. Not...
10947 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
10948 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
10949
f8392f40
L
109502010-08-12 H.J. Lu <hongjiu.lu@intel.com>
10951
10952 * sysdeps/i386/elf/Makefile: New file.
10953
3162f12e
AS
109542010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10955
10956 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
10957 from fanotify_init.
10958 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10959 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10960
28c90b2c
UD
109612010-08-15 Ulrich Drepper <drepper@redhat.com>
10962
10963 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
10964 of strncasecmp_l.
1feccb6c 10965 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 10966
ca6bb004
UD
109672010-08-14 Ulrich Drepper <drepper@redhat.com>
10968
e9f82e0d
UD
10969 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10970 strncase_l-nonascii.
10971 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10972 Add strncase_l-ssse3.
10973 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
10974 * sysdeps/x86_64/strcmp.S: Likewise.
10975 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
10976 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
10977 * sysdeps/x86_64/strncase.S: New file.
10978 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
10979 * sysdeps/x86_64/strncase_l.S: New file.
10980 * string/Makefile (strop-tests): Add strncasecmp.
10981 * string/test-strncasecmp.c: New file.
10982
10983 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
10984 warning.
10985
ca6bb004
UD
10986 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
10987 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
10988
052fa7b3
AS
109892010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10990
10991 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
10992
962dba78
UD
109932010-08-12 Ulrich Drepper <drepper@redhat.com>
10994
10995 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
10996 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10997 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10998
bebff237
AM
109992010-05-01 Alan Modra <amodra@gmail.com>
11000
11001 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11002 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11003 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11004 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11005 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11006 tidying. Don't tail-call __sigjmp_save for static lib.
11007 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11008 save location.
11009 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11010 (CALL_MCOUNT): Add eh info, and nop after bl.
11011 (TAIL_CALL_SYSCALL_ERROR): New macro.
11012 (PSEUDO_RET): Use it.
11013 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11014 Correct save location of integer regs and cr.
11015 (_dl_profile_resolve): Correct cr save location. Delete nops
11016 after bl when SHARED. Reduce cfi size a little by better
11017 placement of cfi directives.
11018 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11019 make a stack frame. Instead use parm save area as a temp.
11020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11021 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
11022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11023 Don't make a stack frame for parent, use parm save area.
11024 Increase child stack frame to 112 bytes. Don't save unused reg,
11025 and adjust reg usage. Set up cfi on error recovery and
11026 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11028 (__makecontext): Add dummy nop after jump to exit.
11029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11030 Use correct parm save area and cr save, reduce stack frame.
11031 Correct cfi for possible PSEUDO_RET frame setup.
11032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11033 Branch to local label emitted by PSEUDO_RET rather than
11034 __syscall_error.
11035
02637374
AS
110362010-08-12 Andreas Schwab <schwab@redhat.com>
11037
11038 [BZ #11904]
11039 * locale/programs/locale.c (print_assignment): New function.
11040 (show_locale_vars): Use it.
11041
c3e2f19b
UD
110422010-08-11 Ulrich Drepper <drepper@redhat.com>
11043
3cdaa6ad
UD
11044 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11045 field.
11046 (struct statfs64): Likewise.
11047 (_STATFS_F_FLAGS): Define.
11048 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11049 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11050 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11051 (ST_VALID): Define locally.
11052 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11053 __statvfs_getflags, use the provided value.
11054 * sysdeps/unix/sysv/linux/kernel-features.h: Define
11055 __ASSUME_STATFS_F_FLAGS.
11056
754f7da3
UD
11057 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11058
10b3bedc
UD
11059 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11060 Add sys/fanotify.h.
11061 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11062 fanotify_mask for GLIBC_2.13.
11063 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11064 fanotify_init and fanotify_mark.
11065 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11066 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11067
c08fb0d7
UD
11068 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11069 Add prlimit.
11070 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11071 prlimit64 for GLIBC_2.13.
11072 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11073 prlimit64.
11074 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11075 syscall.
11076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11077 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11078 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11079 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11080 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
11081 add prlimit alias.
11082 * sysdeps/unix/sysv/linux/prlimit.c: New file.
11083
15bac72b
UD
11084 [BZ #11903]
11085 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11086 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11087
c3e2f19b
UD
11088 * nss/Makefile: Add rules to build and run tst-nss-test1.
11089 * shlib-versions: Add entry for libnss_test1.
11090 * nss/nss_test1.c: New file.
11091 * nss/tst-nss-test1.c: New file.
11092
11093 * nss/nsswitch.c (__nss_database_custom): Define new variable.
11094 (__nss_configure_lookup): Set appropriate entry in
11095 __nss_configure_lookup to true.
11096 * nss/nsswitch.h: Define enum with indeces of databases in
11097 databases and __nss_database_custom arrays. Declare
11098 __nss_database_custom.
11099 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
11100 to avoid using nscd when custom rules are installed.
11101 * nss/getXXbyYY_r.c: Likewise.
11102 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11103
11104 * nss/nss_files/files-parse.c: Whitespace fixes.
11105
f15ce4d8
UD
111062010-08-09 Ulrich Drepper <drepper@redhat.com>
11107
11108 [BZ #11883]
11109 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
11110 * posix/fnmatch_loop.c: Likewise.
11111
d22e4cc9
AK
111122010-07-17 Andi Kleen <ak@linux.intel.com>
11113
11114 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11115 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11116 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11117 * Versions.def [GLIBC_2.13]: Add.
11118
805bc17d
UD
111192010-08-06 Ulrich Drepper <drepper@redhat.com>
11120
11121 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11122 Also fail if tpwd after pwuid call is NULL.
11123
5a42321d
ST
111242010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11125
11126 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11127 when converting to ms.
11128
fd3ebeda
ST
111292010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11130
11131 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11132 EOPNOTSUPP errors with ENOTTY.
11133 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11134 EOPNOTSUPP errors with ENOTTY.
11135
73507d3a
UD
111362010-07-31 Ulrich Drepper <drepper@redhat.com>
11137
11138 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11139 Add strcasecmp_l-ssse3.
11140 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11141 strcasecmp.
11142 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11143 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11144 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11145
fe36dd02
UD
111462010-07-30 Ulrich Drepper <drepper@redhat.com>
11147
66f6765a
UD
11148 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11149
42e08a54
UD
11150 * string/Makefile (strop-tests): Add strcasecmp.
11151 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11152 strcasecmp_l-nonascii.
11153 (gen-as-const-headers): Add locale-defines.sym.
11154 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11155 * sysdeps/x86_64/strcasecmp.S: New file.
11156 * sysdeps/x86_64/strcasecmp_l.S: New file.
11157 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11158 * sysdeps/x86_64/locale-defines.sym: New file.
11159 * string/test-strcasecmp.c: New file.
11160
fe36dd02
UD
11161 * string/test-strcasestr.c: Test both ends of the range of characters.
11162 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11163
48cbc0d6
RM
111642010-07-29 Roland McGrath <roland@redhat.com>
11165
76e6d6bc 11166 [BZ #11856]
48cbc0d6
RM
11167 * manual/locale.texi (Yes-or-No Questions): Fix example code.
11168
880113d9
UD
111692010-07-27 Ulrich Drepper <drepper@redhat.com>
11170
11171 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11172 for ld.so.
11173
deb9cabb
AS
111742010-07-27 Andreas Schwab <schwab@redhat.com>
11175
11176 * manual/memory.texi (Malloc Tunable Parameters): Document
11177 M_PERTURB.
11178
1c7570ff
RM
111792010-07-26 Roland McGrath <roland@redhat.com>
11180
11181 [BZ #11840]
11182 * configure.in (-fgnu89-inline check): Set and substitute
11183 gnu89_inline, not libc_cv_gnu89_inline.
11184 * configure: Regenerated.
11185 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11186
24fb0f88
UD
111872010-07-26 Ulrich Drepper <drepper@redhat.com>
11188
11189 * string/test-strnlen.c: New file.
11190 * string/Makefile (strop-tests): Add strnlen.
11191 * string/tester.c (test_strnlen): Add a few more test cases.
11192 * string/tst-strlen.c: Better error reporting.
11193
11194 * sysdeps/x86_64/strnlen.S: New file.
11195
8e96b93a
UD
111962010-07-24 Ulrich Drepper <drepper@redhat.com>
11197
11198 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11199 lower-latency instructions.
11200
dbc676d4
UD
112012010-07-23 Ulrich Drepper <drepper@redhat.com>
11202
11203 * string/test-strcasestr.c: New file.
11204 * string/test-strstr.c: New file.
11205 * string/Makefile (strop-tests): Add strstr and strcasestr.
11206 * string/str-two-way.h: Don't undefine MAX.
11207 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11208
f6a31e0e
AS
112092010-07-21 Andreas Schwab <schwab@redhat.com>
11210
11211 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11212 strcasestr-nonascii.
11213 (CFLAGS-strcasestr-nonascii.c): Define.
11214 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11215 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11216 Remove unused attribute.
11217
5dbc3b6c
RM
112182010-07-20 Roland McGrath <roland@redhat.com>
11219
11220 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11221 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
11222 ld.so.cache was broken. With it, there is no way to disable dsocaps
11223 like LD_HWCAP_MASK can disable hwcaps.
11224
23d101d8
EPM
112252010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11226
11227 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11228
cc9f2e47
UD
112292010-07-16 Ulrich Drepper <drepper@redhat.com>
11230
11231 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11232 call in strcasestr.
11233 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11234 __strcasestr_sse42_nonascii.
11235 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11236 strcasestr-nonascii.c.
11237 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11238
77c1b069
LM
112392010-06-15 Luis Machado <luisgpm@br.ibm.com>
11240
11241 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11242 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11243 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11244 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11245
440566c3
UD
112462010-07-09 Ulrich Drepper <drepper@redhat.com>
11247
11248 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11249 fcntl.
11250
5be9d05d
AS
112512010-07-06 Andreas Schwab <schwab@redhat.com>
11252
c30b7ee2 11253 [BZ #11577]
5be9d05d
AS
11254 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11255 dl_signal_cerror.
11256
8a492a67
UD
112572010-07-06 Ulrich Drepper <drepper@redhat.com>
11258
11259 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11260 _PC_PIPE_BUF using F_GETPIPE_SZ.
11261
713df3d5
RM
112622010-07-05 Roland McGrath <roland@redhat.com>
11263
11264 * manual/arith.texi (Rounding Functions): Fix rint description
11265 implicit in round description.
11266
702e8f14
UD
112672010-07-02 Ulrich Drepper <drepper@redhat.com>
11268
11269 * elf/Makefile: Fix linking for a few tests to make recent linker
11270 happy.
11271
52ed8be9
AS
112722010-06-30 Andreas Schwab <schwab@redhat.com>
11273
11274 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11275 $(common-objpfx)libc_nonshared.a.
11276
f47c9a11
LM
112772010-06-21 Luis Machado <luisgpm@br.ibm.com>
11278
11279 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11280 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11281 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11282 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11283 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11284 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11285 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11286 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11301 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11302 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11303 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11304 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11305 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11306 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11307 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11308 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11309 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11310 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11311 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11312 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11327
6fb8cbcb
L
113282010-06-25 H.J. Lu <hongjiu.lu@intel.com>
11329
11330 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11331 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11332 * string/memmove.c (memmove): Renamed to ...
11333 (MEMMOVE): ...this. Default to memmove.
11334 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11335 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11336 (END_CHK): Define.
11337 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11338 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11339 mempcpy-ssse3-back memmove-ssse3-back.
11340 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11341 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11342 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11343 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11344 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11345 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11346 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11347 * sysdeps/x86_64/multiarch/memmove.c: New file.
11348 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11349 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11350 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11351 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11352 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11353 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11354 Define.
11355 (index_Fast_Copy_Backward): Define.
11356 (HAS_ARCH_FEATURE): Define.
11357 (HAS_FAST_REP_STRING): Define.
11358 (HAS_FAST_COPY_BACKWARD): Define.
11359
4e733bac 113602010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
11361
11362 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11363 Restore proper fallback handling.
11364
63c4ed22
UD
113652010-06-19 Ulrich Drepper <drepper@redhat.com>
11366
ac2b484c
UD
11367 [BZ #11701]
11368 * posix/group_member.c (__group_member): Correct checking loop.
11369
63c4ed22
UD
11370 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11371 OOM in getpwuid_r correctly. Return error number when the caller
11372 should return, otherwise -1.
11373 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11374 call returning > 0 value.
11375 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11376
765ade4b
AS
113772010-06-07 Andreas Schwab <schwab@redhat.com>
11378
11379 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11380 libc_nonshared.a from targets in modules-names.
11381
80da2e09
KS
113822010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11383
11384 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11385 requires it.
11386
158db122
LM
113872010-06-10 Luis Machado <luisgpm@br.ibm.com>
11388
11389 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11390 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11391 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11392 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11393
caa78cf8
AS
113942010-06-02 Andreas Schwab <schwab@redhat.com>
11395
11396 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11397
b2ef2c01
UD
113982010-06-14 Ulrich Drepper <drepper@redhat.com>
11399
11400 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11401 and F_GETPIPE_SZ.
11402 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11403 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11404 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11405 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11406 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11407 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11408
fbd643b6
RM
114092010-06-14 Roland McGrath <roland@redhat.com>
11410
11411 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11412
f32f2869
JJ
114132010-06-07 Jakub Jelinek <jakub@redhat.com>
11414
11415 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11416 __REDIRECT followed by __THROW.
11417 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11418 * posix/getopt.h (getopt): Likewise.
11419
2a50c078
EPM
114202010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11421
11422 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11423 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11424 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11425 in AT_FLAGS.
11426 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11427 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11428
eb5ad2eb
LM
114292010-05-28 Luis Machado <luisgpm@br.ibm.com>
11430
11431 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11432
3c88fe1e
L
114332010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11434
11435 [BZ #11640]
11436 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11437 Properly check family and model.
11438
d2f73151
TY
114392010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11440
11441 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11442
ebd2e13d
LM
114432010-05-24 Luis Machado <luisgpm@br.ibm.com>
11444
11445 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11446
b32b8b45
UD
114472010-05-21 Ulrich Drepper <drepper@redhat.com>
11448
11449 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11450 symbol reference.
11451
9acbe24d
AS
114522010-05-19 Andreas Schwab <schwab@redhat.com>
11453
11454 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11455 symbol reference.
11456
f0ccf6ea
AS
114572010-05-21 Andreas Schwab <schwab@redhat.com>
11458
3d04ff3a
AS
11459 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11460 and internal_recvmmsg.
11461 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11462 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11463 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11464 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11465
f0ccf6ea
AS
11466 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11467 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11468 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11469
5b08ac57
AS
114702010-05-20 Andreas Schwab <schwab@redhat.com>
11471
11472 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11473
4828935d
LM
114742010-05-17 Luis Machado <luisgpm@br.ibm.com>
11475
11476 POWER7 optimizations.
11477 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11478 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11479
373d545e
UD
114802010-05-19 Ulrich Drepper <drepper@redhat.com>
11481
11482 * version.h: Update for 2.13 development version.
11483
21a2b1ae
AS
114842010-05-12 Andrew Stubbs <ams@codesourcery.com>
11485
11486 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11487 exceptions. Return 0.
11488
3f7dcb2b
RM
114892010-05-07 Roland McGrath <roland@redhat.com>
11490
11491 * elf/ldconfig.c (main): Add a const.
11492
5f24d53a 114932010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 11494
a160f8d8
UD
11495 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11496 (args_options): Add no-idn option.
11497 (ahosts_keys_int): Add idn_flags to ai_flags.
11498 (parse_option): Handle 'i' option to clear idn_flags.
11499
5f24d53a
UD
11500 * malloc/malloc.c (_int_free): Possible race in the most recently
11501 added check. Only act on the data if no current modification
11502 happened.
265bb1ce
UD
11503
11504See ChangeLog.17 for earlier changes.