]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add generated file version.texi
[thirdparty/glibc.git] / ChangeLog
CommitLineData
54472e9c
AJ
12012-04-08 Andreas Jaeger <aj@suse.de>
2
61efba8c
AJ
3 [BZ #6895]
4 * manual/filesys.texi (Directory Entries): Add description for
5 DT_LNK.
6
95c3f29a
AJ
7 [BZ #6890]
8 * manual/filesys.texi (Directory Entries): Clarify that it's file
9 system not operating system in the description of DT_UNKNOWN.
10
54472e9c
AJ
11 [BZ #6578]
12 * manual/syslog.texi (closelog): Fix reference, it's openlog.
13
624254b1
SC
142012-04-08 Stephen Compall <s11@member.fsf.org>
15
16 [BZ #6649]
17 * manual/llio.texi (Opening and Closing Files): Add cross
18 reference to explain mode argument.
19
1e4920e0
MF
202012-04-07 Mike Frysinger <vapier@gentoo.org>
21
22 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
23 * sysdeps/x86_64/memset_chk.S: Likewise.
24
5ed848f3
DM
252012-04-07 David S. Miller <davem@davemloft.net>
26
27 * elf/elf.h (R_SPARC_WDISP10): Define.
28 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
29 R_SPARC_SIZE32.
30 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31 R_SPARC_SIZE64 and R_SPARC_H34.
32
96154cd8
CD
332012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
34
35 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
36 conditions and remove no longer applicable assertion.
37
f8887d0a
L
382012-04-06 H.J. Lu <hongjiu.lu@intel.com>
39
40 * bits/byteswap.h (__bswap_16): Removed.
41 Include <bits/byteswap-16.h> to get __bswap_16.
42 * sysdeps/i386/bits/byteswap.h: Likewise.
43 * sysdeps/s390/bits/byteswap.h: Likewise.
44 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45 * bits/byteswap-16.h: New file.
46 * sysdeps/i386/bits/byteswap-16.h: Likewise.
47 * sysdeps/s390/bits/byteswap-16.h: Likewise.
48 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
49 * string/Makefile (headers): Add bits/byteswap-16.h.
50
62470f60
PP
512012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
52
53 [BZ #13895]
54 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
55 extra indirection.
56 * nss/Makefile (tests-static, tests): Add tst-nss-static.
57 * nss/tst-nss-static.c: New.
58
4dad7bab
RM
592012-04-06 Robert Millan <rmh@gnu.org>
60
61 [BZ #6486]
62 * manual/llio.texi (File Position Primitive): lseek
63 refers to WHENCE when it really means OFFSET.
64
e9142a17
AJ
652012-04-06 Andreas Jaeger <aj@suse.de>
66
2c040eff
AJ
67 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
68 strncmp declarations.
69
e9142a17
AJ
70 * abilist/libc.abilist: Add __poll and __ppoll.
71
ff9f1c5f
DM
722012-04-05 David S. Miller <davem@davemloft.net>
73
dcd2ae90
DM
74 * scripts/check-local-headers.sh: Accept a host triplet in the
75 path matched by the exclude regexp.
76
993eb054
DM
77 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
78 definition.
79 * sysdeps/powerpc/powerpc32/dl-machine.h
80 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
81 * sysdeps/s390/s390-32/dl-machine.h
82 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
83 * sysdeps/sparc/sparc32/dl-machine.h
84 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85 * sysdeps/sparc/sparc64/dl-machine.h
86 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
87
ff9f1c5f
DM
88 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
89 lazy binding.
48e2e132 90 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
91 undefined symbol errors.
92
48e2e132 93 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
94 DT_NEEDED entries.
95
e80d6f94
MM
962012-04-05 Michael Matz <matz@suse.de>
97
98 [BZ #13592]
99 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
100
349fa79f
AJ
1012012-04-05 Andreas Jaeger <aj@suse.de>
102
103 [BZ #13908]
104 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
105 comment.
106
f402708f
KK
1072012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
108
109 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
110 which ROUND is no valid rounding mode.
111
2ecccfc9
KK
1122012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
113
114 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
115 read again.
116 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
117
8a53f50f
KK
1182012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
119
120 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
121 an exception using FPU order intentionally.
122
1232012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
124
125 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
126 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
127 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
128 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
129
d653abb7
SJ
1302012-04-05 Simon Josefsson <simon@josefsson.org>
131
132 [BZ #12340]
133 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
134 EINVAL when BUFLEN is too smal.
135
c3b1bf7d
TS
1362012-04-05 Thomas Schwinge <thomas@codesourcery.com>
137
138 [BZ #13553]
139 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
140 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
141
b1aa60f3
AJ
1422012-04-03 Andreas Jaeger <aj@suse.de>
143
c3b1bf7d 144 [BZ #13938]
67f60a26
AJ
145 * manual/setjmp.texi (System V contexts): Fix sentence.
146
b1aa60f3
AJ
147 [BZ #13926]
148 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
149 New macro for this case.
150 [!__GNUC__] (__bswap_64): New inline function for this case.
151 * sysdeps/x86_64/bits/byteswap.h: Likewise.
152 * bits/byteswap.h: Likewise.
153 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
154 ull, guard with __GLIBC_HAVE_LONG_LONG.
155
156 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
157 __GLIBC_HAVE_LONG_LONG.
158
159 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
160 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
161
39c59c35
TMQMF
1622012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
163
164 [BZ #13691]
165 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
166 inptr and inend, rather than using last_ch.
167
135ffda8
DM
1682012-04-02 David S. Miller <davem@davemloft.net>
169
170 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
171 * stdio-common/printf-parse.h (read_int): Change return type to
172 'int', return -1 on INT_MAX overflow.
173 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
174 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
175 overflows INT_MAX. Check for overflow of in-format-string precision
176 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
177 SIZE_MAX not INT_MAX for integer overflow test.
178 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
179 skip the construct in the format string but do not record anything.
180 * stdio-common/bug22.c: Adjust to test both width/prevision
181 INT_MAX overflow as well as total length INT_MAX overflow. Check
182 explicitly for proper errno values.
183
228c019e
TS
1842012-04-02 Thomas Schwinge <thomas@codesourcery.com>
185
302cadd3
TS
186 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
187 CHAR_MAX.
188 * string/test-strcmp.c [! WIDE]: Likewise.
189 * time/tst-mktime2.c: Likewise for INT_MAX.
190 * string/test-string.h: #include <sys/param.h> for MIN.
191
228c019e
TS
192 * csu/init-first.c (__libc_init_first): Call __ctype_init.
193 * sysdeps/i386/init-first.c (init): Likewise.
194 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
195 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
196 * sysdeps/sh/init-first.c (init): Likewise.
197
cfa633f5
UD
1982012-04-01 Ulrich Drepper <drepper@gmail.com>
199
200 * po/ru.po: Update from translation team.
d1635ef8 201 * po/vi.po: Likewise.
cfa633f5 202
6cd0a5ea
SP
2032012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
204
205 * resolv/nss_dns/dns-host.c: Merge copyright years.
206
4b43400f
LD
2072012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
208
209 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
210 Optimize memcpy with prefetch if
211 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
212 src, dst pointers have unequal 16 byte alignments.
213
48c41d04
SP
2142012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
215
216 [BZ #13928]
217 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
218 from a CNAME entry and return the minimum ttl for the query.
219 (gaih_getanswer_slice): Likewise.
220
b8dc394d
JL
2212012-03-30 Jeff Law <law@redhat.com>
222
223 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
224 due to long keys.
225 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
226 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
227
2f5a5ed0
JL
228 * resolv/nss_dns/dns-host.c: Update copyright year.
229
1d39e359
UD
2302012-03-30 Ulrich Drepper <drepper@gmail.com>
231
c030f70c 232 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 233 requests to save a system call. Fix check that all bytes are sent.
c030f70c 234
1d39e359
UD
235 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
236 comments for sendmmsg.
237
2382012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
239
240 [BZ #13691]
241 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
242 with only 1 character between 0x0041 and 0x01b0.
243 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
244 * wcsmbs/tst-mbsnrtowcs.c: New file.
245
20fde227
DM
2462012-03-29 David S. Miller <davem@davemloft.net>
247
248 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
249 small copies by hand.
250
984a4237
JL
2512012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
252
253 [BZ #13761]
254 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
255 _nss_compat_initgroups_dyn): Fall back to malloc/free
256 for large group memberships.
257
18c9d62b
DM
2582012-03-28 David S. Miller <davem@davemloft.net>
259
88d85d4f
DM
260 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
261 that branches into memcpy.
262 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
263 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
264 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
265 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
266 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
267 bits.
268 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
269 implementation too.
270 * sysdeps/sparc/mempcpy.S: New file.
271
e5aa83e1
DM
272 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
273 the IFUNC routine in the libc case.
274 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
275
88570753
DM
276 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
277 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
278 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
279 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
280 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
281 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
282 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
283 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
284
249d7567
DM
285 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
286 loop to 256 bytes instead of 64 bytes and fix test signedness.
287
18c9d62b
DM
288 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
289 * sysdeps/sparc/sparc32/Makefile: rather than here...
290 * sysdeps/sparc/sparc64/Makefile: and here.
291
05f3d1f6
UD
2922012-03-28 Ulrich Drepper <drepper@gmail.com>
293
294 * malloc/mallocbug.c: Avoid warnings about unused variables.
295
86ae07a8
JL
2962012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
297
298 [BZ #13760]
299 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
300 in the right place. Discard and retry query if response is
301 larger than input buffer size.
302
41bf21a1
JM
3032012-03-28 Joseph Myers <joseph@codesourcery.com>
304
d6270972
JM
305 [BZ #369]
306 [BZ #2678]
307 [BZ #3866]
308 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
309 x for large integer exponent.
310 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
311 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
312 sign of result as needed afterwards.
313 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
314 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
315 result for underflowing pow the same as for overflow.
316 (__kernel_standard_l): Handle powl overflow and underflow here
317 rather than calling __kernel_standard.
318 * math/libm-test.inc (pow_test): Add more tests.
319
414fca03 320 [BZ #3868]
41bf21a1
JM
321 [BZ #13879]
322 [BZ #13910]
323 [BZ #13911]
324 [BZ #13912]
325 [BZ #13913]
326 [BZ #13915]
327 [BZ #13916]
328 [BZ #13917]
329 [BZ #13918]
330 [BZ #13919]
331 [BZ #13920]
332 [BZ #13921]
333 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
334 * sysdeps/ieee754/k_standard.c: Include <float.h>.
335 (__kernel_standard_l): New function.
336 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
337 __kernel_standard.
338 * math/w_acosl.c (__acosl): Likewise.
339 * math/w_asinl.c (__asinl): Likewise.
340 * math/w_atan2l.c (__atan2l): Likewise.
341 * math/w_atanhl.c (__atanhl): Likewise.
342 * math/w_coshl.c (__coshl): Likewise.
343 * math/w_exp10l.c (__exp10l): Likewise.
344 * math/w_exp2l.c (__exp2l): Likewise.
345 * math/w_fmodl.c (__fmodl): Likewise.
346 * math/w_hypotl.c (__hypotl): Likewise.
347 * math/w_j0l.c (__j0l, __y0l): Likewise.
348 * math/w_j1l.c (__j1l, __y1l): Likewise.
349 * math/w_jnl.c (__jnl, __ynl): Likewise.
350 * math/w_lgammal.c (__lgammal): Likewise.
351 * math/w_log10l.c (__log10l): Likewise.
352 * math/w_log2l.c (__log2l): Likewise.
353 * math/w_logl.c (__logl): Likewise.
354 * math/w_powl.c (__powl): Likewise.
355 * math/w_remainderl.c (__remainderl): Likewise.
356 * math/w_scalbl.c (sysv_scalbl): Likewise.
357 * math/w_sinhl.c (__sinhl): Likewise.
358 * math/w_sqrtl.c (__sqrtl): Likewise.
359 * math/w_tgammal.c (__tgammal): Likewise.
360 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
361 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
362 * math/libm-test.inc (acos_test): Add more tests.
363 (acosh_test): Likewise.
364 (asin_test): Likewise.
365 (atanh_test): Likewise.
366 (exp_test): Likewise.
367 (exp10_test): Likewise.
368 (exp2_test): Likewise.
369 (expm1_test): Likewise.
370 (lgamma_test): Likewise.
371 (log_test): Likewise.
372 (log10_test): Likewise.
373 (log1p_test): Likewise.
374 (log2_test): Likewise.
375 (pow_test): Do not allow some spurious overflow exceptions.
376 (sqrt_test): Add more tests.
377 (tgamma_test): Likewise.
378 (y0_test): Likewise.
379 (y1_test): Likewise.
380 (yn_test): Likewise.
381
dd62fda6
AB
3822012-03-27 Anton Blanchard <anton@samba.org>
383
384 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
385 MAP_HUGETLB.
386 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
387 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
388 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
389
1e3cdfda
AJ
3902012-03-27 David S. Miller <davem@davemloft.net>
391
b855ab85
DM
392 * conform/Makefile: Run run-conformtest.sh using $(BASH).
393
1e3cdfda
AJ
394 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
395 have-as-vis3 check.
396
3972012-03-27 Andreas Jaeger <aj@suse.de>
398
399 * sysdeps/x86_64/elf/configure.in: Moved to ...
400 * sysdeps/x86_64/configure.in: ... here.
401 * sysdeps/x86_64/elf/start.S: Moved to ...
402 * sysdeps/x86_64/start.S: ... here.
403 * sysdeps/x86_64/elf/configure: Delete.
404
405 * sysdeps/x86_64/configure.in: Merge contents from
406 sysdeps/i386/configure.in (without i686 check).
407
408 * sysdeps/i386/elf/Versions: Merge into ...
409 * sysdeps/i386/Versions: ... this.
410 * sysdeps/i386/elf/Versions: Delete file.
411 * sysdeps/i386/elf/start.S: Moved to ...
412 * sysdeps/i386/start.S: ...here.
413 * sysdeps/i386/elf/configure.in: Merge into...
414 * sysdeps/i386/configure.in: ...here.
415 * sysdeps/i386/elf/configure.in: Delete file.
416 * sysdeps/i386/elf/configure: Delete file.
417
418 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
419 * debug/backtracesyms.c: ... here.
420 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
421 * debug/backtracesymsfd.c: ... here.
422 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
423 * sysdeps/generic/ifunc-sel.h: ... here.
424
425 * sysdeps/unix/i386/start.c: Delete file.
426 * sysdeps/unix/sparc/start.c: Delete file.
427 * sysdeps/unix/start.c: Delete file.
428
429 * sysdeps/sh/elf/configure.in: Moved to ...
430 * sysdeps/sh/configure.in: ... here.
431 * sysdeps/sh/elf/start.S: Moved to ...
432 * sysdeps/sh/start.S: ... here.
433 * sysdeps/sh/elf/configure: Delete file.
434
435 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
436 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
437 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
438 * sysdeps/powerpc/powerpc64/entry.h: ... here.
439 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
440 * sysdeps/powerpc/powerpc64/start.S: here.
441 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
442 * sysdeps/powerpc/powerpc64/Makefile: ... this.
443 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
444 * sysdeps/powerpc/powerpc64/configure.in: ... this.
445 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
446
447 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
448 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
449 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
450 * sysdeps/powerpc/powerpc32/start.S: ... here.
451 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
452 * sysdeps/powerpc/powerpc32/configure.in: ... this.
453 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
454
455 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
456 * sysdeps/powerpc/ifunc-sel.h: ... here.
457 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
458 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
459
460 * sysdeps/sparc/elf/configure.in: Moved to ...
461 * sysdeps/sparc/configure.in: ... here.
462 * sysdeps/sparc/elf/configure: Delete file.
463 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
464 * sysdeps/sparc/sparc32/start.S: ... here.
465 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
466 * sysdeps/sparc/sparc64/start.S: ... here.
467 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
468 * sysdeps/sparc/sparc32/Makefile: ... this.
469 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
470 * sysdeps/sparc/sparc64/Makefile: ... this.
471
472 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
473 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
474 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
475 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
476 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
477 * sysdeps/s390/s390-32/setjmp.S: ... here.
478 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
479 * sysdeps/s390/s390-32/configure.in: ... here.
480 * sysdeps/s390/s390-32/elf/configure: Delete file.
481 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
482 * sysdeps/s390/s390-32/start.S: ... here.
483
484 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
485 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
486 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
487 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
488 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
489 * sysdeps/s390/s390-64/setjmp.S: ... here.
490 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
491 * sysdeps/s390/s390-64/configure.in: ... here
492 * sysdeps/s390/s390-64/elf/configure: Delete file.
493 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
494 * sysdeps/s390/s390-64/start.S: ... here.
495 * sysdeps/s390/s390-64/elf/configure: Delete.
496
497 * configure.in: Remove support for elf directories in sysdeps.
498
499 * configure: Regenerated.
500 * sysdeps/i386/configure: Regenerated.
501 * sysdeps/powerpc/powerpc32/configure: Regenerated.
502 * sysdeps/powerpc/powerpc64/configure: Regenerated.
503 * sysdeps/s390/s390-32/configure: Regenerated.
504 * sysdeps/s390/s390-64/configure: Regenerated.
505 * sysdeps/sh/configure: Regenerated.
506 * sysdeps/sparc/configure: Regenerated.
507 * sysdeps/x86_64/configure: Regenerated.
508
a3f61311
AS
5092012-03-26 Andreas Schwab <schwab@linux-m68k.org>
510
c876e002
AS
511 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
512
a3f61311
AS
513 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
514 denormal result into account.
515
ac4c54f0
RM
5162012-03-25 Roland McGrath <roland@hack.frob.com>
517
518 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
519 Reported by Allan McRae <allan@archlinux.org>.
520
6a9b9c02
JL
5212012-03-23 Jeff Law <law@redhat.com>
522
523 * nss/getnssent.c (__nss_getent): Fix typo.
524
4c42a0c1
DM
5252012-03-23 David S. Miller <davem@davemloft.net>
526
527 * sysdeps/sparc/fpu/libm-test-ulps: Update.
528
1532c7ac
L
5292012-03-23 H.J. Lu <hongjiu.lu@intel.com>
530
531 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
532 to pad to uint64_t for each field.
533 (dl_tls_index): Replace unsigned long with uint64_t.
534
3ff42526
PP
5352012-03-23 Daniel Jacobowitz <dmj@google.com>
536 Paul Pluzhnikov <ppluzhnikov@google.com>
537
538 [BZ #6528]
539 * grp/Makefile (otherlibs): Don't set it.
540 * inet/Makefile (otherlibs): Likewise.
541 * login/Makefile (otherlibs): Likewise.
542 * nscd/Makefile (otherlibs): Likewise.
543 * posix/Makefile (otherlibs): Likewise.
544 * pwd/Makefile (otherlibs): Likewise.
545 * rt/Makefile (otherlibs): Likewise.
546 * sunrpc/Makefile (otherlibs): Likewise.
547 * nss/Makefile (otherlibs): Likewise.
548 Add libnss_files to routines and static-only-routines.
549 ($(objpfx)getent): Remove rule.
550 * resolv/Makefile: Add libnss_dns and libresolv to routines and
551 static-only-routines.
552
7c69cd14
JM
5532012-03-22 Joseph Myers <joseph@codesourcery.com>
554
555 [BZ #13892]
556 * math/s_cexp.c: Include <float.h>.
557 (__cexp): Handle exp result overflowing not necessarily
558 overflowing both real and imaginary parts of result.
559 * math/s_cexpf.c: Likewise.
560 * math/s_cexpl.c: Likewise.
561 * math/libm-test.inc (cexp_test): Add more tests.
562 * sysdeps/i386/fpu/libm-test-ulps: Update.
563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
564
81b035fe
L
5652012-03-22 H.J. Lu <hongjiu.lu@intel.com>
566
567 * include/link.h (ELFW): New macro.
568 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
569 Replace ELF64_R_TYPE with ELFW(R_TYPE).
570
1da7940c
L
5712012-03-22 H.J. Lu <hongjiu.lu@intel.com>
572
573 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
574 with uint64_t.
575
b749dbb9
L
5762012-03-22 H.J. Lu <hongjiu.lu@intel.com>
577
578 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
579 declaration.
580 (struct La_x32_retval): Likewise.
581
2ff87f3f
L
5822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
583
584 * sysdeps/x86_64/preconfigure.in: New file.
585 * sysdeps/x86_64/preconfigure: New generated file.
586
c0df8e69
JM
5872012-03-22 Joseph Myers <joseph@codesourcery.com>
588
48e44791
JM
589 [BZ #13824]
590 * math/e_exp2l.c: Include <float.h>.
591 (__ieee754_exp2l): Handle overflow and underflow cases
592 separately. Only pass fractional part of argument to
593 __ieee754_expl.
594 * math/libm-test.inc (exp2_test): Add more tests.
595
c0df8e69
JM
596 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
597 negating x to take absolute value.
598 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
599 Likewise.
600 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
601 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
602 Likewise.
603 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
604 computing low part if x was negated.
605 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
606
c8e43ba7
L
6072012-03-21 H.J. Lu <hongjiu.lu@intel.com>
608
609 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
610 la_x32_gnu_pltexit.
611 (pltexit): Cast int_retval to ptrdiff_t.
612 * elf/tst-auditmod3b.c: Likewise.
613 * elf/tst-auditmod4b.c: Likewise.
614 * elf/tst-auditmod5b.c: Likewise.
615 * elf/tst-auditmod6b.c: Likewise.
616 * elf/tst-auditmod6c.c: Likewise.
617 * elf/tst-auditmod7b.c: Likewise.
618
619 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
620 and x32_gnu_pltexit.
621
622 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
623 __ELF_NATIVE_CLASS.
624 (La_x32_regs): New macro.
625 (La_x32_retval): Likewise.
626 (la_x32_gnu_pltenter): New function prototype.
627 (la_x32_gnu_pltexit): Likewise.
628
7998fa78
AS
6292012-03-21 Andreas Schwab <schwab@linux-m68k.org>
630
dcb33988
AS
631 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
632 exponent.
633
233fc563
AS
634 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
635
7998fa78
AS
636 * configure.in (libc_cv_cc_nofma): Check for option to disable
637 generation of FMA instructions.
638 * configure: Regenerate.
639 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
640 * sysdeps/ieee754/dbl-64/Makefile: New file.
641 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
642 Remove brandred-fma4.
643 (CFLAGS-brandred-fma4.c): Remove.
644 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
645 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
646 define.
647 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
648 define.
649
8e95c99a
L
6502012-03-21 H.J. Lu <hongjiu.lu@intel.com>
651
652 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
653 LLONG_MAX != LONG_MAX.
654 (_itoa_word): Use _ITOA_WORD_TYPE on value.
655 (_fitoa_word): Likewise.
656 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
657 LLONG_MAX != LONG_MAX.
658 * stdio-common/_itowa.h: Include <_itoa.h>.
659 (_itowa_word): Use _ITOA_WORD_TYPE on value.
660 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
661 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
662 only if not defined.
663 (_ITOA_WORD_TYPE): Likewise.
664 (_itoa_word): Use _ITOA_WORD_TYPE on value.
665 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
666
6f4db457
DM
6672012-03-21 David S. Miller <davem@davemloft.net>
668
669 * sysdeps/sparc/fpu/libm-test-ulps: Update.
670
7785fe5a
L
6712012-03-21 H.J. Lu <hongjiu.lu@intel.com>
672
673 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
674 of x86_64 when setting libc_cv_slibdir, libdir and
675 libc_cv_localedir.
676 * sysdeps/unix/sysv/linux/configure: Regenerated.
677
4535cd55
JM
6782012-03-21 Joseph Myers <joseph@codesourcery.com>
679
680 * manual/lang.texi (Old Varargs): Remove section.
681 (How Variadic): Update menu.
682 (va_start): Do not mention varargs.h.
683
17228132
TS
6842012-03-21 Thomas Schwinge <thomas@codesourcery.com>
685 Joseph Myers <joseph@codesourcery.com>
686
687 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
688 link test.
689 * configure: Regenerated.
690
8149f976
TS
6912012-03-21 Thomas Schwinge <thomas@codesourcery.com>
692
05f3d1f6
UD
693 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
694 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
695 conformtest.pl
8149f976 696
1a4ac776
JM
6972012-03-21 Joseph Myers <joseph@codesourcery.com>
698
be22ce65
JM
699 * NOTES: Remove.
700 * Makefile (files-for-dist): Remove NOTES.
701 (NOTES): Remove rule.
702 * README: Don't refer to NOTES.
703 * manual/creature.texi: Don't include macros.texi.
704 * manual/intro.texi (creature.texi): Remove comment referring to
705 NOTES.
706
40b601fb
JM
707 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
708 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
709 * configure: Regenerated.
710 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
711 LIBC_TRY_CC_OPTION.
712 (libc_cv_as_i686): Likewise.
713 (libc_cv_cc_avx): Likewise.
714 (libc_cv_cc_sse2avx): Likewise.
715 (libc_cv_cc_fma4): Likewise.
716 (libc_cv_cc_novzeroupper): Likewise.
717 * sysdeps/i386/configure: Regenerated.
718
1a4ac776
JM
719 [BZ #13883]
720 * sysdeps/i386/fpu/s_cexp.S: Remove.
721 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
722 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
723 * math/libm-test.inc (cexp_test): Add more tests.
724 * sysdeps/i386/fpu/libm-test-ulps: Update.
725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
726
a458e7fe
AM
7272012-03-21 Allan McRae <allan@archlinux.org>
728
729 * timezone/Makefile: Do not install iso3166.tab and zone.tab
730
0cb7efc5
JM
7312012-03-21 Joseph Myers <joseph@codesourcery.com>
732
733 [BZ #13871]
734 * math/w_exp2.c: Do not include <float.h>.
735 (o_threshold, u_threshold): Remove.
736 (__exp2): Calculate result before checking finiteness and calling
737 __kernel_standard.
738 * math/w_exp2f.c: Likewise.
739 * math/w_exp2l.c: Likewise.
740 * math/libm-test.inc (exp2_test): Require overflow exception for
741 1e6 input.
2460d3aa
JM
742
743 [BZ #3866]
744 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
745 range of signed 64-bit integers before using fistpll. Remove
746 checks for whether integers fit in mantissa bits.
747 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
748 the range of signed 32-bit integers before using fistpl. Remove
749 checks for whether integers fit in mantissa bits.
750 * sysdeps/i386/fpu/e_powl.S (p64): New object.
751 (__ieee754_powl): Test for y outside the range of signed 64-bit
752 integers before using fistpll. Reduce 64-bit values to 63-bit
753 ones as needed.
754 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
755 divide-by-zero is raised for zero to large negative powers.
756 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
757 (__ieee754_powl): Test for y outside the range of signed 64-bit
758 integers before using fistpll. Reduce 64-bit values to 63-bit
759 ones as needed.
760 * math/libm-test.inc (pow_test): Add more tests.
761
eb96ffb0
L
7622012-03-20 H.J. Lu <hongjiu.lu@intel.com>
763
764 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
765 <stdio-common/_itoa.h>.
766 * debug/segfault.c: Likewise.
767 * elf/dl-cache.c: Likewise.
768 * elf/dl-minimal.c: Likewise.
769 * elf/dl-misc.c: Likewise.
770 * elf/dl-sysdep.c: Likewise.
771 * elf/dl-version.c: Likewise.
772 * elf/rtld.c: Likewise.
773 * hurd/hurdsock.c: Likewise.
774 * hurd/lookup-retry.c: Likewise.
775 * malloc/malloc.c: Likewise.
776 * malloc/mtrace.c: Likewise.
777 * nscd/nscd_getgr_r.c: Likewise.
778 * nscd/nscd_getpw_r.c: Likewise.
779 * nscd/nscd_getserv_r.c: Likewise.
780 * posix/getopt_init.c: Likewise.
781 * posix/wordexp.c: Likewise.
782 * stdio-common/_itoa.c: Likewise.
783 * stdio-common/printf_fphex.c: Likewise.
784 * stdio-common/vfprintf.c: Likewise.
785 * string/_strerror.c: Likewise.
786 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
787 * sysdeps/i386/i686/hp-timing.h: Likewise.
788 * sysdeps/mach/_strerror.c: Likewise.
789 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
790 * sysdeps/mach/hurd/sethostid.c: Likewise.
791 * sysdeps/mach/hurd/xmknodat.c: Likewise.
792 * sysdeps/mach/xpg-strerror.c: Likewise.
793 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
794 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
795 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
796 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
797 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
798 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
799 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
800 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
801 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
802 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
803 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
804 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
805 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
806 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
807 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
808 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
809 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
810 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
811 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
812 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
813 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
814
815 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
816
817 * stdio-common/_itoa.h: Moved to ...
818 * sysdeps/generic/_itoa.h: Here.
819
820 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
821
822 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
823 instead of "_itoa.h" and "_itowa.h".
824 * stdio-common/vfprintf.: Likewise.
825
d1af992d
L
8262012-03-20 H.J. Lu <hongjiu.lu@intel.com>
827
828 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
829 <bits/wordsize.h>.
830 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
831 (__signbit): Likwise.
832 (llrintf): Likwise.
833 (llrint): Likwise.
834
114883e0
L
8352012-03-20 H.J. Lu <hongjiu.lu@intel.com>
836
837 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
838 __WORDSIZE != 64.
839
c135cc1b
JM
8402012-03-20 Joseph Myers <joseph@codesourcery.com>
841
842 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
843 OVERFLOW_EXCEPTION_OK.
844 * math/libm-test.inc ("Philosophy"): Update comment about
845 exception testing.
846 (OVERFLOW_EXCEPTION): Define.
847 (OVERFLOW_EXCEPTION_OK): Likewise.
848 (INVALID_EXCEPTION_OK): Renumber.
849 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
850 (IGNORE_ZERO_INF_SIGN): Likewise.
851 (test_exceptions): Handle FE_OVERFLOW.
852 (exp10_test): Expect overflow exceptions.
853 (exp2_test): Likewise.
854 (expm1_test): Likewise.
855 (nextafter_test): Likewise.
856 (pow_test): Likewise.
857 (scalbn_test): Likewise.
858 (scalbln_test): Likewise.
859
95443d88
L
8602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
861
862 * sysdeps/x86_64/bits/atomic.h
863 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
864 64bit integer.
865 (atomic_exchange_acq): Likewise.
866 (__arch_exchange_and_add_body): Likewise.
867 (__arch_add_body): Likewise.
868 (atomic_add_negative): Likewise.
869 (atomic_add_zero): Likewise.
870
490df6c4
L
8712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
872
c2722551 873 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
874 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
875
5e52b189
L
8762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
877
878 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
879 Check __x86_64__ instead of __WORDSIZE.
880
a9879d4c
L
8812012-03-19 H.J. Lu <hongjiu.lu@intel.com>
882
883 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
884
5df98260
DM
8852012-03-19 David S. Miller <davem@davemloft.net>
886
e1497744
DM
887 * sysdeps/sparc/fpu/libm-test-ulps: Update.
888
5df98260
DM
889 * sysdeps/sparc/fpu/fenv_private.h: New file.
890 * sysdeps/sparc/fpu/math_private.h: Use it.
891 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
892 Remove.
893 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
894 (libc_feholdexcept_setroundl): Remove.
895 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
896 Remove.
897 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
898 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
899
b4c35121
L
9002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
901
902 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
903 int64_t instead of long int.
904 (INSERT_WORDS64): Likwise.
905
56965fd7
L
9062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
907
908 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
909 _Unwind_GetCFA return to _Unwind_Ptr first.
910
83d1aec8
JM
9112012-03-19 Joseph Myers <joseph@codesourcery.com>
912
1897ad44
JM
913 [BZ #13629]
914 * math/s_clog.c: Include <float.h>.
915 (__clog): Scale large or subnormal inputs.
916 * math/s_clogf.c: Likewise.
917 * math/s_clogl.c: Likewise.
918 * math/s_clog10.c: Include <float.h>.
919 (M_LOG10_2): Define.
920 (__clog10): Scale large or subnormal inputs.
921 * math/s_clog10f.c: Likewise.
922 * math/s_clog10l.c: Likewise.
923 * math/libm-test.inc (clog_test): Add more tests.
924 (clog10_test): Likewise.
925 * sysdeps/i386/fpu/libm-test-ulps: Update.
926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
927
7726d6a9
JM
928 [BZ #11451]
929 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
930 x and y.
931 * math/libm-test.inc (atan2_test): Add another test.
932
83d1aec8
JM
933 * Makerules (common-objdir-compile): Remove.
934 * sysdeps/unix/Makefile (config-generated): Do not add
935 $(unix-generated) to variable.
936 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
937 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
938 Remove rule.
939 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
940 Likewise.
941 [generic bits/local_lim.h] (before-compile): Do not append to
942 variable.
943 [generic bits/local_lim.h] (common-generated): Likewise.
944 [generic sys/param.h] (before-compile): Do not append to variable.
945 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
946 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
947 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
948 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
949 include.
950 [generic sys/param.h] (sys/param.h-includes): Remove variable.
951 [generic sys/param.h] (sys/param.h-includes): Remove rule.
952 [generic sys/param.h] ($(addprefix
953 $(common-objpfx),$(sys/param.h-includes))): Likewise.
954 [generic sys/param.h] (common-generated): Do not append to
955 variable.
956 [generic sys/param.h] (sysdep_headers): Likewise.
957 [generic bits/errno.h] (before-compile): Do not append to
958 variable.
959 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
960 rule.
961 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
962 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
963 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
964 [generic bits/errno.h] (common-generated): Do not append to
965 variable.
966 [generic bits/ioctls.h] (before-compile): Do not append to
967 variable.
968 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
969 rule.
970 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
971 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
972 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
973 rule.
974 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
975 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
976 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
977 [generic bits/ioctls.h] (common-generated): Do not append to
978 variable.
979 [generic sys/syscall.h] (syscall.h): Remove variable.
980 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
981 rule.
982 [generic sys/syscall.h] (before-compile): Do not append to
983 variable.
984 [generic sys/syscall.h] (common-generated): Likewise.
985 * sysdeps/unix/errnos-tmpl.c: Remove file.
986 * sysdeps/unix/errnos.awk: Likewise.
987 * sysdeps/unix/ioctls-tmpl.c: Likewise.
988 * sysdeps/unix/ioctls.awk: Likewise.
989 * sysdeps/unix/mk-local_lim.c: Likewise.
990 * sysdeps/unix/snarf-ioctls: Likewise.
991
4851a949
RH
9922012-03-19 Richard Henderson <rth@twiddle.net>
993
bd37f2ee
RH
994 * sysdeps/i386/fpu/fenv_private.h: New file.
995 * sysdeps/i386/fpu/math_private.h: Use it.
996 (math_opt_barrier, math_force_eval): Remove.
997 (libc_feholdexcept_setround_53bit): Remove.
998 (libc_feupdateenv_53bit): Remove.
999 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1000 (math_opt_barrier, math_force_eval): Remove.
1001 (libc_feholdexcept): Remove.
1002 (libc_feholdexcept_setround): Remove.
1003 (libc_fetestexcept, libc_fesetenv): Remove.
1004 (libc_feupdateenv_test): Remove.
1005 (libc_feupdateenv, libc_feholdsetround): Remove.
1006 (libc_feresetround): Remove.
1007
d0adc922
RH
1008 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1009 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1010
0fe0f1f8
RH
1011 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1012 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1013 (libc_feupdateenv_testl): New.
1014 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1015 (libc_feupdateenv_testf): New.
1016 (libc_feupdateenv): Use libc_feupdateenv_test.
1017 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1018 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1019
eb92c487
RH
1020 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1021 (libc_feholdsetroundf, libc_feholdsetroundl): New.
1022 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1023 (libc_feresetround_noex): New.
1024 (libc_feresetround_noexf): New.
1025 (libc_feresetround_noexl): New.
1026 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1027 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1028 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1029 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1030 SET_RESTORE_ROUND.
1031 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1032 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1033 (__cos): Likewise.
1034 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1035 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1036 SET_RESTORE_ROUND_NOEX.
1037 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1038 SET_RESTORE_ROUND_NOEXF.
1039 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1040 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1041 (libc_feholdsetroundf): New.
1042 (libc_feresetround, libc_feresetroundf): New.
1043
7d2e8012
RH
1044 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1045 (libc_feholdexcept_setround_53bit): Convert from macro to function.
1046 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
1047
b4dabbb4
RH
1048 * sysdeps/generic/math_private.h: Include <fenv.h>.
1049 (default_libc_feholdexcept): New.
1050 (default_libc_feholdexcept_setround): New.
1051 (default_libc_fesetenv, default_libc_feupdateenv): New.
1052 (libc_feholdexcept): Only define if undefined.
1053 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1054 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1055 (libc_feholdexcept_setroundl): Likewise.
1056 (libc_feholdexcept_setround_53bit): Likewise.
1057 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1058 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1059 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1060 (libc_feupdateenv_53bit): Likewise.
1061 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1062 (libc_feholdexcept): Convert from macro to inline function.
1063 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1064 (libc_fesetenv, libc_feupdateenv): Likewise.
1065
4851a949
RH
1066 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1067 not previously defined.
1068 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1069 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1070 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1071 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1072 * sysdeps/ieee754/flt-32/math_private.h: New file.
1073 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1074 math_private.h below SET_FLOAT_WORD.
1075 (__isnan, __isinf_ns, __finite): Remove.
1076 (__isnanf, __isinf_nsf, __finitef): Remove.
1077
e79d442e
AS
10782012-03-18 Andreas Schwab <schwab@linux-m68k.org>
1079
1080 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1081
90b80344
DM
10822012-03-17 David S. Miller <davem@davemloft.net>
1083
1084 [BZ #6471]
1085 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1086 for 2.16.
1087
edc21804
DM
10882012-03-16 David S. Miller <davem@davemloft.net>
1089
77e927af
DM
1090 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1091 warnings.
1092
374976dd
DM
1093 [BZ #6471]
1094 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1095 properly.
1096 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1097 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1098 sysdep_routines when subdir is sysvipc.
1099 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1100 __getshmlba helper.
1101
edc21804
DM
1102 * sysdeps/sparc/fpu/libm-test/ulps: Update.
1103
473c3ef3
L
11042012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1105
1106 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1107 [__LP64__].
1108
eb0f39b6
L
11092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1110
1111 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1112 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1113 (__lround): Renamed to ...
1114 (__llround): This. Replace long int with long long int.
1115 Define lround functions as aliases of llround functions.
1116 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1117
6b6cd74b
L
11182012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1119
1120 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1121 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
1122 adresses to uintptr_t. Replace "long int" and "unsigned long
1123 int" with "greg_t" on va_arg.
1124
f1a77b01
L
11252012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1126
1127 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1128 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1129
1130 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1131 Move e_machine check before EI_CLASS check. Handle x32
1132 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1133 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1134 SKIP_EM_IA_64 and include
1135 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1136
1137 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1138 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1139 (add_system_dir): New macro.
1140
1141 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1142 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1143
11b90b9f
JM
11442012-03-16 Joseph Myers <joseph@codesourcery.com>
1145
c36e1d23
JM
1146 [BZ #2551]
1147 [BZ #2552]
1148 [BZ #2553]
1149 [BZ #2554]
1150 [BZ #2562]
1151 [BZ #2563]
1152 [BZ #2565]
1153 [BZ #2566]
1154 [BZ #2576]
1155 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1156 (y0): Likewise.
1157 * math/w_j0f.c (j0f): Likewise.
1158 (y0f): Likewise.
1159 * math/w_j0l.c (__j0l): Likewise.
1160 (__y0l): Likewise.
1161 * math/w_j1.c (j1): Likewise.
1162 (y1): Likewise.
1163 * math/w_j1f.c (j1f): Likewise.
1164 (y1f): Likewise.
1165 * math/w_j1l.c (__j1l): Likewise.
1166 (__y1l): Likewise.
1167 * math/w_jn.c (jn): Likewise.
1168 (yn): Likewise.
1169 * math/w_jnf.c (jnf): Likewise.
1170 (ynf): Likewise.
1171 * math/w_jnl.c (__jnl): Likewise.
1172 (__ynl): Likewise.
1173 * math/libm-test.inc (j0_test): Add more tests.
1174 (j1_test): Likewise.
1175 (jn_test): Likewise. Add trailing semicolon to existing test.
1176 (y0_test): Likewise.
1177 (y1_test): Likewise.
1178 * sysdeps/i386/fpu/libm-test-ulps: Update.
1179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1180
11b90b9f
JM
1181 [BZ #13851]
1182 [BZ #13854]
1183 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1184 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1185 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1186 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1187 (__tanl): Set errno for infinite argument.
1188 * sysdeps/i386/fpu/mptan.c: Remove.
1189 * sysdeps/i386/fpu/s_tan.S: Likewise.
1190 * sysdeps/i386/fpu/s_tanl.S: Likewise.
1191 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1192 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1193 * math/libm-test.inc (tan_test): Add more tests and enable more
1194 tests for double and long double.
1195 * sysdeps/i386/fpu/libm-test-ulps: Update.
1196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1197
6a1bd2a1
JK
11982012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1199
1200 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1201 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1202
10a803e0
RM
12032012-03-16 Roland McGrath <roland@hack.frob.com>
1204
1205 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1206 * configure.in: Use it for both main tree and add-ons.
1207 * configure: Regenerated.
1208
f196c7f7
L
12092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1210
1211 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1212
8848d99d
JM
12132012-03-16 Joseph Myers <joseph@codesourcery.com>
1214
96cbe7f4
JM
1215 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1216 in comment.
1217
8848d99d
JM
1218 [BZ #13851]
1219 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1220 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1221 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1222 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1223 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1224 infinite argument.
1225 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1226 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1227 != 0 for prec == 2.
1228 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1229 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1230 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1231 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1232 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1233 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1234 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1235 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1236 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1237 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1238 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1239 * math/libm-test.inc (cos_test): Add more tests and enable more
1240 tests for long double.
1241 (sin_test): Likewise.
1242 (sincos_test): Likewise.
1243 * sysdeps/i386/fpu/libm-test-ulps: Update.
1244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1245
dd7f4703
DM
12462012-03-16 David S. Miller <davem@davemloft.net>
1247
1248 * sysdeps/sparc/fpu/math_private.h: New file.
1249
006f1daa
DM
12502012-03-15 David S. Miller <davem@davemloft.net>
1251
c0c83bc8
DM
1252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1253 file.
e6a62e18 1254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
1255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1256 file.
e6a62e18
DM
1257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1258 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1259 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1260 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1261 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1262 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1263 sysdep routines.
1264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1265
88cb87d9
DM
1266 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1267 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1268
006f1daa 1269 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
1270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1271 sparc-ifunc.h
006f1daa 1272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
1273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1274 Likewise.
1275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1276 Likewise.
006f1daa
DM
1277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
1280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1281 Likewise.
006f1daa
DM
1282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
1286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1287 Likewise.
1288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1289 Likewise.
006f1daa
DM
1290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1294 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1295 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1296 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1297 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1298 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1299 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1300 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1301 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1302 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1303 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1304 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1305 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1306 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1307 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1308 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1309 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1310 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1311 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1312 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1313 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1314
11e0098e
AS
13152012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1316
1317 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1318 scaling.
1319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1320
e85b09d0
AJ
13212012-03-15 Andreas Jaeger <aj@suse.de>
1322
1323 [BZ #13852]
1324 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1325 ieee754/flt-32 implementation for sin, cos and sincos.
1326 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1327 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1328 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1329 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1330 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1331 ieee754/flt-32 implementation for tan.
1332
1333 * math/libm-test.inc (cos_test): Enable some large input tests for
1334 float as well
1335 (sin_test): Likewise.
1336 (sincos_test): Likewise.
1337 (tan_test): Add tests for large input.
1338
1339 * sysdeps/i386/fpu/libm-test-ulps: Update.
1340
81c64153
AJ
13412012-03-15 Andreas Jaeger <aj@suse.de>
1342
1343 [BZ #13658]
1344 * math/libm-test.inc (cos_test): Add more test cases.
1345 (sin_test): Likewise.
1346 (sincos_test): Likewise.
1347
7bbfa5c6
AJ
13482012-03-15 Andreas Jaeger <aj@suse.de>
1349
1350 [BZ #13837]
1351 * math/libm-test.inc (cos_test): Add a test case for large input
1352 value.
1353 (sin_test): Likewise.
1354 (sincos_test): Likewise.
1355
13562012-03-15 Andreas Jaeger <aj@suse.de>,
1357 Joseph Myers <joseph@codesourcery.com>
1358
1359 [BZ #13658]
0671f479 1360 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
1361 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1362 * sysdeps/i386/fpu/branred.c: Likewise.
1363 * sysdeps/i386/fpu/dosincos.c: Likewise.
1364 * sysdeps/i386/fpu/mpa.c: Likewise.
1365 * sysdeps/i386/fpu/s_cos.S: Likewise.
1366 * sysdeps/i386/fpu/s_sin.S: Likewise.
1367 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1368 * sysdeps/i386/fpu/sincos32.c: Likewise.
1369
1370 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1371 Define.
1372 (libc_feupdateenv_53bit): Define.
1373 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1374 Define.
1375 (libc_feupdateenv_53bit): Define.
1376
1377 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1378 53 bit (without extend i386 double precision).
1379
1380 * math/libm-test.inc (sincos_test): Add tests for large input.
1381 (sin): Likewise.
1382 (cos): Likewise.
1383
1384 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1385
9cad04ea
AS
13862012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1387
1388 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1389
f7062b9a
DM
13902012-03-15 David S. Miller <davem@davemloft.net>
1391
1392 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1393 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1394 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1395 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1397 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1398 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1399 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1400 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1401 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1402 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1403 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1404 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1405 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1406 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
1407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1408 file.
f7062b9a 1409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
1410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1411 file.
f7062b9a 1412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
1413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1414 file.
f7062b9a 1415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
1416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1417 file.
f7062b9a
DM
1418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1419 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1420 fmin/fmax sysdep routines.
1421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1422
7bd951ff
DM
14232012-03-14 David S. Miller <davem@davemloft.net>
1424
559398ab
DM
1425 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1426 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1427 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1428 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1429 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1430 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1431 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1432 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1433 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1434 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1435 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1436 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1437 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1438 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1439 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1440 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1441 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1442 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1443 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1444 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1445 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1446 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1447 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1448 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1449 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1450 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1451 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1452 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1453 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1454 routines.
1455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1456 file.
559398ab 1457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
1458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1459 file.
559398ab 1460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
1461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1462 file.
559398ab 1463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
1464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1465 file.
559398ab 1466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
1467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1468 file.
559398ab 1469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
1470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1471 file.
1472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1473 file.
1474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1475 file.
1476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1477 file.
1478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1479 New file.
1480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1481 file.
1482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1483 file.
559398ab 1484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
1485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1486 file.
559398ab 1487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1489 file.
559398ab 1490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
1491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1492 file.
559398ab 1493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
1494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1495 VIS3 routines.
559398ab
DM
1496
1497 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1498 New file.
1499
5a1c1e32
DM
1500 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1501
eae47a36
DM
1502 * sysdeps/sparc/configure.in: New file.
1503 * sysdeps/sparc/configure: Generate.
1504 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1505 * configure: Regenerate.
1506 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1507 * config.make.in (have-as-vis3): New.
1508 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1509 available use -Av9d instead of -Av9a.
1510 * sysdeps/sparc/sparc64/Makefile: Likewise.
1511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
1512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1513 New file.
1514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1515 file.
1516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1517 New file.
1518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1519 file.
eae47a36
DM
1520 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1521 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1522 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1523 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1524 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1525
c0c83bc8
DM
1526 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1527 fzeros/fnegs to load 0x80000000 into a float register instead of
1528 using the stack.
7bd951ff
DM
1529 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1530
bd951ccb
JM
15312012-03-14 Joseph Myers <joseph@codesourcery.com>
1532
1533 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1534 bits/syscall.h.
1535 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1536 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1537 ($(inst_includedir)/bits/syscall.h): Remove rule.
1538 ($(objpfx)bits/syscall.d): Include instead of
1539 $(objpfx)syscall-list.d.
1540 (generated): Change syscall-list.h and syscall-list.d to
1541 bits/syscall.h and bits/syscall.d.
1542
bb4e6db2
RM
15432012-03-14 Roland McGrath <roland@hack.frob.com>
1544
1545 [BZ #13846]
1546 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1547
aa4a2ae1
JM
15482012-03-14 Joseph Myers <joseph@codesourcery.com>
1549
e456826d
JM
1550 [BZ #13841]
1551 * math/s_csqrt.c: Include <float.h>.
1552 (__csqrt): Scale large or subnormal inputs.
1553 * math/s_csqrtf.c: Likewise.
1554 * math/s_csqrtl.c: Likewise.
1555 * math/libm-test.inc (csqrt_test): Add more tests.
1556 * sysdeps/i386/fpu/libm-test-ulps: Update.
1557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1558
aa4a2ae1
JM
1559 [BZ #13840]
1560 * math/libm-test.inc (hypot_test): Add more tests.
1561
7c10fd35
DM
15622012-03-13 David S. Miller <davem@davemloft.net>
1563
1564 [BZ #13840]
1565 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1566 double-precision for the calculation instead of scaling.
1567
f453b98b
JM
15682012-03-13 Joseph Myers <joseph@codesourcery.com>
1569
1570 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1571 manipulate bits before adding and subtracting TWO52[sx].
1572 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1573 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1574 Likewise.
1575 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1576
09a3453f
DM
15772012-03-13 David S. Miller <davem@davemloft.net>
1578
8e59da90
DM
1579 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1580 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1581 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1582 rtld-global-offsets.h
1583 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1584
2a8ab7f2
DM
1585 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1586 large parameters.
1587
10f62770
DM
1588 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1589
5f0bdb18
DM
1590 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1591 'err' in the ifdef scope in which it is actually used.
1592
09a3453f
DM
1593 * nss/nss_db/db-init.c: Include string.h
1594
b4b2eb5e
DM
15952012-03-12 David S. Miller <davem@davemloft.net>
1596
98bb2f1c
DM
1597 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1598 masking out of the most significant byte of random value used.
1599 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1600 Fix coding style in previous change.
1601
b4b2eb5e
DM
1602 * sysdeps/unix/sysv/linux/kernel-features.h
1603 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1604 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1605 expression.
1606 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1607 later.
1608
6e226b09
DM
16092012-03-11 David S. Miller <davem@davemloft.net>
1610
a1bcbd40
DM
1611 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1612 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1613 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1614 for 'resultvar' otherwise things get truncated on 64-bit.
1615
cb9d6174
DM
1616 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1617 Fix masking out of the most significant byte of random value used.
1618
6e226b09
DM
1619 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1620
058c132d
AS
16212012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1622
1623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1624
2d2cd515
DM
16252012-03-09 David S. Miller <davem@davemloft.net>
1626
1627 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1628 variables with appropriate CPP guards.
1629 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1630 frame pointer, not the stack pointer. Correct layout comments. Fix test
1631 on resulting framesize and the management of the outregs buffer for pltexit.
1632 Preserve floating point return values across _dl_call_pltexit call.
1633 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1634 framesize and the management of the outregs buffer for pltexit.
1635 Preserve floating point return values across _dl_call_pltexit
1636 call.
1637 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1638 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1639 (print_exit): Fix format string for return register value.
1640
9a07f9d0
JM
16412012-03-10 Joseph Myers <joseph@codesourcery.com>
1642
1643 * sunrpc/Makefile (others): Add rpcgen.
1644 ($(objpfx)rpcgen): Remove special build rule and dependency on
1645 libc.
1646 * sunrpc/rpcgen.c: New file.
1647
547b5e30
PE
16482012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1649
c524201a
PE
1650 [BZ #13673]
1651 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1652 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1653 * sysdeps/i386/crti.S: Likewise.
1654 * sysdeps/i386/crtn.S: Likewise.
1655 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1656 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1657 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1658 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1659 * sysdeps/sh/crti.S: Likewise.
1660 * sysdeps/sh/crtn.S: Likewise.
1661 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1662
7b6235f2
PE
1663 [BZ #13673]
1664 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1665 with URL.
1666 * locale/programs/locfile-kw.gperf: Likewise.
1667 * locale/programs/charmap-kw.h: Regenerated.
1668 * locale/programs/locfile-kw.h: Likewise.
1669
547b5e30
PE
1670 [BZ #13673]
1671 * intl/plural.y: Replace FSF snail mail address with URL.
1672 * intl/plural.c: Regenerated.
1673
5f0a5dae
RH
16742012-03-09 Richard Henderson <rth@twiddle.net>
1675
1676 * include/math_private.h: Remove file.
1677 * math/math_private.h: Move file ...
1678 * sysdeps/generic/math_private.h: ... here.
1679
b8c03620
RH
1680 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1681 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1682 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1683
4e234f5d 1684 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
1685 and <math_private.h>.
1686 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1687 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1688 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1689 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1690 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1691 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1692 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1693 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1694 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1695 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1696 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1697 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1698 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1699 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1700 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1701 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1702 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1703 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1704 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1705 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1706 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1707 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1708 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1709 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1710 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1711 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1712 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1713 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1714 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1715 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1716 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1717 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1718 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1719 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1720 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1721 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1722 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1723 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1724 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1725 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1726 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1727 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1728 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1729 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1730 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1731 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1732 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1733 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1734 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1735 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1736 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1737 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1738 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1739 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1740 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1741 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1742 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1743 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1744 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1745 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1746 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1747 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1748 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1749 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1750 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1751 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1752 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1753 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1754 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1755 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1756 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1757 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1758 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1759 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1760 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1761 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1762 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1763 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1764 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1765 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1766 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1767 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1768 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1769 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1770 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1771 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1772 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1773 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1774 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1775 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1776 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1777 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1778 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1779 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1780 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1781 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1782 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1783 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1784 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1785 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1786 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1787 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1788 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1789 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1790 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1791 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1792 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1793 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1794 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1795 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1796 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1797 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1798 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1799 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1800 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1801 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1802 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1803 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1804 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1805 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1806 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1807 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1808 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1809 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
1810 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1811 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1812 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1813 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
1814 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1815 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
1816 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
1817 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1818 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1819 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
1820 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
1821 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1822 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1823 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1824 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
1825 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1826 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1827 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1828 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1829 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
1830 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
1831 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1832 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1833 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1834 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1835 * sysdeps/ieee754/k_standard.c: Likewise.
1836 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1837 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1838 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1839 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1840 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1841 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1842 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1843 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1844 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1845 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1846 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1847 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1848 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1849 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1850 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1851 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1852 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1853 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1854 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1855 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1856 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1857 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1858 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1859 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1860 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1861 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1862 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1863 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1864 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1865 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1866 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1867 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1868 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1869 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1870 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1871 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1872 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1873 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
1874 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1875 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1876 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1877 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1878 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1879 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1880 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1881 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1882 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1883 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1884 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1885 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1886 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1887 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1888 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1889 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1890 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1891 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1892 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
1893 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1894 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1895 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1896 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1897 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1898 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1899 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1900 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1901 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1902 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1903 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1904 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1905 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1906 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1907 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1908 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1909 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1910 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1911 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1912 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
1913 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1914 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1915 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1916 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1917 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1918 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1919 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1920 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
1921 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1922 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1923 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1924 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1925 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1926 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
1927 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1928 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1929 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1930 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1931 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1932 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
1933 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1934 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1935 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
1936 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1937 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1938 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1939 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1940 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
1941 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1942 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1943 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1944 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
1945 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1946 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1947 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1948 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1949 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1950 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1951 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1952 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1953 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1954 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1955 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1956 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1957 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1958 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1959 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1960 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1961 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
1962 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1963 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1964 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1965 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1966 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1967 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1968 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1969 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1970 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1971 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1972 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
1973 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1974 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1975 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
1976 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
1977 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1978 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
1979 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
1980 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1981 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1982 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1983 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1984 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1985 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
1986 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1987 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1988 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1989 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1990 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
1991 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
1992 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1993 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1994 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1995 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1996 * sysdeps/ieee754/s_lib_version.c: Likewise.
1997 * sysdeps/ieee754/s_matherr.c: Likewise.
1998 * sysdeps/ieee754/s_signgam.c: Likewise.
1999 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2000 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2001 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2002 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2003 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2004 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2005 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2006 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2007 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2008 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2009 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2010 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2011 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2012 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2013 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2014 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2015 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2016 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2017 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2018 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2019 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 2020
1991fa03
JM
20212012-03-09 Joseph Myers <joseph@codesourcery.com>
2022
2023 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2024 * sunrpc/rpc_main.c: Likewise.
2025 * sunrpc/rpc_svcout.c: Likewise.
2026
60d6f5a6
DM
20272012-03-09 David S. Miller <davem@davemloft.net>
2028
2029 * include/math_private.h: New file.
2030
4962050e
JM
20312012-03-09 Joseph Myers <joseph@codesourcery.com>
2032
02a6f887
JM
2033 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2034 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2035 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2036 from <bits/socket_type.h>.
2037 (enum __socket_type): Don't define here.
2038 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2039 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2040 bits/socket_type.h.
2041
c6e013c1
JM
2042 [BZ #13566]
2043 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2044 checking __USE_GNU.
2045
4962050e
JM
2046 * Makerules ($(inst_includedir)/%.h): New rule.
2047 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2048 (install-others): Remove variable setting.
2049 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2050
38842f45
RH
20512012-03-08 Richard Henderson <rth@twiddle.net>
2052
67bb6da6
RH
2053 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2054 from macro to inline function; merge with the
2055 !__LIBC_INTERNAL_MATH_INLINES version.
2056 (__ieee754_sqrtf): Likewise.
2057
15194b4b
RH
2058 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2059 to inline function.
2060 (__rintf, __floor, __floorf): Likewise.
2061
64e21ede
RH
2062 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2063 macro to inline function.
2064 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2065
38842f45
RH
2066 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2067 not <math/math_private.h>.
2068
c64bf5fe
DM
20692012-03-08 David S. Miller <davem@davemloft.net>
2070
2071 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2072 copyright year.
2073 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2074
82d86f28
TS
20752012-03-08 Thomas Schwinge <thomas@codesourcery.com>
2076
2077 * resolv/gai_misc.c (handle_requests): Fix struct timespec
2078 normalization.
2079 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2080 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2081
aea5d727
UD
20822012-03-08 Ulrich Drepper <drepper@gmail.com>
2083
2084 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
2085 be defined individually, they must be defined as a block. Define
2086 S for printing a string instead of hidint the different by using a
2087 macro for adding the 'l'.
2088 * stdio-common/tst-fphex-wide.c: Adjust.
2089
70bca0a3
MP
20902012-03-07 Marek Polacek <polacek@redhat.com>
2091
2092 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2093
65b81130
MP
20942012-03-08 Marek Polacek <polacek@redhat.com>
2095
2096 [BZ #13806]
2097 * stdio-common/Makefile (tests): Add tst-fphex-wide.
2098 * stdio-common/tst-fphex.c: Define a few macros to make the
2099 test reusable. Use them.
2100 * stdio-common/tst-fphex-wide.c: New file.
2101
07037eeb
JM
21022012-03-08 Joseph Myers <joseph@codesourcery.com>
2103
a7a93d50
JM
2104 [BZ #6911]
2105 * manual/macros.texi (gnusystems): New macro.
2106 (nongnusystems): Likewise.
2107 (gnulinuxhurdsystems): Likewise.
2108 (gnuhurdsystems): Likewise..
2109 (gnulinuxsystems): Likewise.
2110 * manual/charset.texi: Use new macros or @theglibc{} to refer to
2111 variants of the GNU system, not "GNU system".
2112 * manual/conf.texi: Likewise.
2113 * manual/errno.texi: Likewise. Update example of errno macro
2114 expansion.
2115 * manual/filesys.texi: Likewise.
2116 (getumask): Document as specific to GNU/Hurd.
2117 * manual/install.texi: Likewise. Reword some references to
2118 GNU/Linux.
2119 * manual/intro.texi: Likewise.
2120 * manual/io.texi: Likewise.
2121 (File Name Portability): Detail which constraints are inapplicable
2122 to all GNU systems and which are only inapplicable to GNU/Hurd.
2123 * manual/job.texi: Likewise.
2124 * manual/llio.texi: Likewise.
2125 (O_NOCTTY): Document as present on GNU/Linux.
2126 * manual/maint.texi: Likewise.
2127 * manual/memory.texi: Likewise.
2128 * manual/pattern.texi: Likewise.
2129 * manual/pipe.texi: Likewise.
2130 * manual/process.texi: Likewise.
2131 * manual/resource.texi: Likewise.
2132 (RUSAGE_CHILDREN): Remove statement about specifying a particular
2133 child on GNU/Hurd.
2134 * manual/setjmp.texi: Likewise.
2135 * manual/signal.texi: Likewise.
2136 * manual/startup.texi: Likewise.
2137 * manual/stdio.texi: Likewise.
2138 * manual/terminal.texi: Likewise.
2139 (ONLCR): Document as POSIX.
2140 (OXTABS): Document availability on GNU/Linux as XTABS.
2141 (ONOEOT): Document availability separately from other bits.
2142 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2143 * manual/time.texi: Likewise.
2144 * manual/users.texi: Likewise.
2145 * INSTALL: Regenerated.
2146 * sysdeps/gnu/errlist.c: Regenerated.
2147
07037eeb
JM
2148 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2149 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2150 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
2151 puts.
2152 * configure: Regenerated.
2153
d1d3431a
JM
21542012-03-07 Joseph Myers <joseph@codesourcery.com>
2155
af6a1e37
JM
2156 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2157 default includes instead of AC_HEADER_CHECK.
2158 * sysdeps/i386/configure: Regenerated.
2159
d1d3431a
JM
2160 [BZ #10716]
2161 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2162 * math/s_cacoshf.c (__cacoshf): Likewise.
2163 * math/s_cacoshl.c (__cacoshl): Likewise.
2164 * math/s_casinh.c (__casinh): Set signs of result from argument.
2165 * math/s_casinhf.c (__casinhf): Likewise.
2166 * math/s_casinhl.c (__casinhl): Likewise.
2167 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2168 (casinh_test): Add more tests.
2169 * sysdeps/i386/fpu/libm-test-ulps: Update.
2170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2171
482ff4da
UD
21722012-03-07 Ulrich Drepper <drepper@gmail.com>
2173
872fda05
UD
2174 * po/zh_TW.po: Update from translation team.
2175
a4300c7a
UD
2176 * login/Makefile (distribute): Remove variable.
2177 * catgets/Makefile: Likewise.
2178 * mach/Makefile: Likewise.
2179 * malloc/Makefile: Likewise.
2180 * misc/Makefile: Likewise.
2181 * iconv/Makefile: Likewise.
2182 * nscd/Makefile: Likewise.
2183 * hurd/Makefile: Likewise.
2184 * manual/Makefile: Likewise.
2185 * locale/Makefile: Likewise.
2186 * intl/Makefile: Likewise.
2187 * conform/Makefile: Likewise.
2188 * nss/Makefile: Likewise.
2189 * time/Makefile: Likewise.
2190 * soft-fp/Makefile: Likewise.
2191 * dirent/Makefile: Likewise.
2192 * gmon/Makefile: Likewise.
2193 * po/Makefile: Likewise.
2194 * rt/Makefile: Likewise.
2195 * socket/Makefile: Likewise.
2196 * math/Makefile: Likewise.
2197 * signal/Makefile: Likewise.
2198 * debug/Makefile: Likewise.
2199 * elf/Makefile: Likewise.
2200 * timezone/Makefile: Likewise.
2201 * stdlib/Makefile: Likewise.
2202 * iconvdata/Makefile: Likewise.
2203 * sunrpc/Makefile: Likewise.
2204 * io/Makefile: Likewise.
2205 * argp/Makefile: Likewise.
2206 * inet/Makefile: Likewise.
2207 * hesiod/Makefile: Likewise.
2208 * grp/Makefile: Likewise.
2209 * csu/Makefile: Likewise.
2210 * wctype/Makefile: Likewise.
2211 * crypt/Makefile: Likewise.
2212 * libio/Makefile: Likewise.
2213 * string/Makefile: Likewise.
2214 * nis/Makefile: Likewise.
2215 * resolv/Makefile: Likewise.
2216 * stdio-common/Makefile: Likewise.
2217 * wcsmbs/Makefile: Likewise.
2218 * dlfcn/Makefile: Likewise.
2219 * posix/Makefile: Likewise.
2220
482ff4da
UD
2221 * timezone/Makefile: Don't install timezone files, just the programs
2222 and scripts.
2223
f72ed77d
UD
22242012-03-06 Ulrich Drepper <drepper@gmail.com>
2225
a000466f
UD
2226 * nss/databases.def: Add missing gshadow entry.
2227
f72ed77d
UD
2228 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2229
a53b7a4e
MP
22302012-03-06 Marek Polacek <polacek@redhat.com>
2231
2232 [BZ #13726]
2233 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2234 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2235 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2236 * stdio-common/tst-long-dbl-fphex.c: New file.
2237
e9258400
DM
22382012-03-06 David S. Miller <davem@davemloft.net>
2239
2240 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2241 (set_obp_int): New function.
2242 (get_obp_int): New function.
2243 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
2244 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2245 Avoid unused variable warnings on 'val' and use builtin_expect.
2246 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2247 __builtin_expect.
e9258400
DM
2248 (INLINE_CLONE_SYSCALL): Likewise.
2249
3bd2c723
DM
22502012-03-05 David S. Miller <davem@davemloft.net>
2251
2252 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2253
bbb78d03
AS
22542012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2255
884c5db4
AS
2256 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2257
bbb78d03
AS
2258 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2259 only for |x| >= 40.
2260 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2261
1c9f702a 22622012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
2263
2264 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2265 Replace gettimeofday with __vdso_gettimeofday.
2266
7be16f82
RM
2267 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2268 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2269 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
2270
2271 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2272 time with __vdso_time.
2273
ed58a00f
JM
22742012-03-05 Joseph Myers <joseph@codesourcery.com>
2275
2276 * manual/lang.texi (size_t): Note types to which size_t may be
2277 equivalent with the GNU C Library, but do not describe when
2278 differences between them are significant.
2279
30ee4ced
AJ
22802012-03-05 Andreas Jaeger <aj@suse.de>
2281
2282 * sysdeps/i386/fpu/libm-test-ulps: Update.
2283
b7cd39e8
JM
22842012-03-05 Joseph Myers <joseph@codesourcery.com>
2285
2286 [BZ #3976]
2287 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2288 (__ieee754_pow): Save and restore rounding mode and use
2289 round-to-nearest for main computations.
2290 * math/libm-test.inc (pow_test_tonearest): New function.
2291 (pow_test_towardzero): Likewise.
2292 (pow_test_downward): Likewise.
2293 (pow_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.
ca811b22
JM
2297
2298 [BZ #3976]
2299 * math/libm-test.inc (cosh_test_tonearest): New function.
2300 (cosh_test_towardzero): Likewise.
2301 (cosh_test_downward): Likewise.
2302 (cosh_test_upward): Likewise.
2303 (sinh_test_tonearest): Likewise.
2304 (sinh_test_towardzero): Likewise.
2305 (sinh_test_downward): Likewise.
2306 (sinh_test_upward): Likewise.
2307 (main): Call the new functions.
2308 * sysdeps/i386/fpu/libm-test-ulps: Update.
2309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2310
6c6a98c9
TV
23112012-03-05 Tom de Vries <tom@codesourcery.com>
2312
2313 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2314 default stack guard is set in last bytes.
2315 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2316
21bb2d2e 23172012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 2318
21bb2d2e 2319 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 2320
21bb2d2e
AJ
2321 [BZ #13656]
2322 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2323 possibly allocate from heap instead of stack.
2324 * stdio-common/bug-vfprintf-nargs.c: New file.
2325 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 2326
c6922934
AS
23272012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2328
2329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2330
bc957d53
MP
23312012-03-03 Marek Polacek <polacek@redhat.com>
2332
2333 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2334 * math/math_private.h: Likewise.
2335 * stdlib/tst-strtod.c: Likewise.
2336 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2337 * sysdeps/x86_64/bits/atomic.h: Likewise.
2338
6358490d
DM
23392012-03-02 David S. Miller <davem@davemloft.net>
2340
2341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2343 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2345 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2346 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2347 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2348 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2349
01ae168d
RM
23502012-03-02 Roland McGrath <roland@hack.frob.com>
2351
d9a17c07
RM
2352 [BZ #13792]
2353 * manual/examples/README: New file, says the example source files
2354 can be used under GPL>=2.
2355 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2356 line containing just "*/".
2357 * manual/examples/add.c: Add copyright header (GPL>=2).
2358 * manual/examples/argp-ex1.c: Likewise.
2359 * manual/examples/argp-ex2.c: Likewise.
2360 * manual/examples/argp-ex3.c: Likewise.
2361 * manual/examples/argp-ex4.c: Likewise.
2362 * manual/examples/atexit.c: Likewise.
2363 * manual/examples/db.c: Likewise.
2364 * manual/examples/dir.c: Likewise.
2365 * manual/examples/dir2.c: Likewise.
2366 * manual/examples/execinfo.c: Likewise.
2367 * manual/examples/filecli.c: Likewise.
2368 * manual/examples/filesrv.c: Likewise.
2369 * manual/examples/fmtmsgexpl.c: Likewise.
2370 * manual/examples/genpass.c: Likewise.
2371 * manual/examples/inetcli.c: Likewise.
2372 * manual/examples/inetsrv.c: Likewise.
2373 * manual/examples/isockad.c: Likewise.
2374 * manual/examples/longopt.c: Likewise.
2375 * manual/examples/memopen.c: Likewise.
2376 * manual/examples/memstrm.c: Likewise.
2377 * manual/examples/mkfsock.c: Likewise.
2378 * manual/examples/mkisock.c: Likewise.
2379 * manual/examples/mygetpass.c: Likewise.
2380 * manual/examples/pipe.c: Likewise.
2381 * manual/examples/popen.c: Likewise.
2382 * manual/examples/rprintf.c: Likewise.
2383 * manual/examples/search.c: Likewise.
2384 * manual/examples/select.c: Likewise.
2385 * manual/examples/setjmp.c: Likewise.
2386 * manual/examples/sigh1.c: Likewise.
2387 * manual/examples/sigusr.c: Likewise.
2388 * manual/examples/stpcpy.c: Likewise.
2389 * manual/examples/strdupa.c: Likewise.
2390 * manual/examples/strftim.c: Likewise.
2391 * manual/examples/strncat.c: Likewise.
2392 * manual/examples/subopt.c: Likewise.
2393 * manual/examples/swapcontext.c: Likewise.
2394 * manual/examples/termios.c: Likewise.
2395 * manual/examples/testopt.c: Likewise.
2396 * manual/examples/testpass.c: Likewise.
2397 * manual/examples/timeval_subtract.c: Likewise.
2398
01ae168d
RM
2399 [BZ #13792]
2400 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2401 function to ...
2402 * manual/timeval_subtract.c.texi: ... here, new file.
2403
49efa33d
DM
24042012-03-02 David S. Miller <davem@davemloft.net>
2405
2406 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2407
28afd92d
JM
24082012-03-02 Joseph Myers <joseph@codesourcery.com>
2409
804360ed
JM
2410 [BZ #3976]
2411 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2412 (__sin): Save and restore rounding mode and use round-to-nearest
2413 for all computations.
2414 (__cos): Save and restore rounding mode and use round-to-nearest
2415 for all computations.
2416 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2417 <fenv.h>.
2418 (tan): Save and restore rounding mode and use round-to-nearest for
2419 all computations.
2420 * math/libm-test.inc (cos_test_tonearest): New function.
2421 (cos_test_towardzero): Likewise.
2422 (cos_test_downward): Likewise.
2423 (cos_test_upward): Likewise.
2424 (sin_test_tonearest): Likewise.
2425 (sin_test_towardzero): Likewise.
2426 (sin_test_downward): Likewise.
2427 (sin_test_upward): Likewise.
2428 (tan_test_tonearest): Likewise.
2429 (tan_test_towardzero): Likewise.
2430 (tan_test_downward): Likewise.
2431 (tan_test_upward): Likewise.
2432 (main): Call the new functions.
2433 * sysdeps/i386/fpu/libm-test-ulps: Update.
2434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2435
a6d06d7b
JM
2436 [BZ #10135]
2437 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2438 small n, then large n, before computing and testing k+n.
2439 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2440 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2441 Likewise.
2442 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2443 Likewise.
2444 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2445 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2446 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2447 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2448 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2449 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2450 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2451 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2452 * math/libm-test.inc (scalbn_test): Add more tests.
2453 (scalbln_test): Likewise.
2454
07e12bb3
JM
2455 * manual/filesys.texi (mode_t): Describe constraints on size and
2456 signedness, not exact equivalence to a particular type.
2457 (ino_t): Likewise.
2458 (ino64_t): Likewise.
2459 (dev_t): Likewise.
2460 (nlink_t): Likewise.
2461 (blkcnt_t): Likewise.
2462 (blkcnt64_t): Likewise.
2463 * manual/llio.texi (off_t): Likewise.
2464
28afd92d
JM
2465 [BZ #3976]
2466 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2467 (__ieee754_exp): Save and restore rounding mode and use
2468 round-to-nearest for all computations.
2469 * math/libm-test.inc (exp_test_tonearest): New function.
2470 (exp_test_towardzero): Likewise.
2471 (exp_test_downward): Likewise.
2472 (exp_test_upward): Likewise.
2473 (main): Call the new functions.
2474 * sysdeps/i386/fpu/libm-test-ulps: Update.
2475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2476
b1eeb65d
CD
24772012-03-01 Chris Demetriou <cgd@google.com>
2478
2479 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2480 have predictable order.
2481
53362a4b
DM
24822012-03-01 David S. Miller <davem@davemloft.net>
2483
3c969083
DM
2484 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2485
759707de
DM
2486 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2487 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2488 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2489 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2490
dfdb8ff2
DM
2491 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2492 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2493 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2495 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2496 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2497 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2498 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2499 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2500
ead89f96
DM
2501 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2502
7f66bd07
DM
2503 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2504 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2505 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2506
53362a4b
DM
2507 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2508 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2509 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2510 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2511 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2512 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2513 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2514 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2515 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2516 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2517 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2518 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2519 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2520 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2521 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2522 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2523 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2524 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2525 * sysdeps/sparc/elf/configure: Regenerated.
2526
7b1902cb
JM
25272012-03-01 Joseph Myers <joseph@codesourcery.com>
2528
bec039bc
JM
2529 * configure.in (AS, LD): Require binutils 2.20 or later.
2530 * configure: Regenerated.
2531 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2532 as required minimum version.
2533 * INSTALL: Regenerated.
2534
7b1902cb
JM
2535 [BZ #2541]
2536 [BZ #4108]
2537 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2538 before squaring exponent.
2539 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2540 bottom long double and 27 bits of top long double before squaring
2541 exponent.
2542 * math/libm-test.inc (erfc_test): Add more tests.
2543 * sysdeps/i386/fpu/libm-test-ulps: Update.
2544 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2546
f775c276
KT
25472012-03-01 Kai Tietz <ktietz@redhat.com>
2548
2549 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2550 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2551 containing bit-fields.
2552 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2553 * soft-fp/single.h (_FP_UNION_S): Likewise.
2554 * soft-fp/double.h (_FP_UNION_D): Likewise.
2555
5b8a4d4a
JM
25562012-02-29 Joseph Myers <joseph@codesourcery.com>
2557
0bab47b6
JM
2558 [BZ #13786]
2559 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2560 not include ../strcmp.S.
2561 [USE_AS_STRNCASECMP_L]: Likewise.
2562 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2563 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2564 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2565 (__strncasecmp_l_ia32): Define as alias to
2566 __strncasecmp_l_nonascii.
2567
0fcad3e2
JM
2568 [BZ #5794]
2569 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2570 * sysdeps/i386/fpu/libm-test-ulps: Update.
2571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2572
5b8a4d4a
JM
2573 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2575
8fdceb2e
JL
25762012-02-29 Jeff Law <law@redhat.com>
2577
2578 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2579 out of bounds read.
2580
1f393a11
MP
25812012-02-29 Marek Polacek <polacek@redhat.com>
2582
2583 [BZ #13706]
2584 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2585 * elf/Makefile: Add rules to run tst-unused-dep.out.
2586
8847f037
DM
25872012-02-28 David S. Miller <davem@davemloft.net>
2588
2589 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2590 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2591 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2592 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2593 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2594 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2595
169d7f11
JM
25962012-02-29 Joseph Myers <joseph@codesourcery.com>
2597
2598 * math/libm-test.inc (llround_test): Move one test from
2599 lround_test. Use TEST_f_L in moved test.
2600 (lround_test): Move misplaced test to llround_test. Add testcase
2601 from bug 2561.
2602
39adf059
UD
26032012-02-28 Ulrich Drepper <drepper@gmail.com>
2604
2605 * sysdeps/x86_64/fpu/e_expf.S: New file.
2606 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2607
71b5d1c5
SB
26082012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2609
2610 [BZ #13637]
2611 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2612 of remain_len that may cause incomplete multi-byte character and
2613 false match.
2614 * posix/bug-regex33.c: New file.
2615 * posix/Makefile (tests): Add bug-regex33.
2616
1f77f049
JM
26172012-02-28 Joseph Myers <joseph@codesourcery.com>
2618
2619 * manual/macros.texi: New file.
2620 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2621 * manual/libc.texinfo: Include macros.texi.
2622 * manual/creatute.texi: Likewise.
2623 * manual/install.texi: Likewise.
2624 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2625 @glibcadj{} in references to the GNU C Library.
2626 * manual/charset.texi: Likewise.
2627 * manual/conf.texi: Likewise.
2628 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2629 when not using those macros.
2630 * manual/creature.texi: Likewise.
2631 * manual/crypt.texi: Likewise.
2632 * manual/errno.texi: Likewise.
2633 * manual/filesys.texi: Likewise.
2634 * manual/header.texi: Likewise.
2635 * manual/install.texi: Likewise.
2636 * manual/intro.texi: Likewise.
2637 * manual/io.texi: Likewise.
2638 * manual/job.texi: Likewise.
2639 * manual/lang.texi: Likewise.
2640 * manual/libc.texiinfo: Likewise.
2641 * manual/llio.texi: Likewise.
2642 * manual/locale.texi: Likewise.
2643 * manual/maint.texi: Likewise.
2644 * manual/math.texi: Likewise.
2645 * manual/memory.texi: Likewise.
2646 * manual/message.texi: Likewise.
2647 * manual/nss.texi: Likewise.
2648 * manual/pattern.texi: Likewise.
2649 * manual/process.texi: Likewise.
2650 * manual/resource.texi: Likewise.
2651 * manual/search.texi: Likewise.
2652 * manual/setjmp.texi: Likewise.
2653 * manual/signal.texi: Likewise.
2654 * manual/socket.texi: Likewise.
2655 * manual/startup.texi: Likewise.
2656 * manual/stdio.texi: Likewise.
2657 * manual/string.texi: Likewise.
2658 * manual/sysinfo.texi: Likewise.
2659 * manual/syslog.texi: Likewise.
2660 * manual/terminal.texi: Likewise.
2661 * manual/time.texi: Likewise.
2662 * manual/users.texi: Likewise.
2663 * INSTALL: Regenerated.
2664 * NOTES: Regenerated.
d40c5d54 2665 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 2666
450bf206
AS
26672012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2668
2669 * include/dirent.h: Include <dirstream.h> before
2670 <dirent/dirent.h>.
2671
741a235b
DM
26722012-02-28 David S. Miller <davem@davemloft.net>
2673
2674 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2675 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2676 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2677 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2678
d6b5aa58
DM
26792012-02-27 David S. Miller <davem@davemloft.net>
2680
1aff59a3
DM
2681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2683 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2684 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2685
d6b5aa58
DM
2686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2687 frame pointer instead of stack pointer relative arg slot.
2688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2689 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2690 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2691
433f48bf
CD
26922012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2693
2694 [BZ #3992]
2695 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2696
d674b76d
DM
26972012-02-27 David S. Miller <davem@davemloft.net>
2698
2699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2703 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2704 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2705 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2706 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2707
0e7727f7
JM
27082012-02-27 Joseph Myers <joseph@codesourcery.com>
2709
2710 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2711 later. Allow versions 5-9.
43be4ca2 2712 * configure: Regenerated.
0e7727f7
JM
2713 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2714 required minimum version and 4.6 as recommended version. Do not
2715 mention bugs in GCC 2.7 and 2.8.
43be4ca2 2716 * INSTALL: Regenerated.
0e7727f7 2717
a78bc654
DM
27182012-02-27 David S. Miller <davem@davemloft.net>
2719
428d5830
DM
2720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2724 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2725 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2726 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2727 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2728
a78bc654
DM
2729 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2730 manipulate bits before adding and subtracting TWO112[sx].
2731 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2732
4579f81c
RM
27332012-02-27 Roland McGrath <roland@hack.frob.com>
2734
36c8acb4
RM
2735 [BZ #13775]
2736 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2737 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2738 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2739 being in POSIX, because they are in 1003.1-2008.
2740
84ad622b
RM
2741 * rt/tst-aio.c: Include <fcntl.h>.
2742 * rt/tst-aio7.c: Likewise.
2743 * rt/tst-aio64.c: Likewise.
2744
4579f81c
RM
2745 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2746
abd923db
JM
27472012-02-27 Joseph Myers <joseph@codesourcery.com>
2748
2749 * manual/install.texi (--with-headers): Describe headers as
2750 interface headers, not private headers.
2751 (Specific advice for GNU/Linux systems): Describe use of headers
2752 from "make headers_install", not private headers from older
2753 kernels.
43be4ca2 2754 * INSTALL: Regenerated.
abd923db
JM
2755 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2756 Change to 2.6.19.
2757 * sysdeps/unix/sysv/linux/configure: Regenerated.
2758
6664049b
JM
2759 * manual/llio.texi (fclean): Remove documentation.
2760
bb8b6697
JM
2761 * manual/Makefile (libc-texi-generated): New variable. Include
2762 version.texi.
2763 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2764 $(libc-texi-generated), not duplicated list of files.
2765 (version.texi, stamp-version): New rules.
2766 (realclean): Remove $(libc-texi-generated), not individual files
2767 from that list. Do not remove dir-add.texinfo.
2768 * manual/libc.texinfo: Comment out uses of edition numbers and
2769 references to printed manual. Remove last-updated dates.
2770 (EDITION): Comment out.
2771 (ISBN): Likewise.
2772 (VERSION, UPDATED): Remove.
2773 (version.texi): Include.
2774
12e5c3b9
AS
27752012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2776
2777 * sysdeps/posix/spawni.c: Include <signal.h>.
2778 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2779 * sysdeps/pthread/aio_fsync.c: Likewise.
2780
4efeffc1 27812012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 2782
ba63ba08
UD
2783 * conform/Makefile (tests): Run only when not cross-compiling and
2784 when fast-check is not defined.
2785
d94a4670
UD
2786 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2787 * conform/data/limits.h-data: Fixes for POSIX2008.
2788 * conform/run-conformtest.sh: Run all tests.
2789 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2790 headers.
2791 * include/bits/dlfcn.h: Likewise.
2792 * include/langinfo.h: Likewise.
2793 * include/monetary.h: Likewise.
2794 * include/sys/poll.h: Likewise.
2795
2796 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2797 for __USE_GNU.
2798 * posix/spawn.h: Define __need_sigset_t.
2799 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2800 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2801 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2802 to get sigevent_t only.
2803 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2804 only for __USE_GNU.
2805 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2806 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2807 process_vm_writev only for __USE_GNU.
2808 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
2809
2810 * conform/Makefile: For now ignore errors from run-conformtest.
2811 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
2812 POSIX to avoid namespace pollution. Don't prepend headers.
2813 * conform/data/aio.h-data: Fixes for POSIX testing.
2814 * conform/data/fcntl.h-data: Likewise.
2815 * conform/data/glob.h-data: Likewise.
2816 * conform/data/grp.h-data: Likewise.
2817 * conform/data/pthread.h-data: Likewise.
2818 * conform/data/pwd.h-data: Likewise.
2819 * conform/data/signal.h-data: Likewise.
2820 * conform/data/spawn.h-data: Likewise.
2821 * conform/data/stdio.h-data: Likewise.
2822 * conform/data/stdlib.h-data: Likewise.
2823 * conform/data/stropts.h-data: Likewise.
2824 * conform/data/sys/mman.h-data: Likewise.
2825 * conform/data/sys/stat.h-data: Likewise.
2826 * conform/data/sys/types.h-data: Likewise.
2827 * conform/data/sys/wait.h-data: Likewise.
2828 * conform/data/time.h-data: Likewise.
2829 * conform/data/unistd.h-data: Likewise.
2830 * conform/data/utime.h-data: Likewise.
2831
2832 * io/sys/stat.h: fchmod was always in POSIX.
2833 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
2834 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
2835 * rt/aio.h: Define __need_timespec before including <time.h>.
2836 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
2837 struct. Add forward declaration of pthread_attr_t and use it in
2838 sigevent.
2839 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2840 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2841 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
2842 always remove CLK_TCK definition.
2843
c20105c3
AS
28442012-02-26 Andreas Schwab <schwab@linux-m68k.org>
2845
2846 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
2847
7a270350
UD
28482012-02-25 Ulrich Drepper <drepper@gmail.com>
2849
31341567
UD
2850 * conform/run-conformtest.sh: New file.
2851 * conform/Makefile: Run run-conformtest for tests.
2852 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
2853 support.
2854
2855 * conform/data/uchar.h-data: New file.
2856 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
2857 * conform/data/arpa/inet.h-data: Likewise.
2858 * conform/data/assert.h-data: Likewise.
2859 * conform/data/complex.h-data: Likewise.
2860 * conform/data/cpio.h-data: Likewise.
2861 * conform/data/ctype.h-data: Likewise.
2862 * conform/data/dirent.h-data: Likewise.
2863 * conform/data/dlfcn.h-data: Likewise.
2864 * conform/data/errno.h-data: Likewise.
2865 * conform/data/fcntl.h-data: Likewise.
2866 * conform/data/float.h-data: Likewise.
2867 * conform/data/fmtmsg.h-data: Likewise.
2868 * conform/data/fnmatch.h-data: Likewise.
2869 * conform/data/ftw.h-data: Likewise.
2870 * conform/data/glob.h-data: Likewise.
2871 * conform/data/grp.h-data: Likewise.
2872 * conform/data/iconv.h-data: Likewise.
2873 * conform/data/inttypes.h-data: Likewise.
2874 * conform/data/langinfo.h-data: Likewise.
2875 * conform/data/libgen.h-data: Likewise.
2876 * conform/data/limits.h-data: Likewise.
2877 * conform/data/locale.h-data: Likewise.
2878 * conform/data/math.h-data: Likewise.
2879 * conform/data/monetary.h-data: Likewise.
2880 * conform/data/mqueue.h-data: Likewise.
2881 * conform/data/ndbm.h-data: Likewise.
2882 * conform/data/net/if.h-data: Likewise.
2883 * conform/data/netdb.h-data: Likewise.
2884 * conform/data/netinet/in.h-data: Likewise.
2885 * conform/data/nl_types.h-data: Likewise.
2886 * conform/data/poll.h-data: Likewise.
2887 * conform/data/pthread.h-data: Likewise.
2888 * conform/data/pwd.h-data: Likewise.
2889 * conform/data/regex.h-data: Likewise.
2890 * conform/data/sched.h-data: Likewise.
2891 * conform/data/search.h-data: Likewise.
2892 * conform/data/semaphore.h-data: Likewise.
2893 * conform/data/setjmp.h-data: Likewise.
2894 * conform/data/signal.h-data: Likewise.
2895 * conform/data/spawn.h-data: Likewise.
2896 * conform/data/stdarg.h-data: Likewise.
2897 * conform/data/stdio.h-data: Likewise.
2898 * conform/data/stdlib.h-data: Likewise.
2899 * conform/data/string.h-data: Likewise.
2900 * conform/data/strings.h-data: Likewise.
2901 * conform/data/stropts.h-data: Likewise.
2902 * conform/data/sys/ipc.h-data: Likewise.
2903 * conform/data/sys/mman.h-data: Likewise.
2904 * conform/data/sys/msg.h-data: Likewise.
2905 * conform/data/sys/resource.h-data: Likewise.
2906 * conform/data/sys/select.h-data: Likewise.
2907 * conform/data/sys/sem.h-data: Likewise.
2908 * conform/data/sys/shm.h-data: Likewise.
2909 * conform/data/sys/socket.h-data: Likewise.
2910 * conform/data/sys/stat.h-data: Likewise.
2911 * conform/data/sys/statvfs.h-data: Likewise.
2912 * conform/data/sys/time.h-data: Likewise.
2913 * conform/data/sys/timeb.h-data: Likewise.
2914 * conform/data/sys/times.h-data: Likewise.
2915 * conform/data/sys/types.h-data: Likewise.
2916 * conform/data/sys/uio.h-data: Likewise.
2917 * conform/data/sys/un.h-data: Likewise.
2918 * conform/data/sys/utsname.h-data: Likewise.
2919 * conform/data/sys/wait.h-data: Likewise.
2920 * conform/data/syslog.h-data: Likewise.
2921 * conform/data/tar.h-data: Likewise.
2922 * conform/data/termios.h-data: Likewise.
2923 * conform/data/utime.h-data: Likewise.
2924 * conform/data/utmpx.h-data: Likewise.
2925 * conform/data/varargs.h-data: Likewise.
2926 * conform/data/wchar.h-data: Likewise.
2927 * conform/data/wctype.h-data: Likewise.
2928 * conform/data/wordexp.h-data: Likewise.
2929
2930 * include/stropts.h: New file.
2931 * include/uchar.h: New file.
2932 * include/aio.h: Changes to allow conformtest.pl to use the headers.
2933 * include/assert.h: Likewise.
2934 * include/ctype.h: Likewise.
2935 * include/dirent.h: Likewise.
2936 * include/dlfcn.h: Likewise.
2937 * include/fcntl.h: Likewise.
2938 * include/fnmatch.h: Likewise.
2939 * include/glob.h: Likewise.
2940 * include/grp.h: Likewise.
2941 * include/libio.h: Likewise.
2942 * include/locale.h: Likewise.
2943 * include/math.h: Likewise.
2944 * include/net/if.h: Likewise.
2945 * include/netdb.h: Likewise.
2946 * include/netinet/in.h: Likewise.
2947 * include/pthread.h: Likewise.
2948 * include/pwd.h: Likewise.
2949 * include/regex.h: Likewise.
2950 * include/sched.h: Likewise.
2951 * include/search.h: Likewise.
2952 * include/setjmp.h: Likewise.
2953 * include/signal.h: Likewise.
2954 * include/stdio.h: Likewise.
2955 * include/stdlib.h: Likewise.
2956 * include/string.h: Likewise.
2957 * include/sys/cdefs.h: Likewise.
2958 * include/sys/mman.h: Likewise.
2959 * include/sys/msg.h: Likewise.
2960 * include/sys/resource.h: Likewise.
2961 * include/sys/select.h: Likewise.
2962 * include/sys/socket.h: Likewise.
2963 * include/sys/stat.h: Likewise.
2964 * include/sys/statvfs.h: Likewise.
2965 * include/sys/time.h: Likewise.
2966 * include/sys/times.h: Likewise.
2967 * include/sys/uio.h: Likewise.
2968 * include/sys/utsname.h: Likewise.
2969 * include/sys/wait.h: Likewise.
2970 * include/termios.h: Likewise.
2971 * include/time.h: Likewise.
2972 * include/ulimit.h: Likewise.
2973 * include/unistd.h: Likewise.
2974 * include/utime.h: Likewise.
2975 * include/wchar.h: Likewise.
2976 * include/wctype.h: Likewise.
2977 * include/wordexp.h: Likewise.
2978
2979 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
2980
7a270350
UD
2981 * time/time.h: TIME_UTC must be a macro.
2982 Make timespec_get available for ISO C11 only as well.
2983
7724defc
UD
29842012-02-24 Ulrich Drepper <drepper@gmail.com>
2985
2986 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
2987 Reported by Peng Haitao <penght@cn.fujitsu.com>.
2988
6b1d1d46
JM
29892012-02-24 Joseph Myers <joseph@codesourcery.com>
2990
2991 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 2992
0f8bbd69
JM
29932012-02-24 Joseph Myers <joseph@codesourcery.com>
2994
2995 * manual/texinfo.tex: Update to version 2012-01-19.16.
2996
66ab80bc
JM
29972012-02-24 Joseph Myers <joseph@codesourcery.com>
2998
2999 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3000
74981cc5
RM
30012012-02-24 Roland McGrath <roland@hack.frob.com>
3002
ee968201
RM
3003 [BZ #13738]
3004 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3005 * manual/fdl-1.3.texi: New file.
3006 * manual/fdl-1.1.texi: File removed.
3007
74981cc5
RM
3008 [BZ #13738]
3009 * manual/libc.texinfo (FDL_VERSION): New @set.
3010 Use it for mention of FDL in cover text.
3011 (Documentation License): Use it in @include file name.
3012
7bb764bc
JM
30132012-02-22 Joseph Myers <joseph@codesourcery.com>
3014 Roland McGrath <roland@hack.frob.com>
3015
3016 [BZ #5461]
3017 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3018 not LONG_LONG_MAX and LONG_LONG_MIN.
3019 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3020 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
3021 name.
3022 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3023
6cbeae47
JM
30242012-02-22 Joseph Myers <joseph@codesourcery.com>
3025
3026 [BZ #2547]
3027 [BZ #11365]
3028 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3029 manipulate bits before adding and subtracting TWO23[sx].
3030 * math/libm-test.inc (nearbyint_test): Add more tests.
3031
fe45ce09
JM
30322012-02-22 Joseph Myers <joseph@codesourcery.com>
3033
3034 [BZ #2548]
3035 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3036 bits before adding and subtracting TWO23[sx].
3037 * math/libm-test.inc (rint_test): Add more tests.
3038 (rint_test_tonearest): Likewise.
3039 (rint_test_towardzero): Likewise.
3040 (rint_test_downward): Likewise.
3041 (rint_test_upward: Likewise.
3042
ff3b3d82
JM
30432012-02-22 Joseph Myers <joseph@codesourcery.com>
3044
3045 [BZ #10110]
3046 * include/stdc-predef.h: New file. Extracted from features.h.
3047 * include/features.h: Include stdc-predef.h.
3048 * Makefile (headers): Add stdc-predef.h.
3049 * CONFORMANCE (Compiler limitations): Update.
3050
ef0aab35
JM
30512012-02-22 Joseph Myers <joseph@codesourcery.com>
3052
3053 * manual/libc.texinfo (VERSION, UPDATED): Revert.
3054
58639409
DM
30552012-02-21 David S. Miller <davem@davemloft.net>
3056
3057 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3058 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3059
c0e70b25
DM
30602012-02-20 David S. Miller <davem@davemloft.net>
3061
3062 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3063 using a normal save/restore sequence, rather than allocating a
3064 dummy stack frame just to store a frame pointer and restore.
3065 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3066
fb06851d
JM
30672012-02-21 Joseph Myers <joseph@codesourcery.com>
3068
3069 * manual/install.texi: Fix stray word in line-wrapped comment.
3070
7a8b71c3
DM
30712012-02-20 David S. Miller <davem@davemloft.net>
3072
d510c123
DM
3073 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3074 both binutils and gcc support GOTDATA.
3075
0722d7c2
DM
3076 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3077 "rd %pc" in the PIC register setup sequences.
3078
3d2b3019
DM
3079 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3080 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3081 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3082 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3083 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3084 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3085 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3086 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3087 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3088 (SYSCALL_ERROR_HANDLER): Likewise.
3089 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3090 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3091 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3092 (SYSCALL_ERROR_HANDLER): Likewise.
3093
c80098a9
DM
3094 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3095 (HAVE_GCC_GOTDATA): New.
3096 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3097 relocation support in both binutils and gcc.
3098 * sysdeps/sparc/elf/configure: Regenerate.
3099
3a2545a0
DM
3100 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3101 * sysdeps/sparc/sparc32/elf/configure: Delete.
3102 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3103 * sysdeps/sparc/sparc64/elf/configure: Delete.
3104 * sysdeps/sparc/elf/configure.in: New file.
3105 * sysdeps/sparc/elf/configure: Generate.
3106
7a8b71c3
DM
3107 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3108 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3109 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3110 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3111 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3112
f1e86fca
JM
31132012-02-21 Joseph Myers <joseph@codesourcery.com>
3114
3115 * manual/install.texi: Do not mention specific glibc version
3116 numbers.
3117 * manual/libc.texinfo (VERSION, UPDATED): Update.
3118 (@copying): Use @copyright{} and range of years.
3119
0e7dfaef
JM
31202012-02-21 Joseph Myers <joseph@codesourcery.com>
3121
3122 [BZ #13695]
3123 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3124 [crti.S not in sysdirs] (generated): Do not append.
3125 [crti.S not in sysdirs] (omit-deps): Likewise.
3126 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3127 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3128 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3129 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3130 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3131 Likewise.
3132 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3133 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3134 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3135 * csu/defs.awk: Remove file.
3136 * sysdeps/generic/initfini.c: Likewise.
3137 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3138 variable.
3139 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3140 Likewise.
3141
599af3ca
JM
31422012-02-20 Joseph Myers <joseph@codesourcery.com>
3143
3144 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3145 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3146 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3147 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3148 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3149 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3150 <bits/epoll.h>.
3151 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3152 (__EPOLL_PACKED): Define to empty if not defined by
3153 <bits/epoll.h>.
3154 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3155 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3156 bits/epoll.h.
3157
0e499750
JM
31582012-02-20 Joseph Myers <joseph@codesourcery.com>
3159
3160 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3161 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3162 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3163 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3164 <bits/timerfd.h>.
3165 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3166 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3167 bits/timerfd.h.
3168
5ad91f6e
JM
31692012-02-20 Joseph Myers <joseph@codesourcery.com>
3170
3171 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3172 in C locale.
3173 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3174 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3175 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3177
06b99b02
AJ
31782012-02-20 Aurelien Jarno <aurelien@aurel32.net>
3179
3180 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3181 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3182
7638c0fd
AS
31832012-02-19 Andreas Schwab <schwab@linux-m68k.org>
3184
3185 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3186 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3187 defined.
3188 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3189 Likewise.
3190 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3191 entry for 2.16.
3192
92221550
AJ
31932012-02-19 Aurelien Jarno <aurelien@aurel32.net>
3194
3195 * math/w_acos.c: Use non-signaling floating-point comparisons.
3196 * math/w_acosf.c: Likewise.
3197 * math/w_acosh.c: Likewise.
3198 * math/w_acoshf.c: Likewise.
3199 * math/w_acoshl.c: Likewise.
3200 * math/w_acosl.c: Likewise.
3201 * math/w_asin.c: Likewise.
3202 * math/w_asinf.c: Likewise.
3203 * math/w_asinl.c: Likewise.
3204 * math/w_atanh.c: Likewise.
3205 * math/w_atanhf.c: Likewise.
3206 * math/w_atanhl.c: Likewise.
3207 * math/w_exp2.c: Likewise.
3208 * math/w_exp2f.c: Likewise.
3209 * math/w_exp2l.c: Likewise.
3210 * math/w_j0.c: Likewise.
3211 * math/w_j0f.c: Likewise.
3212 * math/w_j0l.c: Likewise.
3213 * math/w_j1.c: Likewise.
3214 * math/w_j1f.c: Likewise.
3215 * math/w_j1l.c: Likewise.
3216 * math/w_jn.c: Likewise.
3217 * math/w_jnf.c: Likewise.
3218 * math/w_log.c: Likewise.
3219 * math/w_log10.c: Likewise.
3220 * math/w_log10f.c: Likewise.
3221 * math/w_log10l.c: Likewise.
3222 * math/w_log2.c: Likewise.
3223 * math/w_log2f.c: Likewise.
3224 * math/w_log2l.c: Likewise.
3225 * math/w_logf.c: Likewise.
3226 * math/w_logl.c: Likewise.
3227 * math/w_sqrt.c: Likewise.
3228 * math/w_sqrtf.c: Likewise.
3229 * math/w_sqrtl.c: Likewise.
3230 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3231 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3232 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3233 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3234 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3235
ebaf36eb
JM
32362012-02-19 Joseph Myers <joseph@codesourcery.com>
3237
3238 [BZ #9739]
3239 * manual/string.texi (strnlen): Use correct parameter name in
3240 equivalent expression.
3241
71c254a6
JM
32422012-02-19 Joseph Myers <joseph@codesourcery.com>
3243
3244 [BZ #11174]
3245 * manual/users.texi (seteuid): Consistently use neweuid for
3246 argument name.
3247
16d2c631
JM
32482012-02-19 Joseph Myers <joseph@codesourcery.com>
3249
3250 [BZ #13704]
3251 * manual/nss.texi (Services in the NSS configuration): Correct
3252 list of services in example configuration file.
3253
cd837b09
NB
32542012-02-19 Nick Bowler <nbowler@draconx.ca>
3255
3256 [BZ #11322]
3257 * manual/arith.texi: Remove statements about negative zero
3258 behaving identically to zero.
3259
02c4bbad
JM
32602012-02-18 Joseph Myers <joseph@codesourcery.com>
3261
3262 [BZ #5993]
3263 * manual/install.texi: Do not document upgrading from libc5.
3264
366842e7
JM
32652012-02-18 Joseph Myers <joseph@codesourcery.com>
3266
3267 [BZ #4596]
3268 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3269
dd54084d
DM
32702012-02-18 David S. Miller <davem@davemloft.net>
3271
3272 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3273 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3274 %o7 across the call.
3275 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3276 instead.
3277 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3278 SETUP_PIC_REG_LEAF.
3279 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3280 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3281 * sysdeps/sparc/crtn.S: Likewise.
3282
2bcc53a3
UD
32832012-02-17 Ulrich Drepper <drepper@gmail.com>
3284
3285 * aout/Makefile: Remove.
3286
09c093b5
RK
32872012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3288
3289 [BZ #13058]
3290 * manual/examples/argp-ex1.c (main): Format definition in GNU
3291 style.
3292 * manual/examples/argp-ex2.c (main): Likewise.
3293 * manual/examples/argp-ex3.c (main): Likewise.
3294 * manual/examples/argp-ex4.c (main): Likewise.
3295 * manual/examples/longopt.c (main): Use new-style prototype
3296 definition.
3297 * manual/examples/strncat.c (main): Specify return type and use
3298 (void) for arguments.
3299 * manual/examples/subopt.c (main): Use char **argv argument.
3300
2ee633a2
JM
33012012-02-17 Joseph Myers <joseph@codesourcery.com>
3302
3303 [BZ #5077]
3304 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3305 rounding modes.
3306
0520adde
FB
33072012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3308
3309 [BZ #6907]
3310 * manual/string.texi (strchr): Change when strchrnul is
3311 recommended.
3312
3f4081cd
DGM
33132012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3314
3315 [BZ #174]
3316 * manual/locale.texi (setlocale): Document LOCPATH.
3317
d1b10e78
JM
33182012-02-17 Joseph Myers <joseph@codesourcery.com>
3319
3320 [BZ #10210]
3321 * manual/process.texi (execle): Move @dots{} before last argument.
3322
79c6869c
PB
33232012-02-17 Paul Bolle <pebolle@tiscali.nl>
3324
3325 [BZ #12047]
3326 * manual/charset.texi (Generic Charset Conversion): Fix typo
3327 (LC_TYPE -> LC_CTYPE).
3328
cc6e48bc
NB
33292012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3330
3331 [BZ #5805]
3332 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3333 (scalbnf): Likewise.
3334 (scalbnl): Likewise.
3335 (scalbln): Likewise.
3336 (scalblnf): Likewise.
3337 (scalblnl): Likewise.
3338 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3339 (vwarnx): Likewise.
3340 (verr): Likewise.
3341 (verrx): Likewise.
3342 * manual/filesys.texi (telldir): Use braces around return type.
3343 * manual/llio.texi (mmap): Add space after comma.
3344 (mmap64): Likewise.
3345 * manual/math.texi (jn): Use @var{} on parameter names.
3346 (jnf): Likewise.
3347 (jnl): Likewise.
3348 (yn): Likewise.
3349 (ynf): Likewise.
3350 (ynl): Likewise.
3351 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3352 line.
3353 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3354 "...".
3355 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3356 (sched_get_priority_max): Likewise.
3357 * manual/signal.texi (sigvec): Add space after comma.
3358 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3359 names.
3360 (if_indextoname): Likewise.
3361 (if_freenameindex): Likewise.
3362 (sendto): Use ',' instead of '.' in prototype.
3363 * manual/startup.texi (syscall): Use @dots{} instead of literal
3364 "...".
3365 * manual/stdio.texi (__fpending): Separate initial words of
3366 paragraph from @deftypefun line.
3367 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3368 "...".
3369 (vsyslog): Use @var{} on parameter names.
3370 * manual/terminal.texi (stty): Use @var{} on parameter names.
3371 * manual/users.texi (getutmp): Use @var{} on parameter names.
3372 (getutmpx): Likewise.
3373
5b23062f
JM
33742012-02-17 Joseph Myers <joseph@codesourcery.com>
3375
3376 [BZ #6884]
3377 * manual/stdio.texi (fopen): Fix typos in description of
3378 ",ccs=STRING".
3379
8dee4833
AJ
33802012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3381
3382 [BZ #4026]
3383 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3384 get clock_id definition.
3385
9078ce93
TS
33862012-02-17 Thomas Schwinge <thomas@schwinge.name>
3387
3388 [BZ #4822]
3389 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3390 (madvise): Cast every argument to void on its own.
3391
3835c55f
JM
33922012-02-17 Joseph Myers <joseph@codesourcery.com>
3393
3394 [BZ #9902]
3395 * manual/startup.texi (Exit Status): Fix typo.
3396
35c47e37
JM
33972012-02-17 Joseph Myers <joseph@codesourcery.com>
3398
3399 [BZ #10140]
3400 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3401 * manual/examples/argp-ex2.c: Likewise.
3402 * manual/examples/argp-ex3.c: Likewise.
3403
e3b69ca7
RH
34042012-02-16 Richard Henderson <rth@redhat.com>
3405
3406 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3407 * sysdeps/s390/s390-32/initfini.c: Remove.
3408 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3409 * sysdeps/s390/s390-64/initfini.c: Remove.
3410
df83af67
KK
34112012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3412
3413 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3414 compiler output for sysdeps/generic/initfini.c.
3415 * sysdeps/sh/elf/initfini.c: Remove file.
3416
f63f3380
DM
34172012-02-16 David S. Miller <davem@davemloft.net>
3418
fb59b3a4
DM
3419 [BZ #11494]
3420 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3421
f63f3380
DM
3422 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3423 * sysdeps/sparc/crti.S: New file.
3424 * sysdeps/sparc/crtn.S: New file.
3425 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3426 * sysdeps/sparc/sparc64/Makefile: Likewise.
3427
df6a4a4a
MF
34282012-02-15 Mike Frysinger <vapier@gentoo.org>
3429
6dd8f3dc 3430 [BZ #3335]
df6a4a4a
MF
3431 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3432
1cac7236
RM
34332012-02-15 Roland McGrath <roland@hack.frob.com>
3434
d2c736f8
RM
3435 [BZ #4822]
3436 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3437
1cac7236
RM
3438 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3439 (write, read, close): Likewise.
3440 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3441
8e475601
JM
34422012-02-15 Joseph Myers <joseph@codesourcery.com>
3443
3444 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3445 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3446 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3447 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3448 <bits/signalfd.h>.
3449 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3450 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3451 bits/signalfd.h.
3452
ed656b40
MP
34532012-02-14 Marek Polacek <polacek@redhat.com>
3454
3455 * sysdeps/x86_64/crti.S: New file.
3456 * sysdeps/x86_64/crtn.S: New file.
3457 * sysdeps/x86_64/elf/initfini.c: Remove file.
3458
2a979d3a
JM
34592012-02-13 Joseph Myers <joseph@codesourcery.com>
3460
3461 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3462 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3463 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3464 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3465 <bits/inotify.h>.
3466 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3467 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3468 bits/inotify.h.
3469
2a418ac3
JM
34702012-02-13 Joseph Myers <joseph@codesourcery.com>
3471
3472 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3473 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3474 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3475 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3476 <bits/eventfd.h>.
3477 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3478 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3479 bits/eventfd.h.
3480
fb779be7
TS
34812012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3482
e19e83c5
RM
3483 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3484 __feraiseexcept instead of feraiseexcept.
7c35ffed 3485
fb779be7
TS
3486 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3487 nanosleep invocations.
3488 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3489 strings, and add error checking for a nanosleep invocations.
3490
59ba27a6
PE
34912012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3492
3493 Replace FSF snail mail address with URLs, as per GNU coding standards.
3494 Most of the snail mail addresses were wrong anyway, and omitting
3495 them makes the source code easier to maintain. Almost all of the
3496 changes are to license notices and to locale LC_IDENTIFICATION
3497 addresses, except for this one:
3498 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3499 not its snail mail address.
3500
57b957eb
RH
35012012-02-09 Richard Henderson <rth@twiddle.net>
3502
af850b1c
RH
3503 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3504 of kernel-features.h.
3505
57b957eb
RH
3506 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3507
6b73181a
MP
35082012-02-08 Marek Polacek <polacek@redhat.com>
3509
3510 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3511 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3512 * sysdeps/gnu/_G_config.h: Likewise.
3513 * sysdeps/generic/_G_config.h: Likewise.
3514
26ecc33a
AS
35152012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3516
6c6dbc63
AS
3517 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3518 tests.
3519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3520
e216c012
AS
3521 * sysdeps/powerpc/powerpc32/crti.S: New file.
3522 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3523 * sysdeps/powerpc/powerpc64/crti.S: New file.
3524 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3525
26ecc33a
AS
3526 * Makeconfig (have-initfini): Don't set.
3527 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3528 * configure.in (nopic_initfini): Don't substitute.
3529 * config.h.in (HAVE_INITFINI): Don't #undef.
3530 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3531 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3532
3add8e13
JM
35332012-02-08 Joseph Myers <joseph@codesourcery.com>
3534
3535 Support crti.S and crtn.S provided directly by architectures.
3536 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3537 [crti.S in sysdirs] (omit-deps): Likewise.
3538 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3539 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3540 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3541 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3542 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3543 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3544 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3545 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3546 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3547 compiler output for sysdeps/generic/initfini.c.
3548 * sysdeps/i386/elf/Makefile: Remove file.
3549 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3550
a22f12b4
MP
35512012-02-07 Marek Polacek <polacek@redhat.com>
3552
3553 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3554 * sysdeps/gnu/_G_config.h: Likewise.
3555 * sysdeps/mach/hurd/_G_config.h: Likewise.
3556
148cf100
MP
35572012-02-07 Marek Polacek <polacek@redhat.com>
3558
3559 * math/Makefile (tests): Add tst-CMPLX2.
3560 * math/tst-CMPLX2.c: New file.
3561
cfdc0dd7
AS
35622012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3563
84ba42c4
AS
3564 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3565
cfdc0dd7
AS
3566 * math/libm-test.inc (jn_test): Add missing L suffix.
3567
622c86f4
MP
35682012-02-06 Marek Polacek <polacek@redhat.com>
3569
3570 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3571 * sysdeps/i386/fpu/e_powf.S: Likewise.
3572 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3573 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3574 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3575 * sysdeps/i386/fpu/e_pow.S: Likewise.
3576 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3577 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3578 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3579 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3580 * sysdeps/i386/fpu/e_log2.S: Likewise.
3581 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3582 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3583 * sysdeps/i386/fpu/e_powl.S: Likewise.
3584 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3585 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3586 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3587 * sysdeps/i386/fpu/e_logl.S: Likewise.
3588 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3589 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3590 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3591 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3592 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3593 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3594 * sysdeps/i386/fpu/e_log.S: Likewise.
3595 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3596 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3597 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3598 * sysdeps/i386/fpu/e_logf.S: Likewise.
3599 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3600 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3601 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3602 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3603 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3604 * sysdeps/i386/fpu/e_log10.S: Likewise.
3605 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3606 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3607 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3608 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3609 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3610 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3611 * sysdeps/i386/asm-syntax.h: Likewise.
3612 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3613 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3614 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3615 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3616 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3617 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3618 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3619 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3620 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3621 * sysdeps/powerpc/sysdep.h: Likewise.
3622 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3623 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3624
d4a54ac6
JM
36252012-02-06 Joseph Myers <joseph@codesourcery.com>
3626
3627 [BZ #411]
3628 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3629
314054ea
JM
36302012-02-06 Joseph Myers <joseph@codesourcery.com>
3631
3632 * sysdeps/i386/sysdep.h: Include <features.h>.
3633 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3634 version.
3635
d8e0ca50
JM
36362012-02-05 Joseph Myers <joseph@codesourcery.com>
3637
3638 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3639 Define.
3640 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3641 LOAD_PIC_REG_STR.
3642
b1da7dd9
JM
36432012-02-03 Joseph Myers <joseph@codesourcery.com>
3644
3645 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3646 (SETUP_PIC_REG): Use GET_PC_THUNK.
3647 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3648 macro.
3649
9a1d9254
JM
36502012-02-03 Joseph Myers <joseph@codesourcery.com>
3651
3652 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3653 for non-PIC compilation.
3654 (SETUP_PIC_REG): Add .p2align directive.
3655 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3656 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3657 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3658 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3659 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3660 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3661 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3662 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3663 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3664 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3665 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3666 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3667 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3668 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3669 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3670 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3671 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3672 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3673 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3674 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3675 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3676 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3677 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3678 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3679 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3680 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3681 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3682 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3683 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3684 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3685 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3686 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3687 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3688 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3689 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3690 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3691 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3692 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3693 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3694 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3695 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3696
65dc3b75
JM
36972012-02-03 Joseph Myers <joseph@codesourcery.com>
3698
3699 * math/tst-CMPLX.c: Include <stdio.h>.
3700
d55bf177
JM
37012012-01-31 Joseph Myers <joseph@codesourcery.com>
3702
3703 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3704 float.
3705 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3706 * sysdeps/sparc/bits/mathdef.h: Likewise.
3707
69db4f8f
MP
37082012-01-31 Marek Polacek <polacek@redhat.com>
3709
3710 * libio/libio.h: Don't define _PARAMS.
3711 * locale/programs/config.h: Don't define PARAMS.
3712 * stdlib/strtol_l.c: Likewise.
3713 (__strtol_l): Remove PARAMS from the prototype.
3714
41b81892
UD
37152012-01-31 Ulrich Drepper <drepper@gmail.com>
3716
3b49edc0
UD
3717 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3718 names. Just use the correct names. Remove unnecessary wrapper
3719 functions.
3720 * malloc/arena.c: Likewise.
3721 * malloc/hooks.c: Likewise.
3722
41b81892
UD
3723 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3724 ARENA_TEST says not to. Simplify test for creation of a new arena.
3725 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3726
27a25b6e
UD
37272012-01-30 Ulrich Drepper <drepper@gmail.com>
3728
3729 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3730 into tail calls.
3731 (update_get_addr): New function.
3732 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3733 GET_ADDR_MODULE parameter.
3734
c8a89e7d
JM
37352012-01-30 Joseph Myers <joseph@codesourcery.com>
3736
3737 * crypt/cert.c: Remove __STDC__ conditionals.
3738 * crypt/crypt-entry.c: Likewise.
3739 * crypt/crypt_util.c: Likewise.
3740 * libio/filedoalloc.c: Likewise.
3741 * libio/fileops.c: Likewise.
3742 * libio/genops.c: Likewise.
3743 * libio/iofclose.c: Likewise.
3744 * libio/iofdopen.c: Likewise.
3745 * libio/iofopen.c: Likewise.
3746 * libio/iofopen64.c: Likewise.
3747 * libio/iogetdelim.c: Likewise.
3748 * libio/iopopen.c: Likewise.
3749 * libio/obprintf.c: Likewise.
3750 * libio/oldfileops.c: Likewise.
3751 * libio/oldiofclose.c: Likewise.
3752 * libio/oldiofdopen.c: Likewise.
3753 * libio/oldiofopen.c: Likewise.
3754 * libio/oldiopopen.c: Likewise.
3755 * libio/wfiledoalloc.c: Likewise.
3756 * libio/wgenops.c: Likewise.
3757 * locale/programs/xmalloc.c: Likewise.
3758 * misc/syslog.c: Likewise.
3759 * stdio-common/xbug.c: Likewise.
3760 * string/memchr.c: Likewise.
3761 * string/memcmp.c: Likewise.
3762 * string/memrchr.c: Likewise.
3763 * string/rawmemchr.c: Likewise.
3764 * sysdeps/posix/getcwd.c: Likewise.
3765 * time/strftime_l.c: Likewise.
3766
3b100462
JM
37672012-01-30 Joseph Myers <joseph@codesourcery.com>
3768
3769 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
3770 * config.make.in (config-cflags-sse2avx): Define.
3771 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3772 Fix typo.
3773
607998af
CM
37742012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3775
3776 * scripts/config.guess: Update from upstream config git repository.
3777 * scripts/config.sub: Likewise.
3778
3601428f
CM
37792012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3780
3ac8b282
CM
3781 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3782 (EM_NUM): Update.
3783 (R_TILEPRO_*, R_TILEGX_*): New macros.
3784
e034841e
CM
3785 * scripts/firstversions.awk: Fix bug in version range handling.
3786
540d7568
CM
3787 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3788
3601428f
CM
3789 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3790
463de862
CM
3791 * include/sys/epoll.h: New file.
3792 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3793 libc_hidden_def.
3794
73139a76
UD
37952012-01-28 Ulrich Drepper <drepper@gmail.com>
3796
96bc5b45
UD
3797 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3798 Avoid unnecessary __WORDSIZE == 64 test.
3799 (fmaxf): Use VEX format if possible.
3800 (fmax): Likewise.
3801 (fminf): Likewise.
3802 (fmin): Likewise.
3803
56f6f6a2
UD
3804 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3805 * math/math_private.h: Remove libc_fegetround* and
3806 libc_fesetround*.
3807 * sysdeps/i386/configure.in: Check for -msse2avx.
3808 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
3809 also if SSE2AVX is defined.
3810 Remove libc_fegetround* and libc_fesetround*.
3811 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
3812 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
3813 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
3814 of HAS_YMM_USABLE.
3815 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3816 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3817 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3818 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3819 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3820
73139a76
UD
3821 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
3822
d73f93a4
AZ
38232012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3824
3825 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
3826 size is not set.
3827 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3828
6ee65ed6
UD
38292012-01-27 Ulrich Drepper <drepper@gmail.com>
3830
3831 [BZ #13618]
3832 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
3833 relocation.
3834 * Makeconfig (libm): Define.
3835 * elf/Makefile: Add rules to build and run tst-relsort1.
3836 * elf/tst-relsort1.c: New file.
3837 * elf/tst-relsort1mod1.c: New file.
3838 * elf/tst-relsort1mod2.c: New file.
3839
8db21882
JM
38402012-01-27 Joseph Myers <joseph@codesourcery.com>
3841
3842 * math/s_ldexp.c: Remove __STDC__ conditionals.
3843 * math/s_ldexpf.c: Likewise.
3844 * math/s_ldexpl.c: Likewise.
3845 * math/s_nextafter.c: Likewise.
3846 * math/s_nexttowardf.c: Likewise.
3847 * math/s_significand.c: Likewise.
3848 * math/s_significandf.c: Likewise.
3849 * math/s_significandl.c: Likewise.
3850 * math/w_jnl.c: Likewise.
3851 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3852 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3853 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3854 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3855 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3856 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3857 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
3858 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3859 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3860 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3861 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3862 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3863 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3864 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3865 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3866 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3867 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3868 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3869 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3870 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3871 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3872 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3873 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3874 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3875 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3876 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3877 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3878 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3879 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3880 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3881 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3882 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3883 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3884 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3885 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3886 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3887 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3888 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3889 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3890 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3891 * sysdeps/ieee754/k_standard.c: Likewise.
3892 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3893 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3894 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3895 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3896 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3897 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3898 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3899 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3900 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3901 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3902 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3903 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3904 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3905 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3906 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3907 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3908 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3909 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3910 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3911 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3912 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3913 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3914 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3915 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3916 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3917 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3918 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3919 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3920 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3921 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3922 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3923 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
3924 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3925 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3926 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3927 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3928 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
3929 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3930 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3931 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3932 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3933 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3934 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3935 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3936 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3937 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3938 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3939 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3940 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3941 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3942 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
3943 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3944 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3945 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3946 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3947 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3948 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
3949 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3950 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3951 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3952 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3953 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3954 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3955 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3956 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3957 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3958 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3959 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3960 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3961 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3962 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3963 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3964 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3965 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3966 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3967 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3968 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3969 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3970 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3971 * sysdeps/ieee754/s_matherr.c: Likewise.
3972 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3973 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3974 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3975 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3976
965a54a4
JM
39772012-01-26 Joseph Myers <joseph@codesourcery.com>
3978
3979 * crypt/md5.h: Remove __STDC__ conditionals.
3980 * libio/libioP.h: Likewise.
3981 * locale/programs/config.h: Likewise.
3982 * sysdeps/generic/sysdep.h: Likewise.
3983 * sysdeps/i386/asm-syntax.h: Likewise.
3984 * sysdeps/s390/asm-syntax.h: Likewise.
3985 * sysdeps/unix/sysdep.h: Likewise.
3986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3988
7071ad79
JM
39892012-01-26 Joseph Myers <joseph@codesourcery.com>
3990
3991 * libio/libio.h: Remove __STDC__ conditionals.
3992 * malloc/obstack.h: Likewise.
3993 * math/complex.h: Likewise.
3994 * math/math.h: Likewise.
3995 * sysdeps/generic/_G_config.h: Likewise.
3996 * sysdeps/gnu/_G_config.h: Likewise.
3997 * sysdeps/mach/hurd/_G_config.h: Likewise.
3998 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3999 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4000 * sysdeps/sparc/bits/mathdef.h: Likewise.
4001
afc5ed09
UD
40022012-01-26 Ulrich Drepper <drepper@gmail.com>
4003
4004 [BZ #13583]
4005 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 4006 Clean up HAS_* macros.
afc5ed09 4007 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
4008 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4009 possible.
4010 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4011 HAS_AVX.
4012 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4013 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4014 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4015 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4016 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 4017
bdb6de1d
JM
40182012-01-25 Joseph Myers <joseph@codesourcery.com>
4019
4020 * elf/tst-unique3.cc (gets): Remove declaration.
4021 * elf/tst-unique3lib.cc (gets): Likewise.
4022 * elf/tst-unique3lib2.cc (gets): Likewise.
4023 * elf/tst-unique4.cc (gets): Likewise.
4024
b15549e6
UD
40252012-01-24 Ulrich Drepper <drepper@gmail.com>
4026
4027 * include/stdio.h: Add C++ protection. Add gets declarations and
4028 definitions.
4029 * debug/tst-chk1.c: Don't declare gets here.
4030 * stdio-common/tst-gets.c: Likewise.
4031
a037381f
JM
40322012-01-24 Joseph Myers <joseph@codesourcery.com>
4033
4034 * posix/glob: Remove directory.
4035
f1d4aa75
JM
40362012-01-24 Joseph Myers <joseph@codesourcery.com>
4037
4038 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4039
81c0c964
PT
40402012-01-22 Pino Toscano <toscano.pino@tiscali.it>
4041
4042 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4043 of the non-standard EPFNOSUPPORT.
4044
0ea698ae
ST
40452011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
4046
4047 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4048 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4049 ANYWHERE set to 1 only on KERN_NO_SPACE error.
4050
d220b117
UD
40512012-01-21 Ulrich Drepper <drepper@gmail.com>
4052
4053 * wcsmbs/uchar.h: Test __STDC_VERSION__.
4054
3e1aa84e
UD
40552012-01-20 Ulrich Drepper <drepper@gmail.com>
4056
4057 * nscd/aicache.c (addhstaiX): Do not cache negative results of
4058 transient errors.
4059 * nscd/grpcache.c (cache_addgr): Likewise.
4060 * nscd/hstcache.c (cache_addhst): Likewise.
4061 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4062 * nscd/pwdcache.c (cache_addpw): Likewise.
4063 * nscd/servicescache.c (cache_addserv): Likewise.
4064
400aa020
UD
40652012-01-16 Ulrich Drepper <drepper@gmail.com>
4066
d77e7869
UD
4067 * malloc/malloc.c: Various cleanups.
4068 * malloc/hooks.c: Likewise.
4069
400aa020
UD
4070 * stdlib/Makefile (tests): Add bug-fmtmsg1.
4071 * stdlib/bug-fmtmsg1.c: New file.
4072
4073 * stdlib/fmtmsg.c (init): Add missing unlock.
4074 Patch by Peng Haitao <penght@cn.fujitsu.com>.
4075
e0a309cf
MP
40762012-01-12 Marek Polacek <polacek@redhat.com>
4077
4078 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4079 and _GNU_SOURCE.
4080
929d11c7
WS
40812012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4082
4083 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4084 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4085 macro to ensure uniqueness of label name.
4086 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4087 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4088
41d0e869
UD
40892012-01-11 Ulrich Drepper <drepper@gmail.com>
4090
0cc5ed3b
UD
4091 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4092
41d0e869
UD
4093 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4094 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4095 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4096 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4097
a47a831a
UD
40982012-01-10 Ulrich Drepper <drepper@gmail.com>
4099
daa891c0
UD
4100 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4101
4102 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4103 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4104 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4105
e58ef0f2
UD
4106 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4107
a47a831a 4108 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
4109 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4110 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 4111 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
4112
4113 * math/bits/math-finite.h: Add ldexp support.
4114
a0bfc9c7
MP
41152012-01-10 Marek Polacek <polacek@redhat.com>
4116
4117 * locale/programs/localedef.h (show_archive_content): Add noreturn
4118 attribute.
4119
d6e97a1d
UD
41202012-01-09 Ulrich Drepper <drepper@gmail.com>
4121
4122 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4123
d5835c26
UD
41242012-01-08 Ulrich Drepper <drepper@gmail.com>
4125
e5f484c6
UD
4126 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4127
d5835c26
UD
4128 * io/Makefile (headers): Add bits/poll2.h.
4129
d1f741e9
WS
41302011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
4131
4132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4133 typo #include statement.
4134
ec09c1c4
UD
41352012-01-08 Ulrich Drepper <drepper@gmail.com>
4136
4137 * include/sys/cdefs.h: Define __attribute_alloc_size.
4138 * catgets/gencat.c: Add alloc_size attribute and apply consistently
4139 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4140 * elf/pldd.c: Likewise.
4141 * iconv/iconv_charmap.c: Likewise.
4142 * iconv/iconvconfig.c: Likewise.
4143 * iconv/strtab.c: Likewise.
4144 * locale/programs/locale.c: Likewise.
4145 * locale/programs/localedef.h: Likewise.
4146 * locale/programs/simple-hash.c: Likewise.
4147 * nscd/nscd.h: Likewise.
4148 * nss/makedb.c: Likewise.
4149 * sysdeps/generic/ldconfig.h: Likewise.
4150 * locale/programs/localedef.c: Remove xmalloc prototype.
4151 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4152
20b38e03
PP
41532012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4154
4155 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4156 appropriate.
4157
a0da5fe1
UD
41582012-01-08 Ulrich Drepper <drepper@gmail.com>
4159
1d5a644a 4160 * math/Makefile (tests): Add tst-CMPLX.
669704fd 4161 * math/tst-CMPLX.c: New file.
1d5a644a 4162
8784a6db
UD
4163 * math/complex.h (CMPLXL): Fix typo.
4164
d9a216c0
UD
4165 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4166 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4167 GLIBC_2.16.
4168 * debug/tst-chk1.c: Add poll and ppoll tests.
4169 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4170 * include/sys/poll.h: Add hidden proto for ppoll.
4171 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4172 * sysdeps/mach/hurd/ppoll.c: Likewise.
4173 * io/ppoll.c: Likewise.
4174 * debug/poll_chk.c: New file.
4175 * debug/ppoll_chk.c: New file.
4176 * include/bits/poll2.h: New file.
4177 * io/bits/poll2.h: New file.
4178
ac097f5c
UD
4179 [BZ #1350]
4180 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4181
2119dcfa
UD
4182 * configure.in: static is always set to yes. Remove.
4183 * config.make.in: Don't set build-static.
4184 * Makeconfig: Remove use of build-static.
4185 * dlfcn/Makefile: Likewise.
4186 * elf/Makefile: Likewise.
4187 * math/Makefile: Likewise.
4188 * misc/Makefile: Likewise.
4189 * nptl/Makefile: Likewise.
4190 * sysdeps/mach/hurd/Makefile: Likewise.
4191
121766a9
UD
4192 * configure.in: PWD_P is not used anymore.
4193 * config.make.in: Remove PWD_P entry.
4194
51a1d39c 4195 * configure.in: Remove last remnants of RANLIB.
8720d066 4196 No need to check for signed size_t anymore.
215f4bdc
UD
4197 Don't set libc_commonpagesize and libc_relro_required here for Alpha
4198 and IA-64.
3857022a 4199 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
4200 * aclocal.m4: Likewise.
4201
d3ed7225
UD
4202 * wcsmbs/mbrtoc16.c: Implement using towc function.
4203 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4204 * wcsmbs/wcsmbsload.c: Likewise.
4205 * iconv/gconv_simple.c: Likewise.
4206 * iconv/gconv_int.h: Likewise.
4207 * iconv/gconv_builtin.h: Likewise.
4208 * iconv/iconv_prog.c: Remove CHAR16 handling.
4209
4210 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4211
4212 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4213
a0da5fe1
UD
4214 * configure.in: Remove --with-elf and --enable-bounded options.
4215 Dont set base_machine for ia64. More non-ELF conditions removed.
4216 Remove testing and setting of leading underscore information.
4217 * config.make.in (build-bounded): Set to no.
4218 * config.h.in: Remove NO_UNDERSCORES entry.
4219 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4220 them.
4221 * csu/start.c: Remove !NO_UNDERSCORE code.
4222 * locale/localeinfo.h: Likewise.
4223 * sysdeps/generic/machine-gmon.h: Likewise.
4224 * sysdeps/generic/sysdep.h: Likewise.
4225 * sysdeps/i386/sysdep.h: Likewise.
4226 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4227 * sysdeps/mach/sysdep.h: Likewise.
4228 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4229 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4230 * sysdeps/sh/sysdep.h: Likewise.
4231 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4232 * sysdeps/unix/i386/sysdep.S: Likewise.
4233 * sysdeps/unix/sparc/start.c: Likewise.
4234 * sysdeps/unix/sparc/sysdep.S: Likewise.
4235 * sysdeps/unix/sparc/sysdep.h: Likewise.
4236 * sysdeps/unix/start.c: Likewise.
4237 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4238 * sysdeps/x86_64/sysdep.h: Likewise.
4239
df78418a
UD
42402012-01-07 Ulrich Drepper <drepper@gmail.com>
4241
a784e502
UD
4242 [BZ #13553]
4243 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4244 for non-gcc.
4245 * argp/argp-fmtstream.h: Use const instead __const.
4246 * argp/argp.h: Likewise.
4247 * assert/assert.h: Likewise.
4248 * bits/fenv.h: Likewise.
4249 * bits/sched.h: Likewise.
4250 * bits/sigset.h: Likewise.
4251 * bits/sigthread.h: Likewise.
4252 * catgets/nl_types.h: Likewise.
4253 * conform/data/pthread.h-data: Likewise.
4254 * crypt/crypt-private.h: Likewise.
4255 * crypt/crypt.h: Likewise.
4256 * crypt/crypt_util.c: Likewise.
4257 * ctype/ctype.h: Likewise.
4258 * debug/execinfo.h: Likewise.
4259 * debug/mbsnrtowcs_chk.c: Likewise.
4260 * debug/mbsrtowcs_chk.c: Likewise.
4261 * debug/wcsnrtombs_chk.c: Likewise.
4262 * debug/wcsrtombs_chk.c: Likewise.
4263 * debug/wcstombs_chk.c: Likewise.
4264 * dirent/dirent.h: Likewise.
4265 * dlfcn/dlfcn.h: Likewise.
4266 * elf/neededtest4.c: Likewise.
4267 * grp/grp.h: Likewise.
4268 * gshadow/gshadow.h: Likewise.
4269 * iconv/gconv.h: Likewise.
4270 * iconv/gconv_int.h: Likewise.
4271 * iconv/gconv_simple.c: Likewise.
4272 * iconv/iconv.h: Likewise.
4273 * iconv/loop.c: Likewise.
4274 * iconv/skeleton.c: Likewise.
4275 * include/aio.h: Likewise.
4276 * include/aliases.h: Likewise.
4277 * include/argz.h: Likewise.
4278 * include/arpa/inet.h: Likewise.
4279 * include/assert.h: Likewise.
4280 * include/dirent.h: Likewise.
4281 * include/dlfcn.h: Likewise.
4282 * include/execinfo.h: Likewise.
4283 * include/fcntl.h: Likewise.
4284 * include/fenv.h: Likewise.
4285 * include/glob.h: Likewise.
4286 * include/grp.h: Likewise.
4287 * include/libintl.h: Likewise.
4288 * include/mntent.h: Likewise.
4289 * include/netdb.h: Likewise.
4290 * include/pwd.h: Likewise.
4291 * include/rpc/netdb.h: Likewise.
4292 * include/sched.h: Likewise.
4293 * include/search.h: Likewise.
4294 * include/shadow.h: Likewise.
4295 * include/signal.h: Likewise.
4296 * include/stdio.h: Likewise.
4297 * include/stdlib.h: Likewise.
4298 * include/string.h: Likewise.
4299 * include/sys/socket.h: Likewise.
4300 * include/sys/stat.h: Likewise.
4301 * include/sys/statfs.h: Likewise.
4302 * include/sys/statvfs.h: Likewise.
4303 * include/sys/syslog.h: Likewise.
4304 * include/sys/time.h: Likewise.
4305 * include/sys/uio.h: Likewise.
4306 * include/time.h: Likewise.
4307 * include/unistd.h: Likewise.
4308 * include/utmp.h: Likewise.
4309 * include/wchar.h: Likewise.
4310 * include/wctype.h: Likewise.
4311 * inet/aliases.h: Likewise.
4312 * inet/arpa/inet.h: Likewise.
4313 * inet/netinet/ether.h: Likewise.
4314 * inet/netinet/in.h: Likewise.
4315 * intl/libintl.h: Likewise.
4316 * io/bits/fcntl2.h: Likewise.
4317 * io/fcntl.h: Likewise.
4318 * io/ftw.h: Likewise.
4319 * io/sys/poll.h: Likewise.
4320 * io/sys/stat.h: Likewise.
4321 * io/sys/statfs.h: Likewise.
4322 * io/sys/statvfs.h: Likewise.
4323 * io/utime.h: Likewise.
4324 * libio/bits/stdio.h: Likewise.
4325 * libio/bits/stdio2.h: Likewise.
4326 * libio/libio.h: Likewise.
4327 * libio/libioP.h: Likewise.
4328 * libio/stdio.h: Likewise.
4329 * locale/lc-ctype.c: Likewise.
4330 * locale/locale.h: Likewise.
4331 * login/utmp.h: Likewise.
4332 * malloc/arena.c: Likewise.
4333 * malloc/malloc.c: Likewise.
4334 * malloc/malloc.h: Likewise.
4335 * malloc/mcheck.c: Likewise.
4336 * malloc/mtrace.c: Likewise.
4337 * math/bits/mathcalls.h: Likewise.
4338 * math/fenv.h: Likewise.
4339 * math/math_private.h: Likewise.
4340 * misc/bits/error.h: Likewise.
4341 * misc/bits/syslog.h: Likewise.
4342 * misc/err.h: Likewise.
4343 * misc/error.h: Likewise.
4344 * misc/fstab.h: Likewise.
4345 * misc/mntent.h: Likewise.
4346 * misc/regexp.h: Likewise.
4347 * misc/search.h: Likewise.
4348 * misc/sgtty.h: Likewise.
4349 * misc/sys/mman.h: Likewise.
4350 * misc/sys/syslog.h: Likewise.
4351 * misc/sys/uio.h: Likewise.
4352 * misc/sys/xattr.h: Likewise.
4353 * misc/ttyent.h: Likewise.
4354 * nis/rpcsvc/ypclnt.h: Likewise.
4355 * nss/nss.h: Likewise.
4356 * posix/bits/unistd.h: Likewise.
4357 * posix/fnmatch.h: Likewise.
4358 * posix/glob.h: Likewise.
4359 * posix/sched.h: Likewise.
4360 * posix/spawn.h: Likewise.
4361 * posix/sys/wait.h: Likewise.
4362 * posix/unistd.h: Likewise.
4363 * posix/wordexp.h: Likewise.
4364 * pwd/pwd.h: Likewise.
4365 * resolv/netdb.h: Likewise.
4366 * resource/sys/resource.h: Likewise.
4367 * rt/aio.h: Likewise.
4368 * rt/bits/mqueue2.h: Likewise.
4369 * rt/mqueue.h: Likewise.
4370 * shadow/shadow.h: Likewise.
4371 * signal/signal.h: Likewise.
4372 * socket/send.c: Likewise.
4373 * socket/sendto.c: Likewise.
4374 * socket/sys/socket.h: Likewise.
4375 * stdio-common/printf.h: Likewise.
4376 * stdlib/bits/stdlib.h: Likewise.
4377 * stdlib/fmtmsg.h: Likewise.
4378 * stdlib/monetary.h: Likewise.
4379 * stdlib/stdlib.h: Likewise.
4380 * stdlib/ucontext.h: Likewise.
4381 * streams/stropts.h: Likewise.
4382 * string/argz.h: Likewise.
4383 * string/bits/string2.h: Likewise.
4384 * string/string.h: Likewise.
4385 * string/strings.h: Likewise.
4386 * sunrpc/rpc/auth.h: Likewise.
4387 * sunrpc/rpc/auth_des.h: Likewise.
4388 * sunrpc/rpc/clnt.h: Likewise.
4389 * sunrpc/rpc/netdb.h: Likewise.
4390 * sunrpc/rpc/pmap_clnt.h: Likewise.
4391 * sunrpc/rpc/xdr.h: Likewise.
4392 * sysdeps/generic/inttypes.h: Likewise.
4393 * sysdeps/generic/net/if.h: Likewise.
4394 * sysdeps/generic/sys/swap.h: Likewise.
4395 * sysdeps/gnu/net/if.h: Likewise.
4396 * sysdeps/gnu/utmpx.h: Likewise.
4397 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4398 * sysdeps/i386/i486/bits/string.h: Likewise.
4399 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4400 * sysdeps/s390/bits/string.h: Likewise.
4401 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4402 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4403 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4404 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4405 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4406 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4407 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4408 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4409 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4410 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4411 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4412 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4413 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4414 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4415 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4416 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4417 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4418 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4419 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4420 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4421 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4422 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4423 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4424 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4425 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4426 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4427 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4428 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4429 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4430 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4431 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4432 * sysvipc/sys/ipc.h: Likewise.
4433 * sysvipc/sys/msg.h: Likewise.
4434 * sysvipc/sys/sem.h: Likewise.
4435 * sysvipc/sys/shm.h: Likewise.
4436 * termios/termios.h: Likewise.
4437 * time/sys/time.h: Likewise.
4438 * time/time.h: Likewise.
4439 * wcsmbs/bits/wchar2.h: Likewise.
4440 * wcsmbs/uchar.h: Likewise.
4441 * wcsmbs/wchar.h: Likewise.
4442 * wctype/wctype.h: Likewise.
4443
0269750c
UD
4444 [BZ #13551]
4445 * Makeconfig: Remove all but ELF support including AIX support.
4446 * Makerules: Likewise.
4447 * config.h.in: Likewise.
4448 * config.make.in: Likewise.
4449 * configure: Likewise.
4450 * configure.in: Likewise.
4451 * csu/Makefile: Likewise.
4452 * csu/version.c: Likewise.
4453 * debug/Makefile: Likewise.
4454 * dlfcn/Makefile: Likewise.
4455 * elf/Makefile: Likewise.
4456 * extra-lib.mk: Likewise.
4457 * iconv/Makefile: Likewise.
4458 * include/libc-symbols.h: Likewise.
4459 * include/shlib-compat.h: Likewise.
4460 * resolv/Makefile: Likewise.
4461 * resolv/res_libc.c: Likewise.
4462 * rt/Makefile: Likewise.
4463 * sysdeps/i386/asm-syntax.h: Likewise.
4464 * sysdeps/i386/sysdep.h: Likewise.
4465 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4466 * sysdeps/mach/sysdep.h: Likewise.
4467 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4468 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4469 * sysdeps/s390/asm-syntax.h: Likewise.
4470 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4471 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4472 * sysdeps/sh/sysdep.h: Likewise.
4473 * sysdeps/unix/sparc/sysdep.h: Likewise.
4474 * sysdeps/wordsize-32/divdi3.c: Likewise.
4475 * sysdeps/x86_64/sysdep.h: Likewise.
4476
00bbd29b
UD
4477 * argp/Versions: Remove _argp_unlock_xxx.
4478
4479 [BZ #13559]
4480 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4481 * abilist/libBrokenLocale.abilist: Likewise.
4482 * abilist/libanl.abilist: Likewise.
4483 * abilist/libc.abilist: Likewise.
4484 * abilist/libcrypt.abilist: Likewise.
4485 * abilist/libdl.abilist: Likewise.
4486 * abilist/libm.abilist: Likewise.
4487 * abilist/libnsl.abilist: Likewise.
4488 * abilist/libpthread.abilist: Likewise.
4489 * abilist/libresolv.abilist: Likewise.
4490 * abilist/librt.abilist: Likewise.
4491 * abilist/libthread_db.abilist: Likewise.
4492 * abilist/libutil.abilist: Likewise.
4493 * abilist/libnss_db.abilist: New file.
4494
4495 * scripts/abilist.awk: Add support for indirect functions.
4496
a2693a0e
UD
4497 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4498
3f05895f
UD
4499 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4500
ecb6fb48
UD
4501 * shlib-versions: Remove entries for ports architectures.
4502
664f8cb9
UD
4503 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4504 files in ports.
4505 * elf/stackguard-macros.h: Remove support for IA-64.
4506 * elf/tst-auditmod1.c: Likewise.
4507 * sysdeps/generic/ldsodefs.h: Likewise.
4508
7ae81d88
UD
4509 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4510 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4511 configure files.
4512
bdeba135
UD
4513 [BZ #13552]
4514 * configure.in: Remove --enable-omitfp support.
4515 * FAQ.in: Adjust.
4516 * config.make.in: Likewise.
4517 * Makeconfig: Likewise.
4518 * manual/install.texi: Likewise.
4519
d75a0a62
UD
4520 In case anyone cares, the IA-64 architecture could move to ports.
4521 * sysdeps/ia64/*: Removed.
4522 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 4523 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 4524
dcc9756b
UD
4525 [BZ #13555]
4526 * configure.in: Remove entries for unsupported architectures.
4527
d3761ebc 4528 [BZ #13533]
9954432e
UD
4529 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4530 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4531 routines.
4532 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4533 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4534 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4535 fall back to using wcrtomb.
4536 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4537 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4538 renaming.
4539 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4540 * wcsmbs/tst-c16c32-1.c: New file.
4541
4542 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4543 local variable.
4544
c3a87236
UD
4545 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4546
28926a1b
UD
4547 * elf/tst-unique3.cc: Add explicit declaration of gets.
4548 * elf/tst-unique3lib.cc: Likewise.
4549 * elf/tst-unique3lib2.cc: Likewise.
4550 * elf/tst-unique4.cc: Likewise.
4551
df78418a
UD
4552 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4553
8ecd6b2a
JM
45542012-01-06 Joseph Myers <joseph@codesourcery.com>
4555
4556 [BZ #13566]
4557 * assert/assert.h (static_assert): Don't define for C++.
4558 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4559 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4560
9f115170
UD
45612012-01-03 Ulrich Drepper <drepper@gmail.com>
4562
5e0d0300
UD
4563 * iconv/loop.c (single loop): Fix assertion in storing of
4564 remaining bytes.
4565
9f115170
UD
4566 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4567
81fb02b0
UD
45682012-01-01 Ulrich Drepper <drepper@gmail.com>
4569
4570 * posix/getconf.c: Update copyright year.
4571 * nss/getent.c: Likewise.
a316c1f6 4572 * nss/makedb.c: Likewise.
81fb02b0
UD
4573 * iconv/iconvconfig.c: Likewise.
4574 * iconv/iconv_prog.c: Likewise.
4575 * elf/ldconfig.c: Likewise.
a316c1f6
UD
4576 * elf/pldd.c: Likewise.
4577 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
4578 * catgets/gencat.c: Likewise.
4579 * csu/version.c: Likewise.
4580 * elf/ldd.bash.in: Likewise.
4581 * elf/sprof.c (print_version): Likewise.
4582 * locale/programs/locale.c: Likewise.
4583 * locale/programs/localedef.c: Likewise.
a316c1f6 4584 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
4585 * nscd/nscd.c (print_version): Likewise.
4586 * debug/xtrace.sh: Likewise.
4587 * malloc/memusage.sh: Likewise.
4588 * malloc/mtrace.pl: Likewise.
4589 * debug/catchsegv.sh: Likewise.
4590
2ba92745
JJ
45912011-12-30 Jakub Jelinek <jakub@redhat.com>
4592
4593 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4594 pure attribute.
4595
dadebdae
UD
45962011-12-24 Ulrich Drepper <drepper@gmail.com>
4597
d3761ebc 4598 [BZ #13533]
db6af3eb
UD
4599 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4600 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4601 transformations.
4602 * iconv/gconv_int.h: Likewise.
4603 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4604 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4605 from libc for GLIBC_2.16.
4606 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4607 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4608 * wcsmbs/uchar.h: Really define mbstate_t.
4609 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4610 * wcsmbs/c16rtomb.c: New file.
4611 * wcsmbs/mbrtoc16.c: New file.
4612 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4613 for C/POSIX locale.
4614 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4615 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4616
dadebdae
UD
4617 * wcsmbs/wchar.h: Add missing __restrict.
4618
67371b56
UD
46192011-12-23 Ulrich Drepper <drepper@gmail.com>
4620
74033a25
UD
4621 [BZ #13532]
4622 * time/Makefile (routines): Add timespec_get.
4623 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4624 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4625 timespec for ISO C11.
4626 * time/timespec_get.c: New file.
4627 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4628 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4629
380d7e87
UD
4630 [BZ #13531]
4631 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4632 * stdlib/stdlib.h: Declare aligned_alloc.
4633 * Versions.def: Add GLIBC_2.16 for libc.
4634 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4635
4e9e7a35
UD
4636 [BZ 13527]
4637 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4638 ISO C11.
4639
380d7e87 4640 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
4641 code.
4642
03a71829
UD
4643 [BZ #13528]
4644 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4645
839e283e
UD
4646 [BZ #13529]
4647 * assert/assert.h (static_assert): Define.
4648
ce5294e2 4649 * version.h: Update for 2.16 development version.
90fa7312 4650
8d44e150 4651 [BZ #13526]
d7809905
UD
4652 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4653 _ISOC11_SOURCE.
4654
c0da14cd
UD
4655 * version.h (RELEASE): Bump for 2.15 release.
4656 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4657
530a3249
MP
4658 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4659 Patch by Marek Polacek <mpolacek@redhat.com>.
4660
67371b56
UD
4661 * bits/byteswap.h: Protect long long constants with __extension__.
4662 * sysdeps/i386/bits/byteswap.h: Likewise.
4663 * sysdeps/ia64/bits/byteswap.h: Likewise.
4664 * sysdeps/s390/bits/byteswap.h: Likewise.
4665 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4666
15db4de1
LD
46672011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4668
4669 [BZ #13540]
bbe315ea
LD
4670 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4671 destination buffer.
15db4de1
LD
4672 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4673
2b2596b1
MP
46742011-12-23 Marek Polacek <polacek@redhat.com>
4675
4676 * elf/dl-addr.c (determine_info): Add inline keyword.
4677 * elf/tst-auditmod4b.c (check_avx): Likewise.
4678 * elf/tst-auditmod6b.c (check_avx): Likewise.
4679 * elf/tst-auditmod6c.c (check_avx): Likewise.
4680 * elf/tst-auditmod7b.c (check_avx): Likewise.
4681
70c6c246
UD
46822011-12-23 Ulrich Drepper <drepper@gmail.com>
4683
4684 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4685 !__SSE_MATH__.
4686
c044cf14
LD
46872011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4688
15db4de1 4689 [BZ #13540]
c044cf14
LD
4690 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4691 processing for last bytes.
4692
6b13d9d9
BH
46932011-08-06 Bruno Haible <bruno@clisp.org>
4694
d455f537
BH
4695 [BZ #13061]
4696 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4697 U+0385, not to U+1FEE.
4698
6b13d9d9
BH
4699 [BZ #13062]
4700 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4701 entry for U+00A5 U+0301.
4702
db910efd
UD
47032011-12-22 Ulrich Drepper <drepper@gmail.com>
4704
27deeafc
UD
4705 [BZ #13166]
4706 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4707 buffer for the output is too small.
4708
aed9d171
UD
4709 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4710 optimization.
4711
db910efd
UD
4712 [BZ #13185]
4713 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4714 SSE flags if possible.
4715
2bd779ae
LD
47162011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4717
e7f9dac3 4718 [BZ #13540]
2bd779ae
LD
4719 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4720 processing for last bytes.
4721
154bfc16
JM
47222011-12-22 Joseph Myers <joseph@codesourcery.com>
4723
4724 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4725 (syscall-list-default-options, syscall-list-default-condition)
4726 (syscall-list-includes): Define.
4727 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4728 list of ABIs and options and #if conditions for each ABI. Do not
4729 handle common syscalls between ABIs specially.
4730 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4731 Remove.
4732 (syscall-list-variants, syscall-list-32bit-options)
4733 (syscall-list-32bit-condition, syscall-list-64bit-options)
4734 (syscall-list-64bit-condition): Define.
4735 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4736 (syscall-list-variants, syscall-list-32bit-options)
4737 (syscall-list-32bit-condition, syscall-list-64bit-options)
4738 (syscall-list-64bit-condition): Define.
4739 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4740 Remove.
4741 (syscall-list-variants, syscall-list-32bit-options)
4742 (syscall-list-32bit-condition, syscall-list-64bit-options)
4743 (syscall-list-64bit-condition): Define.
4744 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4745 Remove.
4746 (syscall-list-variants, syscall-list-32bit-options)
4747 (syscall-list-32bit-condition, syscall-list-64bit-options)
4748 (syscall-list-64bit-condition): Define.
4749
21eaf3a5
UD
47502011-12-22 Ulrich Drepper <drepper@gmail.com>
4751
16c6f992
UD
4752 * locale/iso-639.def: Add brx entry.
4753
41043168
UD
4754 [BZ #13328]
4755 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4756 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4757
21eaf3a5
UD
4758 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4759 __feraiseexcept_renamed.
4760
e3a851a2
UD
47612011-12-21 Ulrich Drepper <drepper@gmail.com>
4762
4920765e
UD
4763 [BZ #13538]
4764 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4765 EPOLLET with unsigned values.
4766 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4767 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4768
e3a851a2
UD
4769 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4770 to large cancellation.
4771 * math/s_cacoshf.c: Likewise.
4772 * math/s_cacoshl.c: Likewise.
4773
b27e24b8
RK
47742011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4775
4776 [BZ #13305]
aebefeee 4777 [BZ #12786]
b27e24b8
RK
4778 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4779 * math/s_cacoshf.c: Likewise.
4780 * math/s_cacoshl.c: Likewise.
4781
ee190f67
UD
47822011-12-21 Ulrich Drepper <drepper@gmail.com>
4783
4784 [BZ #13439]
4785 * iconv/gconv.h: Define __GCONV_SWAP.
4786 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4787 * iconvdata/utf-16.c: Likewise.
4788 * iconvdata/utf-32.c: Likewise.
4789
707f25df
AS
47902011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4791
4792 [BZ #13524]
4793 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4794 numerator after shifting it by one limb.
4795
d2daaa1e
RÁE
47962011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4797
4798 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4799 under [__USE_EXTERN_INLINES].
4800
a4647e72
UD
48012011-12-17 Ulrich Drepper <drepper@gmail.com>
4802
4803 [BZ #13446]
4804 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4805
f0b264f1
AZ
48062011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4807
4808 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
4809 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
4810 optimized code.
4811 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
4812 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
4813 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
4814 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
4815 for strncasecmp/strncasecmp_l compilation.
4816 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
4817 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
4818
8ef4f244
MP
48192011-12-08 Marek Polacek <mpolacek@redhat.com>
4820
4821 [BZ #13484]
4822 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
4823 of __asm__.
4824
97ac2654
UD
48252011-12-17 Ulrich Drepper <drepper@gmail.com>
4826
4827 [BZ #13506]
4828 * time/tzfile.c (__tzfile_read): Check values from file header.
4829
91d2a845
WS
48302011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4831
4832 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
4833 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
4834 * powerpc/powerpc32/dl-start.S: Likewise.
4835 * powerpc/powerpc32/elf/start.S: Likewise.
4836 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4837 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
4838 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4839 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
4840 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4841 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
4842 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
4843 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4844 * powerpc/powerpc32/fpu/s_round.S: Likewise.
4845 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4846 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4847 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4848 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4849 * powerpc/powerpc32/memset.S: Likewise.
4850 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4851 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4852 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4853 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4854 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4855 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4856 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4857 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4858 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
4859 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
4860 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
4861 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4862 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4863
a1267ba1
AZ
48642011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4865
4866 * math/libm-test.inc: Added more nearbyint tests.
4867 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
4868 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
4869 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
4870 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
4871
ad8ac1bd
RL
48722011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
4873
4874 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
4875 FD_CLOEXEC.
4876
1d3e4b61
UD
48772011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4878
4879 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
4880 Add wcscpy-ssse3 wcscpy-c.
4881 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
4882 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
4883 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
4884 * sysdeps/x86_64/wcschr.S: New file.
4885 * sysdeps/x86_64/wcsrchr.S: New file.
4886 * string/test-strcmp.c: Remove checking of wcscmp function for
4887 wrong alignments.
4888 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
4889 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
4890 wcsrchr-sse2 wcsrchr-c.
4891 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
4892 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
4893 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
4894 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
4895 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
4896 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
4897 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
4898 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
4899 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
4900 * wcsmbc/wcschr.c (WCSCHR): New macro.
4901
5b330a2d
UD
49022011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4903
4904 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
4905 * wcsmbs/test-wcsrchr.c: New file.
4906 * string/test-strrchr.c: Add wcsrchr support.
4907 (WIDE): New macro.
4908 * wcsmbs/test-wcscpy.c: New file.
4909 * string/test-strcpy.c: Add wcscpy support.
4910 (WIDE): New macro.
26428b7c 4911
f039c043
UD
49122011-12-10 Ulrich Drepper <drepper@gmail.com>
4913
4914 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
4915 the inner loop.
4916
850fb039
AS
49172011-12-06 Andreas Schwab <schwab@linux-m68k.org>
4918
4919 [BZ #13472]
4920 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
4921
4efbd5cb
UD
49222011-12-04 Ulrich Drepper <drepper@gmail.com>
4923
52ff5dd0 4924 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 4925 Minor optimizations.
52ff5dd0 4926
4efbd5cb
UD
4927 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
4928 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
4929 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4930
8a426e12
UD
49312011-12-03 Ulrich Drepper <drepper@gmail.com>
4932
aff2453d
UD
4933 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
4934 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4935 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
4936 for gcc to avoid warnings.
4937 * inet/Makefile (tests): Add tst-checks.
4938 * inet/tst-checks.c: New file.
4939
4940 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
4941 warning.
4942
4943 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
4944 __wmemcmp_sse2.
4945
4946 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
4947 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
4948
8a426e12
UD
4949 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
4950
9bea3473
UD
49512011-12-02 Ulrich Drepper <drepper@gmail.com>
4952
3a965496
UD
4953 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
4954 problem.
4955
9bea3473
UD
4956 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
4957
f101631b
UD
49582011-11-29 Joseph Myers <joseph@codesourcery.com>
4959
4960 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
4961 conditional on GCC version.
4962 (__arch_compare_and_exchange_val_8_acq)
4963 (__arch_compare_and_exchange_val_16_acq)
4964 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
4965 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
4966 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
4967
a98275aa
UD
49682011-12-02 Joseph Myers <joseph@codesourcery.com>
4969
4970 * sysdeps/sh/backtrace.c: New file.
4971
d4cc29a2
AS
49722011-12-02 Andreas Schwab <schwab@redhat.com>
4973
4974 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
4975 parenthesis.
4976
6257af2d
AS
49772011-12-01 Andreas Schwab <schwab@redhat.com>
4978
4979 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
4980 falling back to utime.
4981
b5f44c1a
AS
49822011-11-30 Andreas Schwab <schwab@redhat.com>
4983
4984 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
4985 expectations for float.
4986
f3a6cc0a
AS
49872011-11-29 Andreas Schwab <schwab@redhat.com>
4988
4989 * locale/weight.h (findidx): Add parameter len.
4990 * locale/weightwc.h (findidx): Likewise.
4991 * posix/fnmatch_loop.c (FCT): Adjust caller.
4992 * posix/regcomp.c (build_equiv_class): Likewise.
4993 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
4994 * posix/regexec.c (check_node_accept_bytes): Likewise.
4995 * string/strcoll_l.c (STRCOLL): Likewise.
4996 * string/strxfrm_l.c (STRXFRM): Likewise.
4997
9d65ea3a
UD
49982011-11-17 Ulrich Drepper <drepper@gmail.com>
4999
5000 * Makefile.in: Remove CVSOPT handling.
5001 * configure.in: Remove use of AC_REVISION.
5002 * iconvdata/Makefile (distribute): No need to filter out CVS.
5003 * scripts/list-sources.sh: Remove CVS, subversion and monotone
5004 handling.
5005
5583a086
AS
50062011-11-16 Andreas Schwab <schwab@redhat.com>
5007
5008 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5009 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5010 [USE_AS_STRNCASECMP_L]: Likewise.
5011 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5012 NO_TLS_DIRECT_SEG_REFS.
5013 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5014 Fix argument offsets for non-PIC.
5015 [USE_AS_STRNCASECMP_L]: Likewise.
5016 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5017 NO_TLS_DIRECT_SEG_REFS.
5018
d62a8200
UD
50192011-11-15 Ulrich Drepper <drepper@gmail.com>
5020
9d65ea3a 5021 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
5022 O_CLOEXEC.
5023 * locale/loadlocale.c (_nl_load_locale): Likewise.
5024
09f93bd3
AS
50252011-11-15 Andreas Schwab <schwab@redhat.com>
5026
446514f9
AS
5027 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5028 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5029 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5030 (SYSCALL_GETTIME): Set errno on error.
5031
09f93bd3
AS
5032 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5033 count references to noai6ai_cached.
5034
312be3f9
UD
50352011-11-15 Ulrich Drepper <drepper@gmail.com>
5036
5037 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5038
5039 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5040 FD_CLOEXEC for /proc/self/maps.
5041
5042 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5043 FD_CLOEXEC for /proc/meminfo.
5044
5045 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5046 gai.conf.
5047
5048 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
5049 FD_CLOEXEC for given file.
5050
5051 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5052
5053 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5054 FD_CLOEXEC for /etc/hosts.
5055 (_gethtent): Likewise.
5056
5057 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5058
5059 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5060 cancellation and set FD_CLOEXEC for /etc/netgroup.
5061
5062 * nss/nss_files/files-key.c (search): Don't allow cancellation when
5063 reading /etc/publickey.
5064
5065 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5066 allow cancellation when reading /etc/group.
5067
5068 * nss/nss_files/files-alias.c (internal_setent): Don't allow
5069 cancellation.
5070 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
5071
5072 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5073 when using data file.
5074
5075 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5076
5077 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5078 (write_nis_obj): Use "c" and "e" in fopen.
5079
5080 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5081
5082 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5083
5084 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5085
5086 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5087
5088 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5089 locale.alias.
5090
5091 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5092
5093 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5094
5095 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5096
5097 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5098 file parsing and set FD_CLOEXEC.
5099
82af0fa8
UD
51002011-11-14 Ulrich Drepper <drepper@gmail.com>
5101
5102 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5103
a5fb313c
AS
51042011-11-14 Andreas Schwab <schwab@redhat.com>
5105
5106 * malloc/arena.c (arena_get2): Don't call reused_arena when
5107 _int_new_arena failed.
5108
6abf3465
UD
51092011-11-14 Ulrich Drepper <drepper@gmail.com>
5110
5111 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5112 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5113 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5114 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5115 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5116 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5117 to compile strcasecmp and strncasecmp.
5118 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5119 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5120
5121 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5122
76e3966e
UD
51232011-11-13 Ulrich Drepper <drepper@gmail.com>
5124
5125 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5126 locale-defines.sym to gen-as-const-headers.
5127 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5128 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5129 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5130 to compile strcasecmp and strncasecmp.
5131 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5132 strcasecmp_l and strncasecmp_l.
5133 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5134 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5135 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5136 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5137 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5138 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5139 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5140 * sysdeps/i386/i686/multiarch/strncase.S: New file.
5141 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5142 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5143 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5144
ab26144e
UD
51452011-11-12 Ulrich Drepper <drepper@gmail.com>
5146
7edb22ef
UD
5147 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5148 result of SYSDEP_GETTIME_CPU to retval.
5149 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5150 parameter list to macro. Remove trailing semicolon. Adjust users.
5151
9694fc44
UD
5152 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5153 variable.
5154
8ad89ef8
UD
5155 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5156 mantissa words.
5157 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5158
0c822ef9
UD
5159 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5160 from unused variable.
5161
874e0564
UD
5162 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5163 DWARF definitions.
5164 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5165 for assembling.
5166
3a2edc79
UD
5167 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5168 over namespaces.
5169
f3c2577f
UD
5170 * sunrpc/rpc_prot.c (rejected): Fix case value.
5171
294ce126
UD
5172 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5173 unsigned long long int to avoid warnings in shift.
5174
5e2b63c6
UD
5175 * posix/regex_internal.c (re_string_reconstruct): Actually use result
5176 of use of trans.
5177 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5178 variable tmp.
5179
e7f4b08e
UD
5180 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5181 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5182 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5183
ab26144e
UD
5184 * nis/nis_table.c (nis_list): Use variable of correct type for
5185 result of __follow_path call.
5186
8a6d5255
AZ
51872011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5188
5189 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5190 of math functions ceil, trunc, floor, round, and sqrt, when
5191 avaliable on the platform.
5192 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5193 name clash.
5194 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5195 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5196 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5197
aaddc98c
MP
51982011-10-30 Marek Polacek <mpolacek@redhat.com>
5199
5200 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5201 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5202
95b7042b
RM
52032011-11-11 Roland McGrath <roland@hack.frob.com>
5204
5205 * include/unistd.h: Fix __readlink return type.
5206 Reported by Chris Metcalf <cmetcalf@tilera.com>.
5207
57769839
UD
52082011-11-11 Ulrich Drepper <drepper@gmail.com>
5209
5210 * stdlib/ucontext.h: Undo last change for makecontext.
5211
edc5984d
AS
52122011-11-11 Andreas Schwab <schwab@redhat.com>
5213
98591e58
AS
5214 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5215
edc5984d
AS
5216 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5217 * setjmp/setjmp.h: Mark functions as non-leaf.
5218 * setjmp/bits/setjmp2.h: Likewise.
5219 * stdlib/ucontext.h: Likewise.
5220
77cdc054
AS
52212011-11-10 Andreas Schwab <schwab@redhat.com>
5222
5223 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5224 (reused_arena): Don't check arena limit.
5225 (arena_get2): Atomically check arena limit.
5226
fe72eebd
UD
52272011-11-08 Ulrich Drepper <drepper@gmail.com>
5228
5f078c32
UD
5229 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5230 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5231
fe72eebd
UD
5232 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5233 instructions.
5234
ae1bc2fa
AS
52352011-11-07 Andreas Schwab <schwab@redhat.com>
5236
7583a88d
AS
5237 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5238 handler when locking.
5239
ae1bc2fa
AS
5240 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5241 Fix size of allocated buffer.
5242
10fb0bfa
AS
52432011-11-04 Andreas Schwab <schwab@redhat.com>
5244
998832a4
AS
5245 [BZ #10103]
5246 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5247 declarations for long double functions.
5248 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5249
10fb0bfa
AS
5250 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5251
3d7ba52b
AS
52522011-11-03 Andreas Schwab <schwab@redhat.com>
5253
a9ae54a1
AS
5254 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5255 installed.
5256
3d7ba52b
AS
5257 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5258 is disabled.
5259
bc8db248
ST
52602011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5261
5262 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5263
45b96dd6
AS
52642011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5265
647776f6
AS
5266 * include/alloca.h (stackinfo_alloca_round): Define.
5267 (extend_alloca): Use it.
5268 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5269 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5270 here.
5271
d91a8b93
AS
5272 * scripts/check-local-headers.sh: Ignore libaudit.h.
5273
45b96dd6
AS
5274 * nscd/Makefile (extra-objs): Make recursively expanded.
5275
432d41ce
UD
52762011-11-01 Ulrich Drepper <drepper@gmail.com>
5277
34372fc6
UD
5278 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5279 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5280
fadb59f8
UD
5281 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5282 * posix/tst-rfc3484-2.c: Likewise.
5283 * posix/tst-rfc3484-3.c: Likewise.
5284
78239589
UD
5285 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5286 process_vm_writev.
5287 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5288 process_vm_writev.
5289 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5290 process_vm_writev from libc using GLIBC_2.15 version.
5291
432d41ce
UD
5292 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5293
02f9c6cf
PP
52942011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5295
5296 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5297 stack usage.
5298
3a2c0242
UD
52992011-10-31 Ulrich Drepper <drepper@gmail.com>
5300
f4ec4833
UD
5301 [BZ #13367]
5302 * nss/getent.c (initgroups_keys): Show error message in case no group
5303 names are given.
5304
3a2c0242
UD
5305 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5306 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5307 __bump_nl_timestamp.
5308 * nscd/connections (nscd_init): When host database is served open
5309 netlink socket and request notification about configuration changes.
5310 (main_loop_poll): Track netlink file descriptor and bump timestamp
5311 in case data becomes available.
5312 (main_loop_epoll): Likewise.
5313 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5314 (database_pers_head): Add extra_data fileds.
5315 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5316 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5317 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5318 Adjust caller.
5319 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5320 in6ai data, call __free_in6ai.
5321 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5322 Add -DHAVE_NETLINK.
5323 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5324 interface information. Reuse previous data if netlink timestamp
5325 is not changed.
5326 (__bump_nl_timestamp): New function.
5327 (__free_in6ai): New function.
5328
636064eb
UD
53292011-10-30 Ulrich Drepper <drepper@gmail.com>
5330
5331 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5332 close_not_cancel_no_status here.
5333 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5334
9beb2334
UD
53352011-10-29 Ulrich Drepper <drepper@gmail.com>
5336
6ef76f3b
UD
5337 [BZ #13276]
5338 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5339 return value.
5340
0ffc4f3e 5341 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
5342 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5343 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5344
cb95113e
UD
53452011-07-03 Andreas Jaeger <aj@suse.de>
5346
5347 [BZ #10709]
5348 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5349 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5350 * math/libm-test.inc (sin_test): Add test case.
5351
a1b560ff
UD
53522011-10-29 Ulrich Drepper <drepper@gmail.com>
5353
c9aaface
UD
5354 [BZ #13337]
5355 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5356 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5357
d272e7f1
UD
5358 * elf/chroot_canon.c (chroot_canon): Cleanups.
5359
1bc33071
UD
5360 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5361
1760874d
TJ
5362 [BZ #13335]
5363 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5364 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5365
51d91b18
UD
5366 * string/test-strchr.c: Make usable for strchrnul testing.
5367 * string/test-strchrnul.c: New file.
5368 * string/Makefile (strop-tests): Add strchrnul.
5369
a1b560ff 5370 * po/it.po: Update from translation team.
b611fb81 5371 * po/es.po: Likewise.
a1b560ff 5372
a5b81e1f
UD
53732011-10-28 Ulrich Drepper <drepper@gmail.com>
5374
fd52bc6d
UD
5375 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5376 the three constants needed as parameters. Drop the others.
5377 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5378 __m128i_strloadu_tolower.
52e4b9eb
UD
5379 Create and initialize variable zero and use it in all the places
5380 where _mm_setzero_si128 was used.
fd52bc6d 5381
a5b81e1f
UD
5382 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5383 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5384 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5385 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5386 anymore.
5387 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5388 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5389 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5390 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5391 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5392 __mpranred, __mptan.
5393 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5394 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5395 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5396 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5397 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5398 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5399 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5400 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5401 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5402
b4343346
AS
54032011-10-28 Andreas Schwab <schwab@redhat.com>
5404
0c92d8a8
AS
5405 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5406 redefine if SHARED.
5407 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5408
b4343346
AS
5409 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5410 wide char related routines to wcsmbs subdir.
5411
3871f58f
AS
54122011-10-27 Andreas Schwab <schwab@redhat.com>
5413
5414 [BZ #13344]
5415 * misc/sys/cdefs.h (__THROWNL): Define.
5416 * posix/unistd.h: Use __THREADNL instead of __THREAD
5417 for memory synchronization functions.
5418
94d44d9f
RM
54192011-10-26 Roland McGrath <roland@hack.frob.com>
5420
21b64b15 5421 [BZ #13349]
94d44d9f
RM
5422 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5423 doesn't exist.
5424 * manual/stdio.texi (Obstack Streams): Node removed.
5425
f6ce9294
AS
54262011-10-26 Andreas Schwab <schwab@redhat.com>
5427
80479147
AS
5428 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5429 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5430 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5431
f6ce9294
AS
5432 * math/math_private.h (math_force_eval): Allow non-addressable
5433 arguments.
5434 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5435
618280a1
UD
54362011-10-25 Ulrich Drepper <drepper@gmail.com>
5437
e0016b11
UD
5438 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5439 file is not needed.
5440
5441 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5442 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5443 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5444 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5445 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5446 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5447 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5448 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5449 Add AVX variants.
5450 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5451 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5452 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5453 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5454 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5455 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5456 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5457 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5458 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5459 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5460 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5461 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5462 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5463 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5464 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5465 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5466 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5467 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5468 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5469
5470 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5471 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5472
618280a1
UD
5473 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5474 place. Use VEX encoding when compiling for AVX.
5475
37822576
AS
54762011-10-25 Andreas Schwab <schwab@redhat.com>
5477
1f1e1947
AS
5478 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5479 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5480
37822576
AS
5481 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5482
31ea014d
UD
54832011-10-25 Ulrich Drepper <drepper@gmail.com>
5484
d7826aa1 5485 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 5486 useless if() expression.
d7826aa1
UD
5487 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5488 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5489 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5490 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5491 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5492 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5493 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5494 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5495 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5496 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5497 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5498 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5499 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5500 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5501 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5502 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5503 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5504 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5505 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5506
31ea014d
UD
5507 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5508
16437fec
AS
55092011-10-25 Andreas Schwab <schwab@redhat.com>
5510
5511 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5512 condition.
5513 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5514
31d3cc00
UD
55152011-10-25 Ulrich Drepper <drepper@gmail.com>
5516
5517 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5518 .text section. Avoid duplicate constants.
5519 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5520 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5521 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5522 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5523 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5524 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5525 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5526 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5527 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5528 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5529 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5530 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5531 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5532 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5533 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5534 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5535 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5536 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5537 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5538 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5539 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5540 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5541 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5542 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5543 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5544 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5545 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5546 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5547 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5548 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5549 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5550 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5551 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5552 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5553 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5554 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5555 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5556 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5557 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5558 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5559 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5560 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5561 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5562 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5563 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5564
58985aa9
UD
55652011-10-24 Ulrich Drepper <drepper@gmail.com>
5566
202c9deb
UD
5567 * sysdeps/x86_64/dla.h: Move to ...
5568 * sysdeps/x86_64/fpu/dla.h: ...here.
5569 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5570 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 5571
af968f62
UD
5572 * config.make.in: Add have-mfma4 entry.
5573 * configure.in: Substitute libc_cv_cc_fma4.
5574 * math/Makefile (dbl-only-routines): Add sincostab.
5575 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5576 Use __sincostab not sincos.
5577 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5578 name is a macro.
5579 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5580 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5581 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5582 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5583 using __copysign.
5584 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5585 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5586 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5587 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5588 and __inv.
5589 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5590 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5591 __copysign.
5592 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5593 define aliases when function name is a macro.
5594 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5595 sysdeps/ieee754/dbl-64/sincos.tbl.
5596 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5597 fma4-enabled routines.
5598 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5599 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5600 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5601 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5602 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5603 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5604 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5605 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5606 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5607 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5608 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5609 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5610 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5611 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5612 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5613 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5614 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5615 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5616 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5617 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5618 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5619 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5620 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5621 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5622 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5623 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5624 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5625 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5626 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5627 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5628
58985aa9
UD
5629 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5630 rename.
5631 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5632 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5633 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5634 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5635 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5636 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5637 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5638 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5639
a201fbcf
AS
56402011-10-24 Andreas Schwab <schwab@redhat.com>
5641
5642 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5643
fc2ee42a
LD
56442011-10-23 Ulrich Drepper <drepper@gmail.com>
5645
bb3129bd
UD
5646 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5647
0275fff8
UD
5648 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5649 prediction.
5650 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5651
2fa2ae85
UD
5652 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5653 Remove unused variable magic_bits.
5654 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5655
fc2ee42a
LD
5656 * string/strnlen.c: Define and use STRNLEN macro.
5657 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5658 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5659 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5660 * wcsmbs/wcslen.c: Define and use WCSLEN.
5661 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5662 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5663 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5664 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5665 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5666 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5667 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5668
ce7dd29f
LD
56692011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5670
5671 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5672 strnlen-sse2-no-bsf.
5673 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5674 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5675 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5676 Add strnlen support.
5677 (USE_AS_STRNLEN): New macro.
5678 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5679 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5680 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5681 * sysdeps/x86_64/wcslen.S: New file.
5682
979c70a3
MZ
56832011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5684
5685 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5686 XMM-moves are used for copying on small sizes.
5687
2d09f82f
LD
56882011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5689
5690 * wcsmbs/Makefile (strop-tests): Add wcschr.
5691 * wcsmbs/test-wcschr.c: New file.
5692 * string/test-strchr.c: Update.
5693 Add wcschr support.
5694 (WIDE): New macro.
5695
619fccca
LD
56962011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5697
2d09f82f 5698 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
5699 * wcsmbs/test-wcslen.c: New file.
5700 * string/test-strlen.c: Update.
5701 Add wcslen support.
5702 (WIDE): New macro.
5703
09f699ea
UD
57042011-10-23 Ulrich Drepper <drepper@gmail.com>
5705
5706 * po/it.po: Update from translation team.
5707
95584d3b
LD
57082011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5709
5710 * sysdeps/x86_64/wcscmp.S: Update.
5711 Fix wrong comparison semantics.
5712 wcscmp shall use signed comparison not unsigned.
5713 Don't use substraction to avoid overflow bug.
5714 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5715 * wcsmbc/wcscmp.c: Likewise.
5716 * string/test-strcmp.c: Likewise.
5717 Add new tests to check cases with negative values.
5718
c8b3296b
UD
57192011-10-23 Ulrich Drepper <drepper@gmail.com>
5720
5721 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5722 * sysdeps/x86_64/dla.h: ...here. New file.
5723 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5724 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5725 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5726 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5727 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5728 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5729 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5730 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5731 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5732
246ad57a
AS
57332011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5734
5735 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5736 __ynl_finite aliases.
5737
a1a87169
UD
57382011-10-22 Ulrich Drepper <drepper@gmail.com>
5739
0d355eb7
UD
5740 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5741
a1a87169
UD
5742 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5743 define DLA_FMA.
5744 [DLA_FMA] (EMULV): Use DLA_FMA.
5745 [DLA_FMA] (MUL12): Use EMULV.
5746 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5747 that are not needed.
5748 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5749 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5750 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5751 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5752 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5753 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5754 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5755
ee2aafe0
AS
57562011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5757
5758 * math/s_nan.c: Undef __nan.
5759 * math/s_nanf.c: Undef __nanf.
5760 * math/s_nanl.c: Undef __nanl.
5761 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5762 "math_private.h".
5763
bc62c2fb
UD
57642011-10-22 Ulrich Drepper <drepper@gmail.com>
5765
77425c63
UD
5766 * math/s_catan.c: Add branch predictions.
5767 * math/s_catanf.c: Likewise.
5768 * math/s_catanh.c: Likewise.
5769 * math/s_catanhf.c: Likewise.
5770 * math/s_catanhl.c: Likewise.
5771 * math/s_catanl.c: Likewise.
5772 * math/s_cexp.c: Likewise.
5773 * math/s_cexpf.c: Likewise.
5774 * math/s_cexpl.c: Likewise.
5775 * math/s_clog.c: Likewise.
5776 * math/s_clog10.c: Likewise.
5777 * math/s_clog10f.c: Likewise.
5778 * math/s_clog10l.c: Likewise.
5779 * math/s_clogf.c: Likewise.
5780 * math/s_clogl.c: Likewise.
5781 * math/s_csqrt.c: Likewise.
5782 * math/s_csqrtf.c: Likewise.
5783 * math/s_csqrtl.c: Likewise.
5784 * math/s_ctanf.c: Likewise.
5785 * math/s_ctanh.c: Likewise.
5786 * math/s_ctanhf.c: Likewise.
5787 * math/s_ctanhl.c: Likewise.
5788 * math/s_ctanl.c: Likewise.
5789
bc62c2fb
UD
5790 * math/math_private.h: Define __nan, __nanf, __nanl.
5791 * math/s_cacosh.c: Include <math_private.h>.
5792 * math/s_cacoshl.c: Likewise.
5793 * math/s_casinh.c: Likewise.
5794 * math/s_casinhf.c: Likewise.
5795 * math/s_casinhl.c: Likewise.
5796 * math/s_ccos.c: Rely entire on ccosh.
5797 * math/s_ccosf.c: Rely entire on ccoshf.
5798 * math/s_ccosl.c: Rely entirely on ccoshl.
5799 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5800 Remove tests for FE_INVALID.
5801 * math/s_ccoshf.c: Likewise.
5802 * math/s_ccoshl.c: Likewise.
5803 * math/s_csin.c: Likewise.
5804 * math/s_csinf.c: Likewise.
5805 * math/s_csinh.c Likewise.
5806 * math/s_csinhf.c: Likewise.
5807 * math/s_csinhl.c: Likewise.
5808 * math/s_csinl.c: Likewise.
5809 * math/s_ctan.c: Likewise.
5810 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
5811 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
5812 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
5813
8ec250a4
UD
58142011-10-21 Ulrich Drepper <drepper@gmail.com>
5815
c196fed8
UD
5816 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
5817 compilation problems.
5818
8ec250a4
UD
5819 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
5820 __builtin_expect.
5821
8d4f46c6
UD
58222011-10-20 Ulrich Drepper <drepper@gmail.com>
5823
ed72b654
UD
5824 * sysdeps/i386/configure.in: Test for -mfma4 option.
5825 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
5826 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
5827 COMMON_CPUID_INDEX_80000001.
5828 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
5829 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
5830 use it if FMA3 is not supported.
5831 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5832
8d4f46c6
UD
5833 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
5834 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5835
d45c60c2
AS
58362011-10-20 Andreas Schwab <schwab@redhat.com>
5837
5838 [BZ #12892]
5839 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
5840 it would create a cycle with a link time dependency.
5841
d9a4d2ab
UD
58422011-10-19 Ulrich Drepper <drepper@gmail.com>
5843
855d1560
UD
5844 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
5845 instruction.
5846 * string/Makefile (strop-tests): Add rawmemchr.
5847 * string/test-rawmemchr.c: New file.
5848
d9a4d2ab
UD
5849 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
5850 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
5851 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
5852 when compiling str{,n}casecmp and when AVX is available. Hook up
5853 new optimized code in initializers.
5854
8f3b1ffe
AS
58552011-10-19 Andreas Schwab <schwab@redhat.com>
5856
5857 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
5858 __feraiseexcept instead of feraiseexcept.
5859
d38f1dba
UD
58602011-10-18 Ulrich Drepper <drepper@gmail.com>
5861
d9a8d0ab
UD
5862 * math/math_private.h: Define defaults for libc_fetestexcept and
5863 libc_feupdateenv.
5864 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
5865 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5866 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5867 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5868 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5869 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5870 libc_fetestexcept and libc_feupdateenv.
5871
4855e3dd
UD
5872 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
5873 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
5874 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
5875 * sysdeps/x86_64/fpu/math_private.h: Define special version of
5876 libc_feholdexcept_setround.
5877
581d30e3
UD
5878 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
5879 Add s_nearbyint-c and s_nearbyintf-c.
5880 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
5881 nearbyintf inlines.
5882 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
5883 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
5884 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
5885 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
5886
d38f1dba
UD
5887 * math/math_private.h: Define defaults for libc_fegetround,
5888 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
5889 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
5890 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
5891 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
5892 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
5893 standard functions.
5894 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5895 Remove comments and hacks for old compiler versions.
5896 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5897 libc_fegetround, libc_fesetround, libc_feholdexcept, and
5898 libc_feholdexceptl.
5899
caa6c9d8
AS
59002011-10-18 Andreas Schwab <schwab@redhat.com>
5901
5902 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
5903 (__feraiseexcept_renamed): Add __NTH.
5904 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
5905 namespace violations.
5906
97c066e6
UD
59072011-10-17 Ulrich Drepper <drepper@gmail.com>
5908
99ce7b04
UD
5909 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
5910
1004d182
UD
5911 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
5912
228a984d
UD
5913 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
5914 recently added interfaces.
5915 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
5916
c8553a6a
UD
5917 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
5918 about macro parameter expansion.
5919
ed22dcf6
UD
5920 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
5921 __NO_MATH_INLINES is defined. Cleanups.
5922
5923 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
5924 and __floorf is target has SSE4.1.
5925 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
5926 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
5927 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
5928 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
5929
b171c137
UD
5930 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
5931 name.
5932 (floorf): Likewise.
5933
97c066e6
UD
5934 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
5935
629f62ef
AS
59362011-10-17 Andreas Schwab <schwab@redhat.com>
5937
49a43d80
AS
5938 * misc/sys/cdefs.h: Fix last change.
5939
629f62ef
AS
5940 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
5941 database lookup.
5942
e453f6cd
UD
59432011-10-16 Ulrich Drepper <drepper@gmail.com>
5944
aa78043a
UD
5945 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
5946
ad0f5cad
UD
5947 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
5948 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5949 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5950 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5951 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5952 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5953 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5954 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5955 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5956 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
5957 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
5958 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
5959 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
5960 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
5961 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
5962 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
5963 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
5964 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
5965 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
5966 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
5967 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
5968 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
5969
5970 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
5971 ceil, ceilf, floor, floorf.
5972
5973 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
5974 Perform IRELATIVE relocations last.
5975
e453f6cd
UD
5976 * elf/do-rel.h: Add another parameter nrelative, replacing the
5977 local variable with the same name. Change name of the function
5978 to end in Rel or Rela (uppercase).
5979 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
5980 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
5981 elf_dynamic_do_##reloc function.
5982
fd5bdc09
UD
59832011-10-15 Ulrich Drepper <drepper@gmail.com>
5984
79b195b5
UD
5985 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
5986 is sufficient, at least on modern CPUs.
5987
d4a28569
UD
5988 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
5989
b61099b5
UD
5990 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
5991 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
5992
bcf01e6d
UD
5993 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
5994 __expl_finite.
5995 * math/bits/math-finite.h: Add entries for exp.
5996 * math/e_expl.c: Add __*_finite alias.
5997 * sysdeps/i386/fpu/e_exp.S: Likewise.
5998 * sysdeps/i386/fpu/e_expf.S: Likewise.
5999 * sysdeps/i386/fpu/e_expl.c: Likewise.
6000 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6001 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6002 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6003 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6004 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6005 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6006 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6007
ba1a0d59
UD
6008 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6009 is sufficient, at least on modern CPUs.
6010
fd5bdc09
UD
6011 * ctype/ctype-info.c (__ctype_init): Define.
6012 * include/ctype.h (__ctype_init): Declare.
6013 (__ctype_b_loc): The variable is always initialized.
6014 (__ctype_toupper_loc): Likewise.
6015 (__ctype_tolower_loc): Likewise.
6016 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6017 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6018
7872cfb0
AS
60192011-10-15 Andreas Schwab <schwab@linux-m68k.org>
6020
b468825a
AS
6021 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6022
7872cfb0
AS
6023 * configure.in: Also look in $cxxmachine/include for C++ system
6024 headers.
6025
be13f7bf
LD
60262011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6027
6028 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6029 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6030 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6031 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
6032 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6033 (USE_AS_WMEMCMP): New macro.
6034 Fixing indents.
6035 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6036 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6037 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6038 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6039 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6040 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6041 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6042 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6043 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6044 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6045 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6046 (USE_AS_WMEMCMP): New macro.
6047 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6048 * sysdeps/string/test-memcmp.c: Update.
6049 Fix simple_wmemcmp.
6050 Add new tests.
6051 * wcsmbs/wmemcmp.c: Update.
6052 (WMEMCMP): New macro.
6053 Fix overflow bug.
6054
556a2007
AJ
60552011-10-12 Andreas Jaeger <aj@suse.de>
6056
6057 [BZ #13268]
6058 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6059
538faaa7
UD
60602011-10-15 Ulrich Drepper <drepper@gmail.com>
6061
ab6737ff
UD
6062 * libio/iofwide.c (do_length): Avoid warning.
6063
538faaa7
UD
6064 * ctype/ctype.h (__isctype_f): Add missing __THROW.
6065
396a21b1
UD
60662011-10-14 Ulrich Drepper <drepper@gmail.com>
6067
cdf2901f
UD
6068 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6069
38ad40ce
UD
6070 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6071 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6072 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6073 * sysdeps/i386/i686/fpu/e_log.S: New file.
6074 * sysdeps/i386/i686/fpu/e_logf.S: New file.
6075 * sysdeps/i386/i686/fpu/e_logl.S: New file.
6076
396a21b1
UD
6077 * ctype/ctype.h: Add support for inlined isXXX functions when
6078 compiling C++ code.
6079
6b1f68c9
AS
60802011-10-14 Andreas Schwab <schwab@redhat.com>
6081
349290c0
AS
6082 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6083
6b1f68c9
AS
6084 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6085
f2282d42
RM
60862011-10-13 Roland McGrath <roland@hack.frob.com>
6087
6088 [BZ #13291]
6089 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6090
5298ffa8
AS
60912011-10-13 Andreas Schwab <schwab@redhat.com>
6092
714fad23
AS
6093 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6094 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6095 feraiseexcept.
6096
81dcc7fb
AS
6097 * sysdeps/x86_64/memrchr.S: Check for zero size.
6098
5298ffa8
AS
6099 * string/stratcliff.c: Add memrchr tests.
6100
951fbcec
LD
61012011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6102
6103 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6104 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6105 rawmemchr-sse2 rawmemchr-sse2-bsf.
6106 * sysdeps/i386/i686/multiarch/memchr.S: New file.
6107 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6108 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6109 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6110 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6111 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6112 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6113 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6114 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6115 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6116 * string/memrchr.c (MEMRCHR): New macro.
6117
0ac5ae23
UD
61182011-10-12 Ulrich Drepper <drepper@gmail.com>
6119
6120 Add integration with gcc's -ffinite-math-only and optimize wrapper
6121 functions in libm.
6122 * Versions.def: Define GLIBC_2.15 version for libm.
6123 * math/Makefile (headers): Add bits/math-finite.h.
6124 * math/bits/math-finite.h: New file.
6125 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6126 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6127 * math/e_acoshl.c: Add __*_finite alias.
6128 * math/e_acosl.c: Likewise.
6129 * math/e_asinl.c: Likewise.
6130 * math/e_atan2l.c: Likewise.
6131 * math/e_atanhl.c: Likewise.
6132 * math/e_coshl.c: Likewise.
6133 * math/e_exp10.c: Likewise.
6134 * math/e_exp10f.c: Likewise.
6135 * math/e_exp10l.c: Likewise.
6136 * math/e_exp2l.c: Likewise.
6137 * math/e_fmodl.c: Likewise.
6138 * math/e_gammal_r.c: Likewise.
6139 * math/e_hypotl.c: Likewise.
6140 * math/e_j0l.c: Likewise.
6141 * math/e_j1l.c: Likewise.
6142 * math/e_jnl.c: Likewise.
6143 * math/e_lgammal_r.c: Likewise.
6144 * math/e_log10l.c: Likewise.
6145 * math/e_log2l.c: Likewise.
6146 * math/e_logl.c: Likewise.
6147 * math/e_powl.c: Likewise.
6148 * math/e_sinhl.c: Likewise.
6149 * math/e_sqrtl.c: Likewise.
6150 * math/e_scalb.c: Completely rewritten and optimized.
6151 * math/e_scalbf.c: Likewise.
6152 * math/e_scalbl.c: Likewise.
6153 * math/w_acos.c: Likewise.
6154 * math/w_acosf.c: Likewise.
6155 * math/w_acosl.c: Likewise.
6156 * math/w_acosh.c: Likewise.
6157 * math/w_acoshf.c: Likewise.
6158 * math/w_acoshl.c: Likewise.
6159 * math/w_asin.c: Likewise.
6160 * math/w_asinf.c: Likewise.
6161 * math/w_asinl.c: Likewise.
6162 * math/w_atan2.c: Likewise.
6163 * math/w_atan2f.c: Likewise.
6164 * math/w_atan2l.c: Likewise.
6165 * math/w_atanh.c: Likewise.
6166 * math/w_atanhf.c: Likewise.
6167 * math/w_atanhl.c: Likewise.
6168 * math/w_exp10.c: Likewise.
6169 * math/w_exp10f.c: Likewise.
6170 * math/w_exp10l.c: Likewise.
6171 * math/w_fmod.c: Likewise.
6172 * math/w_fmodf.c: Likewise.
6173 * math/w_fmodl.c: Likewise.
6174 * math/w_j0.c: Likewise.
6175 * math/w_j0f.c: Likewise.
6176 * math/w_j0l.c: Likewise.
6177 * math/w_j1.c: Likewise.
6178 * math/w_j1f.c: Likewise.
6179 * math/w_j1l.c: Likewise.
6180 * math/w_jn.c: Likewise.
6181 * math/w_jnf.c: Likewise.
6182 * math/w_log.c: Likewise.
6183 * math/w_logf.c: Likewise.
6184 * math/w_logl.c: Likewise.
6185 * math/w_log10.c: Likewise.
6186 * math/w_log10f.c: Likewise.
6187 * math/w_log10l.c: Likewise.
6188 * math/w_log2.c: Likewise.
6189 * math/w_log2f.c: Likewise.
6190 * math/w_log2l.c: Likewise.
6191 * math/w_pow.c: Likewise.
6192 * math/w_powf.c: Likewise.
6193 * math/w_powl.c: Likewise.
6194 * math/w_remainder.c: Likewise.
6195 * math/w_remainderf.c: Likewise.
6196 * math/w_remainderl.c: Likewise.
6197 * math/w_scalb.c: Likewise.
6198 * math/w_scalbf.c: Likewise.
6199 * math/w_scalbl.c: Likewise.
6200 * math/w_sqrt.c: Likewise.
6201 * math/w_sqrtf.c: Likewise.
6202 * math/w_sqrtl.c: Likewise.
6203 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6204 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
6205 used.
6206 * math/math_private.h: Declare __kernel_standard_f.
6207 * math/w_cosh.c: Remove cruft and optimize a bit.
6208 * math/w_coshf.c: Likewise.
6209 * math/w_coshl.c: Likewise.
6210 * math/w_exp2.c: Likewise.
6211 * math/w_exp2f.c: Likewise.
6212 * math/w_exp2l.c: Likewise.
6213 * math/w_hypot.c: Likewise.
6214 * math/w_hypotf.c: Likewise.
6215 * math/w_hypotl.c: Likewise.
6216 * math/w_lgamma.c: Likewise.
6217 * math/w_lgamma_r.c: Likewise.
6218 * math/w_lgammaf.c: Likewise.
6219 * math/w_lgammaf_r.c: Likewise.
6220 * math/w_lgammal.c: Likewise.
6221 * math/w_lgammal_r.c: Likewise.
6222 * math/w_sinh.c: Likewise.
6223 * math/w_sinhf.c: Likewise.
6224 * math/w_sinhl.c: Likewise.
6225 * math/w_tgamma.c: Likewise.
6226 * math/w_tgammaf.c: Likewise.
6227 * math/w_tgammal.c: Likewise.
6228 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6229 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6230 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6231 Minor optimizations. Pretty printing. Remove cruft.
6232 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6233 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6234 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6235 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6236 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6237 * sysdeps/i386/fpu/e_asin.S: Likewise.
6238 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6239 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6240 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6241 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6242 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6243 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6244 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6245 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6246 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6247 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6248 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6249 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6250 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6251 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6252 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6253 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6254 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6255 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6256 * sysdeps/i386/fpu/e_log.S: Likewise.
6257 * sysdeps/i386/fpu/e_log10.S: Likewise.
6258 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6259 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6260 * sysdeps/i386/fpu/e_log2.S: Likewise.
6261 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6262 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6263 * sysdeps/i386/fpu/e_logf.S: Likewise.
6264 * sysdeps/i386/fpu/e_logl.S: Likewise.
6265 * sysdeps/i386/fpu/e_pow.S: Likewise.
6266 * sysdeps/i386/fpu/e_powf.S: Likewise.
6267 * sysdeps/i386/fpu/e_powl.S: Likewise.
6268 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6269 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6270 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6271 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6272 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6273 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6274 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6275 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6276 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6277 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6278 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6279 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6280 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6281 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6282 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6283 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6284 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6285 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6286 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6287 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6288 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6289 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6290 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6291 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6292 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6293 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6294 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6295 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6296 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6297 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6298 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6299 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6300 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6301 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6302 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6303 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6304 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6305 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6306 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6307 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6308 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6309 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6310 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6311 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6312 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6313 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6314 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6315 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6316 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6317 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6318 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6319 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6320 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6321 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6322 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6323 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6324 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6325 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6326 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6327 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6328 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6329 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6330 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6331 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6332 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6333 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6334 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6335 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6336 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6337 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6338 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6339 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6340 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6341 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6342 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6343 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6344 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6345 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6346 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6347 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6348 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6349 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6350 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6351 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6352 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6353 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6354 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6355 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6356 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6357 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6358 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6359 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6360 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6361 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6362 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6363 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6364 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6365 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6366 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6367 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6368 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6369 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6370 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6371 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6372 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6373 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6374 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6375 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6376 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6377 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6378 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6379 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6380 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6381 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6382 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6383 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6384 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6385 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6386 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6387 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6388 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6389 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6390 (__isnanf): Likewise.
6391 (__isinf_ns): Likewise.
6392 (__isinf_nsf): Likewise.
6393 (__finite): Likewise.
6394 (__finitef): Likewise.
6395 (__ieee754_sqrt): Define as macro.
6396 (__ieee754_sqrtf): Define as macro.
6397 (__ieee754_sqrtl): Define as macro.
6398 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6399 inlined copy.
6400 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6401 __FINITE_MATH_ONLY__ consistent.
6402 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6403
12cc2fcd
AS
64042011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6405
a843a204
AS
6406 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6407 of rawmemchr.
6408
12cc2fcd
AS
6409 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6410
c853acd5
UD
64112011-10-09 Ulrich Drepper <drepper@gmail.com>
6412
6413 * po/ja.po: Update from translation team.
6414
c658d255
RM
64152011-10-08 Roland McGrath <roland@hack.frob.com>
6416
110946e4
RM
6417 * locale/programs/locarchive.c (prepare_address_space): New function.
6418 (create_archive, enlarge_archive, open_archive): Use it.
6419
50604220
RM
6420 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6421 inside [SHARED], where it is used.
6422
c658d255
RM
6423 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6424
6425 * nss/getent.c (netgroup_keys): Remove unused variable.
6426 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6427
6a621eb7
UD
64282011-10-08 Ulrich Drepper <drepper@gmail.com>
6429
7edb55ce
UD
6430 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6431 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6432 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6433 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6434 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6435 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6436 * math/Makefile (libm-calls): Add s_isinf_ns.
6437 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6438 * math/multc3.c: Likewise.
6439 * math/s_casin.c: Likewise.
6440 * math/s_casinf.c: Likewise.
6441 * math/s_casinl.c: Likewise.
6442 * math/s_ccos.c: Likewise.
6443 * math/s_ccosf.c: Likewise.
6444 * math/s_ccosl.c: Likewise.
6445 * math/s_ctan.c: Likewise.
6446 * math/s_ctanf.c: Likewise.
6447 * math/s_ctanh.c: Likewise.
6448 * math/s_ctanhf.c: Likewise.
6449 * math/s_ctanhl.c: Likewise.
6450 * math/s_ctanl.c: Likewise.
6451 * math/w_fmod.c: Likewise.
6452 * math/w_fmodf.c: Likewise.
6453 * math/w_fmodl.c: Likewise.
6454 * math/w_remainder.c: Likewise.
6455 * math/w_remainderf.c: Likewise.
6456 * math/w_remainderl.c: Likewise.
6457 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6458 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6459 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6460 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6461 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6462 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6463 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6464 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6465
187da0ae
UD
6466 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6467 of the number.
6468 * stdio-common/printf_fphex.c: Likewise.
6469 * stdio-common/printf_size.c: Likewise.
6470
9277c064
UD
6471 * math/e_exp10.c: Include math_private.h using <...> not "...".
6472 * math/e_exp10f.c: Likewise.
6473 * math/e_exp10l.c: Likewise.
6474 * math/e_exp2l.c: Likewise.
6475 * math/e_j0l.c: Likewise.
6476 * math/e_j1l.c: Likewise.
6477 * math/e_jnl.c: Likewise.
6478 * math/e_lgammal_r.c: Likewise.
6479 * math/e_rem_pio2l.c: Likewise.
6480 * math/e_scalb.c: Likewise.
6481 * math/e_scalbf.c: Likewise.
6482 * math/e_scalbl.c: Likewise.
6483 * math/k_cosl.c: Likewise.
6484 * math/k_sinl.c: Likewise.
6485 * math/k_tanl.c: Likewise.
6486 * math/s_cacoshf.c: Likewise.
6487 * math/s_catan.c: Likewise.
6488 * math/s_catanf.c: Likewise.
6489 * math/s_catanh.c: Likewise.
6490 * math/s_catanhf.c: Likewise.
6491 * math/s_catanhl.c: Likewise.
6492 * math/s_catanl.c: Likewise.
6493 * math/s_ccosh.c: Likewise.
6494 * math/s_ccoshf.c: Likewise.
6495 * math/s_ccoshl.c: Likewise.
6496 * math/s_cexp.c: Likewise.
6497 * math/s_cexpf.c: Likewise.
6498 * math/s_cexpl.c: Likewise.
6499 * math/s_clog.c: Likewise.
6500 * math/s_clog10.c: Likewise.
6501 * math/s_clog10f.c: Likewise.
6502 * math/s_clog10l.c: Likewise.
6503 * math/s_clogf.c: Likewise.
6504 * math/s_clogl.c: Likewise.
6505 * math/s_csin.c: Likewise.
6506 * math/s_csinf.c: Likewise.
6507 * math/s_csinh.c: Likewise.
6508 * math/s_csinhf.c: Likewise.
6509 * math/s_csinhl.c: Likewise.
6510 * math/s_csinl.c: Likewise.
6511 * math/s_csqrt.c: Likewise.
6512 * math/s_csqrtf.c: Likewise.
6513 * math/s_csqrtl.c: Likewise.
6514 * math/s_ctan.c: Likewise.
6515 * math/s_ctanf.c: Likewise.
6516 * math/s_ctanh.c: Likewise.
6517 * math/s_ctanhf.c: Likewise.
6518 * math/s_ctanhl.c: Likewise.
6519 * math/s_ctanl.c: Likewise.
6520 * math/s_ldexp.c: Likewise.
6521 * math/s_ldexpf.c: Likewise.
6522 * math/s_ldexpl.c: Likewise.
6523 * math/s_significand.c: Likewise.
6524 * math/s_significandf.c: Likewise.
6525 * math/s_significandl.c: Likewise.
6526 * math/w_acos.c: Likewise.
6527 * math/w_acosf.c: Likewise.
6528 * math/w_acosh.c: Likewise.
6529 * math/w_acoshf.c: Likewise.
6530 * math/w_acoshl.c: Likewise.
6531 * math/w_acosl.c: Likewise.
6532 * math/w_asin.c: Likewise.
6533 * math/w_asinf.c: Likewise.
6534 * math/w_asinl.c: Likewise.
6535 * math/w_atan2.c: Likewise.
6536 * math/w_atan2f.c: Likewise.
6537 * math/w_atan2l.c: Likewise.
6538 * math/w_atanh.c: Likewise.
6539 * math/w_atanhf.c: Likewise.
6540 * math/w_atanhl.c: Likewise.
6541 * math/w_cosh.c: Likewise.
6542 * math/w_coshf.c: Likewise.
6543 * math/w_coshl.c: Likewise.
6544 * math/w_dremf.c: Likewise.
6545 * math/w_exp10.c: Likewise.
6546 * math/w_exp10f.c: Likewise.
6547 * math/w_exp10l.c: Likewise.
6548 * math/w_exp2.c: Likewise.
6549 * math/w_exp2f.c: Likewise.
6550 * math/w_fmod.c: Likewise.
6551 * math/w_fmodf.c: Likewise.
6552 * math/w_fmodl.c: Likewise.
6553 * math/w_hypot.c: Likewise.
6554 * math/w_hypotf.c: Likewise.
6555 * math/w_hypotl.c: Likewise.
6556 * math/w_j0.c: Likewise.
6557 * math/w_j0f.c: Likewise.
6558 * math/w_j0l.c: Likewise.
6559 * math/w_j1.c: Likewise.
6560 * math/w_j1f.c: Likewise.
6561 * math/w_j1l.c: Likewise.
6562 * math/w_jn.c: Likewise.
6563 * math/w_jnf.c: Likewise.
6564 * math/w_jnl.c: Likewise.
6565 * math/w_lgamma.c: Likewise.
6566 * math/w_lgamma_r.c: Likewise.
6567 * math/w_lgammaf.c: Likewise.
6568 * math/w_lgammaf_r.c: Likewise.
6569 * math/w_lgammal.c: Likewise.
6570 * math/w_lgammal_r.c: Likewise.
6571 * math/w_log.c: Likewise.
6572 * math/w_log10.c: Likewise.
6573 * math/w_log10f.c: Likewise.
6574 * math/w_log10l.c: Likewise.
6575 * math/w_log2.c: Likewise.
6576 * math/w_log2f.c: Likewise.
6577 * math/w_log2l.c: Likewise.
6578 * math/w_logf.c: Likewise.
6579 * math/w_logl.c: Likewise.
6580 * math/w_pow.c: Likewise.
6581 * math/w_powf.c: Likewise.
6582 * math/w_powl.c: Likewise.
6583 * math/w_remainder.c: Likewise.
6584 * math/w_remainderf.c: Likewise.
6585 * math/w_remainderl.c: Likewise.
6586 * math/w_scalb.c: Likewise.
6587 * math/w_scalbf.c: Likewise.
6588 * math/w_scalbl.c: Likewise.
6589 * math/w_sinh.c: Likewise.
6590 * math/w_sinhf.c: Likewise.
6591 * math/w_sinhl.c: Likewise.
6592 * math/w_sqrt.c: Likewise.
6593 * math/w_sqrtf.c: Likewise.
6594 * math/w_sqrtl.c: Likewise.
6595 * math/w_tgamma.c: Likewise.
6596 * math/w_tgammaf.c: Likewise.
6597 * math/w_tgammal.c: Likewise.
6598
6a621eb7
UD
6599 * po/ja.po: Update from translation team.
6600
bf582445
AJ
66012011-09-29 Andreas Jaeger <aj@suse.de>
6602
f9efbf3a
AJ
6603 [BZ #13179]
6604 * sunrpc/netname.c (netname2host): Fix logic.
6605
bf582445
AJ
6606 [BZ #6779]
6607 [BZ #6783]
6608 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6609 correctly.
6610 * math/w_remainder.c (__remainder): Likewise.
6611 * math/w_remainderf.c (__remainderf): Likewise.
6612 * math/libm-test.inc (remainder_test): Add test cases.
6613
48693bea
AK
66142011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6615
6616 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6617 sdiv_qrnnd.
6618
42622229
LD
66192011-10-07 Ulrich Drepper <drepper@gmail.com>
6620
6621 * string/test-memcmp.c: Avoid unncessary #defines.
6622 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6623
093ecf92
LD
66242011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6625
6626 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6627 Use new sse2 version for core i3 - i7 as it's faster
6628 than sse42 version.
6629 (bit_Prefer_PMINUB_for_stringop): New.
6630 * sysdeps/x86_64/rawmemchr.S: Update.
6631 Replace with faster SSE2 version.
6632 * sysdeps/x86_64/memrchr.S: New file.
6633 * sysdeps/x86_64/memchr.S: Update.
6634 Replace with faster SSE2 version.
6635
fde56e5c
MP
66362011-09-12 Marek Polacek <mpolacek@redhat.com>
6637
6638 * elf/dl-load.c (lose): Add cast to avoid warning.
6639
21fd49a9
UD
66402011-10-07 Ulrich Drepper <drepper@gmail.com>
6641
5a06e643
UD
6642 * po/ca.po: Update from translation team.
6643
684ae515
UD
6644 * inet/getnetgrent_r.c: Hook up nscd.
6645 * nscd/Makefile (routines): Add nscd_netgroup.
6646 (nscd-modules): Add netgroupcache.
6647 (CFLAGS-netgroupcache.c): Define.
6648 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6649 (cache_search): Add const to second parameter.
6650 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6651 INNETGR.
6652 (dbs): Add netgrdb entry.
6653 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6654 (verify_persistent_db): Handle netgrdb.
6655 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6656 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6657 GETFDNETGR.
6658 (netgroup_response_header): Define.
6659 (innetgroup_response_header): Define.
6660 (datahead): Add netgroup_response_header and innetgroup_response_header
6661 elements.
6662 * nscd/nscd.conf: Add entries for netgroup cache.
6663 * nscd/nscd.h (dbtype): Add netgrdb.
6664 (_PATH_NSCD_NETGROUP_DB): Define.
6665 (netgroup_iov_disabled): Declare.
6666 (xmalloc, xcalloc, xrealloc): Move declarations here.
6667 (cache_search): Adjust prototype.
6668 Add netgroup-related prototypes.
6669 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6670 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6671 (__nscd_innetgr): Declare.
6672 * nscd/selinux.c (perms): Use access_vector_t as element type and
6673 add netgroup-related initializers.
6674 * nscd/netgroupcache.c: New file.
6675 * nscd/nscd_netgroup.c: New file.
6676 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6677 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6678 For four parameters use innetgr.
6679 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6680 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6681 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6682 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6683
21fd49a9
UD
6684 * nscd/connections.c (register_traced_file): Don't register file
6685 for disabled databases.
6686
054c0457
UD
66872011-10-06 Ulrich Drepper <drepper@gmail.com>
6688
32b63198
UD
6689 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6690
054c0457
UD
6691 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6692 from tree and freeing node.
6693
64031225
JO
66942011-09-25 Jiri Olsa <jolsa@redhat.com>
6695
6696 * nss/nsswitch.c (__nss_database_lookup): Handle
6697 nss_parse_service_list out of memory case.
6698
0490345c
JO
66992011-09-15 Jiri Olsa <jolsa@redhat.com>
6700
6701 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6702 out of memory case.
6703
3a62d00d
AS
67042011-10-04 Andreas Schwab <schwab@redhat.com>
6705
6706 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6707 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6708 pass it down.
6709 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6710 elf_machine_rela, elf_machine_lazy_rel.
6711 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6712 (ELF_DYNAMIC_DO_REL): Likewise.
6713 (ELF_DYNAMIC_DO_RELA): Likewise.
6714 (ELF_DYNAMIC_RELOCATE): Likewise.
6715 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6716 to ELF_DYNAMIC_DO_REL.
6717 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6718 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6719 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6720 elf_machine_rela.
6721 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6722 skip_ifunc, don't call ifunc function if non-zero.
6723 (elf_machine_rela): Likewise.
6724 (elf_machine_lazy_rel): Likewise.
6725 (elf_machine_lazy_rela): Likewise.
6726 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6727 (elf_machine_lazy_rel): Likewise.
6728 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6729 Likewise.
6730 (elf_machine_lazy_rel): Likewise.
6731 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6732 Likewise.
6733 (elf_machine_lazy_rel): Likewise.
6734 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6735 (elf_machine_lazy_rel): Likewise.
6736 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6737 (elf_machine_lazy_rel): Likewise.
6738 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6739 (elf_machine_lazy_rel): Likewise.
6740 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6741 (elf_machine_lazy_rel): Likewise.
6742 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6743 (elf_machine_lazy_rel): Likewise.
6744 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6745 (elf_machine_lazy_rel): Likewise.
6746
68577918
UD
67472011-09-28 Ulrich Drepper <drepper@gmail.com>
6748
6749 * nss/nss_files/files-init.c (_nss_files_init): Use static
6750 initialization for all the *_traced_file variables.
6751
68822d74
AS
67522011-09-28 Andreas Schwab <schwab@redhat.com>
6753
6754 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6755
2056100b
RM
67562011-09-27 Roland McGrath <roland@hack.frob.com>
6757
6758 [BZ #13226]
6759 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6760
32c76b63
AS
67612011-09-27 Andreas Schwab <schwab@redhat.com>
6762
6763 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6764 Reread the line before reparsing it.
6765
bf972c9d
AS
67662011-09-26 Andreas Schwab <schwab@redhat.com>
6767
6768 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6769
e057a1b5
JM
67702011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6771 Maxim Kuvyrkov <maxim@codesourcery.com>
6772 Joseph Myers <joseph@codesourcery.com>
6773
6774 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6775 if needed for __stack_chk_guard.
6776
bc7e1c36
RM
67772011-09-19 Roland McGrath <roland@hack.frob.com>
6778
ecb1482f
RM
6779 * sysdeps/posix/spawni.c (script_execute): Always define it.
6780 It will be optimized away if unused.
6781 (maybe_script_execute): New function.
6782 (__spawni): Call it.
6783
bc7e1c36
RM
6784 * Makerules: Don't include tls.make.
6785 (config-tls): Always set to thread.
6786 * tls.make.c: File removed.
6787
1c3b002b
MF
67882011-09-19 Mike Frysinger <vapier@gentoo.org>
6789
6790 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6791 * config.make.in (CPPFLAGS-config): New substituted variable.
6792
2840865d
UD
67932011-09-15 Ulrich Drepper <drepper@gmail.com>
6794
88738eb6
UD
6795 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6796
cbf645a6 6797 [BZ #13192]
2840865d
UD
6798 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6799 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6800
b402e91a
RM
68012011-09-15 Roland McGrath <roland@hack.frob.com>
6802
6803 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6804 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6805 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6806 (CALL_FAIL): Likewise.
6807 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6808 (CALL_FAIL): Macro removed.
6809 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
6810
4c1a1f71
UD
68112011-09-15 Ulrich Drepper <drepper@gmail.com>
6812
6813 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
6814 for __FINITE_MATH_ONLY__ == 1.
6815
edc121be
AS
68162011-09-15 Andreas Schwab <schwab@redhat.com>
6817
6818 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
6819 __ieee754_sqrt instead of sqrt.
6820 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
6821 __ieee754_sqrtf instead of sqrtf.
6822 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6823 __floorf instead of floorf.
6824 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
6825 __floorf, __truncf instead of floorf, truncf.
6826
cd205654
UD
68272011-09-14 Ulrich Drepper <drepper@gmail.com>
6828
ee4d0315
UD
6829 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
6830
cd205654
UD
6831 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
6832 __extern_always_inline.
6833 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
6834 32-bit.
6835
48b67d71
AS
68362011-09-14 Andreas Schwab <schwab@redhat.com>
6837
6838 * elf/rtld.c (dl_main): Also relocate in dependency order when
6839 doing symbol dependency testing.
6840
1ae12c75
AS
68412011-09-13 Andreas Schwab <schwab@linux-m68k.org>
6842
6843 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6844 Always define `refsym'.
6845
995a80df
AS
68462011-09-13 Andreas Schwab <schwab@redhat.com>
6847
e529793b
AS
6848 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
6849 (__FD_ELT): Renamed from __FDELT.
6850 * misc/bits/select2.h (__FD_ELT): Likewise.
6851 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
6852 __FD_MASK instead of __FDELT, __FDMASK.
6853 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6854 Likewise.
6855 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6856 Likewise.
6857
52d4fef8
AS
6858 * elf/Makefile (gen-ldd): Fix pattern.
6859
995a80df
AS
6860 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
6861 (init_tls): Likewise.
6862
8682f8b0
UD
68632011-09-12 Ulrich Drepper <drepper@gmail.com>
6864
6865 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
6866
de82006d
AS
68672011-09-12 Andreas Schwab <schwab@redhat.com>
6868
a7c8e6a1
AS
6869 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
6870 `struct cmsghdr *' instead of `void *'.
6871 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
6872 Likewise.
6873
0f31fe77
AS
68742011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6875
6876 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
6877 if non-absolute.
6878 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
6879 ldd_rewrite_script.
0f31fe77 6880
32b4c839
UD
68812011-09-11 Ulrich Drepper <drepper@gmail.com>
6882
83cd1420
UD
6883 * configure.in: Remove --with-tls option.
6884 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
6885 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
6886 out in case it is missing.
6887 * sysdeps/ia64/elf/configure.in: Likewise.
6888 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
6889 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
6890 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
6891 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
6892 * sysdeps/sh/elf/configure.in: Likewise.
6893 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
6894 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6895 * sysdeps/x86_64/elf/configure.in: Likewise.
6896 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
6897 * sysdeps/mach/hurd/tls.h: Likewise.
6898
633f745d
UD
6899 [BZ #13067]
6900 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
6901
f318beb8
UD
6902 [BZ #13090]
6903 * configure.in: Fix use of AC_INIT.
6904
32b4c839
UD
6905 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
6906
3ce1f295
UD
69072011-09-10 Ulrich Drepper <drepper@gmail.com>
6908
bb016596
UD
6909 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
6910 __set_errno.
8e58439c
UD
6911 * malloc/hooks.c: Likewise.
6912
aebae053 6913 [BZ #11929]
02d46fc4
UD
6914 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
6915 variables statically.
6916 (narenas): Initialize.
6917 (list_lock): Initialize.
bb016596
UD
6918 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
6919 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
6920 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
6921 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
6922 Add initializers to main_arena and mp_.
6923 (malloc_state): Remove pagesize member. Change all users to use
6924 GLRO(dl_pagesize).
6925
6926 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
6927 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
6928 is always initialized.
6929
22a89187
UD
6930 * malloc/malloc.c: Removed unused configurations and dead code.
6931 * malloc/arena.c: Likewise.
6932 * malloc/hooks.c: Likewise.
02d46fc4 6933 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 6934
d063d164
UD
6935 * include/tls.h: Removed. USE___THREAD must always be defined.
6936 * bits/libc-tsd.h: Don't handle !USE___THREAD.
6937 * elf/dl-libc.c: Likewise.
6938 * elf/dl-tsd.c: Likewise.
6939 * include/errno.h: Likewise.
6940 * include/netdb.h: Likewise.
6941 * include/resolv.h: Likewise.
6942 * inet/herrno-loc.c: Likewise.
6943 * inet/herrno.c: Likewise.
6944 * malloc/arena.c: Likewise.
6945 * malloc/hooks.c: Likewise.
6946 * malloc/malloc.c: Likewise.
6947 * resolv/res-state.c: Likewise.
6948 * resolv/res_libc.c: Likewise.
6949 * sysdeps/i386/dl-machine.h: Likewise.
6950 * sysdeps/ia64/dl-machine.h: Likewise.
6951 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6952 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6953 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6954 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6955 * sysdeps/sh/dl-machine.h: Likewise.
6956 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6957 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6958 * sysdeps/unix/i386/sysdep.S: Likewise.
6959 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6960 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6961 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6962 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6963 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6964 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6965 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6966 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6967 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6968 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6969 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6970 * sysdeps/x86_64/dl-machine.h: Likewise.
6971 * tls.make.c: Likewise.
6972
3ce1f295
UD
6973 * configure.in: Remove --with-__thread option. Make tests for
6974 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
6975 tls_model attribute fail if no support is available. Remove
6976 USE_IN_LIBIO.
6977 * Makeconfig: Adjust for dropped configure option. All features are
6978 now mandatory.
6979 * Makerules: Likewise.
6980 * Versions.def: Likewise.
6981 * argp/argp-fmtstream.c: Likewise.
6982 * argp/argp-fmtstream.h: Likewise.
6983 * argp/argp-help.c: Likewise.
6984 * assert/assert.c: Likewise.
6985 * config.h.in: Likewise.
6986 * config.make.in: Likewise.
6987 * configure: Likewise.
6988 * configure.in: Likewise.
6989 * csu/Versions: Likewise.
6990 * csu/init.c: Likewise.
6991 * elf/tst-audit2.c: Likewise.
6992 * elf/tst-tls10.c: Likewise.
6993 * elf/tst-tls10.h: Likewise.
6994 * elf/tst-tls11.c: Likewise.
6995 * elf/tst-tls12.c: Likewise.
6996 * elf/tst-tls14.c: Likewise.
6997 * elf/tst-tlsmod11.c: Likewise.
6998 * elf/tst-tlsmod12.c: Likewise.
6999 * elf/tst-tlsmod13.c: Likewise.
7000 * elf/tst-tlsmod13a.c: Likewise.
7001 * elf/tst-tlsmod14a.c: Likewise.
7002 * elf/tst-tlsmod15b.c: Likewise.
7003 * elf/tst-tlsmod16a.c: Likewise.
7004 * elf/tst-tlsmod16b.c: Likewise.
7005 * elf/tst-tlsmod7.c: Likewise.
7006 * elf/tst-tlsmod8.c: Likewise.
7007 * elf/tst-tlsmod9.c: Likewise.
7008 * gmon/gmon.c: Likewise.
7009 * grp/fgetgrent_r.c: Likewise.
7010 * grp/putgrent.c: Likewise.
7011 * hurd/fopenport.c: Likewise.
7012 * include/libc-symbols.h: Likewise.
7013 * include/tls.h: Likewise.
7014 * intl/gettextP.h: Likewise.
7015 * intl/loadinfo.h: Likewise.
7016 * locale/global-locale.c: Likewise.
7017 * locale/localeinfo.h: Likewise.
7018 * mach/devstream.c: Likewise.
7019 * malloc/arena.c: Likewise.
7020 * malloc/set-freeres.c: Likewise.
7021 * misc/err.c: Likewise.
7022 * misc/getttyent.c: Likewise.
7023 * misc/mntent_r.c: Likewise.
7024 * posix/getopt.c: Likewise.
7025 * posix/wordexp.c: Likewise.
7026 * pwd/fgetpwent_r.c: Likewise.
7027 * resolv/Versions: Likewise.
7028 * resolv/res_hconf.c: Likewise.
7029 * shadow/fgetspent_r.c: Likewise.
7030 * shadow/putspent.c: Likewise.
7031 * stdio-common/printf_fphex.c: Likewise.
7032 * stdio-common/tmpfile.c: Likewise.
7033 * stdlib/abort.c: Likewise.
7034 * stdlib/fmtmsg.c: Likewise.
7035 * sunrpc/auth_unix.c: Likewise.
7036 * sunrpc/clnt_perr.c: Likewise.
7037 * sunrpc/clnt_tcp.c: Likewise.
7038 * sunrpc/clnt_udp.c: Likewise.
7039 * sunrpc/clnt_unix.c: Likewise.
7040 * sunrpc/openchild.c: Likewise.
7041 * sunrpc/svc_simple.c: Likewise.
7042 * sunrpc/svc_tcp.c: Likewise.
7043 * sunrpc/svc_udp.c: Likewise.
7044 * sunrpc/svc_unix.c: Likewise.
7045 * sunrpc/xdr.c: Likewise.
7046 * sunrpc/xdr_array.c: Likewise.
7047 * sunrpc/xdr_rec.c: Likewise.
7048 * sunrpc/xdr_ref.c: Likewise.
7049 * sunrpc/xdr_stdio.c: Likewise.
7050
1248c1c4
PB
70512011-09-09 Ulrich Drepper <drepper@gmail.com>
7052
7053 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7054
70552011-07-03 Andreas Jaeger <aj@suse.de>
7056
7057 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7058 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7059 regenerate with gen-libm-tests.pl.
7060
70612010-05-12 Petr Baudis <pasky@suse.cz>
7062
7063 [BZ #11589]
7064 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7065 around j0() zero points by switching to j1().
7066 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7067 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7068 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7069 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7070
f22e1074
UD
70712011-09-09 Ulrich Drepper <drepper@gmail.com>
7072
f19009c1
UD
7073 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7074 instead of 0.
7075 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7076 instead of 0. .
7077 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7078 Patch in part by Pavel Roskin <proski@gnu.org>.
7079
3f8cc204
UD
7080 [BZ #13138]
7081 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7082 realloc.
7083 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
7084 Free memory block if necessary.
7085
f22e1074
UD
7086 [BZ #12847]
7087 * libio/genops.c (INTDEF): For string streams the _lock pointer can
7088 be NULL. Don't lock in this case.
7089
0a2349f9
RM
70902011-09-09 Roland McGrath <roland@hack.frob.com>
7091
7092 * elf/elf.h (ELFOSABI_GNU): New macro.
7093 (ELFOSABI_LINUX): Define to that.
7094
f3cdd467
DZ
70952011-07-29 Denis Zaitceff <zaitceff@gmail.com>
7096
7097 * string/strncat.c (strncat): Undef the symbol in case it has been
7098 defined in bits/string.h.
7099
74718d13
UD
71002011-09-09 Ulrich Drepper <drepper@gmail.com>
7101
633e9e0f
UD
7102 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7103
0a2349f9 7104 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
7105 link map.
7106
f9924780
AJ
71072011-08-17 Andreas Jaeger <aj@suse.de>
7108
7109 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7110
7f5517aa
PP
71112011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7112 Ian Lance Taylor <iant@google.com>
7113
7114 * math/libm-test.inc (lround_test): New testcase.
7115 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7116
762011fe
UD
71172011-09-08 Ulrich Drepper <drepper@gmail.com>
7118
92963737
UD
7119 * Makefile: Remove support for automatic cvs check-ins.
7120 * Makerules: Likewise.
7121 * config.make.in: Likewise.
7122 * configure.in: Likewise.
7123 * intl/Makefile: Likewise.
7124 * locale/Makefile: Likewise.
7125 * po/Makefile: Likewise.
7126 * posix/Makefile: Likewise.
7127 * sysdeps/gnu/Makefile: Likewise.
7128 * sysdeps/mach/hurd/Makefile: Likewise.
7129 * sysdeps/sparc/sparc32/Makefile: Likewise.
7130
b0727fd8
JS
7131 [BZ #13118]
7132 * posix/Makefile (bug-regex32-ENV): Define.
7133 Patch by John Stanley <jpsinthemix@verizon.net>.
7134
a0f33f99
UD
7135 * misc/Makefile (headers): Add bits/select2.h.
7136 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7137 * misc/bits/select2.h: New file.
7138 * include/bits/select2.h: New file.
7139 * debug/Makefile (routines): Add fdelt_chk.
7140 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7141 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7142 FD_ISSET.
7143 * debug/fdelt_chk.c: New file.
7144
762011fe
UD
7145 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
7146 * wcsmbs/test-wmemcmp.c: Likewise.
7147 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 7148 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
7149
71502011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7151
7152 * string/Makefile (strop-tests): Add memcmp.
7153 * string/test-wmemcmp.c: New file.
7154 * string/test-memcmp.c: Add wmemcmp support.
7155
7f513ec8
RM
71562011-09-08 Roland McGrath <roland@hack.frob.com>
7157
0442afb4
RM
7158 [BZ #13153]
7159 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7160 2011-07-19 change.
7161
7f513ec8
RM
7162 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7163 garbage value in a __mach_port_mod_refs call in the cases of the
7164 task-self and thread-self ports.
7165
a12b2239
ST
71662011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7167
7168 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7169
610f9ab4
AS
71702011-09-08 Andreas Schwab <schwab@redhat.com>
7171
7f513ec8 7172 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 7173
48882a1a
LD
71742011-09-07 Ulrich Drepper <drepper@gmail.com>
7175
b49865be
UD
7176 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7177
fdc86bc9
UD
7178 * elf/dl-libc.c (dlerror_run): Pass back error code from
7179 dl_catch_error.
7180
c966526a
UD
7181 [BZ #13123]
7182 * elf/dl-load.c (lose): Free l_origin if it is valid.
7183
48882a1a
LD
7184 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7185 names.
7186 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7187 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7188 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7189 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7190 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7191 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7192
77a2a8b4
AZ
71932011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7194
7195 * sysdeps/powerpc/fpu/e_hypot.c: New file.
7196 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7197 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7198 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7199 * sysdeps/powerpc/fpu/k_cosf.c: New file.
7200 * sysdeps/powerpc/fpu/k_sinf.c: New file.
7201 * sysdeps/powerpc/fpu/s_cosf.c: New file.
7202 * sysdeps/powerpc/fpu/s_sinf.c: New file.
7203 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7204 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7205
24f579d8
AM
72062011-08-15 Alan Modra <amodra@gmail.com>
7207
7208 [BZ #13092]
7209 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7210 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7211 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
7212 ppc_mcount to static-only-routines.
7213 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7214 __mcount_internal.
7215 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7216 __mcount_internal with usual JUMPTARGET. Remove useless nop.
7217
3d4837df
UD
72182011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7219
7220 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7221 for finite and infinity parameters.
7222
22700377
WS
72232011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7224
7225 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7226 and add nop instructions for throughput optimization.
7227 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7228
5025581e
WS
72292011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7230
7231 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7232 aligned copy for power7 with vector-scalar instructions.
7233 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7234
08a300c9
L
72352011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7236
7237 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7238 AVX check.
7239
59178ef9
AS
72402011-09-07 Andreas Schwab <schwab@redhat.com>
7241
7242 [BZ #13144]
7243 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7244 last change.
7245
e38ba7ab
UD
72462011-09-07 Ulrich Drepper <drepper@gmail.com>
7247
7248 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7249 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7250 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7251 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7252 clock_gettime.
7253
d53a73ac
UD
72542011-09-06 Ulrich Drepper <drepper@gmail.com>
7255
fc8bffcc
UD
7256 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7257 Forgot to demangle the pointer.
7258
ceaa0c5d
UD
7259 * sysdeps/i386/sysdep.h: Define atom_text_section.
7260 * sysdeps/x86_64/sysdep.h: Likewise.
7261 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7262 section with atom_text_section.
7263 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7264 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7265 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7266 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7267 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7268
a77d3c17
UD
7269 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7270 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7271 already be defined. Change to take two parameters and don't assign
7272 result to variable. Adjust all users.
7273 Define INTERNAL_GETTIME if not already defined.
7274 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7275 call.
7276 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7277 HAVE_CLOCK_GETTIME_VSYSCALL.
7278 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7279
d53a73ac
UD
7280 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7281 gettimeofday vsyscall, just use time.
7282
a8f84144
AS
72832011-09-06 Andreas Schwab <schwab@redhat.com>
7284
7285 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7286 <errno.h>.
7287
ef606249
UD
72882011-09-06 Ulrich Drepper <drepper@gmail.com>
7289
7290 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7291 syscall on x86-64.
7292 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7293 syscall.
7294 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7295 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7296 syscall if possible.
7297
6585cb60
UD
72982011-09-05 Ulrich Drepper <drepper@gmail.com>
7299
7300 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7301 e_ident. Don't pass to find_mapsXX.
7302 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7303
a5f524e4
LD
73042011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7305
7306 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7307 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7308 * sysdeps/x86_64/multiarch/strchr.S: Update.
7309 Check bit_slow_BSF bit.
7310 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7311 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7312 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7313
554881ef
UD
73142011-09-05 Ulrich Drepper <drepper@gmail.com>
7315
d96de963
UD
7316 [BZ #13134]
7317 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7318 before glibc 2.15.
7319 (tryshell): Define.
7320 (__spawni): Change last parameter to be flag. Test
7321 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7322 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7323 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7324 * posix/spawni.c: Likewise.
7325 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7326 * posix/spawnp.c: Likewise. Change normal version to use
7327 SPAWN_XFLAGS_USE_PATH.
7328 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7329 SPAWN_XFLAGS_TRY_SHELL.
7330
d48e5868
UD
7331 [BZ #13150]
7332 * posix/glob.h: Remove gcc 1.x support.
7333
554881ef
UD
7334 [BZ #13068]
7335 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7336
693fb948
LD
73372011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7338
7339 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7340 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7341 strrchr-sse2-bsf
7342 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7343 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7344 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7345 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7346 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7347 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7348
1b48c537
UD
73492011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7350
49d42c37
UD
7351 * sysdeps/x86_64/wcscmp.S: New file.
7352
1b48c537
UD
7353 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7354 wcscmp-c wcscmp-sse2
7355 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7356 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7357 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7358 * wcsmbs/wcscmp.c: Allow renaming.
7359
15c95c5d
DM
73602011-09-05 David S. Miller <davem@davemloft.net>
7361
7362 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7363 stack slot, rather than the struct return pointer slot.
7364 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7365 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7367 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7368
2f0ad8f3
UD
73692011-09-05 Ulrich Drepper <drepper@gmail.com>
7370
d88ae418
UD
7371 * po/ja.po: Update from translation team.
7372
2f0ad8f3
UD
7373 [BZ #13144]
7374 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7375 kernel in 64-bit binaries.
7376
5f4318d1
DM
73772011-09-01 David S. Miller <davem@davemloft.net>
7378
7379 * elf/elf.h (HWCAP_SPARC_*): Move to..
7380 * sysdeps/sparc/sysdep.h: this new file and add new values.
7381 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7382 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7383 _DL_HWCAP_COUNT to 24.
7384 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7385 entries.
7386 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7387 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7388 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7389 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7390 instead of magic constants.
7391 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7392
3ba57516
DM
73932011-08-31 David S. Miller <davem@davemloft.net>
7394
7395 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7396 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7397 Reimplement to do errno handling inline.
7398 (SYSCALL_ERROR_HANDLER): New macro.
7399 (__SYSCALL_STRING): Do not do errno handling in asm.
7400 (__CLONE_SYSCALL_STRING): Delete.
7401 (__INTERNAL_SYSCALL_STRING): Delete.
7402 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7403 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7404 (PSEUDO): Reimplement to do errno handling inline.
7405 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7406 (SYSCALL_ERROR_HANDLER): New macro.
7407 (__SYSCALL_STRING): Do not do errno handling in asm.
7408 (__CLONE_SYSCALL_STRING): Delete.
7409 (__INTERNAL_SYSCALL_STRING): Delete.
7410 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7411 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7412 i386.
7413 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7414 (inline_syscall*): Add 'err' argument.
7415 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7416 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7417 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7418 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7419
7420 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7421 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7422
2bc17433
AS
74232011-08-30 Andreas Schwab <schwab@redhat.com>
7424
7425 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7426
fbeb5f4d
JO
74272011-08-29 Jiri Olsa <jolsa@redhat.com>
7428
7429 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7430 directive.
7431
ad69cc26
DM
74322011-08-24 David S. Miller <davem@davemloft.net>
7433
7434 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7435
39dd69df
AS
74362011-08-24 Andreas Schwab <schwab@redhat.com>
7437
7438 * elf/Makefile: Add rules to build and run unload8 test.
7439 * elf/unload8.c: New file.
7440 * elf/unload8mod1.c: New file.
7441 * elf/unload8mod1x.c: New file.
7442 * elf/unload8mod2.c: New file.
7443 * elf/unload8mod3.c: New file.
7444
7445 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7446 it wasn't used.
7447
2c0b250a
DM
74482011-08-23 David S. Miller <davem@davemloft.net>
7449
7450 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7451 subtract stack bias.
7452 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7453 %sp not %fp in calculations.
7454 (_JMPBUF_UNWINDS_ADJ): Likewise.
7455
22044b48
DM
7456 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7457 (aio_suspend): Call it to force an exception region around the
7458 AIO_MISC_WAIT() invocation.
7459
2cae4995
AS
74602011-08-23 Andreas Schwab <schwab@redhat.com>
7461
7462 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7463 backslash.
7464
873a772e
AJ
74652011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7466
7467 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7468 protection macro.
7469 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7470 and <dl-machine.h>.
7471 (Elf64_FuncDesc): Remove.
7472
25ad0df1
DM
74732011-08-22 David S. Miller <davem@davemloft.net>
7474
7475 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7476 sigaltstack check, add missing cfi directives.
7477 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7478 missing cfi directives, and sigaltstack handling.
7479
e888bcbe
AS
74802011-08-16 Andreas Schwab <schwab@redhat.com>
7481
7482 [BZ #11724]
7483 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7484 object is seen twice.
7485 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7486
7487 * elf/Makefile (distribute): Add tst-initorder2.c.
7488 (tests): Add tst-initorder2.
7489 (modules-names): Add tst-initorder2a tst-initorder2b
7490 tst-initorder2c tst-initorder2d. Add rules to build them.
7491 ($(objpfx)tst-initorder2.out): New rule.
7492 * elf/tst-initorder2.c: New file.
7493 * elf/tst-initorder2.exp: New file.
7494
87162f46
AS
74952011-08-22 Andreas Schwab <schwab@redhat.com>
7496
70538b7f
AS
7497 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7498
f55ffe58
AS
7499 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7500 dependencies back to end of function.
7501
87162f46
AS
7502 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7503 $(elfobjdir)/ld.so.
7504
91b392a4
UD
75052011-08-21 Ulrich Drepper <drepper@gmail.com>
7506
7507 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7508 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7509 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7510 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7511 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7512 of __vdso_gettimeofday.
7513 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7514 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7515 attribute_hidden.
7516 (_libc_vdso_platform_setup): Remove initialization of
7517 __vdso_gettimeofday and __vdso_time.
7518
5c43483f
UD
75192011-08-20 Ulrich Drepper <drepper@gmail.com>
7520
775a77e7
UD
7521 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7522 and fgetc_unlocked.
7523 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7524 getc_unlocked.
89f447ed 7525
49c74ba9
UD
7526 * elf/dl-open.c (add_to_global): Report additions to the global scope
7527 for LD_DEBUG=scopes.
7528 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 7529 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 7530
5c43483f
UD
7531 [BZ #13114]
7532 * stdio-common/Makefile (tests): Add bug24.
7533 * stdio-common/bug24.c: New file.
7534
a101b025
AJ
75352011-08-19 Andreas Jaeger <aj@suse.de>
7536
7537 [BZ #13114]
7538 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7539 non-existant file when using close-on-exec mode.
7540
c88f1766
UD
75412011-08-20 Ulrich Drepper <drepper@gmail.com>
7542
0276a718
UD
7543 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7544 the very first instruction.
7545
c88f1766
UD
7546 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7547 the CFI state in the end.
7548 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7549 inclusion of dl-trampoline.h.
7550 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7551
51ccffa0
AS
75522011-08-19 Andreas Schwab <schwab@redhat.com>
7553
94d7165f
AS
7554 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7555 expectations for long double.
7556
51ccffa0
AS
7557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7558 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7559
fd708658 75602011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
7561
7562 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7563 artificual limit depends upon the system page size.
7564
44f0a71e
UD
75652011-08-17 Ulrich Drepper <drepper@gmail.com>
7566
7567 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7568 * resolv/Makefile: Define CFLAGS-libresolv.
7569
8de79a24
AS
75702011-08-17 Andreas Schwab <schwab@redhat.com>
7571
7572 * nss/makedb.c (compute_tables): Make variables used in nested
7573 function static.
7574
27724598
UD
75752011-08-17 Ulrich Drepper <drepper@gmail.com>
7576
c5305d88
UD
7577 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7578 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7579 if buffer was too small.
7580
27724598
UD
7581 * elf/pldd.c (main): Attach to all threads in the process.
7582 Rewrite /proc handling to use *at functions.
7583
076fe015
UD
75842011-08-16 Ulrich Drepper <drepper@gmail.com>
7585
174baab3
UD
7586 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7587 specifies first scope to show.
7588 (dl_open_worker): Update callers. Move printing scope of new
7589 object to before the relocation.
44f0a71e 7590 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
7591 * sysdeps/generic/ldsodefs.h: Update declaration.
7592
076fe015
UD
7593 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7594 string for the scope number.
7595
a60df2c3
UD
75962011-08-14 Ulrich Drepper <drepper@gmail.com>
7597
7598 * nscd/servicescache.c (cache_addserv): Make sure written is always
7599 initialized.
7600
5e4287d1
RM
76012011-08-14 Roland McGrath <roland@hack.frob.com>
7602
85ae0589
RM
7603 * sysdeps/i386/i486/bits/atomic.h
7604 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7605 statement expression, so as to suppress "set but not used" warning.
7606 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7607
69f63097
RM
7608 * string/strncat.c (STRNCAT): Use prototype definition.
7609
675456ef
RM
7610 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7611 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7612 -Iprograms here.
7613 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7614 (localedef-modules): Add localedef.
7615 (locale-modules): Add locale.
7616
5e4287d1
RM
7617 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7618 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7619 to avoid a warning.
7620
9c96ff23
DM
76212011-08-14 David S. Miller <davem@davemloft.net>
7622
7623 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7624 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7625
f9ddf089
UD
76262011-08-13 Ulrich Drepper <drepper@gmail.com>
7627
44f0a71e 7628 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
7629 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7630 * elf/rtld.c (dl_main): Set l_name of vDSO.
7631 Call _dl_show_scope when DL_DEBUG_SCOPES.
7632 (process_dl_debug): Recognize scopes flag and also set it for all.
7633 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7634 Declare _dl_show_scope.
7635
1dc27704
UD
7636 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7637 (do_dlopen): Pass caller_dlopen to dl_open.
7638 (__libc_dlopen_mode): Initialize caller_dlopen.
7639
f9ddf089
UD
7640 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7641 of libc. Make tolower call locale-independent. Optimize a bit by
7642 using isdigit instead of isalnum.
7643 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7644
9ac533d3
UD
76452011-08-12 Ulrich Drepper <drepper@gmail.com>
7646
7647 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7648 was a dependency or dynamically loaded.
7649
89edf2e9
UD
76502011-08-11 Ulrich Drepper <drepper@gmail.com>
7651
8e999d29
UD
7652 * intl/l10nflist.c: Allow architecture-specific pop function.
7653 * sysdeps/x86_64/l10nflist.c: New file.
7654
89edf2e9
UD
7655 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7656 classification.
7657
14d96785
AS
76582011-08-10 Andreas Schwab <schwab@redhat.com>
7659
7660 * include/dirent.h: Add libc_hidden_proto for scandirat and
7661 scandirat64. Don't declare __scandirat64.
7662 * dirent/scandirat.c: Add libc_hidden_def.
7663 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7664 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7665
6761ac04
DM
76662011-08-10 David S. Miller <davem@davemloft.net>
7667
7668 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7669 enum.
7670 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7671 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7672 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7673
c55fbd1e
UD
76742011-08-09 Ulrich Drepper <drepper@gmail.com>
7675
7676 * Versions.def [libc]: Add GLIBC_2.15.
7677 * dirent/Makefile (routines): Add scandirat and scandirat64.
7678 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7679 GLIBC_2.15.
7680 * dirent/dirent.h: Declare scandirat and scandirat64.
7681 * dirent/scandirat.c: New file.
7682 * dirent/scandirat64.c: New file.
7683 * sysdeps/wordsize-64/scandirat.c: New file.
7684 * sysdeps/wordsize-64/scandirat64.c: New file.
7685 * dirent/opendir.c: Define opendirat.
7686 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7687 using scandirat.
7688 * dirent/scandir64.c: Adjust for scandir.c change.
7689 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7690 __scandirat64, and __scandir_cancel_handler.
7691 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7692 additional parameter and use openat instead of open (outside of ld.so).
7693 Add new __opendir as wrapper around __opendirat.
7694 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7695 here without requiring old scandirat implementation.
7696
879165f2
UD
76972011-08-08 Ulrich Drepper <drepper@gmail.com>
7698
7699 * dirent/scandir.c (cancel_handler): Renamed to
7700 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7701 defined. Adjust users.
7702 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7703 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7704
cb7e923b
UD
77052011-08-04 Ulrich Drepper <drepper@gmail.com>
7706
16292edd
UD
7707 * string/test-string.h (IMPL): Use __STRING to expand name and then
7708 stringify it.
7709
cb7e923b
UD
7710 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7711 of cleanups.
7712
cff82933
LD
77132011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7714
7715 * string/Makefile: Update.
7716 (strop-tests): Append strncat.
7717 * string/test-wcscmp.c: New file.
7718 New comprehensive test for wcscmp.
7719 * string/test-strcmp.c: Update.
7720 (WIDE): New define.
7721
9be9bfcc
AS
77222011-07-22 Andreas Schwab <schwab@redhat.com>
7723
7724 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7725 line.
7726
2e96f1c7
AS
77272011-07-26 Andreas Schwab <schwab@redhat.com>
7728
7729 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7730 encoding to ACE if AI_IDN.
7731
85188888
JJ
77322011-08-01 Jakub Jelinek <jakub@redhat.com>
7733
7734 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7735 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7736
5fa16e9b
LD
77372011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7738
7739 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7740 Fix overflow bug in strncat.
7741 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7742
7743 * string/test-strncat.c: Update.
7744 Add new tests for checking overflow bugs.
7745
77462011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7747
7748 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7749 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7750 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7751 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7752 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7753 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7754 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7755 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7756 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7757
7758 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7759 (USE_AS_STRCAT): Define.
7760 Add strcat and strncat support.
7761 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7762
8c1a459f
AS
77632011-07-25 Andreas Schwab <schwab@redhat.com>
7764
7765 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7766 __n bigger than INT_MAX+1.
7767 (__strncmp_g): Likewise.
7768
bba33c28
UD
77692011-07-23 Ulrich Drepper <drepper@gmail.com>
7770
798be72d
UD
7771 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7772 * libio/stido.h: Likewise.
7773
8accd4dc
UD
7774 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7775 (AF_NFC): Define.
7776 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7777 (AF_NFC): Define.
7778
cbff0d96
UD
7779 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7780 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7781 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7782 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7783 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7784
9191c04a
UD
7785 [BZ #13021]
7786 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7787 installed.
7788
bba33c28
UD
7789 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7790 typo.
7791 (_dl_x86_64_save_sse): Likewise.
7792
90f139dd
UD
77932011-07-22 Ulrich Drepper <drepper@gmail.com>
7794
1aae088a
UD
7795 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7796 OSXSAVE.
7797 (_dl_x86_64_save_sse): Likewise.
7798
8e2045f5
UD
7799 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7800
90f139dd
UD
7801 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7802
1d002f25
AS
78032011-07-21 Andreas Schwab <schwab@redhat.com>
7804
7805 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7806 change.
7807 (_dl_x86_64_save_sse): Use correct AVX check.
7808
21137f89
UD
78092011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7810
7811 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
7812 bug in strncpy/strncat.
7813 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7814
a65c0b7a
UD
78152011-07-21 Ulrich Drepper <drepper@gmail.com>
7816
7817 * string/tester.c (test_strcat): Add tests for different alignments
7818 of source and destination.
7819 (test_strncat): Likewise.
7820
6986b98a
UD
78212011-07-20 Ulrich Drepper <drepper@gmail.com>
7822
90bb2039
UD
7823 [BZ #12852]
7824 * posix/glob.c (glob): Check passed in values before using them in
7825 expressions to avoid some overflows.
7826 (glob_in_dir): Likewise.
7827
5644ef54
UD
7828 [BZ #13007]
7829 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
7830 check for AVX enablement so that we don't crash with old kernels and
7831 new hardware.
7832 * elf/tst-audit4.c: Add same checks here.
7833 * elf/tst-audit6.c: Likewise.
7834
7835 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 7836
bfc9dc9b
AS
78372011-07-09 Andreas Schwab <schwab@linux-m68k.org>
7838
7839 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
7840
702e64bb
UD
78412011-07-20 Ulrich Drepper <drepper@gmail.com>
7842
7843 * po/cs.po: Update from translation team.
7844 * po/bg.po: Likewise.
7845
295e904f
MP
78462011-07-12 Marek Polacek <mpolacek@redhat.com>
7847
7848 * misc/sys/cdefs.h: Add support for const attribute.
7849 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
7850 to gnu_dev_{major,minor,makedev} functions.
7851
3ff94596
MP
78522011-07-20 Marek Polacek <mpolacek@redhat.com>
7853
7854 * intl/dcigettext.c (get_output_charset): Add missing bracket.
7855
28b59fca
AS
78562011-07-20 Andreas Schwab <schwab@redhat.com>
7857
7858 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
7859 strlen results.
7860
19df733e
AK
78612011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7862
7863 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7864 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
7865 register in order to avoid conflicts with the soft frame pointer
7866 being held in r11 when necessary.
7867 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7868 (INTERNAL_VSYSCALL_NCS): Likewise.
7869
c8835729
MP
78702011-07-14 Marek Polacek <mpolacek@redhat.com>
7871
7872 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
7873 * elf/dl-fini.c (_dl_fini): Adjust caller.
7874 * elf/dl-close.c (_dl_close_worker): Likewise.
7875 * sysdeps/generic/ldsodefs.h: Adjust declaration.
7876
b902330c
MP
78772011-07-15 Marek Polacek <mpolacek@redhat.com>
7878
8991e135
MP
7879 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
7880 "aux_cache->nlibs < 0".
7881
b902330c
MP
7882 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
7883 in the reload-count case.
7884
99710781
LD
78852011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7886
7887 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7888 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
7889 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
7890 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
7891 * sysdeps/x86_64/multiarch/strcat.S: New file.
7892 * sysdeps/x86_64/multiarch/strncat.S: New file.
7893 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
7894 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
7895 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
7896 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
7897 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
7898 (USE_AS_STRCAT): Define.
7899 Add strcat and strncat support.
7900 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7901 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7902 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
7903 * string/strncat.c: Update.
7904 (USE_AS_STRNCAT): Define.
7905 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7906 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
7907 and i7.
7908 * sysdeps/x86_64/multiarch/init-arch.h
7909 (bit_Prefer_PMINUB_for_stringop): New.
7910 (index_Prefer_PMINUB_for_stringop): Likewise.
7911 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
7912 bit_Prefer_PMINUB_for_stringop.
7913
7dc6bd90
UD
79142011-07-19 Ulrich Drepper <drepper@gmail.com>
7915
7916 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
7917 buffer64.
7918 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
7919 of casting of buffer.
7920 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
7921 buffer32 and buffer64.
7922 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
7923 writes instead of casting of buffer.
7924 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
7925 buffer32.
7926 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
7927 casting of buffer.
7928
e0e72284
AS
79292011-07-19 Andreas Schwab <schwab@redhat.com>
7930
7931 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
7932
feb1eb0b
UD
79332011-07-19 Ulrich Drepper <drepper@gmail.com>
7934
7935 * nscd/nscd.c (termination_handler): Don't do anything for a database
7936 if it has not yet been initialized.
7937
298711ff
UD
79382011-07-18 Ulrich Drepper <drepper@gmail.com>
7939
7940 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7941
79422011-07-15 Marek Polacek <mpolacek@redhat.com>
7943
7944 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7945
f9d68389
UD
79462011-07-18 Ulrich Drepper <drepper@gmail.com>
7947
7948 * po/nl.po: Update from translation team.
7949 * po/sv.po: Likewise.
7950
db290cf5
RM
79512011-07-16 Roland McGrath <roland@hack.frob.com>
7952
7953 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
7954 now disallowed by GCC.
5c550700 7955
fd5e21c7
RM
7956 * configure.in (use-default-link): Default to yes if a test -shared
7957 link meets our qualifications.
7958 * configure: Regenerated.
7959
5c550700
RM
7960 * config.make.in (output-format): New variable.
7961 * configure.in: Check for ld --print-output-format support.
7962 * configure: Regenerated.
7963 * Makerules ($(common-objpfx)format.lds)
7964 [$(output-format) != unknown]: Just use $(output-format),
7965 instead of the linker-script munging.
7966
9fa2c032
RM
79672011-07-14 Roland McGrath <roland@hack.frob.com>
7968
a6928d51
RM
7969 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
7970 of $(common-objpfx)shlib.lds.
7971 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
7972
661607b3
RM
7973 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
7974 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
7975
9fa2c032
RM
7976 * configure.in (-z relro check): Adjust test code to add a large
7977 writable data section after it.
7978 * configure: Regenerated.
7979
defe9061
RM
79802011-07-11 Roland McGrath <roland@hack.frob.com>
7981
7982 * configure.in (-z relro check): Fix test code to make the variable
7983 truly const.
7984 * configure: Regenerated.
7985
319b9ad4
UD
79862011-07-11 Ulrich Drepper <drepper@gmail.com>
7987
7988 * nscd/nscd.h (struct traced_file): Define.
7989 (struct database_dyn): Remove inotify_descr, reset_res, and filename
7990 elements. Add traced_files.
7991 (inotify_fd): Declare.
7992 (register_traced_file): Declare.
7993 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
7994 (inotify_fd): Export.
7995 (resolv_conf_descr): Remove.
7996 (nscd_init): Move inotify descriptor creation to main.
7997 Don't register files for notification here.
7998 (register_traced_file): New function.
7999 (invalidate_cache): Don't use reset_res to determine whether to call
8000 res_init, go through the list of registered files.
8001 (main_loop_poll): The inotify descriptors are now stored in the
8002 structures for the traced files.
8003 (main_loop_epoll): Likewise
8004 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
8005 to __nss_disable_nscd.
8006 * nscd/cache.c (prune_cache): There is no single inotify descriptor
8007 for a database anymore. Check the records for all the registered
8008 files instead.
8009 * nss/Makefile (libnss_files-routines): Add files-init.
8010 (libnss_db-routines): Add db-init.
8011 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8012 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8013 * nss/nss_db/db-init.c: New file.
8014 * nss/nss_files/files-init.c: New file.
8015 * nss/nsswitch.c (nss_load_library): New function. Broken out of
8016 __nss_lookup_function.
8017 (__nss_lookup_function): Call nss_load_library.
8018 (nss_load_all_libraries): New function.
8019 (__nss_disable_nscd): Take parameter with callback function for files
8020 to register. Set is_nscd. Load all the DSOs for the NSS modules
8021 used for the cached services.
8022 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8023 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8024 options for features to all the files in nscd.
8025
8026 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8027
23bee3e8
RM
80282011-07-10 Roland McGrath <roland@hack.frob.com>
8029
8030 * csu/elf-init.c (__libc_csu_init): Comment typo.
8031
46a5b7f0
UD
80322011-07-09 Ulrich Drepper <drepper@gmail.com>
8033
8034 * po/pl.po: Update from translation team.
8035 * po/ja.po: Likewise.
8036 * po/ru.po: Likewise.
8037 * po/ko.po: Likewise.
8038 * po/fr.po: Likewise.
8039
d30cf5bb
RM
80402011-07-09 Roland McGrath <roland@hack.frob.com>
8041
113ddea4
RM
8042 * configure.in (.ctors/.dtors header and trailer check):
8043 Use an empirical test on a built program.
8044 * configure: Regenerated.
8045
574920b4
RM
8046 * configure.in (-z relro check): Use an empirical test on a built DSO.
8047 Detect, but do not require, on ia64.
8048 * configure: Regenerated.
8049
d30cf5bb
RM
8050 * configure.in (READELF): Find it with AC_CHECK_TOOL.
8051 Update tests that use readelf to use $READELF instead.
8052 * configure: Regenerated.
8053
8538fdb3
UD
80542011-07-08 Ulrich Drepper <drepper@gmail.com>
8055
8056 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8057 if the result is not used.
8058
04d08991
AJ
80592011-07-05 Andreas Jaeger <aj@suse.de>
8060
8061 [BZ#9696]
8062 * stdlib/tst-strtod.c: Add testcase.
8063
de283087
AD
80642011-07-07 Ulrich Drepper <drepper@gmail.com>
8065
4e5f31c8 8066 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 8067 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
8068 The latter has a higher limit. Take additional parameter to pass to
8069 the new function.
8070 (__pathconf): Pass file to __statfs_link_max.
8071 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8072 __statfs_link_max.
8073 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8074 __statfs_link_max.
8075
de283087
AD
8076 [BZ #12868]
8077 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8078 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8079 Handle Lustre.
8080 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8081 (__statfs_filesize_max): Likewise.
8082 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8083
c75fa153
AJ
80842011-07-05 Andreas Jaeger <aj@suse.de>
8085
8086 * resolv/res_comp.c (dn_skipname): Remove unused variable.
8087
1a544854
UD
80882011-07-06 Marek Polacek <mpolacek@redhat.com>
8089
8090 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8091 `status' variable.
8092 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8093 Likewise.
8094
6f0eec67
UD
80952011-07-04 H.J. Lu <hongjiu.lu@intel.com>
8096
8097 * Makefile (strop-tests): Add strncat.
8098 * string/test-strncat.c: New file.
8099
aae30307
UD
81002011-06-30 Marek Polacek <mpolacek@redhat.com>
8101
8102 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8103
c0cfb5eb
UD
81042011-06-21 Andreas Jaeger <aj@suse.de>
8105
8106 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8107 Copy rule from iconvdata/Makefile.
8108
01636b21
UD
81092011-07-06 Ulrich Drepper <drepper@gmail.com>
8110
8111 [BZ #12922]
8112 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8113 but no long options are defined, just return 'W'.
8114
9895c8bc
UD
81152011-06-22 Marek Polacek <mpolacek@redhat.com>
8116
8117 [BZ #9696]
8118 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8119
5d4cf042
UD
81202011-07-06 Ulrich Drepper <drepper@gmail.com>
8121
8122 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8123 netgroups to read.
960e5535 8124 (innetgr): Likewise.
5d4cf042 8125
751eb97e
RM
81262011-07-05 Roland McGrath <roland@hack.frob.com>
8127
8128 * config.make.in (install_root): Default to $(DESTDIR).
8129
f15f1e45
UD
81302011-07-05 Ulrich Drepper <drepper@gmail.com>
8131
8132 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8133
4e34ac6a
RM
81342011-07-02 Roland McGrath <roland@hack.frob.com>
8135
5e9b6af4
RM
8136 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8137
84f9ea0f
RM
8138 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8139 containing directory rather than embedding absolute directory names.
8140
ea5ee9f7
RM
8141 * scripts/check-local-headers.sh: Rewritten using awk.
8142 Match by word, not by line. Print error messages for matches.
8143 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8144
1b74661a
RM
8145 * Makerules [shlib-lds-flags empty]:
8146 ($(common-objpfx)libc_pic.opts): New target.
8147 ($(common-objpfx)libc_pic.os.clean): New target.
8148 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8149
8150 * config.make.in (OBJCOPY): New variable.
8151 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8152 * configure: Regenerated.
8153
f781ef40
RM
8154 * config.make.in (use-default-link): New variable.
8155 * configure.in (use_default_link): Grok --with-default-link to set it.
8156 * configure: Regenerated.
8157 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8158 (shlib-lds, shlib-lds-flags): Define to empty.
8159
2d4fa81e
RM
8160 * Makerules (shlib-lds): New variable.
8161 (shlib-lds-flags): New variable.
8162 (build-shlib, build-moduile, build-module-asneeded): Use it.
8163 ($(common-objpfx)libc.so): Use $(shlib-lds).
8164 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8165 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8166
31fffa6b
RM
8167 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8168 DT_FLAGS/DT_FLAGS_1 with zero flags.
8169
4e34ac6a
RM
8170 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8171 linker script munging.
8172
fcfc776b
UD
81732011-07-02 Ulrich Drepper <drepper@gmail.com>
8174
8175 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8176 as 128-bit value.
8177 * crypt/sha512.c (sha512_process_block): Perform total addition using
8178 128-bit if possible.
8179 (__sha512_finish_ctx): Likewise.
8180 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8181 as 64-bit value.
8182 * crypt/sha256.c (SWAP64): Define.
8183 (sha256_process_block): Perform total addition using 64-bit if
8184 possible.
8185 (__sha256_finish_ctx): Likewise.
8186
99231d9a
UD
81872011-07-01 Ulrich Drepper <drepper@gmail.com>
8188
8189 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
8190 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8191 * nscd/hstcache.c (cache_addhst): Likewise.
8192 * nscd/grpcache.c (cache_addgr): Likewise.
8193 * nscd/aicache.c (addhstaiX): Likewise
8194 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8195
445b4a53
TK
81962011-07-01 Thorsten Kukuk <kukuk@suse.de>
8197
8198 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8199 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8200 * nscd/hstcache.c (cache_addhst): Likewise.
8201 * nscd/grpcache.c (cache_addgr): Likewise.
8202 * nscd/aicache.c (addhstaiX): Likewise
8203
6d4d8e8e
AS
82042011-07-01 Andreas Schwab <schwab@redhat.com>
8205
8206 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8207 domain only when needed.
8208
89f654c5
AS
82092011-06-30 Andreas Schwab <schwab@redhat.com>
8210
8211 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8212 is always restored.
8213
cf3b23ff
UD
82142011-06-29 Ulrich Drepper <drepper@gmail.com>
8215
8216 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8217 are re-adding the entry.
8218 * nscd/servicescache.c (cache_addserv): Likewise.
8219
751626f9
AJ
82202011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8221
8222 * sysdeps/generic/dl-irel.h: fix protection against multiple
8223 inclusions.
8224 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8225
9113ea1f
UD
82262011-06-28 Ulrich Drepper <drepper@gmail.com>
8227
5c0b8d90
UD
8228 [BZ #12935]
8229 * malloc/memusage.sh: Fix quoting in message.
8230 * debug/xtrace.sh: Likewise.
8231
9113ea1f
UD
8232 * configure.in: Remove support for --experimental-malloc option, make
8233 it the default.
8234 * config.make.in: Likewise.
8235 * malloc/Makefile: Likewise.
8236
a4172181
AS
82372011-06-27 Andreas Schwab <schwab@redhat.com>
8238
8239 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8240 two-byte characters.
8241
78a7eee7
RM
82422011-06-27 Roland McGrath <roland@hack.frob.com>
8243
62bede13
RM
8244 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8245 AC_CACHE_CHECK invocation.
8246 * configure: Regenerated.
8247
78a7eee7
RM
8248 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8249
5ce33a62
UD
82502011-06-27 Ulrich Drepper <drepper@gmail.com>
8251
034807a9
UD
8252 [BZ #12350]
8253 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8254 bit from old_res_options.
8255
4902da17
UD
8256 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8257
5ce33a62
UD
8258 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8259 value type for setfct.
8260
c2344f56
L
82612011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8262
8263 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8264 __gettimeofday instead of gettimeofday.
8265
68468076
UD
82662011-06-26 Ulrich Drepper <drepper@gmail.com>
8267
8268 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8269
acb0d739
L
82702011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8271
8272 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8273
8274 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8275 info.
8276
8912479f
L
82772011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8278
8279 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8280 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8281 strcpy-sse2-unaligned strncpy-sse2-unaligned
8282 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8283 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8284 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8285 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8286 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8287 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8288 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8289 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8290 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8291 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8292 (STRCPY): Support SSE2 and SSSE3 versions.
8293
d5495a11
UD
82942011-06-24 Ulrich Drepper <drepper@gmail.com>
8295
8296 [BZ #12874]
8297 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8298 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8299 kernels which artificially limit size of requests.
8300
0b1cbaae
L
83012011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8302
8303 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8304 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8305 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8306 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8307 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8308 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8309 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8310 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8311 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8312 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8313 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8314 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8315 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8316 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8317 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8318 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8319 Enable unaligned load optimization for Intel Core i3, i5 and i7
8320 processors.
8321 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8322 Define.
8323 (index_Fast_Unaligned_Load): Define.
8324 (HAS_FAST_UNALIGNED_LOAD): Define.
8325
07f494a0
MP
83262011-06-23 Marek Polacek <mpolacek@redhat.com>
8327
8328 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8329
fa3fc0fe
UD
83302011-06-22 Ulrich Drepper <drepper@gmail.com>
8331
8332 [BZ #12907]
8333 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8334 until it is clear that the information is realy needed.
8335 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8336
e12df166
AS
83372011-06-22 Andreas Schwab <schwab@redhat.com>
8338
8339 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8340
852eb34d
UD
83412011-06-22 Ulrich Drepper <drepper@gmail.com>
8342
84e2a551
UD
8343 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8344 /sys/devices/system/cpu/online if it is usable.
8345
852eb34d
UD
8346 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8347 reading the information from the /proc filesystem to once a second.
8348
6e502e19
UD
83492011-06-21 Andreas Jaeger <aj@suse.de>
8350
8351 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8352 NULL after inclusion of kernel headers.
8353
75d39ff2
UD
83542011-06-21 Ulrich Drepper <drepper@gmail.com>
8355
51f9aa6a
UD
8356 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8357 calls to internal_setent.
8358
c0244a9d
UD
8359 [BZ #12885]
8360 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8361 addresses using gethostbyname4_r ignore IPv4 addresses.
8362
c5e3c2ae
UD
8363 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8364 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8365
75d39ff2
UD
8366 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8367
42675c6f
DM
83682011-06-20 David S. Miller <davem@davemloft.net>
8369
8370 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8371 inclusions.
8372 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8373
8374 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8375 (elf_irel): Use it.
8376 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8377 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8378 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8379 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8380 * sysdeps/x86_64/dl-irel.h: Likewise.
8381
8382 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8383 * elf/dl-sym.c: Likewise.
8384
57912a71
UD
83852011-06-15 Ulrich Drepper <drepper@gmail.com>
8386
8387 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8388 need to dereference resplen2.
8389
ee22793d
AS
83902011-06-14 Andreas Schwab <schwab@redhat.com>
8391
8392 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8393
a9e836b0
UD
83942011-06-15 Ulrich Drepper <drepper@gmail.com>
8395
77fb9117
UD
8396 * Makeconfig: Define vardbdir and inst_vardbdir.
8397 * nss/Makefile: Add rules to install db-Makefile.
8398
40c1b22c
UD
8399 * nss/nss_db/db-XXX.c: Cleanup.
8400
9f2da732
UD
8401 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8402 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8403 GLIBC_PRIVATE.
8404 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8405 * nss/makedb.c: Implement -g option to specify that value strings
8406 are generated and should not be added to table iterated over for
8407 get*ent calls.
8408 * nss/nss_db/db-initgroups.c: New file.
8409
82e9a1f7
UD
8410 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8411 interface.
8412
c41af17e
UD
8413 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8414 (internal_getgrouplist): Adjust to name change.
8415 Update use_initgroups_entry if this is not the first call.
8416 * nss/databases.def: Add initgroups entry.
8417
a9e836b0
UD
8418 * nss/makedb.c (compute_tables): Check result of multiple hash table
8419 sizes to minimize maximum chain length.
8420
2666d441
UD
84212011-06-14 Ulrich Drepper <drepper@gmail.com>
8422
8423 * Versions.def: Add entry for libnss_db.
8424 * shlib-versions: Likewise.
8425 * nss/Makefile: Add rules to build libnss_db.
8426 * nss/Versions: Add libnss_db information. Organize libnss_files
8427 entries better.
8428 * nss/db-Makefile: Add gshadow support. Change rules for the new
8429 makedb progra. Some minor improvements to generate smaller files.
8430 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8431 here from...
8432 * nss/makedb.c: ...here.
8433 Improve database format to be smaller and require less memory at
8434 runtime.
8435 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8436 db anymore.
8437 * nss/nss_db/db-netgrp.c: Likewise.
8438 * nss/nss_db/db-open.c: Likewise.
8439 * nss/nss_files/flies-XXX.x: Adjust comments.
8440 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8441 * nss/nss_files/files-grp.c: Likewise.
8442 * nss/nss_files/files-hosts.c: Likewise.
8443 * nss/nss_files/files-network.c: Likewise.
8444 * nss/nss_files/files-proto.c: Likewise.
8445 * nss/nss_files/files-pwd.c: Likewise.
8446 * nss/nss_files/files-rpc.c: Likewise.
8447 * nss/nss_files/files-service.c: Likewise.
8448 * nss/nss_files/files-sgrp.c: Likewise.
8449 * nss/nss_files/files-spwd.c: Likewise.
8450 * nss/nss_db/db-alias.c: Removed.
8451 * nss/nss_db/dummy-db.h: Removed.
8452
9ee76b5a
UD
84532011-06-02 Ulrich Drepper <drepper@gmail.com>
8454
8455 * nss/makedb.c: Rewritten to not use database library.
8456 * nss/Makefile: Update to build new makedb program.
8457
c71ca1f8
AJ
84582011-06-14 Andreas Jaeger <aj@suse.de>
8459
8460 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8461 memset declaration.
8462
3154bfb8
UD
84632011-06-10 Andreas Schwab <schwab@redhat.com>
8464
8465 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8466 tmpbuf.
8467
b350afab
RM
84682011-06-10 Roland McGrath <roland@hack.frob.com>
8469
decd4e50
RM
8470 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8471 * elf/Makefile ($(objpfx)ld.so): Likewise.
8472
5615eaf2
RM
8473 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8474 Don't list ld.so twice in dependencies.
8475
8476 * posix/bug-regex31.c: Include <stdlib.h>.
8477
8478 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8479
8480 * nis/nss_compat/compat-spwd.c
8481 (getspent_next_nss_netgr): Remove unused variable.
8482 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8483
8484 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8485 nonmembers" output to use the right array.
8486
8487 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8488
8489 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8490
8491 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8492 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8493 * catgets/gencat.c (read_input_file): Likewise.
8494 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8495
8496 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8497 variable definition inside #if's controlling its use.
8498
8499 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8500
8501 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8502
8503 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8504
8505 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8506 unreachable code.
8507
8508 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8509
b68e08db
RM
8510 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8511 * configure: Regenerated.
8512
b350afab
RM
8513 * Makerules: Revert last change.
8514 * elf/Makefile: Likewise.
8515
28368601
RM
85162011-06-09 Roland McGrath <roland@hack.frob.com>
8517
8518 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8519 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8520 (reloc-link): Likewise.
8521
11988f8f
UD
85222011-06-09 Ulrich Drepper <drepper@gmail.com>
8523
8524 * elf/Makefile: Add rules to build pldd.
8525 * elf/pldd.c: New file.
8526 * elf/pldd-xx.c: New file.
8527
e80fab37
UD
85282011-06-07 Ulrich Drepper <drepper@gmail.com>
8529
8530 * version.h: Update for 2.15 development version.
8531
9b849836
DM
85322011-06-07 David S. Miller <davem@davemloft.net>
8533
8534 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8535 ifuncs.
8536 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8537 elf_machine_lazy_rel): Likewise.
8538 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8539 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8540 elf_machine_lazy_rel): Likewise.
8541 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8542 dl_hwcap via passed in argument.
8543 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8544 Likewise.
8545
5a31b283
AK
85462011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8547
8548 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8549
069e52f8
RM
85502011-06-06 Roland McGrath <roland@hack.frob.com>
8551
8552 [BZ #12849]
8553 * manual/fdl-1.1.texi: New file, verbatim from:
8554 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8555 * manual/lgpl-2.1.texi: New file, verbatim from:
8556 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8557 * manual/Makefile (licenses): New variable, list those new file names.
8558 (texis): Use it.
8559 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8560
8561 * manual/fdl.texi: File removed.
8562 * manual/lesser.texi: File removed.
8563 * manual/libc.texinfo (Copying, Documentation License):
8564 Use new @include file names, put @appendix directive before @include.
8565
f16846a5
JJ
85662011-06-04 Jakub Jelinek <jakub@redhat.com>
8567
8568 [BZ #12841]
8569 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8570 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8571 (mq_open): Add __NTH.
8572
3d29045b
L
85732011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8574
8575 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8576 Assume Intel Core i3/i5/i7 processor if AVX is available.
8577
8c297311
UD
85782011-05-31 Ulrich Drepper <drepper@gmail.com>
8579
8580 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8581 typo.
8582
c8fc0c91
UD
85832011-05-31 Andreas Schwab <schwab@redhat.com>
8584
8585 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8586 memory. Use alloca_account. Fix memory leak when retrying.
8587
5b27a807
UD
85882011-05-31 Ulrich Drepper <drepper@gmail.com>
8589
356f8bc6
UD
8590 * version.h (RELEASE): Bump for 2.14 release.
8591 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8592
5b27a807
UD
8593 * config.make.in (RANLIB): Remove entry.
8594
01f16ab0
UD
85952011-05-30 Ulrich Drepper <drepper@gmail.com>
8596
41fce8bd
UD
8597 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8598 (libc.pot): Work around missing support for .ksh extension in xgettext.
8599
4769ae77
UD
8600 [BZ #12684]
8601 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8602 if both request failed.
8603 (send_dg): In case of server errors clear resplen or *resplen2.
8604
6b1e7d19
UD
8605 [BZ #12454]
8606 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8607 when there are multiple maps.
8608 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8609 (_dl_fini): Remove test here.
8610
01f16ab0
UD
8611 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8612
b1ebd700
UD
86132011-05-29 Ulrich Drepper <drepper@gmail.com>
8614
7ae22829
UD
8615 [BZ #12350]
8616 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8617 bit from old_res_options.
8618 (gaih_inet): Likewise.
8619
553149f6 8620 [BZ #11099]
18a84741 8621 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
8622 as signed.
8623
652ffab1
UD
8624 * resolv/res_init.c (res_setoptions): Make the code more compact.
8625
16985fd0
UD
8626 [BZ #11558]
8627 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8628 set RES_USEVC.
8629
0464f746
UD
8630 [BZ #11634]
8631 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8632
7d17596c
UD
8633 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8634
cf6bbbd7
UD
8635 [BZ #11781]
8636 * malloc/malloc.h: Declare malloc hook variables as volatile.
8637
13f1ab36
UD
8638 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8639 in last patch.
8640
b1ebd700
UD
8641 [BZ #11799]
8642 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 8643 raise in the comment.
80e2212d
UD
8644 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8645 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8646 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 8647
ce67228d
UD
86482011-05-28 Ulrich Drepper <drepper@gmail.com>
8649
8887a920
UD
8650 [BZ #12811]
8651 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8652 grow the buffers more if it already has to be sufficient.
8653 (build_wcs_upper_buffer): Likewise.
8654 * posix/regexec.c (check_matching): Likewise.
8655 (clean_state_log_if_needed): Likewise.
8656 (extend_buffers): Don't enlarge buffers beyond size of the input
8657 buffer.
8658 Patches mostly by Emil Wojak <emil@wojak.eu>.
8659 * posix/bug-regex32.c: New file.
8660 * posix/Makefile (tests): Add bug-regex32.
8661
4f031072
UD
8662 * locale/findlocale.c (_nl_find_locale): Return right away if
8663 _nl_explode_name failed.
8664 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8665
d0478f0c
UD
8666 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8667
de81b246
UD
8668 * debug/xtrace.sh: Unify messages.
8669 * malloc/memusage.sh: Likewise.
8670
c738465a
UD
8671 [BZ #12813]
8672 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8673 time symbol from vDSO. Substitute with vsyscall if not available.
8674 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8675 __vdso_time.
8676
f1f929d7
UD
8677 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8678 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8679 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8680 Add sendmmsg and internal_sendmmsg.
8681 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8682 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8683 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8684
ce67228d
UD
8685 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8686 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8687 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8688
e57420c6
UD
86892011-05-27 Ulrich Drepper <drepper@gmail.com>
8690
a8509ca5
UD
8691 [BZ #12813]
8692 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8693 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8694 available.
8695 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8696 __vdso_getcpu.
8697
e57420c6
UD
8698 [BZ #12814]
8699 * iconvdata/Makefile (tests): Add bug-iconv9.
8700 * iconvdata/bug-iconv9.c: New file.
8701
4d07db15
AS
87022011-05-27 Andreas Schwab <schwab@redhat.com>
8703
8704 [BZ #12814]
8705 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8706
ea486f69
JJ
87072011-05-25 Jakub Jelinek <jakub@redhat.com>
8708
8709 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8710 (struct user_regs_struct): Change intcs field back to cs.
8711
6f038433
UD
87122011-05-25 Ulrich Drepper <drepper@gmail.com>
8713
8714 * po/ja.po: Update from translation team.
8715
67f86a25
UD
87162011-05-23 Ulrich Drepper <drepper@gmail.com>
8717
8718 [BZ #12795]
8719 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8720 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8721
def7fbd6
AS
87222011-05-20 Andreas Schwab <schwab@redhat.com>
8723
8724 * stdlib/longlong.h: Update from GCC.
8725
f50ef8f1
AS
87262011-05-23 Andreas Schwab <schwab@redhat.com>
8727
8728 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8729 parameter name.
8730 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8731 Add parameter name.
8732 (__sysconf): Pass it down.
8733
de7ce8f1
UD
87342011-05-22 Ulrich Drepper <drepper@gmail.com>
8735
f2962a71
UD
8736 [BZ #12671]
8737 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8738 some situations.
8739 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8740 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8741 add in in __libc_use_alloca calls. Adjust callers.
8742 (glob): Use malloc in some situations.
8743
de7ce8f1
UD
8744 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8745 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8746 pltexit.
8747
aec84f53
UD
87482011-05-21 Ulrich Drepper <drepper@gmail.com>
8749
05bb4a68
UD
8750 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8751 and CLOCK_BOOTTIME_ALARM.
8752
7ea72f99
UD
8753 [BZ #12782]
8754 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8755 is returned.
8756
7e4afad5
UD
8757 * string/_strerror.c (__strerror_r): Print negative errors as signed
8758 numbers.
8759
8e211fec
UD
8760 [BZ #12777]
8761 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8762 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8763 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8764
f7d82dc9
UD
8765 * configure.in: Fix typo in redirection and correct removal of test
8766 files in two cases.
8767
cc9e536d
UD
8768 [BZ #12788]
8769 * locale/setlocale.c (new_composite_name): Fix test to check for
8770 identical name of all categories.
8771
aec84f53
UD
8772 [BZ #12792]
8773 * libio/filedoalloc.c (local_isatty): New function.
8774 (_IO_file_doallocate): Use local_isatty.
8775 * stdio-common/perror.c (perror): In case a new stream is used
8776 forward the stream error.
8777 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8778 error flag.
8779
78e64fdc
RT
87802011-05-20 Ulrich Drepper <drepper@gmail.com>
8781
34a9094f
UD
8782 [BZ #11869]
8783 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8784 alloca.
8785 * include/alloca.h (extend_alloca_account): Define.
8786
78e64fdc
RT
8787 [BZ #11857]
8788 * posix/regex.h: Fix comments with documentation of user-accessible
8789 fields after compilation and describe correct free'ing of pattern
8790 after re_compile_pattern.
8791 Patch by Reuben Thomas <rrt@sc3d.org>.
8792
457bddfc
RA
87932011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8794
8795 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8796 and -mno-altivec to prevent the compiler from using Altivec and/or
8797 VSX instructions when the corresponding registers are not available.
8798
a4527b51
AS
87992011-05-19 Andreas Schwab <schwab@redhat.com>
8800
8801 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8802
ed690b2f
UD
88032011-05-19 Ulrich Drepper <drepper@gmail.com>
8804
8805 * libio/freopen.c (freopen): Use __dup2, not dup2.
8806 * libio/freopen64.c (freopen64): Likewise.
8807
8db73634
L
88082011-05-17 H.J. Lu <hongjiu.lu@intel.com>
8809
8810 [BZ #12775]
8811 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
8812 * math/Makefile (tests): Add test-powl.
8813 (CFLAGS-test-powl.c): Define.
8814 * math/test-powl.c: New file.
8815
0a197a9d
L
88162011-05-16 H.J. Lu <hongjiu.lu@intel.com>
8817
8818 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
8819
ee30c380
UD
88202011-05-17 Ulrich Drepper <drepper@gmail.com>
8821
8822 [BZ #11837]
8823 * iconvdata/gb18030.c: Update to GB18020-2005.
8824
6ce75379
UD
88252011-05-16 Ulrich Drepper <drepper@gmail.com>
8826
a4b89fd8
AR
8827 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
8828 RE_SYNTAX_POSIX_AWK): Update to match recent development.
8829 Patch by Aharon Robbins <arnold@skeeve.com>.
8830
ea389b12
UD
8831 [BZ #11892]
8832 * stdlib/putenv.c (putenv): Don't always create copy of the variable
8833 on the stack.
8834
68a3f91f
UD
8835 [BZ #11895]
8836 * misc/pselect.c (__pselect): Handle timeout value errors hidden
8837 through underflows.
8838
15cc7dd1
UD
8839 [BZ #12766]
8840 * misc/error.c (error_at_line): Ensure file_name and old_file_name
8841 point to strings before performing equality test for error_one_per_line
8842 mode.
8843
f3799213
UD
8844 [BZ #11697]
8845 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
8846
d79a9c94
UD
8847 [BZ #11820]
8848 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8849 (struct user_fpregs_struct): Avoid __uint*_t types.
8850
56e5eb46
UD
8851 [BZ #6420]
8852 * malloc/mtrace.c (tr_where): Add additional parameter to point to
8853 symbol info. Use it instead of calling _dl_addr locally.
8854 (lock_and_info): New function.
8855 (tr_freehook): Call lock_and_info and pass symbol info as additional
8856 parameter to tr_where.
8857 (tr_mallochook): Likewise.
8858 (tr_reallochook): Likewise.
8859 (tr_memalignhook): Likewise.
8860
6ce75379
UD
8861 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
8862 used and couldn't be at all thread-safe.
8863
f8a3b5bf
UD
88642011-05-15 Ulrich Drepper <drepper@gmail.com>
8865
94b7cc37
UD
8866 * libio/freopen.c (freopen): Don't close old file descriptor
8867 before the new one is opened. Instead dup the new file descriptor
8868 to the old one after the new stream is created.
8869 * libio/freopen64.c (freopen64): Likewise.
8870 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
8871 * libio/fileops.c (_IO_new_file_close_it): Handle new
8872 _IO_FLAGS2_NOCLOSE flag.
8873 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
8874 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
8875 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
8876 _IO_FLAGS2_NOCLOSE flag.
8877 * include/unistd.h: Add hidden_proto for dup3.
8878 Define __have_dup3.
8879 * io/dup3.c: Define hidden symbol.
8880 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
8881
bd25564e
UD
8882 [BZ #7101]
8883 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
8884 when an incomplete long option is used.
8885 * posix/tst-getopt_long1.c: New file.
8886 * posix/Makefile (tests): Add tst-getopt_long1.
8887
c84cfef4
UD
8888 [BZ #10138]
8889 * scripts/config.guess: Update from autoconf-2.68.
8890 * scripts/config.sub: Likewise.
8891
3b85df27
UD
8892 [BZ #10157]
8893 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
8894 tests into ...
8895 (has_cpuclock): ...this. New function.
8896 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
8897 macro here based on has_cpuclock code.
8898
15a856b1
UD
8899 [BZ #10149]
8900 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8901 First byte (not low byte) is now always NUL.
8902 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
8903
05f399e6
UD
8904 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8905 Use non-cancelable interfaces.
8906
10a52685 8907 [BZ #9809]
94ecc67d
UD
8908 * locale/iso-639.def: Add entry for Sorani.
8909
f8a3b5bf
UD
8910 [BZ #11901]
8911 * include/stdlib.h: Move include protection to the right place.
8912 Define abort_msg_s. Declare __abort_msg with it.
8913 * stdlib/abort.c (__abort_msg): Adjust type.
8914 * assert/assert.c (__assert_fail_base): New function. Majority
8915 of code from __assert_fail. Allocate memory for __abort_msg with
8916 mmap.
8917 (__assert_fail): Now call __assert_fail_base.
8918 * assert/assert-perr.c: Remove bulk of implementation. Use
8919 __assert_fail_base.
8920 * include/assert.hL Declare __assert_fail_base.
8921 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
8922 mmap.
8923 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
8924
1af4e298
UD
89252011-05-14 Ulrich Drepper <drepper@gmail.com>
8926
f8a3b5bf 8927 [BZ #11952]
d26dfc60
MG
8928 [BZ #12453]
8929 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
8930 until all modules are registered in the DTV.
8931 * elf/Makefile: Add rules to build and run tst-tls19.
8932 * elf/tst-tls19.c: New file.
8933 * elf/tst-tls19mod1.c: New file.
8934 * elf/tst-tls19mod2.c: New file.
8935 * elf/tst-tls19mod3.c: New file.
8936 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
8937
2fc54d6f
UD
8938 [BZ #12083]
8939 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
8940 correctly.
8941
98d76b46
UD
8942 [BZ #12601]
8943 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
8944 two-byte sequence errors.
8945 * iconvdata/Makefile (tests): Add bug-iconv8.
8946 * iconvdata/bug-iconv8.c: New file.
8947
da3c19ef
UD
8948 [BZ #12626]
8949 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
8950 buf2 definition.
8951
ca408c15
UD
8952 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
8953
d6f67f7d
UD
8954 [BZ #12432]
8955 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
8956 (dummy_getcfa): New function.
8957 (init): Get _Unwind_GetCFA address, use dummy if not found.
8958 (backtrace_helper): In recursion check, also check whether CFA changes.
8959 (__backtrace): Completely initialize arg.
8960
1af4e298 8961 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
8962 storing incomplete byte sequence in state object. Avoid testing for
8963 guaranteed too small input if we know there is enough data available.
1af4e298 8964
da62f81b
AS
89652011-05-11 Andreas Schwab <schwab@redhat.com>
8966
8967 * Makeconfig (+link-pie): Indent.
8968 * Rules (binaries-pie): Define if $(have-fpie) and
8969 $(build-shared).
8970 (binaries-shared): Also filter out $(binaries-pie).
8971 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
8972 * nscd/Makefile (others-pie): Add nscd.
8973 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
8974 ($(objpfx)nscd): Remove command override.
8975 * login/Makefile (others-pie): Add pt_chown.
8976 ($(objpfx)pt_chown): Remove command override.
8977 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
8978 remove command overrides.
8979
fcabc0f8
UD
89802011-05-13 Ulrich Drepper <drepper@gmail.com>
8981
20030ae6
UD
8982 * libio/tst_putwc.c: Fix error messages.
8983
fcabc0f8
UD
8984 [BZ #12724]
8985 * libio/fileops.c (_IO_new_file_close_it): Always flush when
8986 currently writing and seek to current position when not.
8987 * libio/Makefile (tests): Add bug-fclose1.
8988 * libio/bug-fclose1.c: New file.
8989
320a5dc0
PB
89902011-05-12 Ulrich Drepper <drepper@gmail.com>
8991
8992 [BZ #12511]
8993 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
8994 don't set DF_1_NODELETE here.
8995 (do_lookup_x): When entering new entry test for copy relocation
8996 and if necessary set DF_1_NODELETE flag.
8997 * elf/tst-unique4.cc: New file.
8998 * elf/tst-unique4.h: New file.
8999 * elf/tst-unique4lib.cc: New file.
9000 * elf/Makefile: Add rules to build and run tst-unique4.
9001 Patch by Piotr Bury <pbury@goahead.com>.
9002
22836f52
UD
90032011-05-11 Ulrich Drepper <drepper@gmail.com>
9004
f574184a
UD
9005 [BZ #12052]
9006 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9007
e1fb097f
UD
9008 [BZ #12625]
9009 * misc/mntent_r.c (addmntent): Flush the stream after the output
9010
22836f52
UD
9011 [BZ #12393]
9012 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9013 (is_trusted_path_normalize): Skip initial colon. Append slash
9014 to empty buffer. Duplicate is_trusted_path code but allow
9015 constructed patch to be prefix.
9016 (is_dst): Allow $ORIGIN followed by /.
9017 (_dl_dst_substitute): Correct clearing of check_for_trusted.
9018 Correct testing of result of is_trusted_path_normalize
9019 (decompose_rpath): Fix warning.
9020
7b3b0b2a
UD
90212011-05-10 Ulrich Drepper <drepper@gmail.com>
9022
9023 [BZ #11257]
9024 * grp/initgroups.c (internal_getgrouplist): When we found the service
9025 list through the initgroups entry in nsswitch.conf do not always
9026 continue on a successful lookup. Don't always use the
eac80ce2 9027 __nss_group_database value if it is set.
7b3b0b2a
UD
9028 * nss/nsswitch.conf (initgroups): Change action for successful db
9029 lookup to continue for compatibility.
9030
2a81eaa5
UD
90312011-05-09 Ulrich Drepper <drepper@gmail.com>
9032
be97a69e
UD
9033 [BZ #11532]
9034 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9035 and CP774 modules.
9036 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9037 and CP774 modules.
9038 * iconvdata/tst-tables.sh: Likewise.
9039 * iconvdata/cp770.c: New file.
9040 * iconvdata/cp771.c: New file.
9041 * iconvdata/cp772.c: New file.
9042 * iconvdata/cp773.c: New file.
9043 * iconvdata/cp774.c: New file.
9044 * iconvdata/testdata/CP770: New file.
9045 * iconvdata/testdata/CP770..UTF8: New file.
9046 * iconvdata/testdata/CP771: New file.
9047 * iconvdata/testdata/CP771..UTF8: New file.
9048 * iconvdata/testdata/CP772: New file.
9049 * iconvdata/testdata/CP772..UTF8: New file.
9050 * iconvdata/testdata/CP773: New file.
9051 * iconvdata/testdata/CP773..UTF8: New file.
9052 * iconvdata/testdata/CP774: New file.
9053 * iconvdata/testdata/CP774..UTF8: New file.
9054
9055 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9056 END CHARMAP line.
9057 * iconvdata/gen-8bit-gap.sh: Likewise.
9058 * iconvdata/gen-8bit.sh: Likewise.
9059
c1e9e399
UD
9060 * locale/iso-639.def: Add ary entry.
9061
24c55fb3 9062 [BZ #11258]
96b4b1b0
UD
9063 * locale/C-translit.h.in: Add U20A1 transliteration.
9064
bdc2f971
KB
9065 [BZ #12178]
9066 * locale/iso-639.def: Add wae entry.
9067 Patch by Kevin Bortis <bortis@translate-wae.ch>.
9068
2952b117
UD
9069 [BZ #12545]
9070 * locale/programs/localedef.c (construct_output_path): Use ssize_t
9071 for n.
9072
2a81eaa5
UD
9073 [BZ #12711]
9074 * locale/C-translit.h.in: Add entry for U20B9.
9075 Patch by pravin.d.s@gmail.com.
9076
28377d1b
UD
90772011-05-08 Ulrich Drepper <drepper@gmail.com>
9078
7fb90fb8
UD
9079 [BZ #12713]
9080 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9081 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
9082 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
9083 in rtld. Use *stat64.
7fb90fb8 9084 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 9085 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 9086 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
9087 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9088 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9089 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9090 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9091 __fstatat64 macros.
7fb90fb8
UD
9092 * include/dirent.h: Add libc_hidden_proto for rewinddir.
9093 * dirent/rewinddir.c: Add libc_hidden_def.
9094 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 9095 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 9096
28377d1b
UD
9097 * include/dirent.h (__alloc_dir): Add flags parameter.
9098 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9099 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9100 __alloc_dir.
9101 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
9102 from fdopendir if O_CLOEXEC is already set.
9103
66bdbaa4
AM
91042011-03-15 Alan Modra <amodra@gmail.com>
9105
9106 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9107 l_tls_firstbyte_offset non-zero. Save padding offset in
9108 l_tls_firstbyte_offset for later use.
9109 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9110 freeing static tls block.
9111
95721191
JN
91122011-03-05 Jonathan Nieder <jrnieder@gmail.com>
9113
9114 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9115 where #ifdef was intended. The intent is to prevent ARG_MAX from
9116 being defined by the kernel headers.
9117
f87dfb1f
UD
91182011-05-07 Ulrich Drepper <drepper@gmail.com>
9119
9120 [BZ #12734]
9121 * resolv/resolv.h: Define RES_NOTLDQUERY.
9122 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9123 no-tld-query and set RES_NOTLDQUERY.
9124 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9125 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9126 modern BIND to search name as TLD unless forbidden.
9127
47c3cd7a
UD
91282011-05-07 Petr Baudis <pasky@suse.cz>
9129 Ulrich Drepper <drepper@gmail.com>
9130
9131 [BZ #12393]
9132 * elf/dl-load.c (fillin_rpath): Move trusted path check...
9133 (is_trusted_path): ...to here.
c1e9ea35 9134 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 9135 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 9136 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 9137
8a35c912
PP
91382011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9139
9140 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9141 __BEGIN/__END_DECLS.
9142
acd41f47
UD
91432011-05-06 Ulrich Drepper <drepper@gmail.com>
9144
9145 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9146 NSS_STATUS_NOTFOUND if no record was found.
9147
597df647
AS
91482011-05-05 Andreas Schwab <schwab@redhat.com>
9149
9150 * sunrpc/Makefile (headers): Add rpc/netdb.h.
9151 (headers-not-in-tirpc): Remove rpc/netdb.h
9152 * resolv/netdb.h: Revert last change.
9153
b9af1301
PP
91542011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9155
9156 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9157 circular dependency between libgcc.a and libc.a.
9158
4e34d5f5
AS
91592011-05-05 Andreas Schwab <schwab@redhat.com>
9160
9161 * resolv/netdb.h: Don't include <rpc/netdb.h>.
9162 * nis/Makefile: Don't install rpcsvc/*.
9163 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9164 instead of <rpc/types.h>.
9165 (MAXHOSTNAMELEN): Define.
9166
00ee369c
AS
91672011-05-03 Andreas Schwab <schwab@redhat.com>
9168
9169 * elf/ldconfig.c (add_dir): Don't crash on empty path.
9170
0b592a30
MB
91712011-04-28 Maciej Babinski <mbabinski@google.com>
9172
9173 [BZ #12714]
9174 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9175 gethostbyname4_r when IPv6 results are possible.
9176
6e04cbbe
UD
91772011-05-02 Ulrich Drepper <drepper@gmail.com>
9178
9179 [BZ #12723]
9180 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9181 _PC_PIPE_BUF handling.
9182
e4ecafe0
BH
91832011-04-30 Bruno Haible <bruno@clisp.org>
9184
9185 [BZ #12717]
9186 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9187 * resolv/netdb.h (getnameinfo): Change type of flags parameter
9188 to 'int'.
9189 * inet/getnameinfo.c (getnameinfo): Likewise.
9190
125ee683
UD
91912011-04-29 Ulrich Drepper <drepper@gmail.com>
9192
9193 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9194 to groups setting in database lookup.
9195 * nss/nsswitch.conf: Add initgroups entry.
9196
b722481a
EB
91972011-04-22 Ulrich Drepper <drepper@gmail.com>
9198
9199 [BZ #12685]
9200 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9201 mode string.
9202 Patch by Eric Blake <eblake@redhat.com>.
9203
4df46dbd
L
92042011-04-20 H.J. Lu <hongjiu.lu@intel.com>
9205
9206 * sunrpc/Makefile (need-export-routines): Add svc_run.
9207 (routines): Remove svc_run.
9208 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9209 * sunrpc/clnt_perr.c (clnt_perrno): Export.
9210 * sunrpc/svc_run.c (svc_run): Likewise.
9211 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9212
e84142d2
UD
92132011-04-21 Ulrich Drepper <drepper@gmail.com>
9214
9215 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9216 problem in reallocation in last patch.
9217
877175d8
UD
92182011-04-20 Ulrich Drepper <drepper@gmail.com>
9219
9220 * sunrpc/Makefile: Move inclusion of Rules.
9221
ab8eed78
UD
92222011-04-19 Ulrich Drepper <drepper@gmail.com>
9223
9224 * nss/nss_files/files-initgroups.c: New file.
9225 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9226 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9227 _nss_files_initgroups_dyn.
9228
e3d8f584
RS
92292011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9230
9231 * elf/elf.h (R_ARM_IRELATIVE): Define.
9232
af190f45
UD
92332011-04-19 Ulrich Drepper <drepper@gmail.com>
9234
9235 * po/ru.po: Update from translation team.
9236
53cf59ef
UD
92372011-04-17 Ulrich Drepper <drepper@gmail.com>
9238
9239 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9240 dependencies.
9241
4c559bcd
MF
92422011-02-06 Mike Frysinger <vapier@gentoo.org>
9243
9244 [BZ #12653]
9245 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9246 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9247 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9248 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9249 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9250
4420675c
AS
92512011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9252
9253 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9254 differing bytes.
9255 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9256 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9257 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9258
75ea32ab
UD
92592011-04-17 Ulrich Drepper <drepper@gmail.com>
9260
9261 [BZ #12420]
9262 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9263 storing it.
9264 * stdlib/bug-getcontext.c: New file.
9265 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9266
27390476
AK
92672011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9268
9269 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9270 instructions into .machine "z9-109".
9271 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9272 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9273
10442705
AK
92742011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9275
9276 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9277 between environment variables and auxiliary vector.
9278
7b57bfe5
UD
92792011-04-16 Ulrich Drepper <drepper@gmail.com>
9280
9281 * Makefile: Add rules to build linkobj/libc.so.
9282 * include/libc-symbols.h: Define libc_hidden_nolink.
9283 * include/rpc/auth.h: Mark functions which are to be hidden.
9284 * include/rpc/auth_des.h: Likewise.
9285 * include/rpc/auth_unix.h: Likewise.
9286 * include/rpc/clnt.h: Likewise.
9287 * include/rpc/des_crypt.h: Likewise.
9288 * include/rpc/key_prot.h: Likewise.
9289 * include/rpc/pmap_clnt.h: Likewise.
9290 * include/rpc/pmap_prot.h: Likewise.
9291 * include/rpc/pmap_rmt.h: Likewise.
9292 * include/rpc/rpc_msg.h: Likewise.
9293 * include/rpc/svc.h: Likewise.
9294 * include/rpc/svc_auth.h: Likewise.
9295 * include/rpc/xdr.h: Likewise.
9296 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9297 * nss/Makefile: Likewise.
9298 * sunrpc/Makefile: Don't install headers. Build library with normal
9299 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9300 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9301 for the compat linking library. Remove use of INTDEF/INTUSE.
9302 * sunrpc/auth_none.c: Likewise.
9303 * sunrpc/auth_unix.c: Likewise.
9304 * sunrpc/authdes_prot.c: Likewise.
9305 * sunrpc/authuxprot.c: Likewise.
9306 * sunrpc/clnt_gen.c: Likewise.
9307 * sunrpc/clnt_perr.c: Likewise.
9308 * sunrpc/clnt_raw.c: Likewise.
9309 * sunrpc/clnt_simp.c: Likewise.
9310 * sunrpc/clnt_tcp.c: Likewise.
9311 * sunrpc/clnt_udp.c: Likewise.
9312 * sunrpc/clnt_unix.c: Likewise.
9313 * sunrpc/des_crypt.c: Likewise.
9314 * sunrpc/des_soft.c: Likewise.
9315 * sunrpc/get_myaddr.c: Likewise.
9316 * sunrpc/key_call.c: Likewise.
9317 * sunrpc/key_prot.c: Likewise.
9318 * sunrpc/netname.c: Likewise.
9319 * sunrpc/pm_getmaps.c: Likewise.
9320 * sunrpc/pm_getport.c: Likewise.
9321 * sunrpc/pmap_clnt.c: Likewise.
9322 * sunrpc/pmap_prot.c: Likewise.
9323 * sunrpc/pmap_prot2.c: Likewise.
9324 * sunrpc/pmap_rmt.c: Likewise.
9325 * sunrpc/publickey.c: Likewise.
9326 * sunrpc/rpc_cmsg.c: Likewise.
9327 * sunrpc/rpc_common.c: Likewise.
9328 * sunrpc/rpc_dtable.c: Likewise.
9329 * sunrpc/rpc_prot.c: Likewise.
9330 * sunrpc/rpc_thread.c: Likewise.
9331 * sunrpc/rtime.c: Likewise.
9332 * sunrpc/svc.c: Likewise.
9333 * sunrpc/svc_auth.c: Likewise.
9334 * sunrpc/svc_authux.c: Likewise.
9335 * sunrpc/svc_raw.c: Likewise.
9336 * sunrpc/svc_run.c: Likewise.
9337 * sunrpc/svc_simple.c: Likewise.
9338 * sunrpc/svc_tcp.c: Likewise.
9339 * sunrpc/svc_udp.c: Likewise.
9340 * sunrpc/svc_unix.c: Likewise.
9341 * sunrpc/svcauth_des.c: Likewise.
9342 * sunrpc/xcrypt.c: Likewise.
9343 * sunrpc/xdr.c: Likewise.
9344 * sunrpc/xdr_array.c: Likewise.
9345 * sunrpc/xdr_float.c: Likewise.
9346 * sunrpc/xdr_intXX_t.c: Likewise.
9347 * sunrpc/xdr_mem.c: Likewise.
9348 * sunrpc/xdr_rec.c: Likewise.
9349 * sunrpc/xdr_ref.c: Likewise.
9350 * sunrpc/xdr_sizeof.c: Likewise.
9351 * sunrpc/xdr_stdio.c: Likewise.
9352
e6c61494
UD
93532011-04-10 Ulrich Drepper <drepper@gmail.com>
9354
9355 [BZ #12650]
9356 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9357 * sysdeps/ia64/dl-tls.h: Likewise.
9358 * sysdeps/powerpc/dl-tls.h: Likewise.
9359 * sysdeps/s390/dl-tls.h: Likewise.
9360 * sysdeps/sh/dl-tls.h: Likewise.
9361 * sysdeps/sparc/dl-tls.h: Likewise.
9362 * sysdeps/x86_64/dl-tls.h: Likewise.
9363 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9364
34fe483e
AS
93652011-03-14 Andreas Schwab <schwab@redhat.com>
9366
9367 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9368 rpath element also skip the following colon.
9369 (expand_dynamic_string_token): Add is_path parameter and pass
9370 down to DL_DST_REQUIRED and _dl_dst_substitute.
9371 (decompose_rpath): Call expand_dynamic_string_token with
9372 non-zero is_path. Ignore empty rpaths.
9373 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9374 with zero is_path.
9375
f12a32e6
AS
93762011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9377
9378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9379 Make cancelable.
9380
38a7d692
UD
93812011-04-09 Ulrich Drepper <drepper@gmail.com>
9382
9383 [BZ #12655]
9384 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9385 Patch by Filipe David Manana <fdmanana@apache.org>.
9386
e451d22b
AS
93872011-04-07 Andreas Schwab <schwab@redhat.com>
9388
9389 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9390 Maintain aligned stack.
9391 (CHECK_RSP): Remove unused macro.
9392
dedc7c7b
UD
93932011-04-03 Ulrich Drepper <drepper@gmail.com>
9394
9395 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9396 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9397
94521213
UD
93982011-04-02 Ulrich Drepper <drepper@gmail.com>
9399
9400 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9401
8cb700c0 9402 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 9403
0354e355
L
94042011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9405
9406 [BZ #12518]
9407 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9408 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9409 * sysdeps/x86_64/memmove.c: New file.
9410 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9411 (memcpy): Renamed to ...
9412 (__new_memcpy): This.
9413 (memcpy): Provide GLIBC_2_14 memcpy.
9414 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9415 (memcpy): Provide GLIBC_2_2_5 memcpy.
9416
8593482f
UD
94172011-04-01 Ulrich Drepper <drepper@gmail.com>
9418
9419 [BZ #12631]
9420 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9421
81a5726b
AS
94222011-03-30 Andreas Schwab <schwab@redhat.com>
9423
9424 * misc/syncfs.c: New file.
9425 * misc/Makefile (routines): Add syncfs.
9426 * posix/unistd.h: Declare syncfs.
9427 * sysdeps/unix/syscalls.list: Add syncfs.
9428
00e5419f
AS
94292011-04-01 Andreas Schwab <schwab@redhat.com>
9430
9431 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9432 open_by_handle_at.
9433 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9434 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9435 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9436 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9437 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9438 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9439 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9440
748876bf
UD
94412011-04-01 Ulrich Drepper <drepper@gmail.com>
9442
658e451d
UD
9443 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9444 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9445 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9446 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9447 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9448 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9449 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9450
748876bf
UD
9451 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9452 sync_file_range.c with -fexceptions.
9453 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9454 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9455 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9456 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9457 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9458 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9459 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
9460 sync_file_range as cancellation point
9461 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9462 now a wrapper around __call_sync_file_range with cancellation handling.
9463 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9464 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9465 function name to __call_sync_file_range.
9466 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9467 Add call_sync_file_range.
748876bf 9468
6e63d5e1
AS
94692011-04-01 Andreas Schwab <schwab@redhat.com>
9470
9471 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 9472 bits/timex.h.
6e63d5e1 9473
46998f74
UD
94742011-04-01 Ulrich Drepper <drepper@gmail.com>
9475
4c1423ed
UD
9476 * iconv/iconv.h: Fix typo in comment.
9477 * io/fcntl.h: Likewise.
9478 * libio/stdio.h: Likewise.
9479 * posix/spawn.h: Likewise.
9480 * posix/unistd.h: Likewise.
9481 * stdlib/stdlib.h: Likewise.
9482 * time/time.h: Likewise.
9483 * wcsmbs/wchar.h: Likewise.
9484
158648c0
UD
9485 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9486 open_by_handle): Add.
9487 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9488 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9489 Augment a few comments.
9490 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9491 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9492 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9493 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9494 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9495 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9496 open_by_handle.
9497
46998f74
UD
9498 * io/fcntl.h (AT_EMPTY_PATH): Define.
9499
83fe108b
UD
95002011-03-30 Ulrich Drepper <drepper@gmail.com>
9501
9502 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9503 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9504 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9505 to...
9506 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
9507 * Versions.def: Add GLIBC_2.14.
9508 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9509 Export.
83fe108b 9510
bb242059
UD
95112011-03-22 Ulrich Drepper <drepper@gmail.com>
9512
9513 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9514 round counter.
9515 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9516
c97a1282
L
95172011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9518
9519 [BZ #12597]
9520 * string/test-strncmp.c (do_page_test): New function.
9521 (check2): Likewise.
9522 (test_main): Call check2.
9523 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9524
2a115601
UD
95252011-03-20 Ulrich Drepper <drepper@gmail.com>
9526
9527 [BZ #12587]
9528 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9529 Handle cache information in CPU leaf 4.
9530 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9531
8126d904
UD
95322011-03-18 Ulrich Drepper <drepper@gmail.com>
9533
042c49c6 9534 [BZ #12583]
8126d904
UD
9535 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9536 character representation.
9537 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9538
ccfe366e
RA
95392011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9540
9541 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9542 END(__isnan) to END(__isnanf) to match function entry point/label
9543 EALIGN(__isnanf,...).
9544
c6e13027
JJ
95452011-03-10 Jakub Jelinek <jakub@redhat.com>
9546
9547 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9548
33f85a3f
UD
95492011-03-10 Ulrich Drepper <drepper@gmail.com>
9550
028478fa
UD
9551 [BZ #12510]
9552 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9553 copy from the symbol referenced in the relocation to initialize the
9554 used variable.
9555 Patch by Piotr Bury <pbury@goahead.com>.
9556 * elf/Makefile: Add rules to build and tst-unique3.
9557 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9558 * elf/tst-unique3.cc: New file.
9559 * elf/tst-unique3.h: New file.
9560 * elf/tst-unique3lib.cc: New file.
9561 * elf/tst-unique3lib2.cc: New file.
9562
33f85a3f
UD
9563 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9564
03592fc7
MF
95652011-03-10 Mike Frysinger <vapier@gentoo.org>
9566
9567 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9568 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9569 to _start.
03592fc7 9570
6a5ee102
UD
95712011-03-06 Ulrich Drepper <drepper@gmail.com>
9572
9573 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9574 to-be-loaded object along a path to loader is ld.so.
9575
7e4ba49c
HJ
95762011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9577 Ulrich Drepper <drepper@gmail.com>
9578
9579 * sysdeps/x86_64/memset.S: After aligning destination, code
9580 branches to different locations depending on the value of
9581 misalignment, when multiarch is enabled. Fix this.
9582
95832011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9584
9585 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9586 Set _x86_64_preferred_memory_instruction for AMD processsors.
9587 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9588 Set bit_Prefer_SSE_for_memop for AMD processors.
9589
13a804de
UD
95902011-03-04 Ulrich Drepper <drepper@gmail.com>
9591
9592 * libio/fmemopen.c (fmemopen): Optimize a bit.
9593
9d25c392
AS
95942011-03-03 Andreas Schwab <schwab@redhat.com>
9595
9596 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9597
a5543c6a
RM
95982011-03-03 Roland McGrath <roland@redhat.com>
9599
9600 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9601
012d35f7
DM
96022011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9603
7e4ba49c 9604 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
9605 __bzero_ultra1 instead of __memset_ultra1.
9606
4bff6e01
AS
96072011-02-23 Andreas Schwab <schwab@redhat.com>
9608 Ulrich Drepper <drepper@gmail.com>
9609
9610 [BZ #12509]
9611 * include/link.h (struct link_map): Add l_orig_initfini.
9612 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9613 returning unsuccessfully.
9614 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9615 close of a file loaded at startup, restore the original l_initfini
9616 list.
9617 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9618 list, store the pointer.
9619 * elf/Makefile ($(objpfx)noload-mem): New rule.
9620 (noload-ENV): Define.
9621 (tests): Add $(objpfx)noload-mem.
9622 * elf/noload.c: Include <memcheck.h>.
9623 (main): Call mtrace. Close all opened handles.
9624
f2092faf
AS
96252011-02-17 Andreas Schwab <schwab@redhat.com>
9626
9627 [BZ #12454]
9628 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9629 dependencies are missing.
9630
6c8a2e88
ST
96312011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9632
f2092faf 9633 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
9634 Hurd needs munmap.
9635 * sysdeps/mach/hurd/ifreq.h: New file.
9636
84a42118
PB
96372011-01-27 Petr Baudis <pasky@suse.cz>
9638 Ulrich Drepper <drepper@gmail.com>
9639
071f805e 9640 [BZ 12445]#
84a42118
PB
9641 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9642 to extend_alloca().
9643 * stdio-common/bug23.c: New file.
9644 * stdio-common/Makefile (tests): Add bug23.
9645
e23fe25b
AS
96462010-09-28 Andreas Schwab <schwab@redhat.com>
9647 Ulrich Drepper <drepper@gmail.com>
9648
9649 [BZ #12489]
9650 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9651 before performing relro protection. At old place add assertion
9652 to make sure nothing changed.
9653
d3f02e10
NS
96542011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9655 Glauber de Oliveira Costa <glommer@gmail.com>
9656
9657 * elf/elf.h: Add new ARM TLS relocs.
9658
d55fd7a5
RA
96592011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9660
9661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9662 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9663 cast from r3.
9664 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9665 'tests' variable.
9666 * sysdeps/wordsize-64/tst-writev.c: New file.
9667
2206397e
RA
96682011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9669
9670 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9671 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9672 insns in _dl_start to prevent a TOC reference before relocs are
9673 resolved.
9674
e9433893
UD
96752011-02-15 Ulrich Drepper <drepper@gmail.com>
9676
9677 [BZ #12469]
9678 * Makeconfig: Remove RANLIB definition.
9679 * Makerules: Don't use RANLIB.
9680 * aclocal.m4: Remove ranlib test.
9681 * configure.in: No need to check for ranlib.
9682 * elf/rtld-Rules: Don't use RANLIB.
9683
f75286c6
ST
96842011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9685
8e31c82d
ST
9686 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9687 protection macro.
9688 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9689 inclusion protection macro.
9690
f75286c6
ST
9691 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9692 SIGRTMIN and SIGRTMAX and print information in that case only when
9693 SIGRTMIN is defined.
9694
c1d0e639
JJ
96952011-02-11 Jakub Jelinek <jakub@redhat.com>
9696
9697 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9698 arginfo fn returning -1.
9699
9700 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9701 and thousands string is zero terminated.
9702
edf9294e
AS
97032011-02-03 Andreas Schwab <schwab@redhat.com>
9704
9705 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9706 sysdeps/unix/sysv/linux/bits/socket.h.
9707
2b7e92df
ST
97082011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9709
edf9294e
AS
9710 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9711 (__CPU_COUNT): Remove old macros.
9712 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9713 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9714 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
9715 (__sched_cpualloc, __sched_cpufree): Add declarations.
9716
a4c7ea7b
UD
97172011-02-05 Ulrich Drepper <drepper@gmail.com>
9718
9719 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9720 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9721 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9722 (readdhstai): Return value of addhstaiX call.
9723 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9724 (addgrbyX): Return value returned by cache_addgr.
9725 (readdgrbyname): Return value returned by addgrbyX.
9726 (readdgrbygid): Likewise.
9727 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9728 (addpwbyX): Return value returned by cache_addpw.
9729 (readdpwbyname): Return value returned by addhstbyX.
9730 (readdpwbyuid): Likewise.
9731 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9732 (addservbyX): Return value returned by cache_addserv.
9733 (readdservbyname): Return value returned by addservbyX:
9734 (readdservbyport): Likewise.
9735 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9736 (addhstbyX): Return value returned by cache_addhst.
9737 (readdhstbyname): Return value returned by addhstbyX.
9738 (readdhstbyaddr): Likewise.
9739 (readdhstbynamev6): Likewise.
9740 (readdhstbyaddrv6): Likewise.
9741 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9742 (readdinitgroups): Return value returned by addinitgroupsX.
9743 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9744 (prune_cache): Keep track of timeout value of re-added entries.
9745 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9746 * nscd/nscd.h: Adjust prototypes of readd* functions.
9747
a0bf67cc
RM
97482011-02-04 Roland McGrath <roland@redhat.com>
9749
9750 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9751 (nis_stats): Likewise.
9752 * nis/nis_modify.c (nis_modify): Likewise.
9753 * nis/nis_remove.c (nis_remove): Likewise.
9754 * nis/nis_add.c (nis_add): Likewise.
9755
9756 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9757
9758 * posix/fnmatch_loop.c: Add some consts.
9759
9760 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9761
435b95eb
L
97622011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9763
9764 [BZ #12460]
9765 * config.make.in (config-cflags-novzeroupper): Define.
9766 * configure.in: Substitute libc_cv_cc_novzeroupper.
9767 * elf/Makefile (AVX-CFLAGS): Define.
9768 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9769 (CFLAGS-tst-auditmod4a.c): Likewise.
9770 (CFLAGS-tst-auditmod4b.c): Likewise.
9771 (CFLAGS-tst-auditmod6b.c): Likewise.
9772 (CFLAGS-tst-auditmod6c.c): Likewise.
9773 (CFLAGS-tst-auditmod7b.c): Likewise.
9774 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9775
8517b15e
UD
97762011-02-02 Ulrich Drepper <drepper@gmail.com>
9777
9778 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9779 function to the callback.
9780 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9781
10a656fe
AS
97822011-02-02 Andreas Schwab <schwab@redhat.com>
9783
9784 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9785 of errno.
9786
968dad0a
UD
97872011-01-19 Ulrich Drepper <drepper@gmail.com>
9788
9f94d2ea 9789 [BZ #11724]
968dad0a
UD
9790 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9791 of constructors.
9792 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9793 of destructors.
9794 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9795
9796 [BZ #11724]
9797 * elf/Makefile: Add rules to build and run new test.
9798 * elf/tst-initorder.c: New file.
9799 * elf/tst-initorder.exp: New file.
9800 * elf/tst-initordera1.c: New file.
9801 * elf/tst-initordera2.c: New file.
9802 * elf/tst-initordera3.c: New file.
9803 * elf/tst-initordera4.c: New file.
9804 * elf/tst-initorderb1.c: New file.
9805 * elf/tst-initorderb2.c: New file.
9806 * elf/tst-order-a1.c: New file.
9807 * elf/tst-order-a2.c: New file.
9808 * elf/tst-order-a3.c: New file.
9809 * elf/tst-order-a4.c: New file.
9810 * elf/tst-order-b1.c: New file.
9811 * elf/tst-order-b2.c: New file.
9812 * elf/tst-order-main.c: New file.
9813 New test case by George Gensure <werkt0@gmail.com>.
9814
86e92359
UD
98152010-10-01 Andreas Schwab <schwab@redhat.com>
9816
9817 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9818 decoding ACE if AI_CANONIDN.
9819
5d5732b0
UD
98202011-01-18 Ulrich Drepper <drepper@gmail.com>
9821
9822 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
9823
a77e8cbc
UD
98242011-01-17 Ulrich Drepper <drepper@gmail.com>
9825
6392473f
UD
9826 * version.h (RELEASE): Bump for 2.13 release.
9827 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
9828
620a0529
UD
9829 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
9830
18ba70a5
UD
9831 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
9832 MADV_NOHUGEPAGE.
32465c3e
UD
9833 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
9834 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9835 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9836 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9837 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9838 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9839
c0dafcf1
UD
9840 * posix/getconf.c: Update copyright year.
9841 * catgets/gencat.c: Likewise.
9842 * csu/version.c: Likewise.
9843 * debug/catchsegv.sh: Likewise.
9844 * debug/xtrace.sh: Likewise.
9845 * elf/ldconfig.c: Likewise.
9846 * elf/ldd.bash.in: Likewise.
9847 * elf/sprof.c (print_version): Likewise.
9848 * iconv/iconv_prog.c: Likewise.
9849 * iconv/iconvconfig.c: Likewise.
9850 * locale/programs/locale.c: Likewise.
9851 * locale/programs/localedef.c: Likewise.
9852 * malloc/memusage.sh: Likewise.
9853 * malloc/mtrace.pl: Likewise.
9854 * nscd/nscd.c (print_version): Likewise.
9855 * nss/getent.c: Likewise.
9856
a77e8cbc
UD
9857 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
9858 PF_CAIF, and PF_ALG.
9859 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9860
77e8bddf
AS
98612011-01-16 Andreas Schwab <schwab@linux-m68k.org>
9862
1f20b93a
AS
9863 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
9864 (modules-names): Use them.
9865 (ifunc-test-modules, ifunc-pie-tests): Define.
9866 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
9867 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
9868 (test-extras): Likewise.
9869 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
9870 $(compile-command.c).
9871 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
9872 (all-built-dso): Define.
9873 (check-textrel.out, check-execstack.out): Depend on it.
9874
77e8bddf
AS
9875 * configure.in: Don't override --enable-multi-arch.
9876
bc425b33
UD
98772011-01-15 Ulrich Drepper <drepper@gmail.com>
9878
9879 [BZ #6812]
9880 * nscd/hstcache.c (tryagain): Define.
9881 (cache_addhst): Return tryagain not notfound for temporary errors.
9882 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
9883 failed.
9884
794c3ad3
UD
98852011-01-14 Ulrich Drepper <drepper@gmail.com>
9886
70181fdd
UD
9887 [BZ #10563]
9888 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
9889 to make the syscall.
9890 * sysdeps/unix/sysv/linux/setgroups.c: New file.
9891
794c3ad3
UD
9892 [BZ #12378]
9893 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
9894 and fall back to matching as normal character if the string ends before
9895 the matching ']' is found. This is what POSIX requires.
9896 * posix/testfnm.c: Adjust test result.
9897 * posix/globtest.sh: Adjust test result. Add new test.
9898 * posix/tst-fnmatch.input: Likewise.
9899 * posix/tst-fnmatch2.c: Add new test.
9900
68dc9497
AS
99012010-12-28 Andreas Schwab <schwab@linux-m68k.org>
9902
9903 * elf/Makefile (check-execstack): Revert last change. Depend on
9904 check-execstack.h.
9905 (check-execstack.h): New target.
9906 (generated): Add check-execstack.h.
9907 * elf/check-execstack.c: Include "check-execstack.h".
9908 (main): Revert last change.
9909 (handle_file): Return zero if GNU_STACK is absent and
9910 DEFAULT_STACK_PERMS doesn't include PF_X.
9911
451f001b
UD
99122011-01-13 Ulrich Drepper <drepper@gmail.com>
9913
cfa28e56
UD
9914 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
9915 in child fails because the descriptor is already closed.
8cf8ce17
UD
9916 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
9917 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
9918 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 9919
1086d70d
UD
9920 [BZ #12397]
9921 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
9922 syscall.
9923
451f001b
UD
9924 [BZ #10484]
9925 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
9926 temporary buffer used to handle multi lookups locally.
a85b5cb4 9927 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 9928
08769175
UD
99292011-01-12 Ulrich Drepper <drepper@gmail.com>
9930
9931 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
9932 loader is ld.so.
9933
5e49c52e
UD
99342011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
9935
9936 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
9937 alignment for SSE2.
9938
60522a5f
UD
99392011-01-12 Ulrich Drepper <drepper@gmail.com>
9940
9941 [BZ #12394]
9942 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
9943 characters. When rounding increased number of integer digits recompute
9944 number of groups.
9945 * stdio-common/tst-grouping.c: New file.
9946 * stdio-common/Makefile: Add rules to build and run tst-grouping.
9947
f257bbd7
UD
99482011-01-09 Ulrich Drepper <drepper@gmail.com>
9949
9950 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
9951 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
9952
9953 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
9954 void.
9955 * bits/select.h: Likewise.
9956
fa9c15cb
UD
99572011-01-08 Ulrich Drepper <drepper@gmail.com>
9958
9959 * po/ja.po: Update from translation team.
9960
16c2895f
DM
99612011-01-04 David S. Miller <davem@sunset.davemloft.net>
9962
9963 [BZ #11155]
9964 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
9965 implementation just like for lxstat, fxstatat, et al.
9966
2543fef2
JM
99672010-12-27 Jim Meyering <meyering@redhat.com>
9968
9969 [BZ #12348]
9970 * posix/regexec.c (build_trtable): Return failure indication upon
9971 calloc failure. Otherwise, re_search_internal could infloop on OOM.
9972
98727dbe
UD
99732010-12-25 Ulrich Drepper <drepper@gmail.com>
9974
5bd6dc5c
UD
9975 [BZ #12201]
9976 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
9977 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
9978 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
9979 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
9980
97983464
UD
9981 [BZ #12207]
9982 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
9983
98727dbe
UD
9984 [BZ #12204]
9985 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
9986 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
9987
4a531bb0
L
99882010-12-15 H.J. Lu <hongjiu.lu@intel.com>
9989
9990 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
9991 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
9992 script has SORT_BY_INIT_PRIORITY.
9993 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
9994 NO_CTORS_DTORS_SECTIONS is defined.
9995 * elf/soinit.c: Likewise.
9996 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
9997 NO_CTORS_DTORS_SECTIONS is defined.
9998 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
9999 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10000 * sysdeps/sh/init-first.c: Likewise.
10001 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10002
07eb4b71
UD
100032010-12-24 Ulrich Drepper <drepper@gmail.com>
10004
10005 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10006 always use the slow path.
10007
30950a5f
RA
100082010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
10009
10010 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10011 similar rule which adds the sysdep directories to the header search in
10012 order to pick up the correct platform stackinfo.h.
10013 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10014 perform test if it is, otherwise return successfully without testing.
10015 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10016 DEFAULT_STACK_PERMS define in stackinfo.h.
10017 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10018 defined in stackinfo.h.
10019 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10020 DEFAULT_STACK_PERMS defined in stackinfo.h.
10021 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10022 * sysdeps/ia64/stackinfo.h: Likewise.
10023 * sysdeps/s390/stackinfo.h: Likewise.
10024 * sysdeps/sh/stackinfo.h: Likewise.
10025 * sysdeps/sparc/stackinfo.h: Likewise.
10026 * sysdeps/x86_64/stackinfo.h: Likewise.
10027 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10028 PF_X for powerpc64. Retain PF_X for powerpc32.
10029
db753e2c
UD
100302010-12-19 Ulrich Drepper <drepper@gmail.com>
10031
14b697f7
UD
10032 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10033 accurately.
db753e2c
UD
10034 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10035 GETDENTS_64BIT_ALIGNED.
10036
28300719
UD
100372010-12-14 Ulrich Drepper <dreper@gmail.com>
10038
14b697f7 10039 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 10040
4f197237
AS
100412010-12-10 Andreas Schwab <schwab@redhat.com>
10042
dbb0472f
AS
10043 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10044 _GNU_SOURCE.
10045
4f197237
AS
10046 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10047 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10048 Remove __restrict.
10049 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10050 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10051
fb88ac72
UD
100522010-12-09 Ulrich Drepper <drepper@gmail.com>
10053
10054 [BZ #11655]
10055 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10056 are initialized.
10057
42acbb92
JJ
100582010-12-09 Jakub Jelinek <jakub@redhat.com>
10059
10060 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10061
c038d98d
UD
100622010-12-03 Ulrich Drepper <drepper@gmail.com>
10063
10064 * po/it.po: Update from translation team.
10065
3a4a2499
L
100662010-12-01 H.J. Lu <hongjiu.lu@intel.com>
10067
10068 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10069 unused codes.
10070
1e24cf6e
UD
100712010-11-30 Ulrich Drepper <drepper@gmail.com>
10072
10073 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10074
a7690819
AS
100752010-11-24 Andreas Schwab <schwab@redhat.com>
10076
10077 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10078 specially.
10079 (gaih_getanswer_slice): Likewise.
10080
3bf8d1b1
JJ
100812010-10-20 Jakub Jelinek <jakub@redhat.com>
10082
10083 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10084
6db52fbb
PB
100852010-05-31 Petr Baudis <pasky@suse.cz>
10086
10087 [BZ #11149]
10088 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10089 silently even in the chroot mode.
10090
eaca7569
UD
100912010-11-22 Ulrich Drepper <drepper@gmail.com>
10092
10093 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10094 last patch a bit. Pretty printing
10095
3056dcdb
UD
100962010-05-31 Petr Baudis <pasky@suse.cz>
10097
10098 [BZ #10085]
10099 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10100 initialization of skip_initgroups_dyn.
10101
cf7c9078
UD
101022010-11-19 Ulrich Drepper <drepper@gmail.com>
10103
10104 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10105 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10106
a1fb5e3e
UD
101072010-11-16 Ulrich Drepper <drepper@gmail.com>
10108
10109 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10110
3540d66b
AS
101112010-11-11 Andreas Schwab <schwab@redhat.com>
10112
10113 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10114 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10115 (tst-fnmatch-ENV): Set MALLOC_TRACE.
10116 ($(objpfx)tst-fnmatch-mem): New rule.
10117 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10118 * posix/tst-fnmatch.c (main): Call mtrace.
10119
13b69574
L
101202010-11-11 H.J. Lu <hongjiu.lu@intel.com>
10121
10122 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10123 Support Intel processor model 6 and model 0x2c.
10124
da93d214
LM
101252010-11-10 Luis Machado <luisgpm@br.ibm.com>
10126
10127 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10128 signed comparison.
10129
8ca52c6e
L
101302010-11-09 H.J. Lu <hongjiu.lu@intel.com>
10131
10132 [BZ #12205]
10133 * string/test-strncasecmp.c (check_result): New function.
10134 (do_one_test): Use it.
10135 (check1): New function.
10136 (test_main): Use it.
10137 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10138 Support strcasecmp and strncasecmp.
10139
69da074d
UD
101402010-11-08 Ulrich Drepper <drepper@gmail.com>
10141
10142 [BZ #12194]
10143 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10144 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10145
ff02d528
L
101462010-11-07 H.J. Lu <hongjiu.lu@intel.com>
10147
10148 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10149 IFUNC support.
10150 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10151 memset-x86-64.
10152 * sysdeps/x86_64/multiarch/bzero.S: New file.
10153 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10154 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10155 * sysdeps/x86_64/multiarch/memset.S: New file.
10156 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10157 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10158 Set bit_Prefer_SSE_for_memop for Intel processors.
10159 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10160 Define.
10161 (index_Prefer_SSE_for_memop): Define.
10162 (HAS_PREFER_SSE_FOR_MEMOP): Define.
10163
344d0b54
LM
101642010-11-04 Luis Machado <luisgpm@br.ibm.com>
10165
10166 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10167 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10168
c0dde15b
UD
101692010-11-03 H.J. Lu <hongjiu.lu@intel.com>
10170
10171 [BZ #12191]
10172 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10173 (__x86_64_raw_data_cache_size_half): Likewise.
10174 (__x86_64_raw_shared_cache_size): Likewise.
10175 (__x86_64_raw_shared_cache_size_half): Likewise.
10176
10177 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10178 (__x86_64_raw_data_cache_size_half): Likewise.
10179 (__x86_64_raw_shared_cache_size): Likewise.
10180 (__x86_64_raw_shared_cache_size_half): Likewise.
10181 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10182 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10183 and __x86_64_raw_shared_cache_size_half. Round
10184 __x86_64_data_cache_size_half, __x86_64_data_cache_size
10185 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10186 to multiple of 256 bytes.
10187
0e516e0e
MS
101882010-11-03 Ulrich Drepper <drepper@gmail.com>
10189
10190 [BZ #12167]
10191 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10192 of inacessible symlinks. Verify result of symlink before returning it.
10193 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10194 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10195
0e012e87
ER
101962010-10-28 Erich Ritz <erichritz@gmail.com>
10197
10198 * math/math.h (isinf): Fix typo in comment.
10199
de0ff7bc
UD
102002010-11-01 Ulrich Drepper <drepper@gmail.com>
10201
10202 * po/da.po: Update from translation team.
10203
fa41c84d
UD
102042010-10-26 Ulrich Drepper <drepper@gmail.com>
10205
10206 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10207 is added to the list.
10208
f0967738
AK
102092010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10210 Ulrich Drepper <drepper@gmail.com>
10211
10212 * elf/dl-object.c (_dl_new_object): Don't append the new object to
10213 the global list here. Move code to...
10214 (_dl_add_to_namespace_list): ...here. New function.
10215 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10216 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10217 * elf/dl-load.c (lose): Don't remove the element from the list.
10218 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10219 (_dl_map_object): Likewise.
10220
102212010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
10222
10223 [BZ #12159]
10224 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10225 into all bytes of SSE register.
10226 Patch by Richard Li <richardpku@gmail.com>.
10227
f0967738 102282010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
10229
10230 [BZ #12140]
10231 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10232 perturbing.
10233
d0b9e94f
MB
102342010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10235
10236 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10237 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10238 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10239 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10241 submachine.
10242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10243
8e9f92e9
AS
102442010-10-22 Andreas Schwab <schwab@redhat.com>
10245
10246 * include/dlfcn.h (__RTLD_SECURE): Define.
10247 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10248 mode & __RTLD_SECURE instead.
10249 (open_path): Rename preloaded parameter to secure.
10250 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10251 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10252 * elf/dl-deps.c (openaux): Likewise.
10253 * elf/rtld.c (struct map_args): Remove is_preloaded.
10254 (map_doit): Don't use it.
10255 (dl_main): Likewise.
10256 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10257 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10258
bc96fbda
AS
102592010-09-09 Andreas Schwab <schwab@redhat.com>
10260
10261 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10262 (sysd-rules-targets): Remove duplicates.
10263 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10264 rtld-%.$o dependency.
10265
22cd1c9b
AS
102662010-10-18 Andreas Schwab <schwab@redhat.com>
10267
10268 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10269 _dl_map_object do it.
10270
18edac48
UD
102712010-10-19 Ulrich Drepper <drepper@gmail.com>
10272
10273 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10274 fast fma builtins, define the macros in the C99 standard.
10275 (FP_FAST_FMAF): Likewise.
10276 (FP_FAST_FMAL): Likewise.
10277 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10278
10279 * bits/mathdef.h: Update copyright year.
10280 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10281
d2050124
MM
102822010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10283
10284 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10285 builtins, define the macros in the C99 standard.
10286 (FP_FAST_FMAF): Likewise.
10287 (FP_FAST_FMAL): Likewise.
10288 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10289 multiply/add.
10290 (FP_FAST_FMAF): Likewise.
10291
475facd1
JJ
102922010-10-15 Jakub Jelinek <jakub@redhat.com>
10293
10294 [BZ #3268]
10295 * math/libm-test.inc (fma_test): Some new testcases.
10296 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10297 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10298 y and infinite z. Do multiplication by C already in long double.
10299 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10300 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10301 y and infinite z. Do bitwise or of inexact bit into u.d.
10302 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10303 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10304 * sysdeps/i386/fpu/s_fma.S: Removed.
10305 * sysdeps/i386/fpu/s_fmal.S: Removed.
10306
7c08a05c
JJ
103072010-10-16 Jakub Jelinek <jakub@redhat.com>
10308
10309 [BZ #3268]
10310 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10311 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10312 computation is not scheduled after fetestexcept. Fix value
10313 of minimum denormal long double.
10314
f3f7372d
JJ
103152010-10-14 Jakub Jelinek <jakub@redhat.com>
10316
10317 [BZ #3268]
10318 * math/libm-test.inc (fma_test): Add some more tests.
10319 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10320 correctly.
10321
14d43591
AS
103222010-10-15 Andreas Schwab <schwab@redhat.com>
10323
10324 * scripts/data/localplt-s390-linux-gnu.data: New file.
10325 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10326
5e908464
JJ
103272010-10-13 Jakub Jelinek <jakub@redhat.com>
10328
10329 [BZ #3268]
10330 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10331 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10332 instead of dbl-64.
10333 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10334 inlines.
10335 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10336 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10337 if one of x and y is very large and the other is subnormal.
10338 * sysdeps/s390/fpu/s_fmaf.c: New file.
10339 * sysdeps/s390/fpu/s_fma.c: New file.
10340 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10341 * sysdeps/powerpc/fpu/s_fma.S: New file.
10342 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10343 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10344 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10345
103462010-10-12 Jakub Jelinek <jakub@redhat.com>
10347
10348 [BZ #3268]
10349 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10350 fma tests.
10351 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10352 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10353 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10354 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10355 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10356 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10357 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10358
b833d51f
UD
103592010-10-12 Ulrich Drepper <drepper@redhat.com>
10360
10361 [BZ #12078]
10362 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10363 * posix/bug-regex31.input: Add test case.
10364
1751705d
UD
103652010-10-11 Ulrich Drepper <drepper@gmail.com>
10366
e9b9cbf5
UD
10367 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10368 * posix/bug-regex31.input: New file.
10369
10370 [BZ #12078]
10371 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10372 (parse_sub_exp): Fix last change, use postorder.
10373
ef06edbe
UD
10374 * posix/bug-regex31.c: New file.
10375 * posix/Makefile: Add rules to build and run bug-regex31.
10376
a129c80d
UD
10377 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10378
10379 [BZ #12078]
10380 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10381
b76b818e
UD
10382 [BZ #12108]
10383 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10384 to have entries in sys_siglist.
10385
1751705d
UD
10386 [BZ #12093]
10387 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10388 be NULL.
10389
9ff8d36f
JJ
103902010-10-07 Jakub Jelinek <jakub@redhat.com>
10391
10392 [BZ #3268]
10393 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10394 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10395 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10396 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10397 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10398 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10399 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10400 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10401 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10402 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10403 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10404 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10405 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10406 * math/ftestexcept.c (fetestexcept): Likewise.
10407 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10408 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10409 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10410 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10411 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10412 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10413 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10414
af325969
UD
104152010-10-11 Ulrich Drepper <drepper@gmail.com>
10416
c579b202 10417 [BZ #12107]
af325969
UD
10418 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10419 newline.
10420
67a67b95
UD
104212010-10-06 Ulrich Drepper <drepper@gmail.com>
10422
10423 * string/bug-strstr1.c: New file.
10424 * string/Makefile: Add rules to build and run bug-strstr1.
10425
5fb308bc
EB
104262010-10-05 Eric Blake <eblake@redhat.com>
10427
10428 [BZ #12092]
10429 * string/str-two-way.h (two_way_long_needle): Always clear memory
10430 when skipping input due to the shift table.
10431
45db99c7
UD
104322010-10-03 Ulrich Drepper <drepper@gmail.com>
10433
3b111893
UD
10434 [BZ #12005]
10435 * malloc/mcheck.c: Handle large requests.
10436
45db99c7
UD
10437 [BZ #12077]
10438 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10439 for strncmp and strncasecmp.
10440 * string/stratcliff.c: Add tests for strcmp and strncmp.
10441 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10442
cf7a1eb8
NI
104432010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10444
10445 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10446 __set_fpscr.
10447
6484ba5e
AJ
104482010-09-30 Andreas Jaeger <aj@suse.de>
10449
10450 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10451 (CGROUP_SUPER_MAGIC): Define.
10452 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10453 Handle btrfs and cgroup file systems.
10454 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10455 Likewise.
10456
91c42559
LM
104572010-09-27 Luis Machado <luisgpm@br.ibm.com>
10458
10459 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10460 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10461
87a97932
AK
104622010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10463
10464 [BZ #12067]
10465 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10466 trying to locate the ELF header.
10467
c21cc9bc
AS
104682010-09-27 Andreas Schwab <schwab@redhat.com>
10469
10470 [BZ #11611]
10471 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10472 Mask out sign-bit copies when constructing f_fsid.
10473
315970f6
PB
104742010-09-24 Petr Baudis <pasky@suse.cz>
10475
10476 * debug/stack_chk_fail_local.c: Add missing licence exception.
10477 * debug/warning-nop.c: Likewise.
10478
1ac7a2c7
JM
104792010-09-15 Joseph Myers <joseph@codesourcery.com>
10480
10481 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10482 implementing getdents64 using getdents syscall, set d_type if
10483 __ASSUME_GETDENTS32_D_TYPE.
10484
56801c50
AS
104852010-09-16 Andreas Schwab <schwab@redhat.com>
10486
10487 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10488 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10489
dda51327
UD
104902010-09-21 Ulrich Drepper <drepper@redhat.com>
10491
10492 [BZ #12037]
10493 * posix/unistd.h: Undo change of feature selection for ftruncate from
10494 2010-01-11.
10495
8ffcee4a
UD
104962010-09-20 Ulrich Drepper <drepper@redhat.com>
10497
a545ecd9 10498 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
10499 detection.
10500
e24f0a8b
AS
105012010-09-20 Andreas Schwab <schwab@redhat.com>
10502
10503 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10504 fanotify_mark.
10505 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10506
7291c56f
AS
105072010-09-14 Andreas Schwab <schwab@redhat.com>
10508
10509 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10510 variables after CHECK_SP call.
10511 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10512
bc5fb037
AS
105132010-09-13 Andreas Schwab <schwab@redhat.com>
10514 Ulrich Drepper <drepper@redhat.com>
10515
10516 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10517 re-relocationg ld.so.
10518 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10519 _dl_init_paths call.
10520 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10521 here anymore.
10522
e66e7419
UD
105232010-09-14 Ulrich Drepper <drepper@redhat.com>
10524
10525 * resolv/res_init.c (__res_vinit): Count the default server we added.
10526
c044aa75
CLT
105272010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10528 Ulrich Drepper <drepper@redhat.com>
10529
10530 [BZ #11968]
10531 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10532 (____longjmp_chk): Use %ebx for saving value across system call.
10533 Add unwind info.
10534
32cf4069
AS
105352010-09-06 Andreas Schwab <schwab@redhat.com>
10536
10537 * manual/Makefile: Don't mix pattern rules with normal rules.
10538
817328ee
AS
105392010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10540
10541 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10542 operation.
10543 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10544 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10545 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10546 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10547 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10548 Likewise.
10549
29fddf61
UD
105502010-09-04 Ulrich Drepper <drepper@redhat.com>
10551
10552 [BZ #11979]
10553 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10554 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10555
0959ffc9
UD
105562010-09-02 Ulrich Drepper <drepper@redhat.com>
10557
10558 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10559 * sysdeps/x86_64/addmul_1.S: Likewise.
10560 * sysdeps/x86_64/lshift.S: Likewise.
10561 * sysdeps/x86_64/mul_1.S: Likewise.
10562 * sysdeps/x86_64/rshift.S: Likewise.
10563 * sysdeps/x86_64/sub_n.S: Likewise.
10564 * sysdeps/x86_64/submul_1.S: Likewise.
10565
ece29840
ST
105662010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10567
0959ffc9
UD
10568 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10569 Define __sched_param instead of SCHED_* and sched_param when
ece29840 10570 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 10571 * bits/sched.h [__need_schedparam]
ece29840 10572 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
10573 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10574 (__defined_schedparam): Define to 1.
ece29840
ST
10575 (__sched_param): New structure, identical to sched_param.
10576 (__need_schedparam): Undefine.
10577
e53a31fe
MF
105782010-08-31 Mike Frysinger <vapier@gentoo.org>
10579
fdc0c10d
MF
10580 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10581 (epoll_create1): Declare.
10582
e53a31fe
MF
10583 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10584
a726d796
AS
105852010-08-31 Andreas Schwab <schwab@redhat.com>
10586
10587 [BZ #7066]
10588 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10589 shifting retval into place.
10590
2f3e3dc7
UD
105912010-09-01 Ulrich Drepper <drepper@redhat.com>
10592
f2933da9
UD
10593 * nis/rpcsvc/nis.h: Update copyright notice.
10594 * nis/rpcsvc/nis.x: Likewise.
10595 * nis/rpcsvc/nis_callback.h: Likewise.
10596 * nis/rpcsvc/nis_callback.x: Likewise.
10597 * nis/rpcsvc/nis_object.x: Likewise.
10598 * nis/rpcsvc/nis_tags.h: Likewise.
10599 * nis/rpcsvc/yp.h: Likewise.
10600 * nis/rpcsvc/yp.x: Likewise.
10601 * nis/rpcsvc/ypupd.h: Likewise.
10602 * nis/yp_xdr.c: Likewise.
10603 * nis/ypupdate_xdr.c: Likewise.
10604
2f3e3dc7
UD
10605 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10606 mainly the body of pmap_getport. Add parameters to specify timeouts.
10607 (pmap_getport): Use __libc_rpc_getport.
10608 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10609 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10610 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10611
f3dcc2f9
AS
106122010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10613
10614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10615 fanotify_mark.
10616
6d34eb5b
RM
106172010-08-27 Roland McGrath <roland@redhat.com>
10618
10619 * sysdeps/i386/i686/multiarch/Makefile
10620 (CFLAGS-varshift.c): New variable.
10621
9ea3de11
UD
106222010-08-27 Ulrich Drepper <drepper@redhat.com>
10623
c96d23fc
UD
10624 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10625 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10626
9ea3de11
UD
10627 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10628
10629 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10630
623aac7f
L
106312010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10632
10633 * sysdeps/x86_64/strlen.S: Unroll the loop.
10634 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10635 strlen-sse2 strlen-sse2-bsf.
10636 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10637 __strlen_no_bsf if bit_Slow_BSF is set.
10638 (__strlen_sse42): Removed.
10639 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10640 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10641
8b2b7715
RM
106422010-08-25 Roland McGrath <roland@redhat.com>
10643
10644 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10645 * sysdeps/x86_64/multiarch/varshift.c: New file.
10646 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10647 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10648 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10649 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10650
e73015f2
L
106512010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10652
10653 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10654 strlen-sse2 strlen-sse2-bsf.
10655 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10656 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10657 (__strlen_sse2): Removed.
10658 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10659 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10660 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10661 bit_Slow_BSF for Atom.
10662 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10663 (index_Slow_BSF): Define.
10664 (HAS_SLOW_BSF): Define.
10665
df24a73e
UD
106662010-08-25 Ulrich Drepper <drepper@redhat.com>
10667
10668 [BZ #10851]
10669 * resolv/res_init.c (__res_vinit): When no server address at all
10670 is given default to loopback.
10671
f2ac4868
RM
106722010-08-24 Roland McGrath <roland@redhat.com>
10673
09055553
RM
10674 * configure.in: Remove config-name.h generation.
10675 * configure: Regenerated.
10676 * config-name.in: File removed.
10677 * scripts/config-uname.sh: New file.
10678 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10679 ($(objdir)config-name.h): New target.
10680
f2ac4868
RM
10681 * sunrpc/rpc_parse.h: Avoid nested comment.
10682
73f27d5e
RH
106832010-08-24 Richard Henderson <rth@redhat.com>
10684 Ulrich Drepper <drepper@redhat.com>
10685 H.J. Lu <hongjiu.lu@intel.com>
10686
10687 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10688 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10689 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10690 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10691 _mm_alignr_epi8 with _mm_loadu_si128.
10692 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10693 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10694 (__m128i_shift_right): Removed.
10695 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10696 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10697 * sysdeps/x86_64/multiarch/varshift.h: New file.
10698 * sysdeps/x86_64/multiarch/varshift.S: New file.
10699
84b9230c
MF
107002010-08-21 Mike Frysinger <vapier@gentoo.org>
10701
10702 * configure.in: Move assembler checks to before sysdep dir checking.
10703
9bbd0ddc
PB
107042010-08-20 Petr Baudis <pasky@suse.cz>
10705
10706 * LICENSES: Sync the sunrpc license.
10707
9da4bb31
UD
107082010-08-19 Ulrich Drepper <drepper@redhat.com>
10709
a7ab6ec8
UD
10710 * sunrpc/auth_des.c: Update copyright notice once again.
10711 * sunrpc/auth_none.c: Likewise.
10712 * sunrpc/auth_unix.c: Likewise.
10713 * sunrpc/authdes_prot.c: Likewise.
10714 * sunrpc/authuxprot.c: Likewise.
10715 * sunrpc/bindrsvprt.c: Likewise.
10716 * sunrpc/clnt_gen.c: Likewise.
10717 * sunrpc/clnt_perr.c: Likewise.
10718 * sunrpc/clnt_raw.c: Likewise.
10719 * sunrpc/clnt_simp.c: Likewise.
10720 * sunrpc/clnt_tcp.c: Likewise.
10721 * sunrpc/clnt_udp.c: Likewise.
10722 * sunrpc/clnt_unix.c: Likewise.
10723 * sunrpc/des_crypt.c: Likewise.
10724 * sunrpc/des_soft.c: Likewise.
10725 * sunrpc/get_myaddr.c: Likewise.
10726 * sunrpc/getrpcport.c: Likewise.
10727 * sunrpc/key_call.c: Likewise.
10728 * sunrpc/key_prot.c: Likewise.
10729 * sunrpc/openchild.c: Likewise.
10730 * sunrpc/pm_getmaps.c: Likewise.
10731 * sunrpc/pm_getport.c: Likewise.
10732 * sunrpc/pmap_clnt.c: Likewise.
10733 * sunrpc/pmap_prot.c: Likewise.
10734 * sunrpc/pmap_prot2.c: Likewise.
10735 * sunrpc/pmap_rmt.c: Likewise.
10736 * sunrpc/rpc/auth.h: Likewise.
10737 * sunrpc/rpc/auth_unix.h: Likewise.
10738 * sunrpc/rpc/clnt.h: Likewise.
10739 * sunrpc/rpc/des_crypt.h: Likewise.
10740 * sunrpc/rpc/key_prot.h: Likewise.
10741 * sunrpc/rpc/netdb.h: Likewise.
10742 * sunrpc/rpc/pmap_clnt.h: Likewise.
10743 * sunrpc/rpc/pmap_prot.h: Likewise.
10744 * sunrpc/rpc/pmap_rmt.h: Likewise.
10745 * sunrpc/rpc/rpc.h: Likewise.
10746 * sunrpc/rpc/rpc_des.h: Likewise.
10747 * sunrpc/rpc/rpc_msg.h: Likewise.
10748 * sunrpc/rpc/svc.h: Likewise.
10749 * sunrpc/rpc/svc_auth.h: Likewise.
10750 * sunrpc/rpc/types.h: Likewise.
10751 * sunrpc/rpc/xdr.h: Likewise.
10752 * sunrpc/rpc_clntout.c: Likewise.
10753 * sunrpc/rpc_cmsg.c: Likewise.
10754 * sunrpc/rpc_common.c: Likewise.
10755 * sunrpc/rpc_cout.c: Likewise.
10756 * sunrpc/rpc_dtable.c: Likewise.
10757 * sunrpc/rpc_hout.c: Likewise.
10758 * sunrpc/rpc_main.c: Likewise.
10759 * sunrpc/rpc_parse.c: Likewise.
10760 * sunrpc/rpc_parse.h: Likewise.
10761 * sunrpc/rpc_prot.c: Likewise.
10762 * sunrpc/rpc_sample.c: Likewise.
10763 * sunrpc/rpc_scan.c: Likewise.
10764 * sunrpc/rpc_scan.h: Likewise.
10765 * sunrpc/rpc_svcout.c: Likewise.
10766 * sunrpc/rpc_tblout.c: Likewise.
10767 * sunrpc/rpc_util.c: Likewise.
10768 * sunrpc/rpc_util.h: Likewise.
10769 * sunrpc/rpcinfo.c: Likewise.
10770 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10771 * sunrpc/rpcsvc/key_prot.x: Likewise.
10772 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10773 * sunrpc/rpcsvc/mount.x: Likewise.
10774 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10775 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10776 * sunrpc/rpcsvc/rex.x: Likewise.
10777 * sunrpc/rpcsvc/rstat.x: Likewise.
10778 * sunrpc/rpcsvc/rusers.x: Likewise.
10779 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10780 * sunrpc/rpcsvc/spray.x: Likewise.
10781 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10782 * sunrpc/rtime.c: Likewise.
10783 * sunrpc/svc.c: Likewise.
10784 * sunrpc/svc_auth.c: Likewise.
10785 * sunrpc/svc_authux.c: Likewise.
10786 * sunrpc/svc_raw.c: Likewise.
10787 * sunrpc/svc_run.c: Likewise.
10788 * sunrpc/svc_simple.c: Likewise.
10789 * sunrpc/svc_tcp.c: Likewise.
10790 * sunrpc/svc_udp.c: Likewise.
10791 * sunrpc/svc_unix.c: Likewise.
10792 * sunrpc/svcauth_des.c: Likewise.
10793 * sunrpc/xcrypt.c: Likewise.
10794 * sunrpc/xdr.c: Likewise.
10795 * sunrpc/xdr_array.c: Likewise.
10796 * sunrpc/xdr_float.c: Likewise.
10797 * sunrpc/xdr_mem.c: Likewise.
10798 * sunrpc/xdr_rec.c: Likewise.
10799 * sunrpc/xdr_ref.c: Likewise.
10800 * sunrpc/xdr_sizeof.c: Likewise.
10801 * sunrpc/xdr_stdio.c: Likewise.
10802
9da4bb31
UD
10803 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10804 handling.
10805
bdaa77bc
AS
108062010-08-19 Andreas Schwab <schwab@redhat.com>
10807
10808 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
10809
fe2f79db
LM
108102010-08-19 Luis Machado <luisgpm@br.ibm.com>
10811
10812 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
10813 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
10814 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
10815 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
10816 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
10817 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
10818 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
10819 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
10820 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
10821 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
10822 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
10823 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
10824 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
10825 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
10826
b9b42ee0
AB
108272010-07-26 Anton Blanchard <anton@samba.org>
10828
10829 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
10830 * malloc/arena.c (heap_trim): Likewise.
10831
1c06ba31
UD
108322010-08-16 Ulrich Drepper <drepper@redhat.com>
10833
10834 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
10835 here. Not...
10836 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
10837 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
10838
f8392f40
L
108392010-08-12 H.J. Lu <hongjiu.lu@intel.com>
10840
10841 * sysdeps/i386/elf/Makefile: New file.
10842
3162f12e
AS
108432010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10844
10845 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
10846 from fanotify_init.
10847 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10848 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10849
28c90b2c
UD
108502010-08-15 Ulrich Drepper <drepper@redhat.com>
10851
10852 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
10853 of strncasecmp_l.
1feccb6c 10854 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 10855
ca6bb004
UD
108562010-08-14 Ulrich Drepper <drepper@redhat.com>
10857
e9f82e0d
UD
10858 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10859 strncase_l-nonascii.
10860 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10861 Add strncase_l-ssse3.
10862 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
10863 * sysdeps/x86_64/strcmp.S: Likewise.
10864 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
10865 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
10866 * sysdeps/x86_64/strncase.S: New file.
10867 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
10868 * sysdeps/x86_64/strncase_l.S: New file.
10869 * string/Makefile (strop-tests): Add strncasecmp.
10870 * string/test-strncasecmp.c: New file.
10871
10872 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
10873 warning.
10874
ca6bb004
UD
10875 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
10876 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
10877
052fa7b3
AS
108782010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10879
10880 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
10881
962dba78
UD
108822010-08-12 Ulrich Drepper <drepper@redhat.com>
10883
10884 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
10885 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10886 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10887
bebff237
AM
108882010-05-01 Alan Modra <amodra@gmail.com>
10889
10890 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
10891 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
10892 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
10893 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
10894 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
10895 tidying. Don't tail-call __sigjmp_save for static lib.
10896 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
10897 save location.
10898 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
10899 (CALL_MCOUNT): Add eh info, and nop after bl.
10900 (TAIL_CALL_SYSCALL_ERROR): New macro.
10901 (PSEUDO_RET): Use it.
10902 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10903 Correct save location of integer regs and cr.
10904 (_dl_profile_resolve): Correct cr save location. Delete nops
10905 after bl when SHARED. Reduce cfi size a little by better
10906 placement of cfi directives.
10907 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
10908 make a stack frame. Instead use parm save area as a temp.
10909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
10910 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
10911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10912 Don't make a stack frame for parent, use parm save area.
10913 Increase child stack frame to 112 bytes. Don't save unused reg,
10914 and adjust reg usage. Set up cfi on error recovery and
10915 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
10916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10917 (__makecontext): Add dummy nop after jump to exit.
10918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
10919 Use correct parm save area and cr save, reduce stack frame.
10920 Correct cfi for possible PSEUDO_RET frame setup.
10921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
10922 Branch to local label emitted by PSEUDO_RET rather than
10923 __syscall_error.
10924
02637374
AS
109252010-08-12 Andreas Schwab <schwab@redhat.com>
10926
10927 [BZ #11904]
10928 * locale/programs/locale.c (print_assignment): New function.
10929 (show_locale_vars): Use it.
10930
c3e2f19b
UD
109312010-08-11 Ulrich Drepper <drepper@redhat.com>
10932
3cdaa6ad
UD
10933 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
10934 field.
10935 (struct statfs64): Likewise.
10936 (_STATFS_F_FLAGS): Define.
10937 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
10938 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10939 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
10940 (ST_VALID): Define locally.
10941 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
10942 __statvfs_getflags, use the provided value.
10943 * sysdeps/unix/sysv/linux/kernel-features.h: Define
10944 __ASSUME_STATFS_F_FLAGS.
10945
754f7da3
UD
10946 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
10947
10b3bedc
UD
10948 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
10949 Add sys/fanotify.h.
10950 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
10951 fanotify_mask for GLIBC_2.13.
10952 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
10953 fanotify_init and fanotify_mark.
10954 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10955 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
10956
c08fb0d7
UD
10957 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
10958 Add prlimit.
10959 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
10960 prlimit64 for GLIBC_2.13.
10961 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
10962 prlimit64.
10963 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
10964 syscall.
10965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10966 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10967 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
10968 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
10969 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
10970 add prlimit alias.
10971 * sysdeps/unix/sysv/linux/prlimit.c: New file.
10972
15bac72b
UD
10973 [BZ #11903]
10974 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
10975 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
10976
c3e2f19b
UD
10977 * nss/Makefile: Add rules to build and run tst-nss-test1.
10978 * shlib-versions: Add entry for libnss_test1.
10979 * nss/nss_test1.c: New file.
10980 * nss/tst-nss-test1.c: New file.
10981
10982 * nss/nsswitch.c (__nss_database_custom): Define new variable.
10983 (__nss_configure_lookup): Set appropriate entry in
10984 __nss_configure_lookup to true.
10985 * nss/nsswitch.h: Define enum with indeces of databases in
10986 databases and __nss_database_custom arrays. Declare
10987 __nss_database_custom.
10988 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
10989 to avoid using nscd when custom rules are installed.
10990 * nss/getXXbyYY_r.c: Likewise.
10991 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10992
10993 * nss/nss_files/files-parse.c: Whitespace fixes.
10994
f15ce4d8
UD
109952010-08-09 Ulrich Drepper <drepper@redhat.com>
10996
10997 [BZ #11883]
10998 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
10999 * posix/fnmatch_loop.c: Likewise.
11000
d22e4cc9
AK
110012010-07-17 Andi Kleen <ak@linux.intel.com>
11002
11003 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11004 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11005 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11006 * Versions.def [GLIBC_2.13]: Add.
11007
805bc17d
UD
110082010-08-06 Ulrich Drepper <drepper@redhat.com>
11009
11010 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11011 Also fail if tpwd after pwuid call is NULL.
11012
5a42321d
ST
110132010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11014
11015 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11016 when converting to ms.
11017
fd3ebeda
ST
110182010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11019
11020 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11021 EOPNOTSUPP errors with ENOTTY.
11022 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11023 EOPNOTSUPP errors with ENOTTY.
11024
73507d3a
UD
110252010-07-31 Ulrich Drepper <drepper@redhat.com>
11026
11027 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11028 Add strcasecmp_l-ssse3.
11029 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11030 strcasecmp.
11031 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11032 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11033 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11034
fe36dd02
UD
110352010-07-30 Ulrich Drepper <drepper@redhat.com>
11036
66f6765a
UD
11037 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11038
42e08a54
UD
11039 * string/Makefile (strop-tests): Add strcasecmp.
11040 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11041 strcasecmp_l-nonascii.
11042 (gen-as-const-headers): Add locale-defines.sym.
11043 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11044 * sysdeps/x86_64/strcasecmp.S: New file.
11045 * sysdeps/x86_64/strcasecmp_l.S: New file.
11046 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11047 * sysdeps/x86_64/locale-defines.sym: New file.
11048 * string/test-strcasecmp.c: New file.
11049
fe36dd02
UD
11050 * string/test-strcasestr.c: Test both ends of the range of characters.
11051 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11052
48cbc0d6
RM
110532010-07-29 Roland McGrath <roland@redhat.com>
11054
76e6d6bc 11055 [BZ #11856]
48cbc0d6
RM
11056 * manual/locale.texi (Yes-or-No Questions): Fix example code.
11057
880113d9
UD
110582010-07-27 Ulrich Drepper <drepper@redhat.com>
11059
11060 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11061 for ld.so.
11062
deb9cabb
AS
110632010-07-27 Andreas Schwab <schwab@redhat.com>
11064
11065 * manual/memory.texi (Malloc Tunable Parameters): Document
11066 M_PERTURB.
11067
1c7570ff
RM
110682010-07-26 Roland McGrath <roland@redhat.com>
11069
11070 [BZ #11840]
11071 * configure.in (-fgnu89-inline check): Set and substitute
11072 gnu89_inline, not libc_cv_gnu89_inline.
11073 * configure: Regenerated.
11074 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11075
24fb0f88
UD
110762010-07-26 Ulrich Drepper <drepper@redhat.com>
11077
11078 * string/test-strnlen.c: New file.
11079 * string/Makefile (strop-tests): Add strnlen.
11080 * string/tester.c (test_strnlen): Add a few more test cases.
11081 * string/tst-strlen.c: Better error reporting.
11082
11083 * sysdeps/x86_64/strnlen.S: New file.
11084
8e96b93a
UD
110852010-07-24 Ulrich Drepper <drepper@redhat.com>
11086
11087 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11088 lower-latency instructions.
11089
dbc676d4
UD
110902010-07-23 Ulrich Drepper <drepper@redhat.com>
11091
11092 * string/test-strcasestr.c: New file.
11093 * string/test-strstr.c: New file.
11094 * string/Makefile (strop-tests): Add strstr and strcasestr.
11095 * string/str-two-way.h: Don't undefine MAX.
11096 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11097
f6a31e0e
AS
110982010-07-21 Andreas Schwab <schwab@redhat.com>
11099
11100 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11101 strcasestr-nonascii.
11102 (CFLAGS-strcasestr-nonascii.c): Define.
11103 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11104 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11105 Remove unused attribute.
11106
5dbc3b6c
RM
111072010-07-20 Roland McGrath <roland@redhat.com>
11108
11109 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11110 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
11111 ld.so.cache was broken. With it, there is no way to disable dsocaps
11112 like LD_HWCAP_MASK can disable hwcaps.
11113
23d101d8
EPM
111142010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11115
11116 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11117
cc9f2e47
UD
111182010-07-16 Ulrich Drepper <drepper@redhat.com>
11119
11120 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11121 call in strcasestr.
11122 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11123 __strcasestr_sse42_nonascii.
11124 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11125 strcasestr-nonascii.c.
11126 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11127
77c1b069
LM
111282010-06-15 Luis Machado <luisgpm@br.ibm.com>
11129
11130 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11131 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11132 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11133 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11134
440566c3
UD
111352010-07-09 Ulrich Drepper <drepper@redhat.com>
11136
11137 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11138 fcntl.
11139
5be9d05d
AS
111402010-07-06 Andreas Schwab <schwab@redhat.com>
11141
c30b7ee2 11142 [BZ #11577]
5be9d05d
AS
11143 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11144 dl_signal_cerror.
11145
8a492a67
UD
111462010-07-06 Ulrich Drepper <drepper@redhat.com>
11147
11148 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11149 _PC_PIPE_BUF using F_GETPIPE_SZ.
11150
713df3d5
RM
111512010-07-05 Roland McGrath <roland@redhat.com>
11152
11153 * manual/arith.texi (Rounding Functions): Fix rint description
11154 implicit in round description.
11155
702e8f14
UD
111562010-07-02 Ulrich Drepper <drepper@redhat.com>
11157
11158 * elf/Makefile: Fix linking for a few tests to make recent linker
11159 happy.
11160
52ed8be9
AS
111612010-06-30 Andreas Schwab <schwab@redhat.com>
11162
11163 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11164 $(common-objpfx)libc_nonshared.a.
11165
f47c9a11
LM
111662010-06-21 Luis Machado <luisgpm@br.ibm.com>
11167
11168 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11169 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11170 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11171 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11172 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11173 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11174 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11175 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11190 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11191 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11192 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11193 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11194 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11195 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11196 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11197 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11198 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11199 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11200 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11201 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11216
6fb8cbcb
L
112172010-06-25 H.J. Lu <hongjiu.lu@intel.com>
11218
11219 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11220 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11221 * string/memmove.c (memmove): Renamed to ...
11222 (MEMMOVE): ...this. Default to memmove.
11223 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11224 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11225 (END_CHK): Define.
11226 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11227 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11228 mempcpy-ssse3-back memmove-ssse3-back.
11229 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11230 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11231 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11232 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11233 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11234 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11235 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11236 * sysdeps/x86_64/multiarch/memmove.c: New file.
11237 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11238 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11239 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11240 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11241 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11242 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11243 Define.
11244 (index_Fast_Copy_Backward): Define.
11245 (HAS_ARCH_FEATURE): Define.
11246 (HAS_FAST_REP_STRING): Define.
11247 (HAS_FAST_COPY_BACKWARD): Define.
11248
4e733bac 112492010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
11250
11251 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11252 Restore proper fallback handling.
11253
63c4ed22
UD
112542010-06-19 Ulrich Drepper <drepper@redhat.com>
11255
ac2b484c
UD
11256 [BZ #11701]
11257 * posix/group_member.c (__group_member): Correct checking loop.
11258
63c4ed22
UD
11259 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11260 OOM in getpwuid_r correctly. Return error number when the caller
11261 should return, otherwise -1.
11262 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11263 call returning > 0 value.
11264 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11265
765ade4b
AS
112662010-06-07 Andreas Schwab <schwab@redhat.com>
11267
11268 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11269 libc_nonshared.a from targets in modules-names.
11270
80da2e09
KS
112712010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11272
11273 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11274 requires it.
11275
158db122
LM
112762010-06-10 Luis Machado <luisgpm@br.ibm.com>
11277
11278 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11279 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11280 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11281 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11282
caa78cf8
AS
112832010-06-02 Andreas Schwab <schwab@redhat.com>
11284
11285 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11286
b2ef2c01
UD
112872010-06-14 Ulrich Drepper <drepper@redhat.com>
11288
11289 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11290 and F_GETPIPE_SZ.
11291 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11292 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11293 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11294 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11295 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11296 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11297
fbd643b6
RM
112982010-06-14 Roland McGrath <roland@redhat.com>
11299
11300 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11301
f32f2869
JJ
113022010-06-07 Jakub Jelinek <jakub@redhat.com>
11303
11304 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11305 __REDIRECT followed by __THROW.
11306 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11307 * posix/getopt.h (getopt): Likewise.
11308
2a50c078
EPM
113092010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11310
11311 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11312 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11313 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11314 in AT_FLAGS.
11315 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11316 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11317
eb5ad2eb
LM
113182010-05-28 Luis Machado <luisgpm@br.ibm.com>
11319
11320 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11321
3c88fe1e
L
113222010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11323
11324 [BZ #11640]
11325 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11326 Properly check family and model.
11327
d2f73151
TY
113282010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11329
11330 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11331
ebd2e13d
LM
113322010-05-24 Luis Machado <luisgpm@br.ibm.com>
11333
11334 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11335
b32b8b45
UD
113362010-05-21 Ulrich Drepper <drepper@redhat.com>
11337
11338 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11339 symbol reference.
11340
9acbe24d
AS
113412010-05-19 Andreas Schwab <schwab@redhat.com>
11342
11343 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11344 symbol reference.
11345
f0ccf6ea
AS
113462010-05-21 Andreas Schwab <schwab@redhat.com>
11347
3d04ff3a
AS
11348 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11349 and internal_recvmmsg.
11350 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11351 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11352 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11353 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11354
f0ccf6ea
AS
11355 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11356 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11357 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11358
5b08ac57
AS
113592010-05-20 Andreas Schwab <schwab@redhat.com>
11360
11361 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11362
4828935d
LM
113632010-05-17 Luis Machado <luisgpm@br.ibm.com>
11364
11365 POWER7 optimizations.
11366 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11367 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11368
373d545e
UD
113692010-05-19 Ulrich Drepper <drepper@redhat.com>
11370
11371 * version.h: Update for 2.13 development version.
11372
21a2b1ae
AS
113732010-05-12 Andrew Stubbs <ams@codesourcery.com>
11374
11375 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11376 exceptions. Return 0.
11377
3f7dcb2b
RM
113782010-05-07 Roland McGrath <roland@redhat.com>
11379
11380 * elf/ldconfig.c (main): Add a const.
11381
5f24d53a 113822010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 11383
a160f8d8
UD
11384 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11385 (args_options): Add no-idn option.
11386 (ahosts_keys_int): Add idn_flags to ai_flags.
11387 (parse_option): Handle 'i' option to clear idn_flags.
11388
5f24d53a
UD
11389 * malloc/malloc.c (_int_free): Possible race in the most recently
11390 added check. Only act on the data if no current modification
11391 happened.
265bb1ce
UD
11392
11393See ChangeLog.17 for earlier changes.