]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Merge branch 'master' of git://sourceware.org/git/glibc
[thirdparty/glibc.git] / ChangeLog
CommitLineData
624254b1
SC
12012-04-08 Stephen Compall <s11@member.fsf.org>
2
3 [BZ #6649]
4 * manual/llio.texi (Opening and Closing Files): Add cross
5 reference to explain mode argument.
6
1e4920e0
MF
72012-04-07 Mike Frysinger <vapier@gentoo.org>
8
9 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
10 * sysdeps/x86_64/memset_chk.S: Likewise.
11
5ed848f3
DM
122012-04-07 David S. Miller <davem@davemloft.net>
13
14 * elf/elf.h (R_SPARC_WDISP10): Define.
15 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16 R_SPARC_SIZE32.
17 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
18 R_SPARC_SIZE64 and R_SPARC_H34.
19
96154cd8
CD
202012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
21
22 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
23 conditions and remove no longer applicable assertion.
24
f8887d0a
L
252012-04-06 H.J. Lu <hongjiu.lu@intel.com>
26
27 * bits/byteswap.h (__bswap_16): Removed.
28 Include <bits/byteswap-16.h> to get __bswap_16.
29 * sysdeps/i386/bits/byteswap.h: Likewise.
30 * sysdeps/s390/bits/byteswap.h: Likewise.
31 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32 * bits/byteswap-16.h: New file.
33 * sysdeps/i386/bits/byteswap-16.h: Likewise.
34 * sysdeps/s390/bits/byteswap-16.h: Likewise.
35 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
36 * string/Makefile (headers): Add bits/byteswap-16.h.
37
62470f60
PP
382012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
39
40 [BZ #13895]
41 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
42 extra indirection.
43 * nss/Makefile (tests-static, tests): Add tst-nss-static.
44 * nss/tst-nss-static.c: New.
45
4dad7bab
RM
462012-04-06 Robert Millan <rmh@gnu.org>
47
48 [BZ #6486]
49 * manual/llio.texi (File Position Primitive): lseek
50 refers to WHENCE when it really means OFFSET.
51
e9142a17
AJ
522012-04-06 Andreas Jaeger <aj@suse.de>
53
2c040eff
AJ
54 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
55 strncmp declarations.
56
e9142a17
AJ
57 * abilist/libc.abilist: Add __poll and __ppoll.
58
ff9f1c5f
DM
592012-04-05 David S. Miller <davem@davemloft.net>
60
dcd2ae90
DM
61 * scripts/check-local-headers.sh: Accept a host triplet in the
62 path matched by the exclude regexp.
63
993eb054
DM
64 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
65 definition.
66 * sysdeps/powerpc/powerpc32/dl-machine.h
67 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
68 * sysdeps/s390/s390-32/dl-machine.h
69 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
70 * sysdeps/sparc/sparc32/dl-machine.h
71 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
72 * sysdeps/sparc/sparc64/dl-machine.h
73 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
74
ff9f1c5f
DM
75 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
76 lazy binding.
48e2e132 77 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
78 undefined symbol errors.
79
48e2e132 80 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
81 DT_NEEDED entries.
82
e80d6f94
MM
832012-04-05 Michael Matz <matz@suse.de>
84
85 [BZ #13592]
86 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
87
349fa79f
AJ
882012-04-05 Andreas Jaeger <aj@suse.de>
89
90 [BZ #13908]
91 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
92 comment.
93
f402708f
KK
942012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
95
96 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
97 which ROUND is no valid rounding mode.
98
2ecccfc9
KK
992012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
100
101 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
102 read again.
103 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
104
8a53f50f
KK
1052012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
106
107 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
108 an exception using FPU order intentionally.
109
1102012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
111
112 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
113 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
114 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
115 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
116
d653abb7
SJ
1172012-04-05 Simon Josefsson <simon@josefsson.org>
118
119 [BZ #12340]
120 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
121 EINVAL when BUFLEN is too smal.
122
c3b1bf7d
TS
1232012-04-05 Thomas Schwinge <thomas@codesourcery.com>
124
125 [BZ #13553]
126 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
127 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
128
b1aa60f3
AJ
1292012-04-03 Andreas Jaeger <aj@suse.de>
130
c3b1bf7d 131 [BZ #13938]
67f60a26
AJ
132 * manual/setjmp.texi (System V contexts): Fix sentence.
133
b1aa60f3
AJ
134 [BZ #13926]
135 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
136 New macro for this case.
137 [!__GNUC__] (__bswap_64): New inline function for this case.
138 * sysdeps/x86_64/bits/byteswap.h: Likewise.
139 * bits/byteswap.h: Likewise.
140 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
141 ull, guard with __GLIBC_HAVE_LONG_LONG.
142
143 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
144 __GLIBC_HAVE_LONG_LONG.
145
146 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
147 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
148
39c59c35
TMQMF
1492012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
150
151 [BZ #13691]
152 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
153 inptr and inend, rather than using last_ch.
154
135ffda8
DM
1552012-04-02 David S. Miller <davem@davemloft.net>
156
157 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
158 * stdio-common/printf-parse.h (read_int): Change return type to
159 'int', return -1 on INT_MAX overflow.
160 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
161 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
162 overflows INT_MAX. Check for overflow of in-format-string precision
163 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
164 SIZE_MAX not INT_MAX for integer overflow test.
165 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
166 skip the construct in the format string but do not record anything.
167 * stdio-common/bug22.c: Adjust to test both width/prevision
168 INT_MAX overflow as well as total length INT_MAX overflow. Check
169 explicitly for proper errno values.
170
228c019e
TS
1712012-04-02 Thomas Schwinge <thomas@codesourcery.com>
172
302cadd3
TS
173 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
174 CHAR_MAX.
175 * string/test-strcmp.c [! WIDE]: Likewise.
176 * time/tst-mktime2.c: Likewise for INT_MAX.
177 * string/test-string.h: #include <sys/param.h> for MIN.
178
228c019e
TS
179 * csu/init-first.c (__libc_init_first): Call __ctype_init.
180 * sysdeps/i386/init-first.c (init): Likewise.
181 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
182 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
183 * sysdeps/sh/init-first.c (init): Likewise.
184
cfa633f5
UD
1852012-04-01 Ulrich Drepper <drepper@gmail.com>
186
187 * po/ru.po: Update from translation team.
d1635ef8 188 * po/vi.po: Likewise.
cfa633f5 189
6cd0a5ea
SP
1902012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
191
192 * resolv/nss_dns/dns-host.c: Merge copyright years.
193
4b43400f
LD
1942012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
195
196 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
197 Optimize memcpy with prefetch if
198 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
199 src, dst pointers have unequal 16 byte alignments.
200
48c41d04
SP
2012012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
202
203 [BZ #13928]
204 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
205 from a CNAME entry and return the minimum ttl for the query.
206 (gaih_getanswer_slice): Likewise.
207
b8dc394d
JL
2082012-03-30 Jeff Law <law@redhat.com>
209
210 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
211 due to long keys.
212 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
213 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
214
2f5a5ed0
JL
215 * resolv/nss_dns/dns-host.c: Update copyright year.
216
1d39e359
UD
2172012-03-30 Ulrich Drepper <drepper@gmail.com>
218
c030f70c 219 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 220 requests to save a system call. Fix check that all bytes are sent.
c030f70c 221
1d39e359
UD
222 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
223 comments for sendmmsg.
224
2252012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
226
227 [BZ #13691]
228 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
229 with only 1 character between 0x0041 and 0x01b0.
230 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
231 * wcsmbs/tst-mbsnrtowcs.c: New file.
232
20fde227
DM
2332012-03-29 David S. Miller <davem@davemloft.net>
234
235 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
236 small copies by hand.
237
984a4237
JL
2382012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
239
240 [BZ #13761]
241 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
242 _nss_compat_initgroups_dyn): Fall back to malloc/free
243 for large group memberships.
244
18c9d62b
DM
2452012-03-28 David S. Miller <davem@davemloft.net>
246
88d85d4f
DM
247 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
248 that branches into memcpy.
249 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
250 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
251 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
252 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
253 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
254 bits.
255 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
256 implementation too.
257 * sysdeps/sparc/mempcpy.S: New file.
258
e5aa83e1
DM
259 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
260 the IFUNC routine in the libc case.
261 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
262
88570753
DM
263 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
264 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
265 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
266 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
267 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
268 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
269 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
270 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
271
249d7567
DM
272 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
273 loop to 256 bytes instead of 64 bytes and fix test signedness.
274
18c9d62b
DM
275 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
276 * sysdeps/sparc/sparc32/Makefile: rather than here...
277 * sysdeps/sparc/sparc64/Makefile: and here.
278
05f3d1f6
UD
2792012-03-28 Ulrich Drepper <drepper@gmail.com>
280
281 * malloc/mallocbug.c: Avoid warnings about unused variables.
282
86ae07a8
JL
2832012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
284
285 [BZ #13760]
286 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
287 in the right place. Discard and retry query if response is
288 larger than input buffer size.
289
41bf21a1
JM
2902012-03-28 Joseph Myers <joseph@codesourcery.com>
291
d6270972
JM
292 [BZ #369]
293 [BZ #2678]
294 [BZ #3866]
295 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
296 x for large integer exponent.
297 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
298 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
299 sign of result as needed afterwards.
300 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
301 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
302 result for underflowing pow the same as for overflow.
303 (__kernel_standard_l): Handle powl overflow and underflow here
304 rather than calling __kernel_standard.
305 * math/libm-test.inc (pow_test): Add more tests.
306
414fca03 307 [BZ #3868]
41bf21a1
JM
308 [BZ #13879]
309 [BZ #13910]
310 [BZ #13911]
311 [BZ #13912]
312 [BZ #13913]
313 [BZ #13915]
314 [BZ #13916]
315 [BZ #13917]
316 [BZ #13918]
317 [BZ #13919]
318 [BZ #13920]
319 [BZ #13921]
320 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
321 * sysdeps/ieee754/k_standard.c: Include <float.h>.
322 (__kernel_standard_l): New function.
323 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
324 __kernel_standard.
325 * math/w_acosl.c (__acosl): Likewise.
326 * math/w_asinl.c (__asinl): Likewise.
327 * math/w_atan2l.c (__atan2l): Likewise.
328 * math/w_atanhl.c (__atanhl): Likewise.
329 * math/w_coshl.c (__coshl): Likewise.
330 * math/w_exp10l.c (__exp10l): Likewise.
331 * math/w_exp2l.c (__exp2l): Likewise.
332 * math/w_fmodl.c (__fmodl): Likewise.
333 * math/w_hypotl.c (__hypotl): Likewise.
334 * math/w_j0l.c (__j0l, __y0l): Likewise.
335 * math/w_j1l.c (__j1l, __y1l): Likewise.
336 * math/w_jnl.c (__jnl, __ynl): Likewise.
337 * math/w_lgammal.c (__lgammal): Likewise.
338 * math/w_log10l.c (__log10l): Likewise.
339 * math/w_log2l.c (__log2l): Likewise.
340 * math/w_logl.c (__logl): Likewise.
341 * math/w_powl.c (__powl): Likewise.
342 * math/w_remainderl.c (__remainderl): Likewise.
343 * math/w_scalbl.c (sysv_scalbl): Likewise.
344 * math/w_sinhl.c (__sinhl): Likewise.
345 * math/w_sqrtl.c (__sqrtl): Likewise.
346 * math/w_tgammal.c (__tgammal): Likewise.
347 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
348 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
349 * math/libm-test.inc (acos_test): Add more tests.
350 (acosh_test): Likewise.
351 (asin_test): Likewise.
352 (atanh_test): Likewise.
353 (exp_test): Likewise.
354 (exp10_test): Likewise.
355 (exp2_test): Likewise.
356 (expm1_test): Likewise.
357 (lgamma_test): Likewise.
358 (log_test): Likewise.
359 (log10_test): Likewise.
360 (log1p_test): Likewise.
361 (log2_test): Likewise.
362 (pow_test): Do not allow some spurious overflow exceptions.
363 (sqrt_test): Add more tests.
364 (tgamma_test): Likewise.
365 (y0_test): Likewise.
366 (y1_test): Likewise.
367 (yn_test): Likewise.
368
dd62fda6
AB
3692012-03-27 Anton Blanchard <anton@samba.org>
370
371 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
372 MAP_HUGETLB.
373 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
374 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
375 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
376
1e3cdfda
AJ
3772012-03-27 David S. Miller <davem@davemloft.net>
378
b855ab85
DM
379 * conform/Makefile: Run run-conformtest.sh using $(BASH).
380
1e3cdfda
AJ
381 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
382 have-as-vis3 check.
383
3842012-03-27 Andreas Jaeger <aj@suse.de>
385
386 * sysdeps/x86_64/elf/configure.in: Moved to ...
387 * sysdeps/x86_64/configure.in: ... here.
388 * sysdeps/x86_64/elf/start.S: Moved to ...
389 * sysdeps/x86_64/start.S: ... here.
390 * sysdeps/x86_64/elf/configure: Delete.
391
392 * sysdeps/x86_64/configure.in: Merge contents from
393 sysdeps/i386/configure.in (without i686 check).
394
395 * sysdeps/i386/elf/Versions: Merge into ...
396 * sysdeps/i386/Versions: ... this.
397 * sysdeps/i386/elf/Versions: Delete file.
398 * sysdeps/i386/elf/start.S: Moved to ...
399 * sysdeps/i386/start.S: ...here.
400 * sysdeps/i386/elf/configure.in: Merge into...
401 * sysdeps/i386/configure.in: ...here.
402 * sysdeps/i386/elf/configure.in: Delete file.
403 * sysdeps/i386/elf/configure: Delete file.
404
405 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
406 * debug/backtracesyms.c: ... here.
407 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
408 * debug/backtracesymsfd.c: ... here.
409 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
410 * sysdeps/generic/ifunc-sel.h: ... here.
411
412 * sysdeps/unix/i386/start.c: Delete file.
413 * sysdeps/unix/sparc/start.c: Delete file.
414 * sysdeps/unix/start.c: Delete file.
415
416 * sysdeps/sh/elf/configure.in: Moved to ...
417 * sysdeps/sh/configure.in: ... here.
418 * sysdeps/sh/elf/start.S: Moved to ...
419 * sysdeps/sh/start.S: ... here.
420 * sysdeps/sh/elf/configure: Delete file.
421
422 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
423 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
424 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
425 * sysdeps/powerpc/powerpc64/entry.h: ... here.
426 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
427 * sysdeps/powerpc/powerpc64/start.S: here.
428 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
429 * sysdeps/powerpc/powerpc64/Makefile: ... this.
430 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
431 * sysdeps/powerpc/powerpc64/configure.in: ... this.
432 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
433
434 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
435 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
436 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
437 * sysdeps/powerpc/powerpc32/start.S: ... here.
438 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
439 * sysdeps/powerpc/powerpc32/configure.in: ... this.
440 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
441
442 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
443 * sysdeps/powerpc/ifunc-sel.h: ... here.
444 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
445 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
446
447 * sysdeps/sparc/elf/configure.in: Moved to ...
448 * sysdeps/sparc/configure.in: ... here.
449 * sysdeps/sparc/elf/configure: Delete file.
450 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
451 * sysdeps/sparc/sparc32/start.S: ... here.
452 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
453 * sysdeps/sparc/sparc64/start.S: ... here.
454 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
455 * sysdeps/sparc/sparc32/Makefile: ... this.
456 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
457 * sysdeps/sparc/sparc64/Makefile: ... this.
458
459 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
460 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
461 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
462 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
463 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
464 * sysdeps/s390/s390-32/setjmp.S: ... here.
465 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
466 * sysdeps/s390/s390-32/configure.in: ... here.
467 * sysdeps/s390/s390-32/elf/configure: Delete file.
468 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
469 * sysdeps/s390/s390-32/start.S: ... here.
470
471 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
472 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
473 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
474 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
475 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
476 * sysdeps/s390/s390-64/setjmp.S: ... here.
477 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
478 * sysdeps/s390/s390-64/configure.in: ... here
479 * sysdeps/s390/s390-64/elf/configure: Delete file.
480 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
481 * sysdeps/s390/s390-64/start.S: ... here.
482 * sysdeps/s390/s390-64/elf/configure: Delete.
483
484 * configure.in: Remove support for elf directories in sysdeps.
485
486 * configure: Regenerated.
487 * sysdeps/i386/configure: Regenerated.
488 * sysdeps/powerpc/powerpc32/configure: Regenerated.
489 * sysdeps/powerpc/powerpc64/configure: Regenerated.
490 * sysdeps/s390/s390-32/configure: Regenerated.
491 * sysdeps/s390/s390-64/configure: Regenerated.
492 * sysdeps/sh/configure: Regenerated.
493 * sysdeps/sparc/configure: Regenerated.
494 * sysdeps/x86_64/configure: Regenerated.
495
a3f61311
AS
4962012-03-26 Andreas Schwab <schwab@linux-m68k.org>
497
c876e002
AS
498 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
499
a3f61311
AS
500 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
501 denormal result into account.
502
ac4c54f0
RM
5032012-03-25 Roland McGrath <roland@hack.frob.com>
504
505 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
506 Reported by Allan McRae <allan@archlinux.org>.
507
6a9b9c02
JL
5082012-03-23 Jeff Law <law@redhat.com>
509
510 * nss/getnssent.c (__nss_getent): Fix typo.
511
4c42a0c1
DM
5122012-03-23 David S. Miller <davem@davemloft.net>
513
514 * sysdeps/sparc/fpu/libm-test-ulps: Update.
515
1532c7ac
L
5162012-03-23 H.J. Lu <hongjiu.lu@intel.com>
517
518 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
519 to pad to uint64_t for each field.
520 (dl_tls_index): Replace unsigned long with uint64_t.
521
3ff42526
PP
5222012-03-23 Daniel Jacobowitz <dmj@google.com>
523 Paul Pluzhnikov <ppluzhnikov@google.com>
524
525 [BZ #6528]
526 * grp/Makefile (otherlibs): Don't set it.
527 * inet/Makefile (otherlibs): Likewise.
528 * login/Makefile (otherlibs): Likewise.
529 * nscd/Makefile (otherlibs): Likewise.
530 * posix/Makefile (otherlibs): Likewise.
531 * pwd/Makefile (otherlibs): Likewise.
532 * rt/Makefile (otherlibs): Likewise.
533 * sunrpc/Makefile (otherlibs): Likewise.
534 * nss/Makefile (otherlibs): Likewise.
535 Add libnss_files to routines and static-only-routines.
536 ($(objpfx)getent): Remove rule.
537 * resolv/Makefile: Add libnss_dns and libresolv to routines and
538 static-only-routines.
539
7c69cd14
JM
5402012-03-22 Joseph Myers <joseph@codesourcery.com>
541
542 [BZ #13892]
543 * math/s_cexp.c: Include <float.h>.
544 (__cexp): Handle exp result overflowing not necessarily
545 overflowing both real and imaginary parts of result.
546 * math/s_cexpf.c: Likewise.
547 * math/s_cexpl.c: Likewise.
548 * math/libm-test.inc (cexp_test): Add more tests.
549 * sysdeps/i386/fpu/libm-test-ulps: Update.
550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
551
81b035fe
L
5522012-03-22 H.J. Lu <hongjiu.lu@intel.com>
553
554 * include/link.h (ELFW): New macro.
555 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
556 Replace ELF64_R_TYPE with ELFW(R_TYPE).
557
1da7940c
L
5582012-03-22 H.J. Lu <hongjiu.lu@intel.com>
559
560 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
561 with uint64_t.
562
b749dbb9
L
5632012-03-22 H.J. Lu <hongjiu.lu@intel.com>
564
565 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
566 declaration.
567 (struct La_x32_retval): Likewise.
568
2ff87f3f
L
5692012-03-22 H.J. Lu <hongjiu.lu@intel.com>
570
571 * sysdeps/x86_64/preconfigure.in: New file.
572 * sysdeps/x86_64/preconfigure: New generated file.
573
c0df8e69
JM
5742012-03-22 Joseph Myers <joseph@codesourcery.com>
575
48e44791
JM
576 [BZ #13824]
577 * math/e_exp2l.c: Include <float.h>.
578 (__ieee754_exp2l): Handle overflow and underflow cases
579 separately. Only pass fractional part of argument to
580 __ieee754_expl.
581 * math/libm-test.inc (exp2_test): Add more tests.
582
c0df8e69
JM
583 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
584 negating x to take absolute value.
585 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
586 Likewise.
587 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
588 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
589 Likewise.
590 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
591 computing low part if x was negated.
592 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
593
c8e43ba7
L
5942012-03-21 H.J. Lu <hongjiu.lu@intel.com>
595
596 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
597 la_x32_gnu_pltexit.
598 (pltexit): Cast int_retval to ptrdiff_t.
599 * elf/tst-auditmod3b.c: Likewise.
600 * elf/tst-auditmod4b.c: Likewise.
601 * elf/tst-auditmod5b.c: Likewise.
602 * elf/tst-auditmod6b.c: Likewise.
603 * elf/tst-auditmod6c.c: Likewise.
604 * elf/tst-auditmod7b.c: Likewise.
605
606 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
607 and x32_gnu_pltexit.
608
609 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
610 __ELF_NATIVE_CLASS.
611 (La_x32_regs): New macro.
612 (La_x32_retval): Likewise.
613 (la_x32_gnu_pltenter): New function prototype.
614 (la_x32_gnu_pltexit): Likewise.
615
7998fa78
AS
6162012-03-21 Andreas Schwab <schwab@linux-m68k.org>
617
dcb33988
AS
618 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
619 exponent.
620
233fc563
AS
621 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
622
7998fa78
AS
623 * configure.in (libc_cv_cc_nofma): Check for option to disable
624 generation of FMA instructions.
625 * configure: Regenerate.
626 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
627 * sysdeps/ieee754/dbl-64/Makefile: New file.
628 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
629 Remove brandred-fma4.
630 (CFLAGS-brandred-fma4.c): Remove.
631 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
632 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
633 define.
634 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
635 define.
636
8e95c99a
L
6372012-03-21 H.J. Lu <hongjiu.lu@intel.com>
638
639 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
640 LLONG_MAX != LONG_MAX.
641 (_itoa_word): Use _ITOA_WORD_TYPE on value.
642 (_fitoa_word): Likewise.
643 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
644 LLONG_MAX != LONG_MAX.
645 * stdio-common/_itowa.h: Include <_itoa.h>.
646 (_itowa_word): Use _ITOA_WORD_TYPE on value.
647 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
648 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
649 only if not defined.
650 (_ITOA_WORD_TYPE): Likewise.
651 (_itoa_word): Use _ITOA_WORD_TYPE on value.
652 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
653
6f4db457
DM
6542012-03-21 David S. Miller <davem@davemloft.net>
655
656 * sysdeps/sparc/fpu/libm-test-ulps: Update.
657
7785fe5a
L
6582012-03-21 H.J. Lu <hongjiu.lu@intel.com>
659
660 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
661 of x86_64 when setting libc_cv_slibdir, libdir and
662 libc_cv_localedir.
663 * sysdeps/unix/sysv/linux/configure: Regenerated.
664
4535cd55
JM
6652012-03-21 Joseph Myers <joseph@codesourcery.com>
666
667 * manual/lang.texi (Old Varargs): Remove section.
668 (How Variadic): Update menu.
669 (va_start): Do not mention varargs.h.
670
17228132
TS
6712012-03-21 Thomas Schwinge <thomas@codesourcery.com>
672 Joseph Myers <joseph@codesourcery.com>
673
674 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
675 link test.
676 * configure: Regenerated.
677
8149f976
TS
6782012-03-21 Thomas Schwinge <thomas@codesourcery.com>
679
05f3d1f6
UD
680 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
681 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
682 conformtest.pl
8149f976 683
1a4ac776
JM
6842012-03-21 Joseph Myers <joseph@codesourcery.com>
685
be22ce65
JM
686 * NOTES: Remove.
687 * Makefile (files-for-dist): Remove NOTES.
688 (NOTES): Remove rule.
689 * README: Don't refer to NOTES.
690 * manual/creature.texi: Don't include macros.texi.
691 * manual/intro.texi (creature.texi): Remove comment referring to
692 NOTES.
693
40b601fb
JM
694 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
695 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
696 * configure: Regenerated.
697 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
698 LIBC_TRY_CC_OPTION.
699 (libc_cv_as_i686): Likewise.
700 (libc_cv_cc_avx): Likewise.
701 (libc_cv_cc_sse2avx): Likewise.
702 (libc_cv_cc_fma4): Likewise.
703 (libc_cv_cc_novzeroupper): Likewise.
704 * sysdeps/i386/configure: Regenerated.
705
1a4ac776
JM
706 [BZ #13883]
707 * sysdeps/i386/fpu/s_cexp.S: Remove.
708 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
709 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
710 * math/libm-test.inc (cexp_test): Add more tests.
711 * sysdeps/i386/fpu/libm-test-ulps: Update.
712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
713
a458e7fe
AM
7142012-03-21 Allan McRae <allan@archlinux.org>
715
716 * timezone/Makefile: Do not install iso3166.tab and zone.tab
717
0cb7efc5
JM
7182012-03-21 Joseph Myers <joseph@codesourcery.com>
719
720 [BZ #13871]
721 * math/w_exp2.c: Do not include <float.h>.
722 (o_threshold, u_threshold): Remove.
723 (__exp2): Calculate result before checking finiteness and calling
724 __kernel_standard.
725 * math/w_exp2f.c: Likewise.
726 * math/w_exp2l.c: Likewise.
727 * math/libm-test.inc (exp2_test): Require overflow exception for
728 1e6 input.
2460d3aa
JM
729
730 [BZ #3866]
731 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
732 range of signed 64-bit integers before using fistpll. Remove
733 checks for whether integers fit in mantissa bits.
734 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
735 the range of signed 32-bit integers before using fistpl. Remove
736 checks for whether integers fit in mantissa bits.
737 * sysdeps/i386/fpu/e_powl.S (p64): New object.
738 (__ieee754_powl): Test for y outside the range of signed 64-bit
739 integers before using fistpll. Reduce 64-bit values to 63-bit
740 ones as needed.
741 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
742 divide-by-zero is raised for zero to large negative powers.
743 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
744 (__ieee754_powl): Test for y outside the range of signed 64-bit
745 integers before using fistpll. Reduce 64-bit values to 63-bit
746 ones as needed.
747 * math/libm-test.inc (pow_test): Add more tests.
748
eb96ffb0
L
7492012-03-20 H.J. Lu <hongjiu.lu@intel.com>
750
751 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
752 <stdio-common/_itoa.h>.
753 * debug/segfault.c: Likewise.
754 * elf/dl-cache.c: Likewise.
755 * elf/dl-minimal.c: Likewise.
756 * elf/dl-misc.c: Likewise.
757 * elf/dl-sysdep.c: Likewise.
758 * elf/dl-version.c: Likewise.
759 * elf/rtld.c: Likewise.
760 * hurd/hurdsock.c: Likewise.
761 * hurd/lookup-retry.c: Likewise.
762 * malloc/malloc.c: Likewise.
763 * malloc/mtrace.c: Likewise.
764 * nscd/nscd_getgr_r.c: Likewise.
765 * nscd/nscd_getpw_r.c: Likewise.
766 * nscd/nscd_getserv_r.c: Likewise.
767 * posix/getopt_init.c: Likewise.
768 * posix/wordexp.c: Likewise.
769 * stdio-common/_itoa.c: Likewise.
770 * stdio-common/printf_fphex.c: Likewise.
771 * stdio-common/vfprintf.c: Likewise.
772 * string/_strerror.c: Likewise.
773 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
774 * sysdeps/i386/i686/hp-timing.h: Likewise.
775 * sysdeps/mach/_strerror.c: Likewise.
776 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
777 * sysdeps/mach/hurd/sethostid.c: Likewise.
778 * sysdeps/mach/hurd/xmknodat.c: Likewise.
779 * sysdeps/mach/xpg-strerror.c: Likewise.
780 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
781 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
782 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
783 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
784 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
785 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
786 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
787 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
788 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
789 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
790 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
791 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
792 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
793 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
794 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
795 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
796 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
797 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
798 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
799 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
800 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
801
802 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
803
804 * stdio-common/_itoa.h: Moved to ...
805 * sysdeps/generic/_itoa.h: Here.
806
807 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
808
809 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
810 instead of "_itoa.h" and "_itowa.h".
811 * stdio-common/vfprintf.: Likewise.
812
d1af992d
L
8132012-03-20 H.J. Lu <hongjiu.lu@intel.com>
814
815 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
816 <bits/wordsize.h>.
817 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
818 (__signbit): Likwise.
819 (llrintf): Likwise.
820 (llrint): Likwise.
821
114883e0
L
8222012-03-20 H.J. Lu <hongjiu.lu@intel.com>
823
824 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
825 __WORDSIZE != 64.
826
c135cc1b
JM
8272012-03-20 Joseph Myers <joseph@codesourcery.com>
828
829 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
830 OVERFLOW_EXCEPTION_OK.
831 * math/libm-test.inc ("Philosophy"): Update comment about
832 exception testing.
833 (OVERFLOW_EXCEPTION): Define.
834 (OVERFLOW_EXCEPTION_OK): Likewise.
835 (INVALID_EXCEPTION_OK): Renumber.
836 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
837 (IGNORE_ZERO_INF_SIGN): Likewise.
838 (test_exceptions): Handle FE_OVERFLOW.
839 (exp10_test): Expect overflow exceptions.
840 (exp2_test): Likewise.
841 (expm1_test): Likewise.
842 (nextafter_test): Likewise.
843 (pow_test): Likewise.
844 (scalbn_test): Likewise.
845 (scalbln_test): Likewise.
846
95443d88
L
8472012-03-19 H.J. Lu <hongjiu.lu@intel.com>
848
849 * sysdeps/x86_64/bits/atomic.h
850 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
851 64bit integer.
852 (atomic_exchange_acq): Likewise.
853 (__arch_exchange_and_add_body): Likewise.
854 (__arch_add_body): Likewise.
855 (atomic_add_negative): Likewise.
856 (atomic_add_zero): Likewise.
857
490df6c4
L
8582012-03-19 H.J. Lu <hongjiu.lu@intel.com>
859
c2722551 860 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
861 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
862
5e52b189
L
8632012-03-19 H.J. Lu <hongjiu.lu@intel.com>
864
865 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
866 Check __x86_64__ instead of __WORDSIZE.
867
a9879d4c
L
8682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
869
870 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
871
5df98260
DM
8722012-03-19 David S. Miller <davem@davemloft.net>
873
e1497744
DM
874 * sysdeps/sparc/fpu/libm-test-ulps: Update.
875
5df98260
DM
876 * sysdeps/sparc/fpu/fenv_private.h: New file.
877 * sysdeps/sparc/fpu/math_private.h: Use it.
878 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
879 Remove.
880 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
881 (libc_feholdexcept_setroundl): Remove.
882 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
883 Remove.
884 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
885 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
886
b4c35121
L
8872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
888
889 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
890 int64_t instead of long int.
891 (INSERT_WORDS64): Likwise.
892
56965fd7
L
8932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
894
895 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
896 _Unwind_GetCFA return to _Unwind_Ptr first.
897
83d1aec8
JM
8982012-03-19 Joseph Myers <joseph@codesourcery.com>
899
1897ad44
JM
900 [BZ #13629]
901 * math/s_clog.c: Include <float.h>.
902 (__clog): Scale large or subnormal inputs.
903 * math/s_clogf.c: Likewise.
904 * math/s_clogl.c: Likewise.
905 * math/s_clog10.c: Include <float.h>.
906 (M_LOG10_2): Define.
907 (__clog10): Scale large or subnormal inputs.
908 * math/s_clog10f.c: Likewise.
909 * math/s_clog10l.c: Likewise.
910 * math/libm-test.inc (clog_test): Add more tests.
911 (clog10_test): Likewise.
912 * sysdeps/i386/fpu/libm-test-ulps: Update.
913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
914
7726d6a9
JM
915 [BZ #11451]
916 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
917 x and y.
918 * math/libm-test.inc (atan2_test): Add another test.
919
83d1aec8
JM
920 * Makerules (common-objdir-compile): Remove.
921 * sysdeps/unix/Makefile (config-generated): Do not add
922 $(unix-generated) to variable.
923 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
924 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
925 Remove rule.
926 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
927 Likewise.
928 [generic bits/local_lim.h] (before-compile): Do not append to
929 variable.
930 [generic bits/local_lim.h] (common-generated): Likewise.
931 [generic sys/param.h] (before-compile): Do not append to variable.
932 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
933 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
934 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
935 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
936 include.
937 [generic sys/param.h] (sys/param.h-includes): Remove variable.
938 [generic sys/param.h] (sys/param.h-includes): Remove rule.
939 [generic sys/param.h] ($(addprefix
940 $(common-objpfx),$(sys/param.h-includes))): Likewise.
941 [generic sys/param.h] (common-generated): Do not append to
942 variable.
943 [generic sys/param.h] (sysdep_headers): Likewise.
944 [generic bits/errno.h] (before-compile): Do not append to
945 variable.
946 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
947 rule.
948 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
949 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
950 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
951 [generic bits/errno.h] (common-generated): Do not append to
952 variable.
953 [generic bits/ioctls.h] (before-compile): Do not append to
954 variable.
955 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
956 rule.
957 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
958 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
959 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
960 rule.
961 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
962 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
963 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
964 [generic bits/ioctls.h] (common-generated): Do not append to
965 variable.
966 [generic sys/syscall.h] (syscall.h): Remove variable.
967 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
968 rule.
969 [generic sys/syscall.h] (before-compile): Do not append to
970 variable.
971 [generic sys/syscall.h] (common-generated): Likewise.
972 * sysdeps/unix/errnos-tmpl.c: Remove file.
973 * sysdeps/unix/errnos.awk: Likewise.
974 * sysdeps/unix/ioctls-tmpl.c: Likewise.
975 * sysdeps/unix/ioctls.awk: Likewise.
976 * sysdeps/unix/mk-local_lim.c: Likewise.
977 * sysdeps/unix/snarf-ioctls: Likewise.
978
4851a949
RH
9792012-03-19 Richard Henderson <rth@twiddle.net>
980
bd37f2ee
RH
981 * sysdeps/i386/fpu/fenv_private.h: New file.
982 * sysdeps/i386/fpu/math_private.h: Use it.
983 (math_opt_barrier, math_force_eval): Remove.
984 (libc_feholdexcept_setround_53bit): Remove.
985 (libc_feupdateenv_53bit): Remove.
986 * sysdeps/x86_64/fpu/math_private.h: Likewise.
987 (math_opt_barrier, math_force_eval): Remove.
988 (libc_feholdexcept): Remove.
989 (libc_feholdexcept_setround): Remove.
990 (libc_fetestexcept, libc_fesetenv): Remove.
991 (libc_feupdateenv_test): Remove.
992 (libc_feupdateenv, libc_feholdsetround): Remove.
993 (libc_feresetround): Remove.
994
d0adc922
RH
995 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
996 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
997
0fe0f1f8
RH
998 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
999 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1000 (libc_feupdateenv_testl): New.
1001 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1002 (libc_feupdateenv_testf): New.
1003 (libc_feupdateenv): Use libc_feupdateenv_test.
1004 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1005 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1006
eb92c487
RH
1007 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1008 (libc_feholdsetroundf, libc_feholdsetroundl): New.
1009 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1010 (libc_feresetround_noex): New.
1011 (libc_feresetround_noexf): New.
1012 (libc_feresetround_noexl): New.
1013 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1014 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1015 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1016 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1017 SET_RESTORE_ROUND.
1018 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1019 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1020 (__cos): Likewise.
1021 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1022 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1023 SET_RESTORE_ROUND_NOEX.
1024 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1025 SET_RESTORE_ROUND_NOEXF.
1026 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1027 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1028 (libc_feholdsetroundf): New.
1029 (libc_feresetround, libc_feresetroundf): New.
1030
7d2e8012
RH
1031 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1032 (libc_feholdexcept_setround_53bit): Convert from macro to function.
1033 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
1034
b4dabbb4
RH
1035 * sysdeps/generic/math_private.h: Include <fenv.h>.
1036 (default_libc_feholdexcept): New.
1037 (default_libc_feholdexcept_setround): New.
1038 (default_libc_fesetenv, default_libc_feupdateenv): New.
1039 (libc_feholdexcept): Only define if undefined.
1040 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1041 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1042 (libc_feholdexcept_setroundl): Likewise.
1043 (libc_feholdexcept_setround_53bit): Likewise.
1044 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1045 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1046 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1047 (libc_feupdateenv_53bit): Likewise.
1048 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1049 (libc_feholdexcept): Convert from macro to inline function.
1050 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1051 (libc_fesetenv, libc_feupdateenv): Likewise.
1052
4851a949
RH
1053 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1054 not previously defined.
1055 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1056 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1057 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1058 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1059 * sysdeps/ieee754/flt-32/math_private.h: New file.
1060 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1061 math_private.h below SET_FLOAT_WORD.
1062 (__isnan, __isinf_ns, __finite): Remove.
1063 (__isnanf, __isinf_nsf, __finitef): Remove.
1064
e79d442e
AS
10652012-03-18 Andreas Schwab <schwab@linux-m68k.org>
1066
1067 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1068
90b80344
DM
10692012-03-17 David S. Miller <davem@davemloft.net>
1070
1071 [BZ #6471]
1072 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1073 for 2.16.
1074
edc21804
DM
10752012-03-16 David S. Miller <davem@davemloft.net>
1076
77e927af
DM
1077 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1078 warnings.
1079
374976dd
DM
1080 [BZ #6471]
1081 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1082 properly.
1083 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1084 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1085 sysdep_routines when subdir is sysvipc.
1086 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1087 __getshmlba helper.
1088
edc21804
DM
1089 * sysdeps/sparc/fpu/libm-test/ulps: Update.
1090
473c3ef3
L
10912012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1092
1093 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1094 [__LP64__].
1095
eb0f39b6
L
10962012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1097
1098 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1099 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1100 (__lround): Renamed to ...
1101 (__llround): This. Replace long int with long long int.
1102 Define lround functions as aliases of llround functions.
1103 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1104
6b6cd74b
L
11052012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1106
1107 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1108 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
1109 adresses to uintptr_t. Replace "long int" and "unsigned long
1110 int" with "greg_t" on va_arg.
1111
f1a77b01
L
11122012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1113
1114 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1115 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1116
1117 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1118 Move e_machine check before EI_CLASS check. Handle x32
1119 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1120 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1121 SKIP_EM_IA_64 and include
1122 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1123
1124 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1125 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1126 (add_system_dir): New macro.
1127
1128 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1129 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1130
11b90b9f
JM
11312012-03-16 Joseph Myers <joseph@codesourcery.com>
1132
c36e1d23
JM
1133 [BZ #2551]
1134 [BZ #2552]
1135 [BZ #2553]
1136 [BZ #2554]
1137 [BZ #2562]
1138 [BZ #2563]
1139 [BZ #2565]
1140 [BZ #2566]
1141 [BZ #2576]
1142 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1143 (y0): Likewise.
1144 * math/w_j0f.c (j0f): Likewise.
1145 (y0f): Likewise.
1146 * math/w_j0l.c (__j0l): Likewise.
1147 (__y0l): Likewise.
1148 * math/w_j1.c (j1): Likewise.
1149 (y1): Likewise.
1150 * math/w_j1f.c (j1f): Likewise.
1151 (y1f): Likewise.
1152 * math/w_j1l.c (__j1l): Likewise.
1153 (__y1l): Likewise.
1154 * math/w_jn.c (jn): Likewise.
1155 (yn): Likewise.
1156 * math/w_jnf.c (jnf): Likewise.
1157 (ynf): Likewise.
1158 * math/w_jnl.c (__jnl): Likewise.
1159 (__ynl): Likewise.
1160 * math/libm-test.inc (j0_test): Add more tests.
1161 (j1_test): Likewise.
1162 (jn_test): Likewise. Add trailing semicolon to existing test.
1163 (y0_test): Likewise.
1164 (y1_test): Likewise.
1165 * sysdeps/i386/fpu/libm-test-ulps: Update.
1166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1167
11b90b9f
JM
1168 [BZ #13851]
1169 [BZ #13854]
1170 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1171 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1172 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1173 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1174 (__tanl): Set errno for infinite argument.
1175 * sysdeps/i386/fpu/mptan.c: Remove.
1176 * sysdeps/i386/fpu/s_tan.S: Likewise.
1177 * sysdeps/i386/fpu/s_tanl.S: Likewise.
1178 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1179 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1180 * math/libm-test.inc (tan_test): Add more tests and enable more
1181 tests for double and long double.
1182 * sysdeps/i386/fpu/libm-test-ulps: Update.
1183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1184
6a1bd2a1
JK
11852012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1186
1187 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1188 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1189
10a803e0
RM
11902012-03-16 Roland McGrath <roland@hack.frob.com>
1191
1192 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1193 * configure.in: Use it for both main tree and add-ons.
1194 * configure: Regenerated.
1195
f196c7f7
L
11962012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1197
1198 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1199
8848d99d
JM
12002012-03-16 Joseph Myers <joseph@codesourcery.com>
1201
96cbe7f4
JM
1202 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1203 in comment.
1204
8848d99d
JM
1205 [BZ #13851]
1206 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1207 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1208 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1209 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1210 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1211 infinite argument.
1212 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1213 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1214 != 0 for prec == 2.
1215 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1216 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1217 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1218 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1219 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1220 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1221 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1222 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1223 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1224 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1225 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1226 * math/libm-test.inc (cos_test): Add more tests and enable more
1227 tests for long double.
1228 (sin_test): Likewise.
1229 (sincos_test): Likewise.
1230 * sysdeps/i386/fpu/libm-test-ulps: Update.
1231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1232
dd7f4703
DM
12332012-03-16 David S. Miller <davem@davemloft.net>
1234
1235 * sysdeps/sparc/fpu/math_private.h: New file.
1236
006f1daa
DM
12372012-03-15 David S. Miller <davem@davemloft.net>
1238
c0c83bc8
DM
1239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1240 file.
e6a62e18 1241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
1242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1243 file.
e6a62e18
DM
1244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1245 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1246 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1247 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1248 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1249 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1250 sysdep routines.
1251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1252
88cb87d9
DM
1253 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1254 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1255
006f1daa 1256 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
1257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1258 sparc-ifunc.h
006f1daa 1259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
1260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1261 Likewise.
1262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1263 Likewise.
006f1daa
DM
1264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
1267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1268 Likewise.
006f1daa
DM
1269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
1273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1274 Likewise.
1275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1276 Likewise.
006f1daa
DM
1277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1281 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1282 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1283 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1284 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1285 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1286 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1287 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1288 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1289 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1290 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1291 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1292 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1293 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1294 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1295 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1296 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1297 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1298 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1299 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1300 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1301
11e0098e
AS
13022012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1303
1304 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1305 scaling.
1306 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1307
e85b09d0
AJ
13082012-03-15 Andreas Jaeger <aj@suse.de>
1309
1310 [BZ #13852]
1311 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1312 ieee754/flt-32 implementation for sin, cos and sincos.
1313 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1314 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1315 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1316 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1317 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1318 ieee754/flt-32 implementation for tan.
1319
1320 * math/libm-test.inc (cos_test): Enable some large input tests for
1321 float as well
1322 (sin_test): Likewise.
1323 (sincos_test): Likewise.
1324 (tan_test): Add tests for large input.
1325
1326 * sysdeps/i386/fpu/libm-test-ulps: Update.
1327
81c64153
AJ
13282012-03-15 Andreas Jaeger <aj@suse.de>
1329
1330 [BZ #13658]
1331 * math/libm-test.inc (cos_test): Add more test cases.
1332 (sin_test): Likewise.
1333 (sincos_test): Likewise.
1334
7bbfa5c6
AJ
13352012-03-15 Andreas Jaeger <aj@suse.de>
1336
1337 [BZ #13837]
1338 * math/libm-test.inc (cos_test): Add a test case for large input
1339 value.
1340 (sin_test): Likewise.
1341 (sincos_test): Likewise.
1342
13432012-03-15 Andreas Jaeger <aj@suse.de>,
1344 Joseph Myers <joseph@codesourcery.com>
1345
1346 [BZ #13658]
0671f479 1347 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
1348 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1349 * sysdeps/i386/fpu/branred.c: Likewise.
1350 * sysdeps/i386/fpu/dosincos.c: Likewise.
1351 * sysdeps/i386/fpu/mpa.c: Likewise.
1352 * sysdeps/i386/fpu/s_cos.S: Likewise.
1353 * sysdeps/i386/fpu/s_sin.S: Likewise.
1354 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1355 * sysdeps/i386/fpu/sincos32.c: Likewise.
1356
1357 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1358 Define.
1359 (libc_feupdateenv_53bit): Define.
1360 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1361 Define.
1362 (libc_feupdateenv_53bit): Define.
1363
1364 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1365 53 bit (without extend i386 double precision).
1366
1367 * math/libm-test.inc (sincos_test): Add tests for large input.
1368 (sin): Likewise.
1369 (cos): Likewise.
1370
1371 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1372
9cad04ea
AS
13732012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1374
1375 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1376
f7062b9a
DM
13772012-03-15 David S. Miller <davem@davemloft.net>
1378
1379 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1380 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1381 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1382 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1383 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1387 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1388 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1389 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1390 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1391 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1392 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1393 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
1394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1395 file.
f7062b9a 1396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
1397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1398 file.
f7062b9a 1399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
1400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1401 file.
f7062b9a 1402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
1403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1404 file.
f7062b9a
DM
1405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1406 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1407 fmin/fmax sysdep routines.
1408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1409
7bd951ff
DM
14102012-03-14 David S. Miller <davem@davemloft.net>
1411
559398ab
DM
1412 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1413 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1414 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1415 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1416 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1417 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1418 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1419 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1420 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1421 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1422 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1423 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1424 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1425 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1426 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1427 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1428 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1429 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1430 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1431 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1432 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1433 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1434 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1435 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1436 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1437 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1438 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1439 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1440 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1441 routines.
1442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1443 file.
559398ab 1444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
1445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1446 file.
559398ab 1447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
1448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1449 file.
559398ab 1450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
1451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1452 file.
559398ab 1453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
1454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1455 file.
559398ab 1456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
1457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1458 file.
1459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1460 file.
1461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1462 file.
1463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1464 file.
1465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1466 New file.
1467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1468 file.
1469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1470 file.
559398ab 1471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
1472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1473 file.
559398ab 1474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1476 file.
559398ab 1477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
1478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1479 file.
559398ab 1480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
1481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1482 VIS3 routines.
559398ab
DM
1483
1484 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1485 New file.
1486
5a1c1e32
DM
1487 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1488
eae47a36
DM
1489 * sysdeps/sparc/configure.in: New file.
1490 * sysdeps/sparc/configure: Generate.
1491 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1492 * configure: Regenerate.
1493 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1494 * config.make.in (have-as-vis3): New.
1495 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1496 available use -Av9d instead of -Av9a.
1497 * sysdeps/sparc/sparc64/Makefile: Likewise.
1498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
1499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1500 New file.
1501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1502 file.
1503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1504 New file.
1505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1506 file.
eae47a36
DM
1507 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1508 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1509 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1510 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1511 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1512
c0c83bc8
DM
1513 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1514 fzeros/fnegs to load 0x80000000 into a float register instead of
1515 using the stack.
7bd951ff
DM
1516 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1517
bd951ccb
JM
15182012-03-14 Joseph Myers <joseph@codesourcery.com>
1519
1520 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1521 bits/syscall.h.
1522 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1523 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1524 ($(inst_includedir)/bits/syscall.h): Remove rule.
1525 ($(objpfx)bits/syscall.d): Include instead of
1526 $(objpfx)syscall-list.d.
1527 (generated): Change syscall-list.h and syscall-list.d to
1528 bits/syscall.h and bits/syscall.d.
1529
bb4e6db2
RM
15302012-03-14 Roland McGrath <roland@hack.frob.com>
1531
1532 [BZ #13846]
1533 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1534
aa4a2ae1
JM
15352012-03-14 Joseph Myers <joseph@codesourcery.com>
1536
e456826d
JM
1537 [BZ #13841]
1538 * math/s_csqrt.c: Include <float.h>.
1539 (__csqrt): Scale large or subnormal inputs.
1540 * math/s_csqrtf.c: Likewise.
1541 * math/s_csqrtl.c: Likewise.
1542 * math/libm-test.inc (csqrt_test): Add more tests.
1543 * sysdeps/i386/fpu/libm-test-ulps: Update.
1544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1545
aa4a2ae1
JM
1546 [BZ #13840]
1547 * math/libm-test.inc (hypot_test): Add more tests.
1548
7c10fd35
DM
15492012-03-13 David S. Miller <davem@davemloft.net>
1550
1551 [BZ #13840]
1552 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1553 double-precision for the calculation instead of scaling.
1554
f453b98b
JM
15552012-03-13 Joseph Myers <joseph@codesourcery.com>
1556
1557 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1558 manipulate bits before adding and subtracting TWO52[sx].
1559 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1560 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1561 Likewise.
1562 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1563
09a3453f
DM
15642012-03-13 David S. Miller <davem@davemloft.net>
1565
8e59da90
DM
1566 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1567 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1568 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1569 rtld-global-offsets.h
1570 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1571
2a8ab7f2
DM
1572 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1573 large parameters.
1574
10f62770
DM
1575 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1576
5f0bdb18
DM
1577 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1578 'err' in the ifdef scope in which it is actually used.
1579
09a3453f
DM
1580 * nss/nss_db/db-init.c: Include string.h
1581
b4b2eb5e
DM
15822012-03-12 David S. Miller <davem@davemloft.net>
1583
98bb2f1c
DM
1584 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1585 masking out of the most significant byte of random value used.
1586 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1587 Fix coding style in previous change.
1588
b4b2eb5e
DM
1589 * sysdeps/unix/sysv/linux/kernel-features.h
1590 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1591 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1592 expression.
1593 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1594 later.
1595
6e226b09
DM
15962012-03-11 David S. Miller <davem@davemloft.net>
1597
a1bcbd40
DM
1598 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1599 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1600 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1601 for 'resultvar' otherwise things get truncated on 64-bit.
1602
cb9d6174
DM
1603 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1604 Fix masking out of the most significant byte of random value used.
1605
6e226b09
DM
1606 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1607
058c132d
AS
16082012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1609
1610 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1611
2d2cd515
DM
16122012-03-09 David S. Miller <davem@davemloft.net>
1613
1614 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1615 variables with appropriate CPP guards.
1616 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1617 frame pointer, not the stack pointer. Correct layout comments. Fix test
1618 on resulting framesize and the management of the outregs buffer for pltexit.
1619 Preserve floating point return values across _dl_call_pltexit call.
1620 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1621 framesize and the management of the outregs buffer for pltexit.
1622 Preserve floating point return values across _dl_call_pltexit
1623 call.
1624 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1625 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1626 (print_exit): Fix format string for return register value.
1627
9a07f9d0
JM
16282012-03-10 Joseph Myers <joseph@codesourcery.com>
1629
1630 * sunrpc/Makefile (others): Add rpcgen.
1631 ($(objpfx)rpcgen): Remove special build rule and dependency on
1632 libc.
1633 * sunrpc/rpcgen.c: New file.
1634
547b5e30
PE
16352012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1636
c524201a
PE
1637 [BZ #13673]
1638 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1639 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1640 * sysdeps/i386/crti.S: Likewise.
1641 * sysdeps/i386/crtn.S: Likewise.
1642 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1643 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1644 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1645 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1646 * sysdeps/sh/crti.S: Likewise.
1647 * sysdeps/sh/crtn.S: Likewise.
1648 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1649
7b6235f2
PE
1650 [BZ #13673]
1651 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1652 with URL.
1653 * locale/programs/locfile-kw.gperf: Likewise.
1654 * locale/programs/charmap-kw.h: Regenerated.
1655 * locale/programs/locfile-kw.h: Likewise.
1656
547b5e30
PE
1657 [BZ #13673]
1658 * intl/plural.y: Replace FSF snail mail address with URL.
1659 * intl/plural.c: Regenerated.
1660
5f0a5dae
RH
16612012-03-09 Richard Henderson <rth@twiddle.net>
1662
1663 * include/math_private.h: Remove file.
1664 * math/math_private.h: Move file ...
1665 * sysdeps/generic/math_private.h: ... here.
1666
b8c03620
RH
1667 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1668 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1669 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1670
4e234f5d 1671 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
1672 and <math_private.h>.
1673 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1674 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1675 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1676 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1677 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1678 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1679 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1680 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1681 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1682 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1683 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1684 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1685 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1686 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1687 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1688 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1689 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1690 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1691 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1692 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1693 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1694 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1695 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1696 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1697 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1698 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1699 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1700 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1701 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1702 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1703 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1704 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1705 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1706 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1707 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1708 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1709 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1710 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1711 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1712 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1713 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1714 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1715 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1716 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1717 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1718 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1719 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1720 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1721 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1722 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1723 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1724 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1725 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1726 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1727 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1728 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1729 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1730 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1731 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1732 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1733 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1734 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1735 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1736 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1737 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1738 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1739 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1740 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1741 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1742 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1743 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1744 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1745 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1746 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1747 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1748 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1749 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1750 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1751 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1752 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1753 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1754 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1755 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1756 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1757 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1758 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1759 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1760 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1761 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1762 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1763 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1764 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1765 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1766 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1767 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1768 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1769 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1770 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1771 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1772 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1773 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1774 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1775 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1776 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1777 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1778 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1779 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1780 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1781 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1782 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1783 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1784 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1785 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1786 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1787 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1788 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1789 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1790 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1791 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1792 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1793 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1794 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1795 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1796 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
1797 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1798 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1799 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1800 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
1801 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1802 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
1803 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
1804 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1805 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1806 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
1807 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
1808 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1809 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1810 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1811 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
1812 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1813 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1814 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1815 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1816 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
1817 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
1818 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1819 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1820 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1821 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1822 * sysdeps/ieee754/k_standard.c: Likewise.
1823 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1824 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1825 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1826 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1827 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1828 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1829 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1830 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1831 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1832 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1833 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1834 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1835 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1836 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1837 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1838 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1839 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1840 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1841 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1842 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1843 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1844 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1845 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1846 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1847 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1848 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1849 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1850 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1851 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1852 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1853 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1854 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1855 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1856 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1857 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1858 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1859 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1860 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
1861 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1862 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1863 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1864 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1865 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1866 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1867 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1868 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1869 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1870 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1871 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1872 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1873 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1874 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1875 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1876 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1877 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1878 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1879 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
1880 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1881 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1882 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1883 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1884 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1885 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1886 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1887 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1888 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1889 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1890 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1891 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1892 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1893 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1894 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1895 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1896 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1897 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1898 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1899 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
1900 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1901 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1902 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1903 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1904 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1905 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1906 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1907 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
1908 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1909 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1910 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1911 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1912 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1913 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
1914 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1915 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1916 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1917 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1918 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1919 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
1920 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1921 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1922 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
1923 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1924 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1925 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1926 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1927 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
1928 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1929 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1930 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1931 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
1932 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1933 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1934 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1935 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1936 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1937 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1938 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1939 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1940 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1941 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1942 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1943 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1944 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1945 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1946 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1947 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1948 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
1949 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1950 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1951 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1952 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1953 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1954 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1955 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1956 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1957 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1958 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1959 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
1960 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1961 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1962 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
1963 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
1964 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1965 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
1966 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
1967 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1968 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1969 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1970 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1971 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1972 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
1973 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1974 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1975 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1976 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1977 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
1978 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
1979 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1980 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1981 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1982 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1983 * sysdeps/ieee754/s_lib_version.c: Likewise.
1984 * sysdeps/ieee754/s_matherr.c: Likewise.
1985 * sysdeps/ieee754/s_signgam.c: Likewise.
1986 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1987 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1988 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
1989 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
1990 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
1991 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1992 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
1993 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
1994 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
1995 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
1996 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1997 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
1998 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1999 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2000 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2001 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2002 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2003 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2004 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2005 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2006 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 2007
1991fa03
JM
20082012-03-09 Joseph Myers <joseph@codesourcery.com>
2009
2010 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2011 * sunrpc/rpc_main.c: Likewise.
2012 * sunrpc/rpc_svcout.c: Likewise.
2013
60d6f5a6
DM
20142012-03-09 David S. Miller <davem@davemloft.net>
2015
2016 * include/math_private.h: New file.
2017
4962050e
JM
20182012-03-09 Joseph Myers <joseph@codesourcery.com>
2019
02a6f887
JM
2020 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2021 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2022 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2023 from <bits/socket_type.h>.
2024 (enum __socket_type): Don't define here.
2025 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2026 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2027 bits/socket_type.h.
2028
c6e013c1
JM
2029 [BZ #13566]
2030 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2031 checking __USE_GNU.
2032
4962050e
JM
2033 * Makerules ($(inst_includedir)/%.h): New rule.
2034 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2035 (install-others): Remove variable setting.
2036 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2037
38842f45
RH
20382012-03-08 Richard Henderson <rth@twiddle.net>
2039
67bb6da6
RH
2040 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2041 from macro to inline function; merge with the
2042 !__LIBC_INTERNAL_MATH_INLINES version.
2043 (__ieee754_sqrtf): Likewise.
2044
15194b4b
RH
2045 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2046 to inline function.
2047 (__rintf, __floor, __floorf): Likewise.
2048
64e21ede
RH
2049 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2050 macro to inline function.
2051 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2052
38842f45
RH
2053 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2054 not <math/math_private.h>.
2055
c64bf5fe
DM
20562012-03-08 David S. Miller <davem@davemloft.net>
2057
2058 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2059 copyright year.
2060 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2061
82d86f28
TS
20622012-03-08 Thomas Schwinge <thomas@codesourcery.com>
2063
2064 * resolv/gai_misc.c (handle_requests): Fix struct timespec
2065 normalization.
2066 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2067 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2068
aea5d727
UD
20692012-03-08 Ulrich Drepper <drepper@gmail.com>
2070
2071 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
2072 be defined individually, they must be defined as a block. Define
2073 S for printing a string instead of hidint the different by using a
2074 macro for adding the 'l'.
2075 * stdio-common/tst-fphex-wide.c: Adjust.
2076
70bca0a3
MP
20772012-03-07 Marek Polacek <polacek@redhat.com>
2078
2079 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2080
65b81130
MP
20812012-03-08 Marek Polacek <polacek@redhat.com>
2082
2083 [BZ #13806]
2084 * stdio-common/Makefile (tests): Add tst-fphex-wide.
2085 * stdio-common/tst-fphex.c: Define a few macros to make the
2086 test reusable. Use them.
2087 * stdio-common/tst-fphex-wide.c: New file.
2088
07037eeb
JM
20892012-03-08 Joseph Myers <joseph@codesourcery.com>
2090
a7a93d50
JM
2091 [BZ #6911]
2092 * manual/macros.texi (gnusystems): New macro.
2093 (nongnusystems): Likewise.
2094 (gnulinuxhurdsystems): Likewise.
2095 (gnuhurdsystems): Likewise..
2096 (gnulinuxsystems): Likewise.
2097 * manual/charset.texi: Use new macros or @theglibc{} to refer to
2098 variants of the GNU system, not "GNU system".
2099 * manual/conf.texi: Likewise.
2100 * manual/errno.texi: Likewise. Update example of errno macro
2101 expansion.
2102 * manual/filesys.texi: Likewise.
2103 (getumask): Document as specific to GNU/Hurd.
2104 * manual/install.texi: Likewise. Reword some references to
2105 GNU/Linux.
2106 * manual/intro.texi: Likewise.
2107 * manual/io.texi: Likewise.
2108 (File Name Portability): Detail which constraints are inapplicable
2109 to all GNU systems and which are only inapplicable to GNU/Hurd.
2110 * manual/job.texi: Likewise.
2111 * manual/llio.texi: Likewise.
2112 (O_NOCTTY): Document as present on GNU/Linux.
2113 * manual/maint.texi: Likewise.
2114 * manual/memory.texi: Likewise.
2115 * manual/pattern.texi: Likewise.
2116 * manual/pipe.texi: Likewise.
2117 * manual/process.texi: Likewise.
2118 * manual/resource.texi: Likewise.
2119 (RUSAGE_CHILDREN): Remove statement about specifying a particular
2120 child on GNU/Hurd.
2121 * manual/setjmp.texi: Likewise.
2122 * manual/signal.texi: Likewise.
2123 * manual/startup.texi: Likewise.
2124 * manual/stdio.texi: Likewise.
2125 * manual/terminal.texi: Likewise.
2126 (ONLCR): Document as POSIX.
2127 (OXTABS): Document availability on GNU/Linux as XTABS.
2128 (ONOEOT): Document availability separately from other bits.
2129 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2130 * manual/time.texi: Likewise.
2131 * manual/users.texi: Likewise.
2132 * INSTALL: Regenerated.
2133 * sysdeps/gnu/errlist.c: Regenerated.
2134
07037eeb
JM
2135 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2136 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2137 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
2138 puts.
2139 * configure: Regenerated.
2140
d1d3431a
JM
21412012-03-07 Joseph Myers <joseph@codesourcery.com>
2142
af6a1e37
JM
2143 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2144 default includes instead of AC_HEADER_CHECK.
2145 * sysdeps/i386/configure: Regenerated.
2146
d1d3431a
JM
2147 [BZ #10716]
2148 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2149 * math/s_cacoshf.c (__cacoshf): Likewise.
2150 * math/s_cacoshl.c (__cacoshl): Likewise.
2151 * math/s_casinh.c (__casinh): Set signs of result from argument.
2152 * math/s_casinhf.c (__casinhf): Likewise.
2153 * math/s_casinhl.c (__casinhl): Likewise.
2154 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2155 (casinh_test): Add more tests.
2156 * sysdeps/i386/fpu/libm-test-ulps: Update.
2157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2158
482ff4da
UD
21592012-03-07 Ulrich Drepper <drepper@gmail.com>
2160
872fda05
UD
2161 * po/zh_TW.po: Update from translation team.
2162
a4300c7a
UD
2163 * login/Makefile (distribute): Remove variable.
2164 * catgets/Makefile: Likewise.
2165 * mach/Makefile: Likewise.
2166 * malloc/Makefile: Likewise.
2167 * misc/Makefile: Likewise.
2168 * iconv/Makefile: Likewise.
2169 * nscd/Makefile: Likewise.
2170 * hurd/Makefile: Likewise.
2171 * manual/Makefile: Likewise.
2172 * locale/Makefile: Likewise.
2173 * intl/Makefile: Likewise.
2174 * conform/Makefile: Likewise.
2175 * nss/Makefile: Likewise.
2176 * time/Makefile: Likewise.
2177 * soft-fp/Makefile: Likewise.
2178 * dirent/Makefile: Likewise.
2179 * gmon/Makefile: Likewise.
2180 * po/Makefile: Likewise.
2181 * rt/Makefile: Likewise.
2182 * socket/Makefile: Likewise.
2183 * math/Makefile: Likewise.
2184 * signal/Makefile: Likewise.
2185 * debug/Makefile: Likewise.
2186 * elf/Makefile: Likewise.
2187 * timezone/Makefile: Likewise.
2188 * stdlib/Makefile: Likewise.
2189 * iconvdata/Makefile: Likewise.
2190 * sunrpc/Makefile: Likewise.
2191 * io/Makefile: Likewise.
2192 * argp/Makefile: Likewise.
2193 * inet/Makefile: Likewise.
2194 * hesiod/Makefile: Likewise.
2195 * grp/Makefile: Likewise.
2196 * csu/Makefile: Likewise.
2197 * wctype/Makefile: Likewise.
2198 * crypt/Makefile: Likewise.
2199 * libio/Makefile: Likewise.
2200 * string/Makefile: Likewise.
2201 * nis/Makefile: Likewise.
2202 * resolv/Makefile: Likewise.
2203 * stdio-common/Makefile: Likewise.
2204 * wcsmbs/Makefile: Likewise.
2205 * dlfcn/Makefile: Likewise.
2206 * posix/Makefile: Likewise.
2207
482ff4da
UD
2208 * timezone/Makefile: Don't install timezone files, just the programs
2209 and scripts.
2210
f72ed77d
UD
22112012-03-06 Ulrich Drepper <drepper@gmail.com>
2212
a000466f
UD
2213 * nss/databases.def: Add missing gshadow entry.
2214
f72ed77d
UD
2215 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2216
a53b7a4e
MP
22172012-03-06 Marek Polacek <polacek@redhat.com>
2218
2219 [BZ #13726]
2220 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2221 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2222 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2223 * stdio-common/tst-long-dbl-fphex.c: New file.
2224
e9258400
DM
22252012-03-06 David S. Miller <davem@davemloft.net>
2226
2227 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2228 (set_obp_int): New function.
2229 (get_obp_int): New function.
2230 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
2231 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2232 Avoid unused variable warnings on 'val' and use builtin_expect.
2233 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2234 __builtin_expect.
e9258400
DM
2235 (INLINE_CLONE_SYSCALL): Likewise.
2236
3bd2c723
DM
22372012-03-05 David S. Miller <davem@davemloft.net>
2238
2239 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2240
bbb78d03
AS
22412012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2242
884c5db4
AS
2243 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2244
bbb78d03
AS
2245 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2246 only for |x| >= 40.
2247 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2248
1c9f702a 22492012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
2250
2251 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2252 Replace gettimeofday with __vdso_gettimeofday.
2253
7be16f82
RM
2254 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2255 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2256 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
2257
2258 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2259 time with __vdso_time.
2260
ed58a00f
JM
22612012-03-05 Joseph Myers <joseph@codesourcery.com>
2262
2263 * manual/lang.texi (size_t): Note types to which size_t may be
2264 equivalent with the GNU C Library, but do not describe when
2265 differences between them are significant.
2266
30ee4ced
AJ
22672012-03-05 Andreas Jaeger <aj@suse.de>
2268
2269 * sysdeps/i386/fpu/libm-test-ulps: Update.
2270
b7cd39e8
JM
22712012-03-05 Joseph Myers <joseph@codesourcery.com>
2272
2273 [BZ #3976]
2274 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2275 (__ieee754_pow): Save and restore rounding mode and use
2276 round-to-nearest for main computations.
2277 * math/libm-test.inc (pow_test_tonearest): New function.
2278 (pow_test_towardzero): Likewise.
2279 (pow_test_downward): Likewise.
2280 (pow_test_upward): Likewise.
2281 (main): Call the new functions.
2282 * sysdeps/i386/fpu/libm-test-ulps: Update.
2283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
2284
2285 [BZ #3976]
2286 * math/libm-test.inc (cosh_test_tonearest): New function.
2287 (cosh_test_towardzero): Likewise.
2288 (cosh_test_downward): Likewise.
2289 (cosh_test_upward): Likewise.
2290 (sinh_test_tonearest): Likewise.
2291 (sinh_test_towardzero): Likewise.
2292 (sinh_test_downward): Likewise.
2293 (sinh_test_upward): Likewise.
2294 (main): Call the new functions.
2295 * sysdeps/i386/fpu/libm-test-ulps: Update.
2296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2297
6c6a98c9
TV
22982012-03-05 Tom de Vries <tom@codesourcery.com>
2299
2300 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2301 default stack guard is set in last bytes.
2302 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2303
21bb2d2e 23042012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 2305
21bb2d2e 2306 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 2307
21bb2d2e
AJ
2308 [BZ #13656]
2309 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2310 possibly allocate from heap instead of stack.
2311 * stdio-common/bug-vfprintf-nargs.c: New file.
2312 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 2313
c6922934
AS
23142012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2315
2316 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2317
bc957d53
MP
23182012-03-03 Marek Polacek <polacek@redhat.com>
2319
2320 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2321 * math/math_private.h: Likewise.
2322 * stdlib/tst-strtod.c: Likewise.
2323 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2324 * sysdeps/x86_64/bits/atomic.h: Likewise.
2325
6358490d
DM
23262012-03-02 David S. Miller <davem@davemloft.net>
2327
2328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2332 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2333 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2334 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2335 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2336
01ae168d
RM
23372012-03-02 Roland McGrath <roland@hack.frob.com>
2338
d9a17c07
RM
2339 [BZ #13792]
2340 * manual/examples/README: New file, says the example source files
2341 can be used under GPL>=2.
2342 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2343 line containing just "*/".
2344 * manual/examples/add.c: Add copyright header (GPL>=2).
2345 * manual/examples/argp-ex1.c: Likewise.
2346 * manual/examples/argp-ex2.c: Likewise.
2347 * manual/examples/argp-ex3.c: Likewise.
2348 * manual/examples/argp-ex4.c: Likewise.
2349 * manual/examples/atexit.c: Likewise.
2350 * manual/examples/db.c: Likewise.
2351 * manual/examples/dir.c: Likewise.
2352 * manual/examples/dir2.c: Likewise.
2353 * manual/examples/execinfo.c: Likewise.
2354 * manual/examples/filecli.c: Likewise.
2355 * manual/examples/filesrv.c: Likewise.
2356 * manual/examples/fmtmsgexpl.c: Likewise.
2357 * manual/examples/genpass.c: Likewise.
2358 * manual/examples/inetcli.c: Likewise.
2359 * manual/examples/inetsrv.c: Likewise.
2360 * manual/examples/isockad.c: Likewise.
2361 * manual/examples/longopt.c: Likewise.
2362 * manual/examples/memopen.c: Likewise.
2363 * manual/examples/memstrm.c: Likewise.
2364 * manual/examples/mkfsock.c: Likewise.
2365 * manual/examples/mkisock.c: Likewise.
2366 * manual/examples/mygetpass.c: Likewise.
2367 * manual/examples/pipe.c: Likewise.
2368 * manual/examples/popen.c: Likewise.
2369 * manual/examples/rprintf.c: Likewise.
2370 * manual/examples/search.c: Likewise.
2371 * manual/examples/select.c: Likewise.
2372 * manual/examples/setjmp.c: Likewise.
2373 * manual/examples/sigh1.c: Likewise.
2374 * manual/examples/sigusr.c: Likewise.
2375 * manual/examples/stpcpy.c: Likewise.
2376 * manual/examples/strdupa.c: Likewise.
2377 * manual/examples/strftim.c: Likewise.
2378 * manual/examples/strncat.c: Likewise.
2379 * manual/examples/subopt.c: Likewise.
2380 * manual/examples/swapcontext.c: Likewise.
2381 * manual/examples/termios.c: Likewise.
2382 * manual/examples/testopt.c: Likewise.
2383 * manual/examples/testpass.c: Likewise.
2384 * manual/examples/timeval_subtract.c: Likewise.
2385
01ae168d
RM
2386 [BZ #13792]
2387 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2388 function to ...
2389 * manual/timeval_subtract.c.texi: ... here, new file.
2390
49efa33d
DM
23912012-03-02 David S. Miller <davem@davemloft.net>
2392
2393 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2394
28afd92d
JM
23952012-03-02 Joseph Myers <joseph@codesourcery.com>
2396
804360ed
JM
2397 [BZ #3976]
2398 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2399 (__sin): Save and restore rounding mode and use round-to-nearest
2400 for all computations.
2401 (__cos): Save and restore rounding mode and use round-to-nearest
2402 for all computations.
2403 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2404 <fenv.h>.
2405 (tan): Save and restore rounding mode and use round-to-nearest for
2406 all computations.
2407 * math/libm-test.inc (cos_test_tonearest): New function.
2408 (cos_test_towardzero): Likewise.
2409 (cos_test_downward): Likewise.
2410 (cos_test_upward): Likewise.
2411 (sin_test_tonearest): Likewise.
2412 (sin_test_towardzero): Likewise.
2413 (sin_test_downward): Likewise.
2414 (sin_test_upward): Likewise.
2415 (tan_test_tonearest): Likewise.
2416 (tan_test_towardzero): Likewise.
2417 (tan_test_downward): Likewise.
2418 (tan_test_upward): Likewise.
2419 (main): Call the new functions.
2420 * sysdeps/i386/fpu/libm-test-ulps: Update.
2421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2422
a6d06d7b
JM
2423 [BZ #10135]
2424 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2425 small n, then large n, before computing and testing k+n.
2426 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2427 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2428 Likewise.
2429 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2430 Likewise.
2431 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2432 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2433 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2434 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2435 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2436 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2437 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2438 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2439 * math/libm-test.inc (scalbn_test): Add more tests.
2440 (scalbln_test): Likewise.
2441
07e12bb3
JM
2442 * manual/filesys.texi (mode_t): Describe constraints on size and
2443 signedness, not exact equivalence to a particular type.
2444 (ino_t): Likewise.
2445 (ino64_t): Likewise.
2446 (dev_t): Likewise.
2447 (nlink_t): Likewise.
2448 (blkcnt_t): Likewise.
2449 (blkcnt64_t): Likewise.
2450 * manual/llio.texi (off_t): Likewise.
2451
28afd92d
JM
2452 [BZ #3976]
2453 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2454 (__ieee754_exp): Save and restore rounding mode and use
2455 round-to-nearest for all computations.
2456 * math/libm-test.inc (exp_test_tonearest): New function.
2457 (exp_test_towardzero): Likewise.
2458 (exp_test_downward): Likewise.
2459 (exp_test_upward): Likewise.
2460 (main): Call the new functions.
2461 * sysdeps/i386/fpu/libm-test-ulps: Update.
2462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2463
b1eeb65d
CD
24642012-03-01 Chris Demetriou <cgd@google.com>
2465
2466 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2467 have predictable order.
2468
53362a4b
DM
24692012-03-01 David S. Miller <davem@davemloft.net>
2470
3c969083
DM
2471 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2472
759707de
DM
2473 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2474 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2475 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2476 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2477
dfdb8ff2
DM
2478 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2479 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2480 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2482 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2483 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2484 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2485 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2486 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2487
ead89f96
DM
2488 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2489
7f66bd07
DM
2490 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2491 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2492 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2493
53362a4b
DM
2494 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2495 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2496 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2497 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2498 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2499 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2500 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2501 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2502 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2503 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2504 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2505 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2506 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2507 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2508 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2509 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2510 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2511 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2512 * sysdeps/sparc/elf/configure: Regenerated.
2513
7b1902cb
JM
25142012-03-01 Joseph Myers <joseph@codesourcery.com>
2515
bec039bc
JM
2516 * configure.in (AS, LD): Require binutils 2.20 or later.
2517 * configure: Regenerated.
2518 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2519 as required minimum version.
2520 * INSTALL: Regenerated.
2521
7b1902cb
JM
2522 [BZ #2541]
2523 [BZ #4108]
2524 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2525 before squaring exponent.
2526 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2527 bottom long double and 27 bits of top long double before squaring
2528 exponent.
2529 * math/libm-test.inc (erfc_test): Add more tests.
2530 * sysdeps/i386/fpu/libm-test-ulps: Update.
2531 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2533
f775c276
KT
25342012-03-01 Kai Tietz <ktietz@redhat.com>
2535
2536 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2537 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2538 containing bit-fields.
2539 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2540 * soft-fp/single.h (_FP_UNION_S): Likewise.
2541 * soft-fp/double.h (_FP_UNION_D): Likewise.
2542
5b8a4d4a
JM
25432012-02-29 Joseph Myers <joseph@codesourcery.com>
2544
0bab47b6
JM
2545 [BZ #13786]
2546 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2547 not include ../strcmp.S.
2548 [USE_AS_STRNCASECMP_L]: Likewise.
2549 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2550 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2551 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2552 (__strncasecmp_l_ia32): Define as alias to
2553 __strncasecmp_l_nonascii.
2554
0fcad3e2
JM
2555 [BZ #5794]
2556 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2557 * sysdeps/i386/fpu/libm-test-ulps: Update.
2558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2559
5b8a4d4a
JM
2560 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2562
8fdceb2e
JL
25632012-02-29 Jeff Law <law@redhat.com>
2564
2565 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2566 out of bounds read.
2567
1f393a11
MP
25682012-02-29 Marek Polacek <polacek@redhat.com>
2569
2570 [BZ #13706]
2571 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2572 * elf/Makefile: Add rules to run tst-unused-dep.out.
2573
8847f037
DM
25742012-02-28 David S. Miller <davem@davemloft.net>
2575
2576 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2577 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2578 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2579 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2580 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2581 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2582
169d7f11
JM
25832012-02-29 Joseph Myers <joseph@codesourcery.com>
2584
2585 * math/libm-test.inc (llround_test): Move one test from
2586 lround_test. Use TEST_f_L in moved test.
2587 (lround_test): Move misplaced test to llround_test. Add testcase
2588 from bug 2561.
2589
39adf059
UD
25902012-02-28 Ulrich Drepper <drepper@gmail.com>
2591
2592 * sysdeps/x86_64/fpu/e_expf.S: New file.
2593 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2594
71b5d1c5
SB
25952012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2596
2597 [BZ #13637]
2598 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2599 of remain_len that may cause incomplete multi-byte character and
2600 false match.
2601 * posix/bug-regex33.c: New file.
2602 * posix/Makefile (tests): Add bug-regex33.
2603
1f77f049
JM
26042012-02-28 Joseph Myers <joseph@codesourcery.com>
2605
2606 * manual/macros.texi: New file.
2607 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2608 * manual/libc.texinfo: Include macros.texi.
2609 * manual/creatute.texi: Likewise.
2610 * manual/install.texi: Likewise.
2611 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2612 @glibcadj{} in references to the GNU C Library.
2613 * manual/charset.texi: Likewise.
2614 * manual/conf.texi: Likewise.
2615 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2616 when not using those macros.
2617 * manual/creature.texi: Likewise.
2618 * manual/crypt.texi: Likewise.
2619 * manual/errno.texi: Likewise.
2620 * manual/filesys.texi: Likewise.
2621 * manual/header.texi: Likewise.
2622 * manual/install.texi: Likewise.
2623 * manual/intro.texi: Likewise.
2624 * manual/io.texi: Likewise.
2625 * manual/job.texi: Likewise.
2626 * manual/lang.texi: Likewise.
2627 * manual/libc.texiinfo: Likewise.
2628 * manual/llio.texi: Likewise.
2629 * manual/locale.texi: Likewise.
2630 * manual/maint.texi: Likewise.
2631 * manual/math.texi: Likewise.
2632 * manual/memory.texi: Likewise.
2633 * manual/message.texi: Likewise.
2634 * manual/nss.texi: Likewise.
2635 * manual/pattern.texi: Likewise.
2636 * manual/process.texi: Likewise.
2637 * manual/resource.texi: Likewise.
2638 * manual/search.texi: Likewise.
2639 * manual/setjmp.texi: Likewise.
2640 * manual/signal.texi: Likewise.
2641 * manual/socket.texi: Likewise.
2642 * manual/startup.texi: Likewise.
2643 * manual/stdio.texi: Likewise.
2644 * manual/string.texi: Likewise.
2645 * manual/sysinfo.texi: Likewise.
2646 * manual/syslog.texi: Likewise.
2647 * manual/terminal.texi: Likewise.
2648 * manual/time.texi: Likewise.
2649 * manual/users.texi: Likewise.
2650 * INSTALL: Regenerated.
2651 * NOTES: Regenerated.
d40c5d54 2652 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 2653
450bf206
AS
26542012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2655
2656 * include/dirent.h: Include <dirstream.h> before
2657 <dirent/dirent.h>.
2658
741a235b
DM
26592012-02-28 David S. Miller <davem@davemloft.net>
2660
2661 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2662 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2663 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2664 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2665
d6b5aa58
DM
26662012-02-27 David S. Miller <davem@davemloft.net>
2667
1aff59a3
DM
2668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2670 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2671 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2672
d6b5aa58
DM
2673 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2674 frame pointer instead of stack pointer relative arg slot.
2675 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2676 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2677 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2678
433f48bf
CD
26792012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2680
2681 [BZ #3992]
2682 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2683
d674b76d
DM
26842012-02-27 David S. Miller <davem@davemloft.net>
2685
2686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2690 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2691 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2692 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2693 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2694
0e7727f7
JM
26952012-02-27 Joseph Myers <joseph@codesourcery.com>
2696
2697 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2698 later. Allow versions 5-9.
43be4ca2 2699 * configure: Regenerated.
0e7727f7
JM
2700 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2701 required minimum version and 4.6 as recommended version. Do not
2702 mention bugs in GCC 2.7 and 2.8.
43be4ca2 2703 * INSTALL: Regenerated.
0e7727f7 2704
a78bc654
DM
27052012-02-27 David S. Miller <davem@davemloft.net>
2706
428d5830
DM
2707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2711 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2712 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2713 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2714 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2715
a78bc654
DM
2716 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2717 manipulate bits before adding and subtracting TWO112[sx].
2718 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2719
4579f81c
RM
27202012-02-27 Roland McGrath <roland@hack.frob.com>
2721
36c8acb4
RM
2722 [BZ #13775]
2723 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2724 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2725 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2726 being in POSIX, because they are in 1003.1-2008.
2727
84ad622b
RM
2728 * rt/tst-aio.c: Include <fcntl.h>.
2729 * rt/tst-aio7.c: Likewise.
2730 * rt/tst-aio64.c: Likewise.
2731
4579f81c
RM
2732 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2733
abd923db
JM
27342012-02-27 Joseph Myers <joseph@codesourcery.com>
2735
2736 * manual/install.texi (--with-headers): Describe headers as
2737 interface headers, not private headers.
2738 (Specific advice for GNU/Linux systems): Describe use of headers
2739 from "make headers_install", not private headers from older
2740 kernels.
43be4ca2 2741 * INSTALL: Regenerated.
abd923db
JM
2742 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2743 Change to 2.6.19.
2744 * sysdeps/unix/sysv/linux/configure: Regenerated.
2745
6664049b
JM
2746 * manual/llio.texi (fclean): Remove documentation.
2747
bb8b6697
JM
2748 * manual/Makefile (libc-texi-generated): New variable. Include
2749 version.texi.
2750 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2751 $(libc-texi-generated), not duplicated list of files.
2752 (version.texi, stamp-version): New rules.
2753 (realclean): Remove $(libc-texi-generated), not individual files
2754 from that list. Do not remove dir-add.texinfo.
2755 * manual/libc.texinfo: Comment out uses of edition numbers and
2756 references to printed manual. Remove last-updated dates.
2757 (EDITION): Comment out.
2758 (ISBN): Likewise.
2759 (VERSION, UPDATED): Remove.
2760 (version.texi): Include.
2761
12e5c3b9
AS
27622012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2763
2764 * sysdeps/posix/spawni.c: Include <signal.h>.
2765 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2766 * sysdeps/pthread/aio_fsync.c: Likewise.
2767
4efeffc1 27682012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 2769
ba63ba08
UD
2770 * conform/Makefile (tests): Run only when not cross-compiling and
2771 when fast-check is not defined.
2772
d94a4670
UD
2773 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2774 * conform/data/limits.h-data: Fixes for POSIX2008.
2775 * conform/run-conformtest.sh: Run all tests.
2776 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2777 headers.
2778 * include/bits/dlfcn.h: Likewise.
2779 * include/langinfo.h: Likewise.
2780 * include/monetary.h: Likewise.
2781 * include/sys/poll.h: Likewise.
2782
2783 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2784 for __USE_GNU.
2785 * posix/spawn.h: Define __need_sigset_t.
2786 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2787 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2788 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2789 to get sigevent_t only.
2790 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2791 only for __USE_GNU.
2792 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2793 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2794 process_vm_writev only for __USE_GNU.
2795 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
2796
2797 * conform/Makefile: For now ignore errors from run-conformtest.
2798 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
2799 POSIX to avoid namespace pollution. Don't prepend headers.
2800 * conform/data/aio.h-data: Fixes for POSIX testing.
2801 * conform/data/fcntl.h-data: Likewise.
2802 * conform/data/glob.h-data: Likewise.
2803 * conform/data/grp.h-data: Likewise.
2804 * conform/data/pthread.h-data: Likewise.
2805 * conform/data/pwd.h-data: Likewise.
2806 * conform/data/signal.h-data: Likewise.
2807 * conform/data/spawn.h-data: Likewise.
2808 * conform/data/stdio.h-data: Likewise.
2809 * conform/data/stdlib.h-data: Likewise.
2810 * conform/data/stropts.h-data: Likewise.
2811 * conform/data/sys/mman.h-data: Likewise.
2812 * conform/data/sys/stat.h-data: Likewise.
2813 * conform/data/sys/types.h-data: Likewise.
2814 * conform/data/sys/wait.h-data: Likewise.
2815 * conform/data/time.h-data: Likewise.
2816 * conform/data/unistd.h-data: Likewise.
2817 * conform/data/utime.h-data: Likewise.
2818
2819 * io/sys/stat.h: fchmod was always in POSIX.
2820 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
2821 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
2822 * rt/aio.h: Define __need_timespec before including <time.h>.
2823 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
2824 struct. Add forward declaration of pthread_attr_t and use it in
2825 sigevent.
2826 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2827 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2828 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
2829 always remove CLK_TCK definition.
2830
c20105c3
AS
28312012-02-26 Andreas Schwab <schwab@linux-m68k.org>
2832
2833 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
2834
7a270350
UD
28352012-02-25 Ulrich Drepper <drepper@gmail.com>
2836
31341567
UD
2837 * conform/run-conformtest.sh: New file.
2838 * conform/Makefile: Run run-conformtest for tests.
2839 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
2840 support.
2841
2842 * conform/data/uchar.h-data: New file.
2843 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
2844 * conform/data/arpa/inet.h-data: Likewise.
2845 * conform/data/assert.h-data: Likewise.
2846 * conform/data/complex.h-data: Likewise.
2847 * conform/data/cpio.h-data: Likewise.
2848 * conform/data/ctype.h-data: Likewise.
2849 * conform/data/dirent.h-data: Likewise.
2850 * conform/data/dlfcn.h-data: Likewise.
2851 * conform/data/errno.h-data: Likewise.
2852 * conform/data/fcntl.h-data: Likewise.
2853 * conform/data/float.h-data: Likewise.
2854 * conform/data/fmtmsg.h-data: Likewise.
2855 * conform/data/fnmatch.h-data: Likewise.
2856 * conform/data/ftw.h-data: Likewise.
2857 * conform/data/glob.h-data: Likewise.
2858 * conform/data/grp.h-data: Likewise.
2859 * conform/data/iconv.h-data: Likewise.
2860 * conform/data/inttypes.h-data: Likewise.
2861 * conform/data/langinfo.h-data: Likewise.
2862 * conform/data/libgen.h-data: Likewise.
2863 * conform/data/limits.h-data: Likewise.
2864 * conform/data/locale.h-data: Likewise.
2865 * conform/data/math.h-data: Likewise.
2866 * conform/data/monetary.h-data: Likewise.
2867 * conform/data/mqueue.h-data: Likewise.
2868 * conform/data/ndbm.h-data: Likewise.
2869 * conform/data/net/if.h-data: Likewise.
2870 * conform/data/netdb.h-data: Likewise.
2871 * conform/data/netinet/in.h-data: Likewise.
2872 * conform/data/nl_types.h-data: Likewise.
2873 * conform/data/poll.h-data: Likewise.
2874 * conform/data/pthread.h-data: Likewise.
2875 * conform/data/pwd.h-data: Likewise.
2876 * conform/data/regex.h-data: Likewise.
2877 * conform/data/sched.h-data: Likewise.
2878 * conform/data/search.h-data: Likewise.
2879 * conform/data/semaphore.h-data: Likewise.
2880 * conform/data/setjmp.h-data: Likewise.
2881 * conform/data/signal.h-data: Likewise.
2882 * conform/data/spawn.h-data: Likewise.
2883 * conform/data/stdarg.h-data: Likewise.
2884 * conform/data/stdio.h-data: Likewise.
2885 * conform/data/stdlib.h-data: Likewise.
2886 * conform/data/string.h-data: Likewise.
2887 * conform/data/strings.h-data: Likewise.
2888 * conform/data/stropts.h-data: Likewise.
2889 * conform/data/sys/ipc.h-data: Likewise.
2890 * conform/data/sys/mman.h-data: Likewise.
2891 * conform/data/sys/msg.h-data: Likewise.
2892 * conform/data/sys/resource.h-data: Likewise.
2893 * conform/data/sys/select.h-data: Likewise.
2894 * conform/data/sys/sem.h-data: Likewise.
2895 * conform/data/sys/shm.h-data: Likewise.
2896 * conform/data/sys/socket.h-data: Likewise.
2897 * conform/data/sys/stat.h-data: Likewise.
2898 * conform/data/sys/statvfs.h-data: Likewise.
2899 * conform/data/sys/time.h-data: Likewise.
2900 * conform/data/sys/timeb.h-data: Likewise.
2901 * conform/data/sys/times.h-data: Likewise.
2902 * conform/data/sys/types.h-data: Likewise.
2903 * conform/data/sys/uio.h-data: Likewise.
2904 * conform/data/sys/un.h-data: Likewise.
2905 * conform/data/sys/utsname.h-data: Likewise.
2906 * conform/data/sys/wait.h-data: Likewise.
2907 * conform/data/syslog.h-data: Likewise.
2908 * conform/data/tar.h-data: Likewise.
2909 * conform/data/termios.h-data: Likewise.
2910 * conform/data/utime.h-data: Likewise.
2911 * conform/data/utmpx.h-data: Likewise.
2912 * conform/data/varargs.h-data: Likewise.
2913 * conform/data/wchar.h-data: Likewise.
2914 * conform/data/wctype.h-data: Likewise.
2915 * conform/data/wordexp.h-data: Likewise.
2916
2917 * include/stropts.h: New file.
2918 * include/uchar.h: New file.
2919 * include/aio.h: Changes to allow conformtest.pl to use the headers.
2920 * include/assert.h: Likewise.
2921 * include/ctype.h: Likewise.
2922 * include/dirent.h: Likewise.
2923 * include/dlfcn.h: Likewise.
2924 * include/fcntl.h: Likewise.
2925 * include/fnmatch.h: Likewise.
2926 * include/glob.h: Likewise.
2927 * include/grp.h: Likewise.
2928 * include/libio.h: Likewise.
2929 * include/locale.h: Likewise.
2930 * include/math.h: Likewise.
2931 * include/net/if.h: Likewise.
2932 * include/netdb.h: Likewise.
2933 * include/netinet/in.h: Likewise.
2934 * include/pthread.h: Likewise.
2935 * include/pwd.h: Likewise.
2936 * include/regex.h: Likewise.
2937 * include/sched.h: Likewise.
2938 * include/search.h: Likewise.
2939 * include/setjmp.h: Likewise.
2940 * include/signal.h: Likewise.
2941 * include/stdio.h: Likewise.
2942 * include/stdlib.h: Likewise.
2943 * include/string.h: Likewise.
2944 * include/sys/cdefs.h: Likewise.
2945 * include/sys/mman.h: Likewise.
2946 * include/sys/msg.h: Likewise.
2947 * include/sys/resource.h: Likewise.
2948 * include/sys/select.h: Likewise.
2949 * include/sys/socket.h: Likewise.
2950 * include/sys/stat.h: Likewise.
2951 * include/sys/statvfs.h: Likewise.
2952 * include/sys/time.h: Likewise.
2953 * include/sys/times.h: Likewise.
2954 * include/sys/uio.h: Likewise.
2955 * include/sys/utsname.h: Likewise.
2956 * include/sys/wait.h: Likewise.
2957 * include/termios.h: Likewise.
2958 * include/time.h: Likewise.
2959 * include/ulimit.h: Likewise.
2960 * include/unistd.h: Likewise.
2961 * include/utime.h: Likewise.
2962 * include/wchar.h: Likewise.
2963 * include/wctype.h: Likewise.
2964 * include/wordexp.h: Likewise.
2965
2966 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
2967
7a270350
UD
2968 * time/time.h: TIME_UTC must be a macro.
2969 Make timespec_get available for ISO C11 only as well.
2970
7724defc
UD
29712012-02-24 Ulrich Drepper <drepper@gmail.com>
2972
2973 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
2974 Reported by Peng Haitao <penght@cn.fujitsu.com>.
2975
6b1d1d46
JM
29762012-02-24 Joseph Myers <joseph@codesourcery.com>
2977
2978 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 2979
0f8bbd69
JM
29802012-02-24 Joseph Myers <joseph@codesourcery.com>
2981
2982 * manual/texinfo.tex: Update to version 2012-01-19.16.
2983
66ab80bc
JM
29842012-02-24 Joseph Myers <joseph@codesourcery.com>
2985
2986 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
2987
74981cc5
RM
29882012-02-24 Roland McGrath <roland@hack.frob.com>
2989
ee968201
RM
2990 [BZ #13738]
2991 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
2992 * manual/fdl-1.3.texi: New file.
2993 * manual/fdl-1.1.texi: File removed.
2994
74981cc5
RM
2995 [BZ #13738]
2996 * manual/libc.texinfo (FDL_VERSION): New @set.
2997 Use it for mention of FDL in cover text.
2998 (Documentation License): Use it in @include file name.
2999
7bb764bc
JM
30002012-02-22 Joseph Myers <joseph@codesourcery.com>
3001 Roland McGrath <roland@hack.frob.com>
3002
3003 [BZ #5461]
3004 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3005 not LONG_LONG_MAX and LONG_LONG_MIN.
3006 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3007 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
3008 name.
3009 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3010
6cbeae47
JM
30112012-02-22 Joseph Myers <joseph@codesourcery.com>
3012
3013 [BZ #2547]
3014 [BZ #11365]
3015 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3016 manipulate bits before adding and subtracting TWO23[sx].
3017 * math/libm-test.inc (nearbyint_test): Add more tests.
3018
fe45ce09
JM
30192012-02-22 Joseph Myers <joseph@codesourcery.com>
3020
3021 [BZ #2548]
3022 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3023 bits before adding and subtracting TWO23[sx].
3024 * math/libm-test.inc (rint_test): Add more tests.
3025 (rint_test_tonearest): Likewise.
3026 (rint_test_towardzero): Likewise.
3027 (rint_test_downward): Likewise.
3028 (rint_test_upward: Likewise.
3029
ff3b3d82
JM
30302012-02-22 Joseph Myers <joseph@codesourcery.com>
3031
3032 [BZ #10110]
3033 * include/stdc-predef.h: New file. Extracted from features.h.
3034 * include/features.h: Include stdc-predef.h.
3035 * Makefile (headers): Add stdc-predef.h.
3036 * CONFORMANCE (Compiler limitations): Update.
3037
ef0aab35
JM
30382012-02-22 Joseph Myers <joseph@codesourcery.com>
3039
3040 * manual/libc.texinfo (VERSION, UPDATED): Revert.
3041
58639409
DM
30422012-02-21 David S. Miller <davem@davemloft.net>
3043
3044 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3045 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3046
c0e70b25
DM
30472012-02-20 David S. Miller <davem@davemloft.net>
3048
3049 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3050 using a normal save/restore sequence, rather than allocating a
3051 dummy stack frame just to store a frame pointer and restore.
3052 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3053
fb06851d
JM
30542012-02-21 Joseph Myers <joseph@codesourcery.com>
3055
3056 * manual/install.texi: Fix stray word in line-wrapped comment.
3057
7a8b71c3
DM
30582012-02-20 David S. Miller <davem@davemloft.net>
3059
d510c123
DM
3060 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3061 both binutils and gcc support GOTDATA.
3062
0722d7c2
DM
3063 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3064 "rd %pc" in the PIC register setup sequences.
3065
3d2b3019
DM
3066 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3067 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3068 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3069 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3070 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3071 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3072 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3073 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3074 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3075 (SYSCALL_ERROR_HANDLER): Likewise.
3076 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3077 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3078 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3079 (SYSCALL_ERROR_HANDLER): Likewise.
3080
c80098a9
DM
3081 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3082 (HAVE_GCC_GOTDATA): New.
3083 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3084 relocation support in both binutils and gcc.
3085 * sysdeps/sparc/elf/configure: Regenerate.
3086
3a2545a0
DM
3087 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3088 * sysdeps/sparc/sparc32/elf/configure: Delete.
3089 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3090 * sysdeps/sparc/sparc64/elf/configure: Delete.
3091 * sysdeps/sparc/elf/configure.in: New file.
3092 * sysdeps/sparc/elf/configure: Generate.
3093
7a8b71c3
DM
3094 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3095 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3096 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3097 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3098 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3099
f1e86fca
JM
31002012-02-21 Joseph Myers <joseph@codesourcery.com>
3101
3102 * manual/install.texi: Do not mention specific glibc version
3103 numbers.
3104 * manual/libc.texinfo (VERSION, UPDATED): Update.
3105 (@copying): Use @copyright{} and range of years.
3106
0e7dfaef
JM
31072012-02-21 Joseph Myers <joseph@codesourcery.com>
3108
3109 [BZ #13695]
3110 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3111 [crti.S not in sysdirs] (generated): Do not append.
3112 [crti.S not in sysdirs] (omit-deps): Likewise.
3113 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3114 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3115 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3116 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3117 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3118 Likewise.
3119 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3120 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3121 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3122 * csu/defs.awk: Remove file.
3123 * sysdeps/generic/initfini.c: Likewise.
3124 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3125 variable.
3126 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3127 Likewise.
3128
599af3ca
JM
31292012-02-20 Joseph Myers <joseph@codesourcery.com>
3130
3131 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3132 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3133 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3134 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3135 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3136 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3137 <bits/epoll.h>.
3138 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3139 (__EPOLL_PACKED): Define to empty if not defined by
3140 <bits/epoll.h>.
3141 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3142 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3143 bits/epoll.h.
3144
0e499750
JM
31452012-02-20 Joseph Myers <joseph@codesourcery.com>
3146
3147 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3148 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3149 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3150 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3151 <bits/timerfd.h>.
3152 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3153 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3154 bits/timerfd.h.
3155
5ad91f6e
JM
31562012-02-20 Joseph Myers <joseph@codesourcery.com>
3157
3158 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3159 in C locale.
3160 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3161 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3162 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3164
06b99b02
AJ
31652012-02-20 Aurelien Jarno <aurelien@aurel32.net>
3166
3167 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3168 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3169
7638c0fd
AS
31702012-02-19 Andreas Schwab <schwab@linux-m68k.org>
3171
3172 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3173 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3174 defined.
3175 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3176 Likewise.
3177 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3178 entry for 2.16.
3179
92221550
AJ
31802012-02-19 Aurelien Jarno <aurelien@aurel32.net>
3181
3182 * math/w_acos.c: Use non-signaling floating-point comparisons.
3183 * math/w_acosf.c: Likewise.
3184 * math/w_acosh.c: Likewise.
3185 * math/w_acoshf.c: Likewise.
3186 * math/w_acoshl.c: Likewise.
3187 * math/w_acosl.c: Likewise.
3188 * math/w_asin.c: Likewise.
3189 * math/w_asinf.c: Likewise.
3190 * math/w_asinl.c: Likewise.
3191 * math/w_atanh.c: Likewise.
3192 * math/w_atanhf.c: Likewise.
3193 * math/w_atanhl.c: Likewise.
3194 * math/w_exp2.c: Likewise.
3195 * math/w_exp2f.c: Likewise.
3196 * math/w_exp2l.c: Likewise.
3197 * math/w_j0.c: Likewise.
3198 * math/w_j0f.c: Likewise.
3199 * math/w_j0l.c: Likewise.
3200 * math/w_j1.c: Likewise.
3201 * math/w_j1f.c: Likewise.
3202 * math/w_j1l.c: Likewise.
3203 * math/w_jn.c: Likewise.
3204 * math/w_jnf.c: Likewise.
3205 * math/w_log.c: Likewise.
3206 * math/w_log10.c: Likewise.
3207 * math/w_log10f.c: Likewise.
3208 * math/w_log10l.c: Likewise.
3209 * math/w_log2.c: Likewise.
3210 * math/w_log2f.c: Likewise.
3211 * math/w_log2l.c: Likewise.
3212 * math/w_logf.c: Likewise.
3213 * math/w_logl.c: Likewise.
3214 * math/w_sqrt.c: Likewise.
3215 * math/w_sqrtf.c: Likewise.
3216 * math/w_sqrtl.c: Likewise.
3217 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3218 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3219 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3220 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3221 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3222
ebaf36eb
JM
32232012-02-19 Joseph Myers <joseph@codesourcery.com>
3224
3225 [BZ #9739]
3226 * manual/string.texi (strnlen): Use correct parameter name in
3227 equivalent expression.
3228
71c254a6
JM
32292012-02-19 Joseph Myers <joseph@codesourcery.com>
3230
3231 [BZ #11174]
3232 * manual/users.texi (seteuid): Consistently use neweuid for
3233 argument name.
3234
16d2c631
JM
32352012-02-19 Joseph Myers <joseph@codesourcery.com>
3236
3237 [BZ #13704]
3238 * manual/nss.texi (Services in the NSS configuration): Correct
3239 list of services in example configuration file.
3240
cd837b09
NB
32412012-02-19 Nick Bowler <nbowler@draconx.ca>
3242
3243 [BZ #11322]
3244 * manual/arith.texi: Remove statements about negative zero
3245 behaving identically to zero.
3246
02c4bbad
JM
32472012-02-18 Joseph Myers <joseph@codesourcery.com>
3248
3249 [BZ #5993]
3250 * manual/install.texi: Do not document upgrading from libc5.
3251
366842e7
JM
32522012-02-18 Joseph Myers <joseph@codesourcery.com>
3253
3254 [BZ #4596]
3255 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3256
dd54084d
DM
32572012-02-18 David S. Miller <davem@davemloft.net>
3258
3259 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3260 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3261 %o7 across the call.
3262 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3263 instead.
3264 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3265 SETUP_PIC_REG_LEAF.
3266 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3267 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3268 * sysdeps/sparc/crtn.S: Likewise.
3269
2bcc53a3
UD
32702012-02-17 Ulrich Drepper <drepper@gmail.com>
3271
3272 * aout/Makefile: Remove.
3273
09c093b5
RK
32742012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3275
3276 [BZ #13058]
3277 * manual/examples/argp-ex1.c (main): Format definition in GNU
3278 style.
3279 * manual/examples/argp-ex2.c (main): Likewise.
3280 * manual/examples/argp-ex3.c (main): Likewise.
3281 * manual/examples/argp-ex4.c (main): Likewise.
3282 * manual/examples/longopt.c (main): Use new-style prototype
3283 definition.
3284 * manual/examples/strncat.c (main): Specify return type and use
3285 (void) for arguments.
3286 * manual/examples/subopt.c (main): Use char **argv argument.
3287
2ee633a2
JM
32882012-02-17 Joseph Myers <joseph@codesourcery.com>
3289
3290 [BZ #5077]
3291 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3292 rounding modes.
3293
0520adde
FB
32942012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3295
3296 [BZ #6907]
3297 * manual/string.texi (strchr): Change when strchrnul is
3298 recommended.
3299
3f4081cd
DGM
33002012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3301
3302 [BZ #174]
3303 * manual/locale.texi (setlocale): Document LOCPATH.
3304
d1b10e78
JM
33052012-02-17 Joseph Myers <joseph@codesourcery.com>
3306
3307 [BZ #10210]
3308 * manual/process.texi (execle): Move @dots{} before last argument.
3309
79c6869c
PB
33102012-02-17 Paul Bolle <pebolle@tiscali.nl>
3311
3312 [BZ #12047]
3313 * manual/charset.texi (Generic Charset Conversion): Fix typo
3314 (LC_TYPE -> LC_CTYPE).
3315
cc6e48bc
NB
33162012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3317
3318 [BZ #5805]
3319 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3320 (scalbnf): Likewise.
3321 (scalbnl): Likewise.
3322 (scalbln): Likewise.
3323 (scalblnf): Likewise.
3324 (scalblnl): Likewise.
3325 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3326 (vwarnx): Likewise.
3327 (verr): Likewise.
3328 (verrx): Likewise.
3329 * manual/filesys.texi (telldir): Use braces around return type.
3330 * manual/llio.texi (mmap): Add space after comma.
3331 (mmap64): Likewise.
3332 * manual/math.texi (jn): Use @var{} on parameter names.
3333 (jnf): Likewise.
3334 (jnl): Likewise.
3335 (yn): Likewise.
3336 (ynf): Likewise.
3337 (ynl): Likewise.
3338 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3339 line.
3340 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3341 "...".
3342 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3343 (sched_get_priority_max): Likewise.
3344 * manual/signal.texi (sigvec): Add space after comma.
3345 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3346 names.
3347 (if_indextoname): Likewise.
3348 (if_freenameindex): Likewise.
3349 (sendto): Use ',' instead of '.' in prototype.
3350 * manual/startup.texi (syscall): Use @dots{} instead of literal
3351 "...".
3352 * manual/stdio.texi (__fpending): Separate initial words of
3353 paragraph from @deftypefun line.
3354 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3355 "...".
3356 (vsyslog): Use @var{} on parameter names.
3357 * manual/terminal.texi (stty): Use @var{} on parameter names.
3358 * manual/users.texi (getutmp): Use @var{} on parameter names.
3359 (getutmpx): Likewise.
3360
5b23062f
JM
33612012-02-17 Joseph Myers <joseph@codesourcery.com>
3362
3363 [BZ #6884]
3364 * manual/stdio.texi (fopen): Fix typos in description of
3365 ",ccs=STRING".
3366
8dee4833
AJ
33672012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3368
3369 [BZ #4026]
3370 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3371 get clock_id definition.
3372
9078ce93
TS
33732012-02-17 Thomas Schwinge <thomas@schwinge.name>
3374
3375 [BZ #4822]
3376 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3377 (madvise): Cast every argument to void on its own.
3378
3835c55f
JM
33792012-02-17 Joseph Myers <joseph@codesourcery.com>
3380
3381 [BZ #9902]
3382 * manual/startup.texi (Exit Status): Fix typo.
3383
35c47e37
JM
33842012-02-17 Joseph Myers <joseph@codesourcery.com>
3385
3386 [BZ #10140]
3387 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3388 * manual/examples/argp-ex2.c: Likewise.
3389 * manual/examples/argp-ex3.c: Likewise.
3390
e3b69ca7
RH
33912012-02-16 Richard Henderson <rth@redhat.com>
3392
3393 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3394 * sysdeps/s390/s390-32/initfini.c: Remove.
3395 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3396 * sysdeps/s390/s390-64/initfini.c: Remove.
3397
df83af67
KK
33982012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3399
3400 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3401 compiler output for sysdeps/generic/initfini.c.
3402 * sysdeps/sh/elf/initfini.c: Remove file.
3403
f63f3380
DM
34042012-02-16 David S. Miller <davem@davemloft.net>
3405
fb59b3a4
DM
3406 [BZ #11494]
3407 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3408
f63f3380
DM
3409 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3410 * sysdeps/sparc/crti.S: New file.
3411 * sysdeps/sparc/crtn.S: New file.
3412 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3413 * sysdeps/sparc/sparc64/Makefile: Likewise.
3414
df6a4a4a
MF
34152012-02-15 Mike Frysinger <vapier@gentoo.org>
3416
6dd8f3dc 3417 [BZ #3335]
df6a4a4a
MF
3418 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3419
1cac7236
RM
34202012-02-15 Roland McGrath <roland@hack.frob.com>
3421
d2c736f8
RM
3422 [BZ #4822]
3423 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3424
1cac7236
RM
3425 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3426 (write, read, close): Likewise.
3427 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3428
8e475601
JM
34292012-02-15 Joseph Myers <joseph@codesourcery.com>
3430
3431 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3432 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3433 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3434 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3435 <bits/signalfd.h>.
3436 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3437 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3438 bits/signalfd.h.
3439
ed656b40
MP
34402012-02-14 Marek Polacek <polacek@redhat.com>
3441
3442 * sysdeps/x86_64/crti.S: New file.
3443 * sysdeps/x86_64/crtn.S: New file.
3444 * sysdeps/x86_64/elf/initfini.c: Remove file.
3445
2a979d3a
JM
34462012-02-13 Joseph Myers <joseph@codesourcery.com>
3447
3448 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3449 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3450 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3451 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3452 <bits/inotify.h>.
3453 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3454 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3455 bits/inotify.h.
3456
2a418ac3
JM
34572012-02-13 Joseph Myers <joseph@codesourcery.com>
3458
3459 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3460 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3461 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3462 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3463 <bits/eventfd.h>.
3464 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3465 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3466 bits/eventfd.h.
3467
fb779be7
TS
34682012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3469
e19e83c5
RM
3470 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3471 __feraiseexcept instead of feraiseexcept.
7c35ffed 3472
fb779be7
TS
3473 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3474 nanosleep invocations.
3475 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3476 strings, and add error checking for a nanosleep invocations.
3477
59ba27a6
PE
34782012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3479
3480 Replace FSF snail mail address with URLs, as per GNU coding standards.
3481 Most of the snail mail addresses were wrong anyway, and omitting
3482 them makes the source code easier to maintain. Almost all of the
3483 changes are to license notices and to locale LC_IDENTIFICATION
3484 addresses, except for this one:
3485 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3486 not its snail mail address.
3487
57b957eb
RH
34882012-02-09 Richard Henderson <rth@twiddle.net>
3489
af850b1c
RH
3490 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3491 of kernel-features.h.
3492
57b957eb
RH
3493 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3494
6b73181a
MP
34952012-02-08 Marek Polacek <polacek@redhat.com>
3496
3497 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3498 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3499 * sysdeps/gnu/_G_config.h: Likewise.
3500 * sysdeps/generic/_G_config.h: Likewise.
3501
26ecc33a
AS
35022012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3503
6c6dbc63
AS
3504 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3505 tests.
3506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3507
e216c012
AS
3508 * sysdeps/powerpc/powerpc32/crti.S: New file.
3509 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3510 * sysdeps/powerpc/powerpc64/crti.S: New file.
3511 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3512
26ecc33a
AS
3513 * Makeconfig (have-initfini): Don't set.
3514 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3515 * configure.in (nopic_initfini): Don't substitute.
3516 * config.h.in (HAVE_INITFINI): Don't #undef.
3517 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3518 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3519
3add8e13
JM
35202012-02-08 Joseph Myers <joseph@codesourcery.com>
3521
3522 Support crti.S and crtn.S provided directly by architectures.
3523 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3524 [crti.S in sysdirs] (omit-deps): Likewise.
3525 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3526 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3527 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3528 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3529 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3530 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3531 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3532 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3533 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3534 compiler output for sysdeps/generic/initfini.c.
3535 * sysdeps/i386/elf/Makefile: Remove file.
3536 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3537
a22f12b4
MP
35382012-02-07 Marek Polacek <polacek@redhat.com>
3539
3540 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3541 * sysdeps/gnu/_G_config.h: Likewise.
3542 * sysdeps/mach/hurd/_G_config.h: Likewise.
3543
148cf100
MP
35442012-02-07 Marek Polacek <polacek@redhat.com>
3545
3546 * math/Makefile (tests): Add tst-CMPLX2.
3547 * math/tst-CMPLX2.c: New file.
3548
cfdc0dd7
AS
35492012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3550
84ba42c4
AS
3551 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3552
cfdc0dd7
AS
3553 * math/libm-test.inc (jn_test): Add missing L suffix.
3554
622c86f4
MP
35552012-02-06 Marek Polacek <polacek@redhat.com>
3556
3557 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3558 * sysdeps/i386/fpu/e_powf.S: Likewise.
3559 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3560 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3561 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3562 * sysdeps/i386/fpu/e_pow.S: Likewise.
3563 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3564 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3565 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3566 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3567 * sysdeps/i386/fpu/e_log2.S: Likewise.
3568 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3569 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3570 * sysdeps/i386/fpu/e_powl.S: Likewise.
3571 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3572 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3573 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3574 * sysdeps/i386/fpu/e_logl.S: Likewise.
3575 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3576 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3577 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3578 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3579 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3580 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3581 * sysdeps/i386/fpu/e_log.S: Likewise.
3582 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3583 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3584 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3585 * sysdeps/i386/fpu/e_logf.S: Likewise.
3586 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3587 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3588 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3589 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3590 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3591 * sysdeps/i386/fpu/e_log10.S: Likewise.
3592 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3593 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3594 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3595 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3596 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3597 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3598 * sysdeps/i386/asm-syntax.h: Likewise.
3599 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3600 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3601 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3602 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3603 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3604 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3605 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3606 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3607 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3608 * sysdeps/powerpc/sysdep.h: Likewise.
3609 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3610 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3611
d4a54ac6
JM
36122012-02-06 Joseph Myers <joseph@codesourcery.com>
3613
3614 [BZ #411]
3615 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3616
314054ea
JM
36172012-02-06 Joseph Myers <joseph@codesourcery.com>
3618
3619 * sysdeps/i386/sysdep.h: Include <features.h>.
3620 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3621 version.
3622
d8e0ca50
JM
36232012-02-05 Joseph Myers <joseph@codesourcery.com>
3624
3625 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3626 Define.
3627 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3628 LOAD_PIC_REG_STR.
3629
b1da7dd9
JM
36302012-02-03 Joseph Myers <joseph@codesourcery.com>
3631
3632 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3633 (SETUP_PIC_REG): Use GET_PC_THUNK.
3634 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3635 macro.
3636
9a1d9254
JM
36372012-02-03 Joseph Myers <joseph@codesourcery.com>
3638
3639 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3640 for non-PIC compilation.
3641 (SETUP_PIC_REG): Add .p2align directive.
3642 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3643 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3644 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3645 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3646 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3647 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3648 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3649 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3650 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3651 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3652 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3653 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3654 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3655 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3656 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3657 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3658 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3659 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3660 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3661 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3662 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3663 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3664 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3665 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3666 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3667 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3668 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3669 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3670 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3671 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3672 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3673 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3674 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3675 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3676 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3677 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3678 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3679 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3680 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3681 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3682 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3683
65dc3b75
JM
36842012-02-03 Joseph Myers <joseph@codesourcery.com>
3685
3686 * math/tst-CMPLX.c: Include <stdio.h>.
3687
d55bf177
JM
36882012-01-31 Joseph Myers <joseph@codesourcery.com>
3689
3690 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3691 float.
3692 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3693 * sysdeps/sparc/bits/mathdef.h: Likewise.
3694
69db4f8f
MP
36952012-01-31 Marek Polacek <polacek@redhat.com>
3696
3697 * libio/libio.h: Don't define _PARAMS.
3698 * locale/programs/config.h: Don't define PARAMS.
3699 * stdlib/strtol_l.c: Likewise.
3700 (__strtol_l): Remove PARAMS from the prototype.
3701
41b81892
UD
37022012-01-31 Ulrich Drepper <drepper@gmail.com>
3703
3b49edc0
UD
3704 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3705 names. Just use the correct names. Remove unnecessary wrapper
3706 functions.
3707 * malloc/arena.c: Likewise.
3708 * malloc/hooks.c: Likewise.
3709
41b81892
UD
3710 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3711 ARENA_TEST says not to. Simplify test for creation of a new arena.
3712 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3713
27a25b6e
UD
37142012-01-30 Ulrich Drepper <drepper@gmail.com>
3715
3716 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3717 into tail calls.
3718 (update_get_addr): New function.
3719 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3720 GET_ADDR_MODULE parameter.
3721
c8a89e7d
JM
37222012-01-30 Joseph Myers <joseph@codesourcery.com>
3723
3724 * crypt/cert.c: Remove __STDC__ conditionals.
3725 * crypt/crypt-entry.c: Likewise.
3726 * crypt/crypt_util.c: Likewise.
3727 * libio/filedoalloc.c: Likewise.
3728 * libio/fileops.c: Likewise.
3729 * libio/genops.c: Likewise.
3730 * libio/iofclose.c: Likewise.
3731 * libio/iofdopen.c: Likewise.
3732 * libio/iofopen.c: Likewise.
3733 * libio/iofopen64.c: Likewise.
3734 * libio/iogetdelim.c: Likewise.
3735 * libio/iopopen.c: Likewise.
3736 * libio/obprintf.c: Likewise.
3737 * libio/oldfileops.c: Likewise.
3738 * libio/oldiofclose.c: Likewise.
3739 * libio/oldiofdopen.c: Likewise.
3740 * libio/oldiofopen.c: Likewise.
3741 * libio/oldiopopen.c: Likewise.
3742 * libio/wfiledoalloc.c: Likewise.
3743 * libio/wgenops.c: Likewise.
3744 * locale/programs/xmalloc.c: Likewise.
3745 * misc/syslog.c: Likewise.
3746 * stdio-common/xbug.c: Likewise.
3747 * string/memchr.c: Likewise.
3748 * string/memcmp.c: Likewise.
3749 * string/memrchr.c: Likewise.
3750 * string/rawmemchr.c: Likewise.
3751 * sysdeps/posix/getcwd.c: Likewise.
3752 * time/strftime_l.c: Likewise.
3753
3b100462
JM
37542012-01-30 Joseph Myers <joseph@codesourcery.com>
3755
3756 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
3757 * config.make.in (config-cflags-sse2avx): Define.
3758 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3759 Fix typo.
3760
607998af
CM
37612012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3762
3763 * scripts/config.guess: Update from upstream config git repository.
3764 * scripts/config.sub: Likewise.
3765
3601428f
CM
37662012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3767
3ac8b282
CM
3768 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3769 (EM_NUM): Update.
3770 (R_TILEPRO_*, R_TILEGX_*): New macros.
3771
e034841e
CM
3772 * scripts/firstversions.awk: Fix bug in version range handling.
3773
540d7568
CM
3774 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3775
3601428f
CM
3776 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3777
463de862
CM
3778 * include/sys/epoll.h: New file.
3779 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3780 libc_hidden_def.
3781
73139a76
UD
37822012-01-28 Ulrich Drepper <drepper@gmail.com>
3783
96bc5b45
UD
3784 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3785 Avoid unnecessary __WORDSIZE == 64 test.
3786 (fmaxf): Use VEX format if possible.
3787 (fmax): Likewise.
3788 (fminf): Likewise.
3789 (fmin): Likewise.
3790
56f6f6a2
UD
3791 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3792 * math/math_private.h: Remove libc_fegetround* and
3793 libc_fesetround*.
3794 * sysdeps/i386/configure.in: Check for -msse2avx.
3795 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
3796 also if SSE2AVX is defined.
3797 Remove libc_fegetround* and libc_fesetround*.
3798 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
3799 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
3800 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
3801 of HAS_YMM_USABLE.
3802 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3803 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3804 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3805 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3806 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3807
73139a76
UD
3808 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
3809
d73f93a4
AZ
38102012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3811
3812 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
3813 size is not set.
3814 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3815
6ee65ed6
UD
38162012-01-27 Ulrich Drepper <drepper@gmail.com>
3817
3818 [BZ #13618]
3819 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
3820 relocation.
3821 * Makeconfig (libm): Define.
3822 * elf/Makefile: Add rules to build and run tst-relsort1.
3823 * elf/tst-relsort1.c: New file.
3824 * elf/tst-relsort1mod1.c: New file.
3825 * elf/tst-relsort1mod2.c: New file.
3826
8db21882
JM
38272012-01-27 Joseph Myers <joseph@codesourcery.com>
3828
3829 * math/s_ldexp.c: Remove __STDC__ conditionals.
3830 * math/s_ldexpf.c: Likewise.
3831 * math/s_ldexpl.c: Likewise.
3832 * math/s_nextafter.c: Likewise.
3833 * math/s_nexttowardf.c: Likewise.
3834 * math/s_significand.c: Likewise.
3835 * math/s_significandf.c: Likewise.
3836 * math/s_significandl.c: Likewise.
3837 * math/w_jnl.c: Likewise.
3838 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3839 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3840 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3841 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3842 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3843 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3844 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
3845 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3846 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3847 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3848 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3849 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3850 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3851 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3852 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3853 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3854 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3855 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3856 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3857 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3858 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3859 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3860 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3861 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3862 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3863 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3864 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3865 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3866 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3867 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3868 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3869 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3870 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3871 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3872 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3873 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3874 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3875 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3876 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3877 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3878 * sysdeps/ieee754/k_standard.c: Likewise.
3879 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3880 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3881 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3882 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3883 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3884 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3885 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3886 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3887 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3888 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3889 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3890 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3891 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3892 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3893 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3894 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3895 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3896 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3897 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3898 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3899 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3900 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3901 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3902 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3903 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3904 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3905 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3906 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3907 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3908 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3909 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3910 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
3911 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3912 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3913 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3914 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3915 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
3916 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3917 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3918 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3919 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3920 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3921 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3922 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3923 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3924 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3925 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3926 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3927 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3928 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3929 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
3930 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3931 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3932 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3933 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3934 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3935 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
3936 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3937 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3938 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3939 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3940 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3941 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3942 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3943 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3944 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3945 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3946 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3947 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3948 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3949 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3950 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3951 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3952 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3953 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3954 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3955 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3956 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3957 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3958 * sysdeps/ieee754/s_matherr.c: Likewise.
3959 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3960 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3961 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3962 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3963
965a54a4
JM
39642012-01-26 Joseph Myers <joseph@codesourcery.com>
3965
3966 * crypt/md5.h: Remove __STDC__ conditionals.
3967 * libio/libioP.h: Likewise.
3968 * locale/programs/config.h: Likewise.
3969 * sysdeps/generic/sysdep.h: Likewise.
3970 * sysdeps/i386/asm-syntax.h: Likewise.
3971 * sysdeps/s390/asm-syntax.h: Likewise.
3972 * sysdeps/unix/sysdep.h: Likewise.
3973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3975
7071ad79
JM
39762012-01-26 Joseph Myers <joseph@codesourcery.com>
3977
3978 * libio/libio.h: Remove __STDC__ conditionals.
3979 * malloc/obstack.h: Likewise.
3980 * math/complex.h: Likewise.
3981 * math/math.h: Likewise.
3982 * sysdeps/generic/_G_config.h: Likewise.
3983 * sysdeps/gnu/_G_config.h: Likewise.
3984 * sysdeps/mach/hurd/_G_config.h: Likewise.
3985 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3986 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3987 * sysdeps/sparc/bits/mathdef.h: Likewise.
3988
afc5ed09
UD
39892012-01-26 Ulrich Drepper <drepper@gmail.com>
3990
3991 [BZ #13583]
3992 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 3993 Clean up HAS_* macros.
afc5ed09 3994 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
3995 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
3996 possible.
3997 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
3998 HAS_AVX.
3999 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4000 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4001 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4002 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4003 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 4004
bdb6de1d
JM
40052012-01-25 Joseph Myers <joseph@codesourcery.com>
4006
4007 * elf/tst-unique3.cc (gets): Remove declaration.
4008 * elf/tst-unique3lib.cc (gets): Likewise.
4009 * elf/tst-unique3lib2.cc (gets): Likewise.
4010 * elf/tst-unique4.cc (gets): Likewise.
4011
b15549e6
UD
40122012-01-24 Ulrich Drepper <drepper@gmail.com>
4013
4014 * include/stdio.h: Add C++ protection. Add gets declarations and
4015 definitions.
4016 * debug/tst-chk1.c: Don't declare gets here.
4017 * stdio-common/tst-gets.c: Likewise.
4018
a037381f
JM
40192012-01-24 Joseph Myers <joseph@codesourcery.com>
4020
4021 * posix/glob: Remove directory.
4022
f1d4aa75
JM
40232012-01-24 Joseph Myers <joseph@codesourcery.com>
4024
4025 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4026
81c0c964
PT
40272012-01-22 Pino Toscano <toscano.pino@tiscali.it>
4028
4029 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4030 of the non-standard EPFNOSUPPORT.
4031
0ea698ae
ST
40322011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
4033
4034 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4035 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4036 ANYWHERE set to 1 only on KERN_NO_SPACE error.
4037
d220b117
UD
40382012-01-21 Ulrich Drepper <drepper@gmail.com>
4039
4040 * wcsmbs/uchar.h: Test __STDC_VERSION__.
4041
3e1aa84e
UD
40422012-01-20 Ulrich Drepper <drepper@gmail.com>
4043
4044 * nscd/aicache.c (addhstaiX): Do not cache negative results of
4045 transient errors.
4046 * nscd/grpcache.c (cache_addgr): Likewise.
4047 * nscd/hstcache.c (cache_addhst): Likewise.
4048 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4049 * nscd/pwdcache.c (cache_addpw): Likewise.
4050 * nscd/servicescache.c (cache_addserv): Likewise.
4051
400aa020
UD
40522012-01-16 Ulrich Drepper <drepper@gmail.com>
4053
d77e7869
UD
4054 * malloc/malloc.c: Various cleanups.
4055 * malloc/hooks.c: Likewise.
4056
400aa020
UD
4057 * stdlib/Makefile (tests): Add bug-fmtmsg1.
4058 * stdlib/bug-fmtmsg1.c: New file.
4059
4060 * stdlib/fmtmsg.c (init): Add missing unlock.
4061 Patch by Peng Haitao <penght@cn.fujitsu.com>.
4062
e0a309cf
MP
40632012-01-12 Marek Polacek <polacek@redhat.com>
4064
4065 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4066 and _GNU_SOURCE.
4067
929d11c7
WS
40682012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4069
4070 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4071 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4072 macro to ensure uniqueness of label name.
4073 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4074 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4075
41d0e869
UD
40762012-01-11 Ulrich Drepper <drepper@gmail.com>
4077
0cc5ed3b
UD
4078 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4079
41d0e869
UD
4080 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4081 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4082 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4083 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4084
a47a831a
UD
40852012-01-10 Ulrich Drepper <drepper@gmail.com>
4086
daa891c0
UD
4087 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4088
4089 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4090 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4091 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4092
e58ef0f2
UD
4093 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4094
a47a831a 4095 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
4096 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4097 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 4098 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
4099
4100 * math/bits/math-finite.h: Add ldexp support.
4101
a0bfc9c7
MP
41022012-01-10 Marek Polacek <polacek@redhat.com>
4103
4104 * locale/programs/localedef.h (show_archive_content): Add noreturn
4105 attribute.
4106
d6e97a1d
UD
41072012-01-09 Ulrich Drepper <drepper@gmail.com>
4108
4109 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4110
d5835c26
UD
41112012-01-08 Ulrich Drepper <drepper@gmail.com>
4112
e5f484c6
UD
4113 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4114
d5835c26
UD
4115 * io/Makefile (headers): Add bits/poll2.h.
4116
d1f741e9
WS
41172011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
4118
4119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4120 typo #include statement.
4121
ec09c1c4
UD
41222012-01-08 Ulrich Drepper <drepper@gmail.com>
4123
4124 * include/sys/cdefs.h: Define __attribute_alloc_size.
4125 * catgets/gencat.c: Add alloc_size attribute and apply consistently
4126 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4127 * elf/pldd.c: Likewise.
4128 * iconv/iconv_charmap.c: Likewise.
4129 * iconv/iconvconfig.c: Likewise.
4130 * iconv/strtab.c: Likewise.
4131 * locale/programs/locale.c: Likewise.
4132 * locale/programs/localedef.h: Likewise.
4133 * locale/programs/simple-hash.c: Likewise.
4134 * nscd/nscd.h: Likewise.
4135 * nss/makedb.c: Likewise.
4136 * sysdeps/generic/ldconfig.h: Likewise.
4137 * locale/programs/localedef.c: Remove xmalloc prototype.
4138 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4139
20b38e03
PP
41402012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4141
4142 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4143 appropriate.
4144
a0da5fe1
UD
41452012-01-08 Ulrich Drepper <drepper@gmail.com>
4146
1d5a644a 4147 * math/Makefile (tests): Add tst-CMPLX.
669704fd 4148 * math/tst-CMPLX.c: New file.
1d5a644a 4149
8784a6db
UD
4150 * math/complex.h (CMPLXL): Fix typo.
4151
d9a216c0
UD
4152 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4153 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4154 GLIBC_2.16.
4155 * debug/tst-chk1.c: Add poll and ppoll tests.
4156 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4157 * include/sys/poll.h: Add hidden proto for ppoll.
4158 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4159 * sysdeps/mach/hurd/ppoll.c: Likewise.
4160 * io/ppoll.c: Likewise.
4161 * debug/poll_chk.c: New file.
4162 * debug/ppoll_chk.c: New file.
4163 * include/bits/poll2.h: New file.
4164 * io/bits/poll2.h: New file.
4165
ac097f5c
UD
4166 [BZ #1350]
4167 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4168
2119dcfa
UD
4169 * configure.in: static is always set to yes. Remove.
4170 * config.make.in: Don't set build-static.
4171 * Makeconfig: Remove use of build-static.
4172 * dlfcn/Makefile: Likewise.
4173 * elf/Makefile: Likewise.
4174 * math/Makefile: Likewise.
4175 * misc/Makefile: Likewise.
4176 * nptl/Makefile: Likewise.
4177 * sysdeps/mach/hurd/Makefile: Likewise.
4178
121766a9
UD
4179 * configure.in: PWD_P is not used anymore.
4180 * config.make.in: Remove PWD_P entry.
4181
51a1d39c 4182 * configure.in: Remove last remnants of RANLIB.
8720d066 4183 No need to check for signed size_t anymore.
215f4bdc
UD
4184 Don't set libc_commonpagesize and libc_relro_required here for Alpha
4185 and IA-64.
3857022a 4186 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
4187 * aclocal.m4: Likewise.
4188
d3ed7225
UD
4189 * wcsmbs/mbrtoc16.c: Implement using towc function.
4190 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4191 * wcsmbs/wcsmbsload.c: Likewise.
4192 * iconv/gconv_simple.c: Likewise.
4193 * iconv/gconv_int.h: Likewise.
4194 * iconv/gconv_builtin.h: Likewise.
4195 * iconv/iconv_prog.c: Remove CHAR16 handling.
4196
4197 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4198
4199 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4200
a0da5fe1
UD
4201 * configure.in: Remove --with-elf and --enable-bounded options.
4202 Dont set base_machine for ia64. More non-ELF conditions removed.
4203 Remove testing and setting of leading underscore information.
4204 * config.make.in (build-bounded): Set to no.
4205 * config.h.in: Remove NO_UNDERSCORES entry.
4206 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4207 them.
4208 * csu/start.c: Remove !NO_UNDERSCORE code.
4209 * locale/localeinfo.h: Likewise.
4210 * sysdeps/generic/machine-gmon.h: Likewise.
4211 * sysdeps/generic/sysdep.h: Likewise.
4212 * sysdeps/i386/sysdep.h: Likewise.
4213 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4214 * sysdeps/mach/sysdep.h: Likewise.
4215 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4216 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4217 * sysdeps/sh/sysdep.h: Likewise.
4218 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4219 * sysdeps/unix/i386/sysdep.S: Likewise.
4220 * sysdeps/unix/sparc/start.c: Likewise.
4221 * sysdeps/unix/sparc/sysdep.S: Likewise.
4222 * sysdeps/unix/sparc/sysdep.h: Likewise.
4223 * sysdeps/unix/start.c: Likewise.
4224 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4225 * sysdeps/x86_64/sysdep.h: Likewise.
4226
df78418a
UD
42272012-01-07 Ulrich Drepper <drepper@gmail.com>
4228
a784e502
UD
4229 [BZ #13553]
4230 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4231 for non-gcc.
4232 * argp/argp-fmtstream.h: Use const instead __const.
4233 * argp/argp.h: Likewise.
4234 * assert/assert.h: Likewise.
4235 * bits/fenv.h: Likewise.
4236 * bits/sched.h: Likewise.
4237 * bits/sigset.h: Likewise.
4238 * bits/sigthread.h: Likewise.
4239 * catgets/nl_types.h: Likewise.
4240 * conform/data/pthread.h-data: Likewise.
4241 * crypt/crypt-private.h: Likewise.
4242 * crypt/crypt.h: Likewise.
4243 * crypt/crypt_util.c: Likewise.
4244 * ctype/ctype.h: Likewise.
4245 * debug/execinfo.h: Likewise.
4246 * debug/mbsnrtowcs_chk.c: Likewise.
4247 * debug/mbsrtowcs_chk.c: Likewise.
4248 * debug/wcsnrtombs_chk.c: Likewise.
4249 * debug/wcsrtombs_chk.c: Likewise.
4250 * debug/wcstombs_chk.c: Likewise.
4251 * dirent/dirent.h: Likewise.
4252 * dlfcn/dlfcn.h: Likewise.
4253 * elf/neededtest4.c: Likewise.
4254 * grp/grp.h: Likewise.
4255 * gshadow/gshadow.h: Likewise.
4256 * iconv/gconv.h: Likewise.
4257 * iconv/gconv_int.h: Likewise.
4258 * iconv/gconv_simple.c: Likewise.
4259 * iconv/iconv.h: Likewise.
4260 * iconv/loop.c: Likewise.
4261 * iconv/skeleton.c: Likewise.
4262 * include/aio.h: Likewise.
4263 * include/aliases.h: Likewise.
4264 * include/argz.h: Likewise.
4265 * include/arpa/inet.h: Likewise.
4266 * include/assert.h: Likewise.
4267 * include/dirent.h: Likewise.
4268 * include/dlfcn.h: Likewise.
4269 * include/execinfo.h: Likewise.
4270 * include/fcntl.h: Likewise.
4271 * include/fenv.h: Likewise.
4272 * include/glob.h: Likewise.
4273 * include/grp.h: Likewise.
4274 * include/libintl.h: Likewise.
4275 * include/mntent.h: Likewise.
4276 * include/netdb.h: Likewise.
4277 * include/pwd.h: Likewise.
4278 * include/rpc/netdb.h: Likewise.
4279 * include/sched.h: Likewise.
4280 * include/search.h: Likewise.
4281 * include/shadow.h: Likewise.
4282 * include/signal.h: Likewise.
4283 * include/stdio.h: Likewise.
4284 * include/stdlib.h: Likewise.
4285 * include/string.h: Likewise.
4286 * include/sys/socket.h: Likewise.
4287 * include/sys/stat.h: Likewise.
4288 * include/sys/statfs.h: Likewise.
4289 * include/sys/statvfs.h: Likewise.
4290 * include/sys/syslog.h: Likewise.
4291 * include/sys/time.h: Likewise.
4292 * include/sys/uio.h: Likewise.
4293 * include/time.h: Likewise.
4294 * include/unistd.h: Likewise.
4295 * include/utmp.h: Likewise.
4296 * include/wchar.h: Likewise.
4297 * include/wctype.h: Likewise.
4298 * inet/aliases.h: Likewise.
4299 * inet/arpa/inet.h: Likewise.
4300 * inet/netinet/ether.h: Likewise.
4301 * inet/netinet/in.h: Likewise.
4302 * intl/libintl.h: Likewise.
4303 * io/bits/fcntl2.h: Likewise.
4304 * io/fcntl.h: Likewise.
4305 * io/ftw.h: Likewise.
4306 * io/sys/poll.h: Likewise.
4307 * io/sys/stat.h: Likewise.
4308 * io/sys/statfs.h: Likewise.
4309 * io/sys/statvfs.h: Likewise.
4310 * io/utime.h: Likewise.
4311 * libio/bits/stdio.h: Likewise.
4312 * libio/bits/stdio2.h: Likewise.
4313 * libio/libio.h: Likewise.
4314 * libio/libioP.h: Likewise.
4315 * libio/stdio.h: Likewise.
4316 * locale/lc-ctype.c: Likewise.
4317 * locale/locale.h: Likewise.
4318 * login/utmp.h: Likewise.
4319 * malloc/arena.c: Likewise.
4320 * malloc/malloc.c: Likewise.
4321 * malloc/malloc.h: Likewise.
4322 * malloc/mcheck.c: Likewise.
4323 * malloc/mtrace.c: Likewise.
4324 * math/bits/mathcalls.h: Likewise.
4325 * math/fenv.h: Likewise.
4326 * math/math_private.h: Likewise.
4327 * misc/bits/error.h: Likewise.
4328 * misc/bits/syslog.h: Likewise.
4329 * misc/err.h: Likewise.
4330 * misc/error.h: Likewise.
4331 * misc/fstab.h: Likewise.
4332 * misc/mntent.h: Likewise.
4333 * misc/regexp.h: Likewise.
4334 * misc/search.h: Likewise.
4335 * misc/sgtty.h: Likewise.
4336 * misc/sys/mman.h: Likewise.
4337 * misc/sys/syslog.h: Likewise.
4338 * misc/sys/uio.h: Likewise.
4339 * misc/sys/xattr.h: Likewise.
4340 * misc/ttyent.h: Likewise.
4341 * nis/rpcsvc/ypclnt.h: Likewise.
4342 * nss/nss.h: Likewise.
4343 * posix/bits/unistd.h: Likewise.
4344 * posix/fnmatch.h: Likewise.
4345 * posix/glob.h: Likewise.
4346 * posix/sched.h: Likewise.
4347 * posix/spawn.h: Likewise.
4348 * posix/sys/wait.h: Likewise.
4349 * posix/unistd.h: Likewise.
4350 * posix/wordexp.h: Likewise.
4351 * pwd/pwd.h: Likewise.
4352 * resolv/netdb.h: Likewise.
4353 * resource/sys/resource.h: Likewise.
4354 * rt/aio.h: Likewise.
4355 * rt/bits/mqueue2.h: Likewise.
4356 * rt/mqueue.h: Likewise.
4357 * shadow/shadow.h: Likewise.
4358 * signal/signal.h: Likewise.
4359 * socket/send.c: Likewise.
4360 * socket/sendto.c: Likewise.
4361 * socket/sys/socket.h: Likewise.
4362 * stdio-common/printf.h: Likewise.
4363 * stdlib/bits/stdlib.h: Likewise.
4364 * stdlib/fmtmsg.h: Likewise.
4365 * stdlib/monetary.h: Likewise.
4366 * stdlib/stdlib.h: Likewise.
4367 * stdlib/ucontext.h: Likewise.
4368 * streams/stropts.h: Likewise.
4369 * string/argz.h: Likewise.
4370 * string/bits/string2.h: Likewise.
4371 * string/string.h: Likewise.
4372 * string/strings.h: Likewise.
4373 * sunrpc/rpc/auth.h: Likewise.
4374 * sunrpc/rpc/auth_des.h: Likewise.
4375 * sunrpc/rpc/clnt.h: Likewise.
4376 * sunrpc/rpc/netdb.h: Likewise.
4377 * sunrpc/rpc/pmap_clnt.h: Likewise.
4378 * sunrpc/rpc/xdr.h: Likewise.
4379 * sysdeps/generic/inttypes.h: Likewise.
4380 * sysdeps/generic/net/if.h: Likewise.
4381 * sysdeps/generic/sys/swap.h: Likewise.
4382 * sysdeps/gnu/net/if.h: Likewise.
4383 * sysdeps/gnu/utmpx.h: Likewise.
4384 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4385 * sysdeps/i386/i486/bits/string.h: Likewise.
4386 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4387 * sysdeps/s390/bits/string.h: Likewise.
4388 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4389 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4390 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4391 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4392 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4393 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4394 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4395 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4396 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4397 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4398 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4399 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4400 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4401 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4402 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4403 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4404 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4405 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4406 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4407 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4408 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4409 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4410 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4411 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4412 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4413 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4414 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4415 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4416 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4417 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4418 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4419 * sysvipc/sys/ipc.h: Likewise.
4420 * sysvipc/sys/msg.h: Likewise.
4421 * sysvipc/sys/sem.h: Likewise.
4422 * sysvipc/sys/shm.h: Likewise.
4423 * termios/termios.h: Likewise.
4424 * time/sys/time.h: Likewise.
4425 * time/time.h: Likewise.
4426 * wcsmbs/bits/wchar2.h: Likewise.
4427 * wcsmbs/uchar.h: Likewise.
4428 * wcsmbs/wchar.h: Likewise.
4429 * wctype/wctype.h: Likewise.
4430
0269750c
UD
4431 [BZ #13551]
4432 * Makeconfig: Remove all but ELF support including AIX support.
4433 * Makerules: Likewise.
4434 * config.h.in: Likewise.
4435 * config.make.in: Likewise.
4436 * configure: Likewise.
4437 * configure.in: Likewise.
4438 * csu/Makefile: Likewise.
4439 * csu/version.c: Likewise.
4440 * debug/Makefile: Likewise.
4441 * dlfcn/Makefile: Likewise.
4442 * elf/Makefile: Likewise.
4443 * extra-lib.mk: Likewise.
4444 * iconv/Makefile: Likewise.
4445 * include/libc-symbols.h: Likewise.
4446 * include/shlib-compat.h: Likewise.
4447 * resolv/Makefile: Likewise.
4448 * resolv/res_libc.c: Likewise.
4449 * rt/Makefile: Likewise.
4450 * sysdeps/i386/asm-syntax.h: Likewise.
4451 * sysdeps/i386/sysdep.h: Likewise.
4452 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4453 * sysdeps/mach/sysdep.h: Likewise.
4454 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4455 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4456 * sysdeps/s390/asm-syntax.h: Likewise.
4457 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4458 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4459 * sysdeps/sh/sysdep.h: Likewise.
4460 * sysdeps/unix/sparc/sysdep.h: Likewise.
4461 * sysdeps/wordsize-32/divdi3.c: Likewise.
4462 * sysdeps/x86_64/sysdep.h: Likewise.
4463
00bbd29b
UD
4464 * argp/Versions: Remove _argp_unlock_xxx.
4465
4466 [BZ #13559]
4467 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4468 * abilist/libBrokenLocale.abilist: Likewise.
4469 * abilist/libanl.abilist: Likewise.
4470 * abilist/libc.abilist: Likewise.
4471 * abilist/libcrypt.abilist: Likewise.
4472 * abilist/libdl.abilist: Likewise.
4473 * abilist/libm.abilist: Likewise.
4474 * abilist/libnsl.abilist: Likewise.
4475 * abilist/libpthread.abilist: Likewise.
4476 * abilist/libresolv.abilist: Likewise.
4477 * abilist/librt.abilist: Likewise.
4478 * abilist/libthread_db.abilist: Likewise.
4479 * abilist/libutil.abilist: Likewise.
4480 * abilist/libnss_db.abilist: New file.
4481
4482 * scripts/abilist.awk: Add support for indirect functions.
4483
a2693a0e
UD
4484 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4485
3f05895f
UD
4486 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4487
ecb6fb48
UD
4488 * shlib-versions: Remove entries for ports architectures.
4489
664f8cb9
UD
4490 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4491 files in ports.
4492 * elf/stackguard-macros.h: Remove support for IA-64.
4493 * elf/tst-auditmod1.c: Likewise.
4494 * sysdeps/generic/ldsodefs.h: Likewise.
4495
7ae81d88
UD
4496 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4497 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4498 configure files.
4499
bdeba135
UD
4500 [BZ #13552]
4501 * configure.in: Remove --enable-omitfp support.
4502 * FAQ.in: Adjust.
4503 * config.make.in: Likewise.
4504 * Makeconfig: Likewise.
4505 * manual/install.texi: Likewise.
4506
d75a0a62
UD
4507 In case anyone cares, the IA-64 architecture could move to ports.
4508 * sysdeps/ia64/*: Removed.
4509 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 4510 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 4511
dcc9756b
UD
4512 [BZ #13555]
4513 * configure.in: Remove entries for unsupported architectures.
4514
d3761ebc 4515 [BZ #13533]
9954432e
UD
4516 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4517 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4518 routines.
4519 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4520 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4521 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4522 fall back to using wcrtomb.
4523 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4524 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4525 renaming.
4526 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4527 * wcsmbs/tst-c16c32-1.c: New file.
4528
4529 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4530 local variable.
4531
c3a87236
UD
4532 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4533
28926a1b
UD
4534 * elf/tst-unique3.cc: Add explicit declaration of gets.
4535 * elf/tst-unique3lib.cc: Likewise.
4536 * elf/tst-unique3lib2.cc: Likewise.
4537 * elf/tst-unique4.cc: Likewise.
4538
df78418a
UD
4539 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4540
8ecd6b2a
JM
45412012-01-06 Joseph Myers <joseph@codesourcery.com>
4542
4543 [BZ #13566]
4544 * assert/assert.h (static_assert): Don't define for C++.
4545 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4546 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4547
9f115170
UD
45482012-01-03 Ulrich Drepper <drepper@gmail.com>
4549
5e0d0300
UD
4550 * iconv/loop.c (single loop): Fix assertion in storing of
4551 remaining bytes.
4552
9f115170
UD
4553 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4554
81fb02b0
UD
45552012-01-01 Ulrich Drepper <drepper@gmail.com>
4556
4557 * posix/getconf.c: Update copyright year.
4558 * nss/getent.c: Likewise.
a316c1f6 4559 * nss/makedb.c: Likewise.
81fb02b0
UD
4560 * iconv/iconvconfig.c: Likewise.
4561 * iconv/iconv_prog.c: Likewise.
4562 * elf/ldconfig.c: Likewise.
a316c1f6
UD
4563 * elf/pldd.c: Likewise.
4564 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
4565 * catgets/gencat.c: Likewise.
4566 * csu/version.c: Likewise.
4567 * elf/ldd.bash.in: Likewise.
4568 * elf/sprof.c (print_version): Likewise.
4569 * locale/programs/locale.c: Likewise.
4570 * locale/programs/localedef.c: Likewise.
a316c1f6 4571 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
4572 * nscd/nscd.c (print_version): Likewise.
4573 * debug/xtrace.sh: Likewise.
4574 * malloc/memusage.sh: Likewise.
4575 * malloc/mtrace.pl: Likewise.
4576 * debug/catchsegv.sh: Likewise.
4577
2ba92745
JJ
45782011-12-30 Jakub Jelinek <jakub@redhat.com>
4579
4580 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4581 pure attribute.
4582
dadebdae
UD
45832011-12-24 Ulrich Drepper <drepper@gmail.com>
4584
d3761ebc 4585 [BZ #13533]
db6af3eb
UD
4586 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4587 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4588 transformations.
4589 * iconv/gconv_int.h: Likewise.
4590 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4591 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4592 from libc for GLIBC_2.16.
4593 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4594 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4595 * wcsmbs/uchar.h: Really define mbstate_t.
4596 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4597 * wcsmbs/c16rtomb.c: New file.
4598 * wcsmbs/mbrtoc16.c: New file.
4599 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4600 for C/POSIX locale.
4601 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4602 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4603
dadebdae
UD
4604 * wcsmbs/wchar.h: Add missing __restrict.
4605
67371b56
UD
46062011-12-23 Ulrich Drepper <drepper@gmail.com>
4607
74033a25
UD
4608 [BZ #13532]
4609 * time/Makefile (routines): Add timespec_get.
4610 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4611 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4612 timespec for ISO C11.
4613 * time/timespec_get.c: New file.
4614 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4615 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4616
380d7e87
UD
4617 [BZ #13531]
4618 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4619 * stdlib/stdlib.h: Declare aligned_alloc.
4620 * Versions.def: Add GLIBC_2.16 for libc.
4621 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4622
4e9e7a35
UD
4623 [BZ 13527]
4624 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4625 ISO C11.
4626
380d7e87 4627 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
4628 code.
4629
03a71829
UD
4630 [BZ #13528]
4631 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4632
839e283e
UD
4633 [BZ #13529]
4634 * assert/assert.h (static_assert): Define.
4635
ce5294e2 4636 * version.h: Update for 2.16 development version.
90fa7312 4637
8d44e150 4638 [BZ #13526]
d7809905
UD
4639 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4640 _ISOC11_SOURCE.
4641
c0da14cd
UD
4642 * version.h (RELEASE): Bump for 2.15 release.
4643 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4644
530a3249
MP
4645 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4646 Patch by Marek Polacek <mpolacek@redhat.com>.
4647
67371b56
UD
4648 * bits/byteswap.h: Protect long long constants with __extension__.
4649 * sysdeps/i386/bits/byteswap.h: Likewise.
4650 * sysdeps/ia64/bits/byteswap.h: Likewise.
4651 * sysdeps/s390/bits/byteswap.h: Likewise.
4652 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4653
15db4de1
LD
46542011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4655
4656 [BZ #13540]
bbe315ea
LD
4657 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4658 destination buffer.
15db4de1
LD
4659 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4660
2b2596b1
MP
46612011-12-23 Marek Polacek <polacek@redhat.com>
4662
4663 * elf/dl-addr.c (determine_info): Add inline keyword.
4664 * elf/tst-auditmod4b.c (check_avx): Likewise.
4665 * elf/tst-auditmod6b.c (check_avx): Likewise.
4666 * elf/tst-auditmod6c.c (check_avx): Likewise.
4667 * elf/tst-auditmod7b.c (check_avx): Likewise.
4668
70c6c246
UD
46692011-12-23 Ulrich Drepper <drepper@gmail.com>
4670
4671 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4672 !__SSE_MATH__.
4673
c044cf14
LD
46742011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4675
15db4de1 4676 [BZ #13540]
c044cf14
LD
4677 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4678 processing for last bytes.
4679
6b13d9d9
BH
46802011-08-06 Bruno Haible <bruno@clisp.org>
4681
d455f537
BH
4682 [BZ #13061]
4683 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4684 U+0385, not to U+1FEE.
4685
6b13d9d9
BH
4686 [BZ #13062]
4687 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4688 entry for U+00A5 U+0301.
4689
db910efd
UD
46902011-12-22 Ulrich Drepper <drepper@gmail.com>
4691
27deeafc
UD
4692 [BZ #13166]
4693 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4694 buffer for the output is too small.
4695
aed9d171
UD
4696 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4697 optimization.
4698
db910efd
UD
4699 [BZ #13185]
4700 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4701 SSE flags if possible.
4702
2bd779ae
LD
47032011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4704
e7f9dac3 4705 [BZ #13540]
2bd779ae
LD
4706 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4707 processing for last bytes.
4708
154bfc16
JM
47092011-12-22 Joseph Myers <joseph@codesourcery.com>
4710
4711 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4712 (syscall-list-default-options, syscall-list-default-condition)
4713 (syscall-list-includes): Define.
4714 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4715 list of ABIs and options and #if conditions for each ABI. Do not
4716 handle common syscalls between ABIs specially.
4717 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4718 Remove.
4719 (syscall-list-variants, syscall-list-32bit-options)
4720 (syscall-list-32bit-condition, syscall-list-64bit-options)
4721 (syscall-list-64bit-condition): Define.
4722 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4723 (syscall-list-variants, syscall-list-32bit-options)
4724 (syscall-list-32bit-condition, syscall-list-64bit-options)
4725 (syscall-list-64bit-condition): Define.
4726 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4727 Remove.
4728 (syscall-list-variants, syscall-list-32bit-options)
4729 (syscall-list-32bit-condition, syscall-list-64bit-options)
4730 (syscall-list-64bit-condition): Define.
4731 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4732 Remove.
4733 (syscall-list-variants, syscall-list-32bit-options)
4734 (syscall-list-32bit-condition, syscall-list-64bit-options)
4735 (syscall-list-64bit-condition): Define.
4736
21eaf3a5
UD
47372011-12-22 Ulrich Drepper <drepper@gmail.com>
4738
16c6f992
UD
4739 * locale/iso-639.def: Add brx entry.
4740
41043168
UD
4741 [BZ #13328]
4742 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4743 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4744
21eaf3a5
UD
4745 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4746 __feraiseexcept_renamed.
4747
e3a851a2
UD
47482011-12-21 Ulrich Drepper <drepper@gmail.com>
4749
4920765e
UD
4750 [BZ #13538]
4751 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4752 EPOLLET with unsigned values.
4753 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4754 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4755
e3a851a2
UD
4756 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4757 to large cancellation.
4758 * math/s_cacoshf.c: Likewise.
4759 * math/s_cacoshl.c: Likewise.
4760
b27e24b8
RK
47612011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4762
4763 [BZ #13305]
aebefeee 4764 [BZ #12786]
b27e24b8
RK
4765 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4766 * math/s_cacoshf.c: Likewise.
4767 * math/s_cacoshl.c: Likewise.
4768
ee190f67
UD
47692011-12-21 Ulrich Drepper <drepper@gmail.com>
4770
4771 [BZ #13439]
4772 * iconv/gconv.h: Define __GCONV_SWAP.
4773 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4774 * iconvdata/utf-16.c: Likewise.
4775 * iconvdata/utf-32.c: Likewise.
4776
707f25df
AS
47772011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4778
4779 [BZ #13524]
4780 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4781 numerator after shifting it by one limb.
4782
d2daaa1e
RÁE
47832011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4784
4785 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4786 under [__USE_EXTERN_INLINES].
4787
a4647e72
UD
47882011-12-17 Ulrich Drepper <drepper@gmail.com>
4789
4790 [BZ #13446]
4791 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4792
f0b264f1
AZ
47932011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4794
4795 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
4796 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
4797 optimized code.
4798 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
4799 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
4800 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
4801 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
4802 for strncasecmp/strncasecmp_l compilation.
4803 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
4804 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
4805
8ef4f244
MP
48062011-12-08 Marek Polacek <mpolacek@redhat.com>
4807
4808 [BZ #13484]
4809 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
4810 of __asm__.
4811
97ac2654
UD
48122011-12-17 Ulrich Drepper <drepper@gmail.com>
4813
4814 [BZ #13506]
4815 * time/tzfile.c (__tzfile_read): Check values from file header.
4816
91d2a845
WS
48172011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4818
4819 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
4820 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
4821 * powerpc/powerpc32/dl-start.S: Likewise.
4822 * powerpc/powerpc32/elf/start.S: Likewise.
4823 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4824 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
4825 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4826 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
4827 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4828 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
4829 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
4830 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4831 * powerpc/powerpc32/fpu/s_round.S: Likewise.
4832 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4833 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4834 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4835 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4836 * powerpc/powerpc32/memset.S: Likewise.
4837 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4838 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4839 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4840 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4841 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4842 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4843 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4844 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4845 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
4846 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
4847 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
4848 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4849 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4850
a1267ba1
AZ
48512011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4852
4853 * math/libm-test.inc: Added more nearbyint tests.
4854 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
4855 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
4856 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
4857 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
4858
ad8ac1bd
RL
48592011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
4860
4861 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
4862 FD_CLOEXEC.
4863
1d3e4b61
UD
48642011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4865
4866 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
4867 Add wcscpy-ssse3 wcscpy-c.
4868 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
4869 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
4870 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
4871 * sysdeps/x86_64/wcschr.S: New file.
4872 * sysdeps/x86_64/wcsrchr.S: New file.
4873 * string/test-strcmp.c: Remove checking of wcscmp function for
4874 wrong alignments.
4875 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
4876 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
4877 wcsrchr-sse2 wcsrchr-c.
4878 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
4879 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
4880 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
4881 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
4882 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
4883 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
4884 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
4885 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
4886 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
4887 * wcsmbc/wcschr.c (WCSCHR): New macro.
4888
5b330a2d
UD
48892011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4890
4891 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
4892 * wcsmbs/test-wcsrchr.c: New file.
4893 * string/test-strrchr.c: Add wcsrchr support.
4894 (WIDE): New macro.
4895 * wcsmbs/test-wcscpy.c: New file.
4896 * string/test-strcpy.c: Add wcscpy support.
4897 (WIDE): New macro.
26428b7c 4898
f039c043
UD
48992011-12-10 Ulrich Drepper <drepper@gmail.com>
4900
4901 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
4902 the inner loop.
4903
850fb039
AS
49042011-12-06 Andreas Schwab <schwab@linux-m68k.org>
4905
4906 [BZ #13472]
4907 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
4908
4efbd5cb
UD
49092011-12-04 Ulrich Drepper <drepper@gmail.com>
4910
52ff5dd0 4911 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 4912 Minor optimizations.
52ff5dd0 4913
4efbd5cb
UD
4914 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
4915 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
4916 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4917
8a426e12
UD
49182011-12-03 Ulrich Drepper <drepper@gmail.com>
4919
aff2453d
UD
4920 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
4921 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4922 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
4923 for gcc to avoid warnings.
4924 * inet/Makefile (tests): Add tst-checks.
4925 * inet/tst-checks.c: New file.
4926
4927 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
4928 warning.
4929
4930 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
4931 __wmemcmp_sse2.
4932
4933 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
4934 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
4935
8a426e12
UD
4936 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
4937
9bea3473
UD
49382011-12-02 Ulrich Drepper <drepper@gmail.com>
4939
3a965496
UD
4940 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
4941 problem.
4942
9bea3473
UD
4943 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
4944
f101631b
UD
49452011-11-29 Joseph Myers <joseph@codesourcery.com>
4946
4947 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
4948 conditional on GCC version.
4949 (__arch_compare_and_exchange_val_8_acq)
4950 (__arch_compare_and_exchange_val_16_acq)
4951 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
4952 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
4953 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
4954
a98275aa
UD
49552011-12-02 Joseph Myers <joseph@codesourcery.com>
4956
4957 * sysdeps/sh/backtrace.c: New file.
4958
d4cc29a2
AS
49592011-12-02 Andreas Schwab <schwab@redhat.com>
4960
4961 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
4962 parenthesis.
4963
6257af2d
AS
49642011-12-01 Andreas Schwab <schwab@redhat.com>
4965
4966 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
4967 falling back to utime.
4968
b5f44c1a
AS
49692011-11-30 Andreas Schwab <schwab@redhat.com>
4970
4971 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
4972 expectations for float.
4973
f3a6cc0a
AS
49742011-11-29 Andreas Schwab <schwab@redhat.com>
4975
4976 * locale/weight.h (findidx): Add parameter len.
4977 * locale/weightwc.h (findidx): Likewise.
4978 * posix/fnmatch_loop.c (FCT): Adjust caller.
4979 * posix/regcomp.c (build_equiv_class): Likewise.
4980 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
4981 * posix/regexec.c (check_node_accept_bytes): Likewise.
4982 * string/strcoll_l.c (STRCOLL): Likewise.
4983 * string/strxfrm_l.c (STRXFRM): Likewise.
4984
9d65ea3a
UD
49852011-11-17 Ulrich Drepper <drepper@gmail.com>
4986
4987 * Makefile.in: Remove CVSOPT handling.
4988 * configure.in: Remove use of AC_REVISION.
4989 * iconvdata/Makefile (distribute): No need to filter out CVS.
4990 * scripts/list-sources.sh: Remove CVS, subversion and monotone
4991 handling.
4992
5583a086
AS
49932011-11-16 Andreas Schwab <schwab@redhat.com>
4994
4995 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
4996 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
4997 [USE_AS_STRNCASECMP_L]: Likewise.
4998 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
4999 NO_TLS_DIRECT_SEG_REFS.
5000 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5001 Fix argument offsets for non-PIC.
5002 [USE_AS_STRNCASECMP_L]: Likewise.
5003 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5004 NO_TLS_DIRECT_SEG_REFS.
5005
d62a8200
UD
50062011-11-15 Ulrich Drepper <drepper@gmail.com>
5007
9d65ea3a 5008 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
5009 O_CLOEXEC.
5010 * locale/loadlocale.c (_nl_load_locale): Likewise.
5011
09f93bd3
AS
50122011-11-15 Andreas Schwab <schwab@redhat.com>
5013
446514f9
AS
5014 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5015 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5016 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5017 (SYSCALL_GETTIME): Set errno on error.
5018
09f93bd3
AS
5019 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5020 count references to noai6ai_cached.
5021
312be3f9
UD
50222011-11-15 Ulrich Drepper <drepper@gmail.com>
5023
5024 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5025
5026 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5027 FD_CLOEXEC for /proc/self/maps.
5028
5029 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5030 FD_CLOEXEC for /proc/meminfo.
5031
5032 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5033 gai.conf.
5034
5035 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
5036 FD_CLOEXEC for given file.
5037
5038 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5039
5040 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5041 FD_CLOEXEC for /etc/hosts.
5042 (_gethtent): Likewise.
5043
5044 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5045
5046 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5047 cancellation and set FD_CLOEXEC for /etc/netgroup.
5048
5049 * nss/nss_files/files-key.c (search): Don't allow cancellation when
5050 reading /etc/publickey.
5051
5052 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5053 allow cancellation when reading /etc/group.
5054
5055 * nss/nss_files/files-alias.c (internal_setent): Don't allow
5056 cancellation.
5057 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
5058
5059 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5060 when using data file.
5061
5062 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5063
5064 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5065 (write_nis_obj): Use "c" and "e" in fopen.
5066
5067 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5068
5069 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5070
5071 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5072
5073 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5074
5075 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5076 locale.alias.
5077
5078 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5079
5080 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5081
5082 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5083
5084 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5085 file parsing and set FD_CLOEXEC.
5086
82af0fa8
UD
50872011-11-14 Ulrich Drepper <drepper@gmail.com>
5088
5089 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5090
a5fb313c
AS
50912011-11-14 Andreas Schwab <schwab@redhat.com>
5092
5093 * malloc/arena.c (arena_get2): Don't call reused_arena when
5094 _int_new_arena failed.
5095
6abf3465
UD
50962011-11-14 Ulrich Drepper <drepper@gmail.com>
5097
5098 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5099 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5100 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5101 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5102 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5103 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5104 to compile strcasecmp and strncasecmp.
5105 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5106 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5107
5108 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5109
76e3966e
UD
51102011-11-13 Ulrich Drepper <drepper@gmail.com>
5111
5112 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5113 locale-defines.sym to gen-as-const-headers.
5114 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5115 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5116 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5117 to compile strcasecmp and strncasecmp.
5118 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5119 strcasecmp_l and strncasecmp_l.
5120 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5121 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5122 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5123 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5124 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5125 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5126 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5127 * sysdeps/i386/i686/multiarch/strncase.S: New file.
5128 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5129 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5130 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5131
ab26144e
UD
51322011-11-12 Ulrich Drepper <drepper@gmail.com>
5133
7edb22ef
UD
5134 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5135 result of SYSDEP_GETTIME_CPU to retval.
5136 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5137 parameter list to macro. Remove trailing semicolon. Adjust users.
5138
9694fc44
UD
5139 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5140 variable.
5141
8ad89ef8
UD
5142 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5143 mantissa words.
5144 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5145
0c822ef9
UD
5146 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5147 from unused variable.
5148
874e0564
UD
5149 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5150 DWARF definitions.
5151 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5152 for assembling.
5153
3a2edc79
UD
5154 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5155 over namespaces.
5156
f3c2577f
UD
5157 * sunrpc/rpc_prot.c (rejected): Fix case value.
5158
294ce126
UD
5159 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5160 unsigned long long int to avoid warnings in shift.
5161
5e2b63c6
UD
5162 * posix/regex_internal.c (re_string_reconstruct): Actually use result
5163 of use of trans.
5164 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5165 variable tmp.
5166
e7f4b08e
UD
5167 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5168 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5169 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5170
ab26144e
UD
5171 * nis/nis_table.c (nis_list): Use variable of correct type for
5172 result of __follow_path call.
5173
8a6d5255
AZ
51742011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5175
5176 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5177 of math functions ceil, trunc, floor, round, and sqrt, when
5178 avaliable on the platform.
5179 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5180 name clash.
5181 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5182 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5183 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5184
aaddc98c
MP
51852011-10-30 Marek Polacek <mpolacek@redhat.com>
5186
5187 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5188 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5189
95b7042b
RM
51902011-11-11 Roland McGrath <roland@hack.frob.com>
5191
5192 * include/unistd.h: Fix __readlink return type.
5193 Reported by Chris Metcalf <cmetcalf@tilera.com>.
5194
57769839
UD
51952011-11-11 Ulrich Drepper <drepper@gmail.com>
5196
5197 * stdlib/ucontext.h: Undo last change for makecontext.
5198
edc5984d
AS
51992011-11-11 Andreas Schwab <schwab@redhat.com>
5200
98591e58
AS
5201 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5202
edc5984d
AS
5203 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5204 * setjmp/setjmp.h: Mark functions as non-leaf.
5205 * setjmp/bits/setjmp2.h: Likewise.
5206 * stdlib/ucontext.h: Likewise.
5207
77cdc054
AS
52082011-11-10 Andreas Schwab <schwab@redhat.com>
5209
5210 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5211 (reused_arena): Don't check arena limit.
5212 (arena_get2): Atomically check arena limit.
5213
fe72eebd
UD
52142011-11-08 Ulrich Drepper <drepper@gmail.com>
5215
5f078c32
UD
5216 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5217 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5218
fe72eebd
UD
5219 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5220 instructions.
5221
ae1bc2fa
AS
52222011-11-07 Andreas Schwab <schwab@redhat.com>
5223
7583a88d
AS
5224 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5225 handler when locking.
5226
ae1bc2fa
AS
5227 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5228 Fix size of allocated buffer.
5229
10fb0bfa
AS
52302011-11-04 Andreas Schwab <schwab@redhat.com>
5231
998832a4
AS
5232 [BZ #10103]
5233 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5234 declarations for long double functions.
5235 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5236
10fb0bfa
AS
5237 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5238
3d7ba52b
AS
52392011-11-03 Andreas Schwab <schwab@redhat.com>
5240
a9ae54a1
AS
5241 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5242 installed.
5243
3d7ba52b
AS
5244 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5245 is disabled.
5246
bc8db248
ST
52472011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5248
5249 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5250
45b96dd6
AS
52512011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5252
647776f6
AS
5253 * include/alloca.h (stackinfo_alloca_round): Define.
5254 (extend_alloca): Use it.
5255 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5256 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5257 here.
5258
d91a8b93
AS
5259 * scripts/check-local-headers.sh: Ignore libaudit.h.
5260
45b96dd6
AS
5261 * nscd/Makefile (extra-objs): Make recursively expanded.
5262
432d41ce
UD
52632011-11-01 Ulrich Drepper <drepper@gmail.com>
5264
34372fc6
UD
5265 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5266 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5267
fadb59f8
UD
5268 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5269 * posix/tst-rfc3484-2.c: Likewise.
5270 * posix/tst-rfc3484-3.c: Likewise.
5271
78239589
UD
5272 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5273 process_vm_writev.
5274 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5275 process_vm_writev.
5276 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5277 process_vm_writev from libc using GLIBC_2.15 version.
5278
432d41ce
UD
5279 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5280
02f9c6cf
PP
52812011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5282
5283 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5284 stack usage.
5285
3a2c0242
UD
52862011-10-31 Ulrich Drepper <drepper@gmail.com>
5287
f4ec4833
UD
5288 [BZ #13367]
5289 * nss/getent.c (initgroups_keys): Show error message in case no group
5290 names are given.
5291
3a2c0242
UD
5292 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5293 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5294 __bump_nl_timestamp.
5295 * nscd/connections (nscd_init): When host database is served open
5296 netlink socket and request notification about configuration changes.
5297 (main_loop_poll): Track netlink file descriptor and bump timestamp
5298 in case data becomes available.
5299 (main_loop_epoll): Likewise.
5300 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5301 (database_pers_head): Add extra_data fileds.
5302 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5303 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5304 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5305 Adjust caller.
5306 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5307 in6ai data, call __free_in6ai.
5308 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5309 Add -DHAVE_NETLINK.
5310 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5311 interface information. Reuse previous data if netlink timestamp
5312 is not changed.
5313 (__bump_nl_timestamp): New function.
5314 (__free_in6ai): New function.
5315
636064eb
UD
53162011-10-30 Ulrich Drepper <drepper@gmail.com>
5317
5318 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5319 close_not_cancel_no_status here.
5320 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5321
9beb2334
UD
53222011-10-29 Ulrich Drepper <drepper@gmail.com>
5323
6ef76f3b
UD
5324 [BZ #13276]
5325 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5326 return value.
5327
0ffc4f3e 5328 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
5329 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5330 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5331
cb95113e
UD
53322011-07-03 Andreas Jaeger <aj@suse.de>
5333
5334 [BZ #10709]
5335 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5336 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5337 * math/libm-test.inc (sin_test): Add test case.
5338
a1b560ff
UD
53392011-10-29 Ulrich Drepper <drepper@gmail.com>
5340
c9aaface
UD
5341 [BZ #13337]
5342 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5343 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5344
d272e7f1
UD
5345 * elf/chroot_canon.c (chroot_canon): Cleanups.
5346
1bc33071
UD
5347 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5348
1760874d
TJ
5349 [BZ #13335]
5350 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5351 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5352
51d91b18
UD
5353 * string/test-strchr.c: Make usable for strchrnul testing.
5354 * string/test-strchrnul.c: New file.
5355 * string/Makefile (strop-tests): Add strchrnul.
5356
a1b560ff 5357 * po/it.po: Update from translation team.
b611fb81 5358 * po/es.po: Likewise.
a1b560ff 5359
a5b81e1f
UD
53602011-10-28 Ulrich Drepper <drepper@gmail.com>
5361
fd52bc6d
UD
5362 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5363 the three constants needed as parameters. Drop the others.
5364 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5365 __m128i_strloadu_tolower.
52e4b9eb
UD
5366 Create and initialize variable zero and use it in all the places
5367 where _mm_setzero_si128 was used.
fd52bc6d 5368
a5b81e1f
UD
5369 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5370 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5371 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5372 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5373 anymore.
5374 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5375 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5376 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5377 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5378 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5379 __mpranred, __mptan.
5380 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5381 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5382 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5383 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5384 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5385 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5386 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5387 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5388 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5389
b4343346
AS
53902011-10-28 Andreas Schwab <schwab@redhat.com>
5391
0c92d8a8
AS
5392 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5393 redefine if SHARED.
5394 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5395
b4343346
AS
5396 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5397 wide char related routines to wcsmbs subdir.
5398
3871f58f
AS
53992011-10-27 Andreas Schwab <schwab@redhat.com>
5400
5401 [BZ #13344]
5402 * misc/sys/cdefs.h (__THROWNL): Define.
5403 * posix/unistd.h: Use __THREADNL instead of __THREAD
5404 for memory synchronization functions.
5405
94d44d9f
RM
54062011-10-26 Roland McGrath <roland@hack.frob.com>
5407
21b64b15 5408 [BZ #13349]
94d44d9f
RM
5409 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5410 doesn't exist.
5411 * manual/stdio.texi (Obstack Streams): Node removed.
5412
f6ce9294
AS
54132011-10-26 Andreas Schwab <schwab@redhat.com>
5414
80479147
AS
5415 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5416 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5417 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5418
f6ce9294
AS
5419 * math/math_private.h (math_force_eval): Allow non-addressable
5420 arguments.
5421 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5422
618280a1
UD
54232011-10-25 Ulrich Drepper <drepper@gmail.com>
5424
e0016b11
UD
5425 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5426 file is not needed.
5427
5428 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5429 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5430 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5431 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5432 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5433 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5434 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5435 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5436 Add AVX variants.
5437 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5438 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5439 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5440 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5441 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5442 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5443 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5444 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5445 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5446 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5447 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5448 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5449 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5450 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5451 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5452 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5453 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5454 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5455 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5456
5457 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5458 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5459
618280a1
UD
5460 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5461 place. Use VEX encoding when compiling for AVX.
5462
37822576
AS
54632011-10-25 Andreas Schwab <schwab@redhat.com>
5464
1f1e1947
AS
5465 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5466 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5467
37822576
AS
5468 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5469
31ea014d
UD
54702011-10-25 Ulrich Drepper <drepper@gmail.com>
5471
d7826aa1 5472 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 5473 useless if() expression.
d7826aa1
UD
5474 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5475 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5476 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5477 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5478 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5479 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5480 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5481 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5482 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5483 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5484 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5485 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5486 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5487 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5488 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5489 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5490 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5491 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5492 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5493
31ea014d
UD
5494 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5495
16437fec
AS
54962011-10-25 Andreas Schwab <schwab@redhat.com>
5497
5498 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5499 condition.
5500 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5501
31d3cc00
UD
55022011-10-25 Ulrich Drepper <drepper@gmail.com>
5503
5504 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5505 .text section. Avoid duplicate constants.
5506 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5507 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5508 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5509 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5510 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5511 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5512 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5513 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5514 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5515 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5516 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5517 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5518 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5519 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5520 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5521 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5522 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5523 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5524 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5525 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5526 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5527 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5528 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5529 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5530 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5531 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5532 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5533 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5534 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5535 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5536 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5537 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5538 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5539 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5540 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5541 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5542 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5543 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5544 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5545 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5546 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5547 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5548 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5549 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5550 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5551
58985aa9
UD
55522011-10-24 Ulrich Drepper <drepper@gmail.com>
5553
202c9deb
UD
5554 * sysdeps/x86_64/dla.h: Move to ...
5555 * sysdeps/x86_64/fpu/dla.h: ...here.
5556 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5557 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 5558
af968f62
UD
5559 * config.make.in: Add have-mfma4 entry.
5560 * configure.in: Substitute libc_cv_cc_fma4.
5561 * math/Makefile (dbl-only-routines): Add sincostab.
5562 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5563 Use __sincostab not sincos.
5564 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5565 name is a macro.
5566 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5567 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5568 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5569 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5570 using __copysign.
5571 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5572 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5573 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5574 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5575 and __inv.
5576 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5577 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5578 __copysign.
5579 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5580 define aliases when function name is a macro.
5581 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5582 sysdeps/ieee754/dbl-64/sincos.tbl.
5583 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5584 fma4-enabled routines.
5585 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5586 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5587 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5588 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5589 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5590 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5591 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5592 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5593 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5594 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5595 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5596 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5597 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5598 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5599 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5600 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5601 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5602 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5603 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5604 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5605 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5606 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5607 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5608 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5609 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5610 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5611 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5612 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5613 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5614 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5615
58985aa9
UD
5616 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5617 rename.
5618 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5619 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5620 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5621 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5622 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5623 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5624 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5625 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5626
a201fbcf
AS
56272011-10-24 Andreas Schwab <schwab@redhat.com>
5628
5629 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5630
fc2ee42a
LD
56312011-10-23 Ulrich Drepper <drepper@gmail.com>
5632
bb3129bd
UD
5633 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5634
0275fff8
UD
5635 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5636 prediction.
5637 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5638
2fa2ae85
UD
5639 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5640 Remove unused variable magic_bits.
5641 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5642
fc2ee42a
LD
5643 * string/strnlen.c: Define and use STRNLEN macro.
5644 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5645 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5646 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5647 * wcsmbs/wcslen.c: Define and use WCSLEN.
5648 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5649 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5650 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5651 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5652 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5653 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5654 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5655
ce7dd29f
LD
56562011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5657
5658 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5659 strnlen-sse2-no-bsf.
5660 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5661 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5662 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5663 Add strnlen support.
5664 (USE_AS_STRNLEN): New macro.
5665 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5666 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5667 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5668 * sysdeps/x86_64/wcslen.S: New file.
5669
979c70a3
MZ
56702011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5671
5672 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5673 XMM-moves are used for copying on small sizes.
5674
2d09f82f
LD
56752011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5676
5677 * wcsmbs/Makefile (strop-tests): Add wcschr.
5678 * wcsmbs/test-wcschr.c: New file.
5679 * string/test-strchr.c: Update.
5680 Add wcschr support.
5681 (WIDE): New macro.
5682
619fccca
LD
56832011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5684
2d09f82f 5685 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
5686 * wcsmbs/test-wcslen.c: New file.
5687 * string/test-strlen.c: Update.
5688 Add wcslen support.
5689 (WIDE): New macro.
5690
09f699ea
UD
56912011-10-23 Ulrich Drepper <drepper@gmail.com>
5692
5693 * po/it.po: Update from translation team.
5694
95584d3b
LD
56952011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5696
5697 * sysdeps/x86_64/wcscmp.S: Update.
5698 Fix wrong comparison semantics.
5699 wcscmp shall use signed comparison not unsigned.
5700 Don't use substraction to avoid overflow bug.
5701 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5702 * wcsmbc/wcscmp.c: Likewise.
5703 * string/test-strcmp.c: Likewise.
5704 Add new tests to check cases with negative values.
5705
c8b3296b
UD
57062011-10-23 Ulrich Drepper <drepper@gmail.com>
5707
5708 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5709 * sysdeps/x86_64/dla.h: ...here. New file.
5710 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5711 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5712 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5713 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5714 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5715 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5716 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5717 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5718 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5719
246ad57a
AS
57202011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5721
5722 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5723 __ynl_finite aliases.
5724
a1a87169
UD
57252011-10-22 Ulrich Drepper <drepper@gmail.com>
5726
0d355eb7
UD
5727 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5728
a1a87169
UD
5729 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5730 define DLA_FMA.
5731 [DLA_FMA] (EMULV): Use DLA_FMA.
5732 [DLA_FMA] (MUL12): Use EMULV.
5733 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5734 that are not needed.
5735 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5736 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5737 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5738 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5739 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5740 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5741 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5742
ee2aafe0
AS
57432011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5744
5745 * math/s_nan.c: Undef __nan.
5746 * math/s_nanf.c: Undef __nanf.
5747 * math/s_nanl.c: Undef __nanl.
5748 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5749 "math_private.h".
5750
bc62c2fb
UD
57512011-10-22 Ulrich Drepper <drepper@gmail.com>
5752
77425c63
UD
5753 * math/s_catan.c: Add branch predictions.
5754 * math/s_catanf.c: Likewise.
5755 * math/s_catanh.c: Likewise.
5756 * math/s_catanhf.c: Likewise.
5757 * math/s_catanhl.c: Likewise.
5758 * math/s_catanl.c: Likewise.
5759 * math/s_cexp.c: Likewise.
5760 * math/s_cexpf.c: Likewise.
5761 * math/s_cexpl.c: Likewise.
5762 * math/s_clog.c: Likewise.
5763 * math/s_clog10.c: Likewise.
5764 * math/s_clog10f.c: Likewise.
5765 * math/s_clog10l.c: Likewise.
5766 * math/s_clogf.c: Likewise.
5767 * math/s_clogl.c: Likewise.
5768 * math/s_csqrt.c: Likewise.
5769 * math/s_csqrtf.c: Likewise.
5770 * math/s_csqrtl.c: Likewise.
5771 * math/s_ctanf.c: Likewise.
5772 * math/s_ctanh.c: Likewise.
5773 * math/s_ctanhf.c: Likewise.
5774 * math/s_ctanhl.c: Likewise.
5775 * math/s_ctanl.c: Likewise.
5776
bc62c2fb
UD
5777 * math/math_private.h: Define __nan, __nanf, __nanl.
5778 * math/s_cacosh.c: Include <math_private.h>.
5779 * math/s_cacoshl.c: Likewise.
5780 * math/s_casinh.c: Likewise.
5781 * math/s_casinhf.c: Likewise.
5782 * math/s_casinhl.c: Likewise.
5783 * math/s_ccos.c: Rely entire on ccosh.
5784 * math/s_ccosf.c: Rely entire on ccoshf.
5785 * math/s_ccosl.c: Rely entirely on ccoshl.
5786 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5787 Remove tests for FE_INVALID.
5788 * math/s_ccoshf.c: Likewise.
5789 * math/s_ccoshl.c: Likewise.
5790 * math/s_csin.c: Likewise.
5791 * math/s_csinf.c: Likewise.
5792 * math/s_csinh.c Likewise.
5793 * math/s_csinhf.c: Likewise.
5794 * math/s_csinhl.c: Likewise.
5795 * math/s_csinl.c: Likewise.
5796 * math/s_ctan.c: Likewise.
5797 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
5798 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
5799 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
5800
8ec250a4
UD
58012011-10-21 Ulrich Drepper <drepper@gmail.com>
5802
c196fed8
UD
5803 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
5804 compilation problems.
5805
8ec250a4
UD
5806 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
5807 __builtin_expect.
5808
8d4f46c6
UD
58092011-10-20 Ulrich Drepper <drepper@gmail.com>
5810
ed72b654
UD
5811 * sysdeps/i386/configure.in: Test for -mfma4 option.
5812 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
5813 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
5814 COMMON_CPUID_INDEX_80000001.
5815 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
5816 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
5817 use it if FMA3 is not supported.
5818 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5819
8d4f46c6
UD
5820 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
5821 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5822
d45c60c2
AS
58232011-10-20 Andreas Schwab <schwab@redhat.com>
5824
5825 [BZ #12892]
5826 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
5827 it would create a cycle with a link time dependency.
5828
d9a4d2ab
UD
58292011-10-19 Ulrich Drepper <drepper@gmail.com>
5830
855d1560
UD
5831 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
5832 instruction.
5833 * string/Makefile (strop-tests): Add rawmemchr.
5834 * string/test-rawmemchr.c: New file.
5835
d9a4d2ab
UD
5836 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
5837 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
5838 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
5839 when compiling str{,n}casecmp and when AVX is available. Hook up
5840 new optimized code in initializers.
5841
8f3b1ffe
AS
58422011-10-19 Andreas Schwab <schwab@redhat.com>
5843
5844 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
5845 __feraiseexcept instead of feraiseexcept.
5846
d38f1dba
UD
58472011-10-18 Ulrich Drepper <drepper@gmail.com>
5848
d9a8d0ab
UD
5849 * math/math_private.h: Define defaults for libc_fetestexcept and
5850 libc_feupdateenv.
5851 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
5852 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5853 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5854 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5855 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5856 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5857 libc_fetestexcept and libc_feupdateenv.
5858
4855e3dd
UD
5859 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
5860 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
5861 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
5862 * sysdeps/x86_64/fpu/math_private.h: Define special version of
5863 libc_feholdexcept_setround.
5864
581d30e3
UD
5865 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
5866 Add s_nearbyint-c and s_nearbyintf-c.
5867 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
5868 nearbyintf inlines.
5869 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
5870 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
5871 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
5872 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
5873
d38f1dba
UD
5874 * math/math_private.h: Define defaults for libc_fegetround,
5875 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
5876 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
5877 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
5878 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
5879 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
5880 standard functions.
5881 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5882 Remove comments and hacks for old compiler versions.
5883 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5884 libc_fegetround, libc_fesetround, libc_feholdexcept, and
5885 libc_feholdexceptl.
5886
caa6c9d8
AS
58872011-10-18 Andreas Schwab <schwab@redhat.com>
5888
5889 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
5890 (__feraiseexcept_renamed): Add __NTH.
5891 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
5892 namespace violations.
5893
97c066e6
UD
58942011-10-17 Ulrich Drepper <drepper@gmail.com>
5895
99ce7b04
UD
5896 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
5897
1004d182
UD
5898 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
5899
228a984d
UD
5900 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
5901 recently added interfaces.
5902 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
5903
c8553a6a
UD
5904 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
5905 about macro parameter expansion.
5906
ed22dcf6
UD
5907 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
5908 __NO_MATH_INLINES is defined. Cleanups.
5909
5910 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
5911 and __floorf is target has SSE4.1.
5912 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
5913 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
5914 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
5915 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
5916
b171c137
UD
5917 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
5918 name.
5919 (floorf): Likewise.
5920
97c066e6
UD
5921 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
5922
629f62ef
AS
59232011-10-17 Andreas Schwab <schwab@redhat.com>
5924
49a43d80
AS
5925 * misc/sys/cdefs.h: Fix last change.
5926
629f62ef
AS
5927 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
5928 database lookup.
5929
e453f6cd
UD
59302011-10-16 Ulrich Drepper <drepper@gmail.com>
5931
aa78043a
UD
5932 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
5933
ad0f5cad
UD
5934 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
5935 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5936 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5937 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5938 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5939 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5940 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5941 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5942 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5943 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
5944 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
5945 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
5946 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
5947 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
5948 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
5949 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
5950 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
5951 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
5952 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
5953 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
5954 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
5955 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
5956
5957 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
5958 ceil, ceilf, floor, floorf.
5959
5960 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
5961 Perform IRELATIVE relocations last.
5962
e453f6cd
UD
5963 * elf/do-rel.h: Add another parameter nrelative, replacing the
5964 local variable with the same name. Change name of the function
5965 to end in Rel or Rela (uppercase).
5966 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
5967 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
5968 elf_dynamic_do_##reloc function.
5969
fd5bdc09
UD
59702011-10-15 Ulrich Drepper <drepper@gmail.com>
5971
79b195b5
UD
5972 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
5973 is sufficient, at least on modern CPUs.
5974
d4a28569
UD
5975 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
5976
b61099b5
UD
5977 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
5978 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
5979
bcf01e6d
UD
5980 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
5981 __expl_finite.
5982 * math/bits/math-finite.h: Add entries for exp.
5983 * math/e_expl.c: Add __*_finite alias.
5984 * sysdeps/i386/fpu/e_exp.S: Likewise.
5985 * sysdeps/i386/fpu/e_expf.S: Likewise.
5986 * sysdeps/i386/fpu/e_expl.c: Likewise.
5987 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5988 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5989 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5990 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5991 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
5992 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5993 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5994
ba1a0d59
UD
5995 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
5996 is sufficient, at least on modern CPUs.
5997
fd5bdc09
UD
5998 * ctype/ctype-info.c (__ctype_init): Define.
5999 * include/ctype.h (__ctype_init): Declare.
6000 (__ctype_b_loc): The variable is always initialized.
6001 (__ctype_toupper_loc): Likewise.
6002 (__ctype_tolower_loc): Likewise.
6003 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6004 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6005
7872cfb0
AS
60062011-10-15 Andreas Schwab <schwab@linux-m68k.org>
6007
b468825a
AS
6008 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6009
7872cfb0
AS
6010 * configure.in: Also look in $cxxmachine/include for C++ system
6011 headers.
6012
be13f7bf
LD
60132011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6014
6015 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6016 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6017 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6018 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
6019 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6020 (USE_AS_WMEMCMP): New macro.
6021 Fixing indents.
6022 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6023 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6024 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6025 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6026 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6027 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6028 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6029 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6030 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6031 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6032 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6033 (USE_AS_WMEMCMP): New macro.
6034 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6035 * sysdeps/string/test-memcmp.c: Update.
6036 Fix simple_wmemcmp.
6037 Add new tests.
6038 * wcsmbs/wmemcmp.c: Update.
6039 (WMEMCMP): New macro.
6040 Fix overflow bug.
6041
556a2007
AJ
60422011-10-12 Andreas Jaeger <aj@suse.de>
6043
6044 [BZ #13268]
6045 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6046
538faaa7
UD
60472011-10-15 Ulrich Drepper <drepper@gmail.com>
6048
ab6737ff
UD
6049 * libio/iofwide.c (do_length): Avoid warning.
6050
538faaa7
UD
6051 * ctype/ctype.h (__isctype_f): Add missing __THROW.
6052
396a21b1
UD
60532011-10-14 Ulrich Drepper <drepper@gmail.com>
6054
cdf2901f
UD
6055 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6056
38ad40ce
UD
6057 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6058 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6059 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6060 * sysdeps/i386/i686/fpu/e_log.S: New file.
6061 * sysdeps/i386/i686/fpu/e_logf.S: New file.
6062 * sysdeps/i386/i686/fpu/e_logl.S: New file.
6063
396a21b1
UD
6064 * ctype/ctype.h: Add support for inlined isXXX functions when
6065 compiling C++ code.
6066
6b1f68c9
AS
60672011-10-14 Andreas Schwab <schwab@redhat.com>
6068
349290c0
AS
6069 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6070
6b1f68c9
AS
6071 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6072
f2282d42
RM
60732011-10-13 Roland McGrath <roland@hack.frob.com>
6074
6075 [BZ #13291]
6076 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6077
5298ffa8
AS
60782011-10-13 Andreas Schwab <schwab@redhat.com>
6079
714fad23
AS
6080 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6081 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6082 feraiseexcept.
6083
81dcc7fb
AS
6084 * sysdeps/x86_64/memrchr.S: Check for zero size.
6085
5298ffa8
AS
6086 * string/stratcliff.c: Add memrchr tests.
6087
951fbcec
LD
60882011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6089
6090 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6091 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6092 rawmemchr-sse2 rawmemchr-sse2-bsf.
6093 * sysdeps/i386/i686/multiarch/memchr.S: New file.
6094 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6095 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6096 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6097 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6098 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6099 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6100 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6101 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6102 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6103 * string/memrchr.c (MEMRCHR): New macro.
6104
0ac5ae23
UD
61052011-10-12 Ulrich Drepper <drepper@gmail.com>
6106
6107 Add integration with gcc's -ffinite-math-only and optimize wrapper
6108 functions in libm.
6109 * Versions.def: Define GLIBC_2.15 version for libm.
6110 * math/Makefile (headers): Add bits/math-finite.h.
6111 * math/bits/math-finite.h: New file.
6112 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6113 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6114 * math/e_acoshl.c: Add __*_finite alias.
6115 * math/e_acosl.c: Likewise.
6116 * math/e_asinl.c: Likewise.
6117 * math/e_atan2l.c: Likewise.
6118 * math/e_atanhl.c: Likewise.
6119 * math/e_coshl.c: Likewise.
6120 * math/e_exp10.c: Likewise.
6121 * math/e_exp10f.c: Likewise.
6122 * math/e_exp10l.c: Likewise.
6123 * math/e_exp2l.c: Likewise.
6124 * math/e_fmodl.c: Likewise.
6125 * math/e_gammal_r.c: Likewise.
6126 * math/e_hypotl.c: Likewise.
6127 * math/e_j0l.c: Likewise.
6128 * math/e_j1l.c: Likewise.
6129 * math/e_jnl.c: Likewise.
6130 * math/e_lgammal_r.c: Likewise.
6131 * math/e_log10l.c: Likewise.
6132 * math/e_log2l.c: Likewise.
6133 * math/e_logl.c: Likewise.
6134 * math/e_powl.c: Likewise.
6135 * math/e_sinhl.c: Likewise.
6136 * math/e_sqrtl.c: Likewise.
6137 * math/e_scalb.c: Completely rewritten and optimized.
6138 * math/e_scalbf.c: Likewise.
6139 * math/e_scalbl.c: Likewise.
6140 * math/w_acos.c: Likewise.
6141 * math/w_acosf.c: Likewise.
6142 * math/w_acosl.c: Likewise.
6143 * math/w_acosh.c: Likewise.
6144 * math/w_acoshf.c: Likewise.
6145 * math/w_acoshl.c: Likewise.
6146 * math/w_asin.c: Likewise.
6147 * math/w_asinf.c: Likewise.
6148 * math/w_asinl.c: Likewise.
6149 * math/w_atan2.c: Likewise.
6150 * math/w_atan2f.c: Likewise.
6151 * math/w_atan2l.c: Likewise.
6152 * math/w_atanh.c: Likewise.
6153 * math/w_atanhf.c: Likewise.
6154 * math/w_atanhl.c: Likewise.
6155 * math/w_exp10.c: Likewise.
6156 * math/w_exp10f.c: Likewise.
6157 * math/w_exp10l.c: Likewise.
6158 * math/w_fmod.c: Likewise.
6159 * math/w_fmodf.c: Likewise.
6160 * math/w_fmodl.c: Likewise.
6161 * math/w_j0.c: Likewise.
6162 * math/w_j0f.c: Likewise.
6163 * math/w_j0l.c: Likewise.
6164 * math/w_j1.c: Likewise.
6165 * math/w_j1f.c: Likewise.
6166 * math/w_j1l.c: Likewise.
6167 * math/w_jn.c: Likewise.
6168 * math/w_jnf.c: Likewise.
6169 * math/w_log.c: Likewise.
6170 * math/w_logf.c: Likewise.
6171 * math/w_logl.c: Likewise.
6172 * math/w_log10.c: Likewise.
6173 * math/w_log10f.c: Likewise.
6174 * math/w_log10l.c: Likewise.
6175 * math/w_log2.c: Likewise.
6176 * math/w_log2f.c: Likewise.
6177 * math/w_log2l.c: Likewise.
6178 * math/w_pow.c: Likewise.
6179 * math/w_powf.c: Likewise.
6180 * math/w_powl.c: Likewise.
6181 * math/w_remainder.c: Likewise.
6182 * math/w_remainderf.c: Likewise.
6183 * math/w_remainderl.c: Likewise.
6184 * math/w_scalb.c: Likewise.
6185 * math/w_scalbf.c: Likewise.
6186 * math/w_scalbl.c: Likewise.
6187 * math/w_sqrt.c: Likewise.
6188 * math/w_sqrtf.c: Likewise.
6189 * math/w_sqrtl.c: Likewise.
6190 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6191 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
6192 used.
6193 * math/math_private.h: Declare __kernel_standard_f.
6194 * math/w_cosh.c: Remove cruft and optimize a bit.
6195 * math/w_coshf.c: Likewise.
6196 * math/w_coshl.c: Likewise.
6197 * math/w_exp2.c: Likewise.
6198 * math/w_exp2f.c: Likewise.
6199 * math/w_exp2l.c: Likewise.
6200 * math/w_hypot.c: Likewise.
6201 * math/w_hypotf.c: Likewise.
6202 * math/w_hypotl.c: Likewise.
6203 * math/w_lgamma.c: Likewise.
6204 * math/w_lgamma_r.c: Likewise.
6205 * math/w_lgammaf.c: Likewise.
6206 * math/w_lgammaf_r.c: Likewise.
6207 * math/w_lgammal.c: Likewise.
6208 * math/w_lgammal_r.c: Likewise.
6209 * math/w_sinh.c: Likewise.
6210 * math/w_sinhf.c: Likewise.
6211 * math/w_sinhl.c: Likewise.
6212 * math/w_tgamma.c: Likewise.
6213 * math/w_tgammaf.c: Likewise.
6214 * math/w_tgammal.c: Likewise.
6215 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6216 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6217 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6218 Minor optimizations. Pretty printing. Remove cruft.
6219 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6220 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6221 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6222 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6223 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6224 * sysdeps/i386/fpu/e_asin.S: Likewise.
6225 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6226 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6227 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6228 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6229 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6230 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6231 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6232 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6233 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6234 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6235 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6236 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6237 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6238 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6239 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6240 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6241 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6242 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6243 * sysdeps/i386/fpu/e_log.S: Likewise.
6244 * sysdeps/i386/fpu/e_log10.S: Likewise.
6245 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6246 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6247 * sysdeps/i386/fpu/e_log2.S: Likewise.
6248 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6249 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6250 * sysdeps/i386/fpu/e_logf.S: Likewise.
6251 * sysdeps/i386/fpu/e_logl.S: Likewise.
6252 * sysdeps/i386/fpu/e_pow.S: Likewise.
6253 * sysdeps/i386/fpu/e_powf.S: Likewise.
6254 * sysdeps/i386/fpu/e_powl.S: Likewise.
6255 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6256 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6257 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6258 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6259 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6260 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6261 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6262 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6263 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6264 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6265 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6266 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6267 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6268 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6269 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6270 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6271 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6272 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6273 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6274 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6275 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6276 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6277 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6278 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6279 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6280 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6281 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6282 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6283 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6284 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6285 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6286 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6287 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6288 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6289 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6290 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6291 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6292 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6293 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6294 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6295 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6296 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6297 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6298 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6299 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6300 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6301 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6302 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6303 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6304 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6305 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6306 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6307 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6308 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6309 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6310 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6311 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6312 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6313 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6314 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6315 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6316 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6317 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6318 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6319 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6320 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6321 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6322 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6323 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6324 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6325 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6326 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6327 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6328 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6329 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6330 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6331 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6332 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6333 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6334 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6335 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6336 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6337 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6338 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6339 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6340 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6341 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6342 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6343 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6344 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6345 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6346 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6347 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6348 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6349 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6350 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6351 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6352 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6353 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6354 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6355 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6356 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6357 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6358 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6359 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6360 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6361 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6362 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6363 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6364 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6365 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6366 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6367 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6368 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6369 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6370 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6371 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6372 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6373 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6374 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6375 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6376 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6377 (__isnanf): Likewise.
6378 (__isinf_ns): Likewise.
6379 (__isinf_nsf): Likewise.
6380 (__finite): Likewise.
6381 (__finitef): Likewise.
6382 (__ieee754_sqrt): Define as macro.
6383 (__ieee754_sqrtf): Define as macro.
6384 (__ieee754_sqrtl): Define as macro.
6385 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6386 inlined copy.
6387 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6388 __FINITE_MATH_ONLY__ consistent.
6389 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6390
12cc2fcd
AS
63912011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6392
a843a204
AS
6393 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6394 of rawmemchr.
6395
12cc2fcd
AS
6396 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6397
c853acd5
UD
63982011-10-09 Ulrich Drepper <drepper@gmail.com>
6399
6400 * po/ja.po: Update from translation team.
6401
c658d255
RM
64022011-10-08 Roland McGrath <roland@hack.frob.com>
6403
110946e4
RM
6404 * locale/programs/locarchive.c (prepare_address_space): New function.
6405 (create_archive, enlarge_archive, open_archive): Use it.
6406
50604220
RM
6407 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6408 inside [SHARED], where it is used.
6409
c658d255
RM
6410 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6411
6412 * nss/getent.c (netgroup_keys): Remove unused variable.
6413 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6414
6a621eb7
UD
64152011-10-08 Ulrich Drepper <drepper@gmail.com>
6416
7edb55ce
UD
6417 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6418 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6419 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6420 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6421 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6422 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6423 * math/Makefile (libm-calls): Add s_isinf_ns.
6424 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6425 * math/multc3.c: Likewise.
6426 * math/s_casin.c: Likewise.
6427 * math/s_casinf.c: Likewise.
6428 * math/s_casinl.c: Likewise.
6429 * math/s_ccos.c: Likewise.
6430 * math/s_ccosf.c: Likewise.
6431 * math/s_ccosl.c: Likewise.
6432 * math/s_ctan.c: Likewise.
6433 * math/s_ctanf.c: Likewise.
6434 * math/s_ctanh.c: Likewise.
6435 * math/s_ctanhf.c: Likewise.
6436 * math/s_ctanhl.c: Likewise.
6437 * math/s_ctanl.c: Likewise.
6438 * math/w_fmod.c: Likewise.
6439 * math/w_fmodf.c: Likewise.
6440 * math/w_fmodl.c: Likewise.
6441 * math/w_remainder.c: Likewise.
6442 * math/w_remainderf.c: Likewise.
6443 * math/w_remainderl.c: Likewise.
6444 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6445 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6446 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6447 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6448 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6449 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6450 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6451 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6452
187da0ae
UD
6453 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6454 of the number.
6455 * stdio-common/printf_fphex.c: Likewise.
6456 * stdio-common/printf_size.c: Likewise.
6457
9277c064
UD
6458 * math/e_exp10.c: Include math_private.h using <...> not "...".
6459 * math/e_exp10f.c: Likewise.
6460 * math/e_exp10l.c: Likewise.
6461 * math/e_exp2l.c: Likewise.
6462 * math/e_j0l.c: Likewise.
6463 * math/e_j1l.c: Likewise.
6464 * math/e_jnl.c: Likewise.
6465 * math/e_lgammal_r.c: Likewise.
6466 * math/e_rem_pio2l.c: Likewise.
6467 * math/e_scalb.c: Likewise.
6468 * math/e_scalbf.c: Likewise.
6469 * math/e_scalbl.c: Likewise.
6470 * math/k_cosl.c: Likewise.
6471 * math/k_sinl.c: Likewise.
6472 * math/k_tanl.c: Likewise.
6473 * math/s_cacoshf.c: Likewise.
6474 * math/s_catan.c: Likewise.
6475 * math/s_catanf.c: Likewise.
6476 * math/s_catanh.c: Likewise.
6477 * math/s_catanhf.c: Likewise.
6478 * math/s_catanhl.c: Likewise.
6479 * math/s_catanl.c: Likewise.
6480 * math/s_ccosh.c: Likewise.
6481 * math/s_ccoshf.c: Likewise.
6482 * math/s_ccoshl.c: Likewise.
6483 * math/s_cexp.c: Likewise.
6484 * math/s_cexpf.c: Likewise.
6485 * math/s_cexpl.c: Likewise.
6486 * math/s_clog.c: Likewise.
6487 * math/s_clog10.c: Likewise.
6488 * math/s_clog10f.c: Likewise.
6489 * math/s_clog10l.c: Likewise.
6490 * math/s_clogf.c: Likewise.
6491 * math/s_clogl.c: Likewise.
6492 * math/s_csin.c: Likewise.
6493 * math/s_csinf.c: Likewise.
6494 * math/s_csinh.c: Likewise.
6495 * math/s_csinhf.c: Likewise.
6496 * math/s_csinhl.c: Likewise.
6497 * math/s_csinl.c: Likewise.
6498 * math/s_csqrt.c: Likewise.
6499 * math/s_csqrtf.c: Likewise.
6500 * math/s_csqrtl.c: Likewise.
6501 * math/s_ctan.c: Likewise.
6502 * math/s_ctanf.c: Likewise.
6503 * math/s_ctanh.c: Likewise.
6504 * math/s_ctanhf.c: Likewise.
6505 * math/s_ctanhl.c: Likewise.
6506 * math/s_ctanl.c: Likewise.
6507 * math/s_ldexp.c: Likewise.
6508 * math/s_ldexpf.c: Likewise.
6509 * math/s_ldexpl.c: Likewise.
6510 * math/s_significand.c: Likewise.
6511 * math/s_significandf.c: Likewise.
6512 * math/s_significandl.c: Likewise.
6513 * math/w_acos.c: Likewise.
6514 * math/w_acosf.c: Likewise.
6515 * math/w_acosh.c: Likewise.
6516 * math/w_acoshf.c: Likewise.
6517 * math/w_acoshl.c: Likewise.
6518 * math/w_acosl.c: Likewise.
6519 * math/w_asin.c: Likewise.
6520 * math/w_asinf.c: Likewise.
6521 * math/w_asinl.c: Likewise.
6522 * math/w_atan2.c: Likewise.
6523 * math/w_atan2f.c: Likewise.
6524 * math/w_atan2l.c: Likewise.
6525 * math/w_atanh.c: Likewise.
6526 * math/w_atanhf.c: Likewise.
6527 * math/w_atanhl.c: Likewise.
6528 * math/w_cosh.c: Likewise.
6529 * math/w_coshf.c: Likewise.
6530 * math/w_coshl.c: Likewise.
6531 * math/w_dremf.c: Likewise.
6532 * math/w_exp10.c: Likewise.
6533 * math/w_exp10f.c: Likewise.
6534 * math/w_exp10l.c: Likewise.
6535 * math/w_exp2.c: Likewise.
6536 * math/w_exp2f.c: Likewise.
6537 * math/w_fmod.c: Likewise.
6538 * math/w_fmodf.c: Likewise.
6539 * math/w_fmodl.c: Likewise.
6540 * math/w_hypot.c: Likewise.
6541 * math/w_hypotf.c: Likewise.
6542 * math/w_hypotl.c: Likewise.
6543 * math/w_j0.c: Likewise.
6544 * math/w_j0f.c: Likewise.
6545 * math/w_j0l.c: Likewise.
6546 * math/w_j1.c: Likewise.
6547 * math/w_j1f.c: Likewise.
6548 * math/w_j1l.c: Likewise.
6549 * math/w_jn.c: Likewise.
6550 * math/w_jnf.c: Likewise.
6551 * math/w_jnl.c: Likewise.
6552 * math/w_lgamma.c: Likewise.
6553 * math/w_lgamma_r.c: Likewise.
6554 * math/w_lgammaf.c: Likewise.
6555 * math/w_lgammaf_r.c: Likewise.
6556 * math/w_lgammal.c: Likewise.
6557 * math/w_lgammal_r.c: Likewise.
6558 * math/w_log.c: Likewise.
6559 * math/w_log10.c: Likewise.
6560 * math/w_log10f.c: Likewise.
6561 * math/w_log10l.c: Likewise.
6562 * math/w_log2.c: Likewise.
6563 * math/w_log2f.c: Likewise.
6564 * math/w_log2l.c: Likewise.
6565 * math/w_logf.c: Likewise.
6566 * math/w_logl.c: Likewise.
6567 * math/w_pow.c: Likewise.
6568 * math/w_powf.c: Likewise.
6569 * math/w_powl.c: Likewise.
6570 * math/w_remainder.c: Likewise.
6571 * math/w_remainderf.c: Likewise.
6572 * math/w_remainderl.c: Likewise.
6573 * math/w_scalb.c: Likewise.
6574 * math/w_scalbf.c: Likewise.
6575 * math/w_scalbl.c: Likewise.
6576 * math/w_sinh.c: Likewise.
6577 * math/w_sinhf.c: Likewise.
6578 * math/w_sinhl.c: Likewise.
6579 * math/w_sqrt.c: Likewise.
6580 * math/w_sqrtf.c: Likewise.
6581 * math/w_sqrtl.c: Likewise.
6582 * math/w_tgamma.c: Likewise.
6583 * math/w_tgammaf.c: Likewise.
6584 * math/w_tgammal.c: Likewise.
6585
6a621eb7
UD
6586 * po/ja.po: Update from translation team.
6587
bf582445
AJ
65882011-09-29 Andreas Jaeger <aj@suse.de>
6589
f9efbf3a
AJ
6590 [BZ #13179]
6591 * sunrpc/netname.c (netname2host): Fix logic.
6592
bf582445
AJ
6593 [BZ #6779]
6594 [BZ #6783]
6595 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6596 correctly.
6597 * math/w_remainder.c (__remainder): Likewise.
6598 * math/w_remainderf.c (__remainderf): Likewise.
6599 * math/libm-test.inc (remainder_test): Add test cases.
6600
48693bea
AK
66012011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6602
6603 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6604 sdiv_qrnnd.
6605
42622229
LD
66062011-10-07 Ulrich Drepper <drepper@gmail.com>
6607
6608 * string/test-memcmp.c: Avoid unncessary #defines.
6609 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6610
093ecf92
LD
66112011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6612
6613 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6614 Use new sse2 version for core i3 - i7 as it's faster
6615 than sse42 version.
6616 (bit_Prefer_PMINUB_for_stringop): New.
6617 * sysdeps/x86_64/rawmemchr.S: Update.
6618 Replace with faster SSE2 version.
6619 * sysdeps/x86_64/memrchr.S: New file.
6620 * sysdeps/x86_64/memchr.S: Update.
6621 Replace with faster SSE2 version.
6622
fde56e5c
MP
66232011-09-12 Marek Polacek <mpolacek@redhat.com>
6624
6625 * elf/dl-load.c (lose): Add cast to avoid warning.
6626
21fd49a9
UD
66272011-10-07 Ulrich Drepper <drepper@gmail.com>
6628
5a06e643
UD
6629 * po/ca.po: Update from translation team.
6630
684ae515
UD
6631 * inet/getnetgrent_r.c: Hook up nscd.
6632 * nscd/Makefile (routines): Add nscd_netgroup.
6633 (nscd-modules): Add netgroupcache.
6634 (CFLAGS-netgroupcache.c): Define.
6635 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6636 (cache_search): Add const to second parameter.
6637 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6638 INNETGR.
6639 (dbs): Add netgrdb entry.
6640 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6641 (verify_persistent_db): Handle netgrdb.
6642 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6643 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6644 GETFDNETGR.
6645 (netgroup_response_header): Define.
6646 (innetgroup_response_header): Define.
6647 (datahead): Add netgroup_response_header and innetgroup_response_header
6648 elements.
6649 * nscd/nscd.conf: Add entries for netgroup cache.
6650 * nscd/nscd.h (dbtype): Add netgrdb.
6651 (_PATH_NSCD_NETGROUP_DB): Define.
6652 (netgroup_iov_disabled): Declare.
6653 (xmalloc, xcalloc, xrealloc): Move declarations here.
6654 (cache_search): Adjust prototype.
6655 Add netgroup-related prototypes.
6656 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6657 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6658 (__nscd_innetgr): Declare.
6659 * nscd/selinux.c (perms): Use access_vector_t as element type and
6660 add netgroup-related initializers.
6661 * nscd/netgroupcache.c: New file.
6662 * nscd/nscd_netgroup.c: New file.
6663 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6664 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6665 For four parameters use innetgr.
6666 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6667 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6668 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6669 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6670
21fd49a9
UD
6671 * nscd/connections.c (register_traced_file): Don't register file
6672 for disabled databases.
6673
054c0457
UD
66742011-10-06 Ulrich Drepper <drepper@gmail.com>
6675
32b63198
UD
6676 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6677
054c0457
UD
6678 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6679 from tree and freeing node.
6680
64031225
JO
66812011-09-25 Jiri Olsa <jolsa@redhat.com>
6682
6683 * nss/nsswitch.c (__nss_database_lookup): Handle
6684 nss_parse_service_list out of memory case.
6685
0490345c
JO
66862011-09-15 Jiri Olsa <jolsa@redhat.com>
6687
6688 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6689 out of memory case.
6690
3a62d00d
AS
66912011-10-04 Andreas Schwab <schwab@redhat.com>
6692
6693 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6694 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6695 pass it down.
6696 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6697 elf_machine_rela, elf_machine_lazy_rel.
6698 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6699 (ELF_DYNAMIC_DO_REL): Likewise.
6700 (ELF_DYNAMIC_DO_RELA): Likewise.
6701 (ELF_DYNAMIC_RELOCATE): Likewise.
6702 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6703 to ELF_DYNAMIC_DO_REL.
6704 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6705 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6706 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6707 elf_machine_rela.
6708 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6709 skip_ifunc, don't call ifunc function if non-zero.
6710 (elf_machine_rela): Likewise.
6711 (elf_machine_lazy_rel): Likewise.
6712 (elf_machine_lazy_rela): Likewise.
6713 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6714 (elf_machine_lazy_rel): Likewise.
6715 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6716 Likewise.
6717 (elf_machine_lazy_rel): Likewise.
6718 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6719 Likewise.
6720 (elf_machine_lazy_rel): Likewise.
6721 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6722 (elf_machine_lazy_rel): Likewise.
6723 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6724 (elf_machine_lazy_rel): Likewise.
6725 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6726 (elf_machine_lazy_rel): Likewise.
6727 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6728 (elf_machine_lazy_rel): Likewise.
6729 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6730 (elf_machine_lazy_rel): Likewise.
6731 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6732 (elf_machine_lazy_rel): Likewise.
6733
68577918
UD
67342011-09-28 Ulrich Drepper <drepper@gmail.com>
6735
6736 * nss/nss_files/files-init.c (_nss_files_init): Use static
6737 initialization for all the *_traced_file variables.
6738
68822d74
AS
67392011-09-28 Andreas Schwab <schwab@redhat.com>
6740
6741 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6742
2056100b
RM
67432011-09-27 Roland McGrath <roland@hack.frob.com>
6744
6745 [BZ #13226]
6746 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6747
32c76b63
AS
67482011-09-27 Andreas Schwab <schwab@redhat.com>
6749
6750 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6751 Reread the line before reparsing it.
6752
bf972c9d
AS
67532011-09-26 Andreas Schwab <schwab@redhat.com>
6754
6755 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6756
e057a1b5
JM
67572011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6758 Maxim Kuvyrkov <maxim@codesourcery.com>
6759 Joseph Myers <joseph@codesourcery.com>
6760
6761 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6762 if needed for __stack_chk_guard.
6763
bc7e1c36
RM
67642011-09-19 Roland McGrath <roland@hack.frob.com>
6765
ecb1482f
RM
6766 * sysdeps/posix/spawni.c (script_execute): Always define it.
6767 It will be optimized away if unused.
6768 (maybe_script_execute): New function.
6769 (__spawni): Call it.
6770
bc7e1c36
RM
6771 * Makerules: Don't include tls.make.
6772 (config-tls): Always set to thread.
6773 * tls.make.c: File removed.
6774
1c3b002b
MF
67752011-09-19 Mike Frysinger <vapier@gentoo.org>
6776
6777 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6778 * config.make.in (CPPFLAGS-config): New substituted variable.
6779
2840865d
UD
67802011-09-15 Ulrich Drepper <drepper@gmail.com>
6781
88738eb6
UD
6782 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6783
cbf645a6 6784 [BZ #13192]
2840865d
UD
6785 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6786 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6787
b402e91a
RM
67882011-09-15 Roland McGrath <roland@hack.frob.com>
6789
6790 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6791 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6792 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6793 (CALL_FAIL): Likewise.
6794 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6795 (CALL_FAIL): Macro removed.
6796 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
6797
4c1a1f71
UD
67982011-09-15 Ulrich Drepper <drepper@gmail.com>
6799
6800 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
6801 for __FINITE_MATH_ONLY__ == 1.
6802
edc121be
AS
68032011-09-15 Andreas Schwab <schwab@redhat.com>
6804
6805 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
6806 __ieee754_sqrt instead of sqrt.
6807 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
6808 __ieee754_sqrtf instead of sqrtf.
6809 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6810 __floorf instead of floorf.
6811 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
6812 __floorf, __truncf instead of floorf, truncf.
6813
cd205654
UD
68142011-09-14 Ulrich Drepper <drepper@gmail.com>
6815
ee4d0315
UD
6816 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
6817
cd205654
UD
6818 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
6819 __extern_always_inline.
6820 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
6821 32-bit.
6822
48b67d71
AS
68232011-09-14 Andreas Schwab <schwab@redhat.com>
6824
6825 * elf/rtld.c (dl_main): Also relocate in dependency order when
6826 doing symbol dependency testing.
6827
1ae12c75
AS
68282011-09-13 Andreas Schwab <schwab@linux-m68k.org>
6829
6830 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6831 Always define `refsym'.
6832
995a80df
AS
68332011-09-13 Andreas Schwab <schwab@redhat.com>
6834
e529793b
AS
6835 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
6836 (__FD_ELT): Renamed from __FDELT.
6837 * misc/bits/select2.h (__FD_ELT): Likewise.
6838 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
6839 __FD_MASK instead of __FDELT, __FDMASK.
6840 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6841 Likewise.
6842 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6843 Likewise.
6844
52d4fef8
AS
6845 * elf/Makefile (gen-ldd): Fix pattern.
6846
995a80df
AS
6847 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
6848 (init_tls): Likewise.
6849
8682f8b0
UD
68502011-09-12 Ulrich Drepper <drepper@gmail.com>
6851
6852 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
6853
de82006d
AS
68542011-09-12 Andreas Schwab <schwab@redhat.com>
6855
a7c8e6a1
AS
6856 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
6857 `struct cmsghdr *' instead of `void *'.
6858 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
6859 Likewise.
6860
0f31fe77
AS
68612011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6862
6863 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
6864 if non-absolute.
6865 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
6866 ldd_rewrite_script.
0f31fe77 6867
32b4c839
UD
68682011-09-11 Ulrich Drepper <drepper@gmail.com>
6869
83cd1420
UD
6870 * configure.in: Remove --with-tls option.
6871 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
6872 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
6873 out in case it is missing.
6874 * sysdeps/ia64/elf/configure.in: Likewise.
6875 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
6876 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
6877 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
6878 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
6879 * sysdeps/sh/elf/configure.in: Likewise.
6880 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
6881 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6882 * sysdeps/x86_64/elf/configure.in: Likewise.
6883 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
6884 * sysdeps/mach/hurd/tls.h: Likewise.
6885
633f745d
UD
6886 [BZ #13067]
6887 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
6888
f318beb8
UD
6889 [BZ #13090]
6890 * configure.in: Fix use of AC_INIT.
6891
32b4c839
UD
6892 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
6893
3ce1f295
UD
68942011-09-10 Ulrich Drepper <drepper@gmail.com>
6895
bb016596
UD
6896 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
6897 __set_errno.
8e58439c
UD
6898 * malloc/hooks.c: Likewise.
6899
aebae053 6900 [BZ #11929]
02d46fc4
UD
6901 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
6902 variables statically.
6903 (narenas): Initialize.
6904 (list_lock): Initialize.
bb016596
UD
6905 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
6906 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
6907 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
6908 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
6909 Add initializers to main_arena and mp_.
6910 (malloc_state): Remove pagesize member. Change all users to use
6911 GLRO(dl_pagesize).
6912
6913 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
6914 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
6915 is always initialized.
6916
22a89187
UD
6917 * malloc/malloc.c: Removed unused configurations and dead code.
6918 * malloc/arena.c: Likewise.
6919 * malloc/hooks.c: Likewise.
02d46fc4 6920 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 6921
d063d164
UD
6922 * include/tls.h: Removed. USE___THREAD must always be defined.
6923 * bits/libc-tsd.h: Don't handle !USE___THREAD.
6924 * elf/dl-libc.c: Likewise.
6925 * elf/dl-tsd.c: Likewise.
6926 * include/errno.h: Likewise.
6927 * include/netdb.h: Likewise.
6928 * include/resolv.h: Likewise.
6929 * inet/herrno-loc.c: Likewise.
6930 * inet/herrno.c: Likewise.
6931 * malloc/arena.c: Likewise.
6932 * malloc/hooks.c: Likewise.
6933 * malloc/malloc.c: Likewise.
6934 * resolv/res-state.c: Likewise.
6935 * resolv/res_libc.c: Likewise.
6936 * sysdeps/i386/dl-machine.h: Likewise.
6937 * sysdeps/ia64/dl-machine.h: Likewise.
6938 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6939 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6940 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6941 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6942 * sysdeps/sh/dl-machine.h: Likewise.
6943 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6944 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6945 * sysdeps/unix/i386/sysdep.S: Likewise.
6946 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6947 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6948 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6949 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6950 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6951 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6952 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6953 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6954 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6955 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6956 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6957 * sysdeps/x86_64/dl-machine.h: Likewise.
6958 * tls.make.c: Likewise.
6959
3ce1f295
UD
6960 * configure.in: Remove --with-__thread option. Make tests for
6961 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
6962 tls_model attribute fail if no support is available. Remove
6963 USE_IN_LIBIO.
6964 * Makeconfig: Adjust for dropped configure option. All features are
6965 now mandatory.
6966 * Makerules: Likewise.
6967 * Versions.def: Likewise.
6968 * argp/argp-fmtstream.c: Likewise.
6969 * argp/argp-fmtstream.h: Likewise.
6970 * argp/argp-help.c: Likewise.
6971 * assert/assert.c: Likewise.
6972 * config.h.in: Likewise.
6973 * config.make.in: Likewise.
6974 * configure: Likewise.
6975 * configure.in: Likewise.
6976 * csu/Versions: Likewise.
6977 * csu/init.c: Likewise.
6978 * elf/tst-audit2.c: Likewise.
6979 * elf/tst-tls10.c: Likewise.
6980 * elf/tst-tls10.h: Likewise.
6981 * elf/tst-tls11.c: Likewise.
6982 * elf/tst-tls12.c: Likewise.
6983 * elf/tst-tls14.c: Likewise.
6984 * elf/tst-tlsmod11.c: Likewise.
6985 * elf/tst-tlsmod12.c: Likewise.
6986 * elf/tst-tlsmod13.c: Likewise.
6987 * elf/tst-tlsmod13a.c: Likewise.
6988 * elf/tst-tlsmod14a.c: Likewise.
6989 * elf/tst-tlsmod15b.c: Likewise.
6990 * elf/tst-tlsmod16a.c: Likewise.
6991 * elf/tst-tlsmod16b.c: Likewise.
6992 * elf/tst-tlsmod7.c: Likewise.
6993 * elf/tst-tlsmod8.c: Likewise.
6994 * elf/tst-tlsmod9.c: Likewise.
6995 * gmon/gmon.c: Likewise.
6996 * grp/fgetgrent_r.c: Likewise.
6997 * grp/putgrent.c: Likewise.
6998 * hurd/fopenport.c: Likewise.
6999 * include/libc-symbols.h: Likewise.
7000 * include/tls.h: Likewise.
7001 * intl/gettextP.h: Likewise.
7002 * intl/loadinfo.h: Likewise.
7003 * locale/global-locale.c: Likewise.
7004 * locale/localeinfo.h: Likewise.
7005 * mach/devstream.c: Likewise.
7006 * malloc/arena.c: Likewise.
7007 * malloc/set-freeres.c: Likewise.
7008 * misc/err.c: Likewise.
7009 * misc/getttyent.c: Likewise.
7010 * misc/mntent_r.c: Likewise.
7011 * posix/getopt.c: Likewise.
7012 * posix/wordexp.c: Likewise.
7013 * pwd/fgetpwent_r.c: Likewise.
7014 * resolv/Versions: Likewise.
7015 * resolv/res_hconf.c: Likewise.
7016 * shadow/fgetspent_r.c: Likewise.
7017 * shadow/putspent.c: Likewise.
7018 * stdio-common/printf_fphex.c: Likewise.
7019 * stdio-common/tmpfile.c: Likewise.
7020 * stdlib/abort.c: Likewise.
7021 * stdlib/fmtmsg.c: Likewise.
7022 * sunrpc/auth_unix.c: Likewise.
7023 * sunrpc/clnt_perr.c: Likewise.
7024 * sunrpc/clnt_tcp.c: Likewise.
7025 * sunrpc/clnt_udp.c: Likewise.
7026 * sunrpc/clnt_unix.c: Likewise.
7027 * sunrpc/openchild.c: Likewise.
7028 * sunrpc/svc_simple.c: Likewise.
7029 * sunrpc/svc_tcp.c: Likewise.
7030 * sunrpc/svc_udp.c: Likewise.
7031 * sunrpc/svc_unix.c: Likewise.
7032 * sunrpc/xdr.c: Likewise.
7033 * sunrpc/xdr_array.c: Likewise.
7034 * sunrpc/xdr_rec.c: Likewise.
7035 * sunrpc/xdr_ref.c: Likewise.
7036 * sunrpc/xdr_stdio.c: Likewise.
7037
1248c1c4
PB
70382011-09-09 Ulrich Drepper <drepper@gmail.com>
7039
7040 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7041
70422011-07-03 Andreas Jaeger <aj@suse.de>
7043
7044 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7045 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7046 regenerate with gen-libm-tests.pl.
7047
70482010-05-12 Petr Baudis <pasky@suse.cz>
7049
7050 [BZ #11589]
7051 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7052 around j0() zero points by switching to j1().
7053 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7054 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7055 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7056 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7057
f22e1074
UD
70582011-09-09 Ulrich Drepper <drepper@gmail.com>
7059
f19009c1
UD
7060 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7061 instead of 0.
7062 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7063 instead of 0. .
7064 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7065 Patch in part by Pavel Roskin <proski@gnu.org>.
7066
3f8cc204
UD
7067 [BZ #13138]
7068 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7069 realloc.
7070 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
7071 Free memory block if necessary.
7072
f22e1074
UD
7073 [BZ #12847]
7074 * libio/genops.c (INTDEF): For string streams the _lock pointer can
7075 be NULL. Don't lock in this case.
7076
0a2349f9
RM
70772011-09-09 Roland McGrath <roland@hack.frob.com>
7078
7079 * elf/elf.h (ELFOSABI_GNU): New macro.
7080 (ELFOSABI_LINUX): Define to that.
7081
f3cdd467
DZ
70822011-07-29 Denis Zaitceff <zaitceff@gmail.com>
7083
7084 * string/strncat.c (strncat): Undef the symbol in case it has been
7085 defined in bits/string.h.
7086
74718d13
UD
70872011-09-09 Ulrich Drepper <drepper@gmail.com>
7088
633e9e0f
UD
7089 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7090
0a2349f9 7091 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
7092 link map.
7093
f9924780
AJ
70942011-08-17 Andreas Jaeger <aj@suse.de>
7095
7096 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7097
7f5517aa
PP
70982011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7099 Ian Lance Taylor <iant@google.com>
7100
7101 * math/libm-test.inc (lround_test): New testcase.
7102 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7103
762011fe
UD
71042011-09-08 Ulrich Drepper <drepper@gmail.com>
7105
92963737
UD
7106 * Makefile: Remove support for automatic cvs check-ins.
7107 * Makerules: Likewise.
7108 * config.make.in: Likewise.
7109 * configure.in: Likewise.
7110 * intl/Makefile: Likewise.
7111 * locale/Makefile: Likewise.
7112 * po/Makefile: Likewise.
7113 * posix/Makefile: Likewise.
7114 * sysdeps/gnu/Makefile: Likewise.
7115 * sysdeps/mach/hurd/Makefile: Likewise.
7116 * sysdeps/sparc/sparc32/Makefile: Likewise.
7117
b0727fd8
JS
7118 [BZ #13118]
7119 * posix/Makefile (bug-regex32-ENV): Define.
7120 Patch by John Stanley <jpsinthemix@verizon.net>.
7121
a0f33f99
UD
7122 * misc/Makefile (headers): Add bits/select2.h.
7123 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7124 * misc/bits/select2.h: New file.
7125 * include/bits/select2.h: New file.
7126 * debug/Makefile (routines): Add fdelt_chk.
7127 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7128 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7129 FD_ISSET.
7130 * debug/fdelt_chk.c: New file.
7131
762011fe
UD
7132 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
7133 * wcsmbs/test-wmemcmp.c: Likewise.
7134 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 7135 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
7136
71372011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7138
7139 * string/Makefile (strop-tests): Add memcmp.
7140 * string/test-wmemcmp.c: New file.
7141 * string/test-memcmp.c: Add wmemcmp support.
7142
7f513ec8
RM
71432011-09-08 Roland McGrath <roland@hack.frob.com>
7144
0442afb4
RM
7145 [BZ #13153]
7146 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7147 2011-07-19 change.
7148
7f513ec8
RM
7149 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7150 garbage value in a __mach_port_mod_refs call in the cases of the
7151 task-self and thread-self ports.
7152
a12b2239
ST
71532011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7154
7155 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7156
610f9ab4
AS
71572011-09-08 Andreas Schwab <schwab@redhat.com>
7158
7f513ec8 7159 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 7160
48882a1a
LD
71612011-09-07 Ulrich Drepper <drepper@gmail.com>
7162
b49865be
UD
7163 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7164
fdc86bc9
UD
7165 * elf/dl-libc.c (dlerror_run): Pass back error code from
7166 dl_catch_error.
7167
c966526a
UD
7168 [BZ #13123]
7169 * elf/dl-load.c (lose): Free l_origin if it is valid.
7170
48882a1a
LD
7171 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7172 names.
7173 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7174 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7175 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7176 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7177 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7178 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7179
77a2a8b4
AZ
71802011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7181
7182 * sysdeps/powerpc/fpu/e_hypot.c: New file.
7183 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7184 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7185 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7186 * sysdeps/powerpc/fpu/k_cosf.c: New file.
7187 * sysdeps/powerpc/fpu/k_sinf.c: New file.
7188 * sysdeps/powerpc/fpu/s_cosf.c: New file.
7189 * sysdeps/powerpc/fpu/s_sinf.c: New file.
7190 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7191 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7192
24f579d8
AM
71932011-08-15 Alan Modra <amodra@gmail.com>
7194
7195 [BZ #13092]
7196 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7197 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7198 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
7199 ppc_mcount to static-only-routines.
7200 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7201 __mcount_internal.
7202 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7203 __mcount_internal with usual JUMPTARGET. Remove useless nop.
7204
3d4837df
UD
72052011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7206
7207 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7208 for finite and infinity parameters.
7209
22700377
WS
72102011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7211
7212 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7213 and add nop instructions for throughput optimization.
7214 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7215
5025581e
WS
72162011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7217
7218 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7219 aligned copy for power7 with vector-scalar instructions.
7220 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7221
08a300c9
L
72222011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7223
7224 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7225 AVX check.
7226
59178ef9
AS
72272011-09-07 Andreas Schwab <schwab@redhat.com>
7228
7229 [BZ #13144]
7230 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7231 last change.
7232
e38ba7ab
UD
72332011-09-07 Ulrich Drepper <drepper@gmail.com>
7234
7235 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7236 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7237 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7238 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7239 clock_gettime.
7240
d53a73ac
UD
72412011-09-06 Ulrich Drepper <drepper@gmail.com>
7242
fc8bffcc
UD
7243 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7244 Forgot to demangle the pointer.
7245
ceaa0c5d
UD
7246 * sysdeps/i386/sysdep.h: Define atom_text_section.
7247 * sysdeps/x86_64/sysdep.h: Likewise.
7248 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7249 section with atom_text_section.
7250 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7251 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7252 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7253 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7254 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7255
a77d3c17
UD
7256 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7257 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7258 already be defined. Change to take two parameters and don't assign
7259 result to variable. Adjust all users.
7260 Define INTERNAL_GETTIME if not already defined.
7261 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7262 call.
7263 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7264 HAVE_CLOCK_GETTIME_VSYSCALL.
7265 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7266
d53a73ac
UD
7267 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7268 gettimeofday vsyscall, just use time.
7269
a8f84144
AS
72702011-09-06 Andreas Schwab <schwab@redhat.com>
7271
7272 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7273 <errno.h>.
7274
ef606249
UD
72752011-09-06 Ulrich Drepper <drepper@gmail.com>
7276
7277 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7278 syscall on x86-64.
7279 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7280 syscall.
7281 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7282 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7283 syscall if possible.
7284
6585cb60
UD
72852011-09-05 Ulrich Drepper <drepper@gmail.com>
7286
7287 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7288 e_ident. Don't pass to find_mapsXX.
7289 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7290
a5f524e4
LD
72912011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7292
7293 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7294 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7295 * sysdeps/x86_64/multiarch/strchr.S: Update.
7296 Check bit_slow_BSF bit.
7297 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7298 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7299 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7300
554881ef
UD
73012011-09-05 Ulrich Drepper <drepper@gmail.com>
7302
d96de963
UD
7303 [BZ #13134]
7304 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7305 before glibc 2.15.
7306 (tryshell): Define.
7307 (__spawni): Change last parameter to be flag. Test
7308 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7309 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7310 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7311 * posix/spawni.c: Likewise.
7312 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7313 * posix/spawnp.c: Likewise. Change normal version to use
7314 SPAWN_XFLAGS_USE_PATH.
7315 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7316 SPAWN_XFLAGS_TRY_SHELL.
7317
d48e5868
UD
7318 [BZ #13150]
7319 * posix/glob.h: Remove gcc 1.x support.
7320
554881ef
UD
7321 [BZ #13068]
7322 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7323
693fb948
LD
73242011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7325
7326 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7327 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7328 strrchr-sse2-bsf
7329 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7330 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7331 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7332 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7333 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7334 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7335
1b48c537
UD
73362011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7337
49d42c37
UD
7338 * sysdeps/x86_64/wcscmp.S: New file.
7339
1b48c537
UD
7340 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7341 wcscmp-c wcscmp-sse2
7342 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7343 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7344 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7345 * wcsmbs/wcscmp.c: Allow renaming.
7346
15c95c5d
DM
73472011-09-05 David S. Miller <davem@davemloft.net>
7348
7349 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7350 stack slot, rather than the struct return pointer slot.
7351 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7352 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7354 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7355
2f0ad8f3
UD
73562011-09-05 Ulrich Drepper <drepper@gmail.com>
7357
d88ae418
UD
7358 * po/ja.po: Update from translation team.
7359
2f0ad8f3
UD
7360 [BZ #13144]
7361 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7362 kernel in 64-bit binaries.
7363
5f4318d1
DM
73642011-09-01 David S. Miller <davem@davemloft.net>
7365
7366 * elf/elf.h (HWCAP_SPARC_*): Move to..
7367 * sysdeps/sparc/sysdep.h: this new file and add new values.
7368 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7369 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7370 _DL_HWCAP_COUNT to 24.
7371 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7372 entries.
7373 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7374 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7375 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7376 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7377 instead of magic constants.
7378 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7379
3ba57516
DM
73802011-08-31 David S. Miller <davem@davemloft.net>
7381
7382 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7383 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7384 Reimplement to do errno handling inline.
7385 (SYSCALL_ERROR_HANDLER): New macro.
7386 (__SYSCALL_STRING): Do not do errno handling in asm.
7387 (__CLONE_SYSCALL_STRING): Delete.
7388 (__INTERNAL_SYSCALL_STRING): Delete.
7389 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7390 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7391 (PSEUDO): Reimplement to do errno handling inline.
7392 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7393 (SYSCALL_ERROR_HANDLER): New macro.
7394 (__SYSCALL_STRING): Do not do errno handling in asm.
7395 (__CLONE_SYSCALL_STRING): Delete.
7396 (__INTERNAL_SYSCALL_STRING): Delete.
7397 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7398 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7399 i386.
7400 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7401 (inline_syscall*): Add 'err' argument.
7402 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7403 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7404 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7405 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7406
7407 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7408 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7409
2bc17433
AS
74102011-08-30 Andreas Schwab <schwab@redhat.com>
7411
7412 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7413
fbeb5f4d
JO
74142011-08-29 Jiri Olsa <jolsa@redhat.com>
7415
7416 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7417 directive.
7418
ad69cc26
DM
74192011-08-24 David S. Miller <davem@davemloft.net>
7420
7421 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7422
39dd69df
AS
74232011-08-24 Andreas Schwab <schwab@redhat.com>
7424
7425 * elf/Makefile: Add rules to build and run unload8 test.
7426 * elf/unload8.c: New file.
7427 * elf/unload8mod1.c: New file.
7428 * elf/unload8mod1x.c: New file.
7429 * elf/unload8mod2.c: New file.
7430 * elf/unload8mod3.c: New file.
7431
7432 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7433 it wasn't used.
7434
2c0b250a
DM
74352011-08-23 David S. Miller <davem@davemloft.net>
7436
7437 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7438 subtract stack bias.
7439 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7440 %sp not %fp in calculations.
7441 (_JMPBUF_UNWINDS_ADJ): Likewise.
7442
22044b48
DM
7443 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7444 (aio_suspend): Call it to force an exception region around the
7445 AIO_MISC_WAIT() invocation.
7446
2cae4995
AS
74472011-08-23 Andreas Schwab <schwab@redhat.com>
7448
7449 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7450 backslash.
7451
873a772e
AJ
74522011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7453
7454 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7455 protection macro.
7456 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7457 and <dl-machine.h>.
7458 (Elf64_FuncDesc): Remove.
7459
25ad0df1
DM
74602011-08-22 David S. Miller <davem@davemloft.net>
7461
7462 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7463 sigaltstack check, add missing cfi directives.
7464 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7465 missing cfi directives, and sigaltstack handling.
7466
e888bcbe
AS
74672011-08-16 Andreas Schwab <schwab@redhat.com>
7468
7469 [BZ #11724]
7470 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7471 object is seen twice.
7472 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7473
7474 * elf/Makefile (distribute): Add tst-initorder2.c.
7475 (tests): Add tst-initorder2.
7476 (modules-names): Add tst-initorder2a tst-initorder2b
7477 tst-initorder2c tst-initorder2d. Add rules to build them.
7478 ($(objpfx)tst-initorder2.out): New rule.
7479 * elf/tst-initorder2.c: New file.
7480 * elf/tst-initorder2.exp: New file.
7481
87162f46
AS
74822011-08-22 Andreas Schwab <schwab@redhat.com>
7483
70538b7f
AS
7484 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7485
f55ffe58
AS
7486 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7487 dependencies back to end of function.
7488
87162f46
AS
7489 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7490 $(elfobjdir)/ld.so.
7491
91b392a4
UD
74922011-08-21 Ulrich Drepper <drepper@gmail.com>
7493
7494 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7495 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7496 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7497 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7498 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7499 of __vdso_gettimeofday.
7500 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7501 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7502 attribute_hidden.
7503 (_libc_vdso_platform_setup): Remove initialization of
7504 __vdso_gettimeofday and __vdso_time.
7505
5c43483f
UD
75062011-08-20 Ulrich Drepper <drepper@gmail.com>
7507
775a77e7
UD
7508 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7509 and fgetc_unlocked.
7510 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7511 getc_unlocked.
89f447ed 7512
49c74ba9
UD
7513 * elf/dl-open.c (add_to_global): Report additions to the global scope
7514 for LD_DEBUG=scopes.
7515 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 7516 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 7517
5c43483f
UD
7518 [BZ #13114]
7519 * stdio-common/Makefile (tests): Add bug24.
7520 * stdio-common/bug24.c: New file.
7521
a101b025
AJ
75222011-08-19 Andreas Jaeger <aj@suse.de>
7523
7524 [BZ #13114]
7525 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7526 non-existant file when using close-on-exec mode.
7527
c88f1766
UD
75282011-08-20 Ulrich Drepper <drepper@gmail.com>
7529
0276a718
UD
7530 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7531 the very first instruction.
7532
c88f1766
UD
7533 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7534 the CFI state in the end.
7535 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7536 inclusion of dl-trampoline.h.
7537 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7538
51ccffa0
AS
75392011-08-19 Andreas Schwab <schwab@redhat.com>
7540
94d7165f
AS
7541 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7542 expectations for long double.
7543
51ccffa0
AS
7544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7545 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7546
fd708658 75472011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
7548
7549 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7550 artificual limit depends upon the system page size.
7551
44f0a71e
UD
75522011-08-17 Ulrich Drepper <drepper@gmail.com>
7553
7554 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7555 * resolv/Makefile: Define CFLAGS-libresolv.
7556
8de79a24
AS
75572011-08-17 Andreas Schwab <schwab@redhat.com>
7558
7559 * nss/makedb.c (compute_tables): Make variables used in nested
7560 function static.
7561
27724598
UD
75622011-08-17 Ulrich Drepper <drepper@gmail.com>
7563
c5305d88
UD
7564 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7565 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7566 if buffer was too small.
7567
27724598
UD
7568 * elf/pldd.c (main): Attach to all threads in the process.
7569 Rewrite /proc handling to use *at functions.
7570
076fe015
UD
75712011-08-16 Ulrich Drepper <drepper@gmail.com>
7572
174baab3
UD
7573 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7574 specifies first scope to show.
7575 (dl_open_worker): Update callers. Move printing scope of new
7576 object to before the relocation.
44f0a71e 7577 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
7578 * sysdeps/generic/ldsodefs.h: Update declaration.
7579
076fe015
UD
7580 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7581 string for the scope number.
7582
a60df2c3
UD
75832011-08-14 Ulrich Drepper <drepper@gmail.com>
7584
7585 * nscd/servicescache.c (cache_addserv): Make sure written is always
7586 initialized.
7587
5e4287d1
RM
75882011-08-14 Roland McGrath <roland@hack.frob.com>
7589
85ae0589
RM
7590 * sysdeps/i386/i486/bits/atomic.h
7591 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7592 statement expression, so as to suppress "set but not used" warning.
7593 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7594
69f63097
RM
7595 * string/strncat.c (STRNCAT): Use prototype definition.
7596
675456ef
RM
7597 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7598 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7599 -Iprograms here.
7600 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7601 (localedef-modules): Add localedef.
7602 (locale-modules): Add locale.
7603
5e4287d1
RM
7604 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7605 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7606 to avoid a warning.
7607
9c96ff23
DM
76082011-08-14 David S. Miller <davem@davemloft.net>
7609
7610 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7611 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7612
f9ddf089
UD
76132011-08-13 Ulrich Drepper <drepper@gmail.com>
7614
44f0a71e 7615 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
7616 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7617 * elf/rtld.c (dl_main): Set l_name of vDSO.
7618 Call _dl_show_scope when DL_DEBUG_SCOPES.
7619 (process_dl_debug): Recognize scopes flag and also set it for all.
7620 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7621 Declare _dl_show_scope.
7622
1dc27704
UD
7623 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7624 (do_dlopen): Pass caller_dlopen to dl_open.
7625 (__libc_dlopen_mode): Initialize caller_dlopen.
7626
f9ddf089
UD
7627 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7628 of libc. Make tolower call locale-independent. Optimize a bit by
7629 using isdigit instead of isalnum.
7630 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7631
9ac533d3
UD
76322011-08-12 Ulrich Drepper <drepper@gmail.com>
7633
7634 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7635 was a dependency or dynamically loaded.
7636
89edf2e9
UD
76372011-08-11 Ulrich Drepper <drepper@gmail.com>
7638
8e999d29
UD
7639 * intl/l10nflist.c: Allow architecture-specific pop function.
7640 * sysdeps/x86_64/l10nflist.c: New file.
7641
89edf2e9
UD
7642 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7643 classification.
7644
14d96785
AS
76452011-08-10 Andreas Schwab <schwab@redhat.com>
7646
7647 * include/dirent.h: Add libc_hidden_proto for scandirat and
7648 scandirat64. Don't declare __scandirat64.
7649 * dirent/scandirat.c: Add libc_hidden_def.
7650 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7651 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7652
6761ac04
DM
76532011-08-10 David S. Miller <davem@davemloft.net>
7654
7655 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7656 enum.
7657 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7658 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7659 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7660
c55fbd1e
UD
76612011-08-09 Ulrich Drepper <drepper@gmail.com>
7662
7663 * Versions.def [libc]: Add GLIBC_2.15.
7664 * dirent/Makefile (routines): Add scandirat and scandirat64.
7665 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7666 GLIBC_2.15.
7667 * dirent/dirent.h: Declare scandirat and scandirat64.
7668 * dirent/scandirat.c: New file.
7669 * dirent/scandirat64.c: New file.
7670 * sysdeps/wordsize-64/scandirat.c: New file.
7671 * sysdeps/wordsize-64/scandirat64.c: New file.
7672 * dirent/opendir.c: Define opendirat.
7673 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7674 using scandirat.
7675 * dirent/scandir64.c: Adjust for scandir.c change.
7676 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7677 __scandirat64, and __scandir_cancel_handler.
7678 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7679 additional parameter and use openat instead of open (outside of ld.so).
7680 Add new __opendir as wrapper around __opendirat.
7681 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7682 here without requiring old scandirat implementation.
7683
879165f2
UD
76842011-08-08 Ulrich Drepper <drepper@gmail.com>
7685
7686 * dirent/scandir.c (cancel_handler): Renamed to
7687 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7688 defined. Adjust users.
7689 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7690 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7691
cb7e923b
UD
76922011-08-04 Ulrich Drepper <drepper@gmail.com>
7693
16292edd
UD
7694 * string/test-string.h (IMPL): Use __STRING to expand name and then
7695 stringify it.
7696
cb7e923b
UD
7697 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7698 of cleanups.
7699
cff82933
LD
77002011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7701
7702 * string/Makefile: Update.
7703 (strop-tests): Append strncat.
7704 * string/test-wcscmp.c: New file.
7705 New comprehensive test for wcscmp.
7706 * string/test-strcmp.c: Update.
7707 (WIDE): New define.
7708
9be9bfcc
AS
77092011-07-22 Andreas Schwab <schwab@redhat.com>
7710
7711 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7712 line.
7713
2e96f1c7
AS
77142011-07-26 Andreas Schwab <schwab@redhat.com>
7715
7716 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7717 encoding to ACE if AI_IDN.
7718
85188888
JJ
77192011-08-01 Jakub Jelinek <jakub@redhat.com>
7720
7721 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7722 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7723
5fa16e9b
LD
77242011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7725
7726 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7727 Fix overflow bug in strncat.
7728 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7729
7730 * string/test-strncat.c: Update.
7731 Add new tests for checking overflow bugs.
7732
77332011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7734
7735 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7736 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7737 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7738 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7739 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7740 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7741 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7742 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7743 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7744
7745 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7746 (USE_AS_STRCAT): Define.
7747 Add strcat and strncat support.
7748 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7749
8c1a459f
AS
77502011-07-25 Andreas Schwab <schwab@redhat.com>
7751
7752 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7753 __n bigger than INT_MAX+1.
7754 (__strncmp_g): Likewise.
7755
bba33c28
UD
77562011-07-23 Ulrich Drepper <drepper@gmail.com>
7757
798be72d
UD
7758 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7759 * libio/stido.h: Likewise.
7760
8accd4dc
UD
7761 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7762 (AF_NFC): Define.
7763 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7764 (AF_NFC): Define.
7765
cbff0d96
UD
7766 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7767 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7768 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7769 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7770 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7771
9191c04a
UD
7772 [BZ #13021]
7773 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7774 installed.
7775
bba33c28
UD
7776 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7777 typo.
7778 (_dl_x86_64_save_sse): Likewise.
7779
90f139dd
UD
77802011-07-22 Ulrich Drepper <drepper@gmail.com>
7781
1aae088a
UD
7782 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7783 OSXSAVE.
7784 (_dl_x86_64_save_sse): Likewise.
7785
8e2045f5
UD
7786 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7787
90f139dd
UD
7788 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7789
1d002f25
AS
77902011-07-21 Andreas Schwab <schwab@redhat.com>
7791
7792 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7793 change.
7794 (_dl_x86_64_save_sse): Use correct AVX check.
7795
21137f89
UD
77962011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7797
7798 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
7799 bug in strncpy/strncat.
7800 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7801
a65c0b7a
UD
78022011-07-21 Ulrich Drepper <drepper@gmail.com>
7803
7804 * string/tester.c (test_strcat): Add tests for different alignments
7805 of source and destination.
7806 (test_strncat): Likewise.
7807
6986b98a
UD
78082011-07-20 Ulrich Drepper <drepper@gmail.com>
7809
90bb2039
UD
7810 [BZ #12852]
7811 * posix/glob.c (glob): Check passed in values before using them in
7812 expressions to avoid some overflows.
7813 (glob_in_dir): Likewise.
7814
5644ef54
UD
7815 [BZ #13007]
7816 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
7817 check for AVX enablement so that we don't crash with old kernels and
7818 new hardware.
7819 * elf/tst-audit4.c: Add same checks here.
7820 * elf/tst-audit6.c: Likewise.
7821
7822 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 7823
bfc9dc9b
AS
78242011-07-09 Andreas Schwab <schwab@linux-m68k.org>
7825
7826 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
7827
702e64bb
UD
78282011-07-20 Ulrich Drepper <drepper@gmail.com>
7829
7830 * po/cs.po: Update from translation team.
7831 * po/bg.po: Likewise.
7832
295e904f
MP
78332011-07-12 Marek Polacek <mpolacek@redhat.com>
7834
7835 * misc/sys/cdefs.h: Add support for const attribute.
7836 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
7837 to gnu_dev_{major,minor,makedev} functions.
7838
3ff94596
MP
78392011-07-20 Marek Polacek <mpolacek@redhat.com>
7840
7841 * intl/dcigettext.c (get_output_charset): Add missing bracket.
7842
28b59fca
AS
78432011-07-20 Andreas Schwab <schwab@redhat.com>
7844
7845 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
7846 strlen results.
7847
19df733e
AK
78482011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7849
7850 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7851 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
7852 register in order to avoid conflicts with the soft frame pointer
7853 being held in r11 when necessary.
7854 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7855 (INTERNAL_VSYSCALL_NCS): Likewise.
7856
c8835729
MP
78572011-07-14 Marek Polacek <mpolacek@redhat.com>
7858
7859 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
7860 * elf/dl-fini.c (_dl_fini): Adjust caller.
7861 * elf/dl-close.c (_dl_close_worker): Likewise.
7862 * sysdeps/generic/ldsodefs.h: Adjust declaration.
7863
b902330c
MP
78642011-07-15 Marek Polacek <mpolacek@redhat.com>
7865
8991e135
MP
7866 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
7867 "aux_cache->nlibs < 0".
7868
b902330c
MP
7869 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
7870 in the reload-count case.
7871
99710781
LD
78722011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7873
7874 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7875 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
7876 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
7877 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
7878 * sysdeps/x86_64/multiarch/strcat.S: New file.
7879 * sysdeps/x86_64/multiarch/strncat.S: New file.
7880 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
7881 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
7882 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
7883 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
7884 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
7885 (USE_AS_STRCAT): Define.
7886 Add strcat and strncat support.
7887 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7888 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7889 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
7890 * string/strncat.c: Update.
7891 (USE_AS_STRNCAT): Define.
7892 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7893 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
7894 and i7.
7895 * sysdeps/x86_64/multiarch/init-arch.h
7896 (bit_Prefer_PMINUB_for_stringop): New.
7897 (index_Prefer_PMINUB_for_stringop): Likewise.
7898 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
7899 bit_Prefer_PMINUB_for_stringop.
7900
7dc6bd90
UD
79012011-07-19 Ulrich Drepper <drepper@gmail.com>
7902
7903 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
7904 buffer64.
7905 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
7906 of casting of buffer.
7907 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
7908 buffer32 and buffer64.
7909 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
7910 writes instead of casting of buffer.
7911 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
7912 buffer32.
7913 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
7914 casting of buffer.
7915
e0e72284
AS
79162011-07-19 Andreas Schwab <schwab@redhat.com>
7917
7918 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
7919
feb1eb0b
UD
79202011-07-19 Ulrich Drepper <drepper@gmail.com>
7921
7922 * nscd/nscd.c (termination_handler): Don't do anything for a database
7923 if it has not yet been initialized.
7924
298711ff
UD
79252011-07-18 Ulrich Drepper <drepper@gmail.com>
7926
7927 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7928
79292011-07-15 Marek Polacek <mpolacek@redhat.com>
7930
7931 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7932
f9d68389
UD
79332011-07-18 Ulrich Drepper <drepper@gmail.com>
7934
7935 * po/nl.po: Update from translation team.
7936 * po/sv.po: Likewise.
7937
db290cf5
RM
79382011-07-16 Roland McGrath <roland@hack.frob.com>
7939
7940 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
7941 now disallowed by GCC.
5c550700 7942
fd5e21c7
RM
7943 * configure.in (use-default-link): Default to yes if a test -shared
7944 link meets our qualifications.
7945 * configure: Regenerated.
7946
5c550700
RM
7947 * config.make.in (output-format): New variable.
7948 * configure.in: Check for ld --print-output-format support.
7949 * configure: Regenerated.
7950 * Makerules ($(common-objpfx)format.lds)
7951 [$(output-format) != unknown]: Just use $(output-format),
7952 instead of the linker-script munging.
7953
9fa2c032
RM
79542011-07-14 Roland McGrath <roland@hack.frob.com>
7955
a6928d51
RM
7956 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
7957 of $(common-objpfx)shlib.lds.
7958 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
7959
661607b3
RM
7960 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
7961 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
7962
9fa2c032
RM
7963 * configure.in (-z relro check): Adjust test code to add a large
7964 writable data section after it.
7965 * configure: Regenerated.
7966
defe9061
RM
79672011-07-11 Roland McGrath <roland@hack.frob.com>
7968
7969 * configure.in (-z relro check): Fix test code to make the variable
7970 truly const.
7971 * configure: Regenerated.
7972
319b9ad4
UD
79732011-07-11 Ulrich Drepper <drepper@gmail.com>
7974
7975 * nscd/nscd.h (struct traced_file): Define.
7976 (struct database_dyn): Remove inotify_descr, reset_res, and filename
7977 elements. Add traced_files.
7978 (inotify_fd): Declare.
7979 (register_traced_file): Declare.
7980 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
7981 (inotify_fd): Export.
7982 (resolv_conf_descr): Remove.
7983 (nscd_init): Move inotify descriptor creation to main.
7984 Don't register files for notification here.
7985 (register_traced_file): New function.
7986 (invalidate_cache): Don't use reset_res to determine whether to call
7987 res_init, go through the list of registered files.
7988 (main_loop_poll): The inotify descriptors are now stored in the
7989 structures for the traced files.
7990 (main_loop_epoll): Likewise
7991 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
7992 to __nss_disable_nscd.
7993 * nscd/cache.c (prune_cache): There is no single inotify descriptor
7994 for a database anymore. Check the records for all the registered
7995 files instead.
7996 * nss/Makefile (libnss_files-routines): Add files-init.
7997 (libnss_db-routines): Add db-init.
7998 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
7999 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8000 * nss/nss_db/db-init.c: New file.
8001 * nss/nss_files/files-init.c: New file.
8002 * nss/nsswitch.c (nss_load_library): New function. Broken out of
8003 __nss_lookup_function.
8004 (__nss_lookup_function): Call nss_load_library.
8005 (nss_load_all_libraries): New function.
8006 (__nss_disable_nscd): Take parameter with callback function for files
8007 to register. Set is_nscd. Load all the DSOs for the NSS modules
8008 used for the cached services.
8009 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8010 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8011 options for features to all the files in nscd.
8012
8013 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8014
23bee3e8
RM
80152011-07-10 Roland McGrath <roland@hack.frob.com>
8016
8017 * csu/elf-init.c (__libc_csu_init): Comment typo.
8018
46a5b7f0
UD
80192011-07-09 Ulrich Drepper <drepper@gmail.com>
8020
8021 * po/pl.po: Update from translation team.
8022 * po/ja.po: Likewise.
8023 * po/ru.po: Likewise.
8024 * po/ko.po: Likewise.
8025 * po/fr.po: Likewise.
8026
d30cf5bb
RM
80272011-07-09 Roland McGrath <roland@hack.frob.com>
8028
113ddea4
RM
8029 * configure.in (.ctors/.dtors header and trailer check):
8030 Use an empirical test on a built program.
8031 * configure: Regenerated.
8032
574920b4
RM
8033 * configure.in (-z relro check): Use an empirical test on a built DSO.
8034 Detect, but do not require, on ia64.
8035 * configure: Regenerated.
8036
d30cf5bb
RM
8037 * configure.in (READELF): Find it with AC_CHECK_TOOL.
8038 Update tests that use readelf to use $READELF instead.
8039 * configure: Regenerated.
8040
8538fdb3
UD
80412011-07-08 Ulrich Drepper <drepper@gmail.com>
8042
8043 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8044 if the result is not used.
8045
04d08991
AJ
80462011-07-05 Andreas Jaeger <aj@suse.de>
8047
8048 [BZ#9696]
8049 * stdlib/tst-strtod.c: Add testcase.
8050
de283087
AD
80512011-07-07 Ulrich Drepper <drepper@gmail.com>
8052
4e5f31c8 8053 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 8054 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
8055 The latter has a higher limit. Take additional parameter to pass to
8056 the new function.
8057 (__pathconf): Pass file to __statfs_link_max.
8058 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8059 __statfs_link_max.
8060 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8061 __statfs_link_max.
8062
de283087
AD
8063 [BZ #12868]
8064 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8065 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8066 Handle Lustre.
8067 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8068 (__statfs_filesize_max): Likewise.
8069 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8070
c75fa153
AJ
80712011-07-05 Andreas Jaeger <aj@suse.de>
8072
8073 * resolv/res_comp.c (dn_skipname): Remove unused variable.
8074
1a544854
UD
80752011-07-06 Marek Polacek <mpolacek@redhat.com>
8076
8077 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8078 `status' variable.
8079 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8080 Likewise.
8081
6f0eec67
UD
80822011-07-04 H.J. Lu <hongjiu.lu@intel.com>
8083
8084 * Makefile (strop-tests): Add strncat.
8085 * string/test-strncat.c: New file.
8086
aae30307
UD
80872011-06-30 Marek Polacek <mpolacek@redhat.com>
8088
8089 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8090
c0cfb5eb
UD
80912011-06-21 Andreas Jaeger <aj@suse.de>
8092
8093 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8094 Copy rule from iconvdata/Makefile.
8095
01636b21
UD
80962011-07-06 Ulrich Drepper <drepper@gmail.com>
8097
8098 [BZ #12922]
8099 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8100 but no long options are defined, just return 'W'.
8101
9895c8bc
UD
81022011-06-22 Marek Polacek <mpolacek@redhat.com>
8103
8104 [BZ #9696]
8105 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8106
5d4cf042
UD
81072011-07-06 Ulrich Drepper <drepper@gmail.com>
8108
8109 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8110 netgroups to read.
960e5535 8111 (innetgr): Likewise.
5d4cf042 8112
751eb97e
RM
81132011-07-05 Roland McGrath <roland@hack.frob.com>
8114
8115 * config.make.in (install_root): Default to $(DESTDIR).
8116
f15f1e45
UD
81172011-07-05 Ulrich Drepper <drepper@gmail.com>
8118
8119 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8120
4e34ac6a
RM
81212011-07-02 Roland McGrath <roland@hack.frob.com>
8122
5e9b6af4
RM
8123 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8124
84f9ea0f
RM
8125 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8126 containing directory rather than embedding absolute directory names.
8127
ea5ee9f7
RM
8128 * scripts/check-local-headers.sh: Rewritten using awk.
8129 Match by word, not by line. Print error messages for matches.
8130 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8131
1b74661a
RM
8132 * Makerules [shlib-lds-flags empty]:
8133 ($(common-objpfx)libc_pic.opts): New target.
8134 ($(common-objpfx)libc_pic.os.clean): New target.
8135 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8136
8137 * config.make.in (OBJCOPY): New variable.
8138 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8139 * configure: Regenerated.
8140
f781ef40
RM
8141 * config.make.in (use-default-link): New variable.
8142 * configure.in (use_default_link): Grok --with-default-link to set it.
8143 * configure: Regenerated.
8144 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8145 (shlib-lds, shlib-lds-flags): Define to empty.
8146
2d4fa81e
RM
8147 * Makerules (shlib-lds): New variable.
8148 (shlib-lds-flags): New variable.
8149 (build-shlib, build-moduile, build-module-asneeded): Use it.
8150 ($(common-objpfx)libc.so): Use $(shlib-lds).
8151 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8152 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8153
31fffa6b
RM
8154 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8155 DT_FLAGS/DT_FLAGS_1 with zero flags.
8156
4e34ac6a
RM
8157 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8158 linker script munging.
8159
fcfc776b
UD
81602011-07-02 Ulrich Drepper <drepper@gmail.com>
8161
8162 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8163 as 128-bit value.
8164 * crypt/sha512.c (sha512_process_block): Perform total addition using
8165 128-bit if possible.
8166 (__sha512_finish_ctx): Likewise.
8167 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8168 as 64-bit value.
8169 * crypt/sha256.c (SWAP64): Define.
8170 (sha256_process_block): Perform total addition using 64-bit if
8171 possible.
8172 (__sha256_finish_ctx): Likewise.
8173
99231d9a
UD
81742011-07-01 Ulrich Drepper <drepper@gmail.com>
8175
8176 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
8177 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8178 * nscd/hstcache.c (cache_addhst): Likewise.
8179 * nscd/grpcache.c (cache_addgr): Likewise.
8180 * nscd/aicache.c (addhstaiX): Likewise
8181 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8182
445b4a53
TK
81832011-07-01 Thorsten Kukuk <kukuk@suse.de>
8184
8185 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8186 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8187 * nscd/hstcache.c (cache_addhst): Likewise.
8188 * nscd/grpcache.c (cache_addgr): Likewise.
8189 * nscd/aicache.c (addhstaiX): Likewise
8190
6d4d8e8e
AS
81912011-07-01 Andreas Schwab <schwab@redhat.com>
8192
8193 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8194 domain only when needed.
8195
89f654c5
AS
81962011-06-30 Andreas Schwab <schwab@redhat.com>
8197
8198 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8199 is always restored.
8200
cf3b23ff
UD
82012011-06-29 Ulrich Drepper <drepper@gmail.com>
8202
8203 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8204 are re-adding the entry.
8205 * nscd/servicescache.c (cache_addserv): Likewise.
8206
751626f9
AJ
82072011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8208
8209 * sysdeps/generic/dl-irel.h: fix protection against multiple
8210 inclusions.
8211 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8212
9113ea1f
UD
82132011-06-28 Ulrich Drepper <drepper@gmail.com>
8214
5c0b8d90
UD
8215 [BZ #12935]
8216 * malloc/memusage.sh: Fix quoting in message.
8217 * debug/xtrace.sh: Likewise.
8218
9113ea1f
UD
8219 * configure.in: Remove support for --experimental-malloc option, make
8220 it the default.
8221 * config.make.in: Likewise.
8222 * malloc/Makefile: Likewise.
8223
a4172181
AS
82242011-06-27 Andreas Schwab <schwab@redhat.com>
8225
8226 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8227 two-byte characters.
8228
78a7eee7
RM
82292011-06-27 Roland McGrath <roland@hack.frob.com>
8230
62bede13
RM
8231 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8232 AC_CACHE_CHECK invocation.
8233 * configure: Regenerated.
8234
78a7eee7
RM
8235 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8236
5ce33a62
UD
82372011-06-27 Ulrich Drepper <drepper@gmail.com>
8238
034807a9
UD
8239 [BZ #12350]
8240 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8241 bit from old_res_options.
8242
4902da17
UD
8243 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8244
5ce33a62
UD
8245 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8246 value type for setfct.
8247
c2344f56
L
82482011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8249
8250 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8251 __gettimeofday instead of gettimeofday.
8252
68468076
UD
82532011-06-26 Ulrich Drepper <drepper@gmail.com>
8254
8255 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8256
acb0d739
L
82572011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8258
8259 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8260
8261 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8262 info.
8263
8912479f
L
82642011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8265
8266 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8267 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8268 strcpy-sse2-unaligned strncpy-sse2-unaligned
8269 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8270 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8271 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8272 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8273 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8274 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8275 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8276 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8277 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8278 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8279 (STRCPY): Support SSE2 and SSSE3 versions.
8280
d5495a11
UD
82812011-06-24 Ulrich Drepper <drepper@gmail.com>
8282
8283 [BZ #12874]
8284 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8285 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8286 kernels which artificially limit size of requests.
8287
0b1cbaae
L
82882011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8289
8290 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8291 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8292 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8293 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8294 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8295 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8296 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8297 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8298 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8299 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8300 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8301 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8302 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8303 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8304 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8305 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8306 Enable unaligned load optimization for Intel Core i3, i5 and i7
8307 processors.
8308 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8309 Define.
8310 (index_Fast_Unaligned_Load): Define.
8311 (HAS_FAST_UNALIGNED_LOAD): Define.
8312
07f494a0
MP
83132011-06-23 Marek Polacek <mpolacek@redhat.com>
8314
8315 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8316
fa3fc0fe
UD
83172011-06-22 Ulrich Drepper <drepper@gmail.com>
8318
8319 [BZ #12907]
8320 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8321 until it is clear that the information is realy needed.
8322 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8323
e12df166
AS
83242011-06-22 Andreas Schwab <schwab@redhat.com>
8325
8326 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8327
852eb34d
UD
83282011-06-22 Ulrich Drepper <drepper@gmail.com>
8329
84e2a551
UD
8330 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8331 /sys/devices/system/cpu/online if it is usable.
8332
852eb34d
UD
8333 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8334 reading the information from the /proc filesystem to once a second.
8335
6e502e19
UD
83362011-06-21 Andreas Jaeger <aj@suse.de>
8337
8338 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8339 NULL after inclusion of kernel headers.
8340
75d39ff2
UD
83412011-06-21 Ulrich Drepper <drepper@gmail.com>
8342
51f9aa6a
UD
8343 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8344 calls to internal_setent.
8345
c0244a9d
UD
8346 [BZ #12885]
8347 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8348 addresses using gethostbyname4_r ignore IPv4 addresses.
8349
c5e3c2ae
UD
8350 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8351 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8352
75d39ff2
UD
8353 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8354
42675c6f
DM
83552011-06-20 David S. Miller <davem@davemloft.net>
8356
8357 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8358 inclusions.
8359 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8360
8361 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8362 (elf_irel): Use it.
8363 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8364 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8365 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8366 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8367 * sysdeps/x86_64/dl-irel.h: Likewise.
8368
8369 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8370 * elf/dl-sym.c: Likewise.
8371
57912a71
UD
83722011-06-15 Ulrich Drepper <drepper@gmail.com>
8373
8374 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8375 need to dereference resplen2.
8376
ee22793d
AS
83772011-06-14 Andreas Schwab <schwab@redhat.com>
8378
8379 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8380
a9e836b0
UD
83812011-06-15 Ulrich Drepper <drepper@gmail.com>
8382
77fb9117
UD
8383 * Makeconfig: Define vardbdir and inst_vardbdir.
8384 * nss/Makefile: Add rules to install db-Makefile.
8385
40c1b22c
UD
8386 * nss/nss_db/db-XXX.c: Cleanup.
8387
9f2da732
UD
8388 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8389 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8390 GLIBC_PRIVATE.
8391 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8392 * nss/makedb.c: Implement -g option to specify that value strings
8393 are generated and should not be added to table iterated over for
8394 get*ent calls.
8395 * nss/nss_db/db-initgroups.c: New file.
8396
82e9a1f7
UD
8397 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8398 interface.
8399
c41af17e
UD
8400 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8401 (internal_getgrouplist): Adjust to name change.
8402 Update use_initgroups_entry if this is not the first call.
8403 * nss/databases.def: Add initgroups entry.
8404
a9e836b0
UD
8405 * nss/makedb.c (compute_tables): Check result of multiple hash table
8406 sizes to minimize maximum chain length.
8407
2666d441
UD
84082011-06-14 Ulrich Drepper <drepper@gmail.com>
8409
8410 * Versions.def: Add entry for libnss_db.
8411 * shlib-versions: Likewise.
8412 * nss/Makefile: Add rules to build libnss_db.
8413 * nss/Versions: Add libnss_db information. Organize libnss_files
8414 entries better.
8415 * nss/db-Makefile: Add gshadow support. Change rules for the new
8416 makedb progra. Some minor improvements to generate smaller files.
8417 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8418 here from...
8419 * nss/makedb.c: ...here.
8420 Improve database format to be smaller and require less memory at
8421 runtime.
8422 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8423 db anymore.
8424 * nss/nss_db/db-netgrp.c: Likewise.
8425 * nss/nss_db/db-open.c: Likewise.
8426 * nss/nss_files/flies-XXX.x: Adjust comments.
8427 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8428 * nss/nss_files/files-grp.c: Likewise.
8429 * nss/nss_files/files-hosts.c: Likewise.
8430 * nss/nss_files/files-network.c: Likewise.
8431 * nss/nss_files/files-proto.c: Likewise.
8432 * nss/nss_files/files-pwd.c: Likewise.
8433 * nss/nss_files/files-rpc.c: Likewise.
8434 * nss/nss_files/files-service.c: Likewise.
8435 * nss/nss_files/files-sgrp.c: Likewise.
8436 * nss/nss_files/files-spwd.c: Likewise.
8437 * nss/nss_db/db-alias.c: Removed.
8438 * nss/nss_db/dummy-db.h: Removed.
8439
9ee76b5a
UD
84402011-06-02 Ulrich Drepper <drepper@gmail.com>
8441
8442 * nss/makedb.c: Rewritten to not use database library.
8443 * nss/Makefile: Update to build new makedb program.
8444
c71ca1f8
AJ
84452011-06-14 Andreas Jaeger <aj@suse.de>
8446
8447 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8448 memset declaration.
8449
3154bfb8
UD
84502011-06-10 Andreas Schwab <schwab@redhat.com>
8451
8452 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8453 tmpbuf.
8454
b350afab
RM
84552011-06-10 Roland McGrath <roland@hack.frob.com>
8456
decd4e50
RM
8457 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8458 * elf/Makefile ($(objpfx)ld.so): Likewise.
8459
5615eaf2
RM
8460 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8461 Don't list ld.so twice in dependencies.
8462
8463 * posix/bug-regex31.c: Include <stdlib.h>.
8464
8465 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8466
8467 * nis/nss_compat/compat-spwd.c
8468 (getspent_next_nss_netgr): Remove unused variable.
8469 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8470
8471 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8472 nonmembers" output to use the right array.
8473
8474 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8475
8476 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8477
8478 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8479 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8480 * catgets/gencat.c (read_input_file): Likewise.
8481 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8482
8483 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8484 variable definition inside #if's controlling its use.
8485
8486 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8487
8488 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8489
8490 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8491
8492 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8493 unreachable code.
8494
8495 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8496
b68e08db
RM
8497 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8498 * configure: Regenerated.
8499
b350afab
RM
8500 * Makerules: Revert last change.
8501 * elf/Makefile: Likewise.
8502
28368601
RM
85032011-06-09 Roland McGrath <roland@hack.frob.com>
8504
8505 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8506 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8507 (reloc-link): Likewise.
8508
11988f8f
UD
85092011-06-09 Ulrich Drepper <drepper@gmail.com>
8510
8511 * elf/Makefile: Add rules to build pldd.
8512 * elf/pldd.c: New file.
8513 * elf/pldd-xx.c: New file.
8514
e80fab37
UD
85152011-06-07 Ulrich Drepper <drepper@gmail.com>
8516
8517 * version.h: Update for 2.15 development version.
8518
9b849836
DM
85192011-06-07 David S. Miller <davem@davemloft.net>
8520
8521 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8522 ifuncs.
8523 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8524 elf_machine_lazy_rel): Likewise.
8525 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8526 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8527 elf_machine_lazy_rel): Likewise.
8528 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8529 dl_hwcap via passed in argument.
8530 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8531 Likewise.
8532
5a31b283
AK
85332011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8534
8535 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8536
069e52f8
RM
85372011-06-06 Roland McGrath <roland@hack.frob.com>
8538
8539 [BZ #12849]
8540 * manual/fdl-1.1.texi: New file, verbatim from:
8541 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8542 * manual/lgpl-2.1.texi: New file, verbatim from:
8543 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8544 * manual/Makefile (licenses): New variable, list those new file names.
8545 (texis): Use it.
8546 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8547
8548 * manual/fdl.texi: File removed.
8549 * manual/lesser.texi: File removed.
8550 * manual/libc.texinfo (Copying, Documentation License):
8551 Use new @include file names, put @appendix directive before @include.
8552
f16846a5
JJ
85532011-06-04 Jakub Jelinek <jakub@redhat.com>
8554
8555 [BZ #12841]
8556 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8557 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8558 (mq_open): Add __NTH.
8559
3d29045b
L
85602011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8561
8562 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8563 Assume Intel Core i3/i5/i7 processor if AVX is available.
8564
8c297311
UD
85652011-05-31 Ulrich Drepper <drepper@gmail.com>
8566
8567 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8568 typo.
8569
c8fc0c91
UD
85702011-05-31 Andreas Schwab <schwab@redhat.com>
8571
8572 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8573 memory. Use alloca_account. Fix memory leak when retrying.
8574
5b27a807
UD
85752011-05-31 Ulrich Drepper <drepper@gmail.com>
8576
356f8bc6
UD
8577 * version.h (RELEASE): Bump for 2.14 release.
8578 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8579
5b27a807
UD
8580 * config.make.in (RANLIB): Remove entry.
8581
01f16ab0
UD
85822011-05-30 Ulrich Drepper <drepper@gmail.com>
8583
41fce8bd
UD
8584 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8585 (libc.pot): Work around missing support for .ksh extension in xgettext.
8586
4769ae77
UD
8587 [BZ #12684]
8588 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8589 if both request failed.
8590 (send_dg): In case of server errors clear resplen or *resplen2.
8591
6b1e7d19
UD
8592 [BZ #12454]
8593 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8594 when there are multiple maps.
8595 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8596 (_dl_fini): Remove test here.
8597
01f16ab0
UD
8598 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8599
b1ebd700
UD
86002011-05-29 Ulrich Drepper <drepper@gmail.com>
8601
7ae22829
UD
8602 [BZ #12350]
8603 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8604 bit from old_res_options.
8605 (gaih_inet): Likewise.
8606
553149f6 8607 [BZ #11099]
18a84741 8608 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
8609 as signed.
8610
652ffab1
UD
8611 * resolv/res_init.c (res_setoptions): Make the code more compact.
8612
16985fd0
UD
8613 [BZ #11558]
8614 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8615 set RES_USEVC.
8616
0464f746
UD
8617 [BZ #11634]
8618 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8619
7d17596c
UD
8620 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8621
cf6bbbd7
UD
8622 [BZ #11781]
8623 * malloc/malloc.h: Declare malloc hook variables as volatile.
8624
13f1ab36
UD
8625 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8626 in last patch.
8627
b1ebd700
UD
8628 [BZ #11799]
8629 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 8630 raise in the comment.
80e2212d
UD
8631 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8632 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8633 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 8634
ce67228d
UD
86352011-05-28 Ulrich Drepper <drepper@gmail.com>
8636
8887a920
UD
8637 [BZ #12811]
8638 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8639 grow the buffers more if it already has to be sufficient.
8640 (build_wcs_upper_buffer): Likewise.
8641 * posix/regexec.c (check_matching): Likewise.
8642 (clean_state_log_if_needed): Likewise.
8643 (extend_buffers): Don't enlarge buffers beyond size of the input
8644 buffer.
8645 Patches mostly by Emil Wojak <emil@wojak.eu>.
8646 * posix/bug-regex32.c: New file.
8647 * posix/Makefile (tests): Add bug-regex32.
8648
4f031072
UD
8649 * locale/findlocale.c (_nl_find_locale): Return right away if
8650 _nl_explode_name failed.
8651 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8652
d0478f0c
UD
8653 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8654
de81b246
UD
8655 * debug/xtrace.sh: Unify messages.
8656 * malloc/memusage.sh: Likewise.
8657
c738465a
UD
8658 [BZ #12813]
8659 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8660 time symbol from vDSO. Substitute with vsyscall if not available.
8661 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8662 __vdso_time.
8663
f1f929d7
UD
8664 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8665 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8666 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8667 Add sendmmsg and internal_sendmmsg.
8668 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8669 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8670 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8671
ce67228d
UD
8672 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8673 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8674 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8675
e57420c6
UD
86762011-05-27 Ulrich Drepper <drepper@gmail.com>
8677
a8509ca5
UD
8678 [BZ #12813]
8679 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8680 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8681 available.
8682 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8683 __vdso_getcpu.
8684
e57420c6
UD
8685 [BZ #12814]
8686 * iconvdata/Makefile (tests): Add bug-iconv9.
8687 * iconvdata/bug-iconv9.c: New file.
8688
4d07db15
AS
86892011-05-27 Andreas Schwab <schwab@redhat.com>
8690
8691 [BZ #12814]
8692 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8693
ea486f69
JJ
86942011-05-25 Jakub Jelinek <jakub@redhat.com>
8695
8696 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8697 (struct user_regs_struct): Change intcs field back to cs.
8698
6f038433
UD
86992011-05-25 Ulrich Drepper <drepper@gmail.com>
8700
8701 * po/ja.po: Update from translation team.
8702
67f86a25
UD
87032011-05-23 Ulrich Drepper <drepper@gmail.com>
8704
8705 [BZ #12795]
8706 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8707 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8708
def7fbd6
AS
87092011-05-20 Andreas Schwab <schwab@redhat.com>
8710
8711 * stdlib/longlong.h: Update from GCC.
8712
f50ef8f1
AS
87132011-05-23 Andreas Schwab <schwab@redhat.com>
8714
8715 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8716 parameter name.
8717 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8718 Add parameter name.
8719 (__sysconf): Pass it down.
8720
de7ce8f1
UD
87212011-05-22 Ulrich Drepper <drepper@gmail.com>
8722
f2962a71
UD
8723 [BZ #12671]
8724 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8725 some situations.
8726 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8727 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8728 add in in __libc_use_alloca calls. Adjust callers.
8729 (glob): Use malloc in some situations.
8730
de7ce8f1
UD
8731 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8732 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8733 pltexit.
8734
aec84f53
UD
87352011-05-21 Ulrich Drepper <drepper@gmail.com>
8736
05bb4a68
UD
8737 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8738 and CLOCK_BOOTTIME_ALARM.
8739
7ea72f99
UD
8740 [BZ #12782]
8741 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8742 is returned.
8743
7e4afad5
UD
8744 * string/_strerror.c (__strerror_r): Print negative errors as signed
8745 numbers.
8746
8e211fec
UD
8747 [BZ #12777]
8748 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8749 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8750 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8751
f7d82dc9
UD
8752 * configure.in: Fix typo in redirection and correct removal of test
8753 files in two cases.
8754
cc9e536d
UD
8755 [BZ #12788]
8756 * locale/setlocale.c (new_composite_name): Fix test to check for
8757 identical name of all categories.
8758
aec84f53
UD
8759 [BZ #12792]
8760 * libio/filedoalloc.c (local_isatty): New function.
8761 (_IO_file_doallocate): Use local_isatty.
8762 * stdio-common/perror.c (perror): In case a new stream is used
8763 forward the stream error.
8764 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8765 error flag.
8766
78e64fdc
RT
87672011-05-20 Ulrich Drepper <drepper@gmail.com>
8768
34a9094f
UD
8769 [BZ #11869]
8770 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8771 alloca.
8772 * include/alloca.h (extend_alloca_account): Define.
8773
78e64fdc
RT
8774 [BZ #11857]
8775 * posix/regex.h: Fix comments with documentation of user-accessible
8776 fields after compilation and describe correct free'ing of pattern
8777 after re_compile_pattern.
8778 Patch by Reuben Thomas <rrt@sc3d.org>.
8779
457bddfc
RA
87802011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8781
8782 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8783 and -mno-altivec to prevent the compiler from using Altivec and/or
8784 VSX instructions when the corresponding registers are not available.
8785
a4527b51
AS
87862011-05-19 Andreas Schwab <schwab@redhat.com>
8787
8788 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8789
ed690b2f
UD
87902011-05-19 Ulrich Drepper <drepper@gmail.com>
8791
8792 * libio/freopen.c (freopen): Use __dup2, not dup2.
8793 * libio/freopen64.c (freopen64): Likewise.
8794
8db73634
L
87952011-05-17 H.J. Lu <hongjiu.lu@intel.com>
8796
8797 [BZ #12775]
8798 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
8799 * math/Makefile (tests): Add test-powl.
8800 (CFLAGS-test-powl.c): Define.
8801 * math/test-powl.c: New file.
8802
0a197a9d
L
88032011-05-16 H.J. Lu <hongjiu.lu@intel.com>
8804
8805 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
8806
ee30c380
UD
88072011-05-17 Ulrich Drepper <drepper@gmail.com>
8808
8809 [BZ #11837]
8810 * iconvdata/gb18030.c: Update to GB18020-2005.
8811
6ce75379
UD
88122011-05-16 Ulrich Drepper <drepper@gmail.com>
8813
a4b89fd8
AR
8814 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
8815 RE_SYNTAX_POSIX_AWK): Update to match recent development.
8816 Patch by Aharon Robbins <arnold@skeeve.com>.
8817
ea389b12
UD
8818 [BZ #11892]
8819 * stdlib/putenv.c (putenv): Don't always create copy of the variable
8820 on the stack.
8821
68a3f91f
UD
8822 [BZ #11895]
8823 * misc/pselect.c (__pselect): Handle timeout value errors hidden
8824 through underflows.
8825
15cc7dd1
UD
8826 [BZ #12766]
8827 * misc/error.c (error_at_line): Ensure file_name and old_file_name
8828 point to strings before performing equality test for error_one_per_line
8829 mode.
8830
f3799213
UD
8831 [BZ #11697]
8832 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
8833
d79a9c94
UD
8834 [BZ #11820]
8835 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8836 (struct user_fpregs_struct): Avoid __uint*_t types.
8837
56e5eb46
UD
8838 [BZ #6420]
8839 * malloc/mtrace.c (tr_where): Add additional parameter to point to
8840 symbol info. Use it instead of calling _dl_addr locally.
8841 (lock_and_info): New function.
8842 (tr_freehook): Call lock_and_info and pass symbol info as additional
8843 parameter to tr_where.
8844 (tr_mallochook): Likewise.
8845 (tr_reallochook): Likewise.
8846 (tr_memalignhook): Likewise.
8847
6ce75379
UD
8848 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
8849 used and couldn't be at all thread-safe.
8850
f8a3b5bf
UD
88512011-05-15 Ulrich Drepper <drepper@gmail.com>
8852
94b7cc37
UD
8853 * libio/freopen.c (freopen): Don't close old file descriptor
8854 before the new one is opened. Instead dup the new file descriptor
8855 to the old one after the new stream is created.
8856 * libio/freopen64.c (freopen64): Likewise.
8857 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
8858 * libio/fileops.c (_IO_new_file_close_it): Handle new
8859 _IO_FLAGS2_NOCLOSE flag.
8860 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
8861 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
8862 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
8863 _IO_FLAGS2_NOCLOSE flag.
8864 * include/unistd.h: Add hidden_proto for dup3.
8865 Define __have_dup3.
8866 * io/dup3.c: Define hidden symbol.
8867 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
8868
bd25564e
UD
8869 [BZ #7101]
8870 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
8871 when an incomplete long option is used.
8872 * posix/tst-getopt_long1.c: New file.
8873 * posix/Makefile (tests): Add tst-getopt_long1.
8874
c84cfef4
UD
8875 [BZ #10138]
8876 * scripts/config.guess: Update from autoconf-2.68.
8877 * scripts/config.sub: Likewise.
8878
3b85df27
UD
8879 [BZ #10157]
8880 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
8881 tests into ...
8882 (has_cpuclock): ...this. New function.
8883 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
8884 macro here based on has_cpuclock code.
8885
15a856b1
UD
8886 [BZ #10149]
8887 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8888 First byte (not low byte) is now always NUL.
8889 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
8890
05f399e6
UD
8891 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8892 Use non-cancelable interfaces.
8893
10a52685 8894 [BZ #9809]
94ecc67d
UD
8895 * locale/iso-639.def: Add entry for Sorani.
8896
f8a3b5bf
UD
8897 [BZ #11901]
8898 * include/stdlib.h: Move include protection to the right place.
8899 Define abort_msg_s. Declare __abort_msg with it.
8900 * stdlib/abort.c (__abort_msg): Adjust type.
8901 * assert/assert.c (__assert_fail_base): New function. Majority
8902 of code from __assert_fail. Allocate memory for __abort_msg with
8903 mmap.
8904 (__assert_fail): Now call __assert_fail_base.
8905 * assert/assert-perr.c: Remove bulk of implementation. Use
8906 __assert_fail_base.
8907 * include/assert.hL Declare __assert_fail_base.
8908 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
8909 mmap.
8910 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
8911
1af4e298
UD
89122011-05-14 Ulrich Drepper <drepper@gmail.com>
8913
f8a3b5bf 8914 [BZ #11952]
d26dfc60
MG
8915 [BZ #12453]
8916 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
8917 until all modules are registered in the DTV.
8918 * elf/Makefile: Add rules to build and run tst-tls19.
8919 * elf/tst-tls19.c: New file.
8920 * elf/tst-tls19mod1.c: New file.
8921 * elf/tst-tls19mod2.c: New file.
8922 * elf/tst-tls19mod3.c: New file.
8923 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
8924
2fc54d6f
UD
8925 [BZ #12083]
8926 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
8927 correctly.
8928
98d76b46
UD
8929 [BZ #12601]
8930 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
8931 two-byte sequence errors.
8932 * iconvdata/Makefile (tests): Add bug-iconv8.
8933 * iconvdata/bug-iconv8.c: New file.
8934
da3c19ef
UD
8935 [BZ #12626]
8936 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
8937 buf2 definition.
8938
ca408c15
UD
8939 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
8940
d6f67f7d
UD
8941 [BZ #12432]
8942 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
8943 (dummy_getcfa): New function.
8944 (init): Get _Unwind_GetCFA address, use dummy if not found.
8945 (backtrace_helper): In recursion check, also check whether CFA changes.
8946 (__backtrace): Completely initialize arg.
8947
1af4e298 8948 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
8949 storing incomplete byte sequence in state object. Avoid testing for
8950 guaranteed too small input if we know there is enough data available.
1af4e298 8951
da62f81b
AS
89522011-05-11 Andreas Schwab <schwab@redhat.com>
8953
8954 * Makeconfig (+link-pie): Indent.
8955 * Rules (binaries-pie): Define if $(have-fpie) and
8956 $(build-shared).
8957 (binaries-shared): Also filter out $(binaries-pie).
8958 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
8959 * nscd/Makefile (others-pie): Add nscd.
8960 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
8961 ($(objpfx)nscd): Remove command override.
8962 * login/Makefile (others-pie): Add pt_chown.
8963 ($(objpfx)pt_chown): Remove command override.
8964 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
8965 remove command overrides.
8966
fcabc0f8
UD
89672011-05-13 Ulrich Drepper <drepper@gmail.com>
8968
20030ae6
UD
8969 * libio/tst_putwc.c: Fix error messages.
8970
fcabc0f8
UD
8971 [BZ #12724]
8972 * libio/fileops.c (_IO_new_file_close_it): Always flush when
8973 currently writing and seek to current position when not.
8974 * libio/Makefile (tests): Add bug-fclose1.
8975 * libio/bug-fclose1.c: New file.
8976
320a5dc0
PB
89772011-05-12 Ulrich Drepper <drepper@gmail.com>
8978
8979 [BZ #12511]
8980 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
8981 don't set DF_1_NODELETE here.
8982 (do_lookup_x): When entering new entry test for copy relocation
8983 and if necessary set DF_1_NODELETE flag.
8984 * elf/tst-unique4.cc: New file.
8985 * elf/tst-unique4.h: New file.
8986 * elf/tst-unique4lib.cc: New file.
8987 * elf/Makefile: Add rules to build and run tst-unique4.
8988 Patch by Piotr Bury <pbury@goahead.com>.
8989
22836f52
UD
89902011-05-11 Ulrich Drepper <drepper@gmail.com>
8991
f574184a
UD
8992 [BZ #12052]
8993 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
8994
e1fb097f
UD
8995 [BZ #12625]
8996 * misc/mntent_r.c (addmntent): Flush the stream after the output
8997
22836f52
UD
8998 [BZ #12393]
8999 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9000 (is_trusted_path_normalize): Skip initial colon. Append slash
9001 to empty buffer. Duplicate is_trusted_path code but allow
9002 constructed patch to be prefix.
9003 (is_dst): Allow $ORIGIN followed by /.
9004 (_dl_dst_substitute): Correct clearing of check_for_trusted.
9005 Correct testing of result of is_trusted_path_normalize
9006 (decompose_rpath): Fix warning.
9007
7b3b0b2a
UD
90082011-05-10 Ulrich Drepper <drepper@gmail.com>
9009
9010 [BZ #11257]
9011 * grp/initgroups.c (internal_getgrouplist): When we found the service
9012 list through the initgroups entry in nsswitch.conf do not always
9013 continue on a successful lookup. Don't always use the
eac80ce2 9014 __nss_group_database value if it is set.
7b3b0b2a
UD
9015 * nss/nsswitch.conf (initgroups): Change action for successful db
9016 lookup to continue for compatibility.
9017
2a81eaa5
UD
90182011-05-09 Ulrich Drepper <drepper@gmail.com>
9019
be97a69e
UD
9020 [BZ #11532]
9021 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9022 and CP774 modules.
9023 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9024 and CP774 modules.
9025 * iconvdata/tst-tables.sh: Likewise.
9026 * iconvdata/cp770.c: New file.
9027 * iconvdata/cp771.c: New file.
9028 * iconvdata/cp772.c: New file.
9029 * iconvdata/cp773.c: New file.
9030 * iconvdata/cp774.c: New file.
9031 * iconvdata/testdata/CP770: New file.
9032 * iconvdata/testdata/CP770..UTF8: New file.
9033 * iconvdata/testdata/CP771: New file.
9034 * iconvdata/testdata/CP771..UTF8: New file.
9035 * iconvdata/testdata/CP772: New file.
9036 * iconvdata/testdata/CP772..UTF8: New file.
9037 * iconvdata/testdata/CP773: New file.
9038 * iconvdata/testdata/CP773..UTF8: New file.
9039 * iconvdata/testdata/CP774: New file.
9040 * iconvdata/testdata/CP774..UTF8: New file.
9041
9042 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9043 END CHARMAP line.
9044 * iconvdata/gen-8bit-gap.sh: Likewise.
9045 * iconvdata/gen-8bit.sh: Likewise.
9046
c1e9e399
UD
9047 * locale/iso-639.def: Add ary entry.
9048
24c55fb3 9049 [BZ #11258]
96b4b1b0
UD
9050 * locale/C-translit.h.in: Add U20A1 transliteration.
9051
bdc2f971
KB
9052 [BZ #12178]
9053 * locale/iso-639.def: Add wae entry.
9054 Patch by Kevin Bortis <bortis@translate-wae.ch>.
9055
2952b117
UD
9056 [BZ #12545]
9057 * locale/programs/localedef.c (construct_output_path): Use ssize_t
9058 for n.
9059
2a81eaa5
UD
9060 [BZ #12711]
9061 * locale/C-translit.h.in: Add entry for U20B9.
9062 Patch by pravin.d.s@gmail.com.
9063
28377d1b
UD
90642011-05-08 Ulrich Drepper <drepper@gmail.com>
9065
7fb90fb8
UD
9066 [BZ #12713]
9067 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9068 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
9069 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
9070 in rtld. Use *stat64.
7fb90fb8 9071 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 9072 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 9073 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
9074 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9075 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9076 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9077 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9078 __fstatat64 macros.
7fb90fb8
UD
9079 * include/dirent.h: Add libc_hidden_proto for rewinddir.
9080 * dirent/rewinddir.c: Add libc_hidden_def.
9081 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 9082 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 9083
28377d1b
UD
9084 * include/dirent.h (__alloc_dir): Add flags parameter.
9085 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9086 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9087 __alloc_dir.
9088 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
9089 from fdopendir if O_CLOEXEC is already set.
9090
66bdbaa4
AM
90912011-03-15 Alan Modra <amodra@gmail.com>
9092
9093 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9094 l_tls_firstbyte_offset non-zero. Save padding offset in
9095 l_tls_firstbyte_offset for later use.
9096 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9097 freeing static tls block.
9098
95721191
JN
90992011-03-05 Jonathan Nieder <jrnieder@gmail.com>
9100
9101 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9102 where #ifdef was intended. The intent is to prevent ARG_MAX from
9103 being defined by the kernel headers.
9104
f87dfb1f
UD
91052011-05-07 Ulrich Drepper <drepper@gmail.com>
9106
9107 [BZ #12734]
9108 * resolv/resolv.h: Define RES_NOTLDQUERY.
9109 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9110 no-tld-query and set RES_NOTLDQUERY.
9111 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9112 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9113 modern BIND to search name as TLD unless forbidden.
9114
47c3cd7a
UD
91152011-05-07 Petr Baudis <pasky@suse.cz>
9116 Ulrich Drepper <drepper@gmail.com>
9117
9118 [BZ #12393]
9119 * elf/dl-load.c (fillin_rpath): Move trusted path check...
9120 (is_trusted_path): ...to here.
c1e9ea35 9121 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 9122 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 9123 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 9124
8a35c912
PP
91252011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9126
9127 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9128 __BEGIN/__END_DECLS.
9129
acd41f47
UD
91302011-05-06 Ulrich Drepper <drepper@gmail.com>
9131
9132 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9133 NSS_STATUS_NOTFOUND if no record was found.
9134
597df647
AS
91352011-05-05 Andreas Schwab <schwab@redhat.com>
9136
9137 * sunrpc/Makefile (headers): Add rpc/netdb.h.
9138 (headers-not-in-tirpc): Remove rpc/netdb.h
9139 * resolv/netdb.h: Revert last change.
9140
b9af1301
PP
91412011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9142
9143 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9144 circular dependency between libgcc.a and libc.a.
9145
4e34d5f5
AS
91462011-05-05 Andreas Schwab <schwab@redhat.com>
9147
9148 * resolv/netdb.h: Don't include <rpc/netdb.h>.
9149 * nis/Makefile: Don't install rpcsvc/*.
9150 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9151 instead of <rpc/types.h>.
9152 (MAXHOSTNAMELEN): Define.
9153
00ee369c
AS
91542011-05-03 Andreas Schwab <schwab@redhat.com>
9155
9156 * elf/ldconfig.c (add_dir): Don't crash on empty path.
9157
0b592a30
MB
91582011-04-28 Maciej Babinski <mbabinski@google.com>
9159
9160 [BZ #12714]
9161 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9162 gethostbyname4_r when IPv6 results are possible.
9163
6e04cbbe
UD
91642011-05-02 Ulrich Drepper <drepper@gmail.com>
9165
9166 [BZ #12723]
9167 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9168 _PC_PIPE_BUF handling.
9169
e4ecafe0
BH
91702011-04-30 Bruno Haible <bruno@clisp.org>
9171
9172 [BZ #12717]
9173 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9174 * resolv/netdb.h (getnameinfo): Change type of flags parameter
9175 to 'int'.
9176 * inet/getnameinfo.c (getnameinfo): Likewise.
9177
125ee683
UD
91782011-04-29 Ulrich Drepper <drepper@gmail.com>
9179
9180 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9181 to groups setting in database lookup.
9182 * nss/nsswitch.conf: Add initgroups entry.
9183
b722481a
EB
91842011-04-22 Ulrich Drepper <drepper@gmail.com>
9185
9186 [BZ #12685]
9187 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9188 mode string.
9189 Patch by Eric Blake <eblake@redhat.com>.
9190
4df46dbd
L
91912011-04-20 H.J. Lu <hongjiu.lu@intel.com>
9192
9193 * sunrpc/Makefile (need-export-routines): Add svc_run.
9194 (routines): Remove svc_run.
9195 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9196 * sunrpc/clnt_perr.c (clnt_perrno): Export.
9197 * sunrpc/svc_run.c (svc_run): Likewise.
9198 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9199
e84142d2
UD
92002011-04-21 Ulrich Drepper <drepper@gmail.com>
9201
9202 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9203 problem in reallocation in last patch.
9204
877175d8
UD
92052011-04-20 Ulrich Drepper <drepper@gmail.com>
9206
9207 * sunrpc/Makefile: Move inclusion of Rules.
9208
ab8eed78
UD
92092011-04-19 Ulrich Drepper <drepper@gmail.com>
9210
9211 * nss/nss_files/files-initgroups.c: New file.
9212 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9213 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9214 _nss_files_initgroups_dyn.
9215
e3d8f584
RS
92162011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9217
9218 * elf/elf.h (R_ARM_IRELATIVE): Define.
9219
af190f45
UD
92202011-04-19 Ulrich Drepper <drepper@gmail.com>
9221
9222 * po/ru.po: Update from translation team.
9223
53cf59ef
UD
92242011-04-17 Ulrich Drepper <drepper@gmail.com>
9225
9226 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9227 dependencies.
9228
4c559bcd
MF
92292011-02-06 Mike Frysinger <vapier@gentoo.org>
9230
9231 [BZ #12653]
9232 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9233 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9234 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9235 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9236 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9237
4420675c
AS
92382011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9239
9240 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9241 differing bytes.
9242 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9243 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9244 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9245
75ea32ab
UD
92462011-04-17 Ulrich Drepper <drepper@gmail.com>
9247
9248 [BZ #12420]
9249 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9250 storing it.
9251 * stdlib/bug-getcontext.c: New file.
9252 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9253
27390476
AK
92542011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9255
9256 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9257 instructions into .machine "z9-109".
9258 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9259 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9260
10442705
AK
92612011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9262
9263 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9264 between environment variables and auxiliary vector.
9265
7b57bfe5
UD
92662011-04-16 Ulrich Drepper <drepper@gmail.com>
9267
9268 * Makefile: Add rules to build linkobj/libc.so.
9269 * include/libc-symbols.h: Define libc_hidden_nolink.
9270 * include/rpc/auth.h: Mark functions which are to be hidden.
9271 * include/rpc/auth_des.h: Likewise.
9272 * include/rpc/auth_unix.h: Likewise.
9273 * include/rpc/clnt.h: Likewise.
9274 * include/rpc/des_crypt.h: Likewise.
9275 * include/rpc/key_prot.h: Likewise.
9276 * include/rpc/pmap_clnt.h: Likewise.
9277 * include/rpc/pmap_prot.h: Likewise.
9278 * include/rpc/pmap_rmt.h: Likewise.
9279 * include/rpc/rpc_msg.h: Likewise.
9280 * include/rpc/svc.h: Likewise.
9281 * include/rpc/svc_auth.h: Likewise.
9282 * include/rpc/xdr.h: Likewise.
9283 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9284 * nss/Makefile: Likewise.
9285 * sunrpc/Makefile: Don't install headers. Build library with normal
9286 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9287 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9288 for the compat linking library. Remove use of INTDEF/INTUSE.
9289 * sunrpc/auth_none.c: Likewise.
9290 * sunrpc/auth_unix.c: Likewise.
9291 * sunrpc/authdes_prot.c: Likewise.
9292 * sunrpc/authuxprot.c: Likewise.
9293 * sunrpc/clnt_gen.c: Likewise.
9294 * sunrpc/clnt_perr.c: Likewise.
9295 * sunrpc/clnt_raw.c: Likewise.
9296 * sunrpc/clnt_simp.c: Likewise.
9297 * sunrpc/clnt_tcp.c: Likewise.
9298 * sunrpc/clnt_udp.c: Likewise.
9299 * sunrpc/clnt_unix.c: Likewise.
9300 * sunrpc/des_crypt.c: Likewise.
9301 * sunrpc/des_soft.c: Likewise.
9302 * sunrpc/get_myaddr.c: Likewise.
9303 * sunrpc/key_call.c: Likewise.
9304 * sunrpc/key_prot.c: Likewise.
9305 * sunrpc/netname.c: Likewise.
9306 * sunrpc/pm_getmaps.c: Likewise.
9307 * sunrpc/pm_getport.c: Likewise.
9308 * sunrpc/pmap_clnt.c: Likewise.
9309 * sunrpc/pmap_prot.c: Likewise.
9310 * sunrpc/pmap_prot2.c: Likewise.
9311 * sunrpc/pmap_rmt.c: Likewise.
9312 * sunrpc/publickey.c: Likewise.
9313 * sunrpc/rpc_cmsg.c: Likewise.
9314 * sunrpc/rpc_common.c: Likewise.
9315 * sunrpc/rpc_dtable.c: Likewise.
9316 * sunrpc/rpc_prot.c: Likewise.
9317 * sunrpc/rpc_thread.c: Likewise.
9318 * sunrpc/rtime.c: Likewise.
9319 * sunrpc/svc.c: Likewise.
9320 * sunrpc/svc_auth.c: Likewise.
9321 * sunrpc/svc_authux.c: Likewise.
9322 * sunrpc/svc_raw.c: Likewise.
9323 * sunrpc/svc_run.c: Likewise.
9324 * sunrpc/svc_simple.c: Likewise.
9325 * sunrpc/svc_tcp.c: Likewise.
9326 * sunrpc/svc_udp.c: Likewise.
9327 * sunrpc/svc_unix.c: Likewise.
9328 * sunrpc/svcauth_des.c: Likewise.
9329 * sunrpc/xcrypt.c: Likewise.
9330 * sunrpc/xdr.c: Likewise.
9331 * sunrpc/xdr_array.c: Likewise.
9332 * sunrpc/xdr_float.c: Likewise.
9333 * sunrpc/xdr_intXX_t.c: Likewise.
9334 * sunrpc/xdr_mem.c: Likewise.
9335 * sunrpc/xdr_rec.c: Likewise.
9336 * sunrpc/xdr_ref.c: Likewise.
9337 * sunrpc/xdr_sizeof.c: Likewise.
9338 * sunrpc/xdr_stdio.c: Likewise.
9339
e6c61494
UD
93402011-04-10 Ulrich Drepper <drepper@gmail.com>
9341
9342 [BZ #12650]
9343 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9344 * sysdeps/ia64/dl-tls.h: Likewise.
9345 * sysdeps/powerpc/dl-tls.h: Likewise.
9346 * sysdeps/s390/dl-tls.h: Likewise.
9347 * sysdeps/sh/dl-tls.h: Likewise.
9348 * sysdeps/sparc/dl-tls.h: Likewise.
9349 * sysdeps/x86_64/dl-tls.h: Likewise.
9350 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9351
34fe483e
AS
93522011-03-14 Andreas Schwab <schwab@redhat.com>
9353
9354 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9355 rpath element also skip the following colon.
9356 (expand_dynamic_string_token): Add is_path parameter and pass
9357 down to DL_DST_REQUIRED and _dl_dst_substitute.
9358 (decompose_rpath): Call expand_dynamic_string_token with
9359 non-zero is_path. Ignore empty rpaths.
9360 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9361 with zero is_path.
9362
f12a32e6
AS
93632011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9364
9365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9366 Make cancelable.
9367
38a7d692
UD
93682011-04-09 Ulrich Drepper <drepper@gmail.com>
9369
9370 [BZ #12655]
9371 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9372 Patch by Filipe David Manana <fdmanana@apache.org>.
9373
e451d22b
AS
93742011-04-07 Andreas Schwab <schwab@redhat.com>
9375
9376 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9377 Maintain aligned stack.
9378 (CHECK_RSP): Remove unused macro.
9379
dedc7c7b
UD
93802011-04-03 Ulrich Drepper <drepper@gmail.com>
9381
9382 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9383 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9384
94521213
UD
93852011-04-02 Ulrich Drepper <drepper@gmail.com>
9386
9387 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9388
8cb700c0 9389 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 9390
0354e355
L
93912011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9392
9393 [BZ #12518]
9394 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9395 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9396 * sysdeps/x86_64/memmove.c: New file.
9397 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9398 (memcpy): Renamed to ...
9399 (__new_memcpy): This.
9400 (memcpy): Provide GLIBC_2_14 memcpy.
9401 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9402 (memcpy): Provide GLIBC_2_2_5 memcpy.
9403
8593482f
UD
94042011-04-01 Ulrich Drepper <drepper@gmail.com>
9405
9406 [BZ #12631]
9407 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9408
81a5726b
AS
94092011-03-30 Andreas Schwab <schwab@redhat.com>
9410
9411 * misc/syncfs.c: New file.
9412 * misc/Makefile (routines): Add syncfs.
9413 * posix/unistd.h: Declare syncfs.
9414 * sysdeps/unix/syscalls.list: Add syncfs.
9415
00e5419f
AS
94162011-04-01 Andreas Schwab <schwab@redhat.com>
9417
9418 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9419 open_by_handle_at.
9420 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9421 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9422 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9423 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9424 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9425 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9426 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9427
748876bf
UD
94282011-04-01 Ulrich Drepper <drepper@gmail.com>
9429
658e451d
UD
9430 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9431 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9432 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9433 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9434 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9435 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9436 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9437
748876bf
UD
9438 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9439 sync_file_range.c with -fexceptions.
9440 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9441 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9442 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9443 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9444 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9445 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9446 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
9447 sync_file_range as cancellation point
9448 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9449 now a wrapper around __call_sync_file_range with cancellation handling.
9450 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9451 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9452 function name to __call_sync_file_range.
9453 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9454 Add call_sync_file_range.
748876bf 9455
6e63d5e1
AS
94562011-04-01 Andreas Schwab <schwab@redhat.com>
9457
9458 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 9459 bits/timex.h.
6e63d5e1 9460
46998f74
UD
94612011-04-01 Ulrich Drepper <drepper@gmail.com>
9462
4c1423ed
UD
9463 * iconv/iconv.h: Fix typo in comment.
9464 * io/fcntl.h: Likewise.
9465 * libio/stdio.h: Likewise.
9466 * posix/spawn.h: Likewise.
9467 * posix/unistd.h: Likewise.
9468 * stdlib/stdlib.h: Likewise.
9469 * time/time.h: Likewise.
9470 * wcsmbs/wchar.h: Likewise.
9471
158648c0
UD
9472 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9473 open_by_handle): Add.
9474 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9475 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9476 Augment a few comments.
9477 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9478 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9479 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9480 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9481 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9482 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9483 open_by_handle.
9484
46998f74
UD
9485 * io/fcntl.h (AT_EMPTY_PATH): Define.
9486
83fe108b
UD
94872011-03-30 Ulrich Drepper <drepper@gmail.com>
9488
9489 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9490 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9491 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9492 to...
9493 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
9494 * Versions.def: Add GLIBC_2.14.
9495 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9496 Export.
83fe108b 9497
bb242059
UD
94982011-03-22 Ulrich Drepper <drepper@gmail.com>
9499
9500 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9501 round counter.
9502 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9503
c97a1282
L
95042011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9505
9506 [BZ #12597]
9507 * string/test-strncmp.c (do_page_test): New function.
9508 (check2): Likewise.
9509 (test_main): Call check2.
9510 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9511
2a115601
UD
95122011-03-20 Ulrich Drepper <drepper@gmail.com>
9513
9514 [BZ #12587]
9515 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9516 Handle cache information in CPU leaf 4.
9517 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9518
8126d904
UD
95192011-03-18 Ulrich Drepper <drepper@gmail.com>
9520
042c49c6 9521 [BZ #12583]
8126d904
UD
9522 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9523 character representation.
9524 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9525
ccfe366e
RA
95262011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9527
9528 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9529 END(__isnan) to END(__isnanf) to match function entry point/label
9530 EALIGN(__isnanf,...).
9531
c6e13027
JJ
95322011-03-10 Jakub Jelinek <jakub@redhat.com>
9533
9534 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9535
33f85a3f
UD
95362011-03-10 Ulrich Drepper <drepper@gmail.com>
9537
028478fa
UD
9538 [BZ #12510]
9539 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9540 copy from the symbol referenced in the relocation to initialize the
9541 used variable.
9542 Patch by Piotr Bury <pbury@goahead.com>.
9543 * elf/Makefile: Add rules to build and tst-unique3.
9544 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9545 * elf/tst-unique3.cc: New file.
9546 * elf/tst-unique3.h: New file.
9547 * elf/tst-unique3lib.cc: New file.
9548 * elf/tst-unique3lib2.cc: New file.
9549
33f85a3f
UD
9550 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9551
03592fc7
MF
95522011-03-10 Mike Frysinger <vapier@gentoo.org>
9553
9554 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9555 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9556 to _start.
03592fc7 9557
6a5ee102
UD
95582011-03-06 Ulrich Drepper <drepper@gmail.com>
9559
9560 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9561 to-be-loaded object along a path to loader is ld.so.
9562
7e4ba49c
HJ
95632011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9564 Ulrich Drepper <drepper@gmail.com>
9565
9566 * sysdeps/x86_64/memset.S: After aligning destination, code
9567 branches to different locations depending on the value of
9568 misalignment, when multiarch is enabled. Fix this.
9569
95702011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9571
9572 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9573 Set _x86_64_preferred_memory_instruction for AMD processsors.
9574 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9575 Set bit_Prefer_SSE_for_memop for AMD processors.
9576
13a804de
UD
95772011-03-04 Ulrich Drepper <drepper@gmail.com>
9578
9579 * libio/fmemopen.c (fmemopen): Optimize a bit.
9580
9d25c392
AS
95812011-03-03 Andreas Schwab <schwab@redhat.com>
9582
9583 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9584
a5543c6a
RM
95852011-03-03 Roland McGrath <roland@redhat.com>
9586
9587 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9588
012d35f7
DM
95892011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9590
7e4ba49c 9591 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
9592 __bzero_ultra1 instead of __memset_ultra1.
9593
4bff6e01
AS
95942011-02-23 Andreas Schwab <schwab@redhat.com>
9595 Ulrich Drepper <drepper@gmail.com>
9596
9597 [BZ #12509]
9598 * include/link.h (struct link_map): Add l_orig_initfini.
9599 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9600 returning unsuccessfully.
9601 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9602 close of a file loaded at startup, restore the original l_initfini
9603 list.
9604 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9605 list, store the pointer.
9606 * elf/Makefile ($(objpfx)noload-mem): New rule.
9607 (noload-ENV): Define.
9608 (tests): Add $(objpfx)noload-mem.
9609 * elf/noload.c: Include <memcheck.h>.
9610 (main): Call mtrace. Close all opened handles.
9611
f2092faf
AS
96122011-02-17 Andreas Schwab <schwab@redhat.com>
9613
9614 [BZ #12454]
9615 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9616 dependencies are missing.
9617
6c8a2e88
ST
96182011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9619
f2092faf 9620 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
9621 Hurd needs munmap.
9622 * sysdeps/mach/hurd/ifreq.h: New file.
9623
84a42118
PB
96242011-01-27 Petr Baudis <pasky@suse.cz>
9625 Ulrich Drepper <drepper@gmail.com>
9626
071f805e 9627 [BZ 12445]#
84a42118
PB
9628 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9629 to extend_alloca().
9630 * stdio-common/bug23.c: New file.
9631 * stdio-common/Makefile (tests): Add bug23.
9632
e23fe25b
AS
96332010-09-28 Andreas Schwab <schwab@redhat.com>
9634 Ulrich Drepper <drepper@gmail.com>
9635
9636 [BZ #12489]
9637 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9638 before performing relro protection. At old place add assertion
9639 to make sure nothing changed.
9640
d3f02e10
NS
96412011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9642 Glauber de Oliveira Costa <glommer@gmail.com>
9643
9644 * elf/elf.h: Add new ARM TLS relocs.
9645
d55fd7a5
RA
96462011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9647
9648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9649 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9650 cast from r3.
9651 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9652 'tests' variable.
9653 * sysdeps/wordsize-64/tst-writev.c: New file.
9654
2206397e
RA
96552011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9656
9657 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9658 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9659 insns in _dl_start to prevent a TOC reference before relocs are
9660 resolved.
9661
e9433893
UD
96622011-02-15 Ulrich Drepper <drepper@gmail.com>
9663
9664 [BZ #12469]
9665 * Makeconfig: Remove RANLIB definition.
9666 * Makerules: Don't use RANLIB.
9667 * aclocal.m4: Remove ranlib test.
9668 * configure.in: No need to check for ranlib.
9669 * elf/rtld-Rules: Don't use RANLIB.
9670
f75286c6
ST
96712011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9672
8e31c82d
ST
9673 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9674 protection macro.
9675 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9676 inclusion protection macro.
9677
f75286c6
ST
9678 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9679 SIGRTMIN and SIGRTMAX and print information in that case only when
9680 SIGRTMIN is defined.
9681
c1d0e639
JJ
96822011-02-11 Jakub Jelinek <jakub@redhat.com>
9683
9684 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9685 arginfo fn returning -1.
9686
9687 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9688 and thousands string is zero terminated.
9689
edf9294e
AS
96902011-02-03 Andreas Schwab <schwab@redhat.com>
9691
9692 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9693 sysdeps/unix/sysv/linux/bits/socket.h.
9694
2b7e92df
ST
96952011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9696
edf9294e
AS
9697 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9698 (__CPU_COUNT): Remove old macros.
9699 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9700 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9701 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
9702 (__sched_cpualloc, __sched_cpufree): Add declarations.
9703
a4c7ea7b
UD
97042011-02-05 Ulrich Drepper <drepper@gmail.com>
9705
9706 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9707 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9708 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9709 (readdhstai): Return value of addhstaiX call.
9710 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9711 (addgrbyX): Return value returned by cache_addgr.
9712 (readdgrbyname): Return value returned by addgrbyX.
9713 (readdgrbygid): Likewise.
9714 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9715 (addpwbyX): Return value returned by cache_addpw.
9716 (readdpwbyname): Return value returned by addhstbyX.
9717 (readdpwbyuid): Likewise.
9718 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9719 (addservbyX): Return value returned by cache_addserv.
9720 (readdservbyname): Return value returned by addservbyX:
9721 (readdservbyport): Likewise.
9722 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9723 (addhstbyX): Return value returned by cache_addhst.
9724 (readdhstbyname): Return value returned by addhstbyX.
9725 (readdhstbyaddr): Likewise.
9726 (readdhstbynamev6): Likewise.
9727 (readdhstbyaddrv6): Likewise.
9728 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9729 (readdinitgroups): Return value returned by addinitgroupsX.
9730 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9731 (prune_cache): Keep track of timeout value of re-added entries.
9732 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9733 * nscd/nscd.h: Adjust prototypes of readd* functions.
9734
a0bf67cc
RM
97352011-02-04 Roland McGrath <roland@redhat.com>
9736
9737 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9738 (nis_stats): Likewise.
9739 * nis/nis_modify.c (nis_modify): Likewise.
9740 * nis/nis_remove.c (nis_remove): Likewise.
9741 * nis/nis_add.c (nis_add): Likewise.
9742
9743 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9744
9745 * posix/fnmatch_loop.c: Add some consts.
9746
9747 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9748
435b95eb
L
97492011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9750
9751 [BZ #12460]
9752 * config.make.in (config-cflags-novzeroupper): Define.
9753 * configure.in: Substitute libc_cv_cc_novzeroupper.
9754 * elf/Makefile (AVX-CFLAGS): Define.
9755 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9756 (CFLAGS-tst-auditmod4a.c): Likewise.
9757 (CFLAGS-tst-auditmod4b.c): Likewise.
9758 (CFLAGS-tst-auditmod6b.c): Likewise.
9759 (CFLAGS-tst-auditmod6c.c): Likewise.
9760 (CFLAGS-tst-auditmod7b.c): Likewise.
9761 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9762
8517b15e
UD
97632011-02-02 Ulrich Drepper <drepper@gmail.com>
9764
9765 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9766 function to the callback.
9767 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9768
10a656fe
AS
97692011-02-02 Andreas Schwab <schwab@redhat.com>
9770
9771 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9772 of errno.
9773
968dad0a
UD
97742011-01-19 Ulrich Drepper <drepper@gmail.com>
9775
9f94d2ea 9776 [BZ #11724]
968dad0a
UD
9777 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9778 of constructors.
9779 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9780 of destructors.
9781 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9782
9783 [BZ #11724]
9784 * elf/Makefile: Add rules to build and run new test.
9785 * elf/tst-initorder.c: New file.
9786 * elf/tst-initorder.exp: New file.
9787 * elf/tst-initordera1.c: New file.
9788 * elf/tst-initordera2.c: New file.
9789 * elf/tst-initordera3.c: New file.
9790 * elf/tst-initordera4.c: New file.
9791 * elf/tst-initorderb1.c: New file.
9792 * elf/tst-initorderb2.c: New file.
9793 * elf/tst-order-a1.c: New file.
9794 * elf/tst-order-a2.c: New file.
9795 * elf/tst-order-a3.c: New file.
9796 * elf/tst-order-a4.c: New file.
9797 * elf/tst-order-b1.c: New file.
9798 * elf/tst-order-b2.c: New file.
9799 * elf/tst-order-main.c: New file.
9800 New test case by George Gensure <werkt0@gmail.com>.
9801
86e92359
UD
98022010-10-01 Andreas Schwab <schwab@redhat.com>
9803
9804 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9805 decoding ACE if AI_CANONIDN.
9806
5d5732b0
UD
98072011-01-18 Ulrich Drepper <drepper@gmail.com>
9808
9809 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
9810
a77e8cbc
UD
98112011-01-17 Ulrich Drepper <drepper@gmail.com>
9812
6392473f
UD
9813 * version.h (RELEASE): Bump for 2.13 release.
9814 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
9815
620a0529
UD
9816 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
9817
18ba70a5
UD
9818 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
9819 MADV_NOHUGEPAGE.
32465c3e
UD
9820 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
9821 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9822 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9823 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9824 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9825 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9826
c0dafcf1
UD
9827 * posix/getconf.c: Update copyright year.
9828 * catgets/gencat.c: Likewise.
9829 * csu/version.c: Likewise.
9830 * debug/catchsegv.sh: Likewise.
9831 * debug/xtrace.sh: Likewise.
9832 * elf/ldconfig.c: Likewise.
9833 * elf/ldd.bash.in: Likewise.
9834 * elf/sprof.c (print_version): Likewise.
9835 * iconv/iconv_prog.c: Likewise.
9836 * iconv/iconvconfig.c: Likewise.
9837 * locale/programs/locale.c: Likewise.
9838 * locale/programs/localedef.c: Likewise.
9839 * malloc/memusage.sh: Likewise.
9840 * malloc/mtrace.pl: Likewise.
9841 * nscd/nscd.c (print_version): Likewise.
9842 * nss/getent.c: Likewise.
9843
a77e8cbc
UD
9844 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
9845 PF_CAIF, and PF_ALG.
9846 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9847
77e8bddf
AS
98482011-01-16 Andreas Schwab <schwab@linux-m68k.org>
9849
1f20b93a
AS
9850 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
9851 (modules-names): Use them.
9852 (ifunc-test-modules, ifunc-pie-tests): Define.
9853 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
9854 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
9855 (test-extras): Likewise.
9856 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
9857 $(compile-command.c).
9858 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
9859 (all-built-dso): Define.
9860 (check-textrel.out, check-execstack.out): Depend on it.
9861
77e8bddf
AS
9862 * configure.in: Don't override --enable-multi-arch.
9863
bc425b33
UD
98642011-01-15 Ulrich Drepper <drepper@gmail.com>
9865
9866 [BZ #6812]
9867 * nscd/hstcache.c (tryagain): Define.
9868 (cache_addhst): Return tryagain not notfound for temporary errors.
9869 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
9870 failed.
9871
794c3ad3
UD
98722011-01-14 Ulrich Drepper <drepper@gmail.com>
9873
70181fdd
UD
9874 [BZ #10563]
9875 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
9876 to make the syscall.
9877 * sysdeps/unix/sysv/linux/setgroups.c: New file.
9878
794c3ad3
UD
9879 [BZ #12378]
9880 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
9881 and fall back to matching as normal character if the string ends before
9882 the matching ']' is found. This is what POSIX requires.
9883 * posix/testfnm.c: Adjust test result.
9884 * posix/globtest.sh: Adjust test result. Add new test.
9885 * posix/tst-fnmatch.input: Likewise.
9886 * posix/tst-fnmatch2.c: Add new test.
9887
68dc9497
AS
98882010-12-28 Andreas Schwab <schwab@linux-m68k.org>
9889
9890 * elf/Makefile (check-execstack): Revert last change. Depend on
9891 check-execstack.h.
9892 (check-execstack.h): New target.
9893 (generated): Add check-execstack.h.
9894 * elf/check-execstack.c: Include "check-execstack.h".
9895 (main): Revert last change.
9896 (handle_file): Return zero if GNU_STACK is absent and
9897 DEFAULT_STACK_PERMS doesn't include PF_X.
9898
451f001b
UD
98992011-01-13 Ulrich Drepper <drepper@gmail.com>
9900
cfa28e56
UD
9901 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
9902 in child fails because the descriptor is already closed.
8cf8ce17
UD
9903 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
9904 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
9905 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 9906
1086d70d
UD
9907 [BZ #12397]
9908 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
9909 syscall.
9910
451f001b
UD
9911 [BZ #10484]
9912 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
9913 temporary buffer used to handle multi lookups locally.
a85b5cb4 9914 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 9915
08769175
UD
99162011-01-12 Ulrich Drepper <drepper@gmail.com>
9917
9918 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
9919 loader is ld.so.
9920
5e49c52e
UD
99212011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
9922
9923 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
9924 alignment for SSE2.
9925
60522a5f
UD
99262011-01-12 Ulrich Drepper <drepper@gmail.com>
9927
9928 [BZ #12394]
9929 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
9930 characters. When rounding increased number of integer digits recompute
9931 number of groups.
9932 * stdio-common/tst-grouping.c: New file.
9933 * stdio-common/Makefile: Add rules to build and run tst-grouping.
9934
f257bbd7
UD
99352011-01-09 Ulrich Drepper <drepper@gmail.com>
9936
9937 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
9938 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
9939
9940 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
9941 void.
9942 * bits/select.h: Likewise.
9943
fa9c15cb
UD
99442011-01-08 Ulrich Drepper <drepper@gmail.com>
9945
9946 * po/ja.po: Update from translation team.
9947
16c2895f
DM
99482011-01-04 David S. Miller <davem@sunset.davemloft.net>
9949
9950 [BZ #11155]
9951 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
9952 implementation just like for lxstat, fxstatat, et al.
9953
2543fef2
JM
99542010-12-27 Jim Meyering <meyering@redhat.com>
9955
9956 [BZ #12348]
9957 * posix/regexec.c (build_trtable): Return failure indication upon
9958 calloc failure. Otherwise, re_search_internal could infloop on OOM.
9959
98727dbe
UD
99602010-12-25 Ulrich Drepper <drepper@gmail.com>
9961
5bd6dc5c
UD
9962 [BZ #12201]
9963 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
9964 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
9965 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
9966 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
9967
97983464
UD
9968 [BZ #12207]
9969 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
9970
98727dbe
UD
9971 [BZ #12204]
9972 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
9973 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
9974
4a531bb0
L
99752010-12-15 H.J. Lu <hongjiu.lu@intel.com>
9976
9977 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
9978 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
9979 script has SORT_BY_INIT_PRIORITY.
9980 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
9981 NO_CTORS_DTORS_SECTIONS is defined.
9982 * elf/soinit.c: Likewise.
9983 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
9984 NO_CTORS_DTORS_SECTIONS is defined.
9985 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
9986 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
9987 * sysdeps/sh/init-first.c: Likewise.
9988 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9989
07eb4b71
UD
99902010-12-24 Ulrich Drepper <drepper@gmail.com>
9991
9992 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
9993 always use the slow path.
9994
30950a5f
RA
99952010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
9996
9997 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
9998 similar rule which adds the sysdep directories to the header search in
9999 order to pick up the correct platform stackinfo.h.
10000 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10001 perform test if it is, otherwise return successfully without testing.
10002 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10003 DEFAULT_STACK_PERMS define in stackinfo.h.
10004 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10005 defined in stackinfo.h.
10006 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10007 DEFAULT_STACK_PERMS defined in stackinfo.h.
10008 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10009 * sysdeps/ia64/stackinfo.h: Likewise.
10010 * sysdeps/s390/stackinfo.h: Likewise.
10011 * sysdeps/sh/stackinfo.h: Likewise.
10012 * sysdeps/sparc/stackinfo.h: Likewise.
10013 * sysdeps/x86_64/stackinfo.h: Likewise.
10014 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10015 PF_X for powerpc64. Retain PF_X for powerpc32.
10016
db753e2c
UD
100172010-12-19 Ulrich Drepper <drepper@gmail.com>
10018
14b697f7
UD
10019 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10020 accurately.
db753e2c
UD
10021 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10022 GETDENTS_64BIT_ALIGNED.
10023
28300719
UD
100242010-12-14 Ulrich Drepper <dreper@gmail.com>
10025
14b697f7 10026 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 10027
4f197237
AS
100282010-12-10 Andreas Schwab <schwab@redhat.com>
10029
dbb0472f
AS
10030 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10031 _GNU_SOURCE.
10032
4f197237
AS
10033 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10034 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10035 Remove __restrict.
10036 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10037 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10038
fb88ac72
UD
100392010-12-09 Ulrich Drepper <drepper@gmail.com>
10040
10041 [BZ #11655]
10042 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10043 are initialized.
10044
42acbb92
JJ
100452010-12-09 Jakub Jelinek <jakub@redhat.com>
10046
10047 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10048
c038d98d
UD
100492010-12-03 Ulrich Drepper <drepper@gmail.com>
10050
10051 * po/it.po: Update from translation team.
10052
3a4a2499
L
100532010-12-01 H.J. Lu <hongjiu.lu@intel.com>
10054
10055 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10056 unused codes.
10057
1e24cf6e
UD
100582010-11-30 Ulrich Drepper <drepper@gmail.com>
10059
10060 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10061
a7690819
AS
100622010-11-24 Andreas Schwab <schwab@redhat.com>
10063
10064 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10065 specially.
10066 (gaih_getanswer_slice): Likewise.
10067
3bf8d1b1
JJ
100682010-10-20 Jakub Jelinek <jakub@redhat.com>
10069
10070 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10071
6db52fbb
PB
100722010-05-31 Petr Baudis <pasky@suse.cz>
10073
10074 [BZ #11149]
10075 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10076 silently even in the chroot mode.
10077
eaca7569
UD
100782010-11-22 Ulrich Drepper <drepper@gmail.com>
10079
10080 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10081 last patch a bit. Pretty printing
10082
3056dcdb
UD
100832010-05-31 Petr Baudis <pasky@suse.cz>
10084
10085 [BZ #10085]
10086 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10087 initialization of skip_initgroups_dyn.
10088
cf7c9078
UD
100892010-11-19 Ulrich Drepper <drepper@gmail.com>
10090
10091 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10092 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10093
a1fb5e3e
UD
100942010-11-16 Ulrich Drepper <drepper@gmail.com>
10095
10096 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10097
3540d66b
AS
100982010-11-11 Andreas Schwab <schwab@redhat.com>
10099
10100 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10101 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10102 (tst-fnmatch-ENV): Set MALLOC_TRACE.
10103 ($(objpfx)tst-fnmatch-mem): New rule.
10104 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10105 * posix/tst-fnmatch.c (main): Call mtrace.
10106
13b69574
L
101072010-11-11 H.J. Lu <hongjiu.lu@intel.com>
10108
10109 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10110 Support Intel processor model 6 and model 0x2c.
10111
da93d214
LM
101122010-11-10 Luis Machado <luisgpm@br.ibm.com>
10113
10114 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10115 signed comparison.
10116
8ca52c6e
L
101172010-11-09 H.J. Lu <hongjiu.lu@intel.com>
10118
10119 [BZ #12205]
10120 * string/test-strncasecmp.c (check_result): New function.
10121 (do_one_test): Use it.
10122 (check1): New function.
10123 (test_main): Use it.
10124 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10125 Support strcasecmp and strncasecmp.
10126
69da074d
UD
101272010-11-08 Ulrich Drepper <drepper@gmail.com>
10128
10129 [BZ #12194]
10130 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10131 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10132
ff02d528
L
101332010-11-07 H.J. Lu <hongjiu.lu@intel.com>
10134
10135 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10136 IFUNC support.
10137 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10138 memset-x86-64.
10139 * sysdeps/x86_64/multiarch/bzero.S: New file.
10140 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10141 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10142 * sysdeps/x86_64/multiarch/memset.S: New file.
10143 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10144 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10145 Set bit_Prefer_SSE_for_memop for Intel processors.
10146 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10147 Define.
10148 (index_Prefer_SSE_for_memop): Define.
10149 (HAS_PREFER_SSE_FOR_MEMOP): Define.
10150
344d0b54
LM
101512010-11-04 Luis Machado <luisgpm@br.ibm.com>
10152
10153 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10154 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10155
c0dde15b
UD
101562010-11-03 H.J. Lu <hongjiu.lu@intel.com>
10157
10158 [BZ #12191]
10159 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10160 (__x86_64_raw_data_cache_size_half): Likewise.
10161 (__x86_64_raw_shared_cache_size): Likewise.
10162 (__x86_64_raw_shared_cache_size_half): Likewise.
10163
10164 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10165 (__x86_64_raw_data_cache_size_half): Likewise.
10166 (__x86_64_raw_shared_cache_size): Likewise.
10167 (__x86_64_raw_shared_cache_size_half): Likewise.
10168 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10169 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10170 and __x86_64_raw_shared_cache_size_half. Round
10171 __x86_64_data_cache_size_half, __x86_64_data_cache_size
10172 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10173 to multiple of 256 bytes.
10174
0e516e0e
MS
101752010-11-03 Ulrich Drepper <drepper@gmail.com>
10176
10177 [BZ #12167]
10178 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10179 of inacessible symlinks. Verify result of symlink before returning it.
10180 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10181 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10182
0e012e87
ER
101832010-10-28 Erich Ritz <erichritz@gmail.com>
10184
10185 * math/math.h (isinf): Fix typo in comment.
10186
de0ff7bc
UD
101872010-11-01 Ulrich Drepper <drepper@gmail.com>
10188
10189 * po/da.po: Update from translation team.
10190
fa41c84d
UD
101912010-10-26 Ulrich Drepper <drepper@gmail.com>
10192
10193 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10194 is added to the list.
10195
f0967738
AK
101962010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10197 Ulrich Drepper <drepper@gmail.com>
10198
10199 * elf/dl-object.c (_dl_new_object): Don't append the new object to
10200 the global list here. Move code to...
10201 (_dl_add_to_namespace_list): ...here. New function.
10202 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10203 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10204 * elf/dl-load.c (lose): Don't remove the element from the list.
10205 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10206 (_dl_map_object): Likewise.
10207
102082010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
10209
10210 [BZ #12159]
10211 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10212 into all bytes of SSE register.
10213 Patch by Richard Li <richardpku@gmail.com>.
10214
f0967738 102152010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
10216
10217 [BZ #12140]
10218 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10219 perturbing.
10220
d0b9e94f
MB
102212010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10222
10223 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10224 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10225 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10226 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10228 submachine.
10229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10230
8e9f92e9
AS
102312010-10-22 Andreas Schwab <schwab@redhat.com>
10232
10233 * include/dlfcn.h (__RTLD_SECURE): Define.
10234 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10235 mode & __RTLD_SECURE instead.
10236 (open_path): Rename preloaded parameter to secure.
10237 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10238 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10239 * elf/dl-deps.c (openaux): Likewise.
10240 * elf/rtld.c (struct map_args): Remove is_preloaded.
10241 (map_doit): Don't use it.
10242 (dl_main): Likewise.
10243 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10244 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10245
bc96fbda
AS
102462010-09-09 Andreas Schwab <schwab@redhat.com>
10247
10248 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10249 (sysd-rules-targets): Remove duplicates.
10250 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10251 rtld-%.$o dependency.
10252
22cd1c9b
AS
102532010-10-18 Andreas Schwab <schwab@redhat.com>
10254
10255 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10256 _dl_map_object do it.
10257
18edac48
UD
102582010-10-19 Ulrich Drepper <drepper@gmail.com>
10259
10260 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10261 fast fma builtins, define the macros in the C99 standard.
10262 (FP_FAST_FMAF): Likewise.
10263 (FP_FAST_FMAL): Likewise.
10264 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10265
10266 * bits/mathdef.h: Update copyright year.
10267 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10268
d2050124
MM
102692010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10270
10271 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10272 builtins, define the macros in the C99 standard.
10273 (FP_FAST_FMAF): Likewise.
10274 (FP_FAST_FMAL): Likewise.
10275 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10276 multiply/add.
10277 (FP_FAST_FMAF): Likewise.
10278
475facd1
JJ
102792010-10-15 Jakub Jelinek <jakub@redhat.com>
10280
10281 [BZ #3268]
10282 * math/libm-test.inc (fma_test): Some new testcases.
10283 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10284 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10285 y and infinite z. Do multiplication by C already in long double.
10286 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10287 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10288 y and infinite z. Do bitwise or of inexact bit into u.d.
10289 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10290 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10291 * sysdeps/i386/fpu/s_fma.S: Removed.
10292 * sysdeps/i386/fpu/s_fmal.S: Removed.
10293
7c08a05c
JJ
102942010-10-16 Jakub Jelinek <jakub@redhat.com>
10295
10296 [BZ #3268]
10297 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10298 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10299 computation is not scheduled after fetestexcept. Fix value
10300 of minimum denormal long double.
10301
f3f7372d
JJ
103022010-10-14 Jakub Jelinek <jakub@redhat.com>
10303
10304 [BZ #3268]
10305 * math/libm-test.inc (fma_test): Add some more tests.
10306 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10307 correctly.
10308
14d43591
AS
103092010-10-15 Andreas Schwab <schwab@redhat.com>
10310
10311 * scripts/data/localplt-s390-linux-gnu.data: New file.
10312 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10313
5e908464
JJ
103142010-10-13 Jakub Jelinek <jakub@redhat.com>
10315
10316 [BZ #3268]
10317 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10318 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10319 instead of dbl-64.
10320 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10321 inlines.
10322 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10323 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10324 if one of x and y is very large and the other is subnormal.
10325 * sysdeps/s390/fpu/s_fmaf.c: New file.
10326 * sysdeps/s390/fpu/s_fma.c: New file.
10327 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10328 * sysdeps/powerpc/fpu/s_fma.S: New file.
10329 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10330 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10331 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10332
103332010-10-12 Jakub Jelinek <jakub@redhat.com>
10334
10335 [BZ #3268]
10336 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10337 fma tests.
10338 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10339 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10340 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10341 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10342 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10343 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10344 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10345
b833d51f
UD
103462010-10-12 Ulrich Drepper <drepper@redhat.com>
10347
10348 [BZ #12078]
10349 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10350 * posix/bug-regex31.input: Add test case.
10351
1751705d
UD
103522010-10-11 Ulrich Drepper <drepper@gmail.com>
10353
e9b9cbf5
UD
10354 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10355 * posix/bug-regex31.input: New file.
10356
10357 [BZ #12078]
10358 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10359 (parse_sub_exp): Fix last change, use postorder.
10360
ef06edbe
UD
10361 * posix/bug-regex31.c: New file.
10362 * posix/Makefile: Add rules to build and run bug-regex31.
10363
a129c80d
UD
10364 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10365
10366 [BZ #12078]
10367 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10368
b76b818e
UD
10369 [BZ #12108]
10370 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10371 to have entries in sys_siglist.
10372
1751705d
UD
10373 [BZ #12093]
10374 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10375 be NULL.
10376
9ff8d36f
JJ
103772010-10-07 Jakub Jelinek <jakub@redhat.com>
10378
10379 [BZ #3268]
10380 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10381 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10382 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10383 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10384 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10385 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10386 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10387 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10388 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10389 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10390 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10391 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10392 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10393 * math/ftestexcept.c (fetestexcept): Likewise.
10394 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10395 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10396 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10397 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10398 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10399 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10400 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10401
af325969
UD
104022010-10-11 Ulrich Drepper <drepper@gmail.com>
10403
c579b202 10404 [BZ #12107]
af325969
UD
10405 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10406 newline.
10407
67a67b95
UD
104082010-10-06 Ulrich Drepper <drepper@gmail.com>
10409
10410 * string/bug-strstr1.c: New file.
10411 * string/Makefile: Add rules to build and run bug-strstr1.
10412
5fb308bc
EB
104132010-10-05 Eric Blake <eblake@redhat.com>
10414
10415 [BZ #12092]
10416 * string/str-two-way.h (two_way_long_needle): Always clear memory
10417 when skipping input due to the shift table.
10418
45db99c7
UD
104192010-10-03 Ulrich Drepper <drepper@gmail.com>
10420
3b111893
UD
10421 [BZ #12005]
10422 * malloc/mcheck.c: Handle large requests.
10423
45db99c7
UD
10424 [BZ #12077]
10425 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10426 for strncmp and strncasecmp.
10427 * string/stratcliff.c: Add tests for strcmp and strncmp.
10428 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10429
cf7a1eb8
NI
104302010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10431
10432 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10433 __set_fpscr.
10434
6484ba5e
AJ
104352010-09-30 Andreas Jaeger <aj@suse.de>
10436
10437 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10438 (CGROUP_SUPER_MAGIC): Define.
10439 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10440 Handle btrfs and cgroup file systems.
10441 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10442 Likewise.
10443
91c42559
LM
104442010-09-27 Luis Machado <luisgpm@br.ibm.com>
10445
10446 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10447 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10448
87a97932
AK
104492010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10450
10451 [BZ #12067]
10452 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10453 trying to locate the ELF header.
10454
c21cc9bc
AS
104552010-09-27 Andreas Schwab <schwab@redhat.com>
10456
10457 [BZ #11611]
10458 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10459 Mask out sign-bit copies when constructing f_fsid.
10460
315970f6
PB
104612010-09-24 Petr Baudis <pasky@suse.cz>
10462
10463 * debug/stack_chk_fail_local.c: Add missing licence exception.
10464 * debug/warning-nop.c: Likewise.
10465
1ac7a2c7
JM
104662010-09-15 Joseph Myers <joseph@codesourcery.com>
10467
10468 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10469 implementing getdents64 using getdents syscall, set d_type if
10470 __ASSUME_GETDENTS32_D_TYPE.
10471
56801c50
AS
104722010-09-16 Andreas Schwab <schwab@redhat.com>
10473
10474 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10475 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10476
dda51327
UD
104772010-09-21 Ulrich Drepper <drepper@redhat.com>
10478
10479 [BZ #12037]
10480 * posix/unistd.h: Undo change of feature selection for ftruncate from
10481 2010-01-11.
10482
8ffcee4a
UD
104832010-09-20 Ulrich Drepper <drepper@redhat.com>
10484
a545ecd9 10485 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
10486 detection.
10487
e24f0a8b
AS
104882010-09-20 Andreas Schwab <schwab@redhat.com>
10489
10490 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10491 fanotify_mark.
10492 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10493
7291c56f
AS
104942010-09-14 Andreas Schwab <schwab@redhat.com>
10495
10496 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10497 variables after CHECK_SP call.
10498 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10499
bc5fb037
AS
105002010-09-13 Andreas Schwab <schwab@redhat.com>
10501 Ulrich Drepper <drepper@redhat.com>
10502
10503 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10504 re-relocationg ld.so.
10505 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10506 _dl_init_paths call.
10507 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10508 here anymore.
10509
e66e7419
UD
105102010-09-14 Ulrich Drepper <drepper@redhat.com>
10511
10512 * resolv/res_init.c (__res_vinit): Count the default server we added.
10513
c044aa75
CLT
105142010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10515 Ulrich Drepper <drepper@redhat.com>
10516
10517 [BZ #11968]
10518 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10519 (____longjmp_chk): Use %ebx for saving value across system call.
10520 Add unwind info.
10521
32cf4069
AS
105222010-09-06 Andreas Schwab <schwab@redhat.com>
10523
10524 * manual/Makefile: Don't mix pattern rules with normal rules.
10525
817328ee
AS
105262010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10527
10528 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10529 operation.
10530 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10531 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10532 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10533 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10534 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10535 Likewise.
10536
29fddf61
UD
105372010-09-04 Ulrich Drepper <drepper@redhat.com>
10538
10539 [BZ #11979]
10540 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10541 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10542
0959ffc9
UD
105432010-09-02 Ulrich Drepper <drepper@redhat.com>
10544
10545 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10546 * sysdeps/x86_64/addmul_1.S: Likewise.
10547 * sysdeps/x86_64/lshift.S: Likewise.
10548 * sysdeps/x86_64/mul_1.S: Likewise.
10549 * sysdeps/x86_64/rshift.S: Likewise.
10550 * sysdeps/x86_64/sub_n.S: Likewise.
10551 * sysdeps/x86_64/submul_1.S: Likewise.
10552
ece29840
ST
105532010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10554
0959ffc9
UD
10555 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10556 Define __sched_param instead of SCHED_* and sched_param when
ece29840 10557 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 10558 * bits/sched.h [__need_schedparam]
ece29840 10559 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
10560 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10561 (__defined_schedparam): Define to 1.
ece29840
ST
10562 (__sched_param): New structure, identical to sched_param.
10563 (__need_schedparam): Undefine.
10564
e53a31fe
MF
105652010-08-31 Mike Frysinger <vapier@gentoo.org>
10566
fdc0c10d
MF
10567 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10568 (epoll_create1): Declare.
10569
e53a31fe
MF
10570 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10571
a726d796
AS
105722010-08-31 Andreas Schwab <schwab@redhat.com>
10573
10574 [BZ #7066]
10575 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10576 shifting retval into place.
10577
2f3e3dc7
UD
105782010-09-01 Ulrich Drepper <drepper@redhat.com>
10579
f2933da9
UD
10580 * nis/rpcsvc/nis.h: Update copyright notice.
10581 * nis/rpcsvc/nis.x: Likewise.
10582 * nis/rpcsvc/nis_callback.h: Likewise.
10583 * nis/rpcsvc/nis_callback.x: Likewise.
10584 * nis/rpcsvc/nis_object.x: Likewise.
10585 * nis/rpcsvc/nis_tags.h: Likewise.
10586 * nis/rpcsvc/yp.h: Likewise.
10587 * nis/rpcsvc/yp.x: Likewise.
10588 * nis/rpcsvc/ypupd.h: Likewise.
10589 * nis/yp_xdr.c: Likewise.
10590 * nis/ypupdate_xdr.c: Likewise.
10591
2f3e3dc7
UD
10592 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10593 mainly the body of pmap_getport. Add parameters to specify timeouts.
10594 (pmap_getport): Use __libc_rpc_getport.
10595 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10596 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10597 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10598
f3dcc2f9
AS
105992010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10600
10601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10602 fanotify_mark.
10603
6d34eb5b
RM
106042010-08-27 Roland McGrath <roland@redhat.com>
10605
10606 * sysdeps/i386/i686/multiarch/Makefile
10607 (CFLAGS-varshift.c): New variable.
10608
9ea3de11
UD
106092010-08-27 Ulrich Drepper <drepper@redhat.com>
10610
c96d23fc
UD
10611 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10612 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10613
9ea3de11
UD
10614 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10615
10616 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10617
623aac7f
L
106182010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10619
10620 * sysdeps/x86_64/strlen.S: Unroll the loop.
10621 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10622 strlen-sse2 strlen-sse2-bsf.
10623 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10624 __strlen_no_bsf if bit_Slow_BSF is set.
10625 (__strlen_sse42): Removed.
10626 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10627 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10628
8b2b7715
RM
106292010-08-25 Roland McGrath <roland@redhat.com>
10630
10631 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10632 * sysdeps/x86_64/multiarch/varshift.c: New file.
10633 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10634 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10635 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10636 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10637
e73015f2
L
106382010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10639
10640 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10641 strlen-sse2 strlen-sse2-bsf.
10642 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10643 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10644 (__strlen_sse2): Removed.
10645 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10646 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10647 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10648 bit_Slow_BSF for Atom.
10649 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10650 (index_Slow_BSF): Define.
10651 (HAS_SLOW_BSF): Define.
10652
df24a73e
UD
106532010-08-25 Ulrich Drepper <drepper@redhat.com>
10654
10655 [BZ #10851]
10656 * resolv/res_init.c (__res_vinit): When no server address at all
10657 is given default to loopback.
10658
f2ac4868
RM
106592010-08-24 Roland McGrath <roland@redhat.com>
10660
09055553
RM
10661 * configure.in: Remove config-name.h generation.
10662 * configure: Regenerated.
10663 * config-name.in: File removed.
10664 * scripts/config-uname.sh: New file.
10665 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10666 ($(objdir)config-name.h): New target.
10667
f2ac4868
RM
10668 * sunrpc/rpc_parse.h: Avoid nested comment.
10669
73f27d5e
RH
106702010-08-24 Richard Henderson <rth@redhat.com>
10671 Ulrich Drepper <drepper@redhat.com>
10672 H.J. Lu <hongjiu.lu@intel.com>
10673
10674 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10675 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10676 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10677 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10678 _mm_alignr_epi8 with _mm_loadu_si128.
10679 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10680 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10681 (__m128i_shift_right): Removed.
10682 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10683 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10684 * sysdeps/x86_64/multiarch/varshift.h: New file.
10685 * sysdeps/x86_64/multiarch/varshift.S: New file.
10686
84b9230c
MF
106872010-08-21 Mike Frysinger <vapier@gentoo.org>
10688
10689 * configure.in: Move assembler checks to before sysdep dir checking.
10690
9bbd0ddc
PB
106912010-08-20 Petr Baudis <pasky@suse.cz>
10692
10693 * LICENSES: Sync the sunrpc license.
10694
9da4bb31
UD
106952010-08-19 Ulrich Drepper <drepper@redhat.com>
10696
a7ab6ec8
UD
10697 * sunrpc/auth_des.c: Update copyright notice once again.
10698 * sunrpc/auth_none.c: Likewise.
10699 * sunrpc/auth_unix.c: Likewise.
10700 * sunrpc/authdes_prot.c: Likewise.
10701 * sunrpc/authuxprot.c: Likewise.
10702 * sunrpc/bindrsvprt.c: Likewise.
10703 * sunrpc/clnt_gen.c: Likewise.
10704 * sunrpc/clnt_perr.c: Likewise.
10705 * sunrpc/clnt_raw.c: Likewise.
10706 * sunrpc/clnt_simp.c: Likewise.
10707 * sunrpc/clnt_tcp.c: Likewise.
10708 * sunrpc/clnt_udp.c: Likewise.
10709 * sunrpc/clnt_unix.c: Likewise.
10710 * sunrpc/des_crypt.c: Likewise.
10711 * sunrpc/des_soft.c: Likewise.
10712 * sunrpc/get_myaddr.c: Likewise.
10713 * sunrpc/getrpcport.c: Likewise.
10714 * sunrpc/key_call.c: Likewise.
10715 * sunrpc/key_prot.c: Likewise.
10716 * sunrpc/openchild.c: Likewise.
10717 * sunrpc/pm_getmaps.c: Likewise.
10718 * sunrpc/pm_getport.c: Likewise.
10719 * sunrpc/pmap_clnt.c: Likewise.
10720 * sunrpc/pmap_prot.c: Likewise.
10721 * sunrpc/pmap_prot2.c: Likewise.
10722 * sunrpc/pmap_rmt.c: Likewise.
10723 * sunrpc/rpc/auth.h: Likewise.
10724 * sunrpc/rpc/auth_unix.h: Likewise.
10725 * sunrpc/rpc/clnt.h: Likewise.
10726 * sunrpc/rpc/des_crypt.h: Likewise.
10727 * sunrpc/rpc/key_prot.h: Likewise.
10728 * sunrpc/rpc/netdb.h: Likewise.
10729 * sunrpc/rpc/pmap_clnt.h: Likewise.
10730 * sunrpc/rpc/pmap_prot.h: Likewise.
10731 * sunrpc/rpc/pmap_rmt.h: Likewise.
10732 * sunrpc/rpc/rpc.h: Likewise.
10733 * sunrpc/rpc/rpc_des.h: Likewise.
10734 * sunrpc/rpc/rpc_msg.h: Likewise.
10735 * sunrpc/rpc/svc.h: Likewise.
10736 * sunrpc/rpc/svc_auth.h: Likewise.
10737 * sunrpc/rpc/types.h: Likewise.
10738 * sunrpc/rpc/xdr.h: Likewise.
10739 * sunrpc/rpc_clntout.c: Likewise.
10740 * sunrpc/rpc_cmsg.c: Likewise.
10741 * sunrpc/rpc_common.c: Likewise.
10742 * sunrpc/rpc_cout.c: Likewise.
10743 * sunrpc/rpc_dtable.c: Likewise.
10744 * sunrpc/rpc_hout.c: Likewise.
10745 * sunrpc/rpc_main.c: Likewise.
10746 * sunrpc/rpc_parse.c: Likewise.
10747 * sunrpc/rpc_parse.h: Likewise.
10748 * sunrpc/rpc_prot.c: Likewise.
10749 * sunrpc/rpc_sample.c: Likewise.
10750 * sunrpc/rpc_scan.c: Likewise.
10751 * sunrpc/rpc_scan.h: Likewise.
10752 * sunrpc/rpc_svcout.c: Likewise.
10753 * sunrpc/rpc_tblout.c: Likewise.
10754 * sunrpc/rpc_util.c: Likewise.
10755 * sunrpc/rpc_util.h: Likewise.
10756 * sunrpc/rpcinfo.c: Likewise.
10757 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10758 * sunrpc/rpcsvc/key_prot.x: Likewise.
10759 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10760 * sunrpc/rpcsvc/mount.x: Likewise.
10761 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10762 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10763 * sunrpc/rpcsvc/rex.x: Likewise.
10764 * sunrpc/rpcsvc/rstat.x: Likewise.
10765 * sunrpc/rpcsvc/rusers.x: Likewise.
10766 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10767 * sunrpc/rpcsvc/spray.x: Likewise.
10768 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10769 * sunrpc/rtime.c: Likewise.
10770 * sunrpc/svc.c: Likewise.
10771 * sunrpc/svc_auth.c: Likewise.
10772 * sunrpc/svc_authux.c: Likewise.
10773 * sunrpc/svc_raw.c: Likewise.
10774 * sunrpc/svc_run.c: Likewise.
10775 * sunrpc/svc_simple.c: Likewise.
10776 * sunrpc/svc_tcp.c: Likewise.
10777 * sunrpc/svc_udp.c: Likewise.
10778 * sunrpc/svc_unix.c: Likewise.
10779 * sunrpc/svcauth_des.c: Likewise.
10780 * sunrpc/xcrypt.c: Likewise.
10781 * sunrpc/xdr.c: Likewise.
10782 * sunrpc/xdr_array.c: Likewise.
10783 * sunrpc/xdr_float.c: Likewise.
10784 * sunrpc/xdr_mem.c: Likewise.
10785 * sunrpc/xdr_rec.c: Likewise.
10786 * sunrpc/xdr_ref.c: Likewise.
10787 * sunrpc/xdr_sizeof.c: Likewise.
10788 * sunrpc/xdr_stdio.c: Likewise.
10789
9da4bb31
UD
10790 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10791 handling.
10792
bdaa77bc
AS
107932010-08-19 Andreas Schwab <schwab@redhat.com>
10794
10795 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
10796
fe2f79db
LM
107972010-08-19 Luis Machado <luisgpm@br.ibm.com>
10798
10799 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
10800 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
10801 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
10802 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
10803 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
10804 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
10805 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
10806 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
10807 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
10808 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
10809 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
10810 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
10811 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
10812 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
10813
b9b42ee0
AB
108142010-07-26 Anton Blanchard <anton@samba.org>
10815
10816 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
10817 * malloc/arena.c (heap_trim): Likewise.
10818
1c06ba31
UD
108192010-08-16 Ulrich Drepper <drepper@redhat.com>
10820
10821 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
10822 here. Not...
10823 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
10824 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
10825
f8392f40
L
108262010-08-12 H.J. Lu <hongjiu.lu@intel.com>
10827
10828 * sysdeps/i386/elf/Makefile: New file.
10829
3162f12e
AS
108302010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10831
10832 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
10833 from fanotify_init.
10834 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10835 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10836
28c90b2c
UD
108372010-08-15 Ulrich Drepper <drepper@redhat.com>
10838
10839 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
10840 of strncasecmp_l.
1feccb6c 10841 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 10842
ca6bb004
UD
108432010-08-14 Ulrich Drepper <drepper@redhat.com>
10844
e9f82e0d
UD
10845 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10846 strncase_l-nonascii.
10847 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10848 Add strncase_l-ssse3.
10849 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
10850 * sysdeps/x86_64/strcmp.S: Likewise.
10851 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
10852 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
10853 * sysdeps/x86_64/strncase.S: New file.
10854 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
10855 * sysdeps/x86_64/strncase_l.S: New file.
10856 * string/Makefile (strop-tests): Add strncasecmp.
10857 * string/test-strncasecmp.c: New file.
10858
10859 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
10860 warning.
10861
ca6bb004
UD
10862 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
10863 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
10864
052fa7b3
AS
108652010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10866
10867 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
10868
962dba78
UD
108692010-08-12 Ulrich Drepper <drepper@redhat.com>
10870
10871 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
10872 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10873 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10874
bebff237
AM
108752010-05-01 Alan Modra <amodra@gmail.com>
10876
10877 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
10878 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
10879 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
10880 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
10881 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
10882 tidying. Don't tail-call __sigjmp_save for static lib.
10883 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
10884 save location.
10885 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
10886 (CALL_MCOUNT): Add eh info, and nop after bl.
10887 (TAIL_CALL_SYSCALL_ERROR): New macro.
10888 (PSEUDO_RET): Use it.
10889 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10890 Correct save location of integer regs and cr.
10891 (_dl_profile_resolve): Correct cr save location. Delete nops
10892 after bl when SHARED. Reduce cfi size a little by better
10893 placement of cfi directives.
10894 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
10895 make a stack frame. Instead use parm save area as a temp.
10896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
10897 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
10898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10899 Don't make a stack frame for parent, use parm save area.
10900 Increase child stack frame to 112 bytes. Don't save unused reg,
10901 and adjust reg usage. Set up cfi on error recovery and
10902 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
10903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10904 (__makecontext): Add dummy nop after jump to exit.
10905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
10906 Use correct parm save area and cr save, reduce stack frame.
10907 Correct cfi for possible PSEUDO_RET frame setup.
10908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
10909 Branch to local label emitted by PSEUDO_RET rather than
10910 __syscall_error.
10911
02637374
AS
109122010-08-12 Andreas Schwab <schwab@redhat.com>
10913
10914 [BZ #11904]
10915 * locale/programs/locale.c (print_assignment): New function.
10916 (show_locale_vars): Use it.
10917
c3e2f19b
UD
109182010-08-11 Ulrich Drepper <drepper@redhat.com>
10919
3cdaa6ad
UD
10920 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
10921 field.
10922 (struct statfs64): Likewise.
10923 (_STATFS_F_FLAGS): Define.
10924 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
10925 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10926 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
10927 (ST_VALID): Define locally.
10928 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
10929 __statvfs_getflags, use the provided value.
10930 * sysdeps/unix/sysv/linux/kernel-features.h: Define
10931 __ASSUME_STATFS_F_FLAGS.
10932
754f7da3
UD
10933 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
10934
10b3bedc
UD
10935 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
10936 Add sys/fanotify.h.
10937 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
10938 fanotify_mask for GLIBC_2.13.
10939 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
10940 fanotify_init and fanotify_mark.
10941 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10942 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
10943
c08fb0d7
UD
10944 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
10945 Add prlimit.
10946 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
10947 prlimit64 for GLIBC_2.13.
10948 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
10949 prlimit64.
10950 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
10951 syscall.
10952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10953 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10954 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
10955 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
10956 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
10957 add prlimit alias.
10958 * sysdeps/unix/sysv/linux/prlimit.c: New file.
10959
15bac72b
UD
10960 [BZ #11903]
10961 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
10962 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
10963
c3e2f19b
UD
10964 * nss/Makefile: Add rules to build and run tst-nss-test1.
10965 * shlib-versions: Add entry for libnss_test1.
10966 * nss/nss_test1.c: New file.
10967 * nss/tst-nss-test1.c: New file.
10968
10969 * nss/nsswitch.c (__nss_database_custom): Define new variable.
10970 (__nss_configure_lookup): Set appropriate entry in
10971 __nss_configure_lookup to true.
10972 * nss/nsswitch.h: Define enum with indeces of databases in
10973 databases and __nss_database_custom arrays. Declare
10974 __nss_database_custom.
10975 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
10976 to avoid using nscd when custom rules are installed.
10977 * nss/getXXbyYY_r.c: Likewise.
10978 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10979
10980 * nss/nss_files/files-parse.c: Whitespace fixes.
10981
f15ce4d8
UD
109822010-08-09 Ulrich Drepper <drepper@redhat.com>
10983
10984 [BZ #11883]
10985 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
10986 * posix/fnmatch_loop.c: Likewise.
10987
d22e4cc9
AK
109882010-07-17 Andi Kleen <ak@linux.intel.com>
10989
10990 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
10991 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
10992 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
10993 * Versions.def [GLIBC_2.13]: Add.
10994
805bc17d
UD
109952010-08-06 Ulrich Drepper <drepper@redhat.com>
10996
10997 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10998 Also fail if tpwd after pwuid call is NULL.
10999
5a42321d
ST
110002010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11001
11002 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11003 when converting to ms.
11004
fd3ebeda
ST
110052010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11006
11007 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11008 EOPNOTSUPP errors with ENOTTY.
11009 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11010 EOPNOTSUPP errors with ENOTTY.
11011
73507d3a
UD
110122010-07-31 Ulrich Drepper <drepper@redhat.com>
11013
11014 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11015 Add strcasecmp_l-ssse3.
11016 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11017 strcasecmp.
11018 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11019 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11020 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11021
fe36dd02
UD
110222010-07-30 Ulrich Drepper <drepper@redhat.com>
11023
66f6765a
UD
11024 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11025
42e08a54
UD
11026 * string/Makefile (strop-tests): Add strcasecmp.
11027 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11028 strcasecmp_l-nonascii.
11029 (gen-as-const-headers): Add locale-defines.sym.
11030 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11031 * sysdeps/x86_64/strcasecmp.S: New file.
11032 * sysdeps/x86_64/strcasecmp_l.S: New file.
11033 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11034 * sysdeps/x86_64/locale-defines.sym: New file.
11035 * string/test-strcasecmp.c: New file.
11036
fe36dd02
UD
11037 * string/test-strcasestr.c: Test both ends of the range of characters.
11038 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11039
48cbc0d6
RM
110402010-07-29 Roland McGrath <roland@redhat.com>
11041
76e6d6bc 11042 [BZ #11856]
48cbc0d6
RM
11043 * manual/locale.texi (Yes-or-No Questions): Fix example code.
11044
880113d9
UD
110452010-07-27 Ulrich Drepper <drepper@redhat.com>
11046
11047 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11048 for ld.so.
11049
deb9cabb
AS
110502010-07-27 Andreas Schwab <schwab@redhat.com>
11051
11052 * manual/memory.texi (Malloc Tunable Parameters): Document
11053 M_PERTURB.
11054
1c7570ff
RM
110552010-07-26 Roland McGrath <roland@redhat.com>
11056
11057 [BZ #11840]
11058 * configure.in (-fgnu89-inline check): Set and substitute
11059 gnu89_inline, not libc_cv_gnu89_inline.
11060 * configure: Regenerated.
11061 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11062
24fb0f88
UD
110632010-07-26 Ulrich Drepper <drepper@redhat.com>
11064
11065 * string/test-strnlen.c: New file.
11066 * string/Makefile (strop-tests): Add strnlen.
11067 * string/tester.c (test_strnlen): Add a few more test cases.
11068 * string/tst-strlen.c: Better error reporting.
11069
11070 * sysdeps/x86_64/strnlen.S: New file.
11071
8e96b93a
UD
110722010-07-24 Ulrich Drepper <drepper@redhat.com>
11073
11074 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11075 lower-latency instructions.
11076
dbc676d4
UD
110772010-07-23 Ulrich Drepper <drepper@redhat.com>
11078
11079 * string/test-strcasestr.c: New file.
11080 * string/test-strstr.c: New file.
11081 * string/Makefile (strop-tests): Add strstr and strcasestr.
11082 * string/str-two-way.h: Don't undefine MAX.
11083 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11084
f6a31e0e
AS
110852010-07-21 Andreas Schwab <schwab@redhat.com>
11086
11087 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11088 strcasestr-nonascii.
11089 (CFLAGS-strcasestr-nonascii.c): Define.
11090 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11091 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11092 Remove unused attribute.
11093
5dbc3b6c
RM
110942010-07-20 Roland McGrath <roland@redhat.com>
11095
11096 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11097 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
11098 ld.so.cache was broken. With it, there is no way to disable dsocaps
11099 like LD_HWCAP_MASK can disable hwcaps.
11100
23d101d8
EPM
111012010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11102
11103 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11104
cc9f2e47
UD
111052010-07-16 Ulrich Drepper <drepper@redhat.com>
11106
11107 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11108 call in strcasestr.
11109 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11110 __strcasestr_sse42_nonascii.
11111 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11112 strcasestr-nonascii.c.
11113 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11114
77c1b069
LM
111152010-06-15 Luis Machado <luisgpm@br.ibm.com>
11116
11117 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11118 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11119 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11120 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11121
440566c3
UD
111222010-07-09 Ulrich Drepper <drepper@redhat.com>
11123
11124 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11125 fcntl.
11126
5be9d05d
AS
111272010-07-06 Andreas Schwab <schwab@redhat.com>
11128
c30b7ee2 11129 [BZ #11577]
5be9d05d
AS
11130 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11131 dl_signal_cerror.
11132
8a492a67
UD
111332010-07-06 Ulrich Drepper <drepper@redhat.com>
11134
11135 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11136 _PC_PIPE_BUF using F_GETPIPE_SZ.
11137
713df3d5
RM
111382010-07-05 Roland McGrath <roland@redhat.com>
11139
11140 * manual/arith.texi (Rounding Functions): Fix rint description
11141 implicit in round description.
11142
702e8f14
UD
111432010-07-02 Ulrich Drepper <drepper@redhat.com>
11144
11145 * elf/Makefile: Fix linking for a few tests to make recent linker
11146 happy.
11147
52ed8be9
AS
111482010-06-30 Andreas Schwab <schwab@redhat.com>
11149
11150 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11151 $(common-objpfx)libc_nonshared.a.
11152
f47c9a11
LM
111532010-06-21 Luis Machado <luisgpm@br.ibm.com>
11154
11155 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11156 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11157 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11158 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11159 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11160 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11161 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11162 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11177 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11178 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11179 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11180 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11181 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11182 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11183 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11184 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11185 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11186 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11187 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11188 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11203
6fb8cbcb
L
112042010-06-25 H.J. Lu <hongjiu.lu@intel.com>
11205
11206 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11207 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11208 * string/memmove.c (memmove): Renamed to ...
11209 (MEMMOVE): ...this. Default to memmove.
11210 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11211 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11212 (END_CHK): Define.
11213 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11214 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11215 mempcpy-ssse3-back memmove-ssse3-back.
11216 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11217 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11218 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11219 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11220 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11221 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11222 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11223 * sysdeps/x86_64/multiarch/memmove.c: New file.
11224 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11225 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11226 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11227 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11228 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11229 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11230 Define.
11231 (index_Fast_Copy_Backward): Define.
11232 (HAS_ARCH_FEATURE): Define.
11233 (HAS_FAST_REP_STRING): Define.
11234 (HAS_FAST_COPY_BACKWARD): Define.
11235
4e733bac 112362010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
11237
11238 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11239 Restore proper fallback handling.
11240
63c4ed22
UD
112412010-06-19 Ulrich Drepper <drepper@redhat.com>
11242
ac2b484c
UD
11243 [BZ #11701]
11244 * posix/group_member.c (__group_member): Correct checking loop.
11245
63c4ed22
UD
11246 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11247 OOM in getpwuid_r correctly. Return error number when the caller
11248 should return, otherwise -1.
11249 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11250 call returning > 0 value.
11251 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11252
765ade4b
AS
112532010-06-07 Andreas Schwab <schwab@redhat.com>
11254
11255 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11256 libc_nonshared.a from targets in modules-names.
11257
80da2e09
KS
112582010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11259
11260 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11261 requires it.
11262
158db122
LM
112632010-06-10 Luis Machado <luisgpm@br.ibm.com>
11264
11265 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11266 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11267 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11268 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11269
caa78cf8
AS
112702010-06-02 Andreas Schwab <schwab@redhat.com>
11271
11272 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11273
b2ef2c01
UD
112742010-06-14 Ulrich Drepper <drepper@redhat.com>
11275
11276 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11277 and F_GETPIPE_SZ.
11278 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11279 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11280 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11281 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11282 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11283 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11284
fbd643b6
RM
112852010-06-14 Roland McGrath <roland@redhat.com>
11286
11287 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11288
f32f2869
JJ
112892010-06-07 Jakub Jelinek <jakub@redhat.com>
11290
11291 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11292 __REDIRECT followed by __THROW.
11293 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11294 * posix/getopt.h (getopt): Likewise.
11295
2a50c078
EPM
112962010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11297
11298 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11299 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11300 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11301 in AT_FLAGS.
11302 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11303 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11304
eb5ad2eb
LM
113052010-05-28 Luis Machado <luisgpm@br.ibm.com>
11306
11307 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11308
3c88fe1e
L
113092010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11310
11311 [BZ #11640]
11312 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11313 Properly check family and model.
11314
d2f73151
TY
113152010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11316
11317 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11318
ebd2e13d
LM
113192010-05-24 Luis Machado <luisgpm@br.ibm.com>
11320
11321 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11322
b32b8b45
UD
113232010-05-21 Ulrich Drepper <drepper@redhat.com>
11324
11325 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11326 symbol reference.
11327
9acbe24d
AS
113282010-05-19 Andreas Schwab <schwab@redhat.com>
11329
11330 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11331 symbol reference.
11332
f0ccf6ea
AS
113332010-05-21 Andreas Schwab <schwab@redhat.com>
11334
3d04ff3a
AS
11335 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11336 and internal_recvmmsg.
11337 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11338 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11339 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11340 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11341
f0ccf6ea
AS
11342 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11343 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11344 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11345
5b08ac57
AS
113462010-05-20 Andreas Schwab <schwab@redhat.com>
11347
11348 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11349
4828935d
LM
113502010-05-17 Luis Machado <luisgpm@br.ibm.com>
11351
11352 POWER7 optimizations.
11353 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11354 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11355
373d545e
UD
113562010-05-19 Ulrich Drepper <drepper@redhat.com>
11357
11358 * version.h: Update for 2.13 development version.
11359
21a2b1ae
AS
113602010-05-12 Andrew Stubbs <ams@codesourcery.com>
11361
11362 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11363 exceptions. Return 0.
11364
3f7dcb2b
RM
113652010-05-07 Roland McGrath <roland@redhat.com>
11366
11367 * elf/ldconfig.c (main): Add a const.
11368
5f24d53a 113692010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 11370
a160f8d8
UD
11371 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11372 (args_options): Add no-idn option.
11373 (ahosts_keys_int): Add idn_flags to ai_flags.
11374 (parse_option): Handle 'i' option to clear idn_flags.
11375
5f24d53a
UD
11376 * malloc/malloc.c (_int_free): Possible race in the most recently
11377 added check. Only act on the data if no current modification
11378 happened.
265bb1ce
UD
11379
11380See ChangeLog.17 for earlier changes.