]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
New ld.so argument --inhibit-ldcache to disable ld.so.cache lookup
[thirdparty/glibc.git] / ChangeLog
CommitLineData
73d65cc3
SP
12012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 * elf/dl-support.c (_dl_inhibit_cache): New variable.
4 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
5 (dl_main): Handle --inhibit-cache.
6 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7 _dl_inhibit_cache.
8 * elf/dl-load.c (_dl_map_object): Use it.
9 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
10
bcc8d661
JM
112012-04-09 Joseph Myers <joseph@codesourcery.com>
12
8f9a2fae
JM
13 [BZ #13872]
14 * sysdeps/i386/fpu/e_powl.S (p78): New object.
15 (__ieee754_powl): Saturate large exponents rather than testing for
16 overflow of y*log2(x).
17 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18 * math/libm-test.inc (pow_test): Do not permit spurious overflow
19 exceptions.
20
bcc8d661
JM
21 [BZ #11521]
22 * math/s_ctan.c: Include <float.h>.
23 (__ctan): Avoid internal overflow or cancellation in calculating
24 denominator.
25 * math/s_ctanf.c: Likewise.
26 * math/s_ctanl.c: Likewise.
27 * math/s_ctanh.c: Likewise.
28 * math/s_ctanhf.c: Likewise.
29 * math/s_ctanhl.c: Likewise.
30 * math/libm-test.inc (ctan_test): Add more tests.
31 (ctanh_test): Likewise.
32 * sysdeps/i386/fpu/libm-test-ulps: Update.
33 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34
823fbbb4
AJ
352012-04-09 Andreas Jaeger <aj@suse.de>
36
03879793
AJ
37 [BZ #6894]
38 * manual/filesys.texi (Directory Entries): Mention that d_namlen
39 is an optional BSD extension.
40
823fbbb4
AJ
41 [BZ #10254]
42 * manual/stdio.texi (Opening Streams): Document additional fopen
43 parameters.
44
8de131cb
RM
452012-04-09 Roland McGrath <roland@hack.frob.com>
46
47 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
48 %eax without telling the compiler.
49
c0ed9d7d
CD
502012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
51
52 [BZ # 13963]
53 * manual/install.texi: Use sourceware.org.
54
c483f6b4
JM
552012-04-09 Joseph Myers <joseph@codesourcery.com>
56
d7dd9453
JM
57 [BZ #13873]
58 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
59 (__ieee754_pow): Generate overflow and underflow using huge*huge
60 and tiny*tiny rather than just returning constant infinity or zero
61 for large exponents.
62 * math/libm-test.inc (pow_test): Require overflow exceptions for
63 applicable cases of large exponents.
64
c483f6b4
JM
65 [BZ #706]
66 * sysdeps/i386/fpu/e_pow.S (p10): New object.
67 (__ieee754_pow): Use iterative multiplication algorithm only for
68 integer exponents with absolute value below 1024. Check for odd
69 integer exponents when using algorithm for real exponents.
70 * math/libm-test.inc (pow_test): Add more tests.
71 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72
d2de7579
JM
732012-04-08 Joseph Myers <joseph@codesourcery.com>
74
75 [BZ #13705]
76 * math/libm-test.inc (exp_test): Do not allow overflow exception
77 on underflow test.
78
f77f1232
AJ
792012-04-08 Aurelien Jarno <aurelien@aurel32.net>
80
81 [BZ #13705]
82 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
83 instead of __kernel_standard_f.
84
3884932b
MF
852012-04-08 Mike Frysinger <vapier@gentoo.org>
86
87 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
88 * sysdeps/x86_64/memset_chk.S: Likewise.
89
54472e9c
AJ
902012-04-08 Andreas Jaeger <aj@suse.de>
91
6ab0fbfc
AJ
92 [BZ #10153]
93 * manual/startup.texi (Environment Access): Describe return value
94 for putenv and setenv.
95
61efba8c
AJ
96 [BZ #6895]
97 * manual/filesys.texi (Directory Entries): Add description for
98 DT_LNK.
99
95c3f29a
AJ
100 [BZ #6890]
101 * manual/filesys.texi (Directory Entries): Clarify that it's file
102 system not operating system in the description of DT_UNKNOWN.
103
54472e9c
AJ
104 [BZ #6578]
105 * manual/syslog.texi (closelog): Fix reference, it's openlog.
106
624254b1
SC
1072012-04-08 Stephen Compall <s11@member.fsf.org>
108
109 [BZ #6649]
110 * manual/llio.texi (Opening and Closing Files): Add cross
111 reference to explain mode argument.
112
1e4920e0
MF
1132012-04-07 Mike Frysinger <vapier@gentoo.org>
114
115 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
116 * sysdeps/x86_64/memset_chk.S: Likewise.
117
5ed848f3
DM
1182012-04-07 David S. Miller <davem@davemloft.net>
119
120 * elf/elf.h (R_SPARC_WDISP10): Define.
121 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
122 R_SPARC_SIZE32.
123 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
124 R_SPARC_SIZE64 and R_SPARC_H34.
125
96154cd8
CD
1262012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
127
128 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
129 conditions and remove no longer applicable assertion.
130
9904dc47
L
1312012-04-06 H.J. Lu <hongjiu.lu@intel.com>
132
133 * bits/byteswap.h: Include <features.h>.
134 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
135 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
136
f8887d0a
L
1372012-04-06 H.J. Lu <hongjiu.lu@intel.com>
138
139 * bits/byteswap.h (__bswap_16): Removed.
140 Include <bits/byteswap-16.h> to get __bswap_16.
141 * sysdeps/i386/bits/byteswap.h: Likewise.
142 * sysdeps/s390/bits/byteswap.h: Likewise.
143 * sysdeps/x86_64/bits/byteswap.h: Likewise.
144 * bits/byteswap-16.h: New file.
145 * sysdeps/i386/bits/byteswap-16.h: Likewise.
146 * sysdeps/s390/bits/byteswap-16.h: Likewise.
147 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
148 * string/Makefile (headers): Add bits/byteswap-16.h.
149
62470f60
PP
1502012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
151
152 [BZ #13895]
153 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
154 extra indirection.
155 * nss/Makefile (tests-static, tests): Add tst-nss-static.
156 * nss/tst-nss-static.c: New.
157
4dad7bab
RM
1582012-04-06 Robert Millan <rmh@gnu.org>
159
160 [BZ #6486]
161 * manual/llio.texi (File Position Primitive): lseek
162 refers to WHENCE when it really means OFFSET.
163
e9142a17
AJ
1642012-04-06 Andreas Jaeger <aj@suse.de>
165
2c040eff
AJ
166 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
167 strncmp declarations.
168
e9142a17
AJ
169 * abilist/libc.abilist: Add __poll and __ppoll.
170
ff9f1c5f
DM
1712012-04-05 David S. Miller <davem@davemloft.net>
172
dcd2ae90
DM
173 * scripts/check-local-headers.sh: Accept a host triplet in the
174 path matched by the exclude regexp.
175
993eb054
DM
176 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
177 definition.
178 * sysdeps/powerpc/powerpc32/dl-machine.h
179 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
180 * sysdeps/s390/s390-32/dl-machine.h
181 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
182 * sysdeps/sparc/sparc32/dl-machine.h
183 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
184 * sysdeps/sparc/sparc64/dl-machine.h
185 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
186
ff9f1c5f
DM
187 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
188 lazy binding.
48e2e132 189 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
190 undefined symbol errors.
191
48e2e132 192 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
193 DT_NEEDED entries.
194
e80d6f94
MM
1952012-04-05 Michael Matz <matz@suse.de>
196
197 [BZ #13592]
198 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
199
349fa79f
AJ
2002012-04-05 Andreas Jaeger <aj@suse.de>
201
202 [BZ #13908]
203 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
204 comment.
205
f402708f
KK
2062012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
207
208 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
209 which ROUND is no valid rounding mode.
210
2ecccfc9
KK
2112012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
212
213 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
214 read again.
215 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
216
8a53f50f
KK
2172012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
218
219 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
220 an exception using FPU order intentionally.
221
2222012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
223
224 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
225 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
226 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
227 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
228
d653abb7
SJ
2292012-04-05 Simon Josefsson <simon@josefsson.org>
230
231 [BZ #12340]
232 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
233 EINVAL when BUFLEN is too smal.
234
c3b1bf7d
TS
2352012-04-05 Thomas Schwinge <thomas@codesourcery.com>
236
237 [BZ #13553]
238 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
239 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
240
b1aa60f3
AJ
2412012-04-03 Andreas Jaeger <aj@suse.de>
242
c3b1bf7d 243 [BZ #13938]
67f60a26
AJ
244 * manual/setjmp.texi (System V contexts): Fix sentence.
245
b1aa60f3
AJ
246 [BZ #13926]
247 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
248 New macro for this case.
249 [!__GNUC__] (__bswap_64): New inline function for this case.
250 * sysdeps/x86_64/bits/byteswap.h: Likewise.
251 * bits/byteswap.h: Likewise.
252 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
253 ull, guard with __GLIBC_HAVE_LONG_LONG.
254
255 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
256 __GLIBC_HAVE_LONG_LONG.
257
258 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
259 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
260
39c59c35
TMQMF
2612012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
262
263 [BZ #13691]
264 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
265 inptr and inend, rather than using last_ch.
266
135ffda8
DM
2672012-04-02 David S. Miller <davem@davemloft.net>
268
269 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
270 * stdio-common/printf-parse.h (read_int): Change return type to
271 'int', return -1 on INT_MAX overflow.
272 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
273 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
274 overflows INT_MAX. Check for overflow of in-format-string precision
275 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
276 SIZE_MAX not INT_MAX for integer overflow test.
277 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
278 skip the construct in the format string but do not record anything.
279 * stdio-common/bug22.c: Adjust to test both width/prevision
280 INT_MAX overflow as well as total length INT_MAX overflow. Check
281 explicitly for proper errno values.
282
228c019e
TS
2832012-04-02 Thomas Schwinge <thomas@codesourcery.com>
284
302cadd3
TS
285 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
286 CHAR_MAX.
287 * string/test-strcmp.c [! WIDE]: Likewise.
288 * time/tst-mktime2.c: Likewise for INT_MAX.
289 * string/test-string.h: #include <sys/param.h> for MIN.
290
228c019e
TS
291 * csu/init-first.c (__libc_init_first): Call __ctype_init.
292 * sysdeps/i386/init-first.c (init): Likewise.
293 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
294 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
295 * sysdeps/sh/init-first.c (init): Likewise.
296
cfa633f5
UD
2972012-04-01 Ulrich Drepper <drepper@gmail.com>
298
299 * po/ru.po: Update from translation team.
d1635ef8 300 * po/vi.po: Likewise.
cfa633f5 301
6cd0a5ea
SP
3022012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
303
304 * resolv/nss_dns/dns-host.c: Merge copyright years.
305
4b43400f
LD
3062012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
307
308 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
309 Optimize memcpy with prefetch if
310 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
311 src, dst pointers have unequal 16 byte alignments.
312
48c41d04
SP
3132012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
314
315 [BZ #13928]
316 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
317 from a CNAME entry and return the minimum ttl for the query.
318 (gaih_getanswer_slice): Likewise.
319
b8dc394d
JL
3202012-03-30 Jeff Law <law@redhat.com>
321
322 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
323 due to long keys.
324 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
325 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
326
2f5a5ed0
JL
327 * resolv/nss_dns/dns-host.c: Update copyright year.
328
1d39e359
UD
3292012-03-30 Ulrich Drepper <drepper@gmail.com>
330
c030f70c 331 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 332 requests to save a system call. Fix check that all bytes are sent.
c030f70c 333
1d39e359
UD
334 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
335 comments for sendmmsg.
336
3372012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
338
339 [BZ #13691]
340 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
341 with only 1 character between 0x0041 and 0x01b0.
342 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
343 * wcsmbs/tst-mbsnrtowcs.c: New file.
344
20fde227
DM
3452012-03-29 David S. Miller <davem@davemloft.net>
346
347 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
348 small copies by hand.
349
984a4237
JL
3502012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
351
352 [BZ #13761]
353 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
354 _nss_compat_initgroups_dyn): Fall back to malloc/free
355 for large group memberships.
356
18c9d62b
DM
3572012-03-28 David S. Miller <davem@davemloft.net>
358
88d85d4f
DM
359 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
360 that branches into memcpy.
361 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
362 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
363 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
364 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
365 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
366 bits.
367 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
368 implementation too.
369 * sysdeps/sparc/mempcpy.S: New file.
370
e5aa83e1
DM
371 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
372 the IFUNC routine in the libc case.
373 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
374
88570753
DM
375 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
376 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
377 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
378 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
379 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
380 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
381 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
382 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
383
249d7567
DM
384 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
385 loop to 256 bytes instead of 64 bytes and fix test signedness.
386
18c9d62b
DM
387 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
388 * sysdeps/sparc/sparc32/Makefile: rather than here...
389 * sysdeps/sparc/sparc64/Makefile: and here.
390
05f3d1f6
UD
3912012-03-28 Ulrich Drepper <drepper@gmail.com>
392
393 * malloc/mallocbug.c: Avoid warnings about unused variables.
394
86ae07a8
JL
3952012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
396
397 [BZ #13760]
398 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
399 in the right place. Discard and retry query if response is
400 larger than input buffer size.
401
41bf21a1
JM
4022012-03-28 Joseph Myers <joseph@codesourcery.com>
403
d6270972
JM
404 [BZ #369]
405 [BZ #2678]
406 [BZ #3866]
407 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
408 x for large integer exponent.
409 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
410 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
411 sign of result as needed afterwards.
412 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
413 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
414 result for underflowing pow the same as for overflow.
415 (__kernel_standard_l): Handle powl overflow and underflow here
416 rather than calling __kernel_standard.
417 * math/libm-test.inc (pow_test): Add more tests.
418
414fca03 419 [BZ #3868]
41bf21a1
JM
420 [BZ #13879]
421 [BZ #13910]
422 [BZ #13911]
423 [BZ #13912]
424 [BZ #13913]
425 [BZ #13915]
426 [BZ #13916]
427 [BZ #13917]
428 [BZ #13918]
429 [BZ #13919]
430 [BZ #13920]
431 [BZ #13921]
432 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
433 * sysdeps/ieee754/k_standard.c: Include <float.h>.
434 (__kernel_standard_l): New function.
435 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
436 __kernel_standard.
437 * math/w_acosl.c (__acosl): Likewise.
438 * math/w_asinl.c (__asinl): Likewise.
439 * math/w_atan2l.c (__atan2l): Likewise.
440 * math/w_atanhl.c (__atanhl): Likewise.
441 * math/w_coshl.c (__coshl): Likewise.
442 * math/w_exp10l.c (__exp10l): Likewise.
443 * math/w_exp2l.c (__exp2l): Likewise.
444 * math/w_fmodl.c (__fmodl): Likewise.
445 * math/w_hypotl.c (__hypotl): Likewise.
446 * math/w_j0l.c (__j0l, __y0l): Likewise.
447 * math/w_j1l.c (__j1l, __y1l): Likewise.
448 * math/w_jnl.c (__jnl, __ynl): Likewise.
449 * math/w_lgammal.c (__lgammal): Likewise.
450 * math/w_log10l.c (__log10l): Likewise.
451 * math/w_log2l.c (__log2l): Likewise.
452 * math/w_logl.c (__logl): Likewise.
453 * math/w_powl.c (__powl): Likewise.
454 * math/w_remainderl.c (__remainderl): Likewise.
455 * math/w_scalbl.c (sysv_scalbl): Likewise.
456 * math/w_sinhl.c (__sinhl): Likewise.
457 * math/w_sqrtl.c (__sqrtl): Likewise.
458 * math/w_tgammal.c (__tgammal): Likewise.
459 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
460 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
461 * math/libm-test.inc (acos_test): Add more tests.
462 (acosh_test): Likewise.
463 (asin_test): Likewise.
464 (atanh_test): Likewise.
465 (exp_test): Likewise.
466 (exp10_test): Likewise.
467 (exp2_test): Likewise.
468 (expm1_test): Likewise.
469 (lgamma_test): Likewise.
470 (log_test): Likewise.
471 (log10_test): Likewise.
472 (log1p_test): Likewise.
473 (log2_test): Likewise.
474 (pow_test): Do not allow some spurious overflow exceptions.
475 (sqrt_test): Add more tests.
476 (tgamma_test): Likewise.
477 (y0_test): Likewise.
478 (y1_test): Likewise.
479 (yn_test): Likewise.
480
dd62fda6
AB
4812012-03-27 Anton Blanchard <anton@samba.org>
482
483 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
484 MAP_HUGETLB.
485 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
486 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
487 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
488
1e3cdfda
AJ
4892012-03-27 David S. Miller <davem@davemloft.net>
490
b855ab85
DM
491 * conform/Makefile: Run run-conformtest.sh using $(BASH).
492
1e3cdfda
AJ
493 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
494 have-as-vis3 check.
495
4962012-03-27 Andreas Jaeger <aj@suse.de>
497
498 * sysdeps/x86_64/elf/configure.in: Moved to ...
499 * sysdeps/x86_64/configure.in: ... here.
500 * sysdeps/x86_64/elf/start.S: Moved to ...
501 * sysdeps/x86_64/start.S: ... here.
502 * sysdeps/x86_64/elf/configure: Delete.
503
504 * sysdeps/x86_64/configure.in: Merge contents from
505 sysdeps/i386/configure.in (without i686 check).
506
507 * sysdeps/i386/elf/Versions: Merge into ...
508 * sysdeps/i386/Versions: ... this.
509 * sysdeps/i386/elf/Versions: Delete file.
510 * sysdeps/i386/elf/start.S: Moved to ...
511 * sysdeps/i386/start.S: ...here.
512 * sysdeps/i386/elf/configure.in: Merge into...
513 * sysdeps/i386/configure.in: ...here.
514 * sysdeps/i386/elf/configure.in: Delete file.
515 * sysdeps/i386/elf/configure: Delete file.
516
517 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
518 * debug/backtracesyms.c: ... here.
519 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
520 * debug/backtracesymsfd.c: ... here.
521 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
522 * sysdeps/generic/ifunc-sel.h: ... here.
523
524 * sysdeps/unix/i386/start.c: Delete file.
525 * sysdeps/unix/sparc/start.c: Delete file.
526 * sysdeps/unix/start.c: Delete file.
527
528 * sysdeps/sh/elf/configure.in: Moved to ...
529 * sysdeps/sh/configure.in: ... here.
530 * sysdeps/sh/elf/start.S: Moved to ...
531 * sysdeps/sh/start.S: ... here.
532 * sysdeps/sh/elf/configure: Delete file.
533
534 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
535 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
536 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
537 * sysdeps/powerpc/powerpc64/entry.h: ... here.
538 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
539 * sysdeps/powerpc/powerpc64/start.S: here.
540 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
541 * sysdeps/powerpc/powerpc64/Makefile: ... this.
542 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
543 * sysdeps/powerpc/powerpc64/configure.in: ... this.
544 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
545
546 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
547 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
548 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
549 * sysdeps/powerpc/powerpc32/start.S: ... here.
550 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
551 * sysdeps/powerpc/powerpc32/configure.in: ... this.
552 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
553
554 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
555 * sysdeps/powerpc/ifunc-sel.h: ... here.
556 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
557 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
558
559 * sysdeps/sparc/elf/configure.in: Moved to ...
560 * sysdeps/sparc/configure.in: ... here.
561 * sysdeps/sparc/elf/configure: Delete file.
562 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
563 * sysdeps/sparc/sparc32/start.S: ... here.
564 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
565 * sysdeps/sparc/sparc64/start.S: ... here.
566 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
567 * sysdeps/sparc/sparc32/Makefile: ... this.
568 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
569 * sysdeps/sparc/sparc64/Makefile: ... this.
570
571 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
572 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
573 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
574 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
575 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
576 * sysdeps/s390/s390-32/setjmp.S: ... here.
577 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
578 * sysdeps/s390/s390-32/configure.in: ... here.
579 * sysdeps/s390/s390-32/elf/configure: Delete file.
580 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
581 * sysdeps/s390/s390-32/start.S: ... here.
582
583 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
584 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
585 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
586 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
587 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
588 * sysdeps/s390/s390-64/setjmp.S: ... here.
589 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
590 * sysdeps/s390/s390-64/configure.in: ... here
591 * sysdeps/s390/s390-64/elf/configure: Delete file.
592 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
593 * sysdeps/s390/s390-64/start.S: ... here.
594 * sysdeps/s390/s390-64/elf/configure: Delete.
595
596 * configure.in: Remove support for elf directories in sysdeps.
597
598 * configure: Regenerated.
599 * sysdeps/i386/configure: Regenerated.
600 * sysdeps/powerpc/powerpc32/configure: Regenerated.
601 * sysdeps/powerpc/powerpc64/configure: Regenerated.
602 * sysdeps/s390/s390-32/configure: Regenerated.
603 * sysdeps/s390/s390-64/configure: Regenerated.
604 * sysdeps/sh/configure: Regenerated.
605 * sysdeps/sparc/configure: Regenerated.
606 * sysdeps/x86_64/configure: Regenerated.
607
a3f61311
AS
6082012-03-26 Andreas Schwab <schwab@linux-m68k.org>
609
c876e002
AS
610 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
611
a3f61311
AS
612 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
613 denormal result into account.
614
ac4c54f0
RM
6152012-03-25 Roland McGrath <roland@hack.frob.com>
616
617 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
618 Reported by Allan McRae <allan@archlinux.org>.
619
6a9b9c02
JL
6202012-03-23 Jeff Law <law@redhat.com>
621
622 * nss/getnssent.c (__nss_getent): Fix typo.
623
4c42a0c1
DM
6242012-03-23 David S. Miller <davem@davemloft.net>
625
626 * sysdeps/sparc/fpu/libm-test-ulps: Update.
627
1532c7ac
L
6282012-03-23 H.J. Lu <hongjiu.lu@intel.com>
629
630 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
631 to pad to uint64_t for each field.
632 (dl_tls_index): Replace unsigned long with uint64_t.
633
3ff42526
PP
6342012-03-23 Daniel Jacobowitz <dmj@google.com>
635 Paul Pluzhnikov <ppluzhnikov@google.com>
636
637 [BZ #6528]
638 * grp/Makefile (otherlibs): Don't set it.
639 * inet/Makefile (otherlibs): Likewise.
640 * login/Makefile (otherlibs): Likewise.
641 * nscd/Makefile (otherlibs): Likewise.
642 * posix/Makefile (otherlibs): Likewise.
643 * pwd/Makefile (otherlibs): Likewise.
644 * rt/Makefile (otherlibs): Likewise.
645 * sunrpc/Makefile (otherlibs): Likewise.
646 * nss/Makefile (otherlibs): Likewise.
647 Add libnss_files to routines and static-only-routines.
648 ($(objpfx)getent): Remove rule.
649 * resolv/Makefile: Add libnss_dns and libresolv to routines and
650 static-only-routines.
651
7c69cd14
JM
6522012-03-22 Joseph Myers <joseph@codesourcery.com>
653
654 [BZ #13892]
655 * math/s_cexp.c: Include <float.h>.
656 (__cexp): Handle exp result overflowing not necessarily
657 overflowing both real and imaginary parts of result.
658 * math/s_cexpf.c: Likewise.
659 * math/s_cexpl.c: Likewise.
660 * math/libm-test.inc (cexp_test): Add more tests.
661 * sysdeps/i386/fpu/libm-test-ulps: Update.
662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
663
81b035fe
L
6642012-03-22 H.J. Lu <hongjiu.lu@intel.com>
665
666 * include/link.h (ELFW): New macro.
667 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
668 Replace ELF64_R_TYPE with ELFW(R_TYPE).
669
1da7940c
L
6702012-03-22 H.J. Lu <hongjiu.lu@intel.com>
671
672 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
673 with uint64_t.
674
b749dbb9
L
6752012-03-22 H.J. Lu <hongjiu.lu@intel.com>
676
677 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
678 declaration.
679 (struct La_x32_retval): Likewise.
680
2ff87f3f
L
6812012-03-22 H.J. Lu <hongjiu.lu@intel.com>
682
683 * sysdeps/x86_64/preconfigure.in: New file.
684 * sysdeps/x86_64/preconfigure: New generated file.
685
c0df8e69
JM
6862012-03-22 Joseph Myers <joseph@codesourcery.com>
687
48e44791
JM
688 [BZ #13824]
689 * math/e_exp2l.c: Include <float.h>.
690 (__ieee754_exp2l): Handle overflow and underflow cases
691 separately. Only pass fractional part of argument to
692 __ieee754_expl.
693 * math/libm-test.inc (exp2_test): Add more tests.
694
c0df8e69
JM
695 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
696 negating x to take absolute value.
697 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
698 Likewise.
699 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
700 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
701 Likewise.
702 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
703 computing low part if x was negated.
704 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
705
c8e43ba7
L
7062012-03-21 H.J. Lu <hongjiu.lu@intel.com>
707
708 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
709 la_x32_gnu_pltexit.
710 (pltexit): Cast int_retval to ptrdiff_t.
711 * elf/tst-auditmod3b.c: Likewise.
712 * elf/tst-auditmod4b.c: Likewise.
713 * elf/tst-auditmod5b.c: Likewise.
714 * elf/tst-auditmod6b.c: Likewise.
715 * elf/tst-auditmod6c.c: Likewise.
716 * elf/tst-auditmod7b.c: Likewise.
717
718 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
719 and x32_gnu_pltexit.
720
721 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
722 __ELF_NATIVE_CLASS.
723 (La_x32_regs): New macro.
724 (La_x32_retval): Likewise.
725 (la_x32_gnu_pltenter): New function prototype.
726 (la_x32_gnu_pltexit): Likewise.
727
7998fa78
AS
7282012-03-21 Andreas Schwab <schwab@linux-m68k.org>
729
dcb33988
AS
730 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
731 exponent.
732
233fc563
AS
733 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
734
7998fa78
AS
735 * configure.in (libc_cv_cc_nofma): Check for option to disable
736 generation of FMA instructions.
737 * configure: Regenerate.
738 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
739 * sysdeps/ieee754/dbl-64/Makefile: New file.
740 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
741 Remove brandred-fma4.
742 (CFLAGS-brandred-fma4.c): Remove.
743 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
744 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
745 define.
746 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
747 define.
748
8e95c99a
L
7492012-03-21 H.J. Lu <hongjiu.lu@intel.com>
750
751 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
752 LLONG_MAX != LONG_MAX.
753 (_itoa_word): Use _ITOA_WORD_TYPE on value.
754 (_fitoa_word): Likewise.
755 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
756 LLONG_MAX != LONG_MAX.
757 * stdio-common/_itowa.h: Include <_itoa.h>.
758 (_itowa_word): Use _ITOA_WORD_TYPE on value.
759 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
760 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
761 only if not defined.
762 (_ITOA_WORD_TYPE): Likewise.
763 (_itoa_word): Use _ITOA_WORD_TYPE on value.
764 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
765
6f4db457
DM
7662012-03-21 David S. Miller <davem@davemloft.net>
767
768 * sysdeps/sparc/fpu/libm-test-ulps: Update.
769
7785fe5a
L
7702012-03-21 H.J. Lu <hongjiu.lu@intel.com>
771
772 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
773 of x86_64 when setting libc_cv_slibdir, libdir and
774 libc_cv_localedir.
775 * sysdeps/unix/sysv/linux/configure: Regenerated.
776
4535cd55
JM
7772012-03-21 Joseph Myers <joseph@codesourcery.com>
778
779 * manual/lang.texi (Old Varargs): Remove section.
780 (How Variadic): Update menu.
781 (va_start): Do not mention varargs.h.
782
17228132
TS
7832012-03-21 Thomas Schwinge <thomas@codesourcery.com>
784 Joseph Myers <joseph@codesourcery.com>
785
786 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
787 link test.
788 * configure: Regenerated.
789
8149f976
TS
7902012-03-21 Thomas Schwinge <thomas@codesourcery.com>
791
05f3d1f6
UD
792 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
793 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
794 conformtest.pl
8149f976 795
1a4ac776
JM
7962012-03-21 Joseph Myers <joseph@codesourcery.com>
797
be22ce65
JM
798 * NOTES: Remove.
799 * Makefile (files-for-dist): Remove NOTES.
800 (NOTES): Remove rule.
801 * README: Don't refer to NOTES.
802 * manual/creature.texi: Don't include macros.texi.
803 * manual/intro.texi (creature.texi): Remove comment referring to
804 NOTES.
805
40b601fb
JM
806 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
807 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
808 * configure: Regenerated.
809 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
810 LIBC_TRY_CC_OPTION.
811 (libc_cv_as_i686): Likewise.
812 (libc_cv_cc_avx): Likewise.
813 (libc_cv_cc_sse2avx): Likewise.
814 (libc_cv_cc_fma4): Likewise.
815 (libc_cv_cc_novzeroupper): Likewise.
816 * sysdeps/i386/configure: Regenerated.
817
1a4ac776
JM
818 [BZ #13883]
819 * sysdeps/i386/fpu/s_cexp.S: Remove.
820 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
821 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
822 * math/libm-test.inc (cexp_test): Add more tests.
823 * sysdeps/i386/fpu/libm-test-ulps: Update.
824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
825
a458e7fe
AM
8262012-03-21 Allan McRae <allan@archlinux.org>
827
828 * timezone/Makefile: Do not install iso3166.tab and zone.tab
829
0cb7efc5
JM
8302012-03-21 Joseph Myers <joseph@codesourcery.com>
831
832 [BZ #13871]
833 * math/w_exp2.c: Do not include <float.h>.
834 (o_threshold, u_threshold): Remove.
835 (__exp2): Calculate result before checking finiteness and calling
836 __kernel_standard.
837 * math/w_exp2f.c: Likewise.
838 * math/w_exp2l.c: Likewise.
839 * math/libm-test.inc (exp2_test): Require overflow exception for
840 1e6 input.
2460d3aa
JM
841
842 [BZ #3866]
843 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
844 range of signed 64-bit integers before using fistpll. Remove
845 checks for whether integers fit in mantissa bits.
846 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
847 the range of signed 32-bit integers before using fistpl. Remove
848 checks for whether integers fit in mantissa bits.
849 * sysdeps/i386/fpu/e_powl.S (p64): New object.
850 (__ieee754_powl): Test for y outside the range of signed 64-bit
851 integers before using fistpll. Reduce 64-bit values to 63-bit
852 ones as needed.
853 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
854 divide-by-zero is raised for zero to large negative powers.
855 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
856 (__ieee754_powl): Test for y outside the range of signed 64-bit
857 integers before using fistpll. Reduce 64-bit values to 63-bit
858 ones as needed.
859 * math/libm-test.inc (pow_test): Add more tests.
860
eb96ffb0
L
8612012-03-20 H.J. Lu <hongjiu.lu@intel.com>
862
863 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
864 <stdio-common/_itoa.h>.
865 * debug/segfault.c: Likewise.
866 * elf/dl-cache.c: Likewise.
867 * elf/dl-minimal.c: Likewise.
868 * elf/dl-misc.c: Likewise.
869 * elf/dl-sysdep.c: Likewise.
870 * elf/dl-version.c: Likewise.
871 * elf/rtld.c: Likewise.
872 * hurd/hurdsock.c: Likewise.
873 * hurd/lookup-retry.c: Likewise.
874 * malloc/malloc.c: Likewise.
875 * malloc/mtrace.c: Likewise.
876 * nscd/nscd_getgr_r.c: Likewise.
877 * nscd/nscd_getpw_r.c: Likewise.
878 * nscd/nscd_getserv_r.c: Likewise.
879 * posix/getopt_init.c: Likewise.
880 * posix/wordexp.c: Likewise.
881 * stdio-common/_itoa.c: Likewise.
882 * stdio-common/printf_fphex.c: Likewise.
883 * stdio-common/vfprintf.c: Likewise.
884 * string/_strerror.c: Likewise.
885 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
886 * sysdeps/i386/i686/hp-timing.h: Likewise.
887 * sysdeps/mach/_strerror.c: Likewise.
888 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
889 * sysdeps/mach/hurd/sethostid.c: Likewise.
890 * sysdeps/mach/hurd/xmknodat.c: Likewise.
891 * sysdeps/mach/xpg-strerror.c: Likewise.
892 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
893 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
894 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
895 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
896 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
897 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
898 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
899 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
900 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
901 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
902 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
903 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
904 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
905 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
906 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
907 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
908 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
909 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
910 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
911 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
912 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
913
914 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
915
916 * stdio-common/_itoa.h: Moved to ...
917 * sysdeps/generic/_itoa.h: Here.
918
919 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
920
921 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
922 instead of "_itoa.h" and "_itowa.h".
923 * stdio-common/vfprintf.: Likewise.
924
d1af992d
L
9252012-03-20 H.J. Lu <hongjiu.lu@intel.com>
926
927 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
928 <bits/wordsize.h>.
929 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
930 (__signbit): Likwise.
931 (llrintf): Likwise.
932 (llrint): Likwise.
933
114883e0
L
9342012-03-20 H.J. Lu <hongjiu.lu@intel.com>
935
936 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
937 __WORDSIZE != 64.
938
c135cc1b
JM
9392012-03-20 Joseph Myers <joseph@codesourcery.com>
940
941 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
942 OVERFLOW_EXCEPTION_OK.
943 * math/libm-test.inc ("Philosophy"): Update comment about
944 exception testing.
945 (OVERFLOW_EXCEPTION): Define.
946 (OVERFLOW_EXCEPTION_OK): Likewise.
947 (INVALID_EXCEPTION_OK): Renumber.
948 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
949 (IGNORE_ZERO_INF_SIGN): Likewise.
950 (test_exceptions): Handle FE_OVERFLOW.
951 (exp10_test): Expect overflow exceptions.
952 (exp2_test): Likewise.
953 (expm1_test): Likewise.
954 (nextafter_test): Likewise.
955 (pow_test): Likewise.
956 (scalbn_test): Likewise.
957 (scalbln_test): Likewise.
958
95443d88
L
9592012-03-19 H.J. Lu <hongjiu.lu@intel.com>
960
961 * sysdeps/x86_64/bits/atomic.h
962 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
963 64bit integer.
964 (atomic_exchange_acq): Likewise.
965 (__arch_exchange_and_add_body): Likewise.
966 (__arch_add_body): Likewise.
967 (atomic_add_negative): Likewise.
968 (atomic_add_zero): Likewise.
969
490df6c4
L
9702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
971
c2722551 972 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
973 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
974
5e52b189
L
9752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
976
977 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
978 Check __x86_64__ instead of __WORDSIZE.
979
a9879d4c
L
9802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
981
982 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
983
5df98260
DM
9842012-03-19 David S. Miller <davem@davemloft.net>
985
e1497744
DM
986 * sysdeps/sparc/fpu/libm-test-ulps: Update.
987
5df98260
DM
988 * sysdeps/sparc/fpu/fenv_private.h: New file.
989 * sysdeps/sparc/fpu/math_private.h: Use it.
990 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
991 Remove.
992 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
993 (libc_feholdexcept_setroundl): Remove.
994 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
995 Remove.
996 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
997 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
998
b4c35121
L
9992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1000
1001 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1002 int64_t instead of long int.
1003 (INSERT_WORDS64): Likwise.
1004
56965fd7
L
10052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1006
1007 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1008 _Unwind_GetCFA return to _Unwind_Ptr first.
1009
83d1aec8
JM
10102012-03-19 Joseph Myers <joseph@codesourcery.com>
1011
1897ad44
JM
1012 [BZ #13629]
1013 * math/s_clog.c: Include <float.h>.
1014 (__clog): Scale large or subnormal inputs.
1015 * math/s_clogf.c: Likewise.
1016 * math/s_clogl.c: Likewise.
1017 * math/s_clog10.c: Include <float.h>.
1018 (M_LOG10_2): Define.
1019 (__clog10): Scale large or subnormal inputs.
1020 * math/s_clog10f.c: Likewise.
1021 * math/s_clog10l.c: Likewise.
1022 * math/libm-test.inc (clog_test): Add more tests.
1023 (clog10_test): Likewise.
1024 * sysdeps/i386/fpu/libm-test-ulps: Update.
1025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1026
7726d6a9
JM
1027 [BZ #11451]
1028 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1029 x and y.
1030 * math/libm-test.inc (atan2_test): Add another test.
1031
83d1aec8
JM
1032 * Makerules (common-objdir-compile): Remove.
1033 * sysdeps/unix/Makefile (config-generated): Do not add
1034 $(unix-generated) to variable.
1035 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1036 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1037 Remove rule.
1038 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1039 Likewise.
1040 [generic bits/local_lim.h] (before-compile): Do not append to
1041 variable.
1042 [generic bits/local_lim.h] (common-generated): Likewise.
1043 [generic sys/param.h] (before-compile): Do not append to variable.
1044 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1045 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1046 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1047 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1048 include.
1049 [generic sys/param.h] (sys/param.h-includes): Remove variable.
1050 [generic sys/param.h] (sys/param.h-includes): Remove rule.
1051 [generic sys/param.h] ($(addprefix
1052 $(common-objpfx),$(sys/param.h-includes))): Likewise.
1053 [generic sys/param.h] (common-generated): Do not append to
1054 variable.
1055 [generic sys/param.h] (sysdep_headers): Likewise.
1056 [generic bits/errno.h] (before-compile): Do not append to
1057 variable.
1058 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
1059 rule.
1060 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
1061 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
1062 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
1063 [generic bits/errno.h] (common-generated): Do not append to
1064 variable.
1065 [generic bits/ioctls.h] (before-compile): Do not append to
1066 variable.
1067 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
1068 rule.
1069 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
1070 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
1071 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
1072 rule.
1073 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
1074 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
1075 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
1076 [generic bits/ioctls.h] (common-generated): Do not append to
1077 variable.
1078 [generic sys/syscall.h] (syscall.h): Remove variable.
1079 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
1080 rule.
1081 [generic sys/syscall.h] (before-compile): Do not append to
1082 variable.
1083 [generic sys/syscall.h] (common-generated): Likewise.
1084 * sysdeps/unix/errnos-tmpl.c: Remove file.
1085 * sysdeps/unix/errnos.awk: Likewise.
1086 * sysdeps/unix/ioctls-tmpl.c: Likewise.
1087 * sysdeps/unix/ioctls.awk: Likewise.
1088 * sysdeps/unix/mk-local_lim.c: Likewise.
1089 * sysdeps/unix/snarf-ioctls: Likewise.
1090
4851a949
RH
10912012-03-19 Richard Henderson <rth@twiddle.net>
1092
bd37f2ee
RH
1093 * sysdeps/i386/fpu/fenv_private.h: New file.
1094 * sysdeps/i386/fpu/math_private.h: Use it.
1095 (math_opt_barrier, math_force_eval): Remove.
1096 (libc_feholdexcept_setround_53bit): Remove.
1097 (libc_feupdateenv_53bit): Remove.
1098 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1099 (math_opt_barrier, math_force_eval): Remove.
1100 (libc_feholdexcept): Remove.
1101 (libc_feholdexcept_setround): Remove.
1102 (libc_fetestexcept, libc_fesetenv): Remove.
1103 (libc_feupdateenv_test): Remove.
1104 (libc_feupdateenv, libc_feholdsetround): Remove.
1105 (libc_feresetround): Remove.
1106
d0adc922
RH
1107 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1108 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1109
0fe0f1f8
RH
1110 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1111 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1112 (libc_feupdateenv_testl): New.
1113 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1114 (libc_feupdateenv_testf): New.
1115 (libc_feupdateenv): Use libc_feupdateenv_test.
1116 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1117 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1118
eb92c487
RH
1119 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1120 (libc_feholdsetroundf, libc_feholdsetroundl): New.
1121 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1122 (libc_feresetround_noex): New.
1123 (libc_feresetround_noexf): New.
1124 (libc_feresetround_noexl): New.
1125 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1126 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1127 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1128 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1129 SET_RESTORE_ROUND.
1130 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1131 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1132 (__cos): Likewise.
1133 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1134 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1135 SET_RESTORE_ROUND_NOEX.
1136 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1137 SET_RESTORE_ROUND_NOEXF.
1138 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1139 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1140 (libc_feholdsetroundf): New.
1141 (libc_feresetround, libc_feresetroundf): New.
1142
7d2e8012
RH
1143 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1144 (libc_feholdexcept_setround_53bit): Convert from macro to function.
1145 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
1146
b4dabbb4
RH
1147 * sysdeps/generic/math_private.h: Include <fenv.h>.
1148 (default_libc_feholdexcept): New.
1149 (default_libc_feholdexcept_setround): New.
1150 (default_libc_fesetenv, default_libc_feupdateenv): New.
1151 (libc_feholdexcept): Only define if undefined.
1152 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1153 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1154 (libc_feholdexcept_setroundl): Likewise.
1155 (libc_feholdexcept_setround_53bit): Likewise.
1156 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1157 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1158 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1159 (libc_feupdateenv_53bit): Likewise.
1160 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1161 (libc_feholdexcept): Convert from macro to inline function.
1162 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1163 (libc_fesetenv, libc_feupdateenv): Likewise.
1164
4851a949
RH
1165 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1166 not previously defined.
1167 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1168 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1169 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1170 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1171 * sysdeps/ieee754/flt-32/math_private.h: New file.
1172 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1173 math_private.h below SET_FLOAT_WORD.
1174 (__isnan, __isinf_ns, __finite): Remove.
1175 (__isnanf, __isinf_nsf, __finitef): Remove.
1176
e79d442e
AS
11772012-03-18 Andreas Schwab <schwab@linux-m68k.org>
1178
1179 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1180
90b80344
DM
11812012-03-17 David S. Miller <davem@davemloft.net>
1182
1183 [BZ #6471]
1184 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1185 for 2.16.
1186
edc21804
DM
11872012-03-16 David S. Miller <davem@davemloft.net>
1188
77e927af
DM
1189 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1190 warnings.
1191
374976dd
DM
1192 [BZ #6471]
1193 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1194 properly.
1195 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1196 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1197 sysdep_routines when subdir is sysvipc.
1198 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1199 __getshmlba helper.
1200
edc21804
DM
1201 * sysdeps/sparc/fpu/libm-test/ulps: Update.
1202
473c3ef3
L
12032012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1204
1205 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1206 [__LP64__].
1207
eb0f39b6
L
12082012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1209
1210 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1211 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1212 (__lround): Renamed to ...
1213 (__llround): This. Replace long int with long long int.
1214 Define lround functions as aliases of llround functions.
1215 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1216
6b6cd74b
L
12172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1218
1219 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1220 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
1221 adresses to uintptr_t. Replace "long int" and "unsigned long
1222 int" with "greg_t" on va_arg.
1223
f1a77b01
L
12242012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1225
1226 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1227 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1228
1229 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1230 Move e_machine check before EI_CLASS check. Handle x32
1231 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1232 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1233 SKIP_EM_IA_64 and include
1234 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1235
1236 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1237 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1238 (add_system_dir): New macro.
1239
1240 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1241 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1242
11b90b9f
JM
12432012-03-16 Joseph Myers <joseph@codesourcery.com>
1244
c36e1d23
JM
1245 [BZ #2551]
1246 [BZ #2552]
1247 [BZ #2553]
1248 [BZ #2554]
1249 [BZ #2562]
1250 [BZ #2563]
1251 [BZ #2565]
1252 [BZ #2566]
1253 [BZ #2576]
1254 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1255 (y0): Likewise.
1256 * math/w_j0f.c (j0f): Likewise.
1257 (y0f): Likewise.
1258 * math/w_j0l.c (__j0l): Likewise.
1259 (__y0l): Likewise.
1260 * math/w_j1.c (j1): Likewise.
1261 (y1): Likewise.
1262 * math/w_j1f.c (j1f): Likewise.
1263 (y1f): Likewise.
1264 * math/w_j1l.c (__j1l): Likewise.
1265 (__y1l): Likewise.
1266 * math/w_jn.c (jn): Likewise.
1267 (yn): Likewise.
1268 * math/w_jnf.c (jnf): Likewise.
1269 (ynf): Likewise.
1270 * math/w_jnl.c (__jnl): Likewise.
1271 (__ynl): Likewise.
1272 * math/libm-test.inc (j0_test): Add more tests.
1273 (j1_test): Likewise.
1274 (jn_test): Likewise. Add trailing semicolon to existing test.
1275 (y0_test): Likewise.
1276 (y1_test): Likewise.
1277 * sysdeps/i386/fpu/libm-test-ulps: Update.
1278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1279
11b90b9f
JM
1280 [BZ #13851]
1281 [BZ #13854]
1282 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1283 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1284 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1285 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1286 (__tanl): Set errno for infinite argument.
1287 * sysdeps/i386/fpu/mptan.c: Remove.
1288 * sysdeps/i386/fpu/s_tan.S: Likewise.
1289 * sysdeps/i386/fpu/s_tanl.S: Likewise.
1290 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1291 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1292 * math/libm-test.inc (tan_test): Add more tests and enable more
1293 tests for double and long double.
1294 * sysdeps/i386/fpu/libm-test-ulps: Update.
1295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1296
6a1bd2a1
JK
12972012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1298
1299 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1300 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1301
10a803e0
RM
13022012-03-16 Roland McGrath <roland@hack.frob.com>
1303
1304 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1305 * configure.in: Use it for both main tree and add-ons.
1306 * configure: Regenerated.
1307
f196c7f7
L
13082012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1309
1310 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1311
8848d99d
JM
13122012-03-16 Joseph Myers <joseph@codesourcery.com>
1313
96cbe7f4
JM
1314 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1315 in comment.
1316
8848d99d
JM
1317 [BZ #13851]
1318 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1319 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1320 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1321 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1322 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1323 infinite argument.
1324 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1325 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1326 != 0 for prec == 2.
1327 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1328 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1329 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1330 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1331 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1332 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1333 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1334 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1335 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1336 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1337 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1338 * math/libm-test.inc (cos_test): Add more tests and enable more
1339 tests for long double.
1340 (sin_test): Likewise.
1341 (sincos_test): Likewise.
1342 * sysdeps/i386/fpu/libm-test-ulps: Update.
1343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1344
dd7f4703
DM
13452012-03-16 David S. Miller <davem@davemloft.net>
1346
1347 * sysdeps/sparc/fpu/math_private.h: New file.
1348
006f1daa
DM
13492012-03-15 David S. Miller <davem@davemloft.net>
1350
c0c83bc8
DM
1351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1352 file.
e6a62e18 1353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
1354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1355 file.
e6a62e18
DM
1356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1357 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1358 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1359 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1360 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1361 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1362 sysdep routines.
1363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1364
88cb87d9
DM
1365 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1366 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1367
006f1daa 1368 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
1369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1370 sparc-ifunc.h
006f1daa 1371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
1372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1373 Likewise.
1374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1375 Likewise.
006f1daa
DM
1376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
1379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1380 Likewise.
006f1daa
DM
1381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
1385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1386 Likewise.
1387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1388 Likewise.
006f1daa
DM
1389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1393 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1394 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1395 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1396 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1397 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1398 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1399 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1400 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1401 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1402 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1403 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1404 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1405 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1406 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1407 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1408 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1409 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1410 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1411 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1412 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1413
11e0098e
AS
14142012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1415
1416 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1417 scaling.
1418 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1419
e85b09d0
AJ
14202012-03-15 Andreas Jaeger <aj@suse.de>
1421
1422 [BZ #13852]
1423 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1424 ieee754/flt-32 implementation for sin, cos and sincos.
1425 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1426 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1427 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1428 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1429 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1430 ieee754/flt-32 implementation for tan.
1431
1432 * math/libm-test.inc (cos_test): Enable some large input tests for
1433 float as well
1434 (sin_test): Likewise.
1435 (sincos_test): Likewise.
1436 (tan_test): Add tests for large input.
1437
1438 * sysdeps/i386/fpu/libm-test-ulps: Update.
1439
81c64153
AJ
14402012-03-15 Andreas Jaeger <aj@suse.de>
1441
1442 [BZ #13658]
1443 * math/libm-test.inc (cos_test): Add more test cases.
1444 (sin_test): Likewise.
1445 (sincos_test): Likewise.
1446
7bbfa5c6
AJ
14472012-03-15 Andreas Jaeger <aj@suse.de>
1448
1449 [BZ #13837]
1450 * math/libm-test.inc (cos_test): Add a test case for large input
1451 value.
1452 (sin_test): Likewise.
1453 (sincos_test): Likewise.
1454
14552012-03-15 Andreas Jaeger <aj@suse.de>,
1456 Joseph Myers <joseph@codesourcery.com>
1457
1458 [BZ #13658]
0671f479 1459 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
1460 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1461 * sysdeps/i386/fpu/branred.c: Likewise.
1462 * sysdeps/i386/fpu/dosincos.c: Likewise.
1463 * sysdeps/i386/fpu/mpa.c: Likewise.
1464 * sysdeps/i386/fpu/s_cos.S: Likewise.
1465 * sysdeps/i386/fpu/s_sin.S: Likewise.
1466 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1467 * sysdeps/i386/fpu/sincos32.c: Likewise.
1468
1469 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1470 Define.
1471 (libc_feupdateenv_53bit): Define.
1472 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1473 Define.
1474 (libc_feupdateenv_53bit): Define.
1475
1476 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1477 53 bit (without extend i386 double precision).
1478
1479 * math/libm-test.inc (sincos_test): Add tests for large input.
1480 (sin): Likewise.
1481 (cos): Likewise.
1482
1483 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1484
9cad04ea
AS
14852012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1486
1487 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1488
f7062b9a
DM
14892012-03-15 David S. Miller <davem@davemloft.net>
1490
1491 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1492 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1493 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1494 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1499 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1500 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1501 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1502 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1503 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1504 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1505 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
1506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1507 file.
f7062b9a 1508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
1509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1510 file.
f7062b9a 1511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
1512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1513 file.
f7062b9a 1514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
1515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1516 file.
f7062b9a
DM
1517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1518 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1519 fmin/fmax sysdep routines.
1520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1521
7bd951ff
DM
15222012-03-14 David S. Miller <davem@davemloft.net>
1523
559398ab
DM
1524 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1525 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1526 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1527 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1528 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1529 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1530 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1531 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1532 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1533 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1534 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1535 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1536 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1537 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1538 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1539 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1540 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1541 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1542 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1543 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1544 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1545 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1546 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1547 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1548 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1549 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1550 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1551 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1552 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1553 routines.
1554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1555 file.
559398ab 1556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
1557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1558 file.
559398ab 1559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
1560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1561 file.
559398ab 1562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
1563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1564 file.
559398ab 1565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
1566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1567 file.
559398ab 1568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
1569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1570 file.
1571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1572 file.
1573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1574 file.
1575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1576 file.
1577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1578 New file.
1579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1580 file.
1581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1582 file.
559398ab 1583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
1584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1585 file.
559398ab 1586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1588 file.
559398ab 1589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
1590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1591 file.
559398ab 1592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
1593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1594 VIS3 routines.
559398ab
DM
1595
1596 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1597 New file.
1598
5a1c1e32
DM
1599 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1600
eae47a36
DM
1601 * sysdeps/sparc/configure.in: New file.
1602 * sysdeps/sparc/configure: Generate.
1603 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1604 * configure: Regenerate.
1605 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1606 * config.make.in (have-as-vis3): New.
1607 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1608 available use -Av9d instead of -Av9a.
1609 * sysdeps/sparc/sparc64/Makefile: Likewise.
1610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
1611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1612 New file.
1613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1614 file.
1615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1616 New file.
1617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1618 file.
eae47a36
DM
1619 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1620 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1621 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1622 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1623 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1624
c0c83bc8
DM
1625 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1626 fzeros/fnegs to load 0x80000000 into a float register instead of
1627 using the stack.
7bd951ff
DM
1628 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1629
bd951ccb
JM
16302012-03-14 Joseph Myers <joseph@codesourcery.com>
1631
1632 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1633 bits/syscall.h.
1634 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1635 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1636 ($(inst_includedir)/bits/syscall.h): Remove rule.
1637 ($(objpfx)bits/syscall.d): Include instead of
1638 $(objpfx)syscall-list.d.
1639 (generated): Change syscall-list.h and syscall-list.d to
1640 bits/syscall.h and bits/syscall.d.
1641
bb4e6db2
RM
16422012-03-14 Roland McGrath <roland@hack.frob.com>
1643
1644 [BZ #13846]
1645 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1646
aa4a2ae1
JM
16472012-03-14 Joseph Myers <joseph@codesourcery.com>
1648
e456826d
JM
1649 [BZ #13841]
1650 * math/s_csqrt.c: Include <float.h>.
1651 (__csqrt): Scale large or subnormal inputs.
1652 * math/s_csqrtf.c: Likewise.
1653 * math/s_csqrtl.c: Likewise.
1654 * math/libm-test.inc (csqrt_test): Add more tests.
1655 * sysdeps/i386/fpu/libm-test-ulps: Update.
1656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1657
aa4a2ae1
JM
1658 [BZ #13840]
1659 * math/libm-test.inc (hypot_test): Add more tests.
1660
7c10fd35
DM
16612012-03-13 David S. Miller <davem@davemloft.net>
1662
1663 [BZ #13840]
1664 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1665 double-precision for the calculation instead of scaling.
1666
f453b98b
JM
16672012-03-13 Joseph Myers <joseph@codesourcery.com>
1668
1669 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1670 manipulate bits before adding and subtracting TWO52[sx].
1671 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1672 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1673 Likewise.
1674 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1675
09a3453f
DM
16762012-03-13 David S. Miller <davem@davemloft.net>
1677
8e59da90
DM
1678 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1679 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1680 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1681 rtld-global-offsets.h
1682 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1683
2a8ab7f2
DM
1684 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1685 large parameters.
1686
10f62770
DM
1687 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1688
5f0bdb18
DM
1689 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1690 'err' in the ifdef scope in which it is actually used.
1691
09a3453f
DM
1692 * nss/nss_db/db-init.c: Include string.h
1693
b4b2eb5e
DM
16942012-03-12 David S. Miller <davem@davemloft.net>
1695
98bb2f1c
DM
1696 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1697 masking out of the most significant byte of random value used.
1698 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1699 Fix coding style in previous change.
1700
b4b2eb5e
DM
1701 * sysdeps/unix/sysv/linux/kernel-features.h
1702 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1703 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1704 expression.
1705 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1706 later.
1707
6e226b09
DM
17082012-03-11 David S. Miller <davem@davemloft.net>
1709
a1bcbd40
DM
1710 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1711 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1712 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1713 for 'resultvar' otherwise things get truncated on 64-bit.
1714
cb9d6174
DM
1715 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1716 Fix masking out of the most significant byte of random value used.
1717
6e226b09
DM
1718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1719
058c132d
AS
17202012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1721
1722 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1723
2d2cd515
DM
17242012-03-09 David S. Miller <davem@davemloft.net>
1725
1726 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1727 variables with appropriate CPP guards.
1728 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1729 frame pointer, not the stack pointer. Correct layout comments. Fix test
1730 on resulting framesize and the management of the outregs buffer for pltexit.
1731 Preserve floating point return values across _dl_call_pltexit call.
1732 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1733 framesize and the management of the outregs buffer for pltexit.
1734 Preserve floating point return values across _dl_call_pltexit
1735 call.
1736 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1737 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1738 (print_exit): Fix format string for return register value.
1739
9a07f9d0
JM
17402012-03-10 Joseph Myers <joseph@codesourcery.com>
1741
1742 * sunrpc/Makefile (others): Add rpcgen.
1743 ($(objpfx)rpcgen): Remove special build rule and dependency on
1744 libc.
1745 * sunrpc/rpcgen.c: New file.
1746
547b5e30
PE
17472012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1748
c524201a
PE
1749 [BZ #13673]
1750 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1751 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1752 * sysdeps/i386/crti.S: Likewise.
1753 * sysdeps/i386/crtn.S: Likewise.
1754 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1755 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1756 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1757 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1758 * sysdeps/sh/crti.S: Likewise.
1759 * sysdeps/sh/crtn.S: Likewise.
1760 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1761
7b6235f2
PE
1762 [BZ #13673]
1763 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1764 with URL.
1765 * locale/programs/locfile-kw.gperf: Likewise.
1766 * locale/programs/charmap-kw.h: Regenerated.
1767 * locale/programs/locfile-kw.h: Likewise.
1768
547b5e30
PE
1769 [BZ #13673]
1770 * intl/plural.y: Replace FSF snail mail address with URL.
1771 * intl/plural.c: Regenerated.
1772
5f0a5dae
RH
17732012-03-09 Richard Henderson <rth@twiddle.net>
1774
1775 * include/math_private.h: Remove file.
1776 * math/math_private.h: Move file ...
1777 * sysdeps/generic/math_private.h: ... here.
1778
b8c03620
RH
1779 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1780 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1781 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1782
4e234f5d 1783 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
1784 and <math_private.h>.
1785 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1786 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1787 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1788 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1789 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1790 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1791 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1792 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1793 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1794 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1795 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1796 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1797 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1798 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1799 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1800 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1801 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1802 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1803 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1804 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1805 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1806 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1807 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1808 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1809 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1810 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1811 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1812 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1813 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1814 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1815 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1816 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1817 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1818 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1819 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1820 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1821 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1822 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1823 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1824 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1825 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1826 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1827 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1828 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1829 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1830 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1831 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1832 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1833 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1834 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1835 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1836 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1837 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1838 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1839 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1840 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1841 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1842 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1843 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1844 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1845 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1846 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1847 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1848 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1849 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1850 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1851 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1852 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1853 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1854 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1855 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1856 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1857 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1858 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1859 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1860 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1861 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1862 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1863 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1864 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1865 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1866 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1867 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1868 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1869 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1870 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1871 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1872 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1873 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1874 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1875 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1876 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1877 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1878 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1879 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1880 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1881 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1882 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1883 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1884 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1885 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1886 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1887 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1888 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1889 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1890 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1891 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1892 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1893 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1894 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1895 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1896 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1897 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1898 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1899 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1900 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1901 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1902 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1903 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1904 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1905 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1906 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1907 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1908 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
1909 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1910 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1911 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1912 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
1913 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1914 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
1915 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
1916 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1917 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1918 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
1919 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
1920 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1921 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1922 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1923 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
1924 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1925 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1926 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1927 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1928 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
1929 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
1930 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1931 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1932 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1933 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1934 * sysdeps/ieee754/k_standard.c: Likewise.
1935 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1936 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1937 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1938 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1939 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1940 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1941 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1942 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1943 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1944 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1945 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1946 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1947 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1948 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1949 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1950 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1951 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1952 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1953 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1954 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1955 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1956 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1957 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1958 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1959 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1960 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1961 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1962 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1963 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1964 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1965 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1966 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1967 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1968 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1969 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1970 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1971 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1972 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
1973 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1974 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1975 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1976 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1977 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1978 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1979 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1980 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1981 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1982 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1983 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1984 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1985 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1986 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1987 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1988 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1989 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1990 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1991 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
1992 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1993 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1994 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1995 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1996 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1997 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1998 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1999 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2000 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2001 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2002 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2003 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2004 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2005 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2006 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2007 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2008 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2009 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2010 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2011 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2012 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2013 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2014 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2015 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2016 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2017 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2018 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2019 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2020 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2021 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2022 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2023 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2024 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2025 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2026 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2027 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2028 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2029 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2030 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2031 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2032 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2033 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2034 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2035 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2036 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2037 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2038 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2039 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2040 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2041 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2042 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2043 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2044 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2045 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2046 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2047 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2048 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2049 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2050 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2051 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2052 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2053 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2054 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2055 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2056 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2057 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2058 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2059 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2060 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2061 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2062 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2063 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2064 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2065 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2066 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2067 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2068 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2069 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2070 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2071 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
2072 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2073 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2074 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
2075 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
2076 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2077 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
2078 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
2079 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2080 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2081 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2082 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2083 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2084 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
2085 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2086 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2087 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2088 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2089 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
2090 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
2091 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2092 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2093 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2094 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2095 * sysdeps/ieee754/s_lib_version.c: Likewise.
2096 * sysdeps/ieee754/s_matherr.c: Likewise.
2097 * sysdeps/ieee754/s_signgam.c: Likewise.
2098 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2099 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2100 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2101 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2102 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2103 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2104 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2105 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2106 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2107 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2108 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2109 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2110 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2111 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2112 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2113 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2114 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2115 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2116 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2117 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2118 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 2119
1991fa03
JM
21202012-03-09 Joseph Myers <joseph@codesourcery.com>
2121
2122 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2123 * sunrpc/rpc_main.c: Likewise.
2124 * sunrpc/rpc_svcout.c: Likewise.
2125
60d6f5a6
DM
21262012-03-09 David S. Miller <davem@davemloft.net>
2127
2128 * include/math_private.h: New file.
2129
4962050e
JM
21302012-03-09 Joseph Myers <joseph@codesourcery.com>
2131
02a6f887
JM
2132 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2133 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2134 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2135 from <bits/socket_type.h>.
2136 (enum __socket_type): Don't define here.
2137 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2138 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2139 bits/socket_type.h.
2140
c6e013c1
JM
2141 [BZ #13566]
2142 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2143 checking __USE_GNU.
2144
4962050e
JM
2145 * Makerules ($(inst_includedir)/%.h): New rule.
2146 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2147 (install-others): Remove variable setting.
2148 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2149
38842f45
RH
21502012-03-08 Richard Henderson <rth@twiddle.net>
2151
67bb6da6
RH
2152 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2153 from macro to inline function; merge with the
2154 !__LIBC_INTERNAL_MATH_INLINES version.
2155 (__ieee754_sqrtf): Likewise.
2156
15194b4b
RH
2157 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2158 to inline function.
2159 (__rintf, __floor, __floorf): Likewise.
2160
64e21ede
RH
2161 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2162 macro to inline function.
2163 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2164
38842f45
RH
2165 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2166 not <math/math_private.h>.
2167
c64bf5fe
DM
21682012-03-08 David S. Miller <davem@davemloft.net>
2169
2170 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2171 copyright year.
2172 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2173
82d86f28
TS
21742012-03-08 Thomas Schwinge <thomas@codesourcery.com>
2175
2176 * resolv/gai_misc.c (handle_requests): Fix struct timespec
2177 normalization.
2178 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2179 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2180
aea5d727
UD
21812012-03-08 Ulrich Drepper <drepper@gmail.com>
2182
2183 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
2184 be defined individually, they must be defined as a block. Define
2185 S for printing a string instead of hidint the different by using a
2186 macro for adding the 'l'.
2187 * stdio-common/tst-fphex-wide.c: Adjust.
2188
70bca0a3
MP
21892012-03-07 Marek Polacek <polacek@redhat.com>
2190
2191 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2192
65b81130
MP
21932012-03-08 Marek Polacek <polacek@redhat.com>
2194
2195 [BZ #13806]
2196 * stdio-common/Makefile (tests): Add tst-fphex-wide.
2197 * stdio-common/tst-fphex.c: Define a few macros to make the
2198 test reusable. Use them.
2199 * stdio-common/tst-fphex-wide.c: New file.
2200
07037eeb
JM
22012012-03-08 Joseph Myers <joseph@codesourcery.com>
2202
a7a93d50
JM
2203 [BZ #6911]
2204 * manual/macros.texi (gnusystems): New macro.
2205 (nongnusystems): Likewise.
2206 (gnulinuxhurdsystems): Likewise.
2207 (gnuhurdsystems): Likewise..
2208 (gnulinuxsystems): Likewise.
2209 * manual/charset.texi: Use new macros or @theglibc{} to refer to
2210 variants of the GNU system, not "GNU system".
2211 * manual/conf.texi: Likewise.
2212 * manual/errno.texi: Likewise. Update example of errno macro
2213 expansion.
2214 * manual/filesys.texi: Likewise.
2215 (getumask): Document as specific to GNU/Hurd.
2216 * manual/install.texi: Likewise. Reword some references to
2217 GNU/Linux.
2218 * manual/intro.texi: Likewise.
2219 * manual/io.texi: Likewise.
2220 (File Name Portability): Detail which constraints are inapplicable
2221 to all GNU systems and which are only inapplicable to GNU/Hurd.
2222 * manual/job.texi: Likewise.
2223 * manual/llio.texi: Likewise.
2224 (O_NOCTTY): Document as present on GNU/Linux.
2225 * manual/maint.texi: Likewise.
2226 * manual/memory.texi: Likewise.
2227 * manual/pattern.texi: Likewise.
2228 * manual/pipe.texi: Likewise.
2229 * manual/process.texi: Likewise.
2230 * manual/resource.texi: Likewise.
2231 (RUSAGE_CHILDREN): Remove statement about specifying a particular
2232 child on GNU/Hurd.
2233 * manual/setjmp.texi: Likewise.
2234 * manual/signal.texi: Likewise.
2235 * manual/startup.texi: Likewise.
2236 * manual/stdio.texi: Likewise.
2237 * manual/terminal.texi: Likewise.
2238 (ONLCR): Document as POSIX.
2239 (OXTABS): Document availability on GNU/Linux as XTABS.
2240 (ONOEOT): Document availability separately from other bits.
2241 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2242 * manual/time.texi: Likewise.
2243 * manual/users.texi: Likewise.
2244 * INSTALL: Regenerated.
2245 * sysdeps/gnu/errlist.c: Regenerated.
2246
07037eeb
JM
2247 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2248 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2249 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
2250 puts.
2251 * configure: Regenerated.
2252
d1d3431a
JM
22532012-03-07 Joseph Myers <joseph@codesourcery.com>
2254
af6a1e37
JM
2255 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2256 default includes instead of AC_HEADER_CHECK.
2257 * sysdeps/i386/configure: Regenerated.
2258
d1d3431a
JM
2259 [BZ #10716]
2260 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2261 * math/s_cacoshf.c (__cacoshf): Likewise.
2262 * math/s_cacoshl.c (__cacoshl): Likewise.
2263 * math/s_casinh.c (__casinh): Set signs of result from argument.
2264 * math/s_casinhf.c (__casinhf): Likewise.
2265 * math/s_casinhl.c (__casinhl): Likewise.
2266 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2267 (casinh_test): Add more tests.
2268 * sysdeps/i386/fpu/libm-test-ulps: Update.
2269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2270
482ff4da
UD
22712012-03-07 Ulrich Drepper <drepper@gmail.com>
2272
872fda05
UD
2273 * po/zh_TW.po: Update from translation team.
2274
a4300c7a
UD
2275 * login/Makefile (distribute): Remove variable.
2276 * catgets/Makefile: Likewise.
2277 * mach/Makefile: Likewise.
2278 * malloc/Makefile: Likewise.
2279 * misc/Makefile: Likewise.
2280 * iconv/Makefile: Likewise.
2281 * nscd/Makefile: Likewise.
2282 * hurd/Makefile: Likewise.
2283 * manual/Makefile: Likewise.
2284 * locale/Makefile: Likewise.
2285 * intl/Makefile: Likewise.
2286 * conform/Makefile: Likewise.
2287 * nss/Makefile: Likewise.
2288 * time/Makefile: Likewise.
2289 * soft-fp/Makefile: Likewise.
2290 * dirent/Makefile: Likewise.
2291 * gmon/Makefile: Likewise.
2292 * po/Makefile: Likewise.
2293 * rt/Makefile: Likewise.
2294 * socket/Makefile: Likewise.
2295 * math/Makefile: Likewise.
2296 * signal/Makefile: Likewise.
2297 * debug/Makefile: Likewise.
2298 * elf/Makefile: Likewise.
2299 * timezone/Makefile: Likewise.
2300 * stdlib/Makefile: Likewise.
2301 * iconvdata/Makefile: Likewise.
2302 * sunrpc/Makefile: Likewise.
2303 * io/Makefile: Likewise.
2304 * argp/Makefile: Likewise.
2305 * inet/Makefile: Likewise.
2306 * hesiod/Makefile: Likewise.
2307 * grp/Makefile: Likewise.
2308 * csu/Makefile: Likewise.
2309 * wctype/Makefile: Likewise.
2310 * crypt/Makefile: Likewise.
2311 * libio/Makefile: Likewise.
2312 * string/Makefile: Likewise.
2313 * nis/Makefile: Likewise.
2314 * resolv/Makefile: Likewise.
2315 * stdio-common/Makefile: Likewise.
2316 * wcsmbs/Makefile: Likewise.
2317 * dlfcn/Makefile: Likewise.
2318 * posix/Makefile: Likewise.
2319
482ff4da
UD
2320 * timezone/Makefile: Don't install timezone files, just the programs
2321 and scripts.
2322
f72ed77d
UD
23232012-03-06 Ulrich Drepper <drepper@gmail.com>
2324
a000466f
UD
2325 * nss/databases.def: Add missing gshadow entry.
2326
f72ed77d
UD
2327 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2328
a53b7a4e
MP
23292012-03-06 Marek Polacek <polacek@redhat.com>
2330
2331 [BZ #13726]
2332 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2333 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2334 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2335 * stdio-common/tst-long-dbl-fphex.c: New file.
2336
e9258400
DM
23372012-03-06 David S. Miller <davem@davemloft.net>
2338
2339 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2340 (set_obp_int): New function.
2341 (get_obp_int): New function.
2342 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
2343 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2344 Avoid unused variable warnings on 'val' and use builtin_expect.
2345 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2346 __builtin_expect.
e9258400
DM
2347 (INLINE_CLONE_SYSCALL): Likewise.
2348
3bd2c723
DM
23492012-03-05 David S. Miller <davem@davemloft.net>
2350
2351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2352
bbb78d03
AS
23532012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2354
884c5db4
AS
2355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2356
bbb78d03
AS
2357 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2358 only for |x| >= 40.
2359 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2360
1c9f702a 23612012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
2362
2363 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2364 Replace gettimeofday with __vdso_gettimeofday.
2365
7be16f82
RM
2366 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2367 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2368 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
2369
2370 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2371 time with __vdso_time.
2372
ed58a00f
JM
23732012-03-05 Joseph Myers <joseph@codesourcery.com>
2374
2375 * manual/lang.texi (size_t): Note types to which size_t may be
2376 equivalent with the GNU C Library, but do not describe when
2377 differences between them are significant.
2378
30ee4ced
AJ
23792012-03-05 Andreas Jaeger <aj@suse.de>
2380
2381 * sysdeps/i386/fpu/libm-test-ulps: Update.
2382
b7cd39e8
JM
23832012-03-05 Joseph Myers <joseph@codesourcery.com>
2384
2385 [BZ #3976]
2386 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2387 (__ieee754_pow): Save and restore rounding mode and use
2388 round-to-nearest for main computations.
2389 * math/libm-test.inc (pow_test_tonearest): New function.
2390 (pow_test_towardzero): Likewise.
2391 (pow_test_downward): Likewise.
2392 (pow_test_upward): Likewise.
2393 (main): Call the new functions.
2394 * sysdeps/i386/fpu/libm-test-ulps: Update.
2395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
2396
2397 [BZ #3976]
2398 * math/libm-test.inc (cosh_test_tonearest): New function.
2399 (cosh_test_towardzero): Likewise.
2400 (cosh_test_downward): Likewise.
2401 (cosh_test_upward): Likewise.
2402 (sinh_test_tonearest): Likewise.
2403 (sinh_test_towardzero): Likewise.
2404 (sinh_test_downward): Likewise.
2405 (sinh_test_upward): Likewise.
2406 (main): Call the new functions.
2407 * sysdeps/i386/fpu/libm-test-ulps: Update.
2408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2409
6c6a98c9
TV
24102012-03-05 Tom de Vries <tom@codesourcery.com>
2411
2412 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2413 default stack guard is set in last bytes.
2414 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2415
21bb2d2e 24162012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 2417
21bb2d2e 2418 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 2419
21bb2d2e
AJ
2420 [BZ #13656]
2421 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2422 possibly allocate from heap instead of stack.
2423 * stdio-common/bug-vfprintf-nargs.c: New file.
2424 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 2425
c6922934
AS
24262012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2427
2428 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2429
bc957d53
MP
24302012-03-03 Marek Polacek <polacek@redhat.com>
2431
2432 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2433 * math/math_private.h: Likewise.
2434 * stdlib/tst-strtod.c: Likewise.
2435 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2436 * sysdeps/x86_64/bits/atomic.h: Likewise.
2437
6358490d
DM
24382012-03-02 David S. Miller <davem@davemloft.net>
2439
2440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2444 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2445 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2446 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2447 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2448
01ae168d
RM
24492012-03-02 Roland McGrath <roland@hack.frob.com>
2450
d9a17c07
RM
2451 [BZ #13792]
2452 * manual/examples/README: New file, says the example source files
2453 can be used under GPL>=2.
2454 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2455 line containing just "*/".
2456 * manual/examples/add.c: Add copyright header (GPL>=2).
2457 * manual/examples/argp-ex1.c: Likewise.
2458 * manual/examples/argp-ex2.c: Likewise.
2459 * manual/examples/argp-ex3.c: Likewise.
2460 * manual/examples/argp-ex4.c: Likewise.
2461 * manual/examples/atexit.c: Likewise.
2462 * manual/examples/db.c: Likewise.
2463 * manual/examples/dir.c: Likewise.
2464 * manual/examples/dir2.c: Likewise.
2465 * manual/examples/execinfo.c: Likewise.
2466 * manual/examples/filecli.c: Likewise.
2467 * manual/examples/filesrv.c: Likewise.
2468 * manual/examples/fmtmsgexpl.c: Likewise.
2469 * manual/examples/genpass.c: Likewise.
2470 * manual/examples/inetcli.c: Likewise.
2471 * manual/examples/inetsrv.c: Likewise.
2472 * manual/examples/isockad.c: Likewise.
2473 * manual/examples/longopt.c: Likewise.
2474 * manual/examples/memopen.c: Likewise.
2475 * manual/examples/memstrm.c: Likewise.
2476 * manual/examples/mkfsock.c: Likewise.
2477 * manual/examples/mkisock.c: Likewise.
2478 * manual/examples/mygetpass.c: Likewise.
2479 * manual/examples/pipe.c: Likewise.
2480 * manual/examples/popen.c: Likewise.
2481 * manual/examples/rprintf.c: Likewise.
2482 * manual/examples/search.c: Likewise.
2483 * manual/examples/select.c: Likewise.
2484 * manual/examples/setjmp.c: Likewise.
2485 * manual/examples/sigh1.c: Likewise.
2486 * manual/examples/sigusr.c: Likewise.
2487 * manual/examples/stpcpy.c: Likewise.
2488 * manual/examples/strdupa.c: Likewise.
2489 * manual/examples/strftim.c: Likewise.
2490 * manual/examples/strncat.c: Likewise.
2491 * manual/examples/subopt.c: Likewise.
2492 * manual/examples/swapcontext.c: Likewise.
2493 * manual/examples/termios.c: Likewise.
2494 * manual/examples/testopt.c: Likewise.
2495 * manual/examples/testpass.c: Likewise.
2496 * manual/examples/timeval_subtract.c: Likewise.
2497
01ae168d
RM
2498 [BZ #13792]
2499 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2500 function to ...
2501 * manual/timeval_subtract.c.texi: ... here, new file.
2502
49efa33d
DM
25032012-03-02 David S. Miller <davem@davemloft.net>
2504
2505 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2506
28afd92d
JM
25072012-03-02 Joseph Myers <joseph@codesourcery.com>
2508
804360ed
JM
2509 [BZ #3976]
2510 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2511 (__sin): Save and restore rounding mode and use round-to-nearest
2512 for all computations.
2513 (__cos): Save and restore rounding mode and use round-to-nearest
2514 for all computations.
2515 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2516 <fenv.h>.
2517 (tan): Save and restore rounding mode and use round-to-nearest for
2518 all computations.
2519 * math/libm-test.inc (cos_test_tonearest): New function.
2520 (cos_test_towardzero): Likewise.
2521 (cos_test_downward): Likewise.
2522 (cos_test_upward): Likewise.
2523 (sin_test_tonearest): Likewise.
2524 (sin_test_towardzero): Likewise.
2525 (sin_test_downward): Likewise.
2526 (sin_test_upward): Likewise.
2527 (tan_test_tonearest): Likewise.
2528 (tan_test_towardzero): Likewise.
2529 (tan_test_downward): Likewise.
2530 (tan_test_upward): Likewise.
2531 (main): Call the new functions.
2532 * sysdeps/i386/fpu/libm-test-ulps: Update.
2533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2534
a6d06d7b
JM
2535 [BZ #10135]
2536 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2537 small n, then large n, before computing and testing k+n.
2538 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2539 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2540 Likewise.
2541 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2542 Likewise.
2543 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2544 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2545 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2546 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2547 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2548 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2549 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2550 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2551 * math/libm-test.inc (scalbn_test): Add more tests.
2552 (scalbln_test): Likewise.
2553
07e12bb3
JM
2554 * manual/filesys.texi (mode_t): Describe constraints on size and
2555 signedness, not exact equivalence to a particular type.
2556 (ino_t): Likewise.
2557 (ino64_t): Likewise.
2558 (dev_t): Likewise.
2559 (nlink_t): Likewise.
2560 (blkcnt_t): Likewise.
2561 (blkcnt64_t): Likewise.
2562 * manual/llio.texi (off_t): Likewise.
2563
28afd92d
JM
2564 [BZ #3976]
2565 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2566 (__ieee754_exp): Save and restore rounding mode and use
2567 round-to-nearest for all computations.
2568 * math/libm-test.inc (exp_test_tonearest): New function.
2569 (exp_test_towardzero): Likewise.
2570 (exp_test_downward): Likewise.
2571 (exp_test_upward): Likewise.
2572 (main): Call the new functions.
2573 * sysdeps/i386/fpu/libm-test-ulps: Update.
2574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2575
b1eeb65d
CD
25762012-03-01 Chris Demetriou <cgd@google.com>
2577
2578 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2579 have predictable order.
2580
53362a4b
DM
25812012-03-01 David S. Miller <davem@davemloft.net>
2582
3c969083
DM
2583 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2584
759707de
DM
2585 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2586 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2587 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2588 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2589
dfdb8ff2
DM
2590 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2591 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2592 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2594 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2595 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2596 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2597 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2598 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2599
ead89f96
DM
2600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2601
7f66bd07
DM
2602 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2603 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2604 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2605
53362a4b
DM
2606 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2607 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2608 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2609 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2610 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2611 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2612 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2613 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2614 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2615 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2616 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2617 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2618 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2619 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2620 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2621 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2622 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2623 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2624 * sysdeps/sparc/elf/configure: Regenerated.
2625
7b1902cb
JM
26262012-03-01 Joseph Myers <joseph@codesourcery.com>
2627
bec039bc
JM
2628 * configure.in (AS, LD): Require binutils 2.20 or later.
2629 * configure: Regenerated.
2630 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2631 as required minimum version.
2632 * INSTALL: Regenerated.
2633
7b1902cb
JM
2634 [BZ #2541]
2635 [BZ #4108]
2636 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2637 before squaring exponent.
2638 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2639 bottom long double and 27 bits of top long double before squaring
2640 exponent.
2641 * math/libm-test.inc (erfc_test): Add more tests.
2642 * sysdeps/i386/fpu/libm-test-ulps: Update.
2643 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2645
f775c276
KT
26462012-03-01 Kai Tietz <ktietz@redhat.com>
2647
2648 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2649 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2650 containing bit-fields.
2651 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2652 * soft-fp/single.h (_FP_UNION_S): Likewise.
2653 * soft-fp/double.h (_FP_UNION_D): Likewise.
2654
5b8a4d4a
JM
26552012-02-29 Joseph Myers <joseph@codesourcery.com>
2656
0bab47b6
JM
2657 [BZ #13786]
2658 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2659 not include ../strcmp.S.
2660 [USE_AS_STRNCASECMP_L]: Likewise.
2661 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2662 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2663 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2664 (__strncasecmp_l_ia32): Define as alias to
2665 __strncasecmp_l_nonascii.
2666
0fcad3e2
JM
2667 [BZ #5794]
2668 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2669 * sysdeps/i386/fpu/libm-test-ulps: Update.
2670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2671
5b8a4d4a
JM
2672 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2674
8fdceb2e
JL
26752012-02-29 Jeff Law <law@redhat.com>
2676
2677 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2678 out of bounds read.
2679
1f393a11
MP
26802012-02-29 Marek Polacek <polacek@redhat.com>
2681
2682 [BZ #13706]
2683 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2684 * elf/Makefile: Add rules to run tst-unused-dep.out.
2685
8847f037
DM
26862012-02-28 David S. Miller <davem@davemloft.net>
2687
2688 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2689 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2690 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2691 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2692 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2693 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2694
169d7f11
JM
26952012-02-29 Joseph Myers <joseph@codesourcery.com>
2696
2697 * math/libm-test.inc (llround_test): Move one test from
2698 lround_test. Use TEST_f_L in moved test.
2699 (lround_test): Move misplaced test to llround_test. Add testcase
2700 from bug 2561.
2701
39adf059
UD
27022012-02-28 Ulrich Drepper <drepper@gmail.com>
2703
2704 * sysdeps/x86_64/fpu/e_expf.S: New file.
2705 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2706
71b5d1c5
SB
27072012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2708
2709 [BZ #13637]
2710 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2711 of remain_len that may cause incomplete multi-byte character and
2712 false match.
2713 * posix/bug-regex33.c: New file.
2714 * posix/Makefile (tests): Add bug-regex33.
2715
1f77f049
JM
27162012-02-28 Joseph Myers <joseph@codesourcery.com>
2717
2718 * manual/macros.texi: New file.
2719 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2720 * manual/libc.texinfo: Include macros.texi.
2721 * manual/creatute.texi: Likewise.
2722 * manual/install.texi: Likewise.
2723 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2724 @glibcadj{} in references to the GNU C Library.
2725 * manual/charset.texi: Likewise.
2726 * manual/conf.texi: Likewise.
2727 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2728 when not using those macros.
2729 * manual/creature.texi: Likewise.
2730 * manual/crypt.texi: Likewise.
2731 * manual/errno.texi: Likewise.
2732 * manual/filesys.texi: Likewise.
2733 * manual/header.texi: Likewise.
2734 * manual/install.texi: Likewise.
2735 * manual/intro.texi: Likewise.
2736 * manual/io.texi: Likewise.
2737 * manual/job.texi: Likewise.
2738 * manual/lang.texi: Likewise.
2739 * manual/libc.texiinfo: Likewise.
2740 * manual/llio.texi: Likewise.
2741 * manual/locale.texi: Likewise.
2742 * manual/maint.texi: Likewise.
2743 * manual/math.texi: Likewise.
2744 * manual/memory.texi: Likewise.
2745 * manual/message.texi: Likewise.
2746 * manual/nss.texi: Likewise.
2747 * manual/pattern.texi: Likewise.
2748 * manual/process.texi: Likewise.
2749 * manual/resource.texi: Likewise.
2750 * manual/search.texi: Likewise.
2751 * manual/setjmp.texi: Likewise.
2752 * manual/signal.texi: Likewise.
2753 * manual/socket.texi: Likewise.
2754 * manual/startup.texi: Likewise.
2755 * manual/stdio.texi: Likewise.
2756 * manual/string.texi: Likewise.
2757 * manual/sysinfo.texi: Likewise.
2758 * manual/syslog.texi: Likewise.
2759 * manual/terminal.texi: Likewise.
2760 * manual/time.texi: Likewise.
2761 * manual/users.texi: Likewise.
2762 * INSTALL: Regenerated.
2763 * NOTES: Regenerated.
d40c5d54 2764 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 2765
450bf206
AS
27662012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2767
2768 * include/dirent.h: Include <dirstream.h> before
2769 <dirent/dirent.h>.
2770
741a235b
DM
27712012-02-28 David S. Miller <davem@davemloft.net>
2772
2773 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2774 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2775 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2776 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2777
d6b5aa58
DM
27782012-02-27 David S. Miller <davem@davemloft.net>
2779
1aff59a3
DM
2780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2782 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2783 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2784
d6b5aa58
DM
2785 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2786 frame pointer instead of stack pointer relative arg slot.
2787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2788 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2789 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2790
433f48bf
CD
27912012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2792
2793 [BZ #3992]
2794 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2795
d674b76d
DM
27962012-02-27 David S. Miller <davem@davemloft.net>
2797
2798 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2801 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2802 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2803 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2804 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2805 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2806
0e7727f7
JM
28072012-02-27 Joseph Myers <joseph@codesourcery.com>
2808
2809 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2810 later. Allow versions 5-9.
43be4ca2 2811 * configure: Regenerated.
0e7727f7
JM
2812 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2813 required minimum version and 4.6 as recommended version. Do not
2814 mention bugs in GCC 2.7 and 2.8.
43be4ca2 2815 * INSTALL: Regenerated.
0e7727f7 2816
a78bc654
DM
28172012-02-27 David S. Miller <davem@davemloft.net>
2818
428d5830
DM
2819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2823 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2824 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2825 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2826 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2827
a78bc654
DM
2828 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2829 manipulate bits before adding and subtracting TWO112[sx].
2830 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2831
4579f81c
RM
28322012-02-27 Roland McGrath <roland@hack.frob.com>
2833
36c8acb4
RM
2834 [BZ #13775]
2835 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2836 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2837 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2838 being in POSIX, because they are in 1003.1-2008.
2839
84ad622b
RM
2840 * rt/tst-aio.c: Include <fcntl.h>.
2841 * rt/tst-aio7.c: Likewise.
2842 * rt/tst-aio64.c: Likewise.
2843
4579f81c
RM
2844 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2845
abd923db
JM
28462012-02-27 Joseph Myers <joseph@codesourcery.com>
2847
2848 * manual/install.texi (--with-headers): Describe headers as
2849 interface headers, not private headers.
2850 (Specific advice for GNU/Linux systems): Describe use of headers
2851 from "make headers_install", not private headers from older
2852 kernels.
43be4ca2 2853 * INSTALL: Regenerated.
abd923db
JM
2854 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2855 Change to 2.6.19.
2856 * sysdeps/unix/sysv/linux/configure: Regenerated.
2857
6664049b
JM
2858 * manual/llio.texi (fclean): Remove documentation.
2859
bb8b6697
JM
2860 * manual/Makefile (libc-texi-generated): New variable. Include
2861 version.texi.
2862 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2863 $(libc-texi-generated), not duplicated list of files.
2864 (version.texi, stamp-version): New rules.
2865 (realclean): Remove $(libc-texi-generated), not individual files
2866 from that list. Do not remove dir-add.texinfo.
2867 * manual/libc.texinfo: Comment out uses of edition numbers and
2868 references to printed manual. Remove last-updated dates.
2869 (EDITION): Comment out.
2870 (ISBN): Likewise.
2871 (VERSION, UPDATED): Remove.
2872 (version.texi): Include.
2873
12e5c3b9
AS
28742012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2875
2876 * sysdeps/posix/spawni.c: Include <signal.h>.
2877 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2878 * sysdeps/pthread/aio_fsync.c: Likewise.
2879
4efeffc1 28802012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 2881
ba63ba08
UD
2882 * conform/Makefile (tests): Run only when not cross-compiling and
2883 when fast-check is not defined.
2884
d94a4670
UD
2885 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2886 * conform/data/limits.h-data: Fixes for POSIX2008.
2887 * conform/run-conformtest.sh: Run all tests.
2888 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2889 headers.
2890 * include/bits/dlfcn.h: Likewise.
2891 * include/langinfo.h: Likewise.
2892 * include/monetary.h: Likewise.
2893 * include/sys/poll.h: Likewise.
2894
2895 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2896 for __USE_GNU.
2897 * posix/spawn.h: Define __need_sigset_t.
2898 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2899 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2900 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2901 to get sigevent_t only.
2902 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2903 only for __USE_GNU.
2904 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2905 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2906 process_vm_writev only for __USE_GNU.
2907 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
2908
2909 * conform/Makefile: For now ignore errors from run-conformtest.
2910 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
2911 POSIX to avoid namespace pollution. Don't prepend headers.
2912 * conform/data/aio.h-data: Fixes for POSIX testing.
2913 * conform/data/fcntl.h-data: Likewise.
2914 * conform/data/glob.h-data: Likewise.
2915 * conform/data/grp.h-data: Likewise.
2916 * conform/data/pthread.h-data: Likewise.
2917 * conform/data/pwd.h-data: Likewise.
2918 * conform/data/signal.h-data: Likewise.
2919 * conform/data/spawn.h-data: Likewise.
2920 * conform/data/stdio.h-data: Likewise.
2921 * conform/data/stdlib.h-data: Likewise.
2922 * conform/data/stropts.h-data: Likewise.
2923 * conform/data/sys/mman.h-data: Likewise.
2924 * conform/data/sys/stat.h-data: Likewise.
2925 * conform/data/sys/types.h-data: Likewise.
2926 * conform/data/sys/wait.h-data: Likewise.
2927 * conform/data/time.h-data: Likewise.
2928 * conform/data/unistd.h-data: Likewise.
2929 * conform/data/utime.h-data: Likewise.
2930
2931 * io/sys/stat.h: fchmod was always in POSIX.
2932 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
2933 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
2934 * rt/aio.h: Define __need_timespec before including <time.h>.
2935 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
2936 struct. Add forward declaration of pthread_attr_t and use it in
2937 sigevent.
2938 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2939 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2940 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
2941 always remove CLK_TCK definition.
2942
c20105c3
AS
29432012-02-26 Andreas Schwab <schwab@linux-m68k.org>
2944
2945 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
2946
7a270350
UD
29472012-02-25 Ulrich Drepper <drepper@gmail.com>
2948
31341567
UD
2949 * conform/run-conformtest.sh: New file.
2950 * conform/Makefile: Run run-conformtest for tests.
2951 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
2952 support.
2953
2954 * conform/data/uchar.h-data: New file.
2955 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
2956 * conform/data/arpa/inet.h-data: Likewise.
2957 * conform/data/assert.h-data: Likewise.
2958 * conform/data/complex.h-data: Likewise.
2959 * conform/data/cpio.h-data: Likewise.
2960 * conform/data/ctype.h-data: Likewise.
2961 * conform/data/dirent.h-data: Likewise.
2962 * conform/data/dlfcn.h-data: Likewise.
2963 * conform/data/errno.h-data: Likewise.
2964 * conform/data/fcntl.h-data: Likewise.
2965 * conform/data/float.h-data: Likewise.
2966 * conform/data/fmtmsg.h-data: Likewise.
2967 * conform/data/fnmatch.h-data: Likewise.
2968 * conform/data/ftw.h-data: Likewise.
2969 * conform/data/glob.h-data: Likewise.
2970 * conform/data/grp.h-data: Likewise.
2971 * conform/data/iconv.h-data: Likewise.
2972 * conform/data/inttypes.h-data: Likewise.
2973 * conform/data/langinfo.h-data: Likewise.
2974 * conform/data/libgen.h-data: Likewise.
2975 * conform/data/limits.h-data: Likewise.
2976 * conform/data/locale.h-data: Likewise.
2977 * conform/data/math.h-data: Likewise.
2978 * conform/data/monetary.h-data: Likewise.
2979 * conform/data/mqueue.h-data: Likewise.
2980 * conform/data/ndbm.h-data: Likewise.
2981 * conform/data/net/if.h-data: Likewise.
2982 * conform/data/netdb.h-data: Likewise.
2983 * conform/data/netinet/in.h-data: Likewise.
2984 * conform/data/nl_types.h-data: Likewise.
2985 * conform/data/poll.h-data: Likewise.
2986 * conform/data/pthread.h-data: Likewise.
2987 * conform/data/pwd.h-data: Likewise.
2988 * conform/data/regex.h-data: Likewise.
2989 * conform/data/sched.h-data: Likewise.
2990 * conform/data/search.h-data: Likewise.
2991 * conform/data/semaphore.h-data: Likewise.
2992 * conform/data/setjmp.h-data: Likewise.
2993 * conform/data/signal.h-data: Likewise.
2994 * conform/data/spawn.h-data: Likewise.
2995 * conform/data/stdarg.h-data: Likewise.
2996 * conform/data/stdio.h-data: Likewise.
2997 * conform/data/stdlib.h-data: Likewise.
2998 * conform/data/string.h-data: Likewise.
2999 * conform/data/strings.h-data: Likewise.
3000 * conform/data/stropts.h-data: Likewise.
3001 * conform/data/sys/ipc.h-data: Likewise.
3002 * conform/data/sys/mman.h-data: Likewise.
3003 * conform/data/sys/msg.h-data: Likewise.
3004 * conform/data/sys/resource.h-data: Likewise.
3005 * conform/data/sys/select.h-data: Likewise.
3006 * conform/data/sys/sem.h-data: Likewise.
3007 * conform/data/sys/shm.h-data: Likewise.
3008 * conform/data/sys/socket.h-data: Likewise.
3009 * conform/data/sys/stat.h-data: Likewise.
3010 * conform/data/sys/statvfs.h-data: Likewise.
3011 * conform/data/sys/time.h-data: Likewise.
3012 * conform/data/sys/timeb.h-data: Likewise.
3013 * conform/data/sys/times.h-data: Likewise.
3014 * conform/data/sys/types.h-data: Likewise.
3015 * conform/data/sys/uio.h-data: Likewise.
3016 * conform/data/sys/un.h-data: Likewise.
3017 * conform/data/sys/utsname.h-data: Likewise.
3018 * conform/data/sys/wait.h-data: Likewise.
3019 * conform/data/syslog.h-data: Likewise.
3020 * conform/data/tar.h-data: Likewise.
3021 * conform/data/termios.h-data: Likewise.
3022 * conform/data/utime.h-data: Likewise.
3023 * conform/data/utmpx.h-data: Likewise.
3024 * conform/data/varargs.h-data: Likewise.
3025 * conform/data/wchar.h-data: Likewise.
3026 * conform/data/wctype.h-data: Likewise.
3027 * conform/data/wordexp.h-data: Likewise.
3028
3029 * include/stropts.h: New file.
3030 * include/uchar.h: New file.
3031 * include/aio.h: Changes to allow conformtest.pl to use the headers.
3032 * include/assert.h: Likewise.
3033 * include/ctype.h: Likewise.
3034 * include/dirent.h: Likewise.
3035 * include/dlfcn.h: Likewise.
3036 * include/fcntl.h: Likewise.
3037 * include/fnmatch.h: Likewise.
3038 * include/glob.h: Likewise.
3039 * include/grp.h: Likewise.
3040 * include/libio.h: Likewise.
3041 * include/locale.h: Likewise.
3042 * include/math.h: Likewise.
3043 * include/net/if.h: Likewise.
3044 * include/netdb.h: Likewise.
3045 * include/netinet/in.h: Likewise.
3046 * include/pthread.h: Likewise.
3047 * include/pwd.h: Likewise.
3048 * include/regex.h: Likewise.
3049 * include/sched.h: Likewise.
3050 * include/search.h: Likewise.
3051 * include/setjmp.h: Likewise.
3052 * include/signal.h: Likewise.
3053 * include/stdio.h: Likewise.
3054 * include/stdlib.h: Likewise.
3055 * include/string.h: Likewise.
3056 * include/sys/cdefs.h: Likewise.
3057 * include/sys/mman.h: Likewise.
3058 * include/sys/msg.h: Likewise.
3059 * include/sys/resource.h: Likewise.
3060 * include/sys/select.h: Likewise.
3061 * include/sys/socket.h: Likewise.
3062 * include/sys/stat.h: Likewise.
3063 * include/sys/statvfs.h: Likewise.
3064 * include/sys/time.h: Likewise.
3065 * include/sys/times.h: Likewise.
3066 * include/sys/uio.h: Likewise.
3067 * include/sys/utsname.h: Likewise.
3068 * include/sys/wait.h: Likewise.
3069 * include/termios.h: Likewise.
3070 * include/time.h: Likewise.
3071 * include/ulimit.h: Likewise.
3072 * include/unistd.h: Likewise.
3073 * include/utime.h: Likewise.
3074 * include/wchar.h: Likewise.
3075 * include/wctype.h: Likewise.
3076 * include/wordexp.h: Likewise.
3077
3078 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3079
7a270350
UD
3080 * time/time.h: TIME_UTC must be a macro.
3081 Make timespec_get available for ISO C11 only as well.
3082
7724defc
UD
30832012-02-24 Ulrich Drepper <drepper@gmail.com>
3084
3085 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
3086 Reported by Peng Haitao <penght@cn.fujitsu.com>.
3087
6b1d1d46
JM
30882012-02-24 Joseph Myers <joseph@codesourcery.com>
3089
3090 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 3091
0f8bbd69
JM
30922012-02-24 Joseph Myers <joseph@codesourcery.com>
3093
3094 * manual/texinfo.tex: Update to version 2012-01-19.16.
3095
66ab80bc
JM
30962012-02-24 Joseph Myers <joseph@codesourcery.com>
3097
3098 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3099
74981cc5
RM
31002012-02-24 Roland McGrath <roland@hack.frob.com>
3101
ee968201
RM
3102 [BZ #13738]
3103 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3104 * manual/fdl-1.3.texi: New file.
3105 * manual/fdl-1.1.texi: File removed.
3106
74981cc5
RM
3107 [BZ #13738]
3108 * manual/libc.texinfo (FDL_VERSION): New @set.
3109 Use it for mention of FDL in cover text.
3110 (Documentation License): Use it in @include file name.
3111
7bb764bc
JM
31122012-02-22 Joseph Myers <joseph@codesourcery.com>
3113 Roland McGrath <roland@hack.frob.com>
3114
3115 [BZ #5461]
3116 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3117 not LONG_LONG_MAX and LONG_LONG_MIN.
3118 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3119 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
3120 name.
3121 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3122
6cbeae47
JM
31232012-02-22 Joseph Myers <joseph@codesourcery.com>
3124
3125 [BZ #2547]
3126 [BZ #11365]
3127 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3128 manipulate bits before adding and subtracting TWO23[sx].
3129 * math/libm-test.inc (nearbyint_test): Add more tests.
3130
fe45ce09
JM
31312012-02-22 Joseph Myers <joseph@codesourcery.com>
3132
3133 [BZ #2548]
3134 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3135 bits before adding and subtracting TWO23[sx].
3136 * math/libm-test.inc (rint_test): Add more tests.
3137 (rint_test_tonearest): Likewise.
3138 (rint_test_towardzero): Likewise.
3139 (rint_test_downward): Likewise.
3140 (rint_test_upward: Likewise.
3141
ff3b3d82
JM
31422012-02-22 Joseph Myers <joseph@codesourcery.com>
3143
3144 [BZ #10110]
3145 * include/stdc-predef.h: New file. Extracted from features.h.
3146 * include/features.h: Include stdc-predef.h.
3147 * Makefile (headers): Add stdc-predef.h.
3148 * CONFORMANCE (Compiler limitations): Update.
3149
ef0aab35
JM
31502012-02-22 Joseph Myers <joseph@codesourcery.com>
3151
3152 * manual/libc.texinfo (VERSION, UPDATED): Revert.
3153
58639409
DM
31542012-02-21 David S. Miller <davem@davemloft.net>
3155
3156 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3157 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3158
c0e70b25
DM
31592012-02-20 David S. Miller <davem@davemloft.net>
3160
3161 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3162 using a normal save/restore sequence, rather than allocating a
3163 dummy stack frame just to store a frame pointer and restore.
3164 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3165
fb06851d
JM
31662012-02-21 Joseph Myers <joseph@codesourcery.com>
3167
3168 * manual/install.texi: Fix stray word in line-wrapped comment.
3169
7a8b71c3
DM
31702012-02-20 David S. Miller <davem@davemloft.net>
3171
d510c123
DM
3172 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3173 both binutils and gcc support GOTDATA.
3174
0722d7c2
DM
3175 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3176 "rd %pc" in the PIC register setup sequences.
3177
3d2b3019
DM
3178 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3179 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3180 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3181 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3182 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3183 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3184 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3185 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3186 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3187 (SYSCALL_ERROR_HANDLER): Likewise.
3188 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3189 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3190 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3191 (SYSCALL_ERROR_HANDLER): Likewise.
3192
c80098a9
DM
3193 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3194 (HAVE_GCC_GOTDATA): New.
3195 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3196 relocation support in both binutils and gcc.
3197 * sysdeps/sparc/elf/configure: Regenerate.
3198
3a2545a0
DM
3199 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3200 * sysdeps/sparc/sparc32/elf/configure: Delete.
3201 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3202 * sysdeps/sparc/sparc64/elf/configure: Delete.
3203 * sysdeps/sparc/elf/configure.in: New file.
3204 * sysdeps/sparc/elf/configure: Generate.
3205
7a8b71c3
DM
3206 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3207 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3208 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3209 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3210 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3211
f1e86fca
JM
32122012-02-21 Joseph Myers <joseph@codesourcery.com>
3213
3214 * manual/install.texi: Do not mention specific glibc version
3215 numbers.
3216 * manual/libc.texinfo (VERSION, UPDATED): Update.
3217 (@copying): Use @copyright{} and range of years.
3218
0e7dfaef
JM
32192012-02-21 Joseph Myers <joseph@codesourcery.com>
3220
3221 [BZ #13695]
3222 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3223 [crti.S not in sysdirs] (generated): Do not append.
3224 [crti.S not in sysdirs] (omit-deps): Likewise.
3225 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3226 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3227 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3228 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3229 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3230 Likewise.
3231 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3232 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3233 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3234 * csu/defs.awk: Remove file.
3235 * sysdeps/generic/initfini.c: Likewise.
3236 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3237 variable.
3238 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3239 Likewise.
3240
599af3ca
JM
32412012-02-20 Joseph Myers <joseph@codesourcery.com>
3242
3243 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3244 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3245 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3246 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3247 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3248 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3249 <bits/epoll.h>.
3250 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3251 (__EPOLL_PACKED): Define to empty if not defined by
3252 <bits/epoll.h>.
3253 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3254 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3255 bits/epoll.h.
3256
0e499750
JM
32572012-02-20 Joseph Myers <joseph@codesourcery.com>
3258
3259 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3260 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3261 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3262 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3263 <bits/timerfd.h>.
3264 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3265 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3266 bits/timerfd.h.
3267
5ad91f6e
JM
32682012-02-20 Joseph Myers <joseph@codesourcery.com>
3269
3270 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3271 in C locale.
3272 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3273 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3274 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3276
06b99b02
AJ
32772012-02-20 Aurelien Jarno <aurelien@aurel32.net>
3278
3279 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3280 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3281
7638c0fd
AS
32822012-02-19 Andreas Schwab <schwab@linux-m68k.org>
3283
3284 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3285 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3286 defined.
3287 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3288 Likewise.
3289 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3290 entry for 2.16.
3291
92221550
AJ
32922012-02-19 Aurelien Jarno <aurelien@aurel32.net>
3293
3294 * math/w_acos.c: Use non-signaling floating-point comparisons.
3295 * math/w_acosf.c: Likewise.
3296 * math/w_acosh.c: Likewise.
3297 * math/w_acoshf.c: Likewise.
3298 * math/w_acoshl.c: Likewise.
3299 * math/w_acosl.c: Likewise.
3300 * math/w_asin.c: Likewise.
3301 * math/w_asinf.c: Likewise.
3302 * math/w_asinl.c: Likewise.
3303 * math/w_atanh.c: Likewise.
3304 * math/w_atanhf.c: Likewise.
3305 * math/w_atanhl.c: Likewise.
3306 * math/w_exp2.c: Likewise.
3307 * math/w_exp2f.c: Likewise.
3308 * math/w_exp2l.c: Likewise.
3309 * math/w_j0.c: Likewise.
3310 * math/w_j0f.c: Likewise.
3311 * math/w_j0l.c: Likewise.
3312 * math/w_j1.c: Likewise.
3313 * math/w_j1f.c: Likewise.
3314 * math/w_j1l.c: Likewise.
3315 * math/w_jn.c: Likewise.
3316 * math/w_jnf.c: Likewise.
3317 * math/w_log.c: Likewise.
3318 * math/w_log10.c: Likewise.
3319 * math/w_log10f.c: Likewise.
3320 * math/w_log10l.c: Likewise.
3321 * math/w_log2.c: Likewise.
3322 * math/w_log2f.c: Likewise.
3323 * math/w_log2l.c: Likewise.
3324 * math/w_logf.c: Likewise.
3325 * math/w_logl.c: Likewise.
3326 * math/w_sqrt.c: Likewise.
3327 * math/w_sqrtf.c: Likewise.
3328 * math/w_sqrtl.c: Likewise.
3329 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3330 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3331 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3332 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3333 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3334
ebaf36eb
JM
33352012-02-19 Joseph Myers <joseph@codesourcery.com>
3336
3337 [BZ #9739]
3338 * manual/string.texi (strnlen): Use correct parameter name in
3339 equivalent expression.
3340
71c254a6
JM
33412012-02-19 Joseph Myers <joseph@codesourcery.com>
3342
3343 [BZ #11174]
3344 * manual/users.texi (seteuid): Consistently use neweuid for
3345 argument name.
3346
16d2c631
JM
33472012-02-19 Joseph Myers <joseph@codesourcery.com>
3348
3349 [BZ #13704]
3350 * manual/nss.texi (Services in the NSS configuration): Correct
3351 list of services in example configuration file.
3352
cd837b09
NB
33532012-02-19 Nick Bowler <nbowler@draconx.ca>
3354
3355 [BZ #11322]
3356 * manual/arith.texi: Remove statements about negative zero
3357 behaving identically to zero.
3358
02c4bbad
JM
33592012-02-18 Joseph Myers <joseph@codesourcery.com>
3360
3361 [BZ #5993]
3362 * manual/install.texi: Do not document upgrading from libc5.
3363
366842e7
JM
33642012-02-18 Joseph Myers <joseph@codesourcery.com>
3365
3366 [BZ #4596]
3367 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3368
dd54084d
DM
33692012-02-18 David S. Miller <davem@davemloft.net>
3370
3371 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3372 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3373 %o7 across the call.
3374 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3375 instead.
3376 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3377 SETUP_PIC_REG_LEAF.
3378 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3379 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3380 * sysdeps/sparc/crtn.S: Likewise.
3381
2bcc53a3
UD
33822012-02-17 Ulrich Drepper <drepper@gmail.com>
3383
3384 * aout/Makefile: Remove.
3385
09c093b5
RK
33862012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3387
3388 [BZ #13058]
3389 * manual/examples/argp-ex1.c (main): Format definition in GNU
3390 style.
3391 * manual/examples/argp-ex2.c (main): Likewise.
3392 * manual/examples/argp-ex3.c (main): Likewise.
3393 * manual/examples/argp-ex4.c (main): Likewise.
3394 * manual/examples/longopt.c (main): Use new-style prototype
3395 definition.
3396 * manual/examples/strncat.c (main): Specify return type and use
3397 (void) for arguments.
3398 * manual/examples/subopt.c (main): Use char **argv argument.
3399
2ee633a2
JM
34002012-02-17 Joseph Myers <joseph@codesourcery.com>
3401
3402 [BZ #5077]
3403 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3404 rounding modes.
3405
0520adde
FB
34062012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3407
3408 [BZ #6907]
3409 * manual/string.texi (strchr): Change when strchrnul is
3410 recommended.
3411
3f4081cd
DGM
34122012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3413
3414 [BZ #174]
3415 * manual/locale.texi (setlocale): Document LOCPATH.
3416
d1b10e78
JM
34172012-02-17 Joseph Myers <joseph@codesourcery.com>
3418
3419 [BZ #10210]
3420 * manual/process.texi (execle): Move @dots{} before last argument.
3421
79c6869c
PB
34222012-02-17 Paul Bolle <pebolle@tiscali.nl>
3423
3424 [BZ #12047]
3425 * manual/charset.texi (Generic Charset Conversion): Fix typo
3426 (LC_TYPE -> LC_CTYPE).
3427
cc6e48bc
NB
34282012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3429
3430 [BZ #5805]
3431 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3432 (scalbnf): Likewise.
3433 (scalbnl): Likewise.
3434 (scalbln): Likewise.
3435 (scalblnf): Likewise.
3436 (scalblnl): Likewise.
3437 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3438 (vwarnx): Likewise.
3439 (verr): Likewise.
3440 (verrx): Likewise.
3441 * manual/filesys.texi (telldir): Use braces around return type.
3442 * manual/llio.texi (mmap): Add space after comma.
3443 (mmap64): Likewise.
3444 * manual/math.texi (jn): Use @var{} on parameter names.
3445 (jnf): Likewise.
3446 (jnl): Likewise.
3447 (yn): Likewise.
3448 (ynf): Likewise.
3449 (ynl): Likewise.
3450 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3451 line.
3452 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3453 "...".
3454 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3455 (sched_get_priority_max): Likewise.
3456 * manual/signal.texi (sigvec): Add space after comma.
3457 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3458 names.
3459 (if_indextoname): Likewise.
3460 (if_freenameindex): Likewise.
3461 (sendto): Use ',' instead of '.' in prototype.
3462 * manual/startup.texi (syscall): Use @dots{} instead of literal
3463 "...".
3464 * manual/stdio.texi (__fpending): Separate initial words of
3465 paragraph from @deftypefun line.
3466 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3467 "...".
3468 (vsyslog): Use @var{} on parameter names.
3469 * manual/terminal.texi (stty): Use @var{} on parameter names.
3470 * manual/users.texi (getutmp): Use @var{} on parameter names.
3471 (getutmpx): Likewise.
3472
5b23062f
JM
34732012-02-17 Joseph Myers <joseph@codesourcery.com>
3474
3475 [BZ #6884]
3476 * manual/stdio.texi (fopen): Fix typos in description of
3477 ",ccs=STRING".
3478
8dee4833
AJ
34792012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3480
3481 [BZ #4026]
3482 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3483 get clock_id definition.
3484
9078ce93
TS
34852012-02-17 Thomas Schwinge <thomas@schwinge.name>
3486
3487 [BZ #4822]
3488 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3489 (madvise): Cast every argument to void on its own.
3490
3835c55f
JM
34912012-02-17 Joseph Myers <joseph@codesourcery.com>
3492
3493 [BZ #9902]
3494 * manual/startup.texi (Exit Status): Fix typo.
3495
35c47e37
JM
34962012-02-17 Joseph Myers <joseph@codesourcery.com>
3497
3498 [BZ #10140]
3499 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3500 * manual/examples/argp-ex2.c: Likewise.
3501 * manual/examples/argp-ex3.c: Likewise.
3502
e3b69ca7
RH
35032012-02-16 Richard Henderson <rth@redhat.com>
3504
3505 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3506 * sysdeps/s390/s390-32/initfini.c: Remove.
3507 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3508 * sysdeps/s390/s390-64/initfini.c: Remove.
3509
df83af67
KK
35102012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3511
3512 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3513 compiler output for sysdeps/generic/initfini.c.
3514 * sysdeps/sh/elf/initfini.c: Remove file.
3515
f63f3380
DM
35162012-02-16 David S. Miller <davem@davemloft.net>
3517
fb59b3a4
DM
3518 [BZ #11494]
3519 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3520
f63f3380
DM
3521 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3522 * sysdeps/sparc/crti.S: New file.
3523 * sysdeps/sparc/crtn.S: New file.
3524 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3525 * sysdeps/sparc/sparc64/Makefile: Likewise.
3526
df6a4a4a
MF
35272012-02-15 Mike Frysinger <vapier@gentoo.org>
3528
6dd8f3dc 3529 [BZ #3335]
df6a4a4a
MF
3530 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3531
1cac7236
RM
35322012-02-15 Roland McGrath <roland@hack.frob.com>
3533
d2c736f8
RM
3534 [BZ #4822]
3535 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3536
1cac7236
RM
3537 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3538 (write, read, close): Likewise.
3539 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3540
8e475601
JM
35412012-02-15 Joseph Myers <joseph@codesourcery.com>
3542
3543 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3544 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3545 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3546 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3547 <bits/signalfd.h>.
3548 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3549 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3550 bits/signalfd.h.
3551
ed656b40
MP
35522012-02-14 Marek Polacek <polacek@redhat.com>
3553
3554 * sysdeps/x86_64/crti.S: New file.
3555 * sysdeps/x86_64/crtn.S: New file.
3556 * sysdeps/x86_64/elf/initfini.c: Remove file.
3557
2a979d3a
JM
35582012-02-13 Joseph Myers <joseph@codesourcery.com>
3559
3560 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3561 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3562 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3563 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3564 <bits/inotify.h>.
3565 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3566 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3567 bits/inotify.h.
3568
2a418ac3
JM
35692012-02-13 Joseph Myers <joseph@codesourcery.com>
3570
3571 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3572 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3573 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3574 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3575 <bits/eventfd.h>.
3576 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3577 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3578 bits/eventfd.h.
3579
fb779be7
TS
35802012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3581
e19e83c5
RM
3582 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3583 __feraiseexcept instead of feraiseexcept.
7c35ffed 3584
fb779be7
TS
3585 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3586 nanosleep invocations.
3587 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3588 strings, and add error checking for a nanosleep invocations.
3589
59ba27a6
PE
35902012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3591
3592 Replace FSF snail mail address with URLs, as per GNU coding standards.
3593 Most of the snail mail addresses were wrong anyway, and omitting
3594 them makes the source code easier to maintain. Almost all of the
3595 changes are to license notices and to locale LC_IDENTIFICATION
3596 addresses, except for this one:
3597 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3598 not its snail mail address.
3599
57b957eb
RH
36002012-02-09 Richard Henderson <rth@twiddle.net>
3601
af850b1c
RH
3602 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3603 of kernel-features.h.
3604
57b957eb
RH
3605 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3606
6b73181a
MP
36072012-02-08 Marek Polacek <polacek@redhat.com>
3608
3609 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3610 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3611 * sysdeps/gnu/_G_config.h: Likewise.
3612 * sysdeps/generic/_G_config.h: Likewise.
3613
26ecc33a
AS
36142012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3615
6c6dbc63
AS
3616 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3617 tests.
3618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3619
e216c012
AS
3620 * sysdeps/powerpc/powerpc32/crti.S: New file.
3621 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3622 * sysdeps/powerpc/powerpc64/crti.S: New file.
3623 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3624
26ecc33a
AS
3625 * Makeconfig (have-initfini): Don't set.
3626 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3627 * configure.in (nopic_initfini): Don't substitute.
3628 * config.h.in (HAVE_INITFINI): Don't #undef.
3629 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3630 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3631
3add8e13
JM
36322012-02-08 Joseph Myers <joseph@codesourcery.com>
3633
3634 Support crti.S and crtn.S provided directly by architectures.
3635 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3636 [crti.S in sysdirs] (omit-deps): Likewise.
3637 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3638 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3639 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3640 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3641 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3642 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3643 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3644 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3645 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3646 compiler output for sysdeps/generic/initfini.c.
3647 * sysdeps/i386/elf/Makefile: Remove file.
3648 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3649
a22f12b4
MP
36502012-02-07 Marek Polacek <polacek@redhat.com>
3651
3652 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3653 * sysdeps/gnu/_G_config.h: Likewise.
3654 * sysdeps/mach/hurd/_G_config.h: Likewise.
3655
148cf100
MP
36562012-02-07 Marek Polacek <polacek@redhat.com>
3657
3658 * math/Makefile (tests): Add tst-CMPLX2.
3659 * math/tst-CMPLX2.c: New file.
3660
cfdc0dd7
AS
36612012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3662
84ba42c4
AS
3663 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3664
cfdc0dd7
AS
3665 * math/libm-test.inc (jn_test): Add missing L suffix.
3666
622c86f4
MP
36672012-02-06 Marek Polacek <polacek@redhat.com>
3668
3669 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3670 * sysdeps/i386/fpu/e_powf.S: Likewise.
3671 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3672 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3673 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3674 * sysdeps/i386/fpu/e_pow.S: Likewise.
3675 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3676 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3677 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3678 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3679 * sysdeps/i386/fpu/e_log2.S: Likewise.
3680 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3681 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3682 * sysdeps/i386/fpu/e_powl.S: Likewise.
3683 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3684 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3685 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3686 * sysdeps/i386/fpu/e_logl.S: Likewise.
3687 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3688 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3689 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3690 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3691 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3692 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3693 * sysdeps/i386/fpu/e_log.S: Likewise.
3694 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3695 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3696 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3697 * sysdeps/i386/fpu/e_logf.S: Likewise.
3698 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3699 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3700 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3701 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3702 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3703 * sysdeps/i386/fpu/e_log10.S: Likewise.
3704 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3705 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3706 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3707 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3708 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3709 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3710 * sysdeps/i386/asm-syntax.h: Likewise.
3711 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3712 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3713 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3714 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3715 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3716 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3717 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3718 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3719 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3720 * sysdeps/powerpc/sysdep.h: Likewise.
3721 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3722 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3723
d4a54ac6
JM
37242012-02-06 Joseph Myers <joseph@codesourcery.com>
3725
3726 [BZ #411]
3727 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3728
314054ea
JM
37292012-02-06 Joseph Myers <joseph@codesourcery.com>
3730
3731 * sysdeps/i386/sysdep.h: Include <features.h>.
3732 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3733 version.
3734
d8e0ca50
JM
37352012-02-05 Joseph Myers <joseph@codesourcery.com>
3736
3737 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3738 Define.
3739 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3740 LOAD_PIC_REG_STR.
3741
b1da7dd9
JM
37422012-02-03 Joseph Myers <joseph@codesourcery.com>
3743
3744 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3745 (SETUP_PIC_REG): Use GET_PC_THUNK.
3746 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3747 macro.
3748
9a1d9254
JM
37492012-02-03 Joseph Myers <joseph@codesourcery.com>
3750
3751 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3752 for non-PIC compilation.
3753 (SETUP_PIC_REG): Add .p2align directive.
3754 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3755 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3756 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3757 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3758 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3759 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3760 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3761 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3762 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3763 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3764 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3765 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3766 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3767 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3768 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3769 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3770 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3771 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3772 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3773 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3774 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3775 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3776 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3777 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3778 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3779 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3780 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3781 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3782 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3783 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3784 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3785 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3786 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3787 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3788 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3789 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3790 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3791 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3792 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3793 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3794 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3795
65dc3b75
JM
37962012-02-03 Joseph Myers <joseph@codesourcery.com>
3797
3798 * math/tst-CMPLX.c: Include <stdio.h>.
3799
d55bf177
JM
38002012-01-31 Joseph Myers <joseph@codesourcery.com>
3801
3802 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3803 float.
3804 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3805 * sysdeps/sparc/bits/mathdef.h: Likewise.
3806
69db4f8f
MP
38072012-01-31 Marek Polacek <polacek@redhat.com>
3808
3809 * libio/libio.h: Don't define _PARAMS.
3810 * locale/programs/config.h: Don't define PARAMS.
3811 * stdlib/strtol_l.c: Likewise.
3812 (__strtol_l): Remove PARAMS from the prototype.
3813
41b81892
UD
38142012-01-31 Ulrich Drepper <drepper@gmail.com>
3815
3b49edc0
UD
3816 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3817 names. Just use the correct names. Remove unnecessary wrapper
3818 functions.
3819 * malloc/arena.c: Likewise.
3820 * malloc/hooks.c: Likewise.
3821
41b81892
UD
3822 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3823 ARENA_TEST says not to. Simplify test for creation of a new arena.
3824 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3825
27a25b6e
UD
38262012-01-30 Ulrich Drepper <drepper@gmail.com>
3827
3828 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3829 into tail calls.
3830 (update_get_addr): New function.
3831 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3832 GET_ADDR_MODULE parameter.
3833
c8a89e7d
JM
38342012-01-30 Joseph Myers <joseph@codesourcery.com>
3835
3836 * crypt/cert.c: Remove __STDC__ conditionals.
3837 * crypt/crypt-entry.c: Likewise.
3838 * crypt/crypt_util.c: Likewise.
3839 * libio/filedoalloc.c: Likewise.
3840 * libio/fileops.c: Likewise.
3841 * libio/genops.c: Likewise.
3842 * libio/iofclose.c: Likewise.
3843 * libio/iofdopen.c: Likewise.
3844 * libio/iofopen.c: Likewise.
3845 * libio/iofopen64.c: Likewise.
3846 * libio/iogetdelim.c: Likewise.
3847 * libio/iopopen.c: Likewise.
3848 * libio/obprintf.c: Likewise.
3849 * libio/oldfileops.c: Likewise.
3850 * libio/oldiofclose.c: Likewise.
3851 * libio/oldiofdopen.c: Likewise.
3852 * libio/oldiofopen.c: Likewise.
3853 * libio/oldiopopen.c: Likewise.
3854 * libio/wfiledoalloc.c: Likewise.
3855 * libio/wgenops.c: Likewise.
3856 * locale/programs/xmalloc.c: Likewise.
3857 * misc/syslog.c: Likewise.
3858 * stdio-common/xbug.c: Likewise.
3859 * string/memchr.c: Likewise.
3860 * string/memcmp.c: Likewise.
3861 * string/memrchr.c: Likewise.
3862 * string/rawmemchr.c: Likewise.
3863 * sysdeps/posix/getcwd.c: Likewise.
3864 * time/strftime_l.c: Likewise.
3865
3b100462
JM
38662012-01-30 Joseph Myers <joseph@codesourcery.com>
3867
3868 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
3869 * config.make.in (config-cflags-sse2avx): Define.
3870 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3871 Fix typo.
3872
607998af
CM
38732012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3874
3875 * scripts/config.guess: Update from upstream config git repository.
3876 * scripts/config.sub: Likewise.
3877
3601428f
CM
38782012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3879
3ac8b282
CM
3880 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3881 (EM_NUM): Update.
3882 (R_TILEPRO_*, R_TILEGX_*): New macros.
3883
e034841e
CM
3884 * scripts/firstversions.awk: Fix bug in version range handling.
3885
540d7568
CM
3886 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3887
3601428f
CM
3888 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3889
463de862
CM
3890 * include/sys/epoll.h: New file.
3891 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3892 libc_hidden_def.
3893
73139a76
UD
38942012-01-28 Ulrich Drepper <drepper@gmail.com>
3895
96bc5b45
UD
3896 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3897 Avoid unnecessary __WORDSIZE == 64 test.
3898 (fmaxf): Use VEX format if possible.
3899 (fmax): Likewise.
3900 (fminf): Likewise.
3901 (fmin): Likewise.
3902
56f6f6a2
UD
3903 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3904 * math/math_private.h: Remove libc_fegetround* and
3905 libc_fesetround*.
3906 * sysdeps/i386/configure.in: Check for -msse2avx.
3907 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
3908 also if SSE2AVX is defined.
3909 Remove libc_fegetround* and libc_fesetround*.
3910 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
3911 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
3912 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
3913 of HAS_YMM_USABLE.
3914 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3915 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3916 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3917 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3918 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3919
73139a76
UD
3920 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
3921
d73f93a4
AZ
39222012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3923
3924 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
3925 size is not set.
3926 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3927
6ee65ed6
UD
39282012-01-27 Ulrich Drepper <drepper@gmail.com>
3929
3930 [BZ #13618]
3931 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
3932 relocation.
3933 * Makeconfig (libm): Define.
3934 * elf/Makefile: Add rules to build and run tst-relsort1.
3935 * elf/tst-relsort1.c: New file.
3936 * elf/tst-relsort1mod1.c: New file.
3937 * elf/tst-relsort1mod2.c: New file.
3938
8db21882
JM
39392012-01-27 Joseph Myers <joseph@codesourcery.com>
3940
3941 * math/s_ldexp.c: Remove __STDC__ conditionals.
3942 * math/s_ldexpf.c: Likewise.
3943 * math/s_ldexpl.c: Likewise.
3944 * math/s_nextafter.c: Likewise.
3945 * math/s_nexttowardf.c: Likewise.
3946 * math/s_significand.c: Likewise.
3947 * math/s_significandf.c: Likewise.
3948 * math/s_significandl.c: Likewise.
3949 * math/w_jnl.c: Likewise.
3950 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3951 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3952 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3953 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3954 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3955 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3956 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
3957 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3958 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3959 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3960 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3961 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3962 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3963 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3964 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3965 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3966 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3967 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3968 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3969 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3970 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3971 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3972 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3973 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3974 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3975 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3976 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3977 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3978 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3979 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3980 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3981 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3982 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3983 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3984 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3985 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3986 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3987 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3988 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3989 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3990 * sysdeps/ieee754/k_standard.c: Likewise.
3991 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3992 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3993 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3994 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3995 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3996 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3997 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3998 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3999 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4000 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4001 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4002 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4003 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4004 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4005 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4006 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4007 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4008 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4009 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4010 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4011 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4012 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4013 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4014 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4015 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4016 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4017 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4018 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4019 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4020 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4021 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4022 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4023 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4024 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4025 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4026 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4027 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4028 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4029 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4030 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4031 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4032 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4033 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4034 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4035 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4036 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4037 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4038 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4039 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4040 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4041 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4042 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4043 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4044 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4045 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4046 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4047 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4048 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4049 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4050 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4051 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4052 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4053 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4054 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4055 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4056 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4057 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4058 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4059 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4060 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4061 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4062 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4063 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4064 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4065 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4066 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4067 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4068 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4069 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4070 * sysdeps/ieee754/s_matherr.c: Likewise.
4071 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4072 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4073 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4074 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4075
965a54a4
JM
40762012-01-26 Joseph Myers <joseph@codesourcery.com>
4077
4078 * crypt/md5.h: Remove __STDC__ conditionals.
4079 * libio/libioP.h: Likewise.
4080 * locale/programs/config.h: Likewise.
4081 * sysdeps/generic/sysdep.h: Likewise.
4082 * sysdeps/i386/asm-syntax.h: Likewise.
4083 * sysdeps/s390/asm-syntax.h: Likewise.
4084 * sysdeps/unix/sysdep.h: Likewise.
4085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4087
7071ad79
JM
40882012-01-26 Joseph Myers <joseph@codesourcery.com>
4089
4090 * libio/libio.h: Remove __STDC__ conditionals.
4091 * malloc/obstack.h: Likewise.
4092 * math/complex.h: Likewise.
4093 * math/math.h: Likewise.
4094 * sysdeps/generic/_G_config.h: Likewise.
4095 * sysdeps/gnu/_G_config.h: Likewise.
4096 * sysdeps/mach/hurd/_G_config.h: Likewise.
4097 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4098 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4099 * sysdeps/sparc/bits/mathdef.h: Likewise.
4100
afc5ed09
UD
41012012-01-26 Ulrich Drepper <drepper@gmail.com>
4102
4103 [BZ #13583]
4104 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 4105 Clean up HAS_* macros.
afc5ed09 4106 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
4107 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4108 possible.
4109 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4110 HAS_AVX.
4111 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4112 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4113 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4114 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4115 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 4116
bdb6de1d
JM
41172012-01-25 Joseph Myers <joseph@codesourcery.com>
4118
4119 * elf/tst-unique3.cc (gets): Remove declaration.
4120 * elf/tst-unique3lib.cc (gets): Likewise.
4121 * elf/tst-unique3lib2.cc (gets): Likewise.
4122 * elf/tst-unique4.cc (gets): Likewise.
4123
b15549e6
UD
41242012-01-24 Ulrich Drepper <drepper@gmail.com>
4125
4126 * include/stdio.h: Add C++ protection. Add gets declarations and
4127 definitions.
4128 * debug/tst-chk1.c: Don't declare gets here.
4129 * stdio-common/tst-gets.c: Likewise.
4130
a037381f
JM
41312012-01-24 Joseph Myers <joseph@codesourcery.com>
4132
4133 * posix/glob: Remove directory.
4134
f1d4aa75
JM
41352012-01-24 Joseph Myers <joseph@codesourcery.com>
4136
4137 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4138
81c0c964
PT
41392012-01-22 Pino Toscano <toscano.pino@tiscali.it>
4140
4141 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4142 of the non-standard EPFNOSUPPORT.
4143
0ea698ae
ST
41442011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
4145
4146 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4147 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4148 ANYWHERE set to 1 only on KERN_NO_SPACE error.
4149
d220b117
UD
41502012-01-21 Ulrich Drepper <drepper@gmail.com>
4151
4152 * wcsmbs/uchar.h: Test __STDC_VERSION__.
4153
3e1aa84e
UD
41542012-01-20 Ulrich Drepper <drepper@gmail.com>
4155
4156 * nscd/aicache.c (addhstaiX): Do not cache negative results of
4157 transient errors.
4158 * nscd/grpcache.c (cache_addgr): Likewise.
4159 * nscd/hstcache.c (cache_addhst): Likewise.
4160 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4161 * nscd/pwdcache.c (cache_addpw): Likewise.
4162 * nscd/servicescache.c (cache_addserv): Likewise.
4163
400aa020
UD
41642012-01-16 Ulrich Drepper <drepper@gmail.com>
4165
d77e7869
UD
4166 * malloc/malloc.c: Various cleanups.
4167 * malloc/hooks.c: Likewise.
4168
400aa020
UD
4169 * stdlib/Makefile (tests): Add bug-fmtmsg1.
4170 * stdlib/bug-fmtmsg1.c: New file.
4171
4172 * stdlib/fmtmsg.c (init): Add missing unlock.
4173 Patch by Peng Haitao <penght@cn.fujitsu.com>.
4174
e0a309cf
MP
41752012-01-12 Marek Polacek <polacek@redhat.com>
4176
4177 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4178 and _GNU_SOURCE.
4179
929d11c7
WS
41802012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4181
4182 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4183 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4184 macro to ensure uniqueness of label name.
4185 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4186 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4187
41d0e869
UD
41882012-01-11 Ulrich Drepper <drepper@gmail.com>
4189
0cc5ed3b
UD
4190 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4191
41d0e869
UD
4192 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4193 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4194 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4195 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4196
a47a831a
UD
41972012-01-10 Ulrich Drepper <drepper@gmail.com>
4198
daa891c0
UD
4199 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4200
4201 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4202 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4203 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4204
e58ef0f2
UD
4205 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4206
a47a831a 4207 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
4208 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4209 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 4210 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
4211
4212 * math/bits/math-finite.h: Add ldexp support.
4213
a0bfc9c7
MP
42142012-01-10 Marek Polacek <polacek@redhat.com>
4215
4216 * locale/programs/localedef.h (show_archive_content): Add noreturn
4217 attribute.
4218
d6e97a1d
UD
42192012-01-09 Ulrich Drepper <drepper@gmail.com>
4220
4221 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4222
d5835c26
UD
42232012-01-08 Ulrich Drepper <drepper@gmail.com>
4224
e5f484c6
UD
4225 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4226
d5835c26
UD
4227 * io/Makefile (headers): Add bits/poll2.h.
4228
d1f741e9
WS
42292011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
4230
4231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4232 typo #include statement.
4233
ec09c1c4
UD
42342012-01-08 Ulrich Drepper <drepper@gmail.com>
4235
4236 * include/sys/cdefs.h: Define __attribute_alloc_size.
4237 * catgets/gencat.c: Add alloc_size attribute and apply consistently
4238 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4239 * elf/pldd.c: Likewise.
4240 * iconv/iconv_charmap.c: Likewise.
4241 * iconv/iconvconfig.c: Likewise.
4242 * iconv/strtab.c: Likewise.
4243 * locale/programs/locale.c: Likewise.
4244 * locale/programs/localedef.h: Likewise.
4245 * locale/programs/simple-hash.c: Likewise.
4246 * nscd/nscd.h: Likewise.
4247 * nss/makedb.c: Likewise.
4248 * sysdeps/generic/ldconfig.h: Likewise.
4249 * locale/programs/localedef.c: Remove xmalloc prototype.
4250 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4251
20b38e03
PP
42522012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4253
4254 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4255 appropriate.
4256
a0da5fe1
UD
42572012-01-08 Ulrich Drepper <drepper@gmail.com>
4258
1d5a644a 4259 * math/Makefile (tests): Add tst-CMPLX.
669704fd 4260 * math/tst-CMPLX.c: New file.
1d5a644a 4261
8784a6db
UD
4262 * math/complex.h (CMPLXL): Fix typo.
4263
d9a216c0
UD
4264 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4265 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4266 GLIBC_2.16.
4267 * debug/tst-chk1.c: Add poll and ppoll tests.
4268 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4269 * include/sys/poll.h: Add hidden proto for ppoll.
4270 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4271 * sysdeps/mach/hurd/ppoll.c: Likewise.
4272 * io/ppoll.c: Likewise.
4273 * debug/poll_chk.c: New file.
4274 * debug/ppoll_chk.c: New file.
4275 * include/bits/poll2.h: New file.
4276 * io/bits/poll2.h: New file.
4277
ac097f5c
UD
4278 [BZ #1350]
4279 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4280
2119dcfa
UD
4281 * configure.in: static is always set to yes. Remove.
4282 * config.make.in: Don't set build-static.
4283 * Makeconfig: Remove use of build-static.
4284 * dlfcn/Makefile: Likewise.
4285 * elf/Makefile: Likewise.
4286 * math/Makefile: Likewise.
4287 * misc/Makefile: Likewise.
4288 * nptl/Makefile: Likewise.
4289 * sysdeps/mach/hurd/Makefile: Likewise.
4290
121766a9
UD
4291 * configure.in: PWD_P is not used anymore.
4292 * config.make.in: Remove PWD_P entry.
4293
51a1d39c 4294 * configure.in: Remove last remnants of RANLIB.
8720d066 4295 No need to check for signed size_t anymore.
215f4bdc
UD
4296 Don't set libc_commonpagesize and libc_relro_required here for Alpha
4297 and IA-64.
3857022a 4298 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
4299 * aclocal.m4: Likewise.
4300
d3ed7225
UD
4301 * wcsmbs/mbrtoc16.c: Implement using towc function.
4302 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4303 * wcsmbs/wcsmbsload.c: Likewise.
4304 * iconv/gconv_simple.c: Likewise.
4305 * iconv/gconv_int.h: Likewise.
4306 * iconv/gconv_builtin.h: Likewise.
4307 * iconv/iconv_prog.c: Remove CHAR16 handling.
4308
4309 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4310
4311 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4312
a0da5fe1
UD
4313 * configure.in: Remove --with-elf and --enable-bounded options.
4314 Dont set base_machine for ia64. More non-ELF conditions removed.
4315 Remove testing and setting of leading underscore information.
4316 * config.make.in (build-bounded): Set to no.
4317 * config.h.in: Remove NO_UNDERSCORES entry.
4318 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4319 them.
4320 * csu/start.c: Remove !NO_UNDERSCORE code.
4321 * locale/localeinfo.h: Likewise.
4322 * sysdeps/generic/machine-gmon.h: Likewise.
4323 * sysdeps/generic/sysdep.h: Likewise.
4324 * sysdeps/i386/sysdep.h: Likewise.
4325 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4326 * sysdeps/mach/sysdep.h: Likewise.
4327 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4328 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4329 * sysdeps/sh/sysdep.h: Likewise.
4330 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4331 * sysdeps/unix/i386/sysdep.S: Likewise.
4332 * sysdeps/unix/sparc/start.c: Likewise.
4333 * sysdeps/unix/sparc/sysdep.S: Likewise.
4334 * sysdeps/unix/sparc/sysdep.h: Likewise.
4335 * sysdeps/unix/start.c: Likewise.
4336 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4337 * sysdeps/x86_64/sysdep.h: Likewise.
4338
df78418a
UD
43392012-01-07 Ulrich Drepper <drepper@gmail.com>
4340
a784e502
UD
4341 [BZ #13553]
4342 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4343 for non-gcc.
4344 * argp/argp-fmtstream.h: Use const instead __const.
4345 * argp/argp.h: Likewise.
4346 * assert/assert.h: Likewise.
4347 * bits/fenv.h: Likewise.
4348 * bits/sched.h: Likewise.
4349 * bits/sigset.h: Likewise.
4350 * bits/sigthread.h: Likewise.
4351 * catgets/nl_types.h: Likewise.
4352 * conform/data/pthread.h-data: Likewise.
4353 * crypt/crypt-private.h: Likewise.
4354 * crypt/crypt.h: Likewise.
4355 * crypt/crypt_util.c: Likewise.
4356 * ctype/ctype.h: Likewise.
4357 * debug/execinfo.h: Likewise.
4358 * debug/mbsnrtowcs_chk.c: Likewise.
4359 * debug/mbsrtowcs_chk.c: Likewise.
4360 * debug/wcsnrtombs_chk.c: Likewise.
4361 * debug/wcsrtombs_chk.c: Likewise.
4362 * debug/wcstombs_chk.c: Likewise.
4363 * dirent/dirent.h: Likewise.
4364 * dlfcn/dlfcn.h: Likewise.
4365 * elf/neededtest4.c: Likewise.
4366 * grp/grp.h: Likewise.
4367 * gshadow/gshadow.h: Likewise.
4368 * iconv/gconv.h: Likewise.
4369 * iconv/gconv_int.h: Likewise.
4370 * iconv/gconv_simple.c: Likewise.
4371 * iconv/iconv.h: Likewise.
4372 * iconv/loop.c: Likewise.
4373 * iconv/skeleton.c: Likewise.
4374 * include/aio.h: Likewise.
4375 * include/aliases.h: Likewise.
4376 * include/argz.h: Likewise.
4377 * include/arpa/inet.h: Likewise.
4378 * include/assert.h: Likewise.
4379 * include/dirent.h: Likewise.
4380 * include/dlfcn.h: Likewise.
4381 * include/execinfo.h: Likewise.
4382 * include/fcntl.h: Likewise.
4383 * include/fenv.h: Likewise.
4384 * include/glob.h: Likewise.
4385 * include/grp.h: Likewise.
4386 * include/libintl.h: Likewise.
4387 * include/mntent.h: Likewise.
4388 * include/netdb.h: Likewise.
4389 * include/pwd.h: Likewise.
4390 * include/rpc/netdb.h: Likewise.
4391 * include/sched.h: Likewise.
4392 * include/search.h: Likewise.
4393 * include/shadow.h: Likewise.
4394 * include/signal.h: Likewise.
4395 * include/stdio.h: Likewise.
4396 * include/stdlib.h: Likewise.
4397 * include/string.h: Likewise.
4398 * include/sys/socket.h: Likewise.
4399 * include/sys/stat.h: Likewise.
4400 * include/sys/statfs.h: Likewise.
4401 * include/sys/statvfs.h: Likewise.
4402 * include/sys/syslog.h: Likewise.
4403 * include/sys/time.h: Likewise.
4404 * include/sys/uio.h: Likewise.
4405 * include/time.h: Likewise.
4406 * include/unistd.h: Likewise.
4407 * include/utmp.h: Likewise.
4408 * include/wchar.h: Likewise.
4409 * include/wctype.h: Likewise.
4410 * inet/aliases.h: Likewise.
4411 * inet/arpa/inet.h: Likewise.
4412 * inet/netinet/ether.h: Likewise.
4413 * inet/netinet/in.h: Likewise.
4414 * intl/libintl.h: Likewise.
4415 * io/bits/fcntl2.h: Likewise.
4416 * io/fcntl.h: Likewise.
4417 * io/ftw.h: Likewise.
4418 * io/sys/poll.h: Likewise.
4419 * io/sys/stat.h: Likewise.
4420 * io/sys/statfs.h: Likewise.
4421 * io/sys/statvfs.h: Likewise.
4422 * io/utime.h: Likewise.
4423 * libio/bits/stdio.h: Likewise.
4424 * libio/bits/stdio2.h: Likewise.
4425 * libio/libio.h: Likewise.
4426 * libio/libioP.h: Likewise.
4427 * libio/stdio.h: Likewise.
4428 * locale/lc-ctype.c: Likewise.
4429 * locale/locale.h: Likewise.
4430 * login/utmp.h: Likewise.
4431 * malloc/arena.c: Likewise.
4432 * malloc/malloc.c: Likewise.
4433 * malloc/malloc.h: Likewise.
4434 * malloc/mcheck.c: Likewise.
4435 * malloc/mtrace.c: Likewise.
4436 * math/bits/mathcalls.h: Likewise.
4437 * math/fenv.h: Likewise.
4438 * math/math_private.h: Likewise.
4439 * misc/bits/error.h: Likewise.
4440 * misc/bits/syslog.h: Likewise.
4441 * misc/err.h: Likewise.
4442 * misc/error.h: Likewise.
4443 * misc/fstab.h: Likewise.
4444 * misc/mntent.h: Likewise.
4445 * misc/regexp.h: Likewise.
4446 * misc/search.h: Likewise.
4447 * misc/sgtty.h: Likewise.
4448 * misc/sys/mman.h: Likewise.
4449 * misc/sys/syslog.h: Likewise.
4450 * misc/sys/uio.h: Likewise.
4451 * misc/sys/xattr.h: Likewise.
4452 * misc/ttyent.h: Likewise.
4453 * nis/rpcsvc/ypclnt.h: Likewise.
4454 * nss/nss.h: Likewise.
4455 * posix/bits/unistd.h: Likewise.
4456 * posix/fnmatch.h: Likewise.
4457 * posix/glob.h: Likewise.
4458 * posix/sched.h: Likewise.
4459 * posix/spawn.h: Likewise.
4460 * posix/sys/wait.h: Likewise.
4461 * posix/unistd.h: Likewise.
4462 * posix/wordexp.h: Likewise.
4463 * pwd/pwd.h: Likewise.
4464 * resolv/netdb.h: Likewise.
4465 * resource/sys/resource.h: Likewise.
4466 * rt/aio.h: Likewise.
4467 * rt/bits/mqueue2.h: Likewise.
4468 * rt/mqueue.h: Likewise.
4469 * shadow/shadow.h: Likewise.
4470 * signal/signal.h: Likewise.
4471 * socket/send.c: Likewise.
4472 * socket/sendto.c: Likewise.
4473 * socket/sys/socket.h: Likewise.
4474 * stdio-common/printf.h: Likewise.
4475 * stdlib/bits/stdlib.h: Likewise.
4476 * stdlib/fmtmsg.h: Likewise.
4477 * stdlib/monetary.h: Likewise.
4478 * stdlib/stdlib.h: Likewise.
4479 * stdlib/ucontext.h: Likewise.
4480 * streams/stropts.h: Likewise.
4481 * string/argz.h: Likewise.
4482 * string/bits/string2.h: Likewise.
4483 * string/string.h: Likewise.
4484 * string/strings.h: Likewise.
4485 * sunrpc/rpc/auth.h: Likewise.
4486 * sunrpc/rpc/auth_des.h: Likewise.
4487 * sunrpc/rpc/clnt.h: Likewise.
4488 * sunrpc/rpc/netdb.h: Likewise.
4489 * sunrpc/rpc/pmap_clnt.h: Likewise.
4490 * sunrpc/rpc/xdr.h: Likewise.
4491 * sysdeps/generic/inttypes.h: Likewise.
4492 * sysdeps/generic/net/if.h: Likewise.
4493 * sysdeps/generic/sys/swap.h: Likewise.
4494 * sysdeps/gnu/net/if.h: Likewise.
4495 * sysdeps/gnu/utmpx.h: Likewise.
4496 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4497 * sysdeps/i386/i486/bits/string.h: Likewise.
4498 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4499 * sysdeps/s390/bits/string.h: Likewise.
4500 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4501 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4502 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4503 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4504 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4505 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4506 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4507 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4508 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4509 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4510 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4511 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4512 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4513 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4514 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4515 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4516 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4517 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4518 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4519 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4520 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4521 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4522 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4523 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4524 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4525 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4526 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4527 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4528 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4529 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4530 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4531 * sysvipc/sys/ipc.h: Likewise.
4532 * sysvipc/sys/msg.h: Likewise.
4533 * sysvipc/sys/sem.h: Likewise.
4534 * sysvipc/sys/shm.h: Likewise.
4535 * termios/termios.h: Likewise.
4536 * time/sys/time.h: Likewise.
4537 * time/time.h: Likewise.
4538 * wcsmbs/bits/wchar2.h: Likewise.
4539 * wcsmbs/uchar.h: Likewise.
4540 * wcsmbs/wchar.h: Likewise.
4541 * wctype/wctype.h: Likewise.
4542
0269750c
UD
4543 [BZ #13551]
4544 * Makeconfig: Remove all but ELF support including AIX support.
4545 * Makerules: Likewise.
4546 * config.h.in: Likewise.
4547 * config.make.in: Likewise.
4548 * configure: Likewise.
4549 * configure.in: Likewise.
4550 * csu/Makefile: Likewise.
4551 * csu/version.c: Likewise.
4552 * debug/Makefile: Likewise.
4553 * dlfcn/Makefile: Likewise.
4554 * elf/Makefile: Likewise.
4555 * extra-lib.mk: Likewise.
4556 * iconv/Makefile: Likewise.
4557 * include/libc-symbols.h: Likewise.
4558 * include/shlib-compat.h: Likewise.
4559 * resolv/Makefile: Likewise.
4560 * resolv/res_libc.c: Likewise.
4561 * rt/Makefile: Likewise.
4562 * sysdeps/i386/asm-syntax.h: Likewise.
4563 * sysdeps/i386/sysdep.h: Likewise.
4564 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4565 * sysdeps/mach/sysdep.h: Likewise.
4566 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4567 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4568 * sysdeps/s390/asm-syntax.h: Likewise.
4569 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4570 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4571 * sysdeps/sh/sysdep.h: Likewise.
4572 * sysdeps/unix/sparc/sysdep.h: Likewise.
4573 * sysdeps/wordsize-32/divdi3.c: Likewise.
4574 * sysdeps/x86_64/sysdep.h: Likewise.
4575
00bbd29b
UD
4576 * argp/Versions: Remove _argp_unlock_xxx.
4577
4578 [BZ #13559]
4579 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4580 * abilist/libBrokenLocale.abilist: Likewise.
4581 * abilist/libanl.abilist: Likewise.
4582 * abilist/libc.abilist: Likewise.
4583 * abilist/libcrypt.abilist: Likewise.
4584 * abilist/libdl.abilist: Likewise.
4585 * abilist/libm.abilist: Likewise.
4586 * abilist/libnsl.abilist: Likewise.
4587 * abilist/libpthread.abilist: Likewise.
4588 * abilist/libresolv.abilist: Likewise.
4589 * abilist/librt.abilist: Likewise.
4590 * abilist/libthread_db.abilist: Likewise.
4591 * abilist/libutil.abilist: Likewise.
4592 * abilist/libnss_db.abilist: New file.
4593
4594 * scripts/abilist.awk: Add support for indirect functions.
4595
a2693a0e
UD
4596 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4597
3f05895f
UD
4598 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4599
ecb6fb48
UD
4600 * shlib-versions: Remove entries for ports architectures.
4601
664f8cb9
UD
4602 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4603 files in ports.
4604 * elf/stackguard-macros.h: Remove support for IA-64.
4605 * elf/tst-auditmod1.c: Likewise.
4606 * sysdeps/generic/ldsodefs.h: Likewise.
4607
7ae81d88
UD
4608 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4609 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4610 configure files.
4611
bdeba135
UD
4612 [BZ #13552]
4613 * configure.in: Remove --enable-omitfp support.
4614 * FAQ.in: Adjust.
4615 * config.make.in: Likewise.
4616 * Makeconfig: Likewise.
4617 * manual/install.texi: Likewise.
4618
d75a0a62
UD
4619 In case anyone cares, the IA-64 architecture could move to ports.
4620 * sysdeps/ia64/*: Removed.
4621 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 4622 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 4623
dcc9756b
UD
4624 [BZ #13555]
4625 * configure.in: Remove entries for unsupported architectures.
4626
d3761ebc 4627 [BZ #13533]
9954432e
UD
4628 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4629 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4630 routines.
4631 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4632 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4633 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4634 fall back to using wcrtomb.
4635 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4636 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4637 renaming.
4638 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4639 * wcsmbs/tst-c16c32-1.c: New file.
4640
4641 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4642 local variable.
4643
c3a87236
UD
4644 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4645
28926a1b
UD
4646 * elf/tst-unique3.cc: Add explicit declaration of gets.
4647 * elf/tst-unique3lib.cc: Likewise.
4648 * elf/tst-unique3lib2.cc: Likewise.
4649 * elf/tst-unique4.cc: Likewise.
4650
df78418a
UD
4651 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4652
8ecd6b2a
JM
46532012-01-06 Joseph Myers <joseph@codesourcery.com>
4654
4655 [BZ #13566]
4656 * assert/assert.h (static_assert): Don't define for C++.
4657 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4658 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4659
9f115170
UD
46602012-01-03 Ulrich Drepper <drepper@gmail.com>
4661
5e0d0300
UD
4662 * iconv/loop.c (single loop): Fix assertion in storing of
4663 remaining bytes.
4664
9f115170
UD
4665 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4666
81fb02b0
UD
46672012-01-01 Ulrich Drepper <drepper@gmail.com>
4668
4669 * posix/getconf.c: Update copyright year.
4670 * nss/getent.c: Likewise.
a316c1f6 4671 * nss/makedb.c: Likewise.
81fb02b0
UD
4672 * iconv/iconvconfig.c: Likewise.
4673 * iconv/iconv_prog.c: Likewise.
4674 * elf/ldconfig.c: Likewise.
a316c1f6
UD
4675 * elf/pldd.c: Likewise.
4676 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
4677 * catgets/gencat.c: Likewise.
4678 * csu/version.c: Likewise.
4679 * elf/ldd.bash.in: Likewise.
4680 * elf/sprof.c (print_version): Likewise.
4681 * locale/programs/locale.c: Likewise.
4682 * locale/programs/localedef.c: Likewise.
a316c1f6 4683 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
4684 * nscd/nscd.c (print_version): Likewise.
4685 * debug/xtrace.sh: Likewise.
4686 * malloc/memusage.sh: Likewise.
4687 * malloc/mtrace.pl: Likewise.
4688 * debug/catchsegv.sh: Likewise.
4689
2ba92745
JJ
46902011-12-30 Jakub Jelinek <jakub@redhat.com>
4691
4692 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4693 pure attribute.
4694
dadebdae
UD
46952011-12-24 Ulrich Drepper <drepper@gmail.com>
4696
d3761ebc 4697 [BZ #13533]
db6af3eb
UD
4698 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4699 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4700 transformations.
4701 * iconv/gconv_int.h: Likewise.
4702 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4703 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4704 from libc for GLIBC_2.16.
4705 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4706 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4707 * wcsmbs/uchar.h: Really define mbstate_t.
4708 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4709 * wcsmbs/c16rtomb.c: New file.
4710 * wcsmbs/mbrtoc16.c: New file.
4711 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4712 for C/POSIX locale.
4713 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4714 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4715
dadebdae
UD
4716 * wcsmbs/wchar.h: Add missing __restrict.
4717
67371b56
UD
47182011-12-23 Ulrich Drepper <drepper@gmail.com>
4719
74033a25
UD
4720 [BZ #13532]
4721 * time/Makefile (routines): Add timespec_get.
4722 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4723 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4724 timespec for ISO C11.
4725 * time/timespec_get.c: New file.
4726 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4727 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4728
380d7e87
UD
4729 [BZ #13531]
4730 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4731 * stdlib/stdlib.h: Declare aligned_alloc.
4732 * Versions.def: Add GLIBC_2.16 for libc.
4733 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4734
4e9e7a35
UD
4735 [BZ 13527]
4736 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4737 ISO C11.
4738
380d7e87 4739 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
4740 code.
4741
03a71829
UD
4742 [BZ #13528]
4743 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4744
839e283e
UD
4745 [BZ #13529]
4746 * assert/assert.h (static_assert): Define.
4747
ce5294e2 4748 * version.h: Update for 2.16 development version.
90fa7312 4749
8d44e150 4750 [BZ #13526]
d7809905
UD
4751 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4752 _ISOC11_SOURCE.
4753
c0da14cd
UD
4754 * version.h (RELEASE): Bump for 2.15 release.
4755 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4756
530a3249
MP
4757 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4758 Patch by Marek Polacek <mpolacek@redhat.com>.
4759
67371b56
UD
4760 * bits/byteswap.h: Protect long long constants with __extension__.
4761 * sysdeps/i386/bits/byteswap.h: Likewise.
4762 * sysdeps/ia64/bits/byteswap.h: Likewise.
4763 * sysdeps/s390/bits/byteswap.h: Likewise.
4764 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4765
15db4de1
LD
47662011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4767
4768 [BZ #13540]
bbe315ea
LD
4769 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4770 destination buffer.
15db4de1
LD
4771 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4772
2b2596b1
MP
47732011-12-23 Marek Polacek <polacek@redhat.com>
4774
4775 * elf/dl-addr.c (determine_info): Add inline keyword.
4776 * elf/tst-auditmod4b.c (check_avx): Likewise.
4777 * elf/tst-auditmod6b.c (check_avx): Likewise.
4778 * elf/tst-auditmod6c.c (check_avx): Likewise.
4779 * elf/tst-auditmod7b.c (check_avx): Likewise.
4780
70c6c246
UD
47812011-12-23 Ulrich Drepper <drepper@gmail.com>
4782
4783 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4784 !__SSE_MATH__.
4785
c044cf14
LD
47862011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4787
15db4de1 4788 [BZ #13540]
c044cf14
LD
4789 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4790 processing for last bytes.
4791
6b13d9d9
BH
47922011-08-06 Bruno Haible <bruno@clisp.org>
4793
d455f537
BH
4794 [BZ #13061]
4795 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4796 U+0385, not to U+1FEE.
4797
6b13d9d9
BH
4798 [BZ #13062]
4799 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4800 entry for U+00A5 U+0301.
4801
db910efd
UD
48022011-12-22 Ulrich Drepper <drepper@gmail.com>
4803
27deeafc
UD
4804 [BZ #13166]
4805 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4806 buffer for the output is too small.
4807
aed9d171
UD
4808 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4809 optimization.
4810
db910efd
UD
4811 [BZ #13185]
4812 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4813 SSE flags if possible.
4814
2bd779ae
LD
48152011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4816
e7f9dac3 4817 [BZ #13540]
2bd779ae
LD
4818 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4819 processing for last bytes.
4820
154bfc16
JM
48212011-12-22 Joseph Myers <joseph@codesourcery.com>
4822
4823 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4824 (syscall-list-default-options, syscall-list-default-condition)
4825 (syscall-list-includes): Define.
4826 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4827 list of ABIs and options and #if conditions for each ABI. Do not
4828 handle common syscalls between ABIs specially.
4829 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4830 Remove.
4831 (syscall-list-variants, syscall-list-32bit-options)
4832 (syscall-list-32bit-condition, syscall-list-64bit-options)
4833 (syscall-list-64bit-condition): Define.
4834 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4835 (syscall-list-variants, syscall-list-32bit-options)
4836 (syscall-list-32bit-condition, syscall-list-64bit-options)
4837 (syscall-list-64bit-condition): Define.
4838 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4839 Remove.
4840 (syscall-list-variants, syscall-list-32bit-options)
4841 (syscall-list-32bit-condition, syscall-list-64bit-options)
4842 (syscall-list-64bit-condition): Define.
4843 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4844 Remove.
4845 (syscall-list-variants, syscall-list-32bit-options)
4846 (syscall-list-32bit-condition, syscall-list-64bit-options)
4847 (syscall-list-64bit-condition): Define.
4848
21eaf3a5
UD
48492011-12-22 Ulrich Drepper <drepper@gmail.com>
4850
16c6f992
UD
4851 * locale/iso-639.def: Add brx entry.
4852
41043168
UD
4853 [BZ #13328]
4854 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4855 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4856
21eaf3a5
UD
4857 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4858 __feraiseexcept_renamed.
4859
e3a851a2
UD
48602011-12-21 Ulrich Drepper <drepper@gmail.com>
4861
4920765e
UD
4862 [BZ #13538]
4863 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4864 EPOLLET with unsigned values.
4865 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4866 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4867
e3a851a2
UD
4868 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4869 to large cancellation.
4870 * math/s_cacoshf.c: Likewise.
4871 * math/s_cacoshl.c: Likewise.
4872
b27e24b8
RK
48732011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4874
4875 [BZ #13305]
aebefeee 4876 [BZ #12786]
b27e24b8
RK
4877 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4878 * math/s_cacoshf.c: Likewise.
4879 * math/s_cacoshl.c: Likewise.
4880
ee190f67
UD
48812011-12-21 Ulrich Drepper <drepper@gmail.com>
4882
4883 [BZ #13439]
4884 * iconv/gconv.h: Define __GCONV_SWAP.
4885 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4886 * iconvdata/utf-16.c: Likewise.
4887 * iconvdata/utf-32.c: Likewise.
4888
707f25df
AS
48892011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4890
4891 [BZ #13524]
4892 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4893 numerator after shifting it by one limb.
4894
d2daaa1e
RÁE
48952011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4896
4897 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4898 under [__USE_EXTERN_INLINES].
4899
a4647e72
UD
49002011-12-17 Ulrich Drepper <drepper@gmail.com>
4901
4902 [BZ #13446]
4903 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4904
f0b264f1
AZ
49052011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4906
4907 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
4908 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
4909 optimized code.
4910 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
4911 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
4912 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
4913 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
4914 for strncasecmp/strncasecmp_l compilation.
4915 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
4916 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
4917
8ef4f244
MP
49182011-12-08 Marek Polacek <mpolacek@redhat.com>
4919
4920 [BZ #13484]
4921 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
4922 of __asm__.
4923
97ac2654
UD
49242011-12-17 Ulrich Drepper <drepper@gmail.com>
4925
4926 [BZ #13506]
4927 * time/tzfile.c (__tzfile_read): Check values from file header.
4928
91d2a845
WS
49292011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4930
4931 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
4932 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
4933 * powerpc/powerpc32/dl-start.S: Likewise.
4934 * powerpc/powerpc32/elf/start.S: Likewise.
4935 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4936 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
4937 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4938 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
4939 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4940 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
4941 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
4942 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4943 * powerpc/powerpc32/fpu/s_round.S: Likewise.
4944 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4945 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4946 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4947 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4948 * powerpc/powerpc32/memset.S: Likewise.
4949 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4950 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4951 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4952 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4953 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4954 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4955 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4956 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4957 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
4958 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
4959 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
4960 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4961 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4962
a1267ba1
AZ
49632011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4964
4965 * math/libm-test.inc: Added more nearbyint tests.
4966 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
4967 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
4968 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
4969 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
4970
ad8ac1bd
RL
49712011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
4972
4973 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
4974 FD_CLOEXEC.
4975
1d3e4b61
UD
49762011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4977
4978 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
4979 Add wcscpy-ssse3 wcscpy-c.
4980 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
4981 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
4982 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
4983 * sysdeps/x86_64/wcschr.S: New file.
4984 * sysdeps/x86_64/wcsrchr.S: New file.
4985 * string/test-strcmp.c: Remove checking of wcscmp function for
4986 wrong alignments.
4987 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
4988 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
4989 wcsrchr-sse2 wcsrchr-c.
4990 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
4991 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
4992 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
4993 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
4994 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
4995 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
4996 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
4997 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
4998 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
4999 * wcsmbc/wcschr.c (WCSCHR): New macro.
5000
5b330a2d
UD
50012011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5002
5003 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5004 * wcsmbs/test-wcsrchr.c: New file.
5005 * string/test-strrchr.c: Add wcsrchr support.
5006 (WIDE): New macro.
5007 * wcsmbs/test-wcscpy.c: New file.
5008 * string/test-strcpy.c: Add wcscpy support.
5009 (WIDE): New macro.
26428b7c 5010
f039c043
UD
50112011-12-10 Ulrich Drepper <drepper@gmail.com>
5012
5013 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5014 the inner loop.
5015
850fb039
AS
50162011-12-06 Andreas Schwab <schwab@linux-m68k.org>
5017
5018 [BZ #13472]
5019 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5020
4efbd5cb
UD
50212011-12-04 Ulrich Drepper <drepper@gmail.com>
5022
52ff5dd0 5023 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 5024 Minor optimizations.
52ff5dd0 5025
4efbd5cb
UD
5026 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5027 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5028 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5029
8a426e12
UD
50302011-12-03 Ulrich Drepper <drepper@gmail.com>
5031
aff2453d
UD
5032 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5033 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5034 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5035 for gcc to avoid warnings.
5036 * inet/Makefile (tests): Add tst-checks.
5037 * inet/tst-checks.c: New file.
5038
5039 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5040 warning.
5041
5042 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5043 __wmemcmp_sse2.
5044
5045 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5046 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5047
8a426e12
UD
5048 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5049
9bea3473
UD
50502011-12-02 Ulrich Drepper <drepper@gmail.com>
5051
3a965496
UD
5052 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5053 problem.
5054
9bea3473
UD
5055 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5056
f101631b
UD
50572011-11-29 Joseph Myers <joseph@codesourcery.com>
5058
5059 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5060 conditional on GCC version.
5061 (__arch_compare_and_exchange_val_8_acq)
5062 (__arch_compare_and_exchange_val_16_acq)
5063 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5064 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5065 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5066
a98275aa
UD
50672011-12-02 Joseph Myers <joseph@codesourcery.com>
5068
5069 * sysdeps/sh/backtrace.c: New file.
5070
d4cc29a2
AS
50712011-12-02 Andreas Schwab <schwab@redhat.com>
5072
5073 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
5074 parenthesis.
5075
6257af2d
AS
50762011-12-01 Andreas Schwab <schwab@redhat.com>
5077
5078 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5079 falling back to utime.
5080
b5f44c1a
AS
50812011-11-30 Andreas Schwab <schwab@redhat.com>
5082
5083 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
5084 expectations for float.
5085
f3a6cc0a
AS
50862011-11-29 Andreas Schwab <schwab@redhat.com>
5087
5088 * locale/weight.h (findidx): Add parameter len.
5089 * locale/weightwc.h (findidx): Likewise.
5090 * posix/fnmatch_loop.c (FCT): Adjust caller.
5091 * posix/regcomp.c (build_equiv_class): Likewise.
5092 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
5093 * posix/regexec.c (check_node_accept_bytes): Likewise.
5094 * string/strcoll_l.c (STRCOLL): Likewise.
5095 * string/strxfrm_l.c (STRXFRM): Likewise.
5096
9d65ea3a
UD
50972011-11-17 Ulrich Drepper <drepper@gmail.com>
5098
5099 * Makefile.in: Remove CVSOPT handling.
5100 * configure.in: Remove use of AC_REVISION.
5101 * iconvdata/Makefile (distribute): No need to filter out CVS.
5102 * scripts/list-sources.sh: Remove CVS, subversion and monotone
5103 handling.
5104
5583a086
AS
51052011-11-16 Andreas Schwab <schwab@redhat.com>
5106
5107 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5108 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5109 [USE_AS_STRNCASECMP_L]: Likewise.
5110 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5111 NO_TLS_DIRECT_SEG_REFS.
5112 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5113 Fix argument offsets for non-PIC.
5114 [USE_AS_STRNCASECMP_L]: Likewise.
5115 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5116 NO_TLS_DIRECT_SEG_REFS.
5117
d62a8200
UD
51182011-11-15 Ulrich Drepper <drepper@gmail.com>
5119
9d65ea3a 5120 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
5121 O_CLOEXEC.
5122 * locale/loadlocale.c (_nl_load_locale): Likewise.
5123
09f93bd3
AS
51242011-11-15 Andreas Schwab <schwab@redhat.com>
5125
446514f9
AS
5126 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5127 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5128 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5129 (SYSCALL_GETTIME): Set errno on error.
5130
09f93bd3
AS
5131 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5132 count references to noai6ai_cached.
5133
312be3f9
UD
51342011-11-15 Ulrich Drepper <drepper@gmail.com>
5135
5136 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5137
5138 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5139 FD_CLOEXEC for /proc/self/maps.
5140
5141 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5142 FD_CLOEXEC for /proc/meminfo.
5143
5144 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5145 gai.conf.
5146
5147 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
5148 FD_CLOEXEC for given file.
5149
5150 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5151
5152 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5153 FD_CLOEXEC for /etc/hosts.
5154 (_gethtent): Likewise.
5155
5156 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5157
5158 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5159 cancellation and set FD_CLOEXEC for /etc/netgroup.
5160
5161 * nss/nss_files/files-key.c (search): Don't allow cancellation when
5162 reading /etc/publickey.
5163
5164 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5165 allow cancellation when reading /etc/group.
5166
5167 * nss/nss_files/files-alias.c (internal_setent): Don't allow
5168 cancellation.
5169 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
5170
5171 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5172 when using data file.
5173
5174 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5175
5176 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5177 (write_nis_obj): Use "c" and "e" in fopen.
5178
5179 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5180
5181 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5182
5183 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5184
5185 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5186
5187 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5188 locale.alias.
5189
5190 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5191
5192 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5193
5194 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5195
5196 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5197 file parsing and set FD_CLOEXEC.
5198
82af0fa8
UD
51992011-11-14 Ulrich Drepper <drepper@gmail.com>
5200
5201 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5202
a5fb313c
AS
52032011-11-14 Andreas Schwab <schwab@redhat.com>
5204
5205 * malloc/arena.c (arena_get2): Don't call reused_arena when
5206 _int_new_arena failed.
5207
6abf3465
UD
52082011-11-14 Ulrich Drepper <drepper@gmail.com>
5209
5210 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5211 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5212 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5213 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5214 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5215 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5216 to compile strcasecmp and strncasecmp.
5217 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5218 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5219
5220 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5221
76e3966e
UD
52222011-11-13 Ulrich Drepper <drepper@gmail.com>
5223
5224 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5225 locale-defines.sym to gen-as-const-headers.
5226 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5227 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5228 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5229 to compile strcasecmp and strncasecmp.
5230 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5231 strcasecmp_l and strncasecmp_l.
5232 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5233 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5234 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5235 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5236 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5237 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5238 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5239 * sysdeps/i386/i686/multiarch/strncase.S: New file.
5240 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5241 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5242 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5243
ab26144e
UD
52442011-11-12 Ulrich Drepper <drepper@gmail.com>
5245
7edb22ef
UD
5246 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5247 result of SYSDEP_GETTIME_CPU to retval.
5248 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5249 parameter list to macro. Remove trailing semicolon. Adjust users.
5250
9694fc44
UD
5251 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5252 variable.
5253
8ad89ef8
UD
5254 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5255 mantissa words.
5256 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5257
0c822ef9
UD
5258 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5259 from unused variable.
5260
874e0564
UD
5261 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5262 DWARF definitions.
5263 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5264 for assembling.
5265
3a2edc79
UD
5266 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5267 over namespaces.
5268
f3c2577f
UD
5269 * sunrpc/rpc_prot.c (rejected): Fix case value.
5270
294ce126
UD
5271 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5272 unsigned long long int to avoid warnings in shift.
5273
5e2b63c6
UD
5274 * posix/regex_internal.c (re_string_reconstruct): Actually use result
5275 of use of trans.
5276 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5277 variable tmp.
5278
e7f4b08e
UD
5279 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5280 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5281 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5282
ab26144e
UD
5283 * nis/nis_table.c (nis_list): Use variable of correct type for
5284 result of __follow_path call.
5285
8a6d5255
AZ
52862011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5287
5288 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5289 of math functions ceil, trunc, floor, round, and sqrt, when
5290 avaliable on the platform.
5291 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5292 name clash.
5293 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5294 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5295 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5296
aaddc98c
MP
52972011-10-30 Marek Polacek <mpolacek@redhat.com>
5298
5299 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5300 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5301
95b7042b
RM
53022011-11-11 Roland McGrath <roland@hack.frob.com>
5303
5304 * include/unistd.h: Fix __readlink return type.
5305 Reported by Chris Metcalf <cmetcalf@tilera.com>.
5306
57769839
UD
53072011-11-11 Ulrich Drepper <drepper@gmail.com>
5308
5309 * stdlib/ucontext.h: Undo last change for makecontext.
5310
edc5984d
AS
53112011-11-11 Andreas Schwab <schwab@redhat.com>
5312
98591e58
AS
5313 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5314
edc5984d
AS
5315 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5316 * setjmp/setjmp.h: Mark functions as non-leaf.
5317 * setjmp/bits/setjmp2.h: Likewise.
5318 * stdlib/ucontext.h: Likewise.
5319
77cdc054
AS
53202011-11-10 Andreas Schwab <schwab@redhat.com>
5321
5322 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5323 (reused_arena): Don't check arena limit.
5324 (arena_get2): Atomically check arena limit.
5325
fe72eebd
UD
53262011-11-08 Ulrich Drepper <drepper@gmail.com>
5327
5f078c32
UD
5328 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5329 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5330
fe72eebd
UD
5331 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5332 instructions.
5333
ae1bc2fa
AS
53342011-11-07 Andreas Schwab <schwab@redhat.com>
5335
7583a88d
AS
5336 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5337 handler when locking.
5338
ae1bc2fa
AS
5339 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5340 Fix size of allocated buffer.
5341
10fb0bfa
AS
53422011-11-04 Andreas Schwab <schwab@redhat.com>
5343
998832a4
AS
5344 [BZ #10103]
5345 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5346 declarations for long double functions.
5347 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5348
10fb0bfa
AS
5349 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5350
3d7ba52b
AS
53512011-11-03 Andreas Schwab <schwab@redhat.com>
5352
a9ae54a1
AS
5353 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5354 installed.
5355
3d7ba52b
AS
5356 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5357 is disabled.
5358
bc8db248
ST
53592011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5360
5361 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5362
45b96dd6
AS
53632011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5364
647776f6
AS
5365 * include/alloca.h (stackinfo_alloca_round): Define.
5366 (extend_alloca): Use it.
5367 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5368 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5369 here.
5370
d91a8b93
AS
5371 * scripts/check-local-headers.sh: Ignore libaudit.h.
5372
45b96dd6
AS
5373 * nscd/Makefile (extra-objs): Make recursively expanded.
5374
432d41ce
UD
53752011-11-01 Ulrich Drepper <drepper@gmail.com>
5376
34372fc6
UD
5377 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5378 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5379
fadb59f8
UD
5380 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5381 * posix/tst-rfc3484-2.c: Likewise.
5382 * posix/tst-rfc3484-3.c: Likewise.
5383
78239589
UD
5384 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5385 process_vm_writev.
5386 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5387 process_vm_writev.
5388 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5389 process_vm_writev from libc using GLIBC_2.15 version.
5390
432d41ce
UD
5391 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5392
02f9c6cf
PP
53932011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5394
5395 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5396 stack usage.
5397
3a2c0242
UD
53982011-10-31 Ulrich Drepper <drepper@gmail.com>
5399
f4ec4833
UD
5400 [BZ #13367]
5401 * nss/getent.c (initgroups_keys): Show error message in case no group
5402 names are given.
5403
3a2c0242
UD
5404 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5405 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5406 __bump_nl_timestamp.
5407 * nscd/connections (nscd_init): When host database is served open
5408 netlink socket and request notification about configuration changes.
5409 (main_loop_poll): Track netlink file descriptor and bump timestamp
5410 in case data becomes available.
5411 (main_loop_epoll): Likewise.
5412 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5413 (database_pers_head): Add extra_data fileds.
5414 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5415 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5416 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5417 Adjust caller.
5418 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5419 in6ai data, call __free_in6ai.
5420 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5421 Add -DHAVE_NETLINK.
5422 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5423 interface information. Reuse previous data if netlink timestamp
5424 is not changed.
5425 (__bump_nl_timestamp): New function.
5426 (__free_in6ai): New function.
5427
636064eb
UD
54282011-10-30 Ulrich Drepper <drepper@gmail.com>
5429
5430 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5431 close_not_cancel_no_status here.
5432 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5433
9beb2334
UD
54342011-10-29 Ulrich Drepper <drepper@gmail.com>
5435
6ef76f3b
UD
5436 [BZ #13276]
5437 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5438 return value.
5439
0ffc4f3e 5440 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
5441 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5442 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5443
cb95113e
UD
54442011-07-03 Andreas Jaeger <aj@suse.de>
5445
5446 [BZ #10709]
5447 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5448 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5449 * math/libm-test.inc (sin_test): Add test case.
5450
a1b560ff
UD
54512011-10-29 Ulrich Drepper <drepper@gmail.com>
5452
c9aaface
UD
5453 [BZ #13337]
5454 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5455 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5456
d272e7f1
UD
5457 * elf/chroot_canon.c (chroot_canon): Cleanups.
5458
1bc33071
UD
5459 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5460
1760874d
TJ
5461 [BZ #13335]
5462 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5463 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5464
51d91b18
UD
5465 * string/test-strchr.c: Make usable for strchrnul testing.
5466 * string/test-strchrnul.c: New file.
5467 * string/Makefile (strop-tests): Add strchrnul.
5468
a1b560ff 5469 * po/it.po: Update from translation team.
b611fb81 5470 * po/es.po: Likewise.
a1b560ff 5471
a5b81e1f
UD
54722011-10-28 Ulrich Drepper <drepper@gmail.com>
5473
fd52bc6d
UD
5474 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5475 the three constants needed as parameters. Drop the others.
5476 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5477 __m128i_strloadu_tolower.
52e4b9eb
UD
5478 Create and initialize variable zero and use it in all the places
5479 where _mm_setzero_si128 was used.
fd52bc6d 5480
a5b81e1f
UD
5481 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5482 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5483 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5484 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5485 anymore.
5486 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5487 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5488 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5489 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5490 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5491 __mpranred, __mptan.
5492 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5493 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5494 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5495 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5496 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5497 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5498 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5499 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5500 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5501
b4343346
AS
55022011-10-28 Andreas Schwab <schwab@redhat.com>
5503
0c92d8a8
AS
5504 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5505 redefine if SHARED.
5506 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5507
b4343346
AS
5508 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5509 wide char related routines to wcsmbs subdir.
5510
3871f58f
AS
55112011-10-27 Andreas Schwab <schwab@redhat.com>
5512
5513 [BZ #13344]
5514 * misc/sys/cdefs.h (__THROWNL): Define.
5515 * posix/unistd.h: Use __THREADNL instead of __THREAD
5516 for memory synchronization functions.
5517
94d44d9f
RM
55182011-10-26 Roland McGrath <roland@hack.frob.com>
5519
21b64b15 5520 [BZ #13349]
94d44d9f
RM
5521 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5522 doesn't exist.
5523 * manual/stdio.texi (Obstack Streams): Node removed.
5524
f6ce9294
AS
55252011-10-26 Andreas Schwab <schwab@redhat.com>
5526
80479147
AS
5527 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5528 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5529 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5530
f6ce9294
AS
5531 * math/math_private.h (math_force_eval): Allow non-addressable
5532 arguments.
5533 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5534
618280a1
UD
55352011-10-25 Ulrich Drepper <drepper@gmail.com>
5536
e0016b11
UD
5537 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5538 file is not needed.
5539
5540 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5541 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5542 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5543 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5544 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5545 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5546 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5547 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5548 Add AVX variants.
5549 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5550 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5551 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5552 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5553 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5554 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5555 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5556 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5557 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5558 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5559 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5560 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5561 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5562 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5563 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5564 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5565 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5566 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5567 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5568
5569 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5570 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5571
618280a1
UD
5572 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5573 place. Use VEX encoding when compiling for AVX.
5574
37822576
AS
55752011-10-25 Andreas Schwab <schwab@redhat.com>
5576
1f1e1947
AS
5577 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5578 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5579
37822576
AS
5580 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5581
31ea014d
UD
55822011-10-25 Ulrich Drepper <drepper@gmail.com>
5583
d7826aa1 5584 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 5585 useless if() expression.
d7826aa1
UD
5586 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5587 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5588 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5589 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5590 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5591 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5592 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5593 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5594 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5595 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5596 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5597 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5598 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5599 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5600 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5601 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5602 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5603 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5604 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5605
31ea014d
UD
5606 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5607
16437fec
AS
56082011-10-25 Andreas Schwab <schwab@redhat.com>
5609
5610 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5611 condition.
5612 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5613
31d3cc00
UD
56142011-10-25 Ulrich Drepper <drepper@gmail.com>
5615
5616 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5617 .text section. Avoid duplicate constants.
5618 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5619 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5620 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5621 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5622 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5623 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5624 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5625 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5626 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5627 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5628 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5629 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5630 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5631 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5632 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5633 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5634 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5635 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5636 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5637 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5638 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5639 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5640 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5641 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5642 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5643 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5644 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5645 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5646 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5647 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5648 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5649 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5650 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5651 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5652 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5653 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5654 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5655 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5656 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5657 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5658 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5659 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5660 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5661 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5662 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5663
58985aa9
UD
56642011-10-24 Ulrich Drepper <drepper@gmail.com>
5665
202c9deb
UD
5666 * sysdeps/x86_64/dla.h: Move to ...
5667 * sysdeps/x86_64/fpu/dla.h: ...here.
5668 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5669 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 5670
af968f62
UD
5671 * config.make.in: Add have-mfma4 entry.
5672 * configure.in: Substitute libc_cv_cc_fma4.
5673 * math/Makefile (dbl-only-routines): Add sincostab.
5674 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5675 Use __sincostab not sincos.
5676 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5677 name is a macro.
5678 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5679 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5680 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5681 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5682 using __copysign.
5683 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5684 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5685 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5686 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5687 and __inv.
5688 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5689 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5690 __copysign.
5691 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5692 define aliases when function name is a macro.
5693 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5694 sysdeps/ieee754/dbl-64/sincos.tbl.
5695 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5696 fma4-enabled routines.
5697 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5698 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5699 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5700 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5701 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5702 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5703 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5704 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5705 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5706 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5707 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5708 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5709 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5710 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5711 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5712 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5713 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5714 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5715 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5716 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5717 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5718 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5719 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5720 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5721 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5722 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5723 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5724 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5725 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5726 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5727
58985aa9
UD
5728 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5729 rename.
5730 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5731 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5732 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5733 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5734 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5735 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5736 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5737 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5738
a201fbcf
AS
57392011-10-24 Andreas Schwab <schwab@redhat.com>
5740
5741 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5742
fc2ee42a
LD
57432011-10-23 Ulrich Drepper <drepper@gmail.com>
5744
bb3129bd
UD
5745 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5746
0275fff8
UD
5747 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5748 prediction.
5749 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5750
2fa2ae85
UD
5751 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5752 Remove unused variable magic_bits.
5753 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5754
fc2ee42a
LD
5755 * string/strnlen.c: Define and use STRNLEN macro.
5756 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5757 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5758 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5759 * wcsmbs/wcslen.c: Define and use WCSLEN.
5760 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5761 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5762 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5763 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5764 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5765 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5766 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5767
ce7dd29f
LD
57682011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5769
5770 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5771 strnlen-sse2-no-bsf.
5772 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5773 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5774 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5775 Add strnlen support.
5776 (USE_AS_STRNLEN): New macro.
5777 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5778 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5779 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5780 * sysdeps/x86_64/wcslen.S: New file.
5781
979c70a3
MZ
57822011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5783
5784 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5785 XMM-moves are used for copying on small sizes.
5786
2d09f82f
LD
57872011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5788
5789 * wcsmbs/Makefile (strop-tests): Add wcschr.
5790 * wcsmbs/test-wcschr.c: New file.
5791 * string/test-strchr.c: Update.
5792 Add wcschr support.
5793 (WIDE): New macro.
5794
619fccca
LD
57952011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5796
2d09f82f 5797 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
5798 * wcsmbs/test-wcslen.c: New file.
5799 * string/test-strlen.c: Update.
5800 Add wcslen support.
5801 (WIDE): New macro.
5802
09f699ea
UD
58032011-10-23 Ulrich Drepper <drepper@gmail.com>
5804
5805 * po/it.po: Update from translation team.
5806
95584d3b
LD
58072011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5808
5809 * sysdeps/x86_64/wcscmp.S: Update.
5810 Fix wrong comparison semantics.
5811 wcscmp shall use signed comparison not unsigned.
5812 Don't use substraction to avoid overflow bug.
5813 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5814 * wcsmbc/wcscmp.c: Likewise.
5815 * string/test-strcmp.c: Likewise.
5816 Add new tests to check cases with negative values.
5817
c8b3296b
UD
58182011-10-23 Ulrich Drepper <drepper@gmail.com>
5819
5820 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5821 * sysdeps/x86_64/dla.h: ...here. New file.
5822 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5823 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5824 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5825 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5826 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5827 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5828 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5829 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5830 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5831
246ad57a
AS
58322011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5833
5834 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5835 __ynl_finite aliases.
5836
a1a87169
UD
58372011-10-22 Ulrich Drepper <drepper@gmail.com>
5838
0d355eb7
UD
5839 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5840
a1a87169
UD
5841 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5842 define DLA_FMA.
5843 [DLA_FMA] (EMULV): Use DLA_FMA.
5844 [DLA_FMA] (MUL12): Use EMULV.
5845 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5846 that are not needed.
5847 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5848 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5849 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5850 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5851 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5852 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5853 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5854
ee2aafe0
AS
58552011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5856
5857 * math/s_nan.c: Undef __nan.
5858 * math/s_nanf.c: Undef __nanf.
5859 * math/s_nanl.c: Undef __nanl.
5860 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5861 "math_private.h".
5862
bc62c2fb
UD
58632011-10-22 Ulrich Drepper <drepper@gmail.com>
5864
77425c63
UD
5865 * math/s_catan.c: Add branch predictions.
5866 * math/s_catanf.c: Likewise.
5867 * math/s_catanh.c: Likewise.
5868 * math/s_catanhf.c: Likewise.
5869 * math/s_catanhl.c: Likewise.
5870 * math/s_catanl.c: Likewise.
5871 * math/s_cexp.c: Likewise.
5872 * math/s_cexpf.c: Likewise.
5873 * math/s_cexpl.c: Likewise.
5874 * math/s_clog.c: Likewise.
5875 * math/s_clog10.c: Likewise.
5876 * math/s_clog10f.c: Likewise.
5877 * math/s_clog10l.c: Likewise.
5878 * math/s_clogf.c: Likewise.
5879 * math/s_clogl.c: Likewise.
5880 * math/s_csqrt.c: Likewise.
5881 * math/s_csqrtf.c: Likewise.
5882 * math/s_csqrtl.c: Likewise.
5883 * math/s_ctanf.c: Likewise.
5884 * math/s_ctanh.c: Likewise.
5885 * math/s_ctanhf.c: Likewise.
5886 * math/s_ctanhl.c: Likewise.
5887 * math/s_ctanl.c: Likewise.
5888
bc62c2fb
UD
5889 * math/math_private.h: Define __nan, __nanf, __nanl.
5890 * math/s_cacosh.c: Include <math_private.h>.
5891 * math/s_cacoshl.c: Likewise.
5892 * math/s_casinh.c: Likewise.
5893 * math/s_casinhf.c: Likewise.
5894 * math/s_casinhl.c: Likewise.
5895 * math/s_ccos.c: Rely entire on ccosh.
5896 * math/s_ccosf.c: Rely entire on ccoshf.
5897 * math/s_ccosl.c: Rely entirely on ccoshl.
5898 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5899 Remove tests for FE_INVALID.
5900 * math/s_ccoshf.c: Likewise.
5901 * math/s_ccoshl.c: Likewise.
5902 * math/s_csin.c: Likewise.
5903 * math/s_csinf.c: Likewise.
5904 * math/s_csinh.c Likewise.
5905 * math/s_csinhf.c: Likewise.
5906 * math/s_csinhl.c: Likewise.
5907 * math/s_csinl.c: Likewise.
5908 * math/s_ctan.c: Likewise.
5909 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
5910 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
5911 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
5912
8ec250a4
UD
59132011-10-21 Ulrich Drepper <drepper@gmail.com>
5914
c196fed8
UD
5915 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
5916 compilation problems.
5917
8ec250a4
UD
5918 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
5919 __builtin_expect.
5920
8d4f46c6
UD
59212011-10-20 Ulrich Drepper <drepper@gmail.com>
5922
ed72b654
UD
5923 * sysdeps/i386/configure.in: Test for -mfma4 option.
5924 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
5925 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
5926 COMMON_CPUID_INDEX_80000001.
5927 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
5928 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
5929 use it if FMA3 is not supported.
5930 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5931
8d4f46c6
UD
5932 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
5933 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5934
d45c60c2
AS
59352011-10-20 Andreas Schwab <schwab@redhat.com>
5936
5937 [BZ #12892]
5938 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
5939 it would create a cycle with a link time dependency.
5940
d9a4d2ab
UD
59412011-10-19 Ulrich Drepper <drepper@gmail.com>
5942
855d1560
UD
5943 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
5944 instruction.
5945 * string/Makefile (strop-tests): Add rawmemchr.
5946 * string/test-rawmemchr.c: New file.
5947
d9a4d2ab
UD
5948 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
5949 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
5950 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
5951 when compiling str{,n}casecmp and when AVX is available. Hook up
5952 new optimized code in initializers.
5953
8f3b1ffe
AS
59542011-10-19 Andreas Schwab <schwab@redhat.com>
5955
5956 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
5957 __feraiseexcept instead of feraiseexcept.
5958
d38f1dba
UD
59592011-10-18 Ulrich Drepper <drepper@gmail.com>
5960
d9a8d0ab
UD
5961 * math/math_private.h: Define defaults for libc_fetestexcept and
5962 libc_feupdateenv.
5963 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
5964 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5965 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5966 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5967 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5968 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5969 libc_fetestexcept and libc_feupdateenv.
5970
4855e3dd
UD
5971 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
5972 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
5973 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
5974 * sysdeps/x86_64/fpu/math_private.h: Define special version of
5975 libc_feholdexcept_setround.
5976
581d30e3
UD
5977 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
5978 Add s_nearbyint-c and s_nearbyintf-c.
5979 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
5980 nearbyintf inlines.
5981 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
5982 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
5983 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
5984 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
5985
d38f1dba
UD
5986 * math/math_private.h: Define defaults for libc_fegetround,
5987 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
5988 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
5989 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
5990 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
5991 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
5992 standard functions.
5993 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5994 Remove comments and hacks for old compiler versions.
5995 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5996 libc_fegetround, libc_fesetround, libc_feholdexcept, and
5997 libc_feholdexceptl.
5998
caa6c9d8
AS
59992011-10-18 Andreas Schwab <schwab@redhat.com>
6000
6001 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
6002 (__feraiseexcept_renamed): Add __NTH.
6003 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
6004 namespace violations.
6005
97c066e6
UD
60062011-10-17 Ulrich Drepper <drepper@gmail.com>
6007
99ce7b04
UD
6008 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6009
1004d182
UD
6010 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6011
228a984d
UD
6012 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6013 recently added interfaces.
6014 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6015
c8553a6a
UD
6016 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6017 about macro parameter expansion.
6018
ed22dcf6
UD
6019 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6020 __NO_MATH_INLINES is defined. Cleanups.
6021
6022 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6023 and __floorf is target has SSE4.1.
6024 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6025 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6026 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6027 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6028
b171c137
UD
6029 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6030 name.
6031 (floorf): Likewise.
6032
97c066e6
UD
6033 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6034
629f62ef
AS
60352011-10-17 Andreas Schwab <schwab@redhat.com>
6036
49a43d80
AS
6037 * misc/sys/cdefs.h: Fix last change.
6038
629f62ef
AS
6039 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6040 database lookup.
6041
e453f6cd
UD
60422011-10-16 Ulrich Drepper <drepper@gmail.com>
6043
aa78043a
UD
6044 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6045
ad0f5cad
UD
6046 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6047 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6048 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6049 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6050 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6051 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6052 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6053 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6054 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6055 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6056 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6057 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6058 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6059 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6060 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6061 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6062 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6063 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6064 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6065 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6066 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6067 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6068
6069 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6070 ceil, ceilf, floor, floorf.
6071
6072 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6073 Perform IRELATIVE relocations last.
6074
e453f6cd
UD
6075 * elf/do-rel.h: Add another parameter nrelative, replacing the
6076 local variable with the same name. Change name of the function
6077 to end in Rel or Rela (uppercase).
6078 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6079 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
6080 elf_dynamic_do_##reloc function.
6081
fd5bdc09
UD
60822011-10-15 Ulrich Drepper <drepper@gmail.com>
6083
79b195b5
UD
6084 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
6085 is sufficient, at least on modern CPUs.
6086
d4a28569
UD
6087 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
6088
b61099b5
UD
6089 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
6090 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
6091
bcf01e6d
UD
6092 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
6093 __expl_finite.
6094 * math/bits/math-finite.h: Add entries for exp.
6095 * math/e_expl.c: Add __*_finite alias.
6096 * sysdeps/i386/fpu/e_exp.S: Likewise.
6097 * sysdeps/i386/fpu/e_expf.S: Likewise.
6098 * sysdeps/i386/fpu/e_expl.c: Likewise.
6099 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6100 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6101 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6102 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6103 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6104 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6105 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6106
ba1a0d59
UD
6107 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6108 is sufficient, at least on modern CPUs.
6109
fd5bdc09
UD
6110 * ctype/ctype-info.c (__ctype_init): Define.
6111 * include/ctype.h (__ctype_init): Declare.
6112 (__ctype_b_loc): The variable is always initialized.
6113 (__ctype_toupper_loc): Likewise.
6114 (__ctype_tolower_loc): Likewise.
6115 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6116 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6117
7872cfb0
AS
61182011-10-15 Andreas Schwab <schwab@linux-m68k.org>
6119
b468825a
AS
6120 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6121
7872cfb0
AS
6122 * configure.in: Also look in $cxxmachine/include for C++ system
6123 headers.
6124
be13f7bf
LD
61252011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6126
6127 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6128 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6129 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6130 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
6131 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6132 (USE_AS_WMEMCMP): New macro.
6133 Fixing indents.
6134 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6135 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6136 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6137 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6138 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6139 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6140 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6141 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6142 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6143 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6144 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6145 (USE_AS_WMEMCMP): New macro.
6146 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6147 * sysdeps/string/test-memcmp.c: Update.
6148 Fix simple_wmemcmp.
6149 Add new tests.
6150 * wcsmbs/wmemcmp.c: Update.
6151 (WMEMCMP): New macro.
6152 Fix overflow bug.
6153
556a2007
AJ
61542011-10-12 Andreas Jaeger <aj@suse.de>
6155
6156 [BZ #13268]
6157 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6158
538faaa7
UD
61592011-10-15 Ulrich Drepper <drepper@gmail.com>
6160
ab6737ff
UD
6161 * libio/iofwide.c (do_length): Avoid warning.
6162
538faaa7
UD
6163 * ctype/ctype.h (__isctype_f): Add missing __THROW.
6164
396a21b1
UD
61652011-10-14 Ulrich Drepper <drepper@gmail.com>
6166
cdf2901f
UD
6167 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6168
38ad40ce
UD
6169 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6170 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6171 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6172 * sysdeps/i386/i686/fpu/e_log.S: New file.
6173 * sysdeps/i386/i686/fpu/e_logf.S: New file.
6174 * sysdeps/i386/i686/fpu/e_logl.S: New file.
6175
396a21b1
UD
6176 * ctype/ctype.h: Add support for inlined isXXX functions when
6177 compiling C++ code.
6178
6b1f68c9
AS
61792011-10-14 Andreas Schwab <schwab@redhat.com>
6180
349290c0
AS
6181 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6182
6b1f68c9
AS
6183 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6184
f2282d42
RM
61852011-10-13 Roland McGrath <roland@hack.frob.com>
6186
6187 [BZ #13291]
6188 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6189
5298ffa8
AS
61902011-10-13 Andreas Schwab <schwab@redhat.com>
6191
714fad23
AS
6192 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6193 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6194 feraiseexcept.
6195
81dcc7fb
AS
6196 * sysdeps/x86_64/memrchr.S: Check for zero size.
6197
5298ffa8
AS
6198 * string/stratcliff.c: Add memrchr tests.
6199
951fbcec
LD
62002011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6201
6202 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6203 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6204 rawmemchr-sse2 rawmemchr-sse2-bsf.
6205 * sysdeps/i386/i686/multiarch/memchr.S: New file.
6206 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6207 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6208 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6209 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6210 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6211 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6212 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6213 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6214 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6215 * string/memrchr.c (MEMRCHR): New macro.
6216
0ac5ae23
UD
62172011-10-12 Ulrich Drepper <drepper@gmail.com>
6218
6219 Add integration with gcc's -ffinite-math-only and optimize wrapper
6220 functions in libm.
6221 * Versions.def: Define GLIBC_2.15 version for libm.
6222 * math/Makefile (headers): Add bits/math-finite.h.
6223 * math/bits/math-finite.h: New file.
6224 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6225 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6226 * math/e_acoshl.c: Add __*_finite alias.
6227 * math/e_acosl.c: Likewise.
6228 * math/e_asinl.c: Likewise.
6229 * math/e_atan2l.c: Likewise.
6230 * math/e_atanhl.c: Likewise.
6231 * math/e_coshl.c: Likewise.
6232 * math/e_exp10.c: Likewise.
6233 * math/e_exp10f.c: Likewise.
6234 * math/e_exp10l.c: Likewise.
6235 * math/e_exp2l.c: Likewise.
6236 * math/e_fmodl.c: Likewise.
6237 * math/e_gammal_r.c: Likewise.
6238 * math/e_hypotl.c: Likewise.
6239 * math/e_j0l.c: Likewise.
6240 * math/e_j1l.c: Likewise.
6241 * math/e_jnl.c: Likewise.
6242 * math/e_lgammal_r.c: Likewise.
6243 * math/e_log10l.c: Likewise.
6244 * math/e_log2l.c: Likewise.
6245 * math/e_logl.c: Likewise.
6246 * math/e_powl.c: Likewise.
6247 * math/e_sinhl.c: Likewise.
6248 * math/e_sqrtl.c: Likewise.
6249 * math/e_scalb.c: Completely rewritten and optimized.
6250 * math/e_scalbf.c: Likewise.
6251 * math/e_scalbl.c: Likewise.
6252 * math/w_acos.c: Likewise.
6253 * math/w_acosf.c: Likewise.
6254 * math/w_acosl.c: Likewise.
6255 * math/w_acosh.c: Likewise.
6256 * math/w_acoshf.c: Likewise.
6257 * math/w_acoshl.c: Likewise.
6258 * math/w_asin.c: Likewise.
6259 * math/w_asinf.c: Likewise.
6260 * math/w_asinl.c: Likewise.
6261 * math/w_atan2.c: Likewise.
6262 * math/w_atan2f.c: Likewise.
6263 * math/w_atan2l.c: Likewise.
6264 * math/w_atanh.c: Likewise.
6265 * math/w_atanhf.c: Likewise.
6266 * math/w_atanhl.c: Likewise.
6267 * math/w_exp10.c: Likewise.
6268 * math/w_exp10f.c: Likewise.
6269 * math/w_exp10l.c: Likewise.
6270 * math/w_fmod.c: Likewise.
6271 * math/w_fmodf.c: Likewise.
6272 * math/w_fmodl.c: Likewise.
6273 * math/w_j0.c: Likewise.
6274 * math/w_j0f.c: Likewise.
6275 * math/w_j0l.c: Likewise.
6276 * math/w_j1.c: Likewise.
6277 * math/w_j1f.c: Likewise.
6278 * math/w_j1l.c: Likewise.
6279 * math/w_jn.c: Likewise.
6280 * math/w_jnf.c: Likewise.
6281 * math/w_log.c: Likewise.
6282 * math/w_logf.c: Likewise.
6283 * math/w_logl.c: Likewise.
6284 * math/w_log10.c: Likewise.
6285 * math/w_log10f.c: Likewise.
6286 * math/w_log10l.c: Likewise.
6287 * math/w_log2.c: Likewise.
6288 * math/w_log2f.c: Likewise.
6289 * math/w_log2l.c: Likewise.
6290 * math/w_pow.c: Likewise.
6291 * math/w_powf.c: Likewise.
6292 * math/w_powl.c: Likewise.
6293 * math/w_remainder.c: Likewise.
6294 * math/w_remainderf.c: Likewise.
6295 * math/w_remainderl.c: Likewise.
6296 * math/w_scalb.c: Likewise.
6297 * math/w_scalbf.c: Likewise.
6298 * math/w_scalbl.c: Likewise.
6299 * math/w_sqrt.c: Likewise.
6300 * math/w_sqrtf.c: Likewise.
6301 * math/w_sqrtl.c: Likewise.
6302 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6303 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
6304 used.
6305 * math/math_private.h: Declare __kernel_standard_f.
6306 * math/w_cosh.c: Remove cruft and optimize a bit.
6307 * math/w_coshf.c: Likewise.
6308 * math/w_coshl.c: Likewise.
6309 * math/w_exp2.c: Likewise.
6310 * math/w_exp2f.c: Likewise.
6311 * math/w_exp2l.c: Likewise.
6312 * math/w_hypot.c: Likewise.
6313 * math/w_hypotf.c: Likewise.
6314 * math/w_hypotl.c: Likewise.
6315 * math/w_lgamma.c: Likewise.
6316 * math/w_lgamma_r.c: Likewise.
6317 * math/w_lgammaf.c: Likewise.
6318 * math/w_lgammaf_r.c: Likewise.
6319 * math/w_lgammal.c: Likewise.
6320 * math/w_lgammal_r.c: Likewise.
6321 * math/w_sinh.c: Likewise.
6322 * math/w_sinhf.c: Likewise.
6323 * math/w_sinhl.c: Likewise.
6324 * math/w_tgamma.c: Likewise.
6325 * math/w_tgammaf.c: Likewise.
6326 * math/w_tgammal.c: Likewise.
6327 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6328 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6329 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6330 Minor optimizations. Pretty printing. Remove cruft.
6331 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6332 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6333 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6334 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6335 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6336 * sysdeps/i386/fpu/e_asin.S: Likewise.
6337 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6338 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6339 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6340 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6341 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6342 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6343 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6344 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6345 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6346 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6347 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6348 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6349 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6350 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6351 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6352 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6353 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6354 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6355 * sysdeps/i386/fpu/e_log.S: Likewise.
6356 * sysdeps/i386/fpu/e_log10.S: Likewise.
6357 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6358 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6359 * sysdeps/i386/fpu/e_log2.S: Likewise.
6360 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6361 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6362 * sysdeps/i386/fpu/e_logf.S: Likewise.
6363 * sysdeps/i386/fpu/e_logl.S: Likewise.
6364 * sysdeps/i386/fpu/e_pow.S: Likewise.
6365 * sysdeps/i386/fpu/e_powf.S: Likewise.
6366 * sysdeps/i386/fpu/e_powl.S: Likewise.
6367 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6368 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6369 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6370 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6371 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6372 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6373 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6374 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6375 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6376 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6377 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6378 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6379 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6380 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6381 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6382 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6383 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6384 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6385 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6386 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6387 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6388 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6389 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6390 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6391 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6392 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6393 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6394 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6395 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6396 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6397 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6398 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6399 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6400 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6401 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6402 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6403 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6404 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6405 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6406 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6407 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6408 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6409 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6410 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6411 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6412 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6413 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6414 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6415 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6416 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6417 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6418 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6419 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6420 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6421 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6422 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6423 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6424 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6425 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6426 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6427 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6428 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6429 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6430 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6431 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6432 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6433 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6434 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6435 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6436 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6437 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6438 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6439 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6440 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6441 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6442 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6443 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6444 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6445 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6446 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6447 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6448 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6449 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6450 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6451 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6452 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6453 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6454 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6455 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6456 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6457 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6458 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6459 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6460 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6461 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6462 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6463 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6464 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6465 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6466 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6467 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6468 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6469 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6470 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6471 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6472 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6473 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6474 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6475 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6476 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6477 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6478 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6479 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6480 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6481 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6482 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6483 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6484 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6485 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6486 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6487 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6488 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6489 (__isnanf): Likewise.
6490 (__isinf_ns): Likewise.
6491 (__isinf_nsf): Likewise.
6492 (__finite): Likewise.
6493 (__finitef): Likewise.
6494 (__ieee754_sqrt): Define as macro.
6495 (__ieee754_sqrtf): Define as macro.
6496 (__ieee754_sqrtl): Define as macro.
6497 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6498 inlined copy.
6499 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6500 __FINITE_MATH_ONLY__ consistent.
6501 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6502
12cc2fcd
AS
65032011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6504
a843a204
AS
6505 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6506 of rawmemchr.
6507
12cc2fcd
AS
6508 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6509
c853acd5
UD
65102011-10-09 Ulrich Drepper <drepper@gmail.com>
6511
6512 * po/ja.po: Update from translation team.
6513
c658d255
RM
65142011-10-08 Roland McGrath <roland@hack.frob.com>
6515
110946e4
RM
6516 * locale/programs/locarchive.c (prepare_address_space): New function.
6517 (create_archive, enlarge_archive, open_archive): Use it.
6518
50604220
RM
6519 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6520 inside [SHARED], where it is used.
6521
c658d255
RM
6522 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6523
6524 * nss/getent.c (netgroup_keys): Remove unused variable.
6525 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6526
6a621eb7
UD
65272011-10-08 Ulrich Drepper <drepper@gmail.com>
6528
7edb55ce
UD
6529 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6530 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6531 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6532 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6533 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6534 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6535 * math/Makefile (libm-calls): Add s_isinf_ns.
6536 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6537 * math/multc3.c: Likewise.
6538 * math/s_casin.c: Likewise.
6539 * math/s_casinf.c: Likewise.
6540 * math/s_casinl.c: Likewise.
6541 * math/s_ccos.c: Likewise.
6542 * math/s_ccosf.c: Likewise.
6543 * math/s_ccosl.c: Likewise.
6544 * math/s_ctan.c: Likewise.
6545 * math/s_ctanf.c: Likewise.
6546 * math/s_ctanh.c: Likewise.
6547 * math/s_ctanhf.c: Likewise.
6548 * math/s_ctanhl.c: Likewise.
6549 * math/s_ctanl.c: Likewise.
6550 * math/w_fmod.c: Likewise.
6551 * math/w_fmodf.c: Likewise.
6552 * math/w_fmodl.c: Likewise.
6553 * math/w_remainder.c: Likewise.
6554 * math/w_remainderf.c: Likewise.
6555 * math/w_remainderl.c: Likewise.
6556 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6557 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6558 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6559 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6560 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6561 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6562 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6563 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6564
187da0ae
UD
6565 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6566 of the number.
6567 * stdio-common/printf_fphex.c: Likewise.
6568 * stdio-common/printf_size.c: Likewise.
6569
9277c064
UD
6570 * math/e_exp10.c: Include math_private.h using <...> not "...".
6571 * math/e_exp10f.c: Likewise.
6572 * math/e_exp10l.c: Likewise.
6573 * math/e_exp2l.c: Likewise.
6574 * math/e_j0l.c: Likewise.
6575 * math/e_j1l.c: Likewise.
6576 * math/e_jnl.c: Likewise.
6577 * math/e_lgammal_r.c: Likewise.
6578 * math/e_rem_pio2l.c: Likewise.
6579 * math/e_scalb.c: Likewise.
6580 * math/e_scalbf.c: Likewise.
6581 * math/e_scalbl.c: Likewise.
6582 * math/k_cosl.c: Likewise.
6583 * math/k_sinl.c: Likewise.
6584 * math/k_tanl.c: Likewise.
6585 * math/s_cacoshf.c: Likewise.
6586 * math/s_catan.c: Likewise.
6587 * math/s_catanf.c: Likewise.
6588 * math/s_catanh.c: Likewise.
6589 * math/s_catanhf.c: Likewise.
6590 * math/s_catanhl.c: Likewise.
6591 * math/s_catanl.c: Likewise.
6592 * math/s_ccosh.c: Likewise.
6593 * math/s_ccoshf.c: Likewise.
6594 * math/s_ccoshl.c: Likewise.
6595 * math/s_cexp.c: Likewise.
6596 * math/s_cexpf.c: Likewise.
6597 * math/s_cexpl.c: Likewise.
6598 * math/s_clog.c: Likewise.
6599 * math/s_clog10.c: Likewise.
6600 * math/s_clog10f.c: Likewise.
6601 * math/s_clog10l.c: Likewise.
6602 * math/s_clogf.c: Likewise.
6603 * math/s_clogl.c: Likewise.
6604 * math/s_csin.c: Likewise.
6605 * math/s_csinf.c: Likewise.
6606 * math/s_csinh.c: Likewise.
6607 * math/s_csinhf.c: Likewise.
6608 * math/s_csinhl.c: Likewise.
6609 * math/s_csinl.c: Likewise.
6610 * math/s_csqrt.c: Likewise.
6611 * math/s_csqrtf.c: Likewise.
6612 * math/s_csqrtl.c: Likewise.
6613 * math/s_ctan.c: Likewise.
6614 * math/s_ctanf.c: Likewise.
6615 * math/s_ctanh.c: Likewise.
6616 * math/s_ctanhf.c: Likewise.
6617 * math/s_ctanhl.c: Likewise.
6618 * math/s_ctanl.c: Likewise.
6619 * math/s_ldexp.c: Likewise.
6620 * math/s_ldexpf.c: Likewise.
6621 * math/s_ldexpl.c: Likewise.
6622 * math/s_significand.c: Likewise.
6623 * math/s_significandf.c: Likewise.
6624 * math/s_significandl.c: Likewise.
6625 * math/w_acos.c: Likewise.
6626 * math/w_acosf.c: Likewise.
6627 * math/w_acosh.c: Likewise.
6628 * math/w_acoshf.c: Likewise.
6629 * math/w_acoshl.c: Likewise.
6630 * math/w_acosl.c: Likewise.
6631 * math/w_asin.c: Likewise.
6632 * math/w_asinf.c: Likewise.
6633 * math/w_asinl.c: Likewise.
6634 * math/w_atan2.c: Likewise.
6635 * math/w_atan2f.c: Likewise.
6636 * math/w_atan2l.c: Likewise.
6637 * math/w_atanh.c: Likewise.
6638 * math/w_atanhf.c: Likewise.
6639 * math/w_atanhl.c: Likewise.
6640 * math/w_cosh.c: Likewise.
6641 * math/w_coshf.c: Likewise.
6642 * math/w_coshl.c: Likewise.
6643 * math/w_dremf.c: Likewise.
6644 * math/w_exp10.c: Likewise.
6645 * math/w_exp10f.c: Likewise.
6646 * math/w_exp10l.c: Likewise.
6647 * math/w_exp2.c: Likewise.
6648 * math/w_exp2f.c: Likewise.
6649 * math/w_fmod.c: Likewise.
6650 * math/w_fmodf.c: Likewise.
6651 * math/w_fmodl.c: Likewise.
6652 * math/w_hypot.c: Likewise.
6653 * math/w_hypotf.c: Likewise.
6654 * math/w_hypotl.c: Likewise.
6655 * math/w_j0.c: Likewise.
6656 * math/w_j0f.c: Likewise.
6657 * math/w_j0l.c: Likewise.
6658 * math/w_j1.c: Likewise.
6659 * math/w_j1f.c: Likewise.
6660 * math/w_j1l.c: Likewise.
6661 * math/w_jn.c: Likewise.
6662 * math/w_jnf.c: Likewise.
6663 * math/w_jnl.c: Likewise.
6664 * math/w_lgamma.c: Likewise.
6665 * math/w_lgamma_r.c: Likewise.
6666 * math/w_lgammaf.c: Likewise.
6667 * math/w_lgammaf_r.c: Likewise.
6668 * math/w_lgammal.c: Likewise.
6669 * math/w_lgammal_r.c: Likewise.
6670 * math/w_log.c: Likewise.
6671 * math/w_log10.c: Likewise.
6672 * math/w_log10f.c: Likewise.
6673 * math/w_log10l.c: Likewise.
6674 * math/w_log2.c: Likewise.
6675 * math/w_log2f.c: Likewise.
6676 * math/w_log2l.c: Likewise.
6677 * math/w_logf.c: Likewise.
6678 * math/w_logl.c: Likewise.
6679 * math/w_pow.c: Likewise.
6680 * math/w_powf.c: Likewise.
6681 * math/w_powl.c: Likewise.
6682 * math/w_remainder.c: Likewise.
6683 * math/w_remainderf.c: Likewise.
6684 * math/w_remainderl.c: Likewise.
6685 * math/w_scalb.c: Likewise.
6686 * math/w_scalbf.c: Likewise.
6687 * math/w_scalbl.c: Likewise.
6688 * math/w_sinh.c: Likewise.
6689 * math/w_sinhf.c: Likewise.
6690 * math/w_sinhl.c: Likewise.
6691 * math/w_sqrt.c: Likewise.
6692 * math/w_sqrtf.c: Likewise.
6693 * math/w_sqrtl.c: Likewise.
6694 * math/w_tgamma.c: Likewise.
6695 * math/w_tgammaf.c: Likewise.
6696 * math/w_tgammal.c: Likewise.
6697
6a621eb7
UD
6698 * po/ja.po: Update from translation team.
6699
bf582445
AJ
67002011-09-29 Andreas Jaeger <aj@suse.de>
6701
f9efbf3a
AJ
6702 [BZ #13179]
6703 * sunrpc/netname.c (netname2host): Fix logic.
6704
bf582445
AJ
6705 [BZ #6779]
6706 [BZ #6783]
6707 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6708 correctly.
6709 * math/w_remainder.c (__remainder): Likewise.
6710 * math/w_remainderf.c (__remainderf): Likewise.
6711 * math/libm-test.inc (remainder_test): Add test cases.
6712
48693bea
AK
67132011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6714
6715 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6716 sdiv_qrnnd.
6717
42622229
LD
67182011-10-07 Ulrich Drepper <drepper@gmail.com>
6719
6720 * string/test-memcmp.c: Avoid unncessary #defines.
6721 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6722
093ecf92
LD
67232011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6724
6725 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6726 Use new sse2 version for core i3 - i7 as it's faster
6727 than sse42 version.
6728 (bit_Prefer_PMINUB_for_stringop): New.
6729 * sysdeps/x86_64/rawmemchr.S: Update.
6730 Replace with faster SSE2 version.
6731 * sysdeps/x86_64/memrchr.S: New file.
6732 * sysdeps/x86_64/memchr.S: Update.
6733 Replace with faster SSE2 version.
6734
fde56e5c
MP
67352011-09-12 Marek Polacek <mpolacek@redhat.com>
6736
6737 * elf/dl-load.c (lose): Add cast to avoid warning.
6738
21fd49a9
UD
67392011-10-07 Ulrich Drepper <drepper@gmail.com>
6740
5a06e643
UD
6741 * po/ca.po: Update from translation team.
6742
684ae515
UD
6743 * inet/getnetgrent_r.c: Hook up nscd.
6744 * nscd/Makefile (routines): Add nscd_netgroup.
6745 (nscd-modules): Add netgroupcache.
6746 (CFLAGS-netgroupcache.c): Define.
6747 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6748 (cache_search): Add const to second parameter.
6749 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6750 INNETGR.
6751 (dbs): Add netgrdb entry.
6752 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6753 (verify_persistent_db): Handle netgrdb.
6754 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6755 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6756 GETFDNETGR.
6757 (netgroup_response_header): Define.
6758 (innetgroup_response_header): Define.
6759 (datahead): Add netgroup_response_header and innetgroup_response_header
6760 elements.
6761 * nscd/nscd.conf: Add entries for netgroup cache.
6762 * nscd/nscd.h (dbtype): Add netgrdb.
6763 (_PATH_NSCD_NETGROUP_DB): Define.
6764 (netgroup_iov_disabled): Declare.
6765 (xmalloc, xcalloc, xrealloc): Move declarations here.
6766 (cache_search): Adjust prototype.
6767 Add netgroup-related prototypes.
6768 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6769 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6770 (__nscd_innetgr): Declare.
6771 * nscd/selinux.c (perms): Use access_vector_t as element type and
6772 add netgroup-related initializers.
6773 * nscd/netgroupcache.c: New file.
6774 * nscd/nscd_netgroup.c: New file.
6775 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6776 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6777 For four parameters use innetgr.
6778 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6779 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6780 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6781 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6782
21fd49a9
UD
6783 * nscd/connections.c (register_traced_file): Don't register file
6784 for disabled databases.
6785
054c0457
UD
67862011-10-06 Ulrich Drepper <drepper@gmail.com>
6787
32b63198
UD
6788 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6789
054c0457
UD
6790 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6791 from tree and freeing node.
6792
64031225
JO
67932011-09-25 Jiri Olsa <jolsa@redhat.com>
6794
6795 * nss/nsswitch.c (__nss_database_lookup): Handle
6796 nss_parse_service_list out of memory case.
6797
0490345c
JO
67982011-09-15 Jiri Olsa <jolsa@redhat.com>
6799
6800 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6801 out of memory case.
6802
3a62d00d
AS
68032011-10-04 Andreas Schwab <schwab@redhat.com>
6804
6805 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6806 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6807 pass it down.
6808 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6809 elf_machine_rela, elf_machine_lazy_rel.
6810 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6811 (ELF_DYNAMIC_DO_REL): Likewise.
6812 (ELF_DYNAMIC_DO_RELA): Likewise.
6813 (ELF_DYNAMIC_RELOCATE): Likewise.
6814 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6815 to ELF_DYNAMIC_DO_REL.
6816 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6817 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6818 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6819 elf_machine_rela.
6820 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6821 skip_ifunc, don't call ifunc function if non-zero.
6822 (elf_machine_rela): Likewise.
6823 (elf_machine_lazy_rel): Likewise.
6824 (elf_machine_lazy_rela): Likewise.
6825 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6826 (elf_machine_lazy_rel): Likewise.
6827 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6828 Likewise.
6829 (elf_machine_lazy_rel): Likewise.
6830 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6831 Likewise.
6832 (elf_machine_lazy_rel): Likewise.
6833 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6834 (elf_machine_lazy_rel): Likewise.
6835 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6836 (elf_machine_lazy_rel): Likewise.
6837 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6838 (elf_machine_lazy_rel): Likewise.
6839 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6840 (elf_machine_lazy_rel): Likewise.
6841 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6842 (elf_machine_lazy_rel): Likewise.
6843 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6844 (elf_machine_lazy_rel): Likewise.
6845
68577918
UD
68462011-09-28 Ulrich Drepper <drepper@gmail.com>
6847
6848 * nss/nss_files/files-init.c (_nss_files_init): Use static
6849 initialization for all the *_traced_file variables.
6850
68822d74
AS
68512011-09-28 Andreas Schwab <schwab@redhat.com>
6852
6853 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6854
2056100b
RM
68552011-09-27 Roland McGrath <roland@hack.frob.com>
6856
6857 [BZ #13226]
6858 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6859
32c76b63
AS
68602011-09-27 Andreas Schwab <schwab@redhat.com>
6861
6862 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6863 Reread the line before reparsing it.
6864
bf972c9d
AS
68652011-09-26 Andreas Schwab <schwab@redhat.com>
6866
6867 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6868
e057a1b5
JM
68692011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6870 Maxim Kuvyrkov <maxim@codesourcery.com>
6871 Joseph Myers <joseph@codesourcery.com>
6872
6873 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6874 if needed for __stack_chk_guard.
6875
bc7e1c36
RM
68762011-09-19 Roland McGrath <roland@hack.frob.com>
6877
ecb1482f
RM
6878 * sysdeps/posix/spawni.c (script_execute): Always define it.
6879 It will be optimized away if unused.
6880 (maybe_script_execute): New function.
6881 (__spawni): Call it.
6882
bc7e1c36
RM
6883 * Makerules: Don't include tls.make.
6884 (config-tls): Always set to thread.
6885 * tls.make.c: File removed.
6886
1c3b002b
MF
68872011-09-19 Mike Frysinger <vapier@gentoo.org>
6888
6889 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6890 * config.make.in (CPPFLAGS-config): New substituted variable.
6891
2840865d
UD
68922011-09-15 Ulrich Drepper <drepper@gmail.com>
6893
88738eb6
UD
6894 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6895
cbf645a6 6896 [BZ #13192]
2840865d
UD
6897 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6898 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6899
b402e91a
RM
69002011-09-15 Roland McGrath <roland@hack.frob.com>
6901
6902 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6903 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6904 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6905 (CALL_FAIL): Likewise.
6906 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6907 (CALL_FAIL): Macro removed.
6908 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
6909
4c1a1f71
UD
69102011-09-15 Ulrich Drepper <drepper@gmail.com>
6911
6912 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
6913 for __FINITE_MATH_ONLY__ == 1.
6914
edc121be
AS
69152011-09-15 Andreas Schwab <schwab@redhat.com>
6916
6917 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
6918 __ieee754_sqrt instead of sqrt.
6919 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
6920 __ieee754_sqrtf instead of sqrtf.
6921 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6922 __floorf instead of floorf.
6923 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
6924 __floorf, __truncf instead of floorf, truncf.
6925
cd205654
UD
69262011-09-14 Ulrich Drepper <drepper@gmail.com>
6927
ee4d0315
UD
6928 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
6929
cd205654
UD
6930 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
6931 __extern_always_inline.
6932 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
6933 32-bit.
6934
48b67d71
AS
69352011-09-14 Andreas Schwab <schwab@redhat.com>
6936
6937 * elf/rtld.c (dl_main): Also relocate in dependency order when
6938 doing symbol dependency testing.
6939
1ae12c75
AS
69402011-09-13 Andreas Schwab <schwab@linux-m68k.org>
6941
6942 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6943 Always define `refsym'.
6944
995a80df
AS
69452011-09-13 Andreas Schwab <schwab@redhat.com>
6946
e529793b
AS
6947 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
6948 (__FD_ELT): Renamed from __FDELT.
6949 * misc/bits/select2.h (__FD_ELT): Likewise.
6950 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
6951 __FD_MASK instead of __FDELT, __FDMASK.
6952 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6953 Likewise.
6954 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6955 Likewise.
6956
52d4fef8
AS
6957 * elf/Makefile (gen-ldd): Fix pattern.
6958
995a80df
AS
6959 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
6960 (init_tls): Likewise.
6961
8682f8b0
UD
69622011-09-12 Ulrich Drepper <drepper@gmail.com>
6963
6964 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
6965
de82006d
AS
69662011-09-12 Andreas Schwab <schwab@redhat.com>
6967
a7c8e6a1
AS
6968 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
6969 `struct cmsghdr *' instead of `void *'.
6970 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
6971 Likewise.
6972
0f31fe77
AS
69732011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6974
6975 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
6976 if non-absolute.
6977 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
6978 ldd_rewrite_script.
0f31fe77 6979
32b4c839
UD
69802011-09-11 Ulrich Drepper <drepper@gmail.com>
6981
83cd1420
UD
6982 * configure.in: Remove --with-tls option.
6983 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
6984 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
6985 out in case it is missing.
6986 * sysdeps/ia64/elf/configure.in: Likewise.
6987 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
6988 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
6989 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
6990 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
6991 * sysdeps/sh/elf/configure.in: Likewise.
6992 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
6993 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6994 * sysdeps/x86_64/elf/configure.in: Likewise.
6995 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
6996 * sysdeps/mach/hurd/tls.h: Likewise.
6997
633f745d
UD
6998 [BZ #13067]
6999 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7000
f318beb8
UD
7001 [BZ #13090]
7002 * configure.in: Fix use of AC_INIT.
7003
32b4c839
UD
7004 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7005
3ce1f295
UD
70062011-09-10 Ulrich Drepper <drepper@gmail.com>
7007
bb016596
UD
7008 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7009 __set_errno.
8e58439c
UD
7010 * malloc/hooks.c: Likewise.
7011
aebae053 7012 [BZ #11929]
02d46fc4
UD
7013 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
7014 variables statically.
7015 (narenas): Initialize.
7016 (list_lock): Initialize.
bb016596
UD
7017 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
7018 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
7019 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7020 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
7021 Add initializers to main_arena and mp_.
7022 (malloc_state): Remove pagesize member. Change all users to use
7023 GLRO(dl_pagesize).
7024
7025 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7026 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
7027 is always initialized.
7028
22a89187
UD
7029 * malloc/malloc.c: Removed unused configurations and dead code.
7030 * malloc/arena.c: Likewise.
7031 * malloc/hooks.c: Likewise.
02d46fc4 7032 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 7033
d063d164
UD
7034 * include/tls.h: Removed. USE___THREAD must always be defined.
7035 * bits/libc-tsd.h: Don't handle !USE___THREAD.
7036 * elf/dl-libc.c: Likewise.
7037 * elf/dl-tsd.c: Likewise.
7038 * include/errno.h: Likewise.
7039 * include/netdb.h: Likewise.
7040 * include/resolv.h: Likewise.
7041 * inet/herrno-loc.c: Likewise.
7042 * inet/herrno.c: Likewise.
7043 * malloc/arena.c: Likewise.
7044 * malloc/hooks.c: Likewise.
7045 * malloc/malloc.c: Likewise.
7046 * resolv/res-state.c: Likewise.
7047 * resolv/res_libc.c: Likewise.
7048 * sysdeps/i386/dl-machine.h: Likewise.
7049 * sysdeps/ia64/dl-machine.h: Likewise.
7050 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7051 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7052 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7053 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7054 * sysdeps/sh/dl-machine.h: Likewise.
7055 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7056 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7057 * sysdeps/unix/i386/sysdep.S: Likewise.
7058 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7059 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7060 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7061 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7062 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7063 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7064 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7065 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7066 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7067 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7068 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7069 * sysdeps/x86_64/dl-machine.h: Likewise.
7070 * tls.make.c: Likewise.
7071
3ce1f295
UD
7072 * configure.in: Remove --with-__thread option. Make tests for
7073 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7074 tls_model attribute fail if no support is available. Remove
7075 USE_IN_LIBIO.
7076 * Makeconfig: Adjust for dropped configure option. All features are
7077 now mandatory.
7078 * Makerules: Likewise.
7079 * Versions.def: Likewise.
7080 * argp/argp-fmtstream.c: Likewise.
7081 * argp/argp-fmtstream.h: Likewise.
7082 * argp/argp-help.c: Likewise.
7083 * assert/assert.c: Likewise.
7084 * config.h.in: Likewise.
7085 * config.make.in: Likewise.
7086 * configure: Likewise.
7087 * configure.in: Likewise.
7088 * csu/Versions: Likewise.
7089 * csu/init.c: Likewise.
7090 * elf/tst-audit2.c: Likewise.
7091 * elf/tst-tls10.c: Likewise.
7092 * elf/tst-tls10.h: Likewise.
7093 * elf/tst-tls11.c: Likewise.
7094 * elf/tst-tls12.c: Likewise.
7095 * elf/tst-tls14.c: Likewise.
7096 * elf/tst-tlsmod11.c: Likewise.
7097 * elf/tst-tlsmod12.c: Likewise.
7098 * elf/tst-tlsmod13.c: Likewise.
7099 * elf/tst-tlsmod13a.c: Likewise.
7100 * elf/tst-tlsmod14a.c: Likewise.
7101 * elf/tst-tlsmod15b.c: Likewise.
7102 * elf/tst-tlsmod16a.c: Likewise.
7103 * elf/tst-tlsmod16b.c: Likewise.
7104 * elf/tst-tlsmod7.c: Likewise.
7105 * elf/tst-tlsmod8.c: Likewise.
7106 * elf/tst-tlsmod9.c: Likewise.
7107 * gmon/gmon.c: Likewise.
7108 * grp/fgetgrent_r.c: Likewise.
7109 * grp/putgrent.c: Likewise.
7110 * hurd/fopenport.c: Likewise.
7111 * include/libc-symbols.h: Likewise.
7112 * include/tls.h: Likewise.
7113 * intl/gettextP.h: Likewise.
7114 * intl/loadinfo.h: Likewise.
7115 * locale/global-locale.c: Likewise.
7116 * locale/localeinfo.h: Likewise.
7117 * mach/devstream.c: Likewise.
7118 * malloc/arena.c: Likewise.
7119 * malloc/set-freeres.c: Likewise.
7120 * misc/err.c: Likewise.
7121 * misc/getttyent.c: Likewise.
7122 * misc/mntent_r.c: Likewise.
7123 * posix/getopt.c: Likewise.
7124 * posix/wordexp.c: Likewise.
7125 * pwd/fgetpwent_r.c: Likewise.
7126 * resolv/Versions: Likewise.
7127 * resolv/res_hconf.c: Likewise.
7128 * shadow/fgetspent_r.c: Likewise.
7129 * shadow/putspent.c: Likewise.
7130 * stdio-common/printf_fphex.c: Likewise.
7131 * stdio-common/tmpfile.c: Likewise.
7132 * stdlib/abort.c: Likewise.
7133 * stdlib/fmtmsg.c: Likewise.
7134 * sunrpc/auth_unix.c: Likewise.
7135 * sunrpc/clnt_perr.c: Likewise.
7136 * sunrpc/clnt_tcp.c: Likewise.
7137 * sunrpc/clnt_udp.c: Likewise.
7138 * sunrpc/clnt_unix.c: Likewise.
7139 * sunrpc/openchild.c: Likewise.
7140 * sunrpc/svc_simple.c: Likewise.
7141 * sunrpc/svc_tcp.c: Likewise.
7142 * sunrpc/svc_udp.c: Likewise.
7143 * sunrpc/svc_unix.c: Likewise.
7144 * sunrpc/xdr.c: Likewise.
7145 * sunrpc/xdr_array.c: Likewise.
7146 * sunrpc/xdr_rec.c: Likewise.
7147 * sunrpc/xdr_ref.c: Likewise.
7148 * sunrpc/xdr_stdio.c: Likewise.
7149
1248c1c4
PB
71502011-09-09 Ulrich Drepper <drepper@gmail.com>
7151
7152 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7153
71542011-07-03 Andreas Jaeger <aj@suse.de>
7155
7156 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7157 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7158 regenerate with gen-libm-tests.pl.
7159
71602010-05-12 Petr Baudis <pasky@suse.cz>
7161
7162 [BZ #11589]
7163 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7164 around j0() zero points by switching to j1().
7165 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7166 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7167 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7168 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7169
f22e1074
UD
71702011-09-09 Ulrich Drepper <drepper@gmail.com>
7171
f19009c1
UD
7172 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7173 instead of 0.
7174 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7175 instead of 0. .
7176 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7177 Patch in part by Pavel Roskin <proski@gnu.org>.
7178
3f8cc204
UD
7179 [BZ #13138]
7180 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7181 realloc.
7182 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
7183 Free memory block if necessary.
7184
f22e1074
UD
7185 [BZ #12847]
7186 * libio/genops.c (INTDEF): For string streams the _lock pointer can
7187 be NULL. Don't lock in this case.
7188
0a2349f9
RM
71892011-09-09 Roland McGrath <roland@hack.frob.com>
7190
7191 * elf/elf.h (ELFOSABI_GNU): New macro.
7192 (ELFOSABI_LINUX): Define to that.
7193
f3cdd467
DZ
71942011-07-29 Denis Zaitceff <zaitceff@gmail.com>
7195
7196 * string/strncat.c (strncat): Undef the symbol in case it has been
7197 defined in bits/string.h.
7198
74718d13
UD
71992011-09-09 Ulrich Drepper <drepper@gmail.com>
7200
633e9e0f
UD
7201 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7202
0a2349f9 7203 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
7204 link map.
7205
f9924780
AJ
72062011-08-17 Andreas Jaeger <aj@suse.de>
7207
7208 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7209
7f5517aa
PP
72102011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7211 Ian Lance Taylor <iant@google.com>
7212
7213 * math/libm-test.inc (lround_test): New testcase.
7214 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7215
762011fe
UD
72162011-09-08 Ulrich Drepper <drepper@gmail.com>
7217
92963737
UD
7218 * Makefile: Remove support for automatic cvs check-ins.
7219 * Makerules: Likewise.
7220 * config.make.in: Likewise.
7221 * configure.in: Likewise.
7222 * intl/Makefile: Likewise.
7223 * locale/Makefile: Likewise.
7224 * po/Makefile: Likewise.
7225 * posix/Makefile: Likewise.
7226 * sysdeps/gnu/Makefile: Likewise.
7227 * sysdeps/mach/hurd/Makefile: Likewise.
7228 * sysdeps/sparc/sparc32/Makefile: Likewise.
7229
b0727fd8
JS
7230 [BZ #13118]
7231 * posix/Makefile (bug-regex32-ENV): Define.
7232 Patch by John Stanley <jpsinthemix@verizon.net>.
7233
a0f33f99
UD
7234 * misc/Makefile (headers): Add bits/select2.h.
7235 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7236 * misc/bits/select2.h: New file.
7237 * include/bits/select2.h: New file.
7238 * debug/Makefile (routines): Add fdelt_chk.
7239 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7240 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7241 FD_ISSET.
7242 * debug/fdelt_chk.c: New file.
7243
762011fe
UD
7244 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
7245 * wcsmbs/test-wmemcmp.c: Likewise.
7246 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 7247 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
7248
72492011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7250
7251 * string/Makefile (strop-tests): Add memcmp.
7252 * string/test-wmemcmp.c: New file.
7253 * string/test-memcmp.c: Add wmemcmp support.
7254
7f513ec8
RM
72552011-09-08 Roland McGrath <roland@hack.frob.com>
7256
0442afb4
RM
7257 [BZ #13153]
7258 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7259 2011-07-19 change.
7260
7f513ec8
RM
7261 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7262 garbage value in a __mach_port_mod_refs call in the cases of the
7263 task-self and thread-self ports.
7264
a12b2239
ST
72652011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7266
7267 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7268
610f9ab4
AS
72692011-09-08 Andreas Schwab <schwab@redhat.com>
7270
7f513ec8 7271 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 7272
48882a1a
LD
72732011-09-07 Ulrich Drepper <drepper@gmail.com>
7274
b49865be
UD
7275 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7276
fdc86bc9
UD
7277 * elf/dl-libc.c (dlerror_run): Pass back error code from
7278 dl_catch_error.
7279
c966526a
UD
7280 [BZ #13123]
7281 * elf/dl-load.c (lose): Free l_origin if it is valid.
7282
48882a1a
LD
7283 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7284 names.
7285 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7286 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7287 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7288 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7289 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7290 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7291
77a2a8b4
AZ
72922011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7293
7294 * sysdeps/powerpc/fpu/e_hypot.c: New file.
7295 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7296 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7297 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7298 * sysdeps/powerpc/fpu/k_cosf.c: New file.
7299 * sysdeps/powerpc/fpu/k_sinf.c: New file.
7300 * sysdeps/powerpc/fpu/s_cosf.c: New file.
7301 * sysdeps/powerpc/fpu/s_sinf.c: New file.
7302 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7303 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7304
24f579d8
AM
73052011-08-15 Alan Modra <amodra@gmail.com>
7306
7307 [BZ #13092]
7308 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7309 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7310 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
7311 ppc_mcount to static-only-routines.
7312 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7313 __mcount_internal.
7314 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7315 __mcount_internal with usual JUMPTARGET. Remove useless nop.
7316
3d4837df
UD
73172011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7318
7319 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7320 for finite and infinity parameters.
7321
22700377
WS
73222011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7323
7324 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7325 and add nop instructions for throughput optimization.
7326 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7327
5025581e
WS
73282011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7329
7330 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7331 aligned copy for power7 with vector-scalar instructions.
7332 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7333
08a300c9
L
73342011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7335
7336 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7337 AVX check.
7338
59178ef9
AS
73392011-09-07 Andreas Schwab <schwab@redhat.com>
7340
7341 [BZ #13144]
7342 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7343 last change.
7344
e38ba7ab
UD
73452011-09-07 Ulrich Drepper <drepper@gmail.com>
7346
7347 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7348 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7349 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7350 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7351 clock_gettime.
7352
d53a73ac
UD
73532011-09-06 Ulrich Drepper <drepper@gmail.com>
7354
fc8bffcc
UD
7355 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7356 Forgot to demangle the pointer.
7357
ceaa0c5d
UD
7358 * sysdeps/i386/sysdep.h: Define atom_text_section.
7359 * sysdeps/x86_64/sysdep.h: Likewise.
7360 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7361 section with atom_text_section.
7362 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7363 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7364 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7365 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7366 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7367
a77d3c17
UD
7368 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7369 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7370 already be defined. Change to take two parameters and don't assign
7371 result to variable. Adjust all users.
7372 Define INTERNAL_GETTIME if not already defined.
7373 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7374 call.
7375 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7376 HAVE_CLOCK_GETTIME_VSYSCALL.
7377 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7378
d53a73ac
UD
7379 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7380 gettimeofday vsyscall, just use time.
7381
a8f84144
AS
73822011-09-06 Andreas Schwab <schwab@redhat.com>
7383
7384 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7385 <errno.h>.
7386
ef606249
UD
73872011-09-06 Ulrich Drepper <drepper@gmail.com>
7388
7389 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7390 syscall on x86-64.
7391 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7392 syscall.
7393 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7394 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7395 syscall if possible.
7396
6585cb60
UD
73972011-09-05 Ulrich Drepper <drepper@gmail.com>
7398
7399 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7400 e_ident. Don't pass to find_mapsXX.
7401 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7402
a5f524e4
LD
74032011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7404
7405 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7406 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7407 * sysdeps/x86_64/multiarch/strchr.S: Update.
7408 Check bit_slow_BSF bit.
7409 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7410 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7411 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7412
554881ef
UD
74132011-09-05 Ulrich Drepper <drepper@gmail.com>
7414
d96de963
UD
7415 [BZ #13134]
7416 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7417 before glibc 2.15.
7418 (tryshell): Define.
7419 (__spawni): Change last parameter to be flag. Test
7420 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7421 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7422 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7423 * posix/spawni.c: Likewise.
7424 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7425 * posix/spawnp.c: Likewise. Change normal version to use
7426 SPAWN_XFLAGS_USE_PATH.
7427 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7428 SPAWN_XFLAGS_TRY_SHELL.
7429
d48e5868
UD
7430 [BZ #13150]
7431 * posix/glob.h: Remove gcc 1.x support.
7432
554881ef
UD
7433 [BZ #13068]
7434 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7435
693fb948
LD
74362011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7437
7438 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7439 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7440 strrchr-sse2-bsf
7441 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7442 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7443 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7444 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7445 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7446 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7447
1b48c537
UD
74482011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7449
49d42c37
UD
7450 * sysdeps/x86_64/wcscmp.S: New file.
7451
1b48c537
UD
7452 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7453 wcscmp-c wcscmp-sse2
7454 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7455 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7456 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7457 * wcsmbs/wcscmp.c: Allow renaming.
7458
15c95c5d
DM
74592011-09-05 David S. Miller <davem@davemloft.net>
7460
7461 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7462 stack slot, rather than the struct return pointer slot.
7463 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7464 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7466 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7467
2f0ad8f3
UD
74682011-09-05 Ulrich Drepper <drepper@gmail.com>
7469
d88ae418
UD
7470 * po/ja.po: Update from translation team.
7471
2f0ad8f3
UD
7472 [BZ #13144]
7473 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7474 kernel in 64-bit binaries.
7475
5f4318d1
DM
74762011-09-01 David S. Miller <davem@davemloft.net>
7477
7478 * elf/elf.h (HWCAP_SPARC_*): Move to..
7479 * sysdeps/sparc/sysdep.h: this new file and add new values.
7480 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7481 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7482 _DL_HWCAP_COUNT to 24.
7483 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7484 entries.
7485 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7486 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7487 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7488 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7489 instead of magic constants.
7490 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7491
3ba57516
DM
74922011-08-31 David S. Miller <davem@davemloft.net>
7493
7494 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7495 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7496 Reimplement to do errno handling inline.
7497 (SYSCALL_ERROR_HANDLER): New macro.
7498 (__SYSCALL_STRING): Do not do errno handling in asm.
7499 (__CLONE_SYSCALL_STRING): Delete.
7500 (__INTERNAL_SYSCALL_STRING): Delete.
7501 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7502 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7503 (PSEUDO): Reimplement to do errno handling inline.
7504 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7505 (SYSCALL_ERROR_HANDLER): New macro.
7506 (__SYSCALL_STRING): Do not do errno handling in asm.
7507 (__CLONE_SYSCALL_STRING): Delete.
7508 (__INTERNAL_SYSCALL_STRING): Delete.
7509 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7510 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7511 i386.
7512 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7513 (inline_syscall*): Add 'err' argument.
7514 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7515 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7516 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7517 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7518
7519 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7520 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7521
2bc17433
AS
75222011-08-30 Andreas Schwab <schwab@redhat.com>
7523
7524 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7525
fbeb5f4d
JO
75262011-08-29 Jiri Olsa <jolsa@redhat.com>
7527
7528 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7529 directive.
7530
ad69cc26
DM
75312011-08-24 David S. Miller <davem@davemloft.net>
7532
7533 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7534
39dd69df
AS
75352011-08-24 Andreas Schwab <schwab@redhat.com>
7536
7537 * elf/Makefile: Add rules to build and run unload8 test.
7538 * elf/unload8.c: New file.
7539 * elf/unload8mod1.c: New file.
7540 * elf/unload8mod1x.c: New file.
7541 * elf/unload8mod2.c: New file.
7542 * elf/unload8mod3.c: New file.
7543
7544 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7545 it wasn't used.
7546
2c0b250a
DM
75472011-08-23 David S. Miller <davem@davemloft.net>
7548
7549 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7550 subtract stack bias.
7551 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7552 %sp not %fp in calculations.
7553 (_JMPBUF_UNWINDS_ADJ): Likewise.
7554
22044b48
DM
7555 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7556 (aio_suspend): Call it to force an exception region around the
7557 AIO_MISC_WAIT() invocation.
7558
2cae4995
AS
75592011-08-23 Andreas Schwab <schwab@redhat.com>
7560
7561 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7562 backslash.
7563
873a772e
AJ
75642011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7565
7566 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7567 protection macro.
7568 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7569 and <dl-machine.h>.
7570 (Elf64_FuncDesc): Remove.
7571
25ad0df1
DM
75722011-08-22 David S. Miller <davem@davemloft.net>
7573
7574 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7575 sigaltstack check, add missing cfi directives.
7576 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7577 missing cfi directives, and sigaltstack handling.
7578
e888bcbe
AS
75792011-08-16 Andreas Schwab <schwab@redhat.com>
7580
7581 [BZ #11724]
7582 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7583 object is seen twice.
7584 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7585
7586 * elf/Makefile (distribute): Add tst-initorder2.c.
7587 (tests): Add tst-initorder2.
7588 (modules-names): Add tst-initorder2a tst-initorder2b
7589 tst-initorder2c tst-initorder2d. Add rules to build them.
7590 ($(objpfx)tst-initorder2.out): New rule.
7591 * elf/tst-initorder2.c: New file.
7592 * elf/tst-initorder2.exp: New file.
7593
87162f46
AS
75942011-08-22 Andreas Schwab <schwab@redhat.com>
7595
70538b7f
AS
7596 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7597
f55ffe58
AS
7598 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7599 dependencies back to end of function.
7600
87162f46
AS
7601 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7602 $(elfobjdir)/ld.so.
7603
91b392a4
UD
76042011-08-21 Ulrich Drepper <drepper@gmail.com>
7605
7606 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7607 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7608 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7609 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7610 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7611 of __vdso_gettimeofday.
7612 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7613 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7614 attribute_hidden.
7615 (_libc_vdso_platform_setup): Remove initialization of
7616 __vdso_gettimeofday and __vdso_time.
7617
5c43483f
UD
76182011-08-20 Ulrich Drepper <drepper@gmail.com>
7619
775a77e7
UD
7620 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7621 and fgetc_unlocked.
7622 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7623 getc_unlocked.
89f447ed 7624
49c74ba9
UD
7625 * elf/dl-open.c (add_to_global): Report additions to the global scope
7626 for LD_DEBUG=scopes.
7627 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 7628 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 7629
5c43483f
UD
7630 [BZ #13114]
7631 * stdio-common/Makefile (tests): Add bug24.
7632 * stdio-common/bug24.c: New file.
7633
a101b025
AJ
76342011-08-19 Andreas Jaeger <aj@suse.de>
7635
7636 [BZ #13114]
7637 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7638 non-existant file when using close-on-exec mode.
7639
c88f1766
UD
76402011-08-20 Ulrich Drepper <drepper@gmail.com>
7641
0276a718
UD
7642 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7643 the very first instruction.
7644
c88f1766
UD
7645 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7646 the CFI state in the end.
7647 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7648 inclusion of dl-trampoline.h.
7649 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7650
51ccffa0
AS
76512011-08-19 Andreas Schwab <schwab@redhat.com>
7652
94d7165f
AS
7653 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7654 expectations for long double.
7655
51ccffa0
AS
7656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7657 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7658
fd708658 76592011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
7660
7661 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7662 artificual limit depends upon the system page size.
7663
44f0a71e
UD
76642011-08-17 Ulrich Drepper <drepper@gmail.com>
7665
7666 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7667 * resolv/Makefile: Define CFLAGS-libresolv.
7668
8de79a24
AS
76692011-08-17 Andreas Schwab <schwab@redhat.com>
7670
7671 * nss/makedb.c (compute_tables): Make variables used in nested
7672 function static.
7673
27724598
UD
76742011-08-17 Ulrich Drepper <drepper@gmail.com>
7675
c5305d88
UD
7676 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7677 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7678 if buffer was too small.
7679
27724598
UD
7680 * elf/pldd.c (main): Attach to all threads in the process.
7681 Rewrite /proc handling to use *at functions.
7682
076fe015
UD
76832011-08-16 Ulrich Drepper <drepper@gmail.com>
7684
174baab3
UD
7685 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7686 specifies first scope to show.
7687 (dl_open_worker): Update callers. Move printing scope of new
7688 object to before the relocation.
44f0a71e 7689 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
7690 * sysdeps/generic/ldsodefs.h: Update declaration.
7691
076fe015
UD
7692 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7693 string for the scope number.
7694
a60df2c3
UD
76952011-08-14 Ulrich Drepper <drepper@gmail.com>
7696
7697 * nscd/servicescache.c (cache_addserv): Make sure written is always
7698 initialized.
7699
5e4287d1
RM
77002011-08-14 Roland McGrath <roland@hack.frob.com>
7701
85ae0589
RM
7702 * sysdeps/i386/i486/bits/atomic.h
7703 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7704 statement expression, so as to suppress "set but not used" warning.
7705 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7706
69f63097
RM
7707 * string/strncat.c (STRNCAT): Use prototype definition.
7708
675456ef
RM
7709 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7710 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7711 -Iprograms here.
7712 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7713 (localedef-modules): Add localedef.
7714 (locale-modules): Add locale.
7715
5e4287d1
RM
7716 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7717 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7718 to avoid a warning.
7719
9c96ff23
DM
77202011-08-14 David S. Miller <davem@davemloft.net>
7721
7722 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7723 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7724
f9ddf089
UD
77252011-08-13 Ulrich Drepper <drepper@gmail.com>
7726
44f0a71e 7727 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
7728 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7729 * elf/rtld.c (dl_main): Set l_name of vDSO.
7730 Call _dl_show_scope when DL_DEBUG_SCOPES.
7731 (process_dl_debug): Recognize scopes flag and also set it for all.
7732 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7733 Declare _dl_show_scope.
7734
1dc27704
UD
7735 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7736 (do_dlopen): Pass caller_dlopen to dl_open.
7737 (__libc_dlopen_mode): Initialize caller_dlopen.
7738
f9ddf089
UD
7739 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7740 of libc. Make tolower call locale-independent. Optimize a bit by
7741 using isdigit instead of isalnum.
7742 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7743
9ac533d3
UD
77442011-08-12 Ulrich Drepper <drepper@gmail.com>
7745
7746 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7747 was a dependency or dynamically loaded.
7748
89edf2e9
UD
77492011-08-11 Ulrich Drepper <drepper@gmail.com>
7750
8e999d29
UD
7751 * intl/l10nflist.c: Allow architecture-specific pop function.
7752 * sysdeps/x86_64/l10nflist.c: New file.
7753
89edf2e9
UD
7754 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7755 classification.
7756
14d96785
AS
77572011-08-10 Andreas Schwab <schwab@redhat.com>
7758
7759 * include/dirent.h: Add libc_hidden_proto for scandirat and
7760 scandirat64. Don't declare __scandirat64.
7761 * dirent/scandirat.c: Add libc_hidden_def.
7762 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7763 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7764
6761ac04
DM
77652011-08-10 David S. Miller <davem@davemloft.net>
7766
7767 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7768 enum.
7769 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7770 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7771 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7772
c55fbd1e
UD
77732011-08-09 Ulrich Drepper <drepper@gmail.com>
7774
7775 * Versions.def [libc]: Add GLIBC_2.15.
7776 * dirent/Makefile (routines): Add scandirat and scandirat64.
7777 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7778 GLIBC_2.15.
7779 * dirent/dirent.h: Declare scandirat and scandirat64.
7780 * dirent/scandirat.c: New file.
7781 * dirent/scandirat64.c: New file.
7782 * sysdeps/wordsize-64/scandirat.c: New file.
7783 * sysdeps/wordsize-64/scandirat64.c: New file.
7784 * dirent/opendir.c: Define opendirat.
7785 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7786 using scandirat.
7787 * dirent/scandir64.c: Adjust for scandir.c change.
7788 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7789 __scandirat64, and __scandir_cancel_handler.
7790 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7791 additional parameter and use openat instead of open (outside of ld.so).
7792 Add new __opendir as wrapper around __opendirat.
7793 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7794 here without requiring old scandirat implementation.
7795
879165f2
UD
77962011-08-08 Ulrich Drepper <drepper@gmail.com>
7797
7798 * dirent/scandir.c (cancel_handler): Renamed to
7799 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7800 defined. Adjust users.
7801 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7802 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7803
cb7e923b
UD
78042011-08-04 Ulrich Drepper <drepper@gmail.com>
7805
16292edd
UD
7806 * string/test-string.h (IMPL): Use __STRING to expand name and then
7807 stringify it.
7808
cb7e923b
UD
7809 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7810 of cleanups.
7811
cff82933
LD
78122011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7813
7814 * string/Makefile: Update.
7815 (strop-tests): Append strncat.
7816 * string/test-wcscmp.c: New file.
7817 New comprehensive test for wcscmp.
7818 * string/test-strcmp.c: Update.
7819 (WIDE): New define.
7820
9be9bfcc
AS
78212011-07-22 Andreas Schwab <schwab@redhat.com>
7822
7823 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7824 line.
7825
2e96f1c7
AS
78262011-07-26 Andreas Schwab <schwab@redhat.com>
7827
7828 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7829 encoding to ACE if AI_IDN.
7830
85188888
JJ
78312011-08-01 Jakub Jelinek <jakub@redhat.com>
7832
7833 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7834 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7835
5fa16e9b
LD
78362011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7837
7838 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7839 Fix overflow bug in strncat.
7840 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7841
7842 * string/test-strncat.c: Update.
7843 Add new tests for checking overflow bugs.
7844
78452011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7846
7847 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7848 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7849 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7850 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7851 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7852 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7853 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7854 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7855 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7856
7857 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7858 (USE_AS_STRCAT): Define.
7859 Add strcat and strncat support.
7860 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7861
8c1a459f
AS
78622011-07-25 Andreas Schwab <schwab@redhat.com>
7863
7864 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7865 __n bigger than INT_MAX+1.
7866 (__strncmp_g): Likewise.
7867
bba33c28
UD
78682011-07-23 Ulrich Drepper <drepper@gmail.com>
7869
798be72d
UD
7870 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7871 * libio/stido.h: Likewise.
7872
8accd4dc
UD
7873 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7874 (AF_NFC): Define.
7875 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7876 (AF_NFC): Define.
7877
cbff0d96
UD
7878 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7879 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7880 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7881 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7882 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7883
9191c04a
UD
7884 [BZ #13021]
7885 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7886 installed.
7887
bba33c28
UD
7888 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7889 typo.
7890 (_dl_x86_64_save_sse): Likewise.
7891
90f139dd
UD
78922011-07-22 Ulrich Drepper <drepper@gmail.com>
7893
1aae088a
UD
7894 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7895 OSXSAVE.
7896 (_dl_x86_64_save_sse): Likewise.
7897
8e2045f5
UD
7898 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7899
90f139dd
UD
7900 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7901
1d002f25
AS
79022011-07-21 Andreas Schwab <schwab@redhat.com>
7903
7904 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7905 change.
7906 (_dl_x86_64_save_sse): Use correct AVX check.
7907
21137f89
UD
79082011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7909
7910 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
7911 bug in strncpy/strncat.
7912 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7913
a65c0b7a
UD
79142011-07-21 Ulrich Drepper <drepper@gmail.com>
7915
7916 * string/tester.c (test_strcat): Add tests for different alignments
7917 of source and destination.
7918 (test_strncat): Likewise.
7919
6986b98a
UD
79202011-07-20 Ulrich Drepper <drepper@gmail.com>
7921
90bb2039
UD
7922 [BZ #12852]
7923 * posix/glob.c (glob): Check passed in values before using them in
7924 expressions to avoid some overflows.
7925 (glob_in_dir): Likewise.
7926
5644ef54
UD
7927 [BZ #13007]
7928 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
7929 check for AVX enablement so that we don't crash with old kernels and
7930 new hardware.
7931 * elf/tst-audit4.c: Add same checks here.
7932 * elf/tst-audit6.c: Likewise.
7933
7934 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 7935
bfc9dc9b
AS
79362011-07-09 Andreas Schwab <schwab@linux-m68k.org>
7937
7938 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
7939
702e64bb
UD
79402011-07-20 Ulrich Drepper <drepper@gmail.com>
7941
7942 * po/cs.po: Update from translation team.
7943 * po/bg.po: Likewise.
7944
295e904f
MP
79452011-07-12 Marek Polacek <mpolacek@redhat.com>
7946
7947 * misc/sys/cdefs.h: Add support for const attribute.
7948 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
7949 to gnu_dev_{major,minor,makedev} functions.
7950
3ff94596
MP
79512011-07-20 Marek Polacek <mpolacek@redhat.com>
7952
7953 * intl/dcigettext.c (get_output_charset): Add missing bracket.
7954
28b59fca
AS
79552011-07-20 Andreas Schwab <schwab@redhat.com>
7956
7957 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
7958 strlen results.
7959
19df733e
AK
79602011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7961
7962 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7963 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
7964 register in order to avoid conflicts with the soft frame pointer
7965 being held in r11 when necessary.
7966 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7967 (INTERNAL_VSYSCALL_NCS): Likewise.
7968
c8835729
MP
79692011-07-14 Marek Polacek <mpolacek@redhat.com>
7970
7971 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
7972 * elf/dl-fini.c (_dl_fini): Adjust caller.
7973 * elf/dl-close.c (_dl_close_worker): Likewise.
7974 * sysdeps/generic/ldsodefs.h: Adjust declaration.
7975
b902330c
MP
79762011-07-15 Marek Polacek <mpolacek@redhat.com>
7977
8991e135
MP
7978 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
7979 "aux_cache->nlibs < 0".
7980
b902330c
MP
7981 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
7982 in the reload-count case.
7983
99710781
LD
79842011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7985
7986 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7987 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
7988 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
7989 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
7990 * sysdeps/x86_64/multiarch/strcat.S: New file.
7991 * sysdeps/x86_64/multiarch/strncat.S: New file.
7992 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
7993 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
7994 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
7995 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
7996 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
7997 (USE_AS_STRCAT): Define.
7998 Add strcat and strncat support.
7999 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8000 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8001 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8002 * string/strncat.c: Update.
8003 (USE_AS_STRNCAT): Define.
8004 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8005 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8006 and i7.
8007 * sysdeps/x86_64/multiarch/init-arch.h
8008 (bit_Prefer_PMINUB_for_stringop): New.
8009 (index_Prefer_PMINUB_for_stringop): Likewise.
8010 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8011 bit_Prefer_PMINUB_for_stringop.
8012
7dc6bd90
UD
80132011-07-19 Ulrich Drepper <drepper@gmail.com>
8014
8015 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8016 buffer64.
8017 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8018 of casting of buffer.
8019 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8020 buffer32 and buffer64.
8021 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8022 writes instead of casting of buffer.
8023 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8024 buffer32.
8025 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8026 casting of buffer.
8027
e0e72284
AS
80282011-07-19 Andreas Schwab <schwab@redhat.com>
8029
8030 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8031
feb1eb0b
UD
80322011-07-19 Ulrich Drepper <drepper@gmail.com>
8033
8034 * nscd/nscd.c (termination_handler): Don't do anything for a database
8035 if it has not yet been initialized.
8036
298711ff
UD
80372011-07-18 Ulrich Drepper <drepper@gmail.com>
8038
8039 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8040
80412011-07-15 Marek Polacek <mpolacek@redhat.com>
8042
8043 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8044
f9d68389
UD
80452011-07-18 Ulrich Drepper <drepper@gmail.com>
8046
8047 * po/nl.po: Update from translation team.
8048 * po/sv.po: Likewise.
8049
db290cf5
RM
80502011-07-16 Roland McGrath <roland@hack.frob.com>
8051
8052 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8053 now disallowed by GCC.
5c550700 8054
fd5e21c7
RM
8055 * configure.in (use-default-link): Default to yes if a test -shared
8056 link meets our qualifications.
8057 * configure: Regenerated.
8058
5c550700
RM
8059 * config.make.in (output-format): New variable.
8060 * configure.in: Check for ld --print-output-format support.
8061 * configure: Regenerated.
8062 * Makerules ($(common-objpfx)format.lds)
8063 [$(output-format) != unknown]: Just use $(output-format),
8064 instead of the linker-script munging.
8065
9fa2c032
RM
80662011-07-14 Roland McGrath <roland@hack.frob.com>
8067
a6928d51
RM
8068 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8069 of $(common-objpfx)shlib.lds.
8070 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8071
661607b3
RM
8072 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8073 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8074
9fa2c032
RM
8075 * configure.in (-z relro check): Adjust test code to add a large
8076 writable data section after it.
8077 * configure: Regenerated.
8078
defe9061
RM
80792011-07-11 Roland McGrath <roland@hack.frob.com>
8080
8081 * configure.in (-z relro check): Fix test code to make the variable
8082 truly const.
8083 * configure: Regenerated.
8084
319b9ad4
UD
80852011-07-11 Ulrich Drepper <drepper@gmail.com>
8086
8087 * nscd/nscd.h (struct traced_file): Define.
8088 (struct database_dyn): Remove inotify_descr, reset_res, and filename
8089 elements. Add traced_files.
8090 (inotify_fd): Declare.
8091 (register_traced_file): Declare.
8092 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
8093 (inotify_fd): Export.
8094 (resolv_conf_descr): Remove.
8095 (nscd_init): Move inotify descriptor creation to main.
8096 Don't register files for notification here.
8097 (register_traced_file): New function.
8098 (invalidate_cache): Don't use reset_res to determine whether to call
8099 res_init, go through the list of registered files.
8100 (main_loop_poll): The inotify descriptors are now stored in the
8101 structures for the traced files.
8102 (main_loop_epoll): Likewise
8103 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
8104 to __nss_disable_nscd.
8105 * nscd/cache.c (prune_cache): There is no single inotify descriptor
8106 for a database anymore. Check the records for all the registered
8107 files instead.
8108 * nss/Makefile (libnss_files-routines): Add files-init.
8109 (libnss_db-routines): Add db-init.
8110 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8111 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8112 * nss/nss_db/db-init.c: New file.
8113 * nss/nss_files/files-init.c: New file.
8114 * nss/nsswitch.c (nss_load_library): New function. Broken out of
8115 __nss_lookup_function.
8116 (__nss_lookup_function): Call nss_load_library.
8117 (nss_load_all_libraries): New function.
8118 (__nss_disable_nscd): Take parameter with callback function for files
8119 to register. Set is_nscd. Load all the DSOs for the NSS modules
8120 used for the cached services.
8121 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8122 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8123 options for features to all the files in nscd.
8124
8125 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8126
23bee3e8
RM
81272011-07-10 Roland McGrath <roland@hack.frob.com>
8128
8129 * csu/elf-init.c (__libc_csu_init): Comment typo.
8130
46a5b7f0
UD
81312011-07-09 Ulrich Drepper <drepper@gmail.com>
8132
8133 * po/pl.po: Update from translation team.
8134 * po/ja.po: Likewise.
8135 * po/ru.po: Likewise.
8136 * po/ko.po: Likewise.
8137 * po/fr.po: Likewise.
8138
d30cf5bb
RM
81392011-07-09 Roland McGrath <roland@hack.frob.com>
8140
113ddea4
RM
8141 * configure.in (.ctors/.dtors header and trailer check):
8142 Use an empirical test on a built program.
8143 * configure: Regenerated.
8144
574920b4
RM
8145 * configure.in (-z relro check): Use an empirical test on a built DSO.
8146 Detect, but do not require, on ia64.
8147 * configure: Regenerated.
8148
d30cf5bb
RM
8149 * configure.in (READELF): Find it with AC_CHECK_TOOL.
8150 Update tests that use readelf to use $READELF instead.
8151 * configure: Regenerated.
8152
8538fdb3
UD
81532011-07-08 Ulrich Drepper <drepper@gmail.com>
8154
8155 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8156 if the result is not used.
8157
04d08991
AJ
81582011-07-05 Andreas Jaeger <aj@suse.de>
8159
8160 [BZ#9696]
8161 * stdlib/tst-strtod.c: Add testcase.
8162
de283087
AD
81632011-07-07 Ulrich Drepper <drepper@gmail.com>
8164
4e5f31c8 8165 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 8166 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
8167 The latter has a higher limit. Take additional parameter to pass to
8168 the new function.
8169 (__pathconf): Pass file to __statfs_link_max.
8170 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8171 __statfs_link_max.
8172 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8173 __statfs_link_max.
8174
de283087
AD
8175 [BZ #12868]
8176 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8177 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8178 Handle Lustre.
8179 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8180 (__statfs_filesize_max): Likewise.
8181 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8182
c75fa153
AJ
81832011-07-05 Andreas Jaeger <aj@suse.de>
8184
8185 * resolv/res_comp.c (dn_skipname): Remove unused variable.
8186
1a544854
UD
81872011-07-06 Marek Polacek <mpolacek@redhat.com>
8188
8189 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8190 `status' variable.
8191 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8192 Likewise.
8193
6f0eec67
UD
81942011-07-04 H.J. Lu <hongjiu.lu@intel.com>
8195
8196 * Makefile (strop-tests): Add strncat.
8197 * string/test-strncat.c: New file.
8198
aae30307
UD
81992011-06-30 Marek Polacek <mpolacek@redhat.com>
8200
8201 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8202
c0cfb5eb
UD
82032011-06-21 Andreas Jaeger <aj@suse.de>
8204
8205 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8206 Copy rule from iconvdata/Makefile.
8207
01636b21
UD
82082011-07-06 Ulrich Drepper <drepper@gmail.com>
8209
8210 [BZ #12922]
8211 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8212 but no long options are defined, just return 'W'.
8213
9895c8bc
UD
82142011-06-22 Marek Polacek <mpolacek@redhat.com>
8215
8216 [BZ #9696]
8217 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8218
5d4cf042
UD
82192011-07-06 Ulrich Drepper <drepper@gmail.com>
8220
8221 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8222 netgroups to read.
960e5535 8223 (innetgr): Likewise.
5d4cf042 8224
751eb97e
RM
82252011-07-05 Roland McGrath <roland@hack.frob.com>
8226
8227 * config.make.in (install_root): Default to $(DESTDIR).
8228
f15f1e45
UD
82292011-07-05 Ulrich Drepper <drepper@gmail.com>
8230
8231 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8232
4e34ac6a
RM
82332011-07-02 Roland McGrath <roland@hack.frob.com>
8234
5e9b6af4
RM
8235 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8236
84f9ea0f
RM
8237 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8238 containing directory rather than embedding absolute directory names.
8239
ea5ee9f7
RM
8240 * scripts/check-local-headers.sh: Rewritten using awk.
8241 Match by word, not by line. Print error messages for matches.
8242 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8243
1b74661a
RM
8244 * Makerules [shlib-lds-flags empty]:
8245 ($(common-objpfx)libc_pic.opts): New target.
8246 ($(common-objpfx)libc_pic.os.clean): New target.
8247 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8248
8249 * config.make.in (OBJCOPY): New variable.
8250 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8251 * configure: Regenerated.
8252
f781ef40
RM
8253 * config.make.in (use-default-link): New variable.
8254 * configure.in (use_default_link): Grok --with-default-link to set it.
8255 * configure: Regenerated.
8256 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8257 (shlib-lds, shlib-lds-flags): Define to empty.
8258
2d4fa81e
RM
8259 * Makerules (shlib-lds): New variable.
8260 (shlib-lds-flags): New variable.
8261 (build-shlib, build-moduile, build-module-asneeded): Use it.
8262 ($(common-objpfx)libc.so): Use $(shlib-lds).
8263 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8264 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8265
31fffa6b
RM
8266 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8267 DT_FLAGS/DT_FLAGS_1 with zero flags.
8268
4e34ac6a
RM
8269 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8270 linker script munging.
8271
fcfc776b
UD
82722011-07-02 Ulrich Drepper <drepper@gmail.com>
8273
8274 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8275 as 128-bit value.
8276 * crypt/sha512.c (sha512_process_block): Perform total addition using
8277 128-bit if possible.
8278 (__sha512_finish_ctx): Likewise.
8279 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8280 as 64-bit value.
8281 * crypt/sha256.c (SWAP64): Define.
8282 (sha256_process_block): Perform total addition using 64-bit if
8283 possible.
8284 (__sha256_finish_ctx): Likewise.
8285
99231d9a
UD
82862011-07-01 Ulrich Drepper <drepper@gmail.com>
8287
8288 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
8289 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8290 * nscd/hstcache.c (cache_addhst): Likewise.
8291 * nscd/grpcache.c (cache_addgr): Likewise.
8292 * nscd/aicache.c (addhstaiX): Likewise
8293 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8294
445b4a53
TK
82952011-07-01 Thorsten Kukuk <kukuk@suse.de>
8296
8297 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8298 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8299 * nscd/hstcache.c (cache_addhst): Likewise.
8300 * nscd/grpcache.c (cache_addgr): Likewise.
8301 * nscd/aicache.c (addhstaiX): Likewise
8302
6d4d8e8e
AS
83032011-07-01 Andreas Schwab <schwab@redhat.com>
8304
8305 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8306 domain only when needed.
8307
89f654c5
AS
83082011-06-30 Andreas Schwab <schwab@redhat.com>
8309
8310 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8311 is always restored.
8312
cf3b23ff
UD
83132011-06-29 Ulrich Drepper <drepper@gmail.com>
8314
8315 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8316 are re-adding the entry.
8317 * nscd/servicescache.c (cache_addserv): Likewise.
8318
751626f9
AJ
83192011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8320
8321 * sysdeps/generic/dl-irel.h: fix protection against multiple
8322 inclusions.
8323 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8324
9113ea1f
UD
83252011-06-28 Ulrich Drepper <drepper@gmail.com>
8326
5c0b8d90
UD
8327 [BZ #12935]
8328 * malloc/memusage.sh: Fix quoting in message.
8329 * debug/xtrace.sh: Likewise.
8330
9113ea1f
UD
8331 * configure.in: Remove support for --experimental-malloc option, make
8332 it the default.
8333 * config.make.in: Likewise.
8334 * malloc/Makefile: Likewise.
8335
a4172181
AS
83362011-06-27 Andreas Schwab <schwab@redhat.com>
8337
8338 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8339 two-byte characters.
8340
78a7eee7
RM
83412011-06-27 Roland McGrath <roland@hack.frob.com>
8342
62bede13
RM
8343 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8344 AC_CACHE_CHECK invocation.
8345 * configure: Regenerated.
8346
78a7eee7
RM
8347 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8348
5ce33a62
UD
83492011-06-27 Ulrich Drepper <drepper@gmail.com>
8350
034807a9
UD
8351 [BZ #12350]
8352 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8353 bit from old_res_options.
8354
4902da17
UD
8355 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8356
5ce33a62
UD
8357 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8358 value type for setfct.
8359
c2344f56
L
83602011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8361
8362 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8363 __gettimeofday instead of gettimeofday.
8364
68468076
UD
83652011-06-26 Ulrich Drepper <drepper@gmail.com>
8366
8367 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8368
acb0d739
L
83692011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8370
8371 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8372
8373 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8374 info.
8375
8912479f
L
83762011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8377
8378 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8379 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8380 strcpy-sse2-unaligned strncpy-sse2-unaligned
8381 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8382 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8383 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8384 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8385 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8386 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8387 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8388 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8389 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8390 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8391 (STRCPY): Support SSE2 and SSSE3 versions.
8392
d5495a11
UD
83932011-06-24 Ulrich Drepper <drepper@gmail.com>
8394
8395 [BZ #12874]
8396 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8397 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8398 kernels which artificially limit size of requests.
8399
0b1cbaae
L
84002011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8401
8402 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8403 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8404 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8405 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8406 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8407 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8408 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8409 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8410 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8411 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8412 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8413 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8414 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8415 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8416 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8417 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8418 Enable unaligned load optimization for Intel Core i3, i5 and i7
8419 processors.
8420 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8421 Define.
8422 (index_Fast_Unaligned_Load): Define.
8423 (HAS_FAST_UNALIGNED_LOAD): Define.
8424
07f494a0
MP
84252011-06-23 Marek Polacek <mpolacek@redhat.com>
8426
8427 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8428
fa3fc0fe
UD
84292011-06-22 Ulrich Drepper <drepper@gmail.com>
8430
8431 [BZ #12907]
8432 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8433 until it is clear that the information is realy needed.
8434 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8435
e12df166
AS
84362011-06-22 Andreas Schwab <schwab@redhat.com>
8437
8438 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8439
852eb34d
UD
84402011-06-22 Ulrich Drepper <drepper@gmail.com>
8441
84e2a551
UD
8442 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8443 /sys/devices/system/cpu/online if it is usable.
8444
852eb34d
UD
8445 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8446 reading the information from the /proc filesystem to once a second.
8447
6e502e19
UD
84482011-06-21 Andreas Jaeger <aj@suse.de>
8449
8450 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8451 NULL after inclusion of kernel headers.
8452
75d39ff2
UD
84532011-06-21 Ulrich Drepper <drepper@gmail.com>
8454
51f9aa6a
UD
8455 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8456 calls to internal_setent.
8457
c0244a9d
UD
8458 [BZ #12885]
8459 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8460 addresses using gethostbyname4_r ignore IPv4 addresses.
8461
c5e3c2ae
UD
8462 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8463 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8464
75d39ff2
UD
8465 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8466
42675c6f
DM
84672011-06-20 David S. Miller <davem@davemloft.net>
8468
8469 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8470 inclusions.
8471 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8472
8473 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8474 (elf_irel): Use it.
8475 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8476 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8477 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8478 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8479 * sysdeps/x86_64/dl-irel.h: Likewise.
8480
8481 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8482 * elf/dl-sym.c: Likewise.
8483
57912a71
UD
84842011-06-15 Ulrich Drepper <drepper@gmail.com>
8485
8486 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8487 need to dereference resplen2.
8488
ee22793d
AS
84892011-06-14 Andreas Schwab <schwab@redhat.com>
8490
8491 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8492
a9e836b0
UD
84932011-06-15 Ulrich Drepper <drepper@gmail.com>
8494
77fb9117
UD
8495 * Makeconfig: Define vardbdir and inst_vardbdir.
8496 * nss/Makefile: Add rules to install db-Makefile.
8497
40c1b22c
UD
8498 * nss/nss_db/db-XXX.c: Cleanup.
8499
9f2da732
UD
8500 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8501 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8502 GLIBC_PRIVATE.
8503 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8504 * nss/makedb.c: Implement -g option to specify that value strings
8505 are generated and should not be added to table iterated over for
8506 get*ent calls.
8507 * nss/nss_db/db-initgroups.c: New file.
8508
82e9a1f7
UD
8509 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8510 interface.
8511
c41af17e
UD
8512 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8513 (internal_getgrouplist): Adjust to name change.
8514 Update use_initgroups_entry if this is not the first call.
8515 * nss/databases.def: Add initgroups entry.
8516
a9e836b0
UD
8517 * nss/makedb.c (compute_tables): Check result of multiple hash table
8518 sizes to minimize maximum chain length.
8519
2666d441
UD
85202011-06-14 Ulrich Drepper <drepper@gmail.com>
8521
8522 * Versions.def: Add entry for libnss_db.
8523 * shlib-versions: Likewise.
8524 * nss/Makefile: Add rules to build libnss_db.
8525 * nss/Versions: Add libnss_db information. Organize libnss_files
8526 entries better.
8527 * nss/db-Makefile: Add gshadow support. Change rules for the new
8528 makedb progra. Some minor improvements to generate smaller files.
8529 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8530 here from...
8531 * nss/makedb.c: ...here.
8532 Improve database format to be smaller and require less memory at
8533 runtime.
8534 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8535 db anymore.
8536 * nss/nss_db/db-netgrp.c: Likewise.
8537 * nss/nss_db/db-open.c: Likewise.
8538 * nss/nss_files/flies-XXX.x: Adjust comments.
8539 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8540 * nss/nss_files/files-grp.c: Likewise.
8541 * nss/nss_files/files-hosts.c: Likewise.
8542 * nss/nss_files/files-network.c: Likewise.
8543 * nss/nss_files/files-proto.c: Likewise.
8544 * nss/nss_files/files-pwd.c: Likewise.
8545 * nss/nss_files/files-rpc.c: Likewise.
8546 * nss/nss_files/files-service.c: Likewise.
8547 * nss/nss_files/files-sgrp.c: Likewise.
8548 * nss/nss_files/files-spwd.c: Likewise.
8549 * nss/nss_db/db-alias.c: Removed.
8550 * nss/nss_db/dummy-db.h: Removed.
8551
9ee76b5a
UD
85522011-06-02 Ulrich Drepper <drepper@gmail.com>
8553
8554 * nss/makedb.c: Rewritten to not use database library.
8555 * nss/Makefile: Update to build new makedb program.
8556
c71ca1f8
AJ
85572011-06-14 Andreas Jaeger <aj@suse.de>
8558
8559 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8560 memset declaration.
8561
3154bfb8
UD
85622011-06-10 Andreas Schwab <schwab@redhat.com>
8563
8564 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8565 tmpbuf.
8566
b350afab
RM
85672011-06-10 Roland McGrath <roland@hack.frob.com>
8568
decd4e50
RM
8569 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8570 * elf/Makefile ($(objpfx)ld.so): Likewise.
8571
5615eaf2
RM
8572 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8573 Don't list ld.so twice in dependencies.
8574
8575 * posix/bug-regex31.c: Include <stdlib.h>.
8576
8577 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8578
8579 * nis/nss_compat/compat-spwd.c
8580 (getspent_next_nss_netgr): Remove unused variable.
8581 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8582
8583 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8584 nonmembers" output to use the right array.
8585
8586 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8587
8588 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8589
8590 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8591 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8592 * catgets/gencat.c (read_input_file): Likewise.
8593 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8594
8595 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8596 variable definition inside #if's controlling its use.
8597
8598 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8599
8600 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8601
8602 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8603
8604 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8605 unreachable code.
8606
8607 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8608
b68e08db
RM
8609 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8610 * configure: Regenerated.
8611
b350afab
RM
8612 * Makerules: Revert last change.
8613 * elf/Makefile: Likewise.
8614
28368601
RM
86152011-06-09 Roland McGrath <roland@hack.frob.com>
8616
8617 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8618 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8619 (reloc-link): Likewise.
8620
11988f8f
UD
86212011-06-09 Ulrich Drepper <drepper@gmail.com>
8622
8623 * elf/Makefile: Add rules to build pldd.
8624 * elf/pldd.c: New file.
8625 * elf/pldd-xx.c: New file.
8626
e80fab37
UD
86272011-06-07 Ulrich Drepper <drepper@gmail.com>
8628
8629 * version.h: Update for 2.15 development version.
8630
9b849836
DM
86312011-06-07 David S. Miller <davem@davemloft.net>
8632
8633 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8634 ifuncs.
8635 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8636 elf_machine_lazy_rel): Likewise.
8637 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8638 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8639 elf_machine_lazy_rel): Likewise.
8640 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8641 dl_hwcap via passed in argument.
8642 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8643 Likewise.
8644
5a31b283
AK
86452011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8646
8647 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8648
069e52f8
RM
86492011-06-06 Roland McGrath <roland@hack.frob.com>
8650
8651 [BZ #12849]
8652 * manual/fdl-1.1.texi: New file, verbatim from:
8653 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8654 * manual/lgpl-2.1.texi: New file, verbatim from:
8655 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8656 * manual/Makefile (licenses): New variable, list those new file names.
8657 (texis): Use it.
8658 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8659
8660 * manual/fdl.texi: File removed.
8661 * manual/lesser.texi: File removed.
8662 * manual/libc.texinfo (Copying, Documentation License):
8663 Use new @include file names, put @appendix directive before @include.
8664
f16846a5
JJ
86652011-06-04 Jakub Jelinek <jakub@redhat.com>
8666
8667 [BZ #12841]
8668 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8669 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8670 (mq_open): Add __NTH.
8671
3d29045b
L
86722011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8673
8674 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8675 Assume Intel Core i3/i5/i7 processor if AVX is available.
8676
8c297311
UD
86772011-05-31 Ulrich Drepper <drepper@gmail.com>
8678
8679 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8680 typo.
8681
c8fc0c91
UD
86822011-05-31 Andreas Schwab <schwab@redhat.com>
8683
8684 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8685 memory. Use alloca_account. Fix memory leak when retrying.
8686
5b27a807
UD
86872011-05-31 Ulrich Drepper <drepper@gmail.com>
8688
356f8bc6
UD
8689 * version.h (RELEASE): Bump for 2.14 release.
8690 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8691
5b27a807
UD
8692 * config.make.in (RANLIB): Remove entry.
8693
01f16ab0
UD
86942011-05-30 Ulrich Drepper <drepper@gmail.com>
8695
41fce8bd
UD
8696 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8697 (libc.pot): Work around missing support for .ksh extension in xgettext.
8698
4769ae77
UD
8699 [BZ #12684]
8700 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8701 if both request failed.
8702 (send_dg): In case of server errors clear resplen or *resplen2.
8703
6b1e7d19
UD
8704 [BZ #12454]
8705 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8706 when there are multiple maps.
8707 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8708 (_dl_fini): Remove test here.
8709
01f16ab0
UD
8710 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8711
b1ebd700
UD
87122011-05-29 Ulrich Drepper <drepper@gmail.com>
8713
7ae22829
UD
8714 [BZ #12350]
8715 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8716 bit from old_res_options.
8717 (gaih_inet): Likewise.
8718
553149f6 8719 [BZ #11099]
18a84741 8720 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
8721 as signed.
8722
652ffab1
UD
8723 * resolv/res_init.c (res_setoptions): Make the code more compact.
8724
16985fd0
UD
8725 [BZ #11558]
8726 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8727 set RES_USEVC.
8728
0464f746
UD
8729 [BZ #11634]
8730 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8731
7d17596c
UD
8732 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8733
cf6bbbd7
UD
8734 [BZ #11781]
8735 * malloc/malloc.h: Declare malloc hook variables as volatile.
8736
13f1ab36
UD
8737 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8738 in last patch.
8739
b1ebd700
UD
8740 [BZ #11799]
8741 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 8742 raise in the comment.
80e2212d
UD
8743 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8744 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8745 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 8746
ce67228d
UD
87472011-05-28 Ulrich Drepper <drepper@gmail.com>
8748
8887a920
UD
8749 [BZ #12811]
8750 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8751 grow the buffers more if it already has to be sufficient.
8752 (build_wcs_upper_buffer): Likewise.
8753 * posix/regexec.c (check_matching): Likewise.
8754 (clean_state_log_if_needed): Likewise.
8755 (extend_buffers): Don't enlarge buffers beyond size of the input
8756 buffer.
8757 Patches mostly by Emil Wojak <emil@wojak.eu>.
8758 * posix/bug-regex32.c: New file.
8759 * posix/Makefile (tests): Add bug-regex32.
8760
4f031072
UD
8761 * locale/findlocale.c (_nl_find_locale): Return right away if
8762 _nl_explode_name failed.
8763 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8764
d0478f0c
UD
8765 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8766
de81b246
UD
8767 * debug/xtrace.sh: Unify messages.
8768 * malloc/memusage.sh: Likewise.
8769
c738465a
UD
8770 [BZ #12813]
8771 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8772 time symbol from vDSO. Substitute with vsyscall if not available.
8773 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8774 __vdso_time.
8775
f1f929d7
UD
8776 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8777 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8778 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8779 Add sendmmsg and internal_sendmmsg.
8780 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8781 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8782 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8783
ce67228d
UD
8784 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8785 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8786 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8787
e57420c6
UD
87882011-05-27 Ulrich Drepper <drepper@gmail.com>
8789
a8509ca5
UD
8790 [BZ #12813]
8791 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8792 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8793 available.
8794 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8795 __vdso_getcpu.
8796
e57420c6
UD
8797 [BZ #12814]
8798 * iconvdata/Makefile (tests): Add bug-iconv9.
8799 * iconvdata/bug-iconv9.c: New file.
8800
4d07db15
AS
88012011-05-27 Andreas Schwab <schwab@redhat.com>
8802
8803 [BZ #12814]
8804 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8805
ea486f69
JJ
88062011-05-25 Jakub Jelinek <jakub@redhat.com>
8807
8808 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8809 (struct user_regs_struct): Change intcs field back to cs.
8810
6f038433
UD
88112011-05-25 Ulrich Drepper <drepper@gmail.com>
8812
8813 * po/ja.po: Update from translation team.
8814
67f86a25
UD
88152011-05-23 Ulrich Drepper <drepper@gmail.com>
8816
8817 [BZ #12795]
8818 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8819 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8820
def7fbd6
AS
88212011-05-20 Andreas Schwab <schwab@redhat.com>
8822
8823 * stdlib/longlong.h: Update from GCC.
8824
f50ef8f1
AS
88252011-05-23 Andreas Schwab <schwab@redhat.com>
8826
8827 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8828 parameter name.
8829 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8830 Add parameter name.
8831 (__sysconf): Pass it down.
8832
de7ce8f1
UD
88332011-05-22 Ulrich Drepper <drepper@gmail.com>
8834
f2962a71
UD
8835 [BZ #12671]
8836 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8837 some situations.
8838 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8839 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8840 add in in __libc_use_alloca calls. Adjust callers.
8841 (glob): Use malloc in some situations.
8842
de7ce8f1
UD
8843 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8844 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8845 pltexit.
8846
aec84f53
UD
88472011-05-21 Ulrich Drepper <drepper@gmail.com>
8848
05bb4a68
UD
8849 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8850 and CLOCK_BOOTTIME_ALARM.
8851
7ea72f99
UD
8852 [BZ #12782]
8853 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8854 is returned.
8855
7e4afad5
UD
8856 * string/_strerror.c (__strerror_r): Print negative errors as signed
8857 numbers.
8858
8e211fec
UD
8859 [BZ #12777]
8860 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8861 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8862 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8863
f7d82dc9
UD
8864 * configure.in: Fix typo in redirection and correct removal of test
8865 files in two cases.
8866
cc9e536d
UD
8867 [BZ #12788]
8868 * locale/setlocale.c (new_composite_name): Fix test to check for
8869 identical name of all categories.
8870
aec84f53
UD
8871 [BZ #12792]
8872 * libio/filedoalloc.c (local_isatty): New function.
8873 (_IO_file_doallocate): Use local_isatty.
8874 * stdio-common/perror.c (perror): In case a new stream is used
8875 forward the stream error.
8876 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8877 error flag.
8878
78e64fdc
RT
88792011-05-20 Ulrich Drepper <drepper@gmail.com>
8880
34a9094f
UD
8881 [BZ #11869]
8882 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8883 alloca.
8884 * include/alloca.h (extend_alloca_account): Define.
8885
78e64fdc
RT
8886 [BZ #11857]
8887 * posix/regex.h: Fix comments with documentation of user-accessible
8888 fields after compilation and describe correct free'ing of pattern
8889 after re_compile_pattern.
8890 Patch by Reuben Thomas <rrt@sc3d.org>.
8891
457bddfc
RA
88922011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8893
8894 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8895 and -mno-altivec to prevent the compiler from using Altivec and/or
8896 VSX instructions when the corresponding registers are not available.
8897
a4527b51
AS
88982011-05-19 Andreas Schwab <schwab@redhat.com>
8899
8900 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8901
ed690b2f
UD
89022011-05-19 Ulrich Drepper <drepper@gmail.com>
8903
8904 * libio/freopen.c (freopen): Use __dup2, not dup2.
8905 * libio/freopen64.c (freopen64): Likewise.
8906
8db73634
L
89072011-05-17 H.J. Lu <hongjiu.lu@intel.com>
8908
8909 [BZ #12775]
8910 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
8911 * math/Makefile (tests): Add test-powl.
8912 (CFLAGS-test-powl.c): Define.
8913 * math/test-powl.c: New file.
8914
0a197a9d
L
89152011-05-16 H.J. Lu <hongjiu.lu@intel.com>
8916
8917 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
8918
ee30c380
UD
89192011-05-17 Ulrich Drepper <drepper@gmail.com>
8920
8921 [BZ #11837]
8922 * iconvdata/gb18030.c: Update to GB18020-2005.
8923
6ce75379
UD
89242011-05-16 Ulrich Drepper <drepper@gmail.com>
8925
a4b89fd8
AR
8926 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
8927 RE_SYNTAX_POSIX_AWK): Update to match recent development.
8928 Patch by Aharon Robbins <arnold@skeeve.com>.
8929
ea389b12
UD
8930 [BZ #11892]
8931 * stdlib/putenv.c (putenv): Don't always create copy of the variable
8932 on the stack.
8933
68a3f91f
UD
8934 [BZ #11895]
8935 * misc/pselect.c (__pselect): Handle timeout value errors hidden
8936 through underflows.
8937
15cc7dd1
UD
8938 [BZ #12766]
8939 * misc/error.c (error_at_line): Ensure file_name and old_file_name
8940 point to strings before performing equality test for error_one_per_line
8941 mode.
8942
f3799213
UD
8943 [BZ #11697]
8944 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
8945
d79a9c94
UD
8946 [BZ #11820]
8947 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8948 (struct user_fpregs_struct): Avoid __uint*_t types.
8949
56e5eb46
UD
8950 [BZ #6420]
8951 * malloc/mtrace.c (tr_where): Add additional parameter to point to
8952 symbol info. Use it instead of calling _dl_addr locally.
8953 (lock_and_info): New function.
8954 (tr_freehook): Call lock_and_info and pass symbol info as additional
8955 parameter to tr_where.
8956 (tr_mallochook): Likewise.
8957 (tr_reallochook): Likewise.
8958 (tr_memalignhook): Likewise.
8959
6ce75379
UD
8960 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
8961 used and couldn't be at all thread-safe.
8962
f8a3b5bf
UD
89632011-05-15 Ulrich Drepper <drepper@gmail.com>
8964
94b7cc37
UD
8965 * libio/freopen.c (freopen): Don't close old file descriptor
8966 before the new one is opened. Instead dup the new file descriptor
8967 to the old one after the new stream is created.
8968 * libio/freopen64.c (freopen64): Likewise.
8969 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
8970 * libio/fileops.c (_IO_new_file_close_it): Handle new
8971 _IO_FLAGS2_NOCLOSE flag.
8972 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
8973 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
8974 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
8975 _IO_FLAGS2_NOCLOSE flag.
8976 * include/unistd.h: Add hidden_proto for dup3.
8977 Define __have_dup3.
8978 * io/dup3.c: Define hidden symbol.
8979 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
8980
bd25564e
UD
8981 [BZ #7101]
8982 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
8983 when an incomplete long option is used.
8984 * posix/tst-getopt_long1.c: New file.
8985 * posix/Makefile (tests): Add tst-getopt_long1.
8986
c84cfef4
UD
8987 [BZ #10138]
8988 * scripts/config.guess: Update from autoconf-2.68.
8989 * scripts/config.sub: Likewise.
8990
3b85df27
UD
8991 [BZ #10157]
8992 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
8993 tests into ...
8994 (has_cpuclock): ...this. New function.
8995 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
8996 macro here based on has_cpuclock code.
8997
15a856b1
UD
8998 [BZ #10149]
8999 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9000 First byte (not low byte) is now always NUL.
9001 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9002
05f399e6
UD
9003 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9004 Use non-cancelable interfaces.
9005
10a52685 9006 [BZ #9809]
94ecc67d
UD
9007 * locale/iso-639.def: Add entry for Sorani.
9008
f8a3b5bf
UD
9009 [BZ #11901]
9010 * include/stdlib.h: Move include protection to the right place.
9011 Define abort_msg_s. Declare __abort_msg with it.
9012 * stdlib/abort.c (__abort_msg): Adjust type.
9013 * assert/assert.c (__assert_fail_base): New function. Majority
9014 of code from __assert_fail. Allocate memory for __abort_msg with
9015 mmap.
9016 (__assert_fail): Now call __assert_fail_base.
9017 * assert/assert-perr.c: Remove bulk of implementation. Use
9018 __assert_fail_base.
9019 * include/assert.hL Declare __assert_fail_base.
9020 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9021 mmap.
9022 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9023
1af4e298
UD
90242011-05-14 Ulrich Drepper <drepper@gmail.com>
9025
f8a3b5bf 9026 [BZ #11952]
d26dfc60
MG
9027 [BZ #12453]
9028 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9029 until all modules are registered in the DTV.
9030 * elf/Makefile: Add rules to build and run tst-tls19.
9031 * elf/tst-tls19.c: New file.
9032 * elf/tst-tls19mod1.c: New file.
9033 * elf/tst-tls19mod2.c: New file.
9034 * elf/tst-tls19mod3.c: New file.
9035 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9036
2fc54d6f
UD
9037 [BZ #12083]
9038 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9039 correctly.
9040
98d76b46
UD
9041 [BZ #12601]
9042 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9043 two-byte sequence errors.
9044 * iconvdata/Makefile (tests): Add bug-iconv8.
9045 * iconvdata/bug-iconv8.c: New file.
9046
da3c19ef
UD
9047 [BZ #12626]
9048 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9049 buf2 definition.
9050
ca408c15
UD
9051 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9052
d6f67f7d
UD
9053 [BZ #12432]
9054 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9055 (dummy_getcfa): New function.
9056 (init): Get _Unwind_GetCFA address, use dummy if not found.
9057 (backtrace_helper): In recursion check, also check whether CFA changes.
9058 (__backtrace): Completely initialize arg.
9059
1af4e298 9060 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
9061 storing incomplete byte sequence in state object. Avoid testing for
9062 guaranteed too small input if we know there is enough data available.
1af4e298 9063
da62f81b
AS
90642011-05-11 Andreas Schwab <schwab@redhat.com>
9065
9066 * Makeconfig (+link-pie): Indent.
9067 * Rules (binaries-pie): Define if $(have-fpie) and
9068 $(build-shared).
9069 (binaries-shared): Also filter out $(binaries-pie).
9070 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9071 * nscd/Makefile (others-pie): Add nscd.
9072 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9073 ($(objpfx)nscd): Remove command override.
9074 * login/Makefile (others-pie): Add pt_chown.
9075 ($(objpfx)pt_chown): Remove command override.
9076 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9077 remove command overrides.
9078
fcabc0f8
UD
90792011-05-13 Ulrich Drepper <drepper@gmail.com>
9080
20030ae6
UD
9081 * libio/tst_putwc.c: Fix error messages.
9082
fcabc0f8
UD
9083 [BZ #12724]
9084 * libio/fileops.c (_IO_new_file_close_it): Always flush when
9085 currently writing and seek to current position when not.
9086 * libio/Makefile (tests): Add bug-fclose1.
9087 * libio/bug-fclose1.c: New file.
9088
320a5dc0
PB
90892011-05-12 Ulrich Drepper <drepper@gmail.com>
9090
9091 [BZ #12511]
9092 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
9093 don't set DF_1_NODELETE here.
9094 (do_lookup_x): When entering new entry test for copy relocation
9095 and if necessary set DF_1_NODELETE flag.
9096 * elf/tst-unique4.cc: New file.
9097 * elf/tst-unique4.h: New file.
9098 * elf/tst-unique4lib.cc: New file.
9099 * elf/Makefile: Add rules to build and run tst-unique4.
9100 Patch by Piotr Bury <pbury@goahead.com>.
9101
22836f52
UD
91022011-05-11 Ulrich Drepper <drepper@gmail.com>
9103
f574184a
UD
9104 [BZ #12052]
9105 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9106
e1fb097f
UD
9107 [BZ #12625]
9108 * misc/mntent_r.c (addmntent): Flush the stream after the output
9109
22836f52
UD
9110 [BZ #12393]
9111 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9112 (is_trusted_path_normalize): Skip initial colon. Append slash
9113 to empty buffer. Duplicate is_trusted_path code but allow
9114 constructed patch to be prefix.
9115 (is_dst): Allow $ORIGIN followed by /.
9116 (_dl_dst_substitute): Correct clearing of check_for_trusted.
9117 Correct testing of result of is_trusted_path_normalize
9118 (decompose_rpath): Fix warning.
9119
7b3b0b2a
UD
91202011-05-10 Ulrich Drepper <drepper@gmail.com>
9121
9122 [BZ #11257]
9123 * grp/initgroups.c (internal_getgrouplist): When we found the service
9124 list through the initgroups entry in nsswitch.conf do not always
9125 continue on a successful lookup. Don't always use the
eac80ce2 9126 __nss_group_database value if it is set.
7b3b0b2a
UD
9127 * nss/nsswitch.conf (initgroups): Change action for successful db
9128 lookup to continue for compatibility.
9129
2a81eaa5
UD
91302011-05-09 Ulrich Drepper <drepper@gmail.com>
9131
be97a69e
UD
9132 [BZ #11532]
9133 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9134 and CP774 modules.
9135 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9136 and CP774 modules.
9137 * iconvdata/tst-tables.sh: Likewise.
9138 * iconvdata/cp770.c: New file.
9139 * iconvdata/cp771.c: New file.
9140 * iconvdata/cp772.c: New file.
9141 * iconvdata/cp773.c: New file.
9142 * iconvdata/cp774.c: New file.
9143 * iconvdata/testdata/CP770: New file.
9144 * iconvdata/testdata/CP770..UTF8: New file.
9145 * iconvdata/testdata/CP771: New file.
9146 * iconvdata/testdata/CP771..UTF8: New file.
9147 * iconvdata/testdata/CP772: New file.
9148 * iconvdata/testdata/CP772..UTF8: New file.
9149 * iconvdata/testdata/CP773: New file.
9150 * iconvdata/testdata/CP773..UTF8: New file.
9151 * iconvdata/testdata/CP774: New file.
9152 * iconvdata/testdata/CP774..UTF8: New file.
9153
9154 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9155 END CHARMAP line.
9156 * iconvdata/gen-8bit-gap.sh: Likewise.
9157 * iconvdata/gen-8bit.sh: Likewise.
9158
c1e9e399
UD
9159 * locale/iso-639.def: Add ary entry.
9160
24c55fb3 9161 [BZ #11258]
96b4b1b0
UD
9162 * locale/C-translit.h.in: Add U20A1 transliteration.
9163
bdc2f971
KB
9164 [BZ #12178]
9165 * locale/iso-639.def: Add wae entry.
9166 Patch by Kevin Bortis <bortis@translate-wae.ch>.
9167
2952b117
UD
9168 [BZ #12545]
9169 * locale/programs/localedef.c (construct_output_path): Use ssize_t
9170 for n.
9171
2a81eaa5
UD
9172 [BZ #12711]
9173 * locale/C-translit.h.in: Add entry for U20B9.
9174 Patch by pravin.d.s@gmail.com.
9175
28377d1b
UD
91762011-05-08 Ulrich Drepper <drepper@gmail.com>
9177
7fb90fb8
UD
9178 [BZ #12713]
9179 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9180 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
9181 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
9182 in rtld. Use *stat64.
7fb90fb8 9183 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 9184 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 9185 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
9186 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9187 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9188 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9189 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9190 __fstatat64 macros.
7fb90fb8
UD
9191 * include/dirent.h: Add libc_hidden_proto for rewinddir.
9192 * dirent/rewinddir.c: Add libc_hidden_def.
9193 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 9194 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 9195
28377d1b
UD
9196 * include/dirent.h (__alloc_dir): Add flags parameter.
9197 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9198 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9199 __alloc_dir.
9200 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
9201 from fdopendir if O_CLOEXEC is already set.
9202
66bdbaa4
AM
92032011-03-15 Alan Modra <amodra@gmail.com>
9204
9205 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9206 l_tls_firstbyte_offset non-zero. Save padding offset in
9207 l_tls_firstbyte_offset for later use.
9208 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9209 freeing static tls block.
9210
95721191
JN
92112011-03-05 Jonathan Nieder <jrnieder@gmail.com>
9212
9213 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9214 where #ifdef was intended. The intent is to prevent ARG_MAX from
9215 being defined by the kernel headers.
9216
f87dfb1f
UD
92172011-05-07 Ulrich Drepper <drepper@gmail.com>
9218
9219 [BZ #12734]
9220 * resolv/resolv.h: Define RES_NOTLDQUERY.
9221 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9222 no-tld-query and set RES_NOTLDQUERY.
9223 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9224 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9225 modern BIND to search name as TLD unless forbidden.
9226
47c3cd7a
UD
92272011-05-07 Petr Baudis <pasky@suse.cz>
9228 Ulrich Drepper <drepper@gmail.com>
9229
9230 [BZ #12393]
9231 * elf/dl-load.c (fillin_rpath): Move trusted path check...
9232 (is_trusted_path): ...to here.
c1e9ea35 9233 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 9234 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 9235 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 9236
8a35c912
PP
92372011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9238
9239 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9240 __BEGIN/__END_DECLS.
9241
acd41f47
UD
92422011-05-06 Ulrich Drepper <drepper@gmail.com>
9243
9244 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9245 NSS_STATUS_NOTFOUND if no record was found.
9246
597df647
AS
92472011-05-05 Andreas Schwab <schwab@redhat.com>
9248
9249 * sunrpc/Makefile (headers): Add rpc/netdb.h.
9250 (headers-not-in-tirpc): Remove rpc/netdb.h
9251 * resolv/netdb.h: Revert last change.
9252
b9af1301
PP
92532011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9254
9255 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9256 circular dependency between libgcc.a and libc.a.
9257
4e34d5f5
AS
92582011-05-05 Andreas Schwab <schwab@redhat.com>
9259
9260 * resolv/netdb.h: Don't include <rpc/netdb.h>.
9261 * nis/Makefile: Don't install rpcsvc/*.
9262 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9263 instead of <rpc/types.h>.
9264 (MAXHOSTNAMELEN): Define.
9265
00ee369c
AS
92662011-05-03 Andreas Schwab <schwab@redhat.com>
9267
9268 * elf/ldconfig.c (add_dir): Don't crash on empty path.
9269
0b592a30
MB
92702011-04-28 Maciej Babinski <mbabinski@google.com>
9271
9272 [BZ #12714]
9273 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9274 gethostbyname4_r when IPv6 results are possible.
9275
6e04cbbe
UD
92762011-05-02 Ulrich Drepper <drepper@gmail.com>
9277
9278 [BZ #12723]
9279 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9280 _PC_PIPE_BUF handling.
9281
e4ecafe0
BH
92822011-04-30 Bruno Haible <bruno@clisp.org>
9283
9284 [BZ #12717]
9285 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9286 * resolv/netdb.h (getnameinfo): Change type of flags parameter
9287 to 'int'.
9288 * inet/getnameinfo.c (getnameinfo): Likewise.
9289
125ee683
UD
92902011-04-29 Ulrich Drepper <drepper@gmail.com>
9291
9292 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9293 to groups setting in database lookup.
9294 * nss/nsswitch.conf: Add initgroups entry.
9295
b722481a
EB
92962011-04-22 Ulrich Drepper <drepper@gmail.com>
9297
9298 [BZ #12685]
9299 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9300 mode string.
9301 Patch by Eric Blake <eblake@redhat.com>.
9302
4df46dbd
L
93032011-04-20 H.J. Lu <hongjiu.lu@intel.com>
9304
9305 * sunrpc/Makefile (need-export-routines): Add svc_run.
9306 (routines): Remove svc_run.
9307 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9308 * sunrpc/clnt_perr.c (clnt_perrno): Export.
9309 * sunrpc/svc_run.c (svc_run): Likewise.
9310 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9311
e84142d2
UD
93122011-04-21 Ulrich Drepper <drepper@gmail.com>
9313
9314 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9315 problem in reallocation in last patch.
9316
877175d8
UD
93172011-04-20 Ulrich Drepper <drepper@gmail.com>
9318
9319 * sunrpc/Makefile: Move inclusion of Rules.
9320
ab8eed78
UD
93212011-04-19 Ulrich Drepper <drepper@gmail.com>
9322
9323 * nss/nss_files/files-initgroups.c: New file.
9324 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9325 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9326 _nss_files_initgroups_dyn.
9327
e3d8f584
RS
93282011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9329
9330 * elf/elf.h (R_ARM_IRELATIVE): Define.
9331
af190f45
UD
93322011-04-19 Ulrich Drepper <drepper@gmail.com>
9333
9334 * po/ru.po: Update from translation team.
9335
53cf59ef
UD
93362011-04-17 Ulrich Drepper <drepper@gmail.com>
9337
9338 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9339 dependencies.
9340
4c559bcd
MF
93412011-02-06 Mike Frysinger <vapier@gentoo.org>
9342
9343 [BZ #12653]
9344 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9345 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9346 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9347 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9348 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9349
4420675c
AS
93502011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9351
9352 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9353 differing bytes.
9354 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9355 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9356 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9357
75ea32ab
UD
93582011-04-17 Ulrich Drepper <drepper@gmail.com>
9359
9360 [BZ #12420]
9361 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9362 storing it.
9363 * stdlib/bug-getcontext.c: New file.
9364 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9365
27390476
AK
93662011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9367
9368 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9369 instructions into .machine "z9-109".
9370 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9371 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9372
10442705
AK
93732011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9374
9375 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9376 between environment variables and auxiliary vector.
9377
7b57bfe5
UD
93782011-04-16 Ulrich Drepper <drepper@gmail.com>
9379
9380 * Makefile: Add rules to build linkobj/libc.so.
9381 * include/libc-symbols.h: Define libc_hidden_nolink.
9382 * include/rpc/auth.h: Mark functions which are to be hidden.
9383 * include/rpc/auth_des.h: Likewise.
9384 * include/rpc/auth_unix.h: Likewise.
9385 * include/rpc/clnt.h: Likewise.
9386 * include/rpc/des_crypt.h: Likewise.
9387 * include/rpc/key_prot.h: Likewise.
9388 * include/rpc/pmap_clnt.h: Likewise.
9389 * include/rpc/pmap_prot.h: Likewise.
9390 * include/rpc/pmap_rmt.h: Likewise.
9391 * include/rpc/rpc_msg.h: Likewise.
9392 * include/rpc/svc.h: Likewise.
9393 * include/rpc/svc_auth.h: Likewise.
9394 * include/rpc/xdr.h: Likewise.
9395 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9396 * nss/Makefile: Likewise.
9397 * sunrpc/Makefile: Don't install headers. Build library with normal
9398 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9399 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9400 for the compat linking library. Remove use of INTDEF/INTUSE.
9401 * sunrpc/auth_none.c: Likewise.
9402 * sunrpc/auth_unix.c: Likewise.
9403 * sunrpc/authdes_prot.c: Likewise.
9404 * sunrpc/authuxprot.c: Likewise.
9405 * sunrpc/clnt_gen.c: Likewise.
9406 * sunrpc/clnt_perr.c: Likewise.
9407 * sunrpc/clnt_raw.c: Likewise.
9408 * sunrpc/clnt_simp.c: Likewise.
9409 * sunrpc/clnt_tcp.c: Likewise.
9410 * sunrpc/clnt_udp.c: Likewise.
9411 * sunrpc/clnt_unix.c: Likewise.
9412 * sunrpc/des_crypt.c: Likewise.
9413 * sunrpc/des_soft.c: Likewise.
9414 * sunrpc/get_myaddr.c: Likewise.
9415 * sunrpc/key_call.c: Likewise.
9416 * sunrpc/key_prot.c: Likewise.
9417 * sunrpc/netname.c: Likewise.
9418 * sunrpc/pm_getmaps.c: Likewise.
9419 * sunrpc/pm_getport.c: Likewise.
9420 * sunrpc/pmap_clnt.c: Likewise.
9421 * sunrpc/pmap_prot.c: Likewise.
9422 * sunrpc/pmap_prot2.c: Likewise.
9423 * sunrpc/pmap_rmt.c: Likewise.
9424 * sunrpc/publickey.c: Likewise.
9425 * sunrpc/rpc_cmsg.c: Likewise.
9426 * sunrpc/rpc_common.c: Likewise.
9427 * sunrpc/rpc_dtable.c: Likewise.
9428 * sunrpc/rpc_prot.c: Likewise.
9429 * sunrpc/rpc_thread.c: Likewise.
9430 * sunrpc/rtime.c: Likewise.
9431 * sunrpc/svc.c: Likewise.
9432 * sunrpc/svc_auth.c: Likewise.
9433 * sunrpc/svc_authux.c: Likewise.
9434 * sunrpc/svc_raw.c: Likewise.
9435 * sunrpc/svc_run.c: Likewise.
9436 * sunrpc/svc_simple.c: Likewise.
9437 * sunrpc/svc_tcp.c: Likewise.
9438 * sunrpc/svc_udp.c: Likewise.
9439 * sunrpc/svc_unix.c: Likewise.
9440 * sunrpc/svcauth_des.c: Likewise.
9441 * sunrpc/xcrypt.c: Likewise.
9442 * sunrpc/xdr.c: Likewise.
9443 * sunrpc/xdr_array.c: Likewise.
9444 * sunrpc/xdr_float.c: Likewise.
9445 * sunrpc/xdr_intXX_t.c: Likewise.
9446 * sunrpc/xdr_mem.c: Likewise.
9447 * sunrpc/xdr_rec.c: Likewise.
9448 * sunrpc/xdr_ref.c: Likewise.
9449 * sunrpc/xdr_sizeof.c: Likewise.
9450 * sunrpc/xdr_stdio.c: Likewise.
9451
e6c61494
UD
94522011-04-10 Ulrich Drepper <drepper@gmail.com>
9453
9454 [BZ #12650]
9455 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9456 * sysdeps/ia64/dl-tls.h: Likewise.
9457 * sysdeps/powerpc/dl-tls.h: Likewise.
9458 * sysdeps/s390/dl-tls.h: Likewise.
9459 * sysdeps/sh/dl-tls.h: Likewise.
9460 * sysdeps/sparc/dl-tls.h: Likewise.
9461 * sysdeps/x86_64/dl-tls.h: Likewise.
9462 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9463
34fe483e
AS
94642011-03-14 Andreas Schwab <schwab@redhat.com>
9465
9466 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9467 rpath element also skip the following colon.
9468 (expand_dynamic_string_token): Add is_path parameter and pass
9469 down to DL_DST_REQUIRED and _dl_dst_substitute.
9470 (decompose_rpath): Call expand_dynamic_string_token with
9471 non-zero is_path. Ignore empty rpaths.
9472 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9473 with zero is_path.
9474
f12a32e6
AS
94752011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9476
9477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9478 Make cancelable.
9479
38a7d692
UD
94802011-04-09 Ulrich Drepper <drepper@gmail.com>
9481
9482 [BZ #12655]
9483 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9484 Patch by Filipe David Manana <fdmanana@apache.org>.
9485
e451d22b
AS
94862011-04-07 Andreas Schwab <schwab@redhat.com>
9487
9488 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9489 Maintain aligned stack.
9490 (CHECK_RSP): Remove unused macro.
9491
dedc7c7b
UD
94922011-04-03 Ulrich Drepper <drepper@gmail.com>
9493
9494 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9495 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9496
94521213
UD
94972011-04-02 Ulrich Drepper <drepper@gmail.com>
9498
9499 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9500
8cb700c0 9501 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 9502
0354e355
L
95032011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9504
9505 [BZ #12518]
9506 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9507 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9508 * sysdeps/x86_64/memmove.c: New file.
9509 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9510 (memcpy): Renamed to ...
9511 (__new_memcpy): This.
9512 (memcpy): Provide GLIBC_2_14 memcpy.
9513 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9514 (memcpy): Provide GLIBC_2_2_5 memcpy.
9515
8593482f
UD
95162011-04-01 Ulrich Drepper <drepper@gmail.com>
9517
9518 [BZ #12631]
9519 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9520
81a5726b
AS
95212011-03-30 Andreas Schwab <schwab@redhat.com>
9522
9523 * misc/syncfs.c: New file.
9524 * misc/Makefile (routines): Add syncfs.
9525 * posix/unistd.h: Declare syncfs.
9526 * sysdeps/unix/syscalls.list: Add syncfs.
9527
00e5419f
AS
95282011-04-01 Andreas Schwab <schwab@redhat.com>
9529
9530 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9531 open_by_handle_at.
9532 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9533 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9534 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9535 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9536 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9537 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9538 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9539
748876bf
UD
95402011-04-01 Ulrich Drepper <drepper@gmail.com>
9541
658e451d
UD
9542 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9543 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9544 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9545 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9546 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9547 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9548 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9549
748876bf
UD
9550 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9551 sync_file_range.c with -fexceptions.
9552 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9553 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9554 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9555 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9556 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9557 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9558 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
9559 sync_file_range as cancellation point
9560 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9561 now a wrapper around __call_sync_file_range with cancellation handling.
9562 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9563 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9564 function name to __call_sync_file_range.
9565 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9566 Add call_sync_file_range.
748876bf 9567
6e63d5e1
AS
95682011-04-01 Andreas Schwab <schwab@redhat.com>
9569
9570 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 9571 bits/timex.h.
6e63d5e1 9572
46998f74
UD
95732011-04-01 Ulrich Drepper <drepper@gmail.com>
9574
4c1423ed
UD
9575 * iconv/iconv.h: Fix typo in comment.
9576 * io/fcntl.h: Likewise.
9577 * libio/stdio.h: Likewise.
9578 * posix/spawn.h: Likewise.
9579 * posix/unistd.h: Likewise.
9580 * stdlib/stdlib.h: Likewise.
9581 * time/time.h: Likewise.
9582 * wcsmbs/wchar.h: Likewise.
9583
158648c0
UD
9584 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9585 open_by_handle): Add.
9586 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9587 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9588 Augment a few comments.
9589 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9590 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9591 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9592 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9593 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9594 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9595 open_by_handle.
9596
46998f74
UD
9597 * io/fcntl.h (AT_EMPTY_PATH): Define.
9598
83fe108b
UD
95992011-03-30 Ulrich Drepper <drepper@gmail.com>
9600
9601 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9602 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9603 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9604 to...
9605 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
9606 * Versions.def: Add GLIBC_2.14.
9607 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9608 Export.
83fe108b 9609
bb242059
UD
96102011-03-22 Ulrich Drepper <drepper@gmail.com>
9611
9612 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9613 round counter.
9614 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9615
c97a1282
L
96162011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9617
9618 [BZ #12597]
9619 * string/test-strncmp.c (do_page_test): New function.
9620 (check2): Likewise.
9621 (test_main): Call check2.
9622 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9623
2a115601
UD
96242011-03-20 Ulrich Drepper <drepper@gmail.com>
9625
9626 [BZ #12587]
9627 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9628 Handle cache information in CPU leaf 4.
9629 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9630
8126d904
UD
96312011-03-18 Ulrich Drepper <drepper@gmail.com>
9632
042c49c6 9633 [BZ #12583]
8126d904
UD
9634 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9635 character representation.
9636 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9637
ccfe366e
RA
96382011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9639
9640 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9641 END(__isnan) to END(__isnanf) to match function entry point/label
9642 EALIGN(__isnanf,...).
9643
c6e13027
JJ
96442011-03-10 Jakub Jelinek <jakub@redhat.com>
9645
9646 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9647
33f85a3f
UD
96482011-03-10 Ulrich Drepper <drepper@gmail.com>
9649
028478fa
UD
9650 [BZ #12510]
9651 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9652 copy from the symbol referenced in the relocation to initialize the
9653 used variable.
9654 Patch by Piotr Bury <pbury@goahead.com>.
9655 * elf/Makefile: Add rules to build and tst-unique3.
9656 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9657 * elf/tst-unique3.cc: New file.
9658 * elf/tst-unique3.h: New file.
9659 * elf/tst-unique3lib.cc: New file.
9660 * elf/tst-unique3lib2.cc: New file.
9661
33f85a3f
UD
9662 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9663
03592fc7
MF
96642011-03-10 Mike Frysinger <vapier@gentoo.org>
9665
9666 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9667 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9668 to _start.
03592fc7 9669
6a5ee102
UD
96702011-03-06 Ulrich Drepper <drepper@gmail.com>
9671
9672 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9673 to-be-loaded object along a path to loader is ld.so.
9674
7e4ba49c
HJ
96752011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9676 Ulrich Drepper <drepper@gmail.com>
9677
9678 * sysdeps/x86_64/memset.S: After aligning destination, code
9679 branches to different locations depending on the value of
9680 misalignment, when multiarch is enabled. Fix this.
9681
96822011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9683
9684 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9685 Set _x86_64_preferred_memory_instruction for AMD processsors.
9686 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9687 Set bit_Prefer_SSE_for_memop for AMD processors.
9688
13a804de
UD
96892011-03-04 Ulrich Drepper <drepper@gmail.com>
9690
9691 * libio/fmemopen.c (fmemopen): Optimize a bit.
9692
9d25c392
AS
96932011-03-03 Andreas Schwab <schwab@redhat.com>
9694
9695 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9696
a5543c6a
RM
96972011-03-03 Roland McGrath <roland@redhat.com>
9698
9699 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9700
012d35f7
DM
97012011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9702
7e4ba49c 9703 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
9704 __bzero_ultra1 instead of __memset_ultra1.
9705
4bff6e01
AS
97062011-02-23 Andreas Schwab <schwab@redhat.com>
9707 Ulrich Drepper <drepper@gmail.com>
9708
9709 [BZ #12509]
9710 * include/link.h (struct link_map): Add l_orig_initfini.
9711 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9712 returning unsuccessfully.
9713 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9714 close of a file loaded at startup, restore the original l_initfini
9715 list.
9716 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9717 list, store the pointer.
9718 * elf/Makefile ($(objpfx)noload-mem): New rule.
9719 (noload-ENV): Define.
9720 (tests): Add $(objpfx)noload-mem.
9721 * elf/noload.c: Include <memcheck.h>.
9722 (main): Call mtrace. Close all opened handles.
9723
f2092faf
AS
97242011-02-17 Andreas Schwab <schwab@redhat.com>
9725
9726 [BZ #12454]
9727 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9728 dependencies are missing.
9729
6c8a2e88
ST
97302011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9731
f2092faf 9732 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
9733 Hurd needs munmap.
9734 * sysdeps/mach/hurd/ifreq.h: New file.
9735
84a42118
PB
97362011-01-27 Petr Baudis <pasky@suse.cz>
9737 Ulrich Drepper <drepper@gmail.com>
9738
071f805e 9739 [BZ 12445]#
84a42118
PB
9740 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9741 to extend_alloca().
9742 * stdio-common/bug23.c: New file.
9743 * stdio-common/Makefile (tests): Add bug23.
9744
e23fe25b
AS
97452010-09-28 Andreas Schwab <schwab@redhat.com>
9746 Ulrich Drepper <drepper@gmail.com>
9747
9748 [BZ #12489]
9749 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9750 before performing relro protection. At old place add assertion
9751 to make sure nothing changed.
9752
d3f02e10
NS
97532011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9754 Glauber de Oliveira Costa <glommer@gmail.com>
9755
9756 * elf/elf.h: Add new ARM TLS relocs.
9757
d55fd7a5
RA
97582011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9759
9760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9761 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9762 cast from r3.
9763 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9764 'tests' variable.
9765 * sysdeps/wordsize-64/tst-writev.c: New file.
9766
2206397e
RA
97672011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9768
9769 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9770 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9771 insns in _dl_start to prevent a TOC reference before relocs are
9772 resolved.
9773
e9433893
UD
97742011-02-15 Ulrich Drepper <drepper@gmail.com>
9775
9776 [BZ #12469]
9777 * Makeconfig: Remove RANLIB definition.
9778 * Makerules: Don't use RANLIB.
9779 * aclocal.m4: Remove ranlib test.
9780 * configure.in: No need to check for ranlib.
9781 * elf/rtld-Rules: Don't use RANLIB.
9782
f75286c6
ST
97832011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9784
8e31c82d
ST
9785 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9786 protection macro.
9787 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9788 inclusion protection macro.
9789
f75286c6
ST
9790 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9791 SIGRTMIN and SIGRTMAX and print information in that case only when
9792 SIGRTMIN is defined.
9793
c1d0e639
JJ
97942011-02-11 Jakub Jelinek <jakub@redhat.com>
9795
9796 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9797 arginfo fn returning -1.
9798
9799 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9800 and thousands string is zero terminated.
9801
edf9294e
AS
98022011-02-03 Andreas Schwab <schwab@redhat.com>
9803
9804 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9805 sysdeps/unix/sysv/linux/bits/socket.h.
9806
2b7e92df
ST
98072011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9808
edf9294e
AS
9809 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9810 (__CPU_COUNT): Remove old macros.
9811 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9812 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9813 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
9814 (__sched_cpualloc, __sched_cpufree): Add declarations.
9815
a4c7ea7b
UD
98162011-02-05 Ulrich Drepper <drepper@gmail.com>
9817
9818 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9819 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9820 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9821 (readdhstai): Return value of addhstaiX call.
9822 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9823 (addgrbyX): Return value returned by cache_addgr.
9824 (readdgrbyname): Return value returned by addgrbyX.
9825 (readdgrbygid): Likewise.
9826 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9827 (addpwbyX): Return value returned by cache_addpw.
9828 (readdpwbyname): Return value returned by addhstbyX.
9829 (readdpwbyuid): Likewise.
9830 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9831 (addservbyX): Return value returned by cache_addserv.
9832 (readdservbyname): Return value returned by addservbyX:
9833 (readdservbyport): Likewise.
9834 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9835 (addhstbyX): Return value returned by cache_addhst.
9836 (readdhstbyname): Return value returned by addhstbyX.
9837 (readdhstbyaddr): Likewise.
9838 (readdhstbynamev6): Likewise.
9839 (readdhstbyaddrv6): Likewise.
9840 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9841 (readdinitgroups): Return value returned by addinitgroupsX.
9842 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9843 (prune_cache): Keep track of timeout value of re-added entries.
9844 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9845 * nscd/nscd.h: Adjust prototypes of readd* functions.
9846
a0bf67cc
RM
98472011-02-04 Roland McGrath <roland@redhat.com>
9848
9849 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9850 (nis_stats): Likewise.
9851 * nis/nis_modify.c (nis_modify): Likewise.
9852 * nis/nis_remove.c (nis_remove): Likewise.
9853 * nis/nis_add.c (nis_add): Likewise.
9854
9855 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9856
9857 * posix/fnmatch_loop.c: Add some consts.
9858
9859 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9860
435b95eb
L
98612011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9862
9863 [BZ #12460]
9864 * config.make.in (config-cflags-novzeroupper): Define.
9865 * configure.in: Substitute libc_cv_cc_novzeroupper.
9866 * elf/Makefile (AVX-CFLAGS): Define.
9867 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9868 (CFLAGS-tst-auditmod4a.c): Likewise.
9869 (CFLAGS-tst-auditmod4b.c): Likewise.
9870 (CFLAGS-tst-auditmod6b.c): Likewise.
9871 (CFLAGS-tst-auditmod6c.c): Likewise.
9872 (CFLAGS-tst-auditmod7b.c): Likewise.
9873 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9874
8517b15e
UD
98752011-02-02 Ulrich Drepper <drepper@gmail.com>
9876
9877 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9878 function to the callback.
9879 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9880
10a656fe
AS
98812011-02-02 Andreas Schwab <schwab@redhat.com>
9882
9883 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9884 of errno.
9885
968dad0a
UD
98862011-01-19 Ulrich Drepper <drepper@gmail.com>
9887
9f94d2ea 9888 [BZ #11724]
968dad0a
UD
9889 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9890 of constructors.
9891 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9892 of destructors.
9893 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9894
9895 [BZ #11724]
9896 * elf/Makefile: Add rules to build and run new test.
9897 * elf/tst-initorder.c: New file.
9898 * elf/tst-initorder.exp: New file.
9899 * elf/tst-initordera1.c: New file.
9900 * elf/tst-initordera2.c: New file.
9901 * elf/tst-initordera3.c: New file.
9902 * elf/tst-initordera4.c: New file.
9903 * elf/tst-initorderb1.c: New file.
9904 * elf/tst-initorderb2.c: New file.
9905 * elf/tst-order-a1.c: New file.
9906 * elf/tst-order-a2.c: New file.
9907 * elf/tst-order-a3.c: New file.
9908 * elf/tst-order-a4.c: New file.
9909 * elf/tst-order-b1.c: New file.
9910 * elf/tst-order-b2.c: New file.
9911 * elf/tst-order-main.c: New file.
9912 New test case by George Gensure <werkt0@gmail.com>.
9913
86e92359
UD
99142010-10-01 Andreas Schwab <schwab@redhat.com>
9915
9916 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9917 decoding ACE if AI_CANONIDN.
9918
5d5732b0
UD
99192011-01-18 Ulrich Drepper <drepper@gmail.com>
9920
9921 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
9922
a77e8cbc
UD
99232011-01-17 Ulrich Drepper <drepper@gmail.com>
9924
6392473f
UD
9925 * version.h (RELEASE): Bump for 2.13 release.
9926 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
9927
620a0529
UD
9928 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
9929
18ba70a5
UD
9930 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
9931 MADV_NOHUGEPAGE.
32465c3e
UD
9932 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
9933 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9934 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9935 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9936 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9937 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9938
c0dafcf1
UD
9939 * posix/getconf.c: Update copyright year.
9940 * catgets/gencat.c: Likewise.
9941 * csu/version.c: Likewise.
9942 * debug/catchsegv.sh: Likewise.
9943 * debug/xtrace.sh: Likewise.
9944 * elf/ldconfig.c: Likewise.
9945 * elf/ldd.bash.in: Likewise.
9946 * elf/sprof.c (print_version): Likewise.
9947 * iconv/iconv_prog.c: Likewise.
9948 * iconv/iconvconfig.c: Likewise.
9949 * locale/programs/locale.c: Likewise.
9950 * locale/programs/localedef.c: Likewise.
9951 * malloc/memusage.sh: Likewise.
9952 * malloc/mtrace.pl: Likewise.
9953 * nscd/nscd.c (print_version): Likewise.
9954 * nss/getent.c: Likewise.
9955
a77e8cbc
UD
9956 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
9957 PF_CAIF, and PF_ALG.
9958 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9959
77e8bddf
AS
99602011-01-16 Andreas Schwab <schwab@linux-m68k.org>
9961
1f20b93a
AS
9962 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
9963 (modules-names): Use them.
9964 (ifunc-test-modules, ifunc-pie-tests): Define.
9965 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
9966 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
9967 (test-extras): Likewise.
9968 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
9969 $(compile-command.c).
9970 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
9971 (all-built-dso): Define.
9972 (check-textrel.out, check-execstack.out): Depend on it.
9973
77e8bddf
AS
9974 * configure.in: Don't override --enable-multi-arch.
9975
bc425b33
UD
99762011-01-15 Ulrich Drepper <drepper@gmail.com>
9977
9978 [BZ #6812]
9979 * nscd/hstcache.c (tryagain): Define.
9980 (cache_addhst): Return tryagain not notfound for temporary errors.
9981 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
9982 failed.
9983
794c3ad3
UD
99842011-01-14 Ulrich Drepper <drepper@gmail.com>
9985
70181fdd
UD
9986 [BZ #10563]
9987 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
9988 to make the syscall.
9989 * sysdeps/unix/sysv/linux/setgroups.c: New file.
9990
794c3ad3
UD
9991 [BZ #12378]
9992 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
9993 and fall back to matching as normal character if the string ends before
9994 the matching ']' is found. This is what POSIX requires.
9995 * posix/testfnm.c: Adjust test result.
9996 * posix/globtest.sh: Adjust test result. Add new test.
9997 * posix/tst-fnmatch.input: Likewise.
9998 * posix/tst-fnmatch2.c: Add new test.
9999
68dc9497
AS
100002010-12-28 Andreas Schwab <schwab@linux-m68k.org>
10001
10002 * elf/Makefile (check-execstack): Revert last change. Depend on
10003 check-execstack.h.
10004 (check-execstack.h): New target.
10005 (generated): Add check-execstack.h.
10006 * elf/check-execstack.c: Include "check-execstack.h".
10007 (main): Revert last change.
10008 (handle_file): Return zero if GNU_STACK is absent and
10009 DEFAULT_STACK_PERMS doesn't include PF_X.
10010
451f001b
UD
100112011-01-13 Ulrich Drepper <drepper@gmail.com>
10012
cfa28e56
UD
10013 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10014 in child fails because the descriptor is already closed.
8cf8ce17
UD
10015 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10016 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10017 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 10018
1086d70d
UD
10019 [BZ #12397]
10020 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10021 syscall.
10022
451f001b
UD
10023 [BZ #10484]
10024 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10025 temporary buffer used to handle multi lookups locally.
a85b5cb4 10026 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 10027
08769175
UD
100282011-01-12 Ulrich Drepper <drepper@gmail.com>
10029
10030 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10031 loader is ld.so.
10032
5e49c52e
UD
100332011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
10034
10035 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10036 alignment for SSE2.
10037
60522a5f
UD
100382011-01-12 Ulrich Drepper <drepper@gmail.com>
10039
10040 [BZ #12394]
10041 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10042 characters. When rounding increased number of integer digits recompute
10043 number of groups.
10044 * stdio-common/tst-grouping.c: New file.
10045 * stdio-common/Makefile: Add rules to build and run tst-grouping.
10046
f257bbd7
UD
100472011-01-09 Ulrich Drepper <drepper@gmail.com>
10048
10049 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10050 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
10051
10052 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10053 void.
10054 * bits/select.h: Likewise.
10055
fa9c15cb
UD
100562011-01-08 Ulrich Drepper <drepper@gmail.com>
10057
10058 * po/ja.po: Update from translation team.
10059
16c2895f
DM
100602011-01-04 David S. Miller <davem@sunset.davemloft.net>
10061
10062 [BZ #11155]
10063 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10064 implementation just like for lxstat, fxstatat, et al.
10065
2543fef2
JM
100662010-12-27 Jim Meyering <meyering@redhat.com>
10067
10068 [BZ #12348]
10069 * posix/regexec.c (build_trtable): Return failure indication upon
10070 calloc failure. Otherwise, re_search_internal could infloop on OOM.
10071
98727dbe
UD
100722010-12-25 Ulrich Drepper <drepper@gmail.com>
10073
5bd6dc5c
UD
10074 [BZ #12201]
10075 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10076 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10077 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10078 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
10079
97983464
UD
10080 [BZ #12207]
10081 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
10082
98727dbe
UD
10083 [BZ #12204]
10084 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
10085 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
10086
4a531bb0
L
100872010-12-15 H.J. Lu <hongjiu.lu@intel.com>
10088
10089 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
10090 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
10091 script has SORT_BY_INIT_PRIORITY.
10092 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
10093 NO_CTORS_DTORS_SECTIONS is defined.
10094 * elf/soinit.c: Likewise.
10095 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
10096 NO_CTORS_DTORS_SECTIONS is defined.
10097 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
10098 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10099 * sysdeps/sh/init-first.c: Likewise.
10100 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10101
07eb4b71
UD
101022010-12-24 Ulrich Drepper <drepper@gmail.com>
10103
10104 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10105 always use the slow path.
10106
30950a5f
RA
101072010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
10108
10109 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10110 similar rule which adds the sysdep directories to the header search in
10111 order to pick up the correct platform stackinfo.h.
10112 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10113 perform test if it is, otherwise return successfully without testing.
10114 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10115 DEFAULT_STACK_PERMS define in stackinfo.h.
10116 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10117 defined in stackinfo.h.
10118 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10119 DEFAULT_STACK_PERMS defined in stackinfo.h.
10120 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10121 * sysdeps/ia64/stackinfo.h: Likewise.
10122 * sysdeps/s390/stackinfo.h: Likewise.
10123 * sysdeps/sh/stackinfo.h: Likewise.
10124 * sysdeps/sparc/stackinfo.h: Likewise.
10125 * sysdeps/x86_64/stackinfo.h: Likewise.
10126 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10127 PF_X for powerpc64. Retain PF_X for powerpc32.
10128
db753e2c
UD
101292010-12-19 Ulrich Drepper <drepper@gmail.com>
10130
14b697f7
UD
10131 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10132 accurately.
db753e2c
UD
10133 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10134 GETDENTS_64BIT_ALIGNED.
10135
28300719
UD
101362010-12-14 Ulrich Drepper <dreper@gmail.com>
10137
14b697f7 10138 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 10139
4f197237
AS
101402010-12-10 Andreas Schwab <schwab@redhat.com>
10141
dbb0472f
AS
10142 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10143 _GNU_SOURCE.
10144
4f197237
AS
10145 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10146 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10147 Remove __restrict.
10148 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10149 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10150
fb88ac72
UD
101512010-12-09 Ulrich Drepper <drepper@gmail.com>
10152
10153 [BZ #11655]
10154 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10155 are initialized.
10156
42acbb92
JJ
101572010-12-09 Jakub Jelinek <jakub@redhat.com>
10158
10159 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10160
c038d98d
UD
101612010-12-03 Ulrich Drepper <drepper@gmail.com>
10162
10163 * po/it.po: Update from translation team.
10164
3a4a2499
L
101652010-12-01 H.J. Lu <hongjiu.lu@intel.com>
10166
10167 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10168 unused codes.
10169
1e24cf6e
UD
101702010-11-30 Ulrich Drepper <drepper@gmail.com>
10171
10172 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10173
a7690819
AS
101742010-11-24 Andreas Schwab <schwab@redhat.com>
10175
10176 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10177 specially.
10178 (gaih_getanswer_slice): Likewise.
10179
3bf8d1b1
JJ
101802010-10-20 Jakub Jelinek <jakub@redhat.com>
10181
10182 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10183
6db52fbb
PB
101842010-05-31 Petr Baudis <pasky@suse.cz>
10185
10186 [BZ #11149]
10187 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10188 silently even in the chroot mode.
10189
eaca7569
UD
101902010-11-22 Ulrich Drepper <drepper@gmail.com>
10191
10192 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10193 last patch a bit. Pretty printing
10194
3056dcdb
UD
101952010-05-31 Petr Baudis <pasky@suse.cz>
10196
10197 [BZ #10085]
10198 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10199 initialization of skip_initgroups_dyn.
10200
cf7c9078
UD
102012010-11-19 Ulrich Drepper <drepper@gmail.com>
10202
10203 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10204 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10205
a1fb5e3e
UD
102062010-11-16 Ulrich Drepper <drepper@gmail.com>
10207
10208 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10209
3540d66b
AS
102102010-11-11 Andreas Schwab <schwab@redhat.com>
10211
10212 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10213 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10214 (tst-fnmatch-ENV): Set MALLOC_TRACE.
10215 ($(objpfx)tst-fnmatch-mem): New rule.
10216 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10217 * posix/tst-fnmatch.c (main): Call mtrace.
10218
13b69574
L
102192010-11-11 H.J. Lu <hongjiu.lu@intel.com>
10220
10221 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10222 Support Intel processor model 6 and model 0x2c.
10223
da93d214
LM
102242010-11-10 Luis Machado <luisgpm@br.ibm.com>
10225
10226 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10227 signed comparison.
10228
8ca52c6e
L
102292010-11-09 H.J. Lu <hongjiu.lu@intel.com>
10230
10231 [BZ #12205]
10232 * string/test-strncasecmp.c (check_result): New function.
10233 (do_one_test): Use it.
10234 (check1): New function.
10235 (test_main): Use it.
10236 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10237 Support strcasecmp and strncasecmp.
10238
69da074d
UD
102392010-11-08 Ulrich Drepper <drepper@gmail.com>
10240
10241 [BZ #12194]
10242 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10243 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10244
ff02d528
L
102452010-11-07 H.J. Lu <hongjiu.lu@intel.com>
10246
10247 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10248 IFUNC support.
10249 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10250 memset-x86-64.
10251 * sysdeps/x86_64/multiarch/bzero.S: New file.
10252 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10253 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10254 * sysdeps/x86_64/multiarch/memset.S: New file.
10255 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10256 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10257 Set bit_Prefer_SSE_for_memop for Intel processors.
10258 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10259 Define.
10260 (index_Prefer_SSE_for_memop): Define.
10261 (HAS_PREFER_SSE_FOR_MEMOP): Define.
10262
344d0b54
LM
102632010-11-04 Luis Machado <luisgpm@br.ibm.com>
10264
10265 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10266 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10267
c0dde15b
UD
102682010-11-03 H.J. Lu <hongjiu.lu@intel.com>
10269
10270 [BZ #12191]
10271 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10272 (__x86_64_raw_data_cache_size_half): Likewise.
10273 (__x86_64_raw_shared_cache_size): Likewise.
10274 (__x86_64_raw_shared_cache_size_half): Likewise.
10275
10276 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10277 (__x86_64_raw_data_cache_size_half): Likewise.
10278 (__x86_64_raw_shared_cache_size): Likewise.
10279 (__x86_64_raw_shared_cache_size_half): Likewise.
10280 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10281 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10282 and __x86_64_raw_shared_cache_size_half. Round
10283 __x86_64_data_cache_size_half, __x86_64_data_cache_size
10284 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10285 to multiple of 256 bytes.
10286
0e516e0e
MS
102872010-11-03 Ulrich Drepper <drepper@gmail.com>
10288
10289 [BZ #12167]
10290 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10291 of inacessible symlinks. Verify result of symlink before returning it.
10292 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10293 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10294
0e012e87
ER
102952010-10-28 Erich Ritz <erichritz@gmail.com>
10296
10297 * math/math.h (isinf): Fix typo in comment.
10298
de0ff7bc
UD
102992010-11-01 Ulrich Drepper <drepper@gmail.com>
10300
10301 * po/da.po: Update from translation team.
10302
fa41c84d
UD
103032010-10-26 Ulrich Drepper <drepper@gmail.com>
10304
10305 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10306 is added to the list.
10307
f0967738
AK
103082010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10309 Ulrich Drepper <drepper@gmail.com>
10310
10311 * elf/dl-object.c (_dl_new_object): Don't append the new object to
10312 the global list here. Move code to...
10313 (_dl_add_to_namespace_list): ...here. New function.
10314 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10315 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10316 * elf/dl-load.c (lose): Don't remove the element from the list.
10317 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10318 (_dl_map_object): Likewise.
10319
103202010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
10321
10322 [BZ #12159]
10323 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10324 into all bytes of SSE register.
10325 Patch by Richard Li <richardpku@gmail.com>.
10326
f0967738 103272010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
10328
10329 [BZ #12140]
10330 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10331 perturbing.
10332
d0b9e94f
MB
103332010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10334
10335 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10336 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10337 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10338 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10340 submachine.
10341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10342
8e9f92e9
AS
103432010-10-22 Andreas Schwab <schwab@redhat.com>
10344
10345 * include/dlfcn.h (__RTLD_SECURE): Define.
10346 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10347 mode & __RTLD_SECURE instead.
10348 (open_path): Rename preloaded parameter to secure.
10349 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10350 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10351 * elf/dl-deps.c (openaux): Likewise.
10352 * elf/rtld.c (struct map_args): Remove is_preloaded.
10353 (map_doit): Don't use it.
10354 (dl_main): Likewise.
10355 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10356 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10357
bc96fbda
AS
103582010-09-09 Andreas Schwab <schwab@redhat.com>
10359
10360 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10361 (sysd-rules-targets): Remove duplicates.
10362 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10363 rtld-%.$o dependency.
10364
22cd1c9b
AS
103652010-10-18 Andreas Schwab <schwab@redhat.com>
10366
10367 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10368 _dl_map_object do it.
10369
18edac48
UD
103702010-10-19 Ulrich Drepper <drepper@gmail.com>
10371
10372 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10373 fast fma builtins, define the macros in the C99 standard.
10374 (FP_FAST_FMAF): Likewise.
10375 (FP_FAST_FMAL): Likewise.
10376 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10377
10378 * bits/mathdef.h: Update copyright year.
10379 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10380
d2050124
MM
103812010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10382
10383 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10384 builtins, define the macros in the C99 standard.
10385 (FP_FAST_FMAF): Likewise.
10386 (FP_FAST_FMAL): Likewise.
10387 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10388 multiply/add.
10389 (FP_FAST_FMAF): Likewise.
10390
475facd1
JJ
103912010-10-15 Jakub Jelinek <jakub@redhat.com>
10392
10393 [BZ #3268]
10394 * math/libm-test.inc (fma_test): Some new testcases.
10395 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10396 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10397 y and infinite z. Do multiplication by C already in long double.
10398 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10399 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10400 y and infinite z. Do bitwise or of inexact bit into u.d.
10401 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10402 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10403 * sysdeps/i386/fpu/s_fma.S: Removed.
10404 * sysdeps/i386/fpu/s_fmal.S: Removed.
10405
7c08a05c
JJ
104062010-10-16 Jakub Jelinek <jakub@redhat.com>
10407
10408 [BZ #3268]
10409 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10410 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10411 computation is not scheduled after fetestexcept. Fix value
10412 of minimum denormal long double.
10413
f3f7372d
JJ
104142010-10-14 Jakub Jelinek <jakub@redhat.com>
10415
10416 [BZ #3268]
10417 * math/libm-test.inc (fma_test): Add some more tests.
10418 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10419 correctly.
10420
14d43591
AS
104212010-10-15 Andreas Schwab <schwab@redhat.com>
10422
10423 * scripts/data/localplt-s390-linux-gnu.data: New file.
10424 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10425
5e908464
JJ
104262010-10-13 Jakub Jelinek <jakub@redhat.com>
10427
10428 [BZ #3268]
10429 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10430 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10431 instead of dbl-64.
10432 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10433 inlines.
10434 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10435 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10436 if one of x and y is very large and the other is subnormal.
10437 * sysdeps/s390/fpu/s_fmaf.c: New file.
10438 * sysdeps/s390/fpu/s_fma.c: New file.
10439 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10440 * sysdeps/powerpc/fpu/s_fma.S: New file.
10441 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10442 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10443 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10444
104452010-10-12 Jakub Jelinek <jakub@redhat.com>
10446
10447 [BZ #3268]
10448 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10449 fma tests.
10450 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10451 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10452 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10453 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10454 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10455 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10456 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10457
b833d51f
UD
104582010-10-12 Ulrich Drepper <drepper@redhat.com>
10459
10460 [BZ #12078]
10461 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10462 * posix/bug-regex31.input: Add test case.
10463
1751705d
UD
104642010-10-11 Ulrich Drepper <drepper@gmail.com>
10465
e9b9cbf5
UD
10466 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10467 * posix/bug-regex31.input: New file.
10468
10469 [BZ #12078]
10470 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10471 (parse_sub_exp): Fix last change, use postorder.
10472
ef06edbe
UD
10473 * posix/bug-regex31.c: New file.
10474 * posix/Makefile: Add rules to build and run bug-regex31.
10475
a129c80d
UD
10476 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10477
10478 [BZ #12078]
10479 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10480
b76b818e
UD
10481 [BZ #12108]
10482 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10483 to have entries in sys_siglist.
10484
1751705d
UD
10485 [BZ #12093]
10486 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10487 be NULL.
10488
9ff8d36f
JJ
104892010-10-07 Jakub Jelinek <jakub@redhat.com>
10490
10491 [BZ #3268]
10492 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10493 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10494 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10495 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10496 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10497 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10498 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10499 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10500 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10501 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10502 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10503 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10504 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10505 * math/ftestexcept.c (fetestexcept): Likewise.
10506 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10507 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10508 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10509 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10510 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10511 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10512 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10513
af325969
UD
105142010-10-11 Ulrich Drepper <drepper@gmail.com>
10515
c579b202 10516 [BZ #12107]
af325969
UD
10517 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10518 newline.
10519
67a67b95
UD
105202010-10-06 Ulrich Drepper <drepper@gmail.com>
10521
10522 * string/bug-strstr1.c: New file.
10523 * string/Makefile: Add rules to build and run bug-strstr1.
10524
5fb308bc
EB
105252010-10-05 Eric Blake <eblake@redhat.com>
10526
10527 [BZ #12092]
10528 * string/str-two-way.h (two_way_long_needle): Always clear memory
10529 when skipping input due to the shift table.
10530
45db99c7
UD
105312010-10-03 Ulrich Drepper <drepper@gmail.com>
10532
3b111893
UD
10533 [BZ #12005]
10534 * malloc/mcheck.c: Handle large requests.
10535
45db99c7
UD
10536 [BZ #12077]
10537 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10538 for strncmp and strncasecmp.
10539 * string/stratcliff.c: Add tests for strcmp and strncmp.
10540 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10541
cf7a1eb8
NI
105422010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10543
10544 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10545 __set_fpscr.
10546
6484ba5e
AJ
105472010-09-30 Andreas Jaeger <aj@suse.de>
10548
10549 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10550 (CGROUP_SUPER_MAGIC): Define.
10551 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10552 Handle btrfs and cgroup file systems.
10553 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10554 Likewise.
10555
91c42559
LM
105562010-09-27 Luis Machado <luisgpm@br.ibm.com>
10557
10558 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10559 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10560
87a97932
AK
105612010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10562
10563 [BZ #12067]
10564 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10565 trying to locate the ELF header.
10566
c21cc9bc
AS
105672010-09-27 Andreas Schwab <schwab@redhat.com>
10568
10569 [BZ #11611]
10570 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10571 Mask out sign-bit copies when constructing f_fsid.
10572
315970f6
PB
105732010-09-24 Petr Baudis <pasky@suse.cz>
10574
10575 * debug/stack_chk_fail_local.c: Add missing licence exception.
10576 * debug/warning-nop.c: Likewise.
10577
1ac7a2c7
JM
105782010-09-15 Joseph Myers <joseph@codesourcery.com>
10579
10580 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10581 implementing getdents64 using getdents syscall, set d_type if
10582 __ASSUME_GETDENTS32_D_TYPE.
10583
56801c50
AS
105842010-09-16 Andreas Schwab <schwab@redhat.com>
10585
10586 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10587 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10588
dda51327
UD
105892010-09-21 Ulrich Drepper <drepper@redhat.com>
10590
10591 [BZ #12037]
10592 * posix/unistd.h: Undo change of feature selection for ftruncate from
10593 2010-01-11.
10594
8ffcee4a
UD
105952010-09-20 Ulrich Drepper <drepper@redhat.com>
10596
a545ecd9 10597 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
10598 detection.
10599
e24f0a8b
AS
106002010-09-20 Andreas Schwab <schwab@redhat.com>
10601
10602 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10603 fanotify_mark.
10604 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10605
7291c56f
AS
106062010-09-14 Andreas Schwab <schwab@redhat.com>
10607
10608 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10609 variables after CHECK_SP call.
10610 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10611
bc5fb037
AS
106122010-09-13 Andreas Schwab <schwab@redhat.com>
10613 Ulrich Drepper <drepper@redhat.com>
10614
10615 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10616 re-relocationg ld.so.
10617 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10618 _dl_init_paths call.
10619 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10620 here anymore.
10621
e66e7419
UD
106222010-09-14 Ulrich Drepper <drepper@redhat.com>
10623
10624 * resolv/res_init.c (__res_vinit): Count the default server we added.
10625
c044aa75
CLT
106262010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10627 Ulrich Drepper <drepper@redhat.com>
10628
10629 [BZ #11968]
10630 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10631 (____longjmp_chk): Use %ebx for saving value across system call.
10632 Add unwind info.
10633
32cf4069
AS
106342010-09-06 Andreas Schwab <schwab@redhat.com>
10635
10636 * manual/Makefile: Don't mix pattern rules with normal rules.
10637
817328ee
AS
106382010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10639
10640 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10641 operation.
10642 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10643 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10644 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10645 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10646 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10647 Likewise.
10648
29fddf61
UD
106492010-09-04 Ulrich Drepper <drepper@redhat.com>
10650
10651 [BZ #11979]
10652 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10653 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10654
0959ffc9
UD
106552010-09-02 Ulrich Drepper <drepper@redhat.com>
10656
10657 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10658 * sysdeps/x86_64/addmul_1.S: Likewise.
10659 * sysdeps/x86_64/lshift.S: Likewise.
10660 * sysdeps/x86_64/mul_1.S: Likewise.
10661 * sysdeps/x86_64/rshift.S: Likewise.
10662 * sysdeps/x86_64/sub_n.S: Likewise.
10663 * sysdeps/x86_64/submul_1.S: Likewise.
10664
ece29840
ST
106652010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10666
0959ffc9
UD
10667 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10668 Define __sched_param instead of SCHED_* and sched_param when
ece29840 10669 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 10670 * bits/sched.h [__need_schedparam]
ece29840 10671 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
10672 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10673 (__defined_schedparam): Define to 1.
ece29840
ST
10674 (__sched_param): New structure, identical to sched_param.
10675 (__need_schedparam): Undefine.
10676
e53a31fe
MF
106772010-08-31 Mike Frysinger <vapier@gentoo.org>
10678
fdc0c10d
MF
10679 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10680 (epoll_create1): Declare.
10681
e53a31fe
MF
10682 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10683
a726d796
AS
106842010-08-31 Andreas Schwab <schwab@redhat.com>
10685
10686 [BZ #7066]
10687 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10688 shifting retval into place.
10689
2f3e3dc7
UD
106902010-09-01 Ulrich Drepper <drepper@redhat.com>
10691
f2933da9
UD
10692 * nis/rpcsvc/nis.h: Update copyright notice.
10693 * nis/rpcsvc/nis.x: Likewise.
10694 * nis/rpcsvc/nis_callback.h: Likewise.
10695 * nis/rpcsvc/nis_callback.x: Likewise.
10696 * nis/rpcsvc/nis_object.x: Likewise.
10697 * nis/rpcsvc/nis_tags.h: Likewise.
10698 * nis/rpcsvc/yp.h: Likewise.
10699 * nis/rpcsvc/yp.x: Likewise.
10700 * nis/rpcsvc/ypupd.h: Likewise.
10701 * nis/yp_xdr.c: Likewise.
10702 * nis/ypupdate_xdr.c: Likewise.
10703
2f3e3dc7
UD
10704 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10705 mainly the body of pmap_getport. Add parameters to specify timeouts.
10706 (pmap_getport): Use __libc_rpc_getport.
10707 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10708 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10709 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10710
f3dcc2f9
AS
107112010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10712
10713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10714 fanotify_mark.
10715
6d34eb5b
RM
107162010-08-27 Roland McGrath <roland@redhat.com>
10717
10718 * sysdeps/i386/i686/multiarch/Makefile
10719 (CFLAGS-varshift.c): New variable.
10720
9ea3de11
UD
107212010-08-27 Ulrich Drepper <drepper@redhat.com>
10722
c96d23fc
UD
10723 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10724 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10725
9ea3de11
UD
10726 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10727
10728 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10729
623aac7f
L
107302010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10731
10732 * sysdeps/x86_64/strlen.S: Unroll the loop.
10733 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10734 strlen-sse2 strlen-sse2-bsf.
10735 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10736 __strlen_no_bsf if bit_Slow_BSF is set.
10737 (__strlen_sse42): Removed.
10738 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10739 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10740
8b2b7715
RM
107412010-08-25 Roland McGrath <roland@redhat.com>
10742
10743 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10744 * sysdeps/x86_64/multiarch/varshift.c: New file.
10745 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10746 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10747 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10748 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10749
e73015f2
L
107502010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10751
10752 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10753 strlen-sse2 strlen-sse2-bsf.
10754 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10755 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10756 (__strlen_sse2): Removed.
10757 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10758 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10759 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10760 bit_Slow_BSF for Atom.
10761 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10762 (index_Slow_BSF): Define.
10763 (HAS_SLOW_BSF): Define.
10764
df24a73e
UD
107652010-08-25 Ulrich Drepper <drepper@redhat.com>
10766
10767 [BZ #10851]
10768 * resolv/res_init.c (__res_vinit): When no server address at all
10769 is given default to loopback.
10770
f2ac4868
RM
107712010-08-24 Roland McGrath <roland@redhat.com>
10772
09055553
RM
10773 * configure.in: Remove config-name.h generation.
10774 * configure: Regenerated.
10775 * config-name.in: File removed.
10776 * scripts/config-uname.sh: New file.
10777 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10778 ($(objdir)config-name.h): New target.
10779
f2ac4868
RM
10780 * sunrpc/rpc_parse.h: Avoid nested comment.
10781
73f27d5e
RH
107822010-08-24 Richard Henderson <rth@redhat.com>
10783 Ulrich Drepper <drepper@redhat.com>
10784 H.J. Lu <hongjiu.lu@intel.com>
10785
10786 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10787 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10788 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10789 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10790 _mm_alignr_epi8 with _mm_loadu_si128.
10791 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10792 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10793 (__m128i_shift_right): Removed.
10794 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10795 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10796 * sysdeps/x86_64/multiarch/varshift.h: New file.
10797 * sysdeps/x86_64/multiarch/varshift.S: New file.
10798
84b9230c
MF
107992010-08-21 Mike Frysinger <vapier@gentoo.org>
10800
10801 * configure.in: Move assembler checks to before sysdep dir checking.
10802
9bbd0ddc
PB
108032010-08-20 Petr Baudis <pasky@suse.cz>
10804
10805 * LICENSES: Sync the sunrpc license.
10806
9da4bb31
UD
108072010-08-19 Ulrich Drepper <drepper@redhat.com>
10808
a7ab6ec8
UD
10809 * sunrpc/auth_des.c: Update copyright notice once again.
10810 * sunrpc/auth_none.c: Likewise.
10811 * sunrpc/auth_unix.c: Likewise.
10812 * sunrpc/authdes_prot.c: Likewise.
10813 * sunrpc/authuxprot.c: Likewise.
10814 * sunrpc/bindrsvprt.c: Likewise.
10815 * sunrpc/clnt_gen.c: Likewise.
10816 * sunrpc/clnt_perr.c: Likewise.
10817 * sunrpc/clnt_raw.c: Likewise.
10818 * sunrpc/clnt_simp.c: Likewise.
10819 * sunrpc/clnt_tcp.c: Likewise.
10820 * sunrpc/clnt_udp.c: Likewise.
10821 * sunrpc/clnt_unix.c: Likewise.
10822 * sunrpc/des_crypt.c: Likewise.
10823 * sunrpc/des_soft.c: Likewise.
10824 * sunrpc/get_myaddr.c: Likewise.
10825 * sunrpc/getrpcport.c: Likewise.
10826 * sunrpc/key_call.c: Likewise.
10827 * sunrpc/key_prot.c: Likewise.
10828 * sunrpc/openchild.c: Likewise.
10829 * sunrpc/pm_getmaps.c: Likewise.
10830 * sunrpc/pm_getport.c: Likewise.
10831 * sunrpc/pmap_clnt.c: Likewise.
10832 * sunrpc/pmap_prot.c: Likewise.
10833 * sunrpc/pmap_prot2.c: Likewise.
10834 * sunrpc/pmap_rmt.c: Likewise.
10835 * sunrpc/rpc/auth.h: Likewise.
10836 * sunrpc/rpc/auth_unix.h: Likewise.
10837 * sunrpc/rpc/clnt.h: Likewise.
10838 * sunrpc/rpc/des_crypt.h: Likewise.
10839 * sunrpc/rpc/key_prot.h: Likewise.
10840 * sunrpc/rpc/netdb.h: Likewise.
10841 * sunrpc/rpc/pmap_clnt.h: Likewise.
10842 * sunrpc/rpc/pmap_prot.h: Likewise.
10843 * sunrpc/rpc/pmap_rmt.h: Likewise.
10844 * sunrpc/rpc/rpc.h: Likewise.
10845 * sunrpc/rpc/rpc_des.h: Likewise.
10846 * sunrpc/rpc/rpc_msg.h: Likewise.
10847 * sunrpc/rpc/svc.h: Likewise.
10848 * sunrpc/rpc/svc_auth.h: Likewise.
10849 * sunrpc/rpc/types.h: Likewise.
10850 * sunrpc/rpc/xdr.h: Likewise.
10851 * sunrpc/rpc_clntout.c: Likewise.
10852 * sunrpc/rpc_cmsg.c: Likewise.
10853 * sunrpc/rpc_common.c: Likewise.
10854 * sunrpc/rpc_cout.c: Likewise.
10855 * sunrpc/rpc_dtable.c: Likewise.
10856 * sunrpc/rpc_hout.c: Likewise.
10857 * sunrpc/rpc_main.c: Likewise.
10858 * sunrpc/rpc_parse.c: Likewise.
10859 * sunrpc/rpc_parse.h: Likewise.
10860 * sunrpc/rpc_prot.c: Likewise.
10861 * sunrpc/rpc_sample.c: Likewise.
10862 * sunrpc/rpc_scan.c: Likewise.
10863 * sunrpc/rpc_scan.h: Likewise.
10864 * sunrpc/rpc_svcout.c: Likewise.
10865 * sunrpc/rpc_tblout.c: Likewise.
10866 * sunrpc/rpc_util.c: Likewise.
10867 * sunrpc/rpc_util.h: Likewise.
10868 * sunrpc/rpcinfo.c: Likewise.
10869 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10870 * sunrpc/rpcsvc/key_prot.x: Likewise.
10871 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10872 * sunrpc/rpcsvc/mount.x: Likewise.
10873 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10874 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10875 * sunrpc/rpcsvc/rex.x: Likewise.
10876 * sunrpc/rpcsvc/rstat.x: Likewise.
10877 * sunrpc/rpcsvc/rusers.x: Likewise.
10878 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10879 * sunrpc/rpcsvc/spray.x: Likewise.
10880 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10881 * sunrpc/rtime.c: Likewise.
10882 * sunrpc/svc.c: Likewise.
10883 * sunrpc/svc_auth.c: Likewise.
10884 * sunrpc/svc_authux.c: Likewise.
10885 * sunrpc/svc_raw.c: Likewise.
10886 * sunrpc/svc_run.c: Likewise.
10887 * sunrpc/svc_simple.c: Likewise.
10888 * sunrpc/svc_tcp.c: Likewise.
10889 * sunrpc/svc_udp.c: Likewise.
10890 * sunrpc/svc_unix.c: Likewise.
10891 * sunrpc/svcauth_des.c: Likewise.
10892 * sunrpc/xcrypt.c: Likewise.
10893 * sunrpc/xdr.c: Likewise.
10894 * sunrpc/xdr_array.c: Likewise.
10895 * sunrpc/xdr_float.c: Likewise.
10896 * sunrpc/xdr_mem.c: Likewise.
10897 * sunrpc/xdr_rec.c: Likewise.
10898 * sunrpc/xdr_ref.c: Likewise.
10899 * sunrpc/xdr_sizeof.c: Likewise.
10900 * sunrpc/xdr_stdio.c: Likewise.
10901
9da4bb31
UD
10902 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10903 handling.
10904
bdaa77bc
AS
109052010-08-19 Andreas Schwab <schwab@redhat.com>
10906
10907 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
10908
fe2f79db
LM
109092010-08-19 Luis Machado <luisgpm@br.ibm.com>
10910
10911 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
10912 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
10913 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
10914 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
10915 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
10916 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
10917 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
10918 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
10919 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
10920 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
10921 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
10922 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
10923 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
10924 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
10925
b9b42ee0
AB
109262010-07-26 Anton Blanchard <anton@samba.org>
10927
10928 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
10929 * malloc/arena.c (heap_trim): Likewise.
10930
1c06ba31
UD
109312010-08-16 Ulrich Drepper <drepper@redhat.com>
10932
10933 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
10934 here. Not...
10935 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
10936 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
10937
f8392f40
L
109382010-08-12 H.J. Lu <hongjiu.lu@intel.com>
10939
10940 * sysdeps/i386/elf/Makefile: New file.
10941
3162f12e
AS
109422010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10943
10944 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
10945 from fanotify_init.
10946 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10947 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10948
28c90b2c
UD
109492010-08-15 Ulrich Drepper <drepper@redhat.com>
10950
10951 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
10952 of strncasecmp_l.
1feccb6c 10953 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 10954
ca6bb004
UD
109552010-08-14 Ulrich Drepper <drepper@redhat.com>
10956
e9f82e0d
UD
10957 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10958 strncase_l-nonascii.
10959 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10960 Add strncase_l-ssse3.
10961 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
10962 * sysdeps/x86_64/strcmp.S: Likewise.
10963 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
10964 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
10965 * sysdeps/x86_64/strncase.S: New file.
10966 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
10967 * sysdeps/x86_64/strncase_l.S: New file.
10968 * string/Makefile (strop-tests): Add strncasecmp.
10969 * string/test-strncasecmp.c: New file.
10970
10971 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
10972 warning.
10973
ca6bb004
UD
10974 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
10975 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
10976
052fa7b3
AS
109772010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10978
10979 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
10980
962dba78
UD
109812010-08-12 Ulrich Drepper <drepper@redhat.com>
10982
10983 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
10984 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10985 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10986
bebff237
AM
109872010-05-01 Alan Modra <amodra@gmail.com>
10988
10989 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
10990 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
10991 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
10992 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
10993 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
10994 tidying. Don't tail-call __sigjmp_save for static lib.
10995 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
10996 save location.
10997 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
10998 (CALL_MCOUNT): Add eh info, and nop after bl.
10999 (TAIL_CALL_SYSCALL_ERROR): New macro.
11000 (PSEUDO_RET): Use it.
11001 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11002 Correct save location of integer regs and cr.
11003 (_dl_profile_resolve): Correct cr save location. Delete nops
11004 after bl when SHARED. Reduce cfi size a little by better
11005 placement of cfi directives.
11006 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11007 make a stack frame. Instead use parm save area as a temp.
11008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11009 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
11010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11011 Don't make a stack frame for parent, use parm save area.
11012 Increase child stack frame to 112 bytes. Don't save unused reg,
11013 and adjust reg usage. Set up cfi on error recovery and
11014 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11016 (__makecontext): Add dummy nop after jump to exit.
11017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11018 Use correct parm save area and cr save, reduce stack frame.
11019 Correct cfi for possible PSEUDO_RET frame setup.
11020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11021 Branch to local label emitted by PSEUDO_RET rather than
11022 __syscall_error.
11023
02637374
AS
110242010-08-12 Andreas Schwab <schwab@redhat.com>
11025
11026 [BZ #11904]
11027 * locale/programs/locale.c (print_assignment): New function.
11028 (show_locale_vars): Use it.
11029
c3e2f19b
UD
110302010-08-11 Ulrich Drepper <drepper@redhat.com>
11031
3cdaa6ad
UD
11032 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11033 field.
11034 (struct statfs64): Likewise.
11035 (_STATFS_F_FLAGS): Define.
11036 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11037 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11038 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11039 (ST_VALID): Define locally.
11040 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11041 __statvfs_getflags, use the provided value.
11042 * sysdeps/unix/sysv/linux/kernel-features.h: Define
11043 __ASSUME_STATFS_F_FLAGS.
11044
754f7da3
UD
11045 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11046
10b3bedc
UD
11047 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11048 Add sys/fanotify.h.
11049 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11050 fanotify_mask for GLIBC_2.13.
11051 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11052 fanotify_init and fanotify_mark.
11053 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11054 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11055
c08fb0d7
UD
11056 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11057 Add prlimit.
11058 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11059 prlimit64 for GLIBC_2.13.
11060 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11061 prlimit64.
11062 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11063 syscall.
11064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11065 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11066 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11067 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11068 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
11069 add prlimit alias.
11070 * sysdeps/unix/sysv/linux/prlimit.c: New file.
11071
15bac72b
UD
11072 [BZ #11903]
11073 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11074 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11075
c3e2f19b
UD
11076 * nss/Makefile: Add rules to build and run tst-nss-test1.
11077 * shlib-versions: Add entry for libnss_test1.
11078 * nss/nss_test1.c: New file.
11079 * nss/tst-nss-test1.c: New file.
11080
11081 * nss/nsswitch.c (__nss_database_custom): Define new variable.
11082 (__nss_configure_lookup): Set appropriate entry in
11083 __nss_configure_lookup to true.
11084 * nss/nsswitch.h: Define enum with indeces of databases in
11085 databases and __nss_database_custom arrays. Declare
11086 __nss_database_custom.
11087 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
11088 to avoid using nscd when custom rules are installed.
11089 * nss/getXXbyYY_r.c: Likewise.
11090 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11091
11092 * nss/nss_files/files-parse.c: Whitespace fixes.
11093
f15ce4d8
UD
110942010-08-09 Ulrich Drepper <drepper@redhat.com>
11095
11096 [BZ #11883]
11097 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
11098 * posix/fnmatch_loop.c: Likewise.
11099
d22e4cc9
AK
111002010-07-17 Andi Kleen <ak@linux.intel.com>
11101
11102 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11103 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11104 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11105 * Versions.def [GLIBC_2.13]: Add.
11106
805bc17d
UD
111072010-08-06 Ulrich Drepper <drepper@redhat.com>
11108
11109 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11110 Also fail if tpwd after pwuid call is NULL.
11111
5a42321d
ST
111122010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11113
11114 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11115 when converting to ms.
11116
fd3ebeda
ST
111172010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11118
11119 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11120 EOPNOTSUPP errors with ENOTTY.
11121 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11122 EOPNOTSUPP errors with ENOTTY.
11123
73507d3a
UD
111242010-07-31 Ulrich Drepper <drepper@redhat.com>
11125
11126 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11127 Add strcasecmp_l-ssse3.
11128 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11129 strcasecmp.
11130 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11131 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11132 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11133
fe36dd02
UD
111342010-07-30 Ulrich Drepper <drepper@redhat.com>
11135
66f6765a
UD
11136 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11137
42e08a54
UD
11138 * string/Makefile (strop-tests): Add strcasecmp.
11139 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11140 strcasecmp_l-nonascii.
11141 (gen-as-const-headers): Add locale-defines.sym.
11142 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11143 * sysdeps/x86_64/strcasecmp.S: New file.
11144 * sysdeps/x86_64/strcasecmp_l.S: New file.
11145 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11146 * sysdeps/x86_64/locale-defines.sym: New file.
11147 * string/test-strcasecmp.c: New file.
11148
fe36dd02
UD
11149 * string/test-strcasestr.c: Test both ends of the range of characters.
11150 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11151
48cbc0d6
RM
111522010-07-29 Roland McGrath <roland@redhat.com>
11153
76e6d6bc 11154 [BZ #11856]
48cbc0d6
RM
11155 * manual/locale.texi (Yes-or-No Questions): Fix example code.
11156
880113d9
UD
111572010-07-27 Ulrich Drepper <drepper@redhat.com>
11158
11159 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11160 for ld.so.
11161
deb9cabb
AS
111622010-07-27 Andreas Schwab <schwab@redhat.com>
11163
11164 * manual/memory.texi (Malloc Tunable Parameters): Document
11165 M_PERTURB.
11166
1c7570ff
RM
111672010-07-26 Roland McGrath <roland@redhat.com>
11168
11169 [BZ #11840]
11170 * configure.in (-fgnu89-inline check): Set and substitute
11171 gnu89_inline, not libc_cv_gnu89_inline.
11172 * configure: Regenerated.
11173 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11174
24fb0f88
UD
111752010-07-26 Ulrich Drepper <drepper@redhat.com>
11176
11177 * string/test-strnlen.c: New file.
11178 * string/Makefile (strop-tests): Add strnlen.
11179 * string/tester.c (test_strnlen): Add a few more test cases.
11180 * string/tst-strlen.c: Better error reporting.
11181
11182 * sysdeps/x86_64/strnlen.S: New file.
11183
8e96b93a
UD
111842010-07-24 Ulrich Drepper <drepper@redhat.com>
11185
11186 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11187 lower-latency instructions.
11188
dbc676d4
UD
111892010-07-23 Ulrich Drepper <drepper@redhat.com>
11190
11191 * string/test-strcasestr.c: New file.
11192 * string/test-strstr.c: New file.
11193 * string/Makefile (strop-tests): Add strstr and strcasestr.
11194 * string/str-two-way.h: Don't undefine MAX.
11195 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11196
f6a31e0e
AS
111972010-07-21 Andreas Schwab <schwab@redhat.com>
11198
11199 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11200 strcasestr-nonascii.
11201 (CFLAGS-strcasestr-nonascii.c): Define.
11202 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11203 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11204 Remove unused attribute.
11205
5dbc3b6c
RM
112062010-07-20 Roland McGrath <roland@redhat.com>
11207
11208 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11209 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
11210 ld.so.cache was broken. With it, there is no way to disable dsocaps
11211 like LD_HWCAP_MASK can disable hwcaps.
11212
23d101d8
EPM
112132010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11214
11215 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11216
cc9f2e47
UD
112172010-07-16 Ulrich Drepper <drepper@redhat.com>
11218
11219 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11220 call in strcasestr.
11221 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11222 __strcasestr_sse42_nonascii.
11223 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11224 strcasestr-nonascii.c.
11225 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11226
77c1b069
LM
112272010-06-15 Luis Machado <luisgpm@br.ibm.com>
11228
11229 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11230 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11231 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11232 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11233
440566c3
UD
112342010-07-09 Ulrich Drepper <drepper@redhat.com>
11235
11236 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11237 fcntl.
11238
5be9d05d
AS
112392010-07-06 Andreas Schwab <schwab@redhat.com>
11240
c30b7ee2 11241 [BZ #11577]
5be9d05d
AS
11242 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11243 dl_signal_cerror.
11244
8a492a67
UD
112452010-07-06 Ulrich Drepper <drepper@redhat.com>
11246
11247 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11248 _PC_PIPE_BUF using F_GETPIPE_SZ.
11249
713df3d5
RM
112502010-07-05 Roland McGrath <roland@redhat.com>
11251
11252 * manual/arith.texi (Rounding Functions): Fix rint description
11253 implicit in round description.
11254
702e8f14
UD
112552010-07-02 Ulrich Drepper <drepper@redhat.com>
11256
11257 * elf/Makefile: Fix linking for a few tests to make recent linker
11258 happy.
11259
52ed8be9
AS
112602010-06-30 Andreas Schwab <schwab@redhat.com>
11261
11262 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11263 $(common-objpfx)libc_nonshared.a.
11264
f47c9a11
LM
112652010-06-21 Luis Machado <luisgpm@br.ibm.com>
11266
11267 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11268 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11269 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11270 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11271 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11272 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11273 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11274 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11289 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11290 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11291 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11292 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11293 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11294 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11295 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11296 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11297 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11298 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11299 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11300 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11315
6fb8cbcb
L
113162010-06-25 H.J. Lu <hongjiu.lu@intel.com>
11317
11318 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11319 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11320 * string/memmove.c (memmove): Renamed to ...
11321 (MEMMOVE): ...this. Default to memmove.
11322 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11323 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11324 (END_CHK): Define.
11325 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11326 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11327 mempcpy-ssse3-back memmove-ssse3-back.
11328 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11329 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11330 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11331 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11332 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11333 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11334 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11335 * sysdeps/x86_64/multiarch/memmove.c: New file.
11336 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11337 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11338 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11339 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11340 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11341 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11342 Define.
11343 (index_Fast_Copy_Backward): Define.
11344 (HAS_ARCH_FEATURE): Define.
11345 (HAS_FAST_REP_STRING): Define.
11346 (HAS_FAST_COPY_BACKWARD): Define.
11347
4e733bac 113482010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
11349
11350 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11351 Restore proper fallback handling.
11352
63c4ed22
UD
113532010-06-19 Ulrich Drepper <drepper@redhat.com>
11354
ac2b484c
UD
11355 [BZ #11701]
11356 * posix/group_member.c (__group_member): Correct checking loop.
11357
63c4ed22
UD
11358 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11359 OOM in getpwuid_r correctly. Return error number when the caller
11360 should return, otherwise -1.
11361 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11362 call returning > 0 value.
11363 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11364
765ade4b
AS
113652010-06-07 Andreas Schwab <schwab@redhat.com>
11366
11367 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11368 libc_nonshared.a from targets in modules-names.
11369
80da2e09
KS
113702010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11371
11372 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11373 requires it.
11374
158db122
LM
113752010-06-10 Luis Machado <luisgpm@br.ibm.com>
11376
11377 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11378 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11379 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11380 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11381
caa78cf8
AS
113822010-06-02 Andreas Schwab <schwab@redhat.com>
11383
11384 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11385
b2ef2c01
UD
113862010-06-14 Ulrich Drepper <drepper@redhat.com>
11387
11388 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11389 and F_GETPIPE_SZ.
11390 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11391 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11392 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11393 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11394 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11395 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11396
fbd643b6
RM
113972010-06-14 Roland McGrath <roland@redhat.com>
11398
11399 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11400
f32f2869
JJ
114012010-06-07 Jakub Jelinek <jakub@redhat.com>
11402
11403 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11404 __REDIRECT followed by __THROW.
11405 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11406 * posix/getopt.h (getopt): Likewise.
11407
2a50c078
EPM
114082010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11409
11410 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11411 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11412 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11413 in AT_FLAGS.
11414 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11415 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11416
eb5ad2eb
LM
114172010-05-28 Luis Machado <luisgpm@br.ibm.com>
11418
11419 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11420
3c88fe1e
L
114212010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11422
11423 [BZ #11640]
11424 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11425 Properly check family and model.
11426
d2f73151
TY
114272010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11428
11429 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11430
ebd2e13d
LM
114312010-05-24 Luis Machado <luisgpm@br.ibm.com>
11432
11433 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11434
b32b8b45
UD
114352010-05-21 Ulrich Drepper <drepper@redhat.com>
11436
11437 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11438 symbol reference.
11439
9acbe24d
AS
114402010-05-19 Andreas Schwab <schwab@redhat.com>
11441
11442 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11443 symbol reference.
11444
f0ccf6ea
AS
114452010-05-21 Andreas Schwab <schwab@redhat.com>
11446
3d04ff3a
AS
11447 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11448 and internal_recvmmsg.
11449 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11450 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11451 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11452 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11453
f0ccf6ea
AS
11454 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11455 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11456 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11457
5b08ac57
AS
114582010-05-20 Andreas Schwab <schwab@redhat.com>
11459
11460 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11461
4828935d
LM
114622010-05-17 Luis Machado <luisgpm@br.ibm.com>
11463
11464 POWER7 optimizations.
11465 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11466 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11467
373d545e
UD
114682010-05-19 Ulrich Drepper <drepper@redhat.com>
11469
11470 * version.h: Update for 2.13 development version.
11471
21a2b1ae
AS
114722010-05-12 Andrew Stubbs <ams@codesourcery.com>
11473
11474 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11475 exceptions. Return 0.
11476
3f7dcb2b
RM
114772010-05-07 Roland McGrath <roland@redhat.com>
11478
11479 * elf/ldconfig.c (main): Add a const.
11480
5f24d53a 114812010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 11482
a160f8d8
UD
11483 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11484 (args_options): Add no-idn option.
11485 (ahosts_keys_int): Add idn_flags to ai_flags.
11486 (parse_option): Handle 'i' option to clear idn_flags.
11487
5f24d53a
UD
11488 * malloc/malloc.c (_int_free): Possible race in the most recently
11489 added check. Only act on the data if no current modification
11490 happened.
265bb1ce
UD
11491
11492See ChangeLog.17 for earlier changes.