]> sourceware.org Git - glibc.git/blame - ChangeLog
memset: also update copyright years
[glibc.git] / ChangeLog
CommitLineData
3884932b
MF
12012-04-08 Mike Frysinger <vapier@gentoo.org>
2
3 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
4 * sysdeps/x86_64/memset_chk.S: Likewise.
5
54472e9c
AJ
62012-04-08 Andreas Jaeger <aj@suse.de>
7
6ab0fbfc
AJ
8 [BZ #10153]
9 * manual/startup.texi (Environment Access): Describe return value
10 for putenv and setenv.
11
61efba8c
AJ
12 [BZ #6895]
13 * manual/filesys.texi (Directory Entries): Add description for
14 DT_LNK.
15
95c3f29a
AJ
16 [BZ #6890]
17 * manual/filesys.texi (Directory Entries): Clarify that it's file
18 system not operating system in the description of DT_UNKNOWN.
19
54472e9c
AJ
20 [BZ #6578]
21 * manual/syslog.texi (closelog): Fix reference, it's openlog.
22
624254b1
SC
232012-04-08 Stephen Compall <s11@member.fsf.org>
24
25 [BZ #6649]
26 * manual/llio.texi (Opening and Closing Files): Add cross
27 reference to explain mode argument.
28
1e4920e0
MF
292012-04-07 Mike Frysinger <vapier@gentoo.org>
30
31 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
32 * sysdeps/x86_64/memset_chk.S: Likewise.
33
5ed848f3
DM
342012-04-07 David S. Miller <davem@davemloft.net>
35
36 * elf/elf.h (R_SPARC_WDISP10): Define.
37 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38 R_SPARC_SIZE32.
39 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
40 R_SPARC_SIZE64 and R_SPARC_H34.
41
96154cd8
CD
422012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
43
44 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
45 conditions and remove no longer applicable assertion.
46
f8887d0a
L
472012-04-06 H.J. Lu <hongjiu.lu@intel.com>
48
49 * bits/byteswap.h (__bswap_16): Removed.
50 Include <bits/byteswap-16.h> to get __bswap_16.
51 * sysdeps/i386/bits/byteswap.h: Likewise.
52 * sysdeps/s390/bits/byteswap.h: Likewise.
53 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54 * bits/byteswap-16.h: New file.
55 * sysdeps/i386/bits/byteswap-16.h: Likewise.
56 * sysdeps/s390/bits/byteswap-16.h: Likewise.
57 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
58 * string/Makefile (headers): Add bits/byteswap-16.h.
59
62470f60
PP
602012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
61
62 [BZ #13895]
63 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
64 extra indirection.
65 * nss/Makefile (tests-static, tests): Add tst-nss-static.
66 * nss/tst-nss-static.c: New.
67
4dad7bab
RM
682012-04-06 Robert Millan <rmh@gnu.org>
69
70 [BZ #6486]
71 * manual/llio.texi (File Position Primitive): lseek
72 refers to WHENCE when it really means OFFSET.
73
e9142a17
AJ
742012-04-06 Andreas Jaeger <aj@suse.de>
75
2c040eff
AJ
76 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
77 strncmp declarations.
78
e9142a17
AJ
79 * abilist/libc.abilist: Add __poll and __ppoll.
80
ff9f1c5f
DM
812012-04-05 David S. Miller <davem@davemloft.net>
82
dcd2ae90
DM
83 * scripts/check-local-headers.sh: Accept a host triplet in the
84 path matched by the exclude regexp.
85
993eb054
DM
86 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
87 definition.
88 * sysdeps/powerpc/powerpc32/dl-machine.h
89 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
90 * sysdeps/s390/s390-32/dl-machine.h
91 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
92 * sysdeps/sparc/sparc32/dl-machine.h
93 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
94 * sysdeps/sparc/sparc64/dl-machine.h
95 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
96
ff9f1c5f
DM
97 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
98 lazy binding.
48e2e132 99 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
100 undefined symbol errors.
101
48e2e132 102 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
103 DT_NEEDED entries.
104
e80d6f94
MM
1052012-04-05 Michael Matz <matz@suse.de>
106
107 [BZ #13592]
108 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
109
349fa79f
AJ
1102012-04-05 Andreas Jaeger <aj@suse.de>
111
112 [BZ #13908]
113 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
114 comment.
115
f402708f
KK
1162012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
117
118 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
119 which ROUND is no valid rounding mode.
120
2ecccfc9
KK
1212012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
122
123 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
124 read again.
125 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
126
8a53f50f
KK
1272012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
128
129 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
130 an exception using FPU order intentionally.
131
1322012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
133
134 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
135 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
136 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
137 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
138
d653abb7
SJ
1392012-04-05 Simon Josefsson <simon@josefsson.org>
140
141 [BZ #12340]
142 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
143 EINVAL when BUFLEN is too smal.
144
c3b1bf7d
TS
1452012-04-05 Thomas Schwinge <thomas@codesourcery.com>
146
147 [BZ #13553]
148 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
149 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
150
b1aa60f3
AJ
1512012-04-03 Andreas Jaeger <aj@suse.de>
152
c3b1bf7d 153 [BZ #13938]
67f60a26
AJ
154 * manual/setjmp.texi (System V contexts): Fix sentence.
155
b1aa60f3
AJ
156 [BZ #13926]
157 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
158 New macro for this case.
159 [!__GNUC__] (__bswap_64): New inline function for this case.
160 * sysdeps/x86_64/bits/byteswap.h: Likewise.
161 * bits/byteswap.h: Likewise.
162 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
163 ull, guard with __GLIBC_HAVE_LONG_LONG.
164
165 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
166 __GLIBC_HAVE_LONG_LONG.
167
168 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
169 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
170
39c59c35
TMQMF
1712012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
172
173 [BZ #13691]
174 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
175 inptr and inend, rather than using last_ch.
176
135ffda8
DM
1772012-04-02 David S. Miller <davem@davemloft.net>
178
179 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
180 * stdio-common/printf-parse.h (read_int): Change return type to
181 'int', return -1 on INT_MAX overflow.
182 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
183 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
184 overflows INT_MAX. Check for overflow of in-format-string precision
185 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
186 SIZE_MAX not INT_MAX for integer overflow test.
187 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
188 skip the construct in the format string but do not record anything.
189 * stdio-common/bug22.c: Adjust to test both width/prevision
190 INT_MAX overflow as well as total length INT_MAX overflow. Check
191 explicitly for proper errno values.
192
228c019e
TS
1932012-04-02 Thomas Schwinge <thomas@codesourcery.com>
194
302cadd3
TS
195 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
196 CHAR_MAX.
197 * string/test-strcmp.c [! WIDE]: Likewise.
198 * time/tst-mktime2.c: Likewise for INT_MAX.
199 * string/test-string.h: #include <sys/param.h> for MIN.
200
228c019e
TS
201 * csu/init-first.c (__libc_init_first): Call __ctype_init.
202 * sysdeps/i386/init-first.c (init): Likewise.
203 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
204 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
205 * sysdeps/sh/init-first.c (init): Likewise.
206
cfa633f5
UD
2072012-04-01 Ulrich Drepper <drepper@gmail.com>
208
209 * po/ru.po: Update from translation team.
d1635ef8 210 * po/vi.po: Likewise.
cfa633f5 211
6cd0a5ea
SP
2122012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
213
214 * resolv/nss_dns/dns-host.c: Merge copyright years.
215
4b43400f
LD
2162012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
217
218 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
219 Optimize memcpy with prefetch if
220 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
221 src, dst pointers have unequal 16 byte alignments.
222
48c41d04
SP
2232012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
224
225 [BZ #13928]
226 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
227 from a CNAME entry and return the minimum ttl for the query.
228 (gaih_getanswer_slice): Likewise.
229
b8dc394d
JL
2302012-03-30 Jeff Law <law@redhat.com>
231
232 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
233 due to long keys.
234 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
235 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
236
2f5a5ed0
JL
237 * resolv/nss_dns/dns-host.c: Update copyright year.
238
1d39e359
UD
2392012-03-30 Ulrich Drepper <drepper@gmail.com>
240
c030f70c 241 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 242 requests to save a system call. Fix check that all bytes are sent.
c030f70c 243
1d39e359
UD
244 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
245 comments for sendmmsg.
246
2472012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
248
249 [BZ #13691]
250 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
251 with only 1 character between 0x0041 and 0x01b0.
252 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
253 * wcsmbs/tst-mbsnrtowcs.c: New file.
254
20fde227
DM
2552012-03-29 David S. Miller <davem@davemloft.net>
256
257 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
258 small copies by hand.
259
984a4237
JL
2602012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
261
262 [BZ #13761]
263 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
264 _nss_compat_initgroups_dyn): Fall back to malloc/free
265 for large group memberships.
266
18c9d62b
DM
2672012-03-28 David S. Miller <davem@davemloft.net>
268
88d85d4f
DM
269 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
270 that branches into memcpy.
271 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
272 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
273 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
274 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
275 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
276 bits.
277 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
278 implementation too.
279 * sysdeps/sparc/mempcpy.S: New file.
280
e5aa83e1
DM
281 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
282 the IFUNC routine in the libc case.
283 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
284
88570753
DM
285 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
286 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
287 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
288 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
289 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
290 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
291 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
292 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
293
249d7567
DM
294 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
295 loop to 256 bytes instead of 64 bytes and fix test signedness.
296
18c9d62b
DM
297 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
298 * sysdeps/sparc/sparc32/Makefile: rather than here...
299 * sysdeps/sparc/sparc64/Makefile: and here.
300
05f3d1f6
UD
3012012-03-28 Ulrich Drepper <drepper@gmail.com>
302
303 * malloc/mallocbug.c: Avoid warnings about unused variables.
304
86ae07a8
JL
3052012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
306
307 [BZ #13760]
308 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
309 in the right place. Discard and retry query if response is
310 larger than input buffer size.
311
41bf21a1
JM
3122012-03-28 Joseph Myers <joseph@codesourcery.com>
313
d6270972
JM
314 [BZ #369]
315 [BZ #2678]
316 [BZ #3866]
317 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
318 x for large integer exponent.
319 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
320 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
321 sign of result as needed afterwards.
322 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
323 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
324 result for underflowing pow the same as for overflow.
325 (__kernel_standard_l): Handle powl overflow and underflow here
326 rather than calling __kernel_standard.
327 * math/libm-test.inc (pow_test): Add more tests.
328
414fca03 329 [BZ #3868]
41bf21a1
JM
330 [BZ #13879]
331 [BZ #13910]
332 [BZ #13911]
333 [BZ #13912]
334 [BZ #13913]
335 [BZ #13915]
336 [BZ #13916]
337 [BZ #13917]
338 [BZ #13918]
339 [BZ #13919]
340 [BZ #13920]
341 [BZ #13921]
342 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
343 * sysdeps/ieee754/k_standard.c: Include <float.h>.
344 (__kernel_standard_l): New function.
345 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
346 __kernel_standard.
347 * math/w_acosl.c (__acosl): Likewise.
348 * math/w_asinl.c (__asinl): Likewise.
349 * math/w_atan2l.c (__atan2l): Likewise.
350 * math/w_atanhl.c (__atanhl): Likewise.
351 * math/w_coshl.c (__coshl): Likewise.
352 * math/w_exp10l.c (__exp10l): Likewise.
353 * math/w_exp2l.c (__exp2l): Likewise.
354 * math/w_fmodl.c (__fmodl): Likewise.
355 * math/w_hypotl.c (__hypotl): Likewise.
356 * math/w_j0l.c (__j0l, __y0l): Likewise.
357 * math/w_j1l.c (__j1l, __y1l): Likewise.
358 * math/w_jnl.c (__jnl, __ynl): Likewise.
359 * math/w_lgammal.c (__lgammal): Likewise.
360 * math/w_log10l.c (__log10l): Likewise.
361 * math/w_log2l.c (__log2l): Likewise.
362 * math/w_logl.c (__logl): Likewise.
363 * math/w_powl.c (__powl): Likewise.
364 * math/w_remainderl.c (__remainderl): Likewise.
365 * math/w_scalbl.c (sysv_scalbl): Likewise.
366 * math/w_sinhl.c (__sinhl): Likewise.
367 * math/w_sqrtl.c (__sqrtl): Likewise.
368 * math/w_tgammal.c (__tgammal): Likewise.
369 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
370 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
371 * math/libm-test.inc (acos_test): Add more tests.
372 (acosh_test): Likewise.
373 (asin_test): Likewise.
374 (atanh_test): Likewise.
375 (exp_test): Likewise.
376 (exp10_test): Likewise.
377 (exp2_test): Likewise.
378 (expm1_test): Likewise.
379 (lgamma_test): Likewise.
380 (log_test): Likewise.
381 (log10_test): Likewise.
382 (log1p_test): Likewise.
383 (log2_test): Likewise.
384 (pow_test): Do not allow some spurious overflow exceptions.
385 (sqrt_test): Add more tests.
386 (tgamma_test): Likewise.
387 (y0_test): Likewise.
388 (y1_test): Likewise.
389 (yn_test): Likewise.
390
dd62fda6
AB
3912012-03-27 Anton Blanchard <anton@samba.org>
392
393 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
394 MAP_HUGETLB.
395 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
396 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
397 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
398
1e3cdfda
AJ
3992012-03-27 David S. Miller <davem@davemloft.net>
400
b855ab85
DM
401 * conform/Makefile: Run run-conformtest.sh using $(BASH).
402
1e3cdfda
AJ
403 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
404 have-as-vis3 check.
405
4062012-03-27 Andreas Jaeger <aj@suse.de>
407
408 * sysdeps/x86_64/elf/configure.in: Moved to ...
409 * sysdeps/x86_64/configure.in: ... here.
410 * sysdeps/x86_64/elf/start.S: Moved to ...
411 * sysdeps/x86_64/start.S: ... here.
412 * sysdeps/x86_64/elf/configure: Delete.
413
414 * sysdeps/x86_64/configure.in: Merge contents from
415 sysdeps/i386/configure.in (without i686 check).
416
417 * sysdeps/i386/elf/Versions: Merge into ...
418 * sysdeps/i386/Versions: ... this.
419 * sysdeps/i386/elf/Versions: Delete file.
420 * sysdeps/i386/elf/start.S: Moved to ...
421 * sysdeps/i386/start.S: ...here.
422 * sysdeps/i386/elf/configure.in: Merge into...
423 * sysdeps/i386/configure.in: ...here.
424 * sysdeps/i386/elf/configure.in: Delete file.
425 * sysdeps/i386/elf/configure: Delete file.
426
427 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
428 * debug/backtracesyms.c: ... here.
429 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
430 * debug/backtracesymsfd.c: ... here.
431 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
432 * sysdeps/generic/ifunc-sel.h: ... here.
433
434 * sysdeps/unix/i386/start.c: Delete file.
435 * sysdeps/unix/sparc/start.c: Delete file.
436 * sysdeps/unix/start.c: Delete file.
437
438 * sysdeps/sh/elf/configure.in: Moved to ...
439 * sysdeps/sh/configure.in: ... here.
440 * sysdeps/sh/elf/start.S: Moved to ...
441 * sysdeps/sh/start.S: ... here.
442 * sysdeps/sh/elf/configure: Delete file.
443
444 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
445 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
446 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
447 * sysdeps/powerpc/powerpc64/entry.h: ... here.
448 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
449 * sysdeps/powerpc/powerpc64/start.S: here.
450 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
451 * sysdeps/powerpc/powerpc64/Makefile: ... this.
452 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
453 * sysdeps/powerpc/powerpc64/configure.in: ... this.
454 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
455
456 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
457 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
458 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
459 * sysdeps/powerpc/powerpc32/start.S: ... here.
460 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
461 * sysdeps/powerpc/powerpc32/configure.in: ... this.
462 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
463
464 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
465 * sysdeps/powerpc/ifunc-sel.h: ... here.
466 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
467 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
468
469 * sysdeps/sparc/elf/configure.in: Moved to ...
470 * sysdeps/sparc/configure.in: ... here.
471 * sysdeps/sparc/elf/configure: Delete file.
472 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
473 * sysdeps/sparc/sparc32/start.S: ... here.
474 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
475 * sysdeps/sparc/sparc64/start.S: ... here.
476 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
477 * sysdeps/sparc/sparc32/Makefile: ... this.
478 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
479 * sysdeps/sparc/sparc64/Makefile: ... this.
480
481 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
482 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
483 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
484 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
485 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
486 * sysdeps/s390/s390-32/setjmp.S: ... here.
487 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
488 * sysdeps/s390/s390-32/configure.in: ... here.
489 * sysdeps/s390/s390-32/elf/configure: Delete file.
490 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
491 * sysdeps/s390/s390-32/start.S: ... here.
492
493 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
494 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
495 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
496 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
497 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
498 * sysdeps/s390/s390-64/setjmp.S: ... here.
499 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
500 * sysdeps/s390/s390-64/configure.in: ... here
501 * sysdeps/s390/s390-64/elf/configure: Delete file.
502 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
503 * sysdeps/s390/s390-64/start.S: ... here.
504 * sysdeps/s390/s390-64/elf/configure: Delete.
505
506 * configure.in: Remove support for elf directories in sysdeps.
507
508 * configure: Regenerated.
509 * sysdeps/i386/configure: Regenerated.
510 * sysdeps/powerpc/powerpc32/configure: Regenerated.
511 * sysdeps/powerpc/powerpc64/configure: Regenerated.
512 * sysdeps/s390/s390-32/configure: Regenerated.
513 * sysdeps/s390/s390-64/configure: Regenerated.
514 * sysdeps/sh/configure: Regenerated.
515 * sysdeps/sparc/configure: Regenerated.
516 * sysdeps/x86_64/configure: Regenerated.
517
a3f61311
AS
5182012-03-26 Andreas Schwab <schwab@linux-m68k.org>
519
c876e002
AS
520 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
521
a3f61311
AS
522 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
523 denormal result into account.
524
ac4c54f0
RM
5252012-03-25 Roland McGrath <roland@hack.frob.com>
526
527 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
528 Reported by Allan McRae <allan@archlinux.org>.
529
6a9b9c02
JL
5302012-03-23 Jeff Law <law@redhat.com>
531
532 * nss/getnssent.c (__nss_getent): Fix typo.
533
4c42a0c1
DM
5342012-03-23 David S. Miller <davem@davemloft.net>
535
536 * sysdeps/sparc/fpu/libm-test-ulps: Update.
537
1532c7ac
L
5382012-03-23 H.J. Lu <hongjiu.lu@intel.com>
539
540 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
541 to pad to uint64_t for each field.
542 (dl_tls_index): Replace unsigned long with uint64_t.
543
3ff42526
PP
5442012-03-23 Daniel Jacobowitz <dmj@google.com>
545 Paul Pluzhnikov <ppluzhnikov@google.com>
546
547 [BZ #6528]
548 * grp/Makefile (otherlibs): Don't set it.
549 * inet/Makefile (otherlibs): Likewise.
550 * login/Makefile (otherlibs): Likewise.
551 * nscd/Makefile (otherlibs): Likewise.
552 * posix/Makefile (otherlibs): Likewise.
553 * pwd/Makefile (otherlibs): Likewise.
554 * rt/Makefile (otherlibs): Likewise.
555 * sunrpc/Makefile (otherlibs): Likewise.
556 * nss/Makefile (otherlibs): Likewise.
557 Add libnss_files to routines and static-only-routines.
558 ($(objpfx)getent): Remove rule.
559 * resolv/Makefile: Add libnss_dns and libresolv to routines and
560 static-only-routines.
561
7c69cd14
JM
5622012-03-22 Joseph Myers <joseph@codesourcery.com>
563
564 [BZ #13892]
565 * math/s_cexp.c: Include <float.h>.
566 (__cexp): Handle exp result overflowing not necessarily
567 overflowing both real and imaginary parts of result.
568 * math/s_cexpf.c: Likewise.
569 * math/s_cexpl.c: Likewise.
570 * math/libm-test.inc (cexp_test): Add more tests.
571 * sysdeps/i386/fpu/libm-test-ulps: Update.
572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
573
81b035fe
L
5742012-03-22 H.J. Lu <hongjiu.lu@intel.com>
575
576 * include/link.h (ELFW): New macro.
577 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
578 Replace ELF64_R_TYPE with ELFW(R_TYPE).
579
1da7940c
L
5802012-03-22 H.J. Lu <hongjiu.lu@intel.com>
581
582 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
583 with uint64_t.
584
b749dbb9
L
5852012-03-22 H.J. Lu <hongjiu.lu@intel.com>
586
587 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
588 declaration.
589 (struct La_x32_retval): Likewise.
590
2ff87f3f
L
5912012-03-22 H.J. Lu <hongjiu.lu@intel.com>
592
593 * sysdeps/x86_64/preconfigure.in: New file.
594 * sysdeps/x86_64/preconfigure: New generated file.
595
c0df8e69
JM
5962012-03-22 Joseph Myers <joseph@codesourcery.com>
597
48e44791
JM
598 [BZ #13824]
599 * math/e_exp2l.c: Include <float.h>.
600 (__ieee754_exp2l): Handle overflow and underflow cases
601 separately. Only pass fractional part of argument to
602 __ieee754_expl.
603 * math/libm-test.inc (exp2_test): Add more tests.
604
c0df8e69
JM
605 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
606 negating x to take absolute value.
607 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
608 Likewise.
609 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
610 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
611 Likewise.
612 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
613 computing low part if x was negated.
614 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
615
c8e43ba7
L
6162012-03-21 H.J. Lu <hongjiu.lu@intel.com>
617
618 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
619 la_x32_gnu_pltexit.
620 (pltexit): Cast int_retval to ptrdiff_t.
621 * elf/tst-auditmod3b.c: Likewise.
622 * elf/tst-auditmod4b.c: Likewise.
623 * elf/tst-auditmod5b.c: Likewise.
624 * elf/tst-auditmod6b.c: Likewise.
625 * elf/tst-auditmod6c.c: Likewise.
626 * elf/tst-auditmod7b.c: Likewise.
627
628 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
629 and x32_gnu_pltexit.
630
631 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
632 __ELF_NATIVE_CLASS.
633 (La_x32_regs): New macro.
634 (La_x32_retval): Likewise.
635 (la_x32_gnu_pltenter): New function prototype.
636 (la_x32_gnu_pltexit): Likewise.
637
7998fa78
AS
6382012-03-21 Andreas Schwab <schwab@linux-m68k.org>
639
dcb33988
AS
640 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
641 exponent.
642
233fc563
AS
643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
644
7998fa78
AS
645 * configure.in (libc_cv_cc_nofma): Check for option to disable
646 generation of FMA instructions.
647 * configure: Regenerate.
648 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
649 * sysdeps/ieee754/dbl-64/Makefile: New file.
650 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
651 Remove brandred-fma4.
652 (CFLAGS-brandred-fma4.c): Remove.
653 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
654 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
655 define.
656 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
657 define.
658
8e95c99a
L
6592012-03-21 H.J. Lu <hongjiu.lu@intel.com>
660
661 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
662 LLONG_MAX != LONG_MAX.
663 (_itoa_word): Use _ITOA_WORD_TYPE on value.
664 (_fitoa_word): Likewise.
665 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
666 LLONG_MAX != LONG_MAX.
667 * stdio-common/_itowa.h: Include <_itoa.h>.
668 (_itowa_word): Use _ITOA_WORD_TYPE on value.
669 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
670 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
671 only if not defined.
672 (_ITOA_WORD_TYPE): Likewise.
673 (_itoa_word): Use _ITOA_WORD_TYPE on value.
674 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
675
6f4db457
DM
6762012-03-21 David S. Miller <davem@davemloft.net>
677
678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
679
7785fe5a
L
6802012-03-21 H.J. Lu <hongjiu.lu@intel.com>
681
682 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
683 of x86_64 when setting libc_cv_slibdir, libdir and
684 libc_cv_localedir.
685 * sysdeps/unix/sysv/linux/configure: Regenerated.
686
4535cd55
JM
6872012-03-21 Joseph Myers <joseph@codesourcery.com>
688
689 * manual/lang.texi (Old Varargs): Remove section.
690 (How Variadic): Update menu.
691 (va_start): Do not mention varargs.h.
692
17228132
TS
6932012-03-21 Thomas Schwinge <thomas@codesourcery.com>
694 Joseph Myers <joseph@codesourcery.com>
695
696 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
697 link test.
698 * configure: Regenerated.
699
8149f976
TS
7002012-03-21 Thomas Schwinge <thomas@codesourcery.com>
701
05f3d1f6
UD
702 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
703 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
704 conformtest.pl
8149f976 705
1a4ac776
JM
7062012-03-21 Joseph Myers <joseph@codesourcery.com>
707
be22ce65
JM
708 * NOTES: Remove.
709 * Makefile (files-for-dist): Remove NOTES.
710 (NOTES): Remove rule.
711 * README: Don't refer to NOTES.
712 * manual/creature.texi: Don't include macros.texi.
713 * manual/intro.texi (creature.texi): Remove comment referring to
714 NOTES.
715
40b601fb
JM
716 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
717 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
718 * configure: Regenerated.
719 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
720 LIBC_TRY_CC_OPTION.
721 (libc_cv_as_i686): Likewise.
722 (libc_cv_cc_avx): Likewise.
723 (libc_cv_cc_sse2avx): Likewise.
724 (libc_cv_cc_fma4): Likewise.
725 (libc_cv_cc_novzeroupper): Likewise.
726 * sysdeps/i386/configure: Regenerated.
727
1a4ac776
JM
728 [BZ #13883]
729 * sysdeps/i386/fpu/s_cexp.S: Remove.
730 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
731 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
732 * math/libm-test.inc (cexp_test): Add more tests.
733 * sysdeps/i386/fpu/libm-test-ulps: Update.
734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
735
a458e7fe
AM
7362012-03-21 Allan McRae <allan@archlinux.org>
737
738 * timezone/Makefile: Do not install iso3166.tab and zone.tab
739
0cb7efc5
JM
7402012-03-21 Joseph Myers <joseph@codesourcery.com>
741
742 [BZ #13871]
743 * math/w_exp2.c: Do not include <float.h>.
744 (o_threshold, u_threshold): Remove.
745 (__exp2): Calculate result before checking finiteness and calling
746 __kernel_standard.
747 * math/w_exp2f.c: Likewise.
748 * math/w_exp2l.c: Likewise.
749 * math/libm-test.inc (exp2_test): Require overflow exception for
750 1e6 input.
2460d3aa
JM
751
752 [BZ #3866]
753 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
754 range of signed 64-bit integers before using fistpll. Remove
755 checks for whether integers fit in mantissa bits.
756 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
757 the range of signed 32-bit integers before using fistpl. Remove
758 checks for whether integers fit in mantissa bits.
759 * sysdeps/i386/fpu/e_powl.S (p64): New object.
760 (__ieee754_powl): Test for y outside the range of signed 64-bit
761 integers before using fistpll. Reduce 64-bit values to 63-bit
762 ones as needed.
763 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
764 divide-by-zero is raised for zero to large negative powers.
765 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
766 (__ieee754_powl): Test for y outside the range of signed 64-bit
767 integers before using fistpll. Reduce 64-bit values to 63-bit
768 ones as needed.
769 * math/libm-test.inc (pow_test): Add more tests.
770
eb96ffb0
L
7712012-03-20 H.J. Lu <hongjiu.lu@intel.com>
772
773 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
774 <stdio-common/_itoa.h>.
775 * debug/segfault.c: Likewise.
776 * elf/dl-cache.c: Likewise.
777 * elf/dl-minimal.c: Likewise.
778 * elf/dl-misc.c: Likewise.
779 * elf/dl-sysdep.c: Likewise.
780 * elf/dl-version.c: Likewise.
781 * elf/rtld.c: Likewise.
782 * hurd/hurdsock.c: Likewise.
783 * hurd/lookup-retry.c: Likewise.
784 * malloc/malloc.c: Likewise.
785 * malloc/mtrace.c: Likewise.
786 * nscd/nscd_getgr_r.c: Likewise.
787 * nscd/nscd_getpw_r.c: Likewise.
788 * nscd/nscd_getserv_r.c: Likewise.
789 * posix/getopt_init.c: Likewise.
790 * posix/wordexp.c: Likewise.
791 * stdio-common/_itoa.c: Likewise.
792 * stdio-common/printf_fphex.c: Likewise.
793 * stdio-common/vfprintf.c: Likewise.
794 * string/_strerror.c: Likewise.
795 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
796 * sysdeps/i386/i686/hp-timing.h: Likewise.
797 * sysdeps/mach/_strerror.c: Likewise.
798 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
799 * sysdeps/mach/hurd/sethostid.c: Likewise.
800 * sysdeps/mach/hurd/xmknodat.c: Likewise.
801 * sysdeps/mach/xpg-strerror.c: Likewise.
802 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
803 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
804 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
805 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
806 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
807 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
808 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
809 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
810 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
811 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
812 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
813 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
814 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
815 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
816 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
817 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
818 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
819 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
820 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
821 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
822 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
823
824 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
825
826 * stdio-common/_itoa.h: Moved to ...
827 * sysdeps/generic/_itoa.h: Here.
828
829 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
830
831 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
832 instead of "_itoa.h" and "_itowa.h".
833 * stdio-common/vfprintf.: Likewise.
834
d1af992d
L
8352012-03-20 H.J. Lu <hongjiu.lu@intel.com>
836
837 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
838 <bits/wordsize.h>.
839 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
840 (__signbit): Likwise.
841 (llrintf): Likwise.
842 (llrint): Likwise.
843
114883e0
L
8442012-03-20 H.J. Lu <hongjiu.lu@intel.com>
845
846 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
847 __WORDSIZE != 64.
848
c135cc1b
JM
8492012-03-20 Joseph Myers <joseph@codesourcery.com>
850
851 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
852 OVERFLOW_EXCEPTION_OK.
853 * math/libm-test.inc ("Philosophy"): Update comment about
854 exception testing.
855 (OVERFLOW_EXCEPTION): Define.
856 (OVERFLOW_EXCEPTION_OK): Likewise.
857 (INVALID_EXCEPTION_OK): Renumber.
858 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
859 (IGNORE_ZERO_INF_SIGN): Likewise.
860 (test_exceptions): Handle FE_OVERFLOW.
861 (exp10_test): Expect overflow exceptions.
862 (exp2_test): Likewise.
863 (expm1_test): Likewise.
864 (nextafter_test): Likewise.
865 (pow_test): Likewise.
866 (scalbn_test): Likewise.
867 (scalbln_test): Likewise.
868
95443d88
L
8692012-03-19 H.J. Lu <hongjiu.lu@intel.com>
870
871 * sysdeps/x86_64/bits/atomic.h
872 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
873 64bit integer.
874 (atomic_exchange_acq): Likewise.
875 (__arch_exchange_and_add_body): Likewise.
876 (__arch_add_body): Likewise.
877 (atomic_add_negative): Likewise.
878 (atomic_add_zero): Likewise.
879
490df6c4
L
8802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
881
c2722551 882 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
883 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
884
5e52b189
L
8852012-03-19 H.J. Lu <hongjiu.lu@intel.com>
886
887 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
888 Check __x86_64__ instead of __WORDSIZE.
889
a9879d4c
L
8902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
891
892 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
893
5df98260
DM
8942012-03-19 David S. Miller <davem@davemloft.net>
895
e1497744
DM
896 * sysdeps/sparc/fpu/libm-test-ulps: Update.
897
5df98260
DM
898 * sysdeps/sparc/fpu/fenv_private.h: New file.
899 * sysdeps/sparc/fpu/math_private.h: Use it.
900 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
901 Remove.
902 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
903 (libc_feholdexcept_setroundl): Remove.
904 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
905 Remove.
906 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
907 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
908
b4c35121
L
9092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
910
911 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
912 int64_t instead of long int.
913 (INSERT_WORDS64): Likwise.
914
56965fd7
L
9152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
916
917 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
918 _Unwind_GetCFA return to _Unwind_Ptr first.
919
83d1aec8
JM
9202012-03-19 Joseph Myers <joseph@codesourcery.com>
921
1897ad44
JM
922 [BZ #13629]
923 * math/s_clog.c: Include <float.h>.
924 (__clog): Scale large or subnormal inputs.
925 * math/s_clogf.c: Likewise.
926 * math/s_clogl.c: Likewise.
927 * math/s_clog10.c: Include <float.h>.
928 (M_LOG10_2): Define.
929 (__clog10): Scale large or subnormal inputs.
930 * math/s_clog10f.c: Likewise.
931 * math/s_clog10l.c: Likewise.
932 * math/libm-test.inc (clog_test): Add more tests.
933 (clog10_test): Likewise.
934 * sysdeps/i386/fpu/libm-test-ulps: Update.
935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
936
7726d6a9
JM
937 [BZ #11451]
938 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
939 x and y.
940 * math/libm-test.inc (atan2_test): Add another test.
941
83d1aec8
JM
942 * Makerules (common-objdir-compile): Remove.
943 * sysdeps/unix/Makefile (config-generated): Do not add
944 $(unix-generated) to variable.
945 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
946 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
947 Remove rule.
948 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
949 Likewise.
950 [generic bits/local_lim.h] (before-compile): Do not append to
951 variable.
952 [generic bits/local_lim.h] (common-generated): Likewise.
953 [generic sys/param.h] (before-compile): Do not append to variable.
954 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
955 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
956 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
957 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
958 include.
959 [generic sys/param.h] (sys/param.h-includes): Remove variable.
960 [generic sys/param.h] (sys/param.h-includes): Remove rule.
961 [generic sys/param.h] ($(addprefix
962 $(common-objpfx),$(sys/param.h-includes))): Likewise.
963 [generic sys/param.h] (common-generated): Do not append to
964 variable.
965 [generic sys/param.h] (sysdep_headers): Likewise.
966 [generic bits/errno.h] (before-compile): Do not append to
967 variable.
968 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
969 rule.
970 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
971 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
972 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
973 [generic bits/errno.h] (common-generated): Do not append to
974 variable.
975 [generic bits/ioctls.h] (before-compile): Do not append to
976 variable.
977 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
978 rule.
979 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
980 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
981 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
982 rule.
983 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
984 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
985 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
986 [generic bits/ioctls.h] (common-generated): Do not append to
987 variable.
988 [generic sys/syscall.h] (syscall.h): Remove variable.
989 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
990 rule.
991 [generic sys/syscall.h] (before-compile): Do not append to
992 variable.
993 [generic sys/syscall.h] (common-generated): Likewise.
994 * sysdeps/unix/errnos-tmpl.c: Remove file.
995 * sysdeps/unix/errnos.awk: Likewise.
996 * sysdeps/unix/ioctls-tmpl.c: Likewise.
997 * sysdeps/unix/ioctls.awk: Likewise.
998 * sysdeps/unix/mk-local_lim.c: Likewise.
999 * sysdeps/unix/snarf-ioctls: Likewise.
1000
4851a949
RH
10012012-03-19 Richard Henderson <rth@twiddle.net>
1002
bd37f2ee
RH
1003 * sysdeps/i386/fpu/fenv_private.h: New file.
1004 * sysdeps/i386/fpu/math_private.h: Use it.
1005 (math_opt_barrier, math_force_eval): Remove.
1006 (libc_feholdexcept_setround_53bit): Remove.
1007 (libc_feupdateenv_53bit): Remove.
1008 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1009 (math_opt_barrier, math_force_eval): Remove.
1010 (libc_feholdexcept): Remove.
1011 (libc_feholdexcept_setround): Remove.
1012 (libc_fetestexcept, libc_fesetenv): Remove.
1013 (libc_feupdateenv_test): Remove.
1014 (libc_feupdateenv, libc_feholdsetround): Remove.
1015 (libc_feresetround): Remove.
1016
d0adc922
RH
1017 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1018 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1019
0fe0f1f8
RH
1020 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1021 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1022 (libc_feupdateenv_testl): New.
1023 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1024 (libc_feupdateenv_testf): New.
1025 (libc_feupdateenv): Use libc_feupdateenv_test.
1026 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1027 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1028
eb92c487
RH
1029 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1030 (libc_feholdsetroundf, libc_feholdsetroundl): New.
1031 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1032 (libc_feresetround_noex): New.
1033 (libc_feresetround_noexf): New.
1034 (libc_feresetround_noexl): New.
1035 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1036 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1037 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1038 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1039 SET_RESTORE_ROUND.
1040 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1041 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1042 (__cos): Likewise.
1043 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1044 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1045 SET_RESTORE_ROUND_NOEX.
1046 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1047 SET_RESTORE_ROUND_NOEXF.
1048 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1049 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1050 (libc_feholdsetroundf): New.
1051 (libc_feresetround, libc_feresetroundf): New.
1052
7d2e8012
RH
1053 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1054 (libc_feholdexcept_setround_53bit): Convert from macro to function.
1055 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
1056
b4dabbb4
RH
1057 * sysdeps/generic/math_private.h: Include <fenv.h>.
1058 (default_libc_feholdexcept): New.
1059 (default_libc_feholdexcept_setround): New.
1060 (default_libc_fesetenv, default_libc_feupdateenv): New.
1061 (libc_feholdexcept): Only define if undefined.
1062 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1063 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1064 (libc_feholdexcept_setroundl): Likewise.
1065 (libc_feholdexcept_setround_53bit): Likewise.
1066 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1067 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1068 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1069 (libc_feupdateenv_53bit): Likewise.
1070 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1071 (libc_feholdexcept): Convert from macro to inline function.
1072 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1073 (libc_fesetenv, libc_feupdateenv): Likewise.
1074
4851a949
RH
1075 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1076 not previously defined.
1077 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1078 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1079 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1080 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1081 * sysdeps/ieee754/flt-32/math_private.h: New file.
1082 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1083 math_private.h below SET_FLOAT_WORD.
1084 (__isnan, __isinf_ns, __finite): Remove.
1085 (__isnanf, __isinf_nsf, __finitef): Remove.
1086
e79d442e
AS
10872012-03-18 Andreas Schwab <schwab@linux-m68k.org>
1088
1089 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1090
90b80344
DM
10912012-03-17 David S. Miller <davem@davemloft.net>
1092
1093 [BZ #6471]
1094 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1095 for 2.16.
1096
edc21804
DM
10972012-03-16 David S. Miller <davem@davemloft.net>
1098
77e927af
DM
1099 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1100 warnings.
1101
374976dd
DM
1102 [BZ #6471]
1103 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1104 properly.
1105 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1106 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1107 sysdep_routines when subdir is sysvipc.
1108 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1109 __getshmlba helper.
1110
edc21804
DM
1111 * sysdeps/sparc/fpu/libm-test/ulps: Update.
1112
473c3ef3
L
11132012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1114
1115 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1116 [__LP64__].
1117
eb0f39b6
L
11182012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1119
1120 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1121 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1122 (__lround): Renamed to ...
1123 (__llround): This. Replace long int with long long int.
1124 Define lround functions as aliases of llround functions.
1125 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1126
6b6cd74b
L
11272012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1128
1129 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1130 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
1131 adresses to uintptr_t. Replace "long int" and "unsigned long
1132 int" with "greg_t" on va_arg.
1133
f1a77b01
L
11342012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1135
1136 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1137 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1138
1139 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1140 Move e_machine check before EI_CLASS check. Handle x32
1141 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1142 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1143 SKIP_EM_IA_64 and include
1144 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1145
1146 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1147 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1148 (add_system_dir): New macro.
1149
1150 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1151 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1152
11b90b9f
JM
11532012-03-16 Joseph Myers <joseph@codesourcery.com>
1154
c36e1d23
JM
1155 [BZ #2551]
1156 [BZ #2552]
1157 [BZ #2553]
1158 [BZ #2554]
1159 [BZ #2562]
1160 [BZ #2563]
1161 [BZ #2565]
1162 [BZ #2566]
1163 [BZ #2576]
1164 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1165 (y0): Likewise.
1166 * math/w_j0f.c (j0f): Likewise.
1167 (y0f): Likewise.
1168 * math/w_j0l.c (__j0l): Likewise.
1169 (__y0l): Likewise.
1170 * math/w_j1.c (j1): Likewise.
1171 (y1): Likewise.
1172 * math/w_j1f.c (j1f): Likewise.
1173 (y1f): Likewise.
1174 * math/w_j1l.c (__j1l): Likewise.
1175 (__y1l): Likewise.
1176 * math/w_jn.c (jn): Likewise.
1177 (yn): Likewise.
1178 * math/w_jnf.c (jnf): Likewise.
1179 (ynf): Likewise.
1180 * math/w_jnl.c (__jnl): Likewise.
1181 (__ynl): Likewise.
1182 * math/libm-test.inc (j0_test): Add more tests.
1183 (j1_test): Likewise.
1184 (jn_test): Likewise. Add trailing semicolon to existing test.
1185 (y0_test): Likewise.
1186 (y1_test): Likewise.
1187 * sysdeps/i386/fpu/libm-test-ulps: Update.
1188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1189
11b90b9f
JM
1190 [BZ #13851]
1191 [BZ #13854]
1192 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1193 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1194 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1195 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1196 (__tanl): Set errno for infinite argument.
1197 * sysdeps/i386/fpu/mptan.c: Remove.
1198 * sysdeps/i386/fpu/s_tan.S: Likewise.
1199 * sysdeps/i386/fpu/s_tanl.S: Likewise.
1200 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1201 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1202 * math/libm-test.inc (tan_test): Add more tests and enable more
1203 tests for double and long double.
1204 * sysdeps/i386/fpu/libm-test-ulps: Update.
1205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1206
6a1bd2a1
JK
12072012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1208
1209 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1210 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1211
10a803e0
RM
12122012-03-16 Roland McGrath <roland@hack.frob.com>
1213
1214 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1215 * configure.in: Use it for both main tree and add-ons.
1216 * configure: Regenerated.
1217
f196c7f7
L
12182012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1219
1220 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1221
8848d99d
JM
12222012-03-16 Joseph Myers <joseph@codesourcery.com>
1223
96cbe7f4
JM
1224 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1225 in comment.
1226
8848d99d
JM
1227 [BZ #13851]
1228 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1229 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1230 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1231 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1232 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1233 infinite argument.
1234 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1235 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1236 != 0 for prec == 2.
1237 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1238 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1239 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1240 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1241 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1242 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1243 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1244 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1245 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1246 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1247 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1248 * math/libm-test.inc (cos_test): Add more tests and enable more
1249 tests for long double.
1250 (sin_test): Likewise.
1251 (sincos_test): Likewise.
1252 * sysdeps/i386/fpu/libm-test-ulps: Update.
1253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1254
dd7f4703
DM
12552012-03-16 David S. Miller <davem@davemloft.net>
1256
1257 * sysdeps/sparc/fpu/math_private.h: New file.
1258
006f1daa
DM
12592012-03-15 David S. Miller <davem@davemloft.net>
1260
c0c83bc8
DM
1261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1262 file.
e6a62e18 1263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
1264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1265 file.
e6a62e18
DM
1266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1267 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1268 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1269 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1270 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1271 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1272 sysdep routines.
1273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1274
88cb87d9
DM
1275 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1276 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1277
006f1daa 1278 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
1279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1280 sparc-ifunc.h
006f1daa 1281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
1282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1283 Likewise.
1284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1285 Likewise.
006f1daa
DM
1286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
1289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1290 Likewise.
006f1daa
DM
1291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
1295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1296 Likewise.
1297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1298 Likewise.
006f1daa
DM
1299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1303 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1304 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1305 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1306 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1307 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1308 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1309 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1310 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1311 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1312 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1313 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1314 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1315 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1316 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1317 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1318 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1319 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1320 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1321 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1322 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1323
11e0098e
AS
13242012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1325
1326 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1327 scaling.
1328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1329
e85b09d0
AJ
13302012-03-15 Andreas Jaeger <aj@suse.de>
1331
1332 [BZ #13852]
1333 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1334 ieee754/flt-32 implementation for sin, cos and sincos.
1335 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1336 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1337 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1338 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1339 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1340 ieee754/flt-32 implementation for tan.
1341
1342 * math/libm-test.inc (cos_test): Enable some large input tests for
1343 float as well
1344 (sin_test): Likewise.
1345 (sincos_test): Likewise.
1346 (tan_test): Add tests for large input.
1347
1348 * sysdeps/i386/fpu/libm-test-ulps: Update.
1349
81c64153
AJ
13502012-03-15 Andreas Jaeger <aj@suse.de>
1351
1352 [BZ #13658]
1353 * math/libm-test.inc (cos_test): Add more test cases.
1354 (sin_test): Likewise.
1355 (sincos_test): Likewise.
1356
7bbfa5c6
AJ
13572012-03-15 Andreas Jaeger <aj@suse.de>
1358
1359 [BZ #13837]
1360 * math/libm-test.inc (cos_test): Add a test case for large input
1361 value.
1362 (sin_test): Likewise.
1363 (sincos_test): Likewise.
1364
13652012-03-15 Andreas Jaeger <aj@suse.de>,
1366 Joseph Myers <joseph@codesourcery.com>
1367
1368 [BZ #13658]
0671f479 1369 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
1370 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1371 * sysdeps/i386/fpu/branred.c: Likewise.
1372 * sysdeps/i386/fpu/dosincos.c: Likewise.
1373 * sysdeps/i386/fpu/mpa.c: Likewise.
1374 * sysdeps/i386/fpu/s_cos.S: Likewise.
1375 * sysdeps/i386/fpu/s_sin.S: Likewise.
1376 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1377 * sysdeps/i386/fpu/sincos32.c: Likewise.
1378
1379 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1380 Define.
1381 (libc_feupdateenv_53bit): Define.
1382 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1383 Define.
1384 (libc_feupdateenv_53bit): Define.
1385
1386 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1387 53 bit (without extend i386 double precision).
1388
1389 * math/libm-test.inc (sincos_test): Add tests for large input.
1390 (sin): Likewise.
1391 (cos): Likewise.
1392
1393 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1394
9cad04ea
AS
13952012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1396
1397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1398
f7062b9a
DM
13992012-03-15 David S. Miller <davem@davemloft.net>
1400
1401 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1402 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1403 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1404 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1405 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1406 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1407 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1408 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1409 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1410 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1411 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1412 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1413 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1414 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1415 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
1416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1417 file.
f7062b9a 1418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
1419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1420 file.
f7062b9a 1421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
1422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1423 file.
f7062b9a 1424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
1425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1426 file.
f7062b9a
DM
1427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1428 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1429 fmin/fmax sysdep routines.
1430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1431
7bd951ff
DM
14322012-03-14 David S. Miller <davem@davemloft.net>
1433
559398ab
DM
1434 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1435 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1436 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1437 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1438 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1439 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1440 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1441 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1442 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1443 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1444 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1445 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1446 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1447 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1448 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1449 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1450 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1451 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1452 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1453 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1454 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1455 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1456 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1457 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1458 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1459 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1460 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1461 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1462 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1463 routines.
1464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1465 file.
559398ab 1466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
1467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1468 file.
559398ab 1469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
1470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1471 file.
559398ab 1472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
1473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1474 file.
559398ab 1475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
1476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1477 file.
559398ab 1478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
1479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1480 file.
1481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1482 file.
1483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1484 file.
1485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1486 file.
1487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1488 New file.
1489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1490 file.
1491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1492 file.
559398ab 1493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
1494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1495 file.
559398ab 1496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1498 file.
559398ab 1499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
1500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1501 file.
559398ab 1502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
1503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1504 VIS3 routines.
559398ab
DM
1505
1506 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1507 New file.
1508
5a1c1e32
DM
1509 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1510
eae47a36
DM
1511 * sysdeps/sparc/configure.in: New file.
1512 * sysdeps/sparc/configure: Generate.
1513 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1514 * configure: Regenerate.
1515 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1516 * config.make.in (have-as-vis3): New.
1517 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1518 available use -Av9d instead of -Av9a.
1519 * sysdeps/sparc/sparc64/Makefile: Likewise.
1520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
1521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1522 New file.
1523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1524 file.
1525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1526 New file.
1527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1528 file.
eae47a36
DM
1529 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1530 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1531 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1532 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1533 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1534
c0c83bc8
DM
1535 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1536 fzeros/fnegs to load 0x80000000 into a float register instead of
1537 using the stack.
7bd951ff
DM
1538 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1539
bd951ccb
JM
15402012-03-14 Joseph Myers <joseph@codesourcery.com>
1541
1542 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1543 bits/syscall.h.
1544 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1545 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1546 ($(inst_includedir)/bits/syscall.h): Remove rule.
1547 ($(objpfx)bits/syscall.d): Include instead of
1548 $(objpfx)syscall-list.d.
1549 (generated): Change syscall-list.h and syscall-list.d to
1550 bits/syscall.h and bits/syscall.d.
1551
bb4e6db2
RM
15522012-03-14 Roland McGrath <roland@hack.frob.com>
1553
1554 [BZ #13846]
1555 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1556
aa4a2ae1
JM
15572012-03-14 Joseph Myers <joseph@codesourcery.com>
1558
e456826d
JM
1559 [BZ #13841]
1560 * math/s_csqrt.c: Include <float.h>.
1561 (__csqrt): Scale large or subnormal inputs.
1562 * math/s_csqrtf.c: Likewise.
1563 * math/s_csqrtl.c: Likewise.
1564 * math/libm-test.inc (csqrt_test): Add more tests.
1565 * sysdeps/i386/fpu/libm-test-ulps: Update.
1566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1567
aa4a2ae1
JM
1568 [BZ #13840]
1569 * math/libm-test.inc (hypot_test): Add more tests.
1570
7c10fd35
DM
15712012-03-13 David S. Miller <davem@davemloft.net>
1572
1573 [BZ #13840]
1574 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1575 double-precision for the calculation instead of scaling.
1576
f453b98b
JM
15772012-03-13 Joseph Myers <joseph@codesourcery.com>
1578
1579 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1580 manipulate bits before adding and subtracting TWO52[sx].
1581 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1582 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1583 Likewise.
1584 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1585
09a3453f
DM
15862012-03-13 David S. Miller <davem@davemloft.net>
1587
8e59da90
DM
1588 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1589 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1590 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1591 rtld-global-offsets.h
1592 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1593
2a8ab7f2
DM
1594 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1595 large parameters.
1596
10f62770
DM
1597 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1598
5f0bdb18
DM
1599 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1600 'err' in the ifdef scope in which it is actually used.
1601
09a3453f
DM
1602 * nss/nss_db/db-init.c: Include string.h
1603
b4b2eb5e
DM
16042012-03-12 David S. Miller <davem@davemloft.net>
1605
98bb2f1c
DM
1606 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1607 masking out of the most significant byte of random value used.
1608 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1609 Fix coding style in previous change.
1610
b4b2eb5e
DM
1611 * sysdeps/unix/sysv/linux/kernel-features.h
1612 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1613 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1614 expression.
1615 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1616 later.
1617
6e226b09
DM
16182012-03-11 David S. Miller <davem@davemloft.net>
1619
a1bcbd40
DM
1620 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1621 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1622 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1623 for 'resultvar' otherwise things get truncated on 64-bit.
1624
cb9d6174
DM
1625 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1626 Fix masking out of the most significant byte of random value used.
1627
6e226b09
DM
1628 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1629
058c132d
AS
16302012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1631
1632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1633
2d2cd515
DM
16342012-03-09 David S. Miller <davem@davemloft.net>
1635
1636 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1637 variables with appropriate CPP guards.
1638 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1639 frame pointer, not the stack pointer. Correct layout comments. Fix test
1640 on resulting framesize and the management of the outregs buffer for pltexit.
1641 Preserve floating point return values across _dl_call_pltexit call.
1642 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1643 framesize and the management of the outregs buffer for pltexit.
1644 Preserve floating point return values across _dl_call_pltexit
1645 call.
1646 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1647 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1648 (print_exit): Fix format string for return register value.
1649
9a07f9d0
JM
16502012-03-10 Joseph Myers <joseph@codesourcery.com>
1651
1652 * sunrpc/Makefile (others): Add rpcgen.
1653 ($(objpfx)rpcgen): Remove special build rule and dependency on
1654 libc.
1655 * sunrpc/rpcgen.c: New file.
1656
547b5e30
PE
16572012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1658
c524201a
PE
1659 [BZ #13673]
1660 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1661 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1662 * sysdeps/i386/crti.S: Likewise.
1663 * sysdeps/i386/crtn.S: Likewise.
1664 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1665 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1666 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1667 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1668 * sysdeps/sh/crti.S: Likewise.
1669 * sysdeps/sh/crtn.S: Likewise.
1670 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1671
7b6235f2
PE
1672 [BZ #13673]
1673 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1674 with URL.
1675 * locale/programs/locfile-kw.gperf: Likewise.
1676 * locale/programs/charmap-kw.h: Regenerated.
1677 * locale/programs/locfile-kw.h: Likewise.
1678
547b5e30
PE
1679 [BZ #13673]
1680 * intl/plural.y: Replace FSF snail mail address with URL.
1681 * intl/plural.c: Regenerated.
1682
5f0a5dae
RH
16832012-03-09 Richard Henderson <rth@twiddle.net>
1684
1685 * include/math_private.h: Remove file.
1686 * math/math_private.h: Move file ...
1687 * sysdeps/generic/math_private.h: ... here.
1688
b8c03620
RH
1689 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1690 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1691 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1692
4e234f5d 1693 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
1694 and <math_private.h>.
1695 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1696 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1697 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1698 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1699 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1700 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1701 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1702 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1703 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1704 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1705 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1706 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1707 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1708 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1709 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1710 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1711 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1712 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1713 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1714 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1715 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1716 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1717 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1718 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1719 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1720 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1721 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1722 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1723 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1724 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1725 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1726 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1727 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1728 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1729 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1730 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1731 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1732 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1733 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1734 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1735 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1736 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1737 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1738 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1739 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1740 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1741 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1742 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1743 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1744 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1745 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1746 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1747 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1748 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1749 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1750 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1751 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1752 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1753 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1754 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1755 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1756 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1757 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1758 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1759 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1760 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1761 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1762 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1763 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1764 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1765 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1766 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1767 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1768 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1769 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1770 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1771 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1772 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1773 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1774 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1775 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1776 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1777 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1778 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1779 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1780 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1781 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1782 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1783 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1784 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1785 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1786 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1787 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1788 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1789 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1790 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1791 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1792 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1793 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1794 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1795 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1796 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1797 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1798 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1799 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1800 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1801 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1802 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1803 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1804 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1805 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1806 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1807 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1808 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1809 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1810 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1811 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1812 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1813 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1814 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1815 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1816 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1817 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1818 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
1819 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1820 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1821 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1822 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
1823 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1824 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
1825 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
1826 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1827 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1828 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
1829 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
1830 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1831 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1832 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1833 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
1834 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1835 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1836 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1837 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1838 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
1839 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
1840 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1841 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1842 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1843 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1844 * sysdeps/ieee754/k_standard.c: Likewise.
1845 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1846 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1847 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1848 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1849 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1850 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1851 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1852 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1853 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1854 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1855 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1856 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1857 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1858 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1859 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1860 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1861 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1862 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1863 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1864 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1865 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1866 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1867 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1868 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1869 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1870 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1871 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1872 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1873 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1874 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1875 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1876 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1877 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1878 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1879 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1880 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1881 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1882 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
1883 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1884 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1885 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1886 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1887 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1888 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1889 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1890 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1891 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1892 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1893 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1894 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1895 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1896 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1897 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1898 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1899 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1900 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1901 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
1902 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1903 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1904 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1905 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1906 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1907 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1908 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1909 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1910 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1911 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1912 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1913 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1914 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1915 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1916 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1917 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1918 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1919 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1920 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1921 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
1922 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1923 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1924 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1925 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1926 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1927 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1928 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1929 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
1930 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1931 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1932 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1933 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1934 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1935 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
1936 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1937 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1938 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1939 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1940 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1941 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
1942 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1943 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1944 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
1945 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1946 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1947 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1948 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1949 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
1950 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1951 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1952 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1953 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
1954 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1955 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1956 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1957 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1958 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1959 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1960 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1961 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1962 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1963 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1964 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1965 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1966 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1967 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1968 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1969 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1970 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
1971 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1972 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1973 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1974 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1975 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1976 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1977 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1978 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1979 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1980 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1981 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
1982 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1983 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1984 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
1985 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
1986 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1987 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
1988 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
1989 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1990 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1991 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1992 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1993 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1994 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
1995 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1996 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1997 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1998 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1999 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
2000 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
2001 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2002 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2003 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2004 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2005 * sysdeps/ieee754/s_lib_version.c: Likewise.
2006 * sysdeps/ieee754/s_matherr.c: Likewise.
2007 * sysdeps/ieee754/s_signgam.c: Likewise.
2008 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2009 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2010 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2011 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2012 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2013 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2014 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2015 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2016 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2017 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2018 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2019 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2020 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2021 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2022 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2023 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2024 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2025 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2026 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2027 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2028 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 2029
1991fa03
JM
20302012-03-09 Joseph Myers <joseph@codesourcery.com>
2031
2032 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2033 * sunrpc/rpc_main.c: Likewise.
2034 * sunrpc/rpc_svcout.c: Likewise.
2035
60d6f5a6
DM
20362012-03-09 David S. Miller <davem@davemloft.net>
2037
2038 * include/math_private.h: New file.
2039
4962050e
JM
20402012-03-09 Joseph Myers <joseph@codesourcery.com>
2041
02a6f887
JM
2042 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2043 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2044 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2045 from <bits/socket_type.h>.
2046 (enum __socket_type): Don't define here.
2047 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2048 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2049 bits/socket_type.h.
2050
c6e013c1
JM
2051 [BZ #13566]
2052 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2053 checking __USE_GNU.
2054
4962050e
JM
2055 * Makerules ($(inst_includedir)/%.h): New rule.
2056 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2057 (install-others): Remove variable setting.
2058 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2059
38842f45
RH
20602012-03-08 Richard Henderson <rth@twiddle.net>
2061
67bb6da6
RH
2062 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2063 from macro to inline function; merge with the
2064 !__LIBC_INTERNAL_MATH_INLINES version.
2065 (__ieee754_sqrtf): Likewise.
2066
15194b4b
RH
2067 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2068 to inline function.
2069 (__rintf, __floor, __floorf): Likewise.
2070
64e21ede
RH
2071 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2072 macro to inline function.
2073 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2074
38842f45
RH
2075 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2076 not <math/math_private.h>.
2077
c64bf5fe
DM
20782012-03-08 David S. Miller <davem@davemloft.net>
2079
2080 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2081 copyright year.
2082 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2083
82d86f28
TS
20842012-03-08 Thomas Schwinge <thomas@codesourcery.com>
2085
2086 * resolv/gai_misc.c (handle_requests): Fix struct timespec
2087 normalization.
2088 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2089 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2090
aea5d727
UD
20912012-03-08 Ulrich Drepper <drepper@gmail.com>
2092
2093 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
2094 be defined individually, they must be defined as a block. Define
2095 S for printing a string instead of hidint the different by using a
2096 macro for adding the 'l'.
2097 * stdio-common/tst-fphex-wide.c: Adjust.
2098
70bca0a3
MP
20992012-03-07 Marek Polacek <polacek@redhat.com>
2100
2101 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2102
65b81130
MP
21032012-03-08 Marek Polacek <polacek@redhat.com>
2104
2105 [BZ #13806]
2106 * stdio-common/Makefile (tests): Add tst-fphex-wide.
2107 * stdio-common/tst-fphex.c: Define a few macros to make the
2108 test reusable. Use them.
2109 * stdio-common/tst-fphex-wide.c: New file.
2110
07037eeb
JM
21112012-03-08 Joseph Myers <joseph@codesourcery.com>
2112
a7a93d50
JM
2113 [BZ #6911]
2114 * manual/macros.texi (gnusystems): New macro.
2115 (nongnusystems): Likewise.
2116 (gnulinuxhurdsystems): Likewise.
2117 (gnuhurdsystems): Likewise..
2118 (gnulinuxsystems): Likewise.
2119 * manual/charset.texi: Use new macros or @theglibc{} to refer to
2120 variants of the GNU system, not "GNU system".
2121 * manual/conf.texi: Likewise.
2122 * manual/errno.texi: Likewise. Update example of errno macro
2123 expansion.
2124 * manual/filesys.texi: Likewise.
2125 (getumask): Document as specific to GNU/Hurd.
2126 * manual/install.texi: Likewise. Reword some references to
2127 GNU/Linux.
2128 * manual/intro.texi: Likewise.
2129 * manual/io.texi: Likewise.
2130 (File Name Portability): Detail which constraints are inapplicable
2131 to all GNU systems and which are only inapplicable to GNU/Hurd.
2132 * manual/job.texi: Likewise.
2133 * manual/llio.texi: Likewise.
2134 (O_NOCTTY): Document as present on GNU/Linux.
2135 * manual/maint.texi: Likewise.
2136 * manual/memory.texi: Likewise.
2137 * manual/pattern.texi: Likewise.
2138 * manual/pipe.texi: Likewise.
2139 * manual/process.texi: Likewise.
2140 * manual/resource.texi: Likewise.
2141 (RUSAGE_CHILDREN): Remove statement about specifying a particular
2142 child on GNU/Hurd.
2143 * manual/setjmp.texi: Likewise.
2144 * manual/signal.texi: Likewise.
2145 * manual/startup.texi: Likewise.
2146 * manual/stdio.texi: Likewise.
2147 * manual/terminal.texi: Likewise.
2148 (ONLCR): Document as POSIX.
2149 (OXTABS): Document availability on GNU/Linux as XTABS.
2150 (ONOEOT): Document availability separately from other bits.
2151 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2152 * manual/time.texi: Likewise.
2153 * manual/users.texi: Likewise.
2154 * INSTALL: Regenerated.
2155 * sysdeps/gnu/errlist.c: Regenerated.
2156
07037eeb
JM
2157 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2158 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2159 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
2160 puts.
2161 * configure: Regenerated.
2162
d1d3431a
JM
21632012-03-07 Joseph Myers <joseph@codesourcery.com>
2164
af6a1e37
JM
2165 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2166 default includes instead of AC_HEADER_CHECK.
2167 * sysdeps/i386/configure: Regenerated.
2168
d1d3431a
JM
2169 [BZ #10716]
2170 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2171 * math/s_cacoshf.c (__cacoshf): Likewise.
2172 * math/s_cacoshl.c (__cacoshl): Likewise.
2173 * math/s_casinh.c (__casinh): Set signs of result from argument.
2174 * math/s_casinhf.c (__casinhf): Likewise.
2175 * math/s_casinhl.c (__casinhl): Likewise.
2176 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2177 (casinh_test): Add more tests.
2178 * sysdeps/i386/fpu/libm-test-ulps: Update.
2179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2180
482ff4da
UD
21812012-03-07 Ulrich Drepper <drepper@gmail.com>
2182
872fda05
UD
2183 * po/zh_TW.po: Update from translation team.
2184
a4300c7a
UD
2185 * login/Makefile (distribute): Remove variable.
2186 * catgets/Makefile: Likewise.
2187 * mach/Makefile: Likewise.
2188 * malloc/Makefile: Likewise.
2189 * misc/Makefile: Likewise.
2190 * iconv/Makefile: Likewise.
2191 * nscd/Makefile: Likewise.
2192 * hurd/Makefile: Likewise.
2193 * manual/Makefile: Likewise.
2194 * locale/Makefile: Likewise.
2195 * intl/Makefile: Likewise.
2196 * conform/Makefile: Likewise.
2197 * nss/Makefile: Likewise.
2198 * time/Makefile: Likewise.
2199 * soft-fp/Makefile: Likewise.
2200 * dirent/Makefile: Likewise.
2201 * gmon/Makefile: Likewise.
2202 * po/Makefile: Likewise.
2203 * rt/Makefile: Likewise.
2204 * socket/Makefile: Likewise.
2205 * math/Makefile: Likewise.
2206 * signal/Makefile: Likewise.
2207 * debug/Makefile: Likewise.
2208 * elf/Makefile: Likewise.
2209 * timezone/Makefile: Likewise.
2210 * stdlib/Makefile: Likewise.
2211 * iconvdata/Makefile: Likewise.
2212 * sunrpc/Makefile: Likewise.
2213 * io/Makefile: Likewise.
2214 * argp/Makefile: Likewise.
2215 * inet/Makefile: Likewise.
2216 * hesiod/Makefile: Likewise.
2217 * grp/Makefile: Likewise.
2218 * csu/Makefile: Likewise.
2219 * wctype/Makefile: Likewise.
2220 * crypt/Makefile: Likewise.
2221 * libio/Makefile: Likewise.
2222 * string/Makefile: Likewise.
2223 * nis/Makefile: Likewise.
2224 * resolv/Makefile: Likewise.
2225 * stdio-common/Makefile: Likewise.
2226 * wcsmbs/Makefile: Likewise.
2227 * dlfcn/Makefile: Likewise.
2228 * posix/Makefile: Likewise.
2229
482ff4da
UD
2230 * timezone/Makefile: Don't install timezone files, just the programs
2231 and scripts.
2232
f72ed77d
UD
22332012-03-06 Ulrich Drepper <drepper@gmail.com>
2234
a000466f
UD
2235 * nss/databases.def: Add missing gshadow entry.
2236
f72ed77d
UD
2237 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2238
a53b7a4e
MP
22392012-03-06 Marek Polacek <polacek@redhat.com>
2240
2241 [BZ #13726]
2242 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2243 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2244 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2245 * stdio-common/tst-long-dbl-fphex.c: New file.
2246
e9258400
DM
22472012-03-06 David S. Miller <davem@davemloft.net>
2248
2249 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2250 (set_obp_int): New function.
2251 (get_obp_int): New function.
2252 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
2253 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2254 Avoid unused variable warnings on 'val' and use builtin_expect.
2255 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2256 __builtin_expect.
e9258400
DM
2257 (INLINE_CLONE_SYSCALL): Likewise.
2258
3bd2c723
DM
22592012-03-05 David S. Miller <davem@davemloft.net>
2260
2261 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2262
bbb78d03
AS
22632012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2264
884c5db4
AS
2265 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2266
bbb78d03
AS
2267 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2268 only for |x| >= 40.
2269 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2270
1c9f702a 22712012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
2272
2273 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2274 Replace gettimeofday with __vdso_gettimeofday.
2275
7be16f82
RM
2276 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2277 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2278 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
2279
2280 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2281 time with __vdso_time.
2282
ed58a00f
JM
22832012-03-05 Joseph Myers <joseph@codesourcery.com>
2284
2285 * manual/lang.texi (size_t): Note types to which size_t may be
2286 equivalent with the GNU C Library, but do not describe when
2287 differences between them are significant.
2288
30ee4ced
AJ
22892012-03-05 Andreas Jaeger <aj@suse.de>
2290
2291 * sysdeps/i386/fpu/libm-test-ulps: Update.
2292
b7cd39e8
JM
22932012-03-05 Joseph Myers <joseph@codesourcery.com>
2294
2295 [BZ #3976]
2296 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2297 (__ieee754_pow): Save and restore rounding mode and use
2298 round-to-nearest for main computations.
2299 * math/libm-test.inc (pow_test_tonearest): New function.
2300 (pow_test_towardzero): Likewise.
2301 (pow_test_downward): Likewise.
2302 (pow_test_upward): Likewise.
2303 (main): Call the new functions.
2304 * sysdeps/i386/fpu/libm-test-ulps: Update.
2305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
2306
2307 [BZ #3976]
2308 * math/libm-test.inc (cosh_test_tonearest): New function.
2309 (cosh_test_towardzero): Likewise.
2310 (cosh_test_downward): Likewise.
2311 (cosh_test_upward): Likewise.
2312 (sinh_test_tonearest): Likewise.
2313 (sinh_test_towardzero): Likewise.
2314 (sinh_test_downward): Likewise.
2315 (sinh_test_upward): Likewise.
2316 (main): Call the new functions.
2317 * sysdeps/i386/fpu/libm-test-ulps: Update.
2318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2319
6c6a98c9
TV
23202012-03-05 Tom de Vries <tom@codesourcery.com>
2321
2322 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2323 default stack guard is set in last bytes.
2324 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2325
21bb2d2e 23262012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 2327
21bb2d2e 2328 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 2329
21bb2d2e
AJ
2330 [BZ #13656]
2331 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2332 possibly allocate from heap instead of stack.
2333 * stdio-common/bug-vfprintf-nargs.c: New file.
2334 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 2335
c6922934
AS
23362012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2337
2338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2339
bc957d53
MP
23402012-03-03 Marek Polacek <polacek@redhat.com>
2341
2342 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2343 * math/math_private.h: Likewise.
2344 * stdlib/tst-strtod.c: Likewise.
2345 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2346 * sysdeps/x86_64/bits/atomic.h: Likewise.
2347
6358490d
DM
23482012-03-02 David S. Miller <davem@davemloft.net>
2349
2350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2354 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2355 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2356 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2357 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2358
01ae168d
RM
23592012-03-02 Roland McGrath <roland@hack.frob.com>
2360
d9a17c07
RM
2361 [BZ #13792]
2362 * manual/examples/README: New file, says the example source files
2363 can be used under GPL>=2.
2364 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2365 line containing just "*/".
2366 * manual/examples/add.c: Add copyright header (GPL>=2).
2367 * manual/examples/argp-ex1.c: Likewise.
2368 * manual/examples/argp-ex2.c: Likewise.
2369 * manual/examples/argp-ex3.c: Likewise.
2370 * manual/examples/argp-ex4.c: Likewise.
2371 * manual/examples/atexit.c: Likewise.
2372 * manual/examples/db.c: Likewise.
2373 * manual/examples/dir.c: Likewise.
2374 * manual/examples/dir2.c: Likewise.
2375 * manual/examples/execinfo.c: Likewise.
2376 * manual/examples/filecli.c: Likewise.
2377 * manual/examples/filesrv.c: Likewise.
2378 * manual/examples/fmtmsgexpl.c: Likewise.
2379 * manual/examples/genpass.c: Likewise.
2380 * manual/examples/inetcli.c: Likewise.
2381 * manual/examples/inetsrv.c: Likewise.
2382 * manual/examples/isockad.c: Likewise.
2383 * manual/examples/longopt.c: Likewise.
2384 * manual/examples/memopen.c: Likewise.
2385 * manual/examples/memstrm.c: Likewise.
2386 * manual/examples/mkfsock.c: Likewise.
2387 * manual/examples/mkisock.c: Likewise.
2388 * manual/examples/mygetpass.c: Likewise.
2389 * manual/examples/pipe.c: Likewise.
2390 * manual/examples/popen.c: Likewise.
2391 * manual/examples/rprintf.c: Likewise.
2392 * manual/examples/search.c: Likewise.
2393 * manual/examples/select.c: Likewise.
2394 * manual/examples/setjmp.c: Likewise.
2395 * manual/examples/sigh1.c: Likewise.
2396 * manual/examples/sigusr.c: Likewise.
2397 * manual/examples/stpcpy.c: Likewise.
2398 * manual/examples/strdupa.c: Likewise.
2399 * manual/examples/strftim.c: Likewise.
2400 * manual/examples/strncat.c: Likewise.
2401 * manual/examples/subopt.c: Likewise.
2402 * manual/examples/swapcontext.c: Likewise.
2403 * manual/examples/termios.c: Likewise.
2404 * manual/examples/testopt.c: Likewise.
2405 * manual/examples/testpass.c: Likewise.
2406 * manual/examples/timeval_subtract.c: Likewise.
2407
01ae168d
RM
2408 [BZ #13792]
2409 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2410 function to ...
2411 * manual/timeval_subtract.c.texi: ... here, new file.
2412
49efa33d
DM
24132012-03-02 David S. Miller <davem@davemloft.net>
2414
2415 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2416
28afd92d
JM
24172012-03-02 Joseph Myers <joseph@codesourcery.com>
2418
804360ed
JM
2419 [BZ #3976]
2420 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2421 (__sin): Save and restore rounding mode and use round-to-nearest
2422 for all computations.
2423 (__cos): Save and restore rounding mode and use round-to-nearest
2424 for all computations.
2425 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2426 <fenv.h>.
2427 (tan): Save and restore rounding mode and use round-to-nearest for
2428 all computations.
2429 * math/libm-test.inc (cos_test_tonearest): New function.
2430 (cos_test_towardzero): Likewise.
2431 (cos_test_downward): Likewise.
2432 (cos_test_upward): Likewise.
2433 (sin_test_tonearest): Likewise.
2434 (sin_test_towardzero): Likewise.
2435 (sin_test_downward): Likewise.
2436 (sin_test_upward): Likewise.
2437 (tan_test_tonearest): Likewise.
2438 (tan_test_towardzero): Likewise.
2439 (tan_test_downward): Likewise.
2440 (tan_test_upward): Likewise.
2441 (main): Call the new functions.
2442 * sysdeps/i386/fpu/libm-test-ulps: Update.
2443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2444
a6d06d7b
JM
2445 [BZ #10135]
2446 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2447 small n, then large n, before computing and testing k+n.
2448 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2449 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2450 Likewise.
2451 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2452 Likewise.
2453 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2454 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2455 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2456 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2457 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2458 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2459 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2460 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2461 * math/libm-test.inc (scalbn_test): Add more tests.
2462 (scalbln_test): Likewise.
2463
07e12bb3
JM
2464 * manual/filesys.texi (mode_t): Describe constraints on size and
2465 signedness, not exact equivalence to a particular type.
2466 (ino_t): Likewise.
2467 (ino64_t): Likewise.
2468 (dev_t): Likewise.
2469 (nlink_t): Likewise.
2470 (blkcnt_t): Likewise.
2471 (blkcnt64_t): Likewise.
2472 * manual/llio.texi (off_t): Likewise.
2473
28afd92d
JM
2474 [BZ #3976]
2475 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2476 (__ieee754_exp): Save and restore rounding mode and use
2477 round-to-nearest for all computations.
2478 * math/libm-test.inc (exp_test_tonearest): New function.
2479 (exp_test_towardzero): Likewise.
2480 (exp_test_downward): Likewise.
2481 (exp_test_upward): Likewise.
2482 (main): Call the new functions.
2483 * sysdeps/i386/fpu/libm-test-ulps: Update.
2484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2485
b1eeb65d
CD
24862012-03-01 Chris Demetriou <cgd@google.com>
2487
2488 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2489 have predictable order.
2490
53362a4b
DM
24912012-03-01 David S. Miller <davem@davemloft.net>
2492
3c969083
DM
2493 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2494
759707de
DM
2495 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2496 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2497 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2498 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2499
dfdb8ff2
DM
2500 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2501 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2502 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2504 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2505 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2506 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2507 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2508 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2509
ead89f96
DM
2510 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2511
7f66bd07
DM
2512 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2513 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2514 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2515
53362a4b
DM
2516 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2517 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2518 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2519 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2520 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2521 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2522 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2523 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2524 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2525 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2526 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2527 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2528 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2529 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2530 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2531 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2532 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2533 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2534 * sysdeps/sparc/elf/configure: Regenerated.
2535
7b1902cb
JM
25362012-03-01 Joseph Myers <joseph@codesourcery.com>
2537
bec039bc
JM
2538 * configure.in (AS, LD): Require binutils 2.20 or later.
2539 * configure: Regenerated.
2540 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2541 as required minimum version.
2542 * INSTALL: Regenerated.
2543
7b1902cb
JM
2544 [BZ #2541]
2545 [BZ #4108]
2546 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2547 before squaring exponent.
2548 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2549 bottom long double and 27 bits of top long double before squaring
2550 exponent.
2551 * math/libm-test.inc (erfc_test): Add more tests.
2552 * sysdeps/i386/fpu/libm-test-ulps: Update.
2553 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2555
f775c276
KT
25562012-03-01 Kai Tietz <ktietz@redhat.com>
2557
2558 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2559 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2560 containing bit-fields.
2561 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2562 * soft-fp/single.h (_FP_UNION_S): Likewise.
2563 * soft-fp/double.h (_FP_UNION_D): Likewise.
2564
5b8a4d4a
JM
25652012-02-29 Joseph Myers <joseph@codesourcery.com>
2566
0bab47b6
JM
2567 [BZ #13786]
2568 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2569 not include ../strcmp.S.
2570 [USE_AS_STRNCASECMP_L]: Likewise.
2571 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2572 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2573 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2574 (__strncasecmp_l_ia32): Define as alias to
2575 __strncasecmp_l_nonascii.
2576
0fcad3e2
JM
2577 [BZ #5794]
2578 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2579 * sysdeps/i386/fpu/libm-test-ulps: Update.
2580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2581
5b8a4d4a
JM
2582 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2584
8fdceb2e
JL
25852012-02-29 Jeff Law <law@redhat.com>
2586
2587 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2588 out of bounds read.
2589
1f393a11
MP
25902012-02-29 Marek Polacek <polacek@redhat.com>
2591
2592 [BZ #13706]
2593 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2594 * elf/Makefile: Add rules to run tst-unused-dep.out.
2595
8847f037
DM
25962012-02-28 David S. Miller <davem@davemloft.net>
2597
2598 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2599 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2600 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2601 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2602 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2603 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2604
169d7f11
JM
26052012-02-29 Joseph Myers <joseph@codesourcery.com>
2606
2607 * math/libm-test.inc (llround_test): Move one test from
2608 lround_test. Use TEST_f_L in moved test.
2609 (lround_test): Move misplaced test to llround_test. Add testcase
2610 from bug 2561.
2611
39adf059
UD
26122012-02-28 Ulrich Drepper <drepper@gmail.com>
2613
2614 * sysdeps/x86_64/fpu/e_expf.S: New file.
2615 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2616
71b5d1c5
SB
26172012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2618
2619 [BZ #13637]
2620 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2621 of remain_len that may cause incomplete multi-byte character and
2622 false match.
2623 * posix/bug-regex33.c: New file.
2624 * posix/Makefile (tests): Add bug-regex33.
2625
1f77f049
JM
26262012-02-28 Joseph Myers <joseph@codesourcery.com>
2627
2628 * manual/macros.texi: New file.
2629 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2630 * manual/libc.texinfo: Include macros.texi.
2631 * manual/creatute.texi: Likewise.
2632 * manual/install.texi: Likewise.
2633 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2634 @glibcadj{} in references to the GNU C Library.
2635 * manual/charset.texi: Likewise.
2636 * manual/conf.texi: Likewise.
2637 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2638 when not using those macros.
2639 * manual/creature.texi: Likewise.
2640 * manual/crypt.texi: Likewise.
2641 * manual/errno.texi: Likewise.
2642 * manual/filesys.texi: Likewise.
2643 * manual/header.texi: Likewise.
2644 * manual/install.texi: Likewise.
2645 * manual/intro.texi: Likewise.
2646 * manual/io.texi: Likewise.
2647 * manual/job.texi: Likewise.
2648 * manual/lang.texi: Likewise.
2649 * manual/libc.texiinfo: Likewise.
2650 * manual/llio.texi: Likewise.
2651 * manual/locale.texi: Likewise.
2652 * manual/maint.texi: Likewise.
2653 * manual/math.texi: Likewise.
2654 * manual/memory.texi: Likewise.
2655 * manual/message.texi: Likewise.
2656 * manual/nss.texi: Likewise.
2657 * manual/pattern.texi: Likewise.
2658 * manual/process.texi: Likewise.
2659 * manual/resource.texi: Likewise.
2660 * manual/search.texi: Likewise.
2661 * manual/setjmp.texi: Likewise.
2662 * manual/signal.texi: Likewise.
2663 * manual/socket.texi: Likewise.
2664 * manual/startup.texi: Likewise.
2665 * manual/stdio.texi: Likewise.
2666 * manual/string.texi: Likewise.
2667 * manual/sysinfo.texi: Likewise.
2668 * manual/syslog.texi: Likewise.
2669 * manual/terminal.texi: Likewise.
2670 * manual/time.texi: Likewise.
2671 * manual/users.texi: Likewise.
2672 * INSTALL: Regenerated.
2673 * NOTES: Regenerated.
d40c5d54 2674 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 2675
450bf206
AS
26762012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2677
2678 * include/dirent.h: Include <dirstream.h> before
2679 <dirent/dirent.h>.
2680
741a235b
DM
26812012-02-28 David S. Miller <davem@davemloft.net>
2682
2683 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2684 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2685 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2686 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2687
d6b5aa58
DM
26882012-02-27 David S. Miller <davem@davemloft.net>
2689
1aff59a3
DM
2690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2691 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2692 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2693 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2694
d6b5aa58
DM
2695 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2696 frame pointer instead of stack pointer relative arg slot.
2697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2698 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2699 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2700
433f48bf
CD
27012012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2702
2703 [BZ #3992]
2704 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2705
d674b76d
DM
27062012-02-27 David S. Miller <davem@davemloft.net>
2707
2708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2712 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2713 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2714 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2715 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2716
0e7727f7
JM
27172012-02-27 Joseph Myers <joseph@codesourcery.com>
2718
2719 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2720 later. Allow versions 5-9.
43be4ca2 2721 * configure: Regenerated.
0e7727f7
JM
2722 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2723 required minimum version and 4.6 as recommended version. Do not
2724 mention bugs in GCC 2.7 and 2.8.
43be4ca2 2725 * INSTALL: Regenerated.
0e7727f7 2726
a78bc654
DM
27272012-02-27 David S. Miller <davem@davemloft.net>
2728
428d5830
DM
2729 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2733 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2734 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2735 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2736 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2737
a78bc654
DM
2738 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2739 manipulate bits before adding and subtracting TWO112[sx].
2740 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2741
4579f81c
RM
27422012-02-27 Roland McGrath <roland@hack.frob.com>
2743
36c8acb4
RM
2744 [BZ #13775]
2745 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2746 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2747 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2748 being in POSIX, because they are in 1003.1-2008.
2749
84ad622b
RM
2750 * rt/tst-aio.c: Include <fcntl.h>.
2751 * rt/tst-aio7.c: Likewise.
2752 * rt/tst-aio64.c: Likewise.
2753
4579f81c
RM
2754 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2755
abd923db
JM
27562012-02-27 Joseph Myers <joseph@codesourcery.com>
2757
2758 * manual/install.texi (--with-headers): Describe headers as
2759 interface headers, not private headers.
2760 (Specific advice for GNU/Linux systems): Describe use of headers
2761 from "make headers_install", not private headers from older
2762 kernels.
43be4ca2 2763 * INSTALL: Regenerated.
abd923db
JM
2764 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2765 Change to 2.6.19.
2766 * sysdeps/unix/sysv/linux/configure: Regenerated.
2767
6664049b
JM
2768 * manual/llio.texi (fclean): Remove documentation.
2769
bb8b6697
JM
2770 * manual/Makefile (libc-texi-generated): New variable. Include
2771 version.texi.
2772 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2773 $(libc-texi-generated), not duplicated list of files.
2774 (version.texi, stamp-version): New rules.
2775 (realclean): Remove $(libc-texi-generated), not individual files
2776 from that list. Do not remove dir-add.texinfo.
2777 * manual/libc.texinfo: Comment out uses of edition numbers and
2778 references to printed manual. Remove last-updated dates.
2779 (EDITION): Comment out.
2780 (ISBN): Likewise.
2781 (VERSION, UPDATED): Remove.
2782 (version.texi): Include.
2783
12e5c3b9
AS
27842012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2785
2786 * sysdeps/posix/spawni.c: Include <signal.h>.
2787 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2788 * sysdeps/pthread/aio_fsync.c: Likewise.
2789
4efeffc1 27902012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 2791
ba63ba08
UD
2792 * conform/Makefile (tests): Run only when not cross-compiling and
2793 when fast-check is not defined.
2794
d94a4670
UD
2795 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2796 * conform/data/limits.h-data: Fixes for POSIX2008.
2797 * conform/run-conformtest.sh: Run all tests.
2798 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2799 headers.
2800 * include/bits/dlfcn.h: Likewise.
2801 * include/langinfo.h: Likewise.
2802 * include/monetary.h: Likewise.
2803 * include/sys/poll.h: Likewise.
2804
2805 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2806 for __USE_GNU.
2807 * posix/spawn.h: Define __need_sigset_t.
2808 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2809 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2810 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2811 to get sigevent_t only.
2812 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2813 only for __USE_GNU.
2814 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2815 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2816 process_vm_writev only for __USE_GNU.
2817 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
2818
2819 * conform/Makefile: For now ignore errors from run-conformtest.
2820 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
2821 POSIX to avoid namespace pollution. Don't prepend headers.
2822 * conform/data/aio.h-data: Fixes for POSIX testing.
2823 * conform/data/fcntl.h-data: Likewise.
2824 * conform/data/glob.h-data: Likewise.
2825 * conform/data/grp.h-data: Likewise.
2826 * conform/data/pthread.h-data: Likewise.
2827 * conform/data/pwd.h-data: Likewise.
2828 * conform/data/signal.h-data: Likewise.
2829 * conform/data/spawn.h-data: Likewise.
2830 * conform/data/stdio.h-data: Likewise.
2831 * conform/data/stdlib.h-data: Likewise.
2832 * conform/data/stropts.h-data: Likewise.
2833 * conform/data/sys/mman.h-data: Likewise.
2834 * conform/data/sys/stat.h-data: Likewise.
2835 * conform/data/sys/types.h-data: Likewise.
2836 * conform/data/sys/wait.h-data: Likewise.
2837 * conform/data/time.h-data: Likewise.
2838 * conform/data/unistd.h-data: Likewise.
2839 * conform/data/utime.h-data: Likewise.
2840
2841 * io/sys/stat.h: fchmod was always in POSIX.
2842 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
2843 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
2844 * rt/aio.h: Define __need_timespec before including <time.h>.
2845 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
2846 struct. Add forward declaration of pthread_attr_t and use it in
2847 sigevent.
2848 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2849 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2850 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
2851 always remove CLK_TCK definition.
2852
c20105c3
AS
28532012-02-26 Andreas Schwab <schwab@linux-m68k.org>
2854
2855 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
2856
7a270350
UD
28572012-02-25 Ulrich Drepper <drepper@gmail.com>
2858
31341567
UD
2859 * conform/run-conformtest.sh: New file.
2860 * conform/Makefile: Run run-conformtest for tests.
2861 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
2862 support.
2863
2864 * conform/data/uchar.h-data: New file.
2865 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
2866 * conform/data/arpa/inet.h-data: Likewise.
2867 * conform/data/assert.h-data: Likewise.
2868 * conform/data/complex.h-data: Likewise.
2869 * conform/data/cpio.h-data: Likewise.
2870 * conform/data/ctype.h-data: Likewise.
2871 * conform/data/dirent.h-data: Likewise.
2872 * conform/data/dlfcn.h-data: Likewise.
2873 * conform/data/errno.h-data: Likewise.
2874 * conform/data/fcntl.h-data: Likewise.
2875 * conform/data/float.h-data: Likewise.
2876 * conform/data/fmtmsg.h-data: Likewise.
2877 * conform/data/fnmatch.h-data: Likewise.
2878 * conform/data/ftw.h-data: Likewise.
2879 * conform/data/glob.h-data: Likewise.
2880 * conform/data/grp.h-data: Likewise.
2881 * conform/data/iconv.h-data: Likewise.
2882 * conform/data/inttypes.h-data: Likewise.
2883 * conform/data/langinfo.h-data: Likewise.
2884 * conform/data/libgen.h-data: Likewise.
2885 * conform/data/limits.h-data: Likewise.
2886 * conform/data/locale.h-data: Likewise.
2887 * conform/data/math.h-data: Likewise.
2888 * conform/data/monetary.h-data: Likewise.
2889 * conform/data/mqueue.h-data: Likewise.
2890 * conform/data/ndbm.h-data: Likewise.
2891 * conform/data/net/if.h-data: Likewise.
2892 * conform/data/netdb.h-data: Likewise.
2893 * conform/data/netinet/in.h-data: Likewise.
2894 * conform/data/nl_types.h-data: Likewise.
2895 * conform/data/poll.h-data: Likewise.
2896 * conform/data/pthread.h-data: Likewise.
2897 * conform/data/pwd.h-data: Likewise.
2898 * conform/data/regex.h-data: Likewise.
2899 * conform/data/sched.h-data: Likewise.
2900 * conform/data/search.h-data: Likewise.
2901 * conform/data/semaphore.h-data: Likewise.
2902 * conform/data/setjmp.h-data: Likewise.
2903 * conform/data/signal.h-data: Likewise.
2904 * conform/data/spawn.h-data: Likewise.
2905 * conform/data/stdarg.h-data: Likewise.
2906 * conform/data/stdio.h-data: Likewise.
2907 * conform/data/stdlib.h-data: Likewise.
2908 * conform/data/string.h-data: Likewise.
2909 * conform/data/strings.h-data: Likewise.
2910 * conform/data/stropts.h-data: Likewise.
2911 * conform/data/sys/ipc.h-data: Likewise.
2912 * conform/data/sys/mman.h-data: Likewise.
2913 * conform/data/sys/msg.h-data: Likewise.
2914 * conform/data/sys/resource.h-data: Likewise.
2915 * conform/data/sys/select.h-data: Likewise.
2916 * conform/data/sys/sem.h-data: Likewise.
2917 * conform/data/sys/shm.h-data: Likewise.
2918 * conform/data/sys/socket.h-data: Likewise.
2919 * conform/data/sys/stat.h-data: Likewise.
2920 * conform/data/sys/statvfs.h-data: Likewise.
2921 * conform/data/sys/time.h-data: Likewise.
2922 * conform/data/sys/timeb.h-data: Likewise.
2923 * conform/data/sys/times.h-data: Likewise.
2924 * conform/data/sys/types.h-data: Likewise.
2925 * conform/data/sys/uio.h-data: Likewise.
2926 * conform/data/sys/un.h-data: Likewise.
2927 * conform/data/sys/utsname.h-data: Likewise.
2928 * conform/data/sys/wait.h-data: Likewise.
2929 * conform/data/syslog.h-data: Likewise.
2930 * conform/data/tar.h-data: Likewise.
2931 * conform/data/termios.h-data: Likewise.
2932 * conform/data/utime.h-data: Likewise.
2933 * conform/data/utmpx.h-data: Likewise.
2934 * conform/data/varargs.h-data: Likewise.
2935 * conform/data/wchar.h-data: Likewise.
2936 * conform/data/wctype.h-data: Likewise.
2937 * conform/data/wordexp.h-data: Likewise.
2938
2939 * include/stropts.h: New file.
2940 * include/uchar.h: New file.
2941 * include/aio.h: Changes to allow conformtest.pl to use the headers.
2942 * include/assert.h: Likewise.
2943 * include/ctype.h: Likewise.
2944 * include/dirent.h: Likewise.
2945 * include/dlfcn.h: Likewise.
2946 * include/fcntl.h: Likewise.
2947 * include/fnmatch.h: Likewise.
2948 * include/glob.h: Likewise.
2949 * include/grp.h: Likewise.
2950 * include/libio.h: Likewise.
2951 * include/locale.h: Likewise.
2952 * include/math.h: Likewise.
2953 * include/net/if.h: Likewise.
2954 * include/netdb.h: Likewise.
2955 * include/netinet/in.h: Likewise.
2956 * include/pthread.h: Likewise.
2957 * include/pwd.h: Likewise.
2958 * include/regex.h: Likewise.
2959 * include/sched.h: Likewise.
2960 * include/search.h: Likewise.
2961 * include/setjmp.h: Likewise.
2962 * include/signal.h: Likewise.
2963 * include/stdio.h: Likewise.
2964 * include/stdlib.h: Likewise.
2965 * include/string.h: Likewise.
2966 * include/sys/cdefs.h: Likewise.
2967 * include/sys/mman.h: Likewise.
2968 * include/sys/msg.h: Likewise.
2969 * include/sys/resource.h: Likewise.
2970 * include/sys/select.h: Likewise.
2971 * include/sys/socket.h: Likewise.
2972 * include/sys/stat.h: Likewise.
2973 * include/sys/statvfs.h: Likewise.
2974 * include/sys/time.h: Likewise.
2975 * include/sys/times.h: Likewise.
2976 * include/sys/uio.h: Likewise.
2977 * include/sys/utsname.h: Likewise.
2978 * include/sys/wait.h: Likewise.
2979 * include/termios.h: Likewise.
2980 * include/time.h: Likewise.
2981 * include/ulimit.h: Likewise.
2982 * include/unistd.h: Likewise.
2983 * include/utime.h: Likewise.
2984 * include/wchar.h: Likewise.
2985 * include/wctype.h: Likewise.
2986 * include/wordexp.h: Likewise.
2987
2988 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
2989
7a270350
UD
2990 * time/time.h: TIME_UTC must be a macro.
2991 Make timespec_get available for ISO C11 only as well.
2992
7724defc
UD
29932012-02-24 Ulrich Drepper <drepper@gmail.com>
2994
2995 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
2996 Reported by Peng Haitao <penght@cn.fujitsu.com>.
2997
6b1d1d46
JM
29982012-02-24 Joseph Myers <joseph@codesourcery.com>
2999
3000 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 3001
0f8bbd69
JM
30022012-02-24 Joseph Myers <joseph@codesourcery.com>
3003
3004 * manual/texinfo.tex: Update to version 2012-01-19.16.
3005
66ab80bc
JM
30062012-02-24 Joseph Myers <joseph@codesourcery.com>
3007
3008 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3009
74981cc5
RM
30102012-02-24 Roland McGrath <roland@hack.frob.com>
3011
ee968201
RM
3012 [BZ #13738]
3013 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3014 * manual/fdl-1.3.texi: New file.
3015 * manual/fdl-1.1.texi: File removed.
3016
74981cc5
RM
3017 [BZ #13738]
3018 * manual/libc.texinfo (FDL_VERSION): New @set.
3019 Use it for mention of FDL in cover text.
3020 (Documentation License): Use it in @include file name.
3021
7bb764bc
JM
30222012-02-22 Joseph Myers <joseph@codesourcery.com>
3023 Roland McGrath <roland@hack.frob.com>
3024
3025 [BZ #5461]
3026 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3027 not LONG_LONG_MAX and LONG_LONG_MIN.
3028 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3029 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
3030 name.
3031 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3032
6cbeae47
JM
30332012-02-22 Joseph Myers <joseph@codesourcery.com>
3034
3035 [BZ #2547]
3036 [BZ #11365]
3037 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3038 manipulate bits before adding and subtracting TWO23[sx].
3039 * math/libm-test.inc (nearbyint_test): Add more tests.
3040
fe45ce09
JM
30412012-02-22 Joseph Myers <joseph@codesourcery.com>
3042
3043 [BZ #2548]
3044 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3045 bits before adding and subtracting TWO23[sx].
3046 * math/libm-test.inc (rint_test): Add more tests.
3047 (rint_test_tonearest): Likewise.
3048 (rint_test_towardzero): Likewise.
3049 (rint_test_downward): Likewise.
3050 (rint_test_upward: Likewise.
3051
ff3b3d82
JM
30522012-02-22 Joseph Myers <joseph@codesourcery.com>
3053
3054 [BZ #10110]
3055 * include/stdc-predef.h: New file. Extracted from features.h.
3056 * include/features.h: Include stdc-predef.h.
3057 * Makefile (headers): Add stdc-predef.h.
3058 * CONFORMANCE (Compiler limitations): Update.
3059
ef0aab35
JM
30602012-02-22 Joseph Myers <joseph@codesourcery.com>
3061
3062 * manual/libc.texinfo (VERSION, UPDATED): Revert.
3063
58639409
DM
30642012-02-21 David S. Miller <davem@davemloft.net>
3065
3066 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3067 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3068
c0e70b25
DM
30692012-02-20 David S. Miller <davem@davemloft.net>
3070
3071 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3072 using a normal save/restore sequence, rather than allocating a
3073 dummy stack frame just to store a frame pointer and restore.
3074 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3075
fb06851d
JM
30762012-02-21 Joseph Myers <joseph@codesourcery.com>
3077
3078 * manual/install.texi: Fix stray word in line-wrapped comment.
3079
7a8b71c3
DM
30802012-02-20 David S. Miller <davem@davemloft.net>
3081
d510c123
DM
3082 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3083 both binutils and gcc support GOTDATA.
3084
0722d7c2
DM
3085 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3086 "rd %pc" in the PIC register setup sequences.
3087
3d2b3019
DM
3088 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3089 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3090 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3091 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3092 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3093 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3094 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3095 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3096 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3097 (SYSCALL_ERROR_HANDLER): Likewise.
3098 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3099 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3100 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3101 (SYSCALL_ERROR_HANDLER): Likewise.
3102
c80098a9
DM
3103 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3104 (HAVE_GCC_GOTDATA): New.
3105 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3106 relocation support in both binutils and gcc.
3107 * sysdeps/sparc/elf/configure: Regenerate.
3108
3a2545a0
DM
3109 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3110 * sysdeps/sparc/sparc32/elf/configure: Delete.
3111 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3112 * sysdeps/sparc/sparc64/elf/configure: Delete.
3113 * sysdeps/sparc/elf/configure.in: New file.
3114 * sysdeps/sparc/elf/configure: Generate.
3115
7a8b71c3
DM
3116 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3117 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3118 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3119 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3120 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3121
f1e86fca
JM
31222012-02-21 Joseph Myers <joseph@codesourcery.com>
3123
3124 * manual/install.texi: Do not mention specific glibc version
3125 numbers.
3126 * manual/libc.texinfo (VERSION, UPDATED): Update.
3127 (@copying): Use @copyright{} and range of years.
3128
0e7dfaef
JM
31292012-02-21 Joseph Myers <joseph@codesourcery.com>
3130
3131 [BZ #13695]
3132 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3133 [crti.S not in sysdirs] (generated): Do not append.
3134 [crti.S not in sysdirs] (omit-deps): Likewise.
3135 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3136 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3137 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3138 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3139 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3140 Likewise.
3141 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3142 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3143 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3144 * csu/defs.awk: Remove file.
3145 * sysdeps/generic/initfini.c: Likewise.
3146 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3147 variable.
3148 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3149 Likewise.
3150
599af3ca
JM
31512012-02-20 Joseph Myers <joseph@codesourcery.com>
3152
3153 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3154 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3155 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3156 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3157 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3158 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3159 <bits/epoll.h>.
3160 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3161 (__EPOLL_PACKED): Define to empty if not defined by
3162 <bits/epoll.h>.
3163 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3164 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3165 bits/epoll.h.
3166
0e499750
JM
31672012-02-20 Joseph Myers <joseph@codesourcery.com>
3168
3169 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3170 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3171 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3172 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3173 <bits/timerfd.h>.
3174 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3175 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3176 bits/timerfd.h.
3177
5ad91f6e
JM
31782012-02-20 Joseph Myers <joseph@codesourcery.com>
3179
3180 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3181 in C locale.
3182 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3183 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3184 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3186
06b99b02
AJ
31872012-02-20 Aurelien Jarno <aurelien@aurel32.net>
3188
3189 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3190 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3191
7638c0fd
AS
31922012-02-19 Andreas Schwab <schwab@linux-m68k.org>
3193
3194 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3195 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3196 defined.
3197 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3198 Likewise.
3199 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3200 entry for 2.16.
3201
92221550
AJ
32022012-02-19 Aurelien Jarno <aurelien@aurel32.net>
3203
3204 * math/w_acos.c: Use non-signaling floating-point comparisons.
3205 * math/w_acosf.c: Likewise.
3206 * math/w_acosh.c: Likewise.
3207 * math/w_acoshf.c: Likewise.
3208 * math/w_acoshl.c: Likewise.
3209 * math/w_acosl.c: Likewise.
3210 * math/w_asin.c: Likewise.
3211 * math/w_asinf.c: Likewise.
3212 * math/w_asinl.c: Likewise.
3213 * math/w_atanh.c: Likewise.
3214 * math/w_atanhf.c: Likewise.
3215 * math/w_atanhl.c: Likewise.
3216 * math/w_exp2.c: Likewise.
3217 * math/w_exp2f.c: Likewise.
3218 * math/w_exp2l.c: Likewise.
3219 * math/w_j0.c: Likewise.
3220 * math/w_j0f.c: Likewise.
3221 * math/w_j0l.c: Likewise.
3222 * math/w_j1.c: Likewise.
3223 * math/w_j1f.c: Likewise.
3224 * math/w_j1l.c: Likewise.
3225 * math/w_jn.c: Likewise.
3226 * math/w_jnf.c: Likewise.
3227 * math/w_log.c: Likewise.
3228 * math/w_log10.c: Likewise.
3229 * math/w_log10f.c: Likewise.
3230 * math/w_log10l.c: Likewise.
3231 * math/w_log2.c: Likewise.
3232 * math/w_log2f.c: Likewise.
3233 * math/w_log2l.c: Likewise.
3234 * math/w_logf.c: Likewise.
3235 * math/w_logl.c: Likewise.
3236 * math/w_sqrt.c: Likewise.
3237 * math/w_sqrtf.c: Likewise.
3238 * math/w_sqrtl.c: Likewise.
3239 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3240 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3241 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3242 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3243 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3244
ebaf36eb
JM
32452012-02-19 Joseph Myers <joseph@codesourcery.com>
3246
3247 [BZ #9739]
3248 * manual/string.texi (strnlen): Use correct parameter name in
3249 equivalent expression.
3250
71c254a6
JM
32512012-02-19 Joseph Myers <joseph@codesourcery.com>
3252
3253 [BZ #11174]
3254 * manual/users.texi (seteuid): Consistently use neweuid for
3255 argument name.
3256
16d2c631
JM
32572012-02-19 Joseph Myers <joseph@codesourcery.com>
3258
3259 [BZ #13704]
3260 * manual/nss.texi (Services in the NSS configuration): Correct
3261 list of services in example configuration file.
3262
cd837b09
NB
32632012-02-19 Nick Bowler <nbowler@draconx.ca>
3264
3265 [BZ #11322]
3266 * manual/arith.texi: Remove statements about negative zero
3267 behaving identically to zero.
3268
02c4bbad
JM
32692012-02-18 Joseph Myers <joseph@codesourcery.com>
3270
3271 [BZ #5993]
3272 * manual/install.texi: Do not document upgrading from libc5.
3273
366842e7
JM
32742012-02-18 Joseph Myers <joseph@codesourcery.com>
3275
3276 [BZ #4596]
3277 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3278
dd54084d
DM
32792012-02-18 David S. Miller <davem@davemloft.net>
3280
3281 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3282 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3283 %o7 across the call.
3284 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3285 instead.
3286 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3287 SETUP_PIC_REG_LEAF.
3288 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3289 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3290 * sysdeps/sparc/crtn.S: Likewise.
3291
2bcc53a3
UD
32922012-02-17 Ulrich Drepper <drepper@gmail.com>
3293
3294 * aout/Makefile: Remove.
3295
09c093b5
RK
32962012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3297
3298 [BZ #13058]
3299 * manual/examples/argp-ex1.c (main): Format definition in GNU
3300 style.
3301 * manual/examples/argp-ex2.c (main): Likewise.
3302 * manual/examples/argp-ex3.c (main): Likewise.
3303 * manual/examples/argp-ex4.c (main): Likewise.
3304 * manual/examples/longopt.c (main): Use new-style prototype
3305 definition.
3306 * manual/examples/strncat.c (main): Specify return type and use
3307 (void) for arguments.
3308 * manual/examples/subopt.c (main): Use char **argv argument.
3309
2ee633a2
JM
33102012-02-17 Joseph Myers <joseph@codesourcery.com>
3311
3312 [BZ #5077]
3313 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3314 rounding modes.
3315
0520adde
FB
33162012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3317
3318 [BZ #6907]
3319 * manual/string.texi (strchr): Change when strchrnul is
3320 recommended.
3321
3f4081cd
DGM
33222012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3323
3324 [BZ #174]
3325 * manual/locale.texi (setlocale): Document LOCPATH.
3326
d1b10e78
JM
33272012-02-17 Joseph Myers <joseph@codesourcery.com>
3328
3329 [BZ #10210]
3330 * manual/process.texi (execle): Move @dots{} before last argument.
3331
79c6869c
PB
33322012-02-17 Paul Bolle <pebolle@tiscali.nl>
3333
3334 [BZ #12047]
3335 * manual/charset.texi (Generic Charset Conversion): Fix typo
3336 (LC_TYPE -> LC_CTYPE).
3337
cc6e48bc
NB
33382012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3339
3340 [BZ #5805]
3341 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3342 (scalbnf): Likewise.
3343 (scalbnl): Likewise.
3344 (scalbln): Likewise.
3345 (scalblnf): Likewise.
3346 (scalblnl): Likewise.
3347 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3348 (vwarnx): Likewise.
3349 (verr): Likewise.
3350 (verrx): Likewise.
3351 * manual/filesys.texi (telldir): Use braces around return type.
3352 * manual/llio.texi (mmap): Add space after comma.
3353 (mmap64): Likewise.
3354 * manual/math.texi (jn): Use @var{} on parameter names.
3355 (jnf): Likewise.
3356 (jnl): Likewise.
3357 (yn): Likewise.
3358 (ynf): Likewise.
3359 (ynl): Likewise.
3360 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3361 line.
3362 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3363 "...".
3364 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3365 (sched_get_priority_max): Likewise.
3366 * manual/signal.texi (sigvec): Add space after comma.
3367 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3368 names.
3369 (if_indextoname): Likewise.
3370 (if_freenameindex): Likewise.
3371 (sendto): Use ',' instead of '.' in prototype.
3372 * manual/startup.texi (syscall): Use @dots{} instead of literal
3373 "...".
3374 * manual/stdio.texi (__fpending): Separate initial words of
3375 paragraph from @deftypefun line.
3376 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3377 "...".
3378 (vsyslog): Use @var{} on parameter names.
3379 * manual/terminal.texi (stty): Use @var{} on parameter names.
3380 * manual/users.texi (getutmp): Use @var{} on parameter names.
3381 (getutmpx): Likewise.
3382
5b23062f
JM
33832012-02-17 Joseph Myers <joseph@codesourcery.com>
3384
3385 [BZ #6884]
3386 * manual/stdio.texi (fopen): Fix typos in description of
3387 ",ccs=STRING".
3388
8dee4833
AJ
33892012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3390
3391 [BZ #4026]
3392 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3393 get clock_id definition.
3394
9078ce93
TS
33952012-02-17 Thomas Schwinge <thomas@schwinge.name>
3396
3397 [BZ #4822]
3398 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3399 (madvise): Cast every argument to void on its own.
3400
3835c55f
JM
34012012-02-17 Joseph Myers <joseph@codesourcery.com>
3402
3403 [BZ #9902]
3404 * manual/startup.texi (Exit Status): Fix typo.
3405
35c47e37
JM
34062012-02-17 Joseph Myers <joseph@codesourcery.com>
3407
3408 [BZ #10140]
3409 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3410 * manual/examples/argp-ex2.c: Likewise.
3411 * manual/examples/argp-ex3.c: Likewise.
3412
e3b69ca7
RH
34132012-02-16 Richard Henderson <rth@redhat.com>
3414
3415 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3416 * sysdeps/s390/s390-32/initfini.c: Remove.
3417 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3418 * sysdeps/s390/s390-64/initfini.c: Remove.
3419
df83af67
KK
34202012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3421
3422 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3423 compiler output for sysdeps/generic/initfini.c.
3424 * sysdeps/sh/elf/initfini.c: Remove file.
3425
f63f3380
DM
34262012-02-16 David S. Miller <davem@davemloft.net>
3427
fb59b3a4
DM
3428 [BZ #11494]
3429 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3430
f63f3380
DM
3431 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3432 * sysdeps/sparc/crti.S: New file.
3433 * sysdeps/sparc/crtn.S: New file.
3434 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3435 * sysdeps/sparc/sparc64/Makefile: Likewise.
3436
df6a4a4a
MF
34372012-02-15 Mike Frysinger <vapier@gentoo.org>
3438
6dd8f3dc 3439 [BZ #3335]
df6a4a4a
MF
3440 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3441
1cac7236
RM
34422012-02-15 Roland McGrath <roland@hack.frob.com>
3443
d2c736f8
RM
3444 [BZ #4822]
3445 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3446
1cac7236
RM
3447 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3448 (write, read, close): Likewise.
3449 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3450
8e475601
JM
34512012-02-15 Joseph Myers <joseph@codesourcery.com>
3452
3453 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3454 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3455 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3456 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3457 <bits/signalfd.h>.
3458 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3459 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3460 bits/signalfd.h.
3461
ed656b40
MP
34622012-02-14 Marek Polacek <polacek@redhat.com>
3463
3464 * sysdeps/x86_64/crti.S: New file.
3465 * sysdeps/x86_64/crtn.S: New file.
3466 * sysdeps/x86_64/elf/initfini.c: Remove file.
3467
2a979d3a
JM
34682012-02-13 Joseph Myers <joseph@codesourcery.com>
3469
3470 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3471 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3472 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3473 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3474 <bits/inotify.h>.
3475 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3476 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3477 bits/inotify.h.
3478
2a418ac3
JM
34792012-02-13 Joseph Myers <joseph@codesourcery.com>
3480
3481 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3482 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3483 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3484 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3485 <bits/eventfd.h>.
3486 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3487 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3488 bits/eventfd.h.
3489
fb779be7
TS
34902012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3491
e19e83c5
RM
3492 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3493 __feraiseexcept instead of feraiseexcept.
7c35ffed 3494
fb779be7
TS
3495 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3496 nanosleep invocations.
3497 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3498 strings, and add error checking for a nanosleep invocations.
3499
59ba27a6
PE
35002012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3501
3502 Replace FSF snail mail address with URLs, as per GNU coding standards.
3503 Most of the snail mail addresses were wrong anyway, and omitting
3504 them makes the source code easier to maintain. Almost all of the
3505 changes are to license notices and to locale LC_IDENTIFICATION
3506 addresses, except for this one:
3507 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3508 not its snail mail address.
3509
57b957eb
RH
35102012-02-09 Richard Henderson <rth@twiddle.net>
3511
af850b1c
RH
3512 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3513 of kernel-features.h.
3514
57b957eb
RH
3515 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3516
6b73181a
MP
35172012-02-08 Marek Polacek <polacek@redhat.com>
3518
3519 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3520 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3521 * sysdeps/gnu/_G_config.h: Likewise.
3522 * sysdeps/generic/_G_config.h: Likewise.
3523
26ecc33a
AS
35242012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3525
6c6dbc63
AS
3526 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3527 tests.
3528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3529
e216c012
AS
3530 * sysdeps/powerpc/powerpc32/crti.S: New file.
3531 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3532 * sysdeps/powerpc/powerpc64/crti.S: New file.
3533 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3534
26ecc33a
AS
3535 * Makeconfig (have-initfini): Don't set.
3536 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3537 * configure.in (nopic_initfini): Don't substitute.
3538 * config.h.in (HAVE_INITFINI): Don't #undef.
3539 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3540 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3541
3add8e13
JM
35422012-02-08 Joseph Myers <joseph@codesourcery.com>
3543
3544 Support crti.S and crtn.S provided directly by architectures.
3545 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3546 [crti.S in sysdirs] (omit-deps): Likewise.
3547 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3548 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3549 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3550 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3551 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3552 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3553 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3554 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3555 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3556 compiler output for sysdeps/generic/initfini.c.
3557 * sysdeps/i386/elf/Makefile: Remove file.
3558 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3559
a22f12b4
MP
35602012-02-07 Marek Polacek <polacek@redhat.com>
3561
3562 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3563 * sysdeps/gnu/_G_config.h: Likewise.
3564 * sysdeps/mach/hurd/_G_config.h: Likewise.
3565
148cf100
MP
35662012-02-07 Marek Polacek <polacek@redhat.com>
3567
3568 * math/Makefile (tests): Add tst-CMPLX2.
3569 * math/tst-CMPLX2.c: New file.
3570
cfdc0dd7
AS
35712012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3572
84ba42c4
AS
3573 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3574
cfdc0dd7
AS
3575 * math/libm-test.inc (jn_test): Add missing L suffix.
3576
622c86f4
MP
35772012-02-06 Marek Polacek <polacek@redhat.com>
3578
3579 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3580 * sysdeps/i386/fpu/e_powf.S: Likewise.
3581 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3582 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3583 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3584 * sysdeps/i386/fpu/e_pow.S: Likewise.
3585 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3586 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3587 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3588 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3589 * sysdeps/i386/fpu/e_log2.S: Likewise.
3590 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3591 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3592 * sysdeps/i386/fpu/e_powl.S: Likewise.
3593 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3594 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3595 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3596 * sysdeps/i386/fpu/e_logl.S: Likewise.
3597 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3598 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3599 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3600 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3601 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3602 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3603 * sysdeps/i386/fpu/e_log.S: Likewise.
3604 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3605 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3606 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3607 * sysdeps/i386/fpu/e_logf.S: Likewise.
3608 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3609 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3610 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3611 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3612 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3613 * sysdeps/i386/fpu/e_log10.S: Likewise.
3614 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3615 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3616 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3617 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3618 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3619 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3620 * sysdeps/i386/asm-syntax.h: Likewise.
3621 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3622 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3623 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3624 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3625 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3626 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3627 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3628 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3629 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3630 * sysdeps/powerpc/sysdep.h: Likewise.
3631 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3632 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3633
d4a54ac6
JM
36342012-02-06 Joseph Myers <joseph@codesourcery.com>
3635
3636 [BZ #411]
3637 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3638
314054ea
JM
36392012-02-06 Joseph Myers <joseph@codesourcery.com>
3640
3641 * sysdeps/i386/sysdep.h: Include <features.h>.
3642 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3643 version.
3644
d8e0ca50
JM
36452012-02-05 Joseph Myers <joseph@codesourcery.com>
3646
3647 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3648 Define.
3649 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3650 LOAD_PIC_REG_STR.
3651
b1da7dd9
JM
36522012-02-03 Joseph Myers <joseph@codesourcery.com>
3653
3654 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3655 (SETUP_PIC_REG): Use GET_PC_THUNK.
3656 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3657 macro.
3658
9a1d9254
JM
36592012-02-03 Joseph Myers <joseph@codesourcery.com>
3660
3661 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3662 for non-PIC compilation.
3663 (SETUP_PIC_REG): Add .p2align directive.
3664 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3665 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3666 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3667 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3668 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3669 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3670 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3671 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3672 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3673 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3674 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3675 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3676 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3677 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3678 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3679 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3680 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3681 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3682 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3683 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3684 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3685 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3686 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3687 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3688 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3689 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3690 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3691 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3692 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3693 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3694 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3695 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3696 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3697 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3698 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3699 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3700 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3701 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3702 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3703 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3704 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3705
65dc3b75
JM
37062012-02-03 Joseph Myers <joseph@codesourcery.com>
3707
3708 * math/tst-CMPLX.c: Include <stdio.h>.
3709
d55bf177
JM
37102012-01-31 Joseph Myers <joseph@codesourcery.com>
3711
3712 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3713 float.
3714 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3715 * sysdeps/sparc/bits/mathdef.h: Likewise.
3716
69db4f8f
MP
37172012-01-31 Marek Polacek <polacek@redhat.com>
3718
3719 * libio/libio.h: Don't define _PARAMS.
3720 * locale/programs/config.h: Don't define PARAMS.
3721 * stdlib/strtol_l.c: Likewise.
3722 (__strtol_l): Remove PARAMS from the prototype.
3723
41b81892
UD
37242012-01-31 Ulrich Drepper <drepper@gmail.com>
3725
3b49edc0
UD
3726 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3727 names. Just use the correct names. Remove unnecessary wrapper
3728 functions.
3729 * malloc/arena.c: Likewise.
3730 * malloc/hooks.c: Likewise.
3731
41b81892
UD
3732 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3733 ARENA_TEST says not to. Simplify test for creation of a new arena.
3734 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3735
27a25b6e
UD
37362012-01-30 Ulrich Drepper <drepper@gmail.com>
3737
3738 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3739 into tail calls.
3740 (update_get_addr): New function.
3741 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3742 GET_ADDR_MODULE parameter.
3743
c8a89e7d
JM
37442012-01-30 Joseph Myers <joseph@codesourcery.com>
3745
3746 * crypt/cert.c: Remove __STDC__ conditionals.
3747 * crypt/crypt-entry.c: Likewise.
3748 * crypt/crypt_util.c: Likewise.
3749 * libio/filedoalloc.c: Likewise.
3750 * libio/fileops.c: Likewise.
3751 * libio/genops.c: Likewise.
3752 * libio/iofclose.c: Likewise.
3753 * libio/iofdopen.c: Likewise.
3754 * libio/iofopen.c: Likewise.
3755 * libio/iofopen64.c: Likewise.
3756 * libio/iogetdelim.c: Likewise.
3757 * libio/iopopen.c: Likewise.
3758 * libio/obprintf.c: Likewise.
3759 * libio/oldfileops.c: Likewise.
3760 * libio/oldiofclose.c: Likewise.
3761 * libio/oldiofdopen.c: Likewise.
3762 * libio/oldiofopen.c: Likewise.
3763 * libio/oldiopopen.c: Likewise.
3764 * libio/wfiledoalloc.c: Likewise.
3765 * libio/wgenops.c: Likewise.
3766 * locale/programs/xmalloc.c: Likewise.
3767 * misc/syslog.c: Likewise.
3768 * stdio-common/xbug.c: Likewise.
3769 * string/memchr.c: Likewise.
3770 * string/memcmp.c: Likewise.
3771 * string/memrchr.c: Likewise.
3772 * string/rawmemchr.c: Likewise.
3773 * sysdeps/posix/getcwd.c: Likewise.
3774 * time/strftime_l.c: Likewise.
3775
3b100462
JM
37762012-01-30 Joseph Myers <joseph@codesourcery.com>
3777
3778 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
3779 * config.make.in (config-cflags-sse2avx): Define.
3780 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3781 Fix typo.
3782
607998af
CM
37832012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3784
3785 * scripts/config.guess: Update from upstream config git repository.
3786 * scripts/config.sub: Likewise.
3787
3601428f
CM
37882012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3789
3ac8b282
CM
3790 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3791 (EM_NUM): Update.
3792 (R_TILEPRO_*, R_TILEGX_*): New macros.
3793
e034841e
CM
3794 * scripts/firstversions.awk: Fix bug in version range handling.
3795
540d7568
CM
3796 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3797
3601428f
CM
3798 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3799
463de862
CM
3800 * include/sys/epoll.h: New file.
3801 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3802 libc_hidden_def.
3803
73139a76
UD
38042012-01-28 Ulrich Drepper <drepper@gmail.com>
3805
96bc5b45
UD
3806 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3807 Avoid unnecessary __WORDSIZE == 64 test.
3808 (fmaxf): Use VEX format if possible.
3809 (fmax): Likewise.
3810 (fminf): Likewise.
3811 (fmin): Likewise.
3812
56f6f6a2
UD
3813 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3814 * math/math_private.h: Remove libc_fegetround* and
3815 libc_fesetround*.
3816 * sysdeps/i386/configure.in: Check for -msse2avx.
3817 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
3818 also if SSE2AVX is defined.
3819 Remove libc_fegetround* and libc_fesetround*.
3820 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
3821 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
3822 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
3823 of HAS_YMM_USABLE.
3824 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3825 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3826 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3827 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3828 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3829
73139a76
UD
3830 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
3831
d73f93a4
AZ
38322012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3833
3834 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
3835 size is not set.
3836 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3837
6ee65ed6
UD
38382012-01-27 Ulrich Drepper <drepper@gmail.com>
3839
3840 [BZ #13618]
3841 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
3842 relocation.
3843 * Makeconfig (libm): Define.
3844 * elf/Makefile: Add rules to build and run tst-relsort1.
3845 * elf/tst-relsort1.c: New file.
3846 * elf/tst-relsort1mod1.c: New file.
3847 * elf/tst-relsort1mod2.c: New file.
3848
8db21882
JM
38492012-01-27 Joseph Myers <joseph@codesourcery.com>
3850
3851 * math/s_ldexp.c: Remove __STDC__ conditionals.
3852 * math/s_ldexpf.c: Likewise.
3853 * math/s_ldexpl.c: Likewise.
3854 * math/s_nextafter.c: Likewise.
3855 * math/s_nexttowardf.c: Likewise.
3856 * math/s_significand.c: Likewise.
3857 * math/s_significandf.c: Likewise.
3858 * math/s_significandl.c: Likewise.
3859 * math/w_jnl.c: Likewise.
3860 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3861 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3862 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3863 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3864 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3865 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3866 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
3867 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3868 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3869 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3870 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3871 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3872 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3873 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3874 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3875 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3876 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3877 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3878 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3879 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3880 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3881 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3882 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3883 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3884 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3885 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3886 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3887 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3888 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3889 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3890 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3891 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3892 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3893 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3894 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3895 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3896 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3897 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3898 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3899 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3900 * sysdeps/ieee754/k_standard.c: Likewise.
3901 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3902 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3903 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3904 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3905 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3906 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3907 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3908 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3909 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3910 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3911 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3912 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3913 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3914 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3915 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3916 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3917 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3918 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3919 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3920 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3921 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3922 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3923 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3924 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3925 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3926 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3927 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3928 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3929 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3930 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3931 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3932 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
3933 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3934 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3935 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3936 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3937 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
3938 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3939 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3940 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3941 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3942 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3943 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3944 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3945 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3946 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3947 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3948 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3949 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3950 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3951 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
3952 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3953 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3954 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3955 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3956 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3957 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
3958 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3959 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3960 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3961 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3962 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3963 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3964 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3965 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3966 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3967 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3968 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3969 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3970 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3971 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3972 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3973 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3974 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3975 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3976 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3977 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3978 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3979 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3980 * sysdeps/ieee754/s_matherr.c: Likewise.
3981 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3982 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3983 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3984 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3985
965a54a4
JM
39862012-01-26 Joseph Myers <joseph@codesourcery.com>
3987
3988 * crypt/md5.h: Remove __STDC__ conditionals.
3989 * libio/libioP.h: Likewise.
3990 * locale/programs/config.h: Likewise.
3991 * sysdeps/generic/sysdep.h: Likewise.
3992 * sysdeps/i386/asm-syntax.h: Likewise.
3993 * sysdeps/s390/asm-syntax.h: Likewise.
3994 * sysdeps/unix/sysdep.h: Likewise.
3995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3997
7071ad79
JM
39982012-01-26 Joseph Myers <joseph@codesourcery.com>
3999
4000 * libio/libio.h: Remove __STDC__ conditionals.
4001 * malloc/obstack.h: Likewise.
4002 * math/complex.h: Likewise.
4003 * math/math.h: Likewise.
4004 * sysdeps/generic/_G_config.h: Likewise.
4005 * sysdeps/gnu/_G_config.h: Likewise.
4006 * sysdeps/mach/hurd/_G_config.h: Likewise.
4007 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4008 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4009 * sysdeps/sparc/bits/mathdef.h: Likewise.
4010
afc5ed09
UD
40112012-01-26 Ulrich Drepper <drepper@gmail.com>
4012
4013 [BZ #13583]
4014 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 4015 Clean up HAS_* macros.
afc5ed09 4016 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
4017 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4018 possible.
4019 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4020 HAS_AVX.
4021 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4022 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4023 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4024 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4025 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 4026
bdb6de1d
JM
40272012-01-25 Joseph Myers <joseph@codesourcery.com>
4028
4029 * elf/tst-unique3.cc (gets): Remove declaration.
4030 * elf/tst-unique3lib.cc (gets): Likewise.
4031 * elf/tst-unique3lib2.cc (gets): Likewise.
4032 * elf/tst-unique4.cc (gets): Likewise.
4033
b15549e6
UD
40342012-01-24 Ulrich Drepper <drepper@gmail.com>
4035
4036 * include/stdio.h: Add C++ protection. Add gets declarations and
4037 definitions.
4038 * debug/tst-chk1.c: Don't declare gets here.
4039 * stdio-common/tst-gets.c: Likewise.
4040
a037381f
JM
40412012-01-24 Joseph Myers <joseph@codesourcery.com>
4042
4043 * posix/glob: Remove directory.
4044
f1d4aa75
JM
40452012-01-24 Joseph Myers <joseph@codesourcery.com>
4046
4047 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4048
81c0c964
PT
40492012-01-22 Pino Toscano <toscano.pino@tiscali.it>
4050
4051 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4052 of the non-standard EPFNOSUPPORT.
4053
0ea698ae
ST
40542011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
4055
4056 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4057 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4058 ANYWHERE set to 1 only on KERN_NO_SPACE error.
4059
d220b117
UD
40602012-01-21 Ulrich Drepper <drepper@gmail.com>
4061
4062 * wcsmbs/uchar.h: Test __STDC_VERSION__.
4063
3e1aa84e
UD
40642012-01-20 Ulrich Drepper <drepper@gmail.com>
4065
4066 * nscd/aicache.c (addhstaiX): Do not cache negative results of
4067 transient errors.
4068 * nscd/grpcache.c (cache_addgr): Likewise.
4069 * nscd/hstcache.c (cache_addhst): Likewise.
4070 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4071 * nscd/pwdcache.c (cache_addpw): Likewise.
4072 * nscd/servicescache.c (cache_addserv): Likewise.
4073
400aa020
UD
40742012-01-16 Ulrich Drepper <drepper@gmail.com>
4075
d77e7869
UD
4076 * malloc/malloc.c: Various cleanups.
4077 * malloc/hooks.c: Likewise.
4078
400aa020
UD
4079 * stdlib/Makefile (tests): Add bug-fmtmsg1.
4080 * stdlib/bug-fmtmsg1.c: New file.
4081
4082 * stdlib/fmtmsg.c (init): Add missing unlock.
4083 Patch by Peng Haitao <penght@cn.fujitsu.com>.
4084
e0a309cf
MP
40852012-01-12 Marek Polacek <polacek@redhat.com>
4086
4087 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4088 and _GNU_SOURCE.
4089
929d11c7
WS
40902012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4091
4092 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4093 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4094 macro to ensure uniqueness of label name.
4095 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4096 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4097
41d0e869
UD
40982012-01-11 Ulrich Drepper <drepper@gmail.com>
4099
0cc5ed3b
UD
4100 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4101
41d0e869
UD
4102 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4103 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4104 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4105 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4106
a47a831a
UD
41072012-01-10 Ulrich Drepper <drepper@gmail.com>
4108
daa891c0
UD
4109 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4110
4111 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4112 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4113 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4114
e58ef0f2
UD
4115 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4116
a47a831a 4117 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
4118 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4119 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 4120 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
4121
4122 * math/bits/math-finite.h: Add ldexp support.
4123
a0bfc9c7
MP
41242012-01-10 Marek Polacek <polacek@redhat.com>
4125
4126 * locale/programs/localedef.h (show_archive_content): Add noreturn
4127 attribute.
4128
d6e97a1d
UD
41292012-01-09 Ulrich Drepper <drepper@gmail.com>
4130
4131 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4132
d5835c26
UD
41332012-01-08 Ulrich Drepper <drepper@gmail.com>
4134
e5f484c6
UD
4135 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4136
d5835c26
UD
4137 * io/Makefile (headers): Add bits/poll2.h.
4138
d1f741e9
WS
41392011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
4140
4141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4142 typo #include statement.
4143
ec09c1c4
UD
41442012-01-08 Ulrich Drepper <drepper@gmail.com>
4145
4146 * include/sys/cdefs.h: Define __attribute_alloc_size.
4147 * catgets/gencat.c: Add alloc_size attribute and apply consistently
4148 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4149 * elf/pldd.c: Likewise.
4150 * iconv/iconv_charmap.c: Likewise.
4151 * iconv/iconvconfig.c: Likewise.
4152 * iconv/strtab.c: Likewise.
4153 * locale/programs/locale.c: Likewise.
4154 * locale/programs/localedef.h: Likewise.
4155 * locale/programs/simple-hash.c: Likewise.
4156 * nscd/nscd.h: Likewise.
4157 * nss/makedb.c: Likewise.
4158 * sysdeps/generic/ldconfig.h: Likewise.
4159 * locale/programs/localedef.c: Remove xmalloc prototype.
4160 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4161
20b38e03
PP
41622012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4163
4164 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4165 appropriate.
4166
a0da5fe1
UD
41672012-01-08 Ulrich Drepper <drepper@gmail.com>
4168
1d5a644a 4169 * math/Makefile (tests): Add tst-CMPLX.
669704fd 4170 * math/tst-CMPLX.c: New file.
1d5a644a 4171
8784a6db
UD
4172 * math/complex.h (CMPLXL): Fix typo.
4173
d9a216c0
UD
4174 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4175 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4176 GLIBC_2.16.
4177 * debug/tst-chk1.c: Add poll and ppoll tests.
4178 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4179 * include/sys/poll.h: Add hidden proto for ppoll.
4180 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4181 * sysdeps/mach/hurd/ppoll.c: Likewise.
4182 * io/ppoll.c: Likewise.
4183 * debug/poll_chk.c: New file.
4184 * debug/ppoll_chk.c: New file.
4185 * include/bits/poll2.h: New file.
4186 * io/bits/poll2.h: New file.
4187
ac097f5c
UD
4188 [BZ #1350]
4189 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4190
2119dcfa
UD
4191 * configure.in: static is always set to yes. Remove.
4192 * config.make.in: Don't set build-static.
4193 * Makeconfig: Remove use of build-static.
4194 * dlfcn/Makefile: Likewise.
4195 * elf/Makefile: Likewise.
4196 * math/Makefile: Likewise.
4197 * misc/Makefile: Likewise.
4198 * nptl/Makefile: Likewise.
4199 * sysdeps/mach/hurd/Makefile: Likewise.
4200
121766a9
UD
4201 * configure.in: PWD_P is not used anymore.
4202 * config.make.in: Remove PWD_P entry.
4203
51a1d39c 4204 * configure.in: Remove last remnants of RANLIB.
8720d066 4205 No need to check for signed size_t anymore.
215f4bdc
UD
4206 Don't set libc_commonpagesize and libc_relro_required here for Alpha
4207 and IA-64.
3857022a 4208 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
4209 * aclocal.m4: Likewise.
4210
d3ed7225
UD
4211 * wcsmbs/mbrtoc16.c: Implement using towc function.
4212 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4213 * wcsmbs/wcsmbsload.c: Likewise.
4214 * iconv/gconv_simple.c: Likewise.
4215 * iconv/gconv_int.h: Likewise.
4216 * iconv/gconv_builtin.h: Likewise.
4217 * iconv/iconv_prog.c: Remove CHAR16 handling.
4218
4219 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4220
4221 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4222
a0da5fe1
UD
4223 * configure.in: Remove --with-elf and --enable-bounded options.
4224 Dont set base_machine for ia64. More non-ELF conditions removed.
4225 Remove testing and setting of leading underscore information.
4226 * config.make.in (build-bounded): Set to no.
4227 * config.h.in: Remove NO_UNDERSCORES entry.
4228 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4229 them.
4230 * csu/start.c: Remove !NO_UNDERSCORE code.
4231 * locale/localeinfo.h: Likewise.
4232 * sysdeps/generic/machine-gmon.h: Likewise.
4233 * sysdeps/generic/sysdep.h: Likewise.
4234 * sysdeps/i386/sysdep.h: Likewise.
4235 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4236 * sysdeps/mach/sysdep.h: Likewise.
4237 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4238 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4239 * sysdeps/sh/sysdep.h: Likewise.
4240 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4241 * sysdeps/unix/i386/sysdep.S: Likewise.
4242 * sysdeps/unix/sparc/start.c: Likewise.
4243 * sysdeps/unix/sparc/sysdep.S: Likewise.
4244 * sysdeps/unix/sparc/sysdep.h: Likewise.
4245 * sysdeps/unix/start.c: Likewise.
4246 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4247 * sysdeps/x86_64/sysdep.h: Likewise.
4248
df78418a
UD
42492012-01-07 Ulrich Drepper <drepper@gmail.com>
4250
a784e502
UD
4251 [BZ #13553]
4252 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4253 for non-gcc.
4254 * argp/argp-fmtstream.h: Use const instead __const.
4255 * argp/argp.h: Likewise.
4256 * assert/assert.h: Likewise.
4257 * bits/fenv.h: Likewise.
4258 * bits/sched.h: Likewise.
4259 * bits/sigset.h: Likewise.
4260 * bits/sigthread.h: Likewise.
4261 * catgets/nl_types.h: Likewise.
4262 * conform/data/pthread.h-data: Likewise.
4263 * crypt/crypt-private.h: Likewise.
4264 * crypt/crypt.h: Likewise.
4265 * crypt/crypt_util.c: Likewise.
4266 * ctype/ctype.h: Likewise.
4267 * debug/execinfo.h: Likewise.
4268 * debug/mbsnrtowcs_chk.c: Likewise.
4269 * debug/mbsrtowcs_chk.c: Likewise.
4270 * debug/wcsnrtombs_chk.c: Likewise.
4271 * debug/wcsrtombs_chk.c: Likewise.
4272 * debug/wcstombs_chk.c: Likewise.
4273 * dirent/dirent.h: Likewise.
4274 * dlfcn/dlfcn.h: Likewise.
4275 * elf/neededtest4.c: Likewise.
4276 * grp/grp.h: Likewise.
4277 * gshadow/gshadow.h: Likewise.
4278 * iconv/gconv.h: Likewise.
4279 * iconv/gconv_int.h: Likewise.
4280 * iconv/gconv_simple.c: Likewise.
4281 * iconv/iconv.h: Likewise.
4282 * iconv/loop.c: Likewise.
4283 * iconv/skeleton.c: Likewise.
4284 * include/aio.h: Likewise.
4285 * include/aliases.h: Likewise.
4286 * include/argz.h: Likewise.
4287 * include/arpa/inet.h: Likewise.
4288 * include/assert.h: Likewise.
4289 * include/dirent.h: Likewise.
4290 * include/dlfcn.h: Likewise.
4291 * include/execinfo.h: Likewise.
4292 * include/fcntl.h: Likewise.
4293 * include/fenv.h: Likewise.
4294 * include/glob.h: Likewise.
4295 * include/grp.h: Likewise.
4296 * include/libintl.h: Likewise.
4297 * include/mntent.h: Likewise.
4298 * include/netdb.h: Likewise.
4299 * include/pwd.h: Likewise.
4300 * include/rpc/netdb.h: Likewise.
4301 * include/sched.h: Likewise.
4302 * include/search.h: Likewise.
4303 * include/shadow.h: Likewise.
4304 * include/signal.h: Likewise.
4305 * include/stdio.h: Likewise.
4306 * include/stdlib.h: Likewise.
4307 * include/string.h: Likewise.
4308 * include/sys/socket.h: Likewise.
4309 * include/sys/stat.h: Likewise.
4310 * include/sys/statfs.h: Likewise.
4311 * include/sys/statvfs.h: Likewise.
4312 * include/sys/syslog.h: Likewise.
4313 * include/sys/time.h: Likewise.
4314 * include/sys/uio.h: Likewise.
4315 * include/time.h: Likewise.
4316 * include/unistd.h: Likewise.
4317 * include/utmp.h: Likewise.
4318 * include/wchar.h: Likewise.
4319 * include/wctype.h: Likewise.
4320 * inet/aliases.h: Likewise.
4321 * inet/arpa/inet.h: Likewise.
4322 * inet/netinet/ether.h: Likewise.
4323 * inet/netinet/in.h: Likewise.
4324 * intl/libintl.h: Likewise.
4325 * io/bits/fcntl2.h: Likewise.
4326 * io/fcntl.h: Likewise.
4327 * io/ftw.h: Likewise.
4328 * io/sys/poll.h: Likewise.
4329 * io/sys/stat.h: Likewise.
4330 * io/sys/statfs.h: Likewise.
4331 * io/sys/statvfs.h: Likewise.
4332 * io/utime.h: Likewise.
4333 * libio/bits/stdio.h: Likewise.
4334 * libio/bits/stdio2.h: Likewise.
4335 * libio/libio.h: Likewise.
4336 * libio/libioP.h: Likewise.
4337 * libio/stdio.h: Likewise.
4338 * locale/lc-ctype.c: Likewise.
4339 * locale/locale.h: Likewise.
4340 * login/utmp.h: Likewise.
4341 * malloc/arena.c: Likewise.
4342 * malloc/malloc.c: Likewise.
4343 * malloc/malloc.h: Likewise.
4344 * malloc/mcheck.c: Likewise.
4345 * malloc/mtrace.c: Likewise.
4346 * math/bits/mathcalls.h: Likewise.
4347 * math/fenv.h: Likewise.
4348 * math/math_private.h: Likewise.
4349 * misc/bits/error.h: Likewise.
4350 * misc/bits/syslog.h: Likewise.
4351 * misc/err.h: Likewise.
4352 * misc/error.h: Likewise.
4353 * misc/fstab.h: Likewise.
4354 * misc/mntent.h: Likewise.
4355 * misc/regexp.h: Likewise.
4356 * misc/search.h: Likewise.
4357 * misc/sgtty.h: Likewise.
4358 * misc/sys/mman.h: Likewise.
4359 * misc/sys/syslog.h: Likewise.
4360 * misc/sys/uio.h: Likewise.
4361 * misc/sys/xattr.h: Likewise.
4362 * misc/ttyent.h: Likewise.
4363 * nis/rpcsvc/ypclnt.h: Likewise.
4364 * nss/nss.h: Likewise.
4365 * posix/bits/unistd.h: Likewise.
4366 * posix/fnmatch.h: Likewise.
4367 * posix/glob.h: Likewise.
4368 * posix/sched.h: Likewise.
4369 * posix/spawn.h: Likewise.
4370 * posix/sys/wait.h: Likewise.
4371 * posix/unistd.h: Likewise.
4372 * posix/wordexp.h: Likewise.
4373 * pwd/pwd.h: Likewise.
4374 * resolv/netdb.h: Likewise.
4375 * resource/sys/resource.h: Likewise.
4376 * rt/aio.h: Likewise.
4377 * rt/bits/mqueue2.h: Likewise.
4378 * rt/mqueue.h: Likewise.
4379 * shadow/shadow.h: Likewise.
4380 * signal/signal.h: Likewise.
4381 * socket/send.c: Likewise.
4382 * socket/sendto.c: Likewise.
4383 * socket/sys/socket.h: Likewise.
4384 * stdio-common/printf.h: Likewise.
4385 * stdlib/bits/stdlib.h: Likewise.
4386 * stdlib/fmtmsg.h: Likewise.
4387 * stdlib/monetary.h: Likewise.
4388 * stdlib/stdlib.h: Likewise.
4389 * stdlib/ucontext.h: Likewise.
4390 * streams/stropts.h: Likewise.
4391 * string/argz.h: Likewise.
4392 * string/bits/string2.h: Likewise.
4393 * string/string.h: Likewise.
4394 * string/strings.h: Likewise.
4395 * sunrpc/rpc/auth.h: Likewise.
4396 * sunrpc/rpc/auth_des.h: Likewise.
4397 * sunrpc/rpc/clnt.h: Likewise.
4398 * sunrpc/rpc/netdb.h: Likewise.
4399 * sunrpc/rpc/pmap_clnt.h: Likewise.
4400 * sunrpc/rpc/xdr.h: Likewise.
4401 * sysdeps/generic/inttypes.h: Likewise.
4402 * sysdeps/generic/net/if.h: Likewise.
4403 * sysdeps/generic/sys/swap.h: Likewise.
4404 * sysdeps/gnu/net/if.h: Likewise.
4405 * sysdeps/gnu/utmpx.h: Likewise.
4406 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4407 * sysdeps/i386/i486/bits/string.h: Likewise.
4408 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4409 * sysdeps/s390/bits/string.h: Likewise.
4410 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4411 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4412 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4413 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4414 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4415 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4416 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4417 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4418 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4419 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4420 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4421 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4422 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4423 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4424 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4425 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4426 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4427 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4428 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4429 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4430 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4431 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4432 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4433 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4434 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4435 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4436 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4437 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4438 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4439 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4440 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4441 * sysvipc/sys/ipc.h: Likewise.
4442 * sysvipc/sys/msg.h: Likewise.
4443 * sysvipc/sys/sem.h: Likewise.
4444 * sysvipc/sys/shm.h: Likewise.
4445 * termios/termios.h: Likewise.
4446 * time/sys/time.h: Likewise.
4447 * time/time.h: Likewise.
4448 * wcsmbs/bits/wchar2.h: Likewise.
4449 * wcsmbs/uchar.h: Likewise.
4450 * wcsmbs/wchar.h: Likewise.
4451 * wctype/wctype.h: Likewise.
4452
0269750c
UD
4453 [BZ #13551]
4454 * Makeconfig: Remove all but ELF support including AIX support.
4455 * Makerules: Likewise.
4456 * config.h.in: Likewise.
4457 * config.make.in: Likewise.
4458 * configure: Likewise.
4459 * configure.in: Likewise.
4460 * csu/Makefile: Likewise.
4461 * csu/version.c: Likewise.
4462 * debug/Makefile: Likewise.
4463 * dlfcn/Makefile: Likewise.
4464 * elf/Makefile: Likewise.
4465 * extra-lib.mk: Likewise.
4466 * iconv/Makefile: Likewise.
4467 * include/libc-symbols.h: Likewise.
4468 * include/shlib-compat.h: Likewise.
4469 * resolv/Makefile: Likewise.
4470 * resolv/res_libc.c: Likewise.
4471 * rt/Makefile: Likewise.
4472 * sysdeps/i386/asm-syntax.h: Likewise.
4473 * sysdeps/i386/sysdep.h: Likewise.
4474 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4475 * sysdeps/mach/sysdep.h: Likewise.
4476 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4477 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4478 * sysdeps/s390/asm-syntax.h: Likewise.
4479 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4480 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4481 * sysdeps/sh/sysdep.h: Likewise.
4482 * sysdeps/unix/sparc/sysdep.h: Likewise.
4483 * sysdeps/wordsize-32/divdi3.c: Likewise.
4484 * sysdeps/x86_64/sysdep.h: Likewise.
4485
00bbd29b
UD
4486 * argp/Versions: Remove _argp_unlock_xxx.
4487
4488 [BZ #13559]
4489 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4490 * abilist/libBrokenLocale.abilist: Likewise.
4491 * abilist/libanl.abilist: Likewise.
4492 * abilist/libc.abilist: Likewise.
4493 * abilist/libcrypt.abilist: Likewise.
4494 * abilist/libdl.abilist: Likewise.
4495 * abilist/libm.abilist: Likewise.
4496 * abilist/libnsl.abilist: Likewise.
4497 * abilist/libpthread.abilist: Likewise.
4498 * abilist/libresolv.abilist: Likewise.
4499 * abilist/librt.abilist: Likewise.
4500 * abilist/libthread_db.abilist: Likewise.
4501 * abilist/libutil.abilist: Likewise.
4502 * abilist/libnss_db.abilist: New file.
4503
4504 * scripts/abilist.awk: Add support for indirect functions.
4505
a2693a0e
UD
4506 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4507
3f05895f
UD
4508 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4509
ecb6fb48
UD
4510 * shlib-versions: Remove entries for ports architectures.
4511
664f8cb9
UD
4512 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4513 files in ports.
4514 * elf/stackguard-macros.h: Remove support for IA-64.
4515 * elf/tst-auditmod1.c: Likewise.
4516 * sysdeps/generic/ldsodefs.h: Likewise.
4517
7ae81d88
UD
4518 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4519 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4520 configure files.
4521
bdeba135
UD
4522 [BZ #13552]
4523 * configure.in: Remove --enable-omitfp support.
4524 * FAQ.in: Adjust.
4525 * config.make.in: Likewise.
4526 * Makeconfig: Likewise.
4527 * manual/install.texi: Likewise.
4528
d75a0a62
UD
4529 In case anyone cares, the IA-64 architecture could move to ports.
4530 * sysdeps/ia64/*: Removed.
4531 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 4532 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 4533
dcc9756b
UD
4534 [BZ #13555]
4535 * configure.in: Remove entries for unsupported architectures.
4536
d3761ebc 4537 [BZ #13533]
9954432e
UD
4538 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4539 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4540 routines.
4541 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4542 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4543 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4544 fall back to using wcrtomb.
4545 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4546 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4547 renaming.
4548 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4549 * wcsmbs/tst-c16c32-1.c: New file.
4550
4551 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4552 local variable.
4553
c3a87236
UD
4554 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4555
28926a1b
UD
4556 * elf/tst-unique3.cc: Add explicit declaration of gets.
4557 * elf/tst-unique3lib.cc: Likewise.
4558 * elf/tst-unique3lib2.cc: Likewise.
4559 * elf/tst-unique4.cc: Likewise.
4560
df78418a
UD
4561 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4562
8ecd6b2a
JM
45632012-01-06 Joseph Myers <joseph@codesourcery.com>
4564
4565 [BZ #13566]
4566 * assert/assert.h (static_assert): Don't define for C++.
4567 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4568 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4569
9f115170
UD
45702012-01-03 Ulrich Drepper <drepper@gmail.com>
4571
5e0d0300
UD
4572 * iconv/loop.c (single loop): Fix assertion in storing of
4573 remaining bytes.
4574
9f115170
UD
4575 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4576
81fb02b0
UD
45772012-01-01 Ulrich Drepper <drepper@gmail.com>
4578
4579 * posix/getconf.c: Update copyright year.
4580 * nss/getent.c: Likewise.
a316c1f6 4581 * nss/makedb.c: Likewise.
81fb02b0
UD
4582 * iconv/iconvconfig.c: Likewise.
4583 * iconv/iconv_prog.c: Likewise.
4584 * elf/ldconfig.c: Likewise.
a316c1f6
UD
4585 * elf/pldd.c: Likewise.
4586 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
4587 * catgets/gencat.c: Likewise.
4588 * csu/version.c: Likewise.
4589 * elf/ldd.bash.in: Likewise.
4590 * elf/sprof.c (print_version): Likewise.
4591 * locale/programs/locale.c: Likewise.
4592 * locale/programs/localedef.c: Likewise.
a316c1f6 4593 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
4594 * nscd/nscd.c (print_version): Likewise.
4595 * debug/xtrace.sh: Likewise.
4596 * malloc/memusage.sh: Likewise.
4597 * malloc/mtrace.pl: Likewise.
4598 * debug/catchsegv.sh: Likewise.
4599
2ba92745
JJ
46002011-12-30 Jakub Jelinek <jakub@redhat.com>
4601
4602 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4603 pure attribute.
4604
dadebdae
UD
46052011-12-24 Ulrich Drepper <drepper@gmail.com>
4606
d3761ebc 4607 [BZ #13533]
db6af3eb
UD
4608 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4609 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4610 transformations.
4611 * iconv/gconv_int.h: Likewise.
4612 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4613 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4614 from libc for GLIBC_2.16.
4615 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4616 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4617 * wcsmbs/uchar.h: Really define mbstate_t.
4618 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4619 * wcsmbs/c16rtomb.c: New file.
4620 * wcsmbs/mbrtoc16.c: New file.
4621 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4622 for C/POSIX locale.
4623 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4624 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4625
dadebdae
UD
4626 * wcsmbs/wchar.h: Add missing __restrict.
4627
67371b56
UD
46282011-12-23 Ulrich Drepper <drepper@gmail.com>
4629
74033a25
UD
4630 [BZ #13532]
4631 * time/Makefile (routines): Add timespec_get.
4632 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4633 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4634 timespec for ISO C11.
4635 * time/timespec_get.c: New file.
4636 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4637 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4638
380d7e87
UD
4639 [BZ #13531]
4640 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4641 * stdlib/stdlib.h: Declare aligned_alloc.
4642 * Versions.def: Add GLIBC_2.16 for libc.
4643 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4644
4e9e7a35
UD
4645 [BZ 13527]
4646 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4647 ISO C11.
4648
380d7e87 4649 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
4650 code.
4651
03a71829
UD
4652 [BZ #13528]
4653 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4654
839e283e
UD
4655 [BZ #13529]
4656 * assert/assert.h (static_assert): Define.
4657
ce5294e2 4658 * version.h: Update for 2.16 development version.
90fa7312 4659
8d44e150 4660 [BZ #13526]
d7809905
UD
4661 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4662 _ISOC11_SOURCE.
4663
c0da14cd
UD
4664 * version.h (RELEASE): Bump for 2.15 release.
4665 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4666
530a3249
MP
4667 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4668 Patch by Marek Polacek <mpolacek@redhat.com>.
4669
67371b56
UD
4670 * bits/byteswap.h: Protect long long constants with __extension__.
4671 * sysdeps/i386/bits/byteswap.h: Likewise.
4672 * sysdeps/ia64/bits/byteswap.h: Likewise.
4673 * sysdeps/s390/bits/byteswap.h: Likewise.
4674 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4675
15db4de1
LD
46762011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4677
4678 [BZ #13540]
bbe315ea
LD
4679 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4680 destination buffer.
15db4de1
LD
4681 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4682
2b2596b1
MP
46832011-12-23 Marek Polacek <polacek@redhat.com>
4684
4685 * elf/dl-addr.c (determine_info): Add inline keyword.
4686 * elf/tst-auditmod4b.c (check_avx): Likewise.
4687 * elf/tst-auditmod6b.c (check_avx): Likewise.
4688 * elf/tst-auditmod6c.c (check_avx): Likewise.
4689 * elf/tst-auditmod7b.c (check_avx): Likewise.
4690
70c6c246
UD
46912011-12-23 Ulrich Drepper <drepper@gmail.com>
4692
4693 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4694 !__SSE_MATH__.
4695
c044cf14
LD
46962011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4697
15db4de1 4698 [BZ #13540]
c044cf14
LD
4699 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4700 processing for last bytes.
4701
6b13d9d9
BH
47022011-08-06 Bruno Haible <bruno@clisp.org>
4703
d455f537
BH
4704 [BZ #13061]
4705 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4706 U+0385, not to U+1FEE.
4707
6b13d9d9
BH
4708 [BZ #13062]
4709 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4710 entry for U+00A5 U+0301.
4711
db910efd
UD
47122011-12-22 Ulrich Drepper <drepper@gmail.com>
4713
27deeafc
UD
4714 [BZ #13166]
4715 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4716 buffer for the output is too small.
4717
aed9d171
UD
4718 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4719 optimization.
4720
db910efd
UD
4721 [BZ #13185]
4722 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4723 SSE flags if possible.
4724
2bd779ae
LD
47252011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4726
e7f9dac3 4727 [BZ #13540]
2bd779ae
LD
4728 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4729 processing for last bytes.
4730
154bfc16
JM
47312011-12-22 Joseph Myers <joseph@codesourcery.com>
4732
4733 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4734 (syscall-list-default-options, syscall-list-default-condition)
4735 (syscall-list-includes): Define.
4736 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4737 list of ABIs and options and #if conditions for each ABI. Do not
4738 handle common syscalls between ABIs specially.
4739 * sysdeps/unix/sysv/linux/powerpc/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/s390/Makefile (64bit-predefine): Remove.
4745 (syscall-list-variants, syscall-list-32bit-options)
4746 (syscall-list-32bit-condition, syscall-list-64bit-options)
4747 (syscall-list-64bit-condition): Define.
4748 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4749 Remove.
4750 (syscall-list-variants, syscall-list-32bit-options)
4751 (syscall-list-32bit-condition, syscall-list-64bit-options)
4752 (syscall-list-64bit-condition): Define.
4753 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4754 Remove.
4755 (syscall-list-variants, syscall-list-32bit-options)
4756 (syscall-list-32bit-condition, syscall-list-64bit-options)
4757 (syscall-list-64bit-condition): Define.
4758
21eaf3a5
UD
47592011-12-22 Ulrich Drepper <drepper@gmail.com>
4760
16c6f992
UD
4761 * locale/iso-639.def: Add brx entry.
4762
41043168
UD
4763 [BZ #13328]
4764 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4765 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4766
21eaf3a5
UD
4767 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4768 __feraiseexcept_renamed.
4769
e3a851a2
UD
47702011-12-21 Ulrich Drepper <drepper@gmail.com>
4771
4920765e
UD
4772 [BZ #13538]
4773 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4774 EPOLLET with unsigned values.
4775 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4776 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4777
e3a851a2
UD
4778 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4779 to large cancellation.
4780 * math/s_cacoshf.c: Likewise.
4781 * math/s_cacoshl.c: Likewise.
4782
b27e24b8
RK
47832011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4784
4785 [BZ #13305]
aebefeee 4786 [BZ #12786]
b27e24b8
RK
4787 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4788 * math/s_cacoshf.c: Likewise.
4789 * math/s_cacoshl.c: Likewise.
4790
ee190f67
UD
47912011-12-21 Ulrich Drepper <drepper@gmail.com>
4792
4793 [BZ #13439]
4794 * iconv/gconv.h: Define __GCONV_SWAP.
4795 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4796 * iconvdata/utf-16.c: Likewise.
4797 * iconvdata/utf-32.c: Likewise.
4798
707f25df
AS
47992011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4800
4801 [BZ #13524]
4802 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4803 numerator after shifting it by one limb.
4804
d2daaa1e
RÁE
48052011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4806
4807 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4808 under [__USE_EXTERN_INLINES].
4809
a4647e72
UD
48102011-12-17 Ulrich Drepper <drepper@gmail.com>
4811
4812 [BZ #13446]
4813 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4814
f0b264f1
AZ
48152011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4816
4817 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
4818 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
4819 optimized code.
4820 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
4821 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
4822 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
4823 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
4824 for strncasecmp/strncasecmp_l compilation.
4825 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
4826 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
4827
8ef4f244
MP
48282011-12-08 Marek Polacek <mpolacek@redhat.com>
4829
4830 [BZ #13484]
4831 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
4832 of __asm__.
4833
97ac2654
UD
48342011-12-17 Ulrich Drepper <drepper@gmail.com>
4835
4836 [BZ #13506]
4837 * time/tzfile.c (__tzfile_read): Check values from file header.
4838
91d2a845
WS
48392011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4840
4841 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
4842 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
4843 * powerpc/powerpc32/dl-start.S: Likewise.
4844 * powerpc/powerpc32/elf/start.S: Likewise.
4845 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4846 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
4847 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4848 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
4849 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4850 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
4851 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
4852 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4853 * powerpc/powerpc32/fpu/s_round.S: Likewise.
4854 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4855 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4856 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4857 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4858 * powerpc/powerpc32/memset.S: Likewise.
4859 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4860 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4861 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4862 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4863 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4864 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4865 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4866 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4867 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
4868 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
4869 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
4870 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4871 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4872
a1267ba1
AZ
48732011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4874
4875 * math/libm-test.inc: Added more nearbyint tests.
4876 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
4877 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
4878 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
4879 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
4880
ad8ac1bd
RL
48812011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
4882
4883 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
4884 FD_CLOEXEC.
4885
1d3e4b61
UD
48862011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4887
4888 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
4889 Add wcscpy-ssse3 wcscpy-c.
4890 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
4891 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
4892 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
4893 * sysdeps/x86_64/wcschr.S: New file.
4894 * sysdeps/x86_64/wcsrchr.S: New file.
4895 * string/test-strcmp.c: Remove checking of wcscmp function for
4896 wrong alignments.
4897 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
4898 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
4899 wcsrchr-sse2 wcsrchr-c.
4900 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
4901 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
4902 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
4903 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
4904 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
4905 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
4906 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
4907 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
4908 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
4909 * wcsmbc/wcschr.c (WCSCHR): New macro.
4910
5b330a2d
UD
49112011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4912
4913 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
4914 * wcsmbs/test-wcsrchr.c: New file.
4915 * string/test-strrchr.c: Add wcsrchr support.
4916 (WIDE): New macro.
4917 * wcsmbs/test-wcscpy.c: New file.
4918 * string/test-strcpy.c: Add wcscpy support.
4919 (WIDE): New macro.
26428b7c 4920
f039c043
UD
49212011-12-10 Ulrich Drepper <drepper@gmail.com>
4922
4923 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
4924 the inner loop.
4925
850fb039
AS
49262011-12-06 Andreas Schwab <schwab@linux-m68k.org>
4927
4928 [BZ #13472]
4929 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
4930
4efbd5cb
UD
49312011-12-04 Ulrich Drepper <drepper@gmail.com>
4932
52ff5dd0 4933 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 4934 Minor optimizations.
52ff5dd0 4935
4efbd5cb
UD
4936 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
4937 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
4938 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4939
8a426e12
UD
49402011-12-03 Ulrich Drepper <drepper@gmail.com>
4941
aff2453d
UD
4942 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
4943 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4944 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
4945 for gcc to avoid warnings.
4946 * inet/Makefile (tests): Add tst-checks.
4947 * inet/tst-checks.c: New file.
4948
4949 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
4950 warning.
4951
4952 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
4953 __wmemcmp_sse2.
4954
4955 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
4956 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
4957
8a426e12
UD
4958 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
4959
9bea3473
UD
49602011-12-02 Ulrich Drepper <drepper@gmail.com>
4961
3a965496
UD
4962 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
4963 problem.
4964
9bea3473
UD
4965 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
4966
f101631b
UD
49672011-11-29 Joseph Myers <joseph@codesourcery.com>
4968
4969 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
4970 conditional on GCC version.
4971 (__arch_compare_and_exchange_val_8_acq)
4972 (__arch_compare_and_exchange_val_16_acq)
4973 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
4974 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
4975 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
4976
a98275aa
UD
49772011-12-02 Joseph Myers <joseph@codesourcery.com>
4978
4979 * sysdeps/sh/backtrace.c: New file.
4980
d4cc29a2
AS
49812011-12-02 Andreas Schwab <schwab@redhat.com>
4982
4983 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
4984 parenthesis.
4985
6257af2d
AS
49862011-12-01 Andreas Schwab <schwab@redhat.com>
4987
4988 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
4989 falling back to utime.
4990
b5f44c1a
AS
49912011-11-30 Andreas Schwab <schwab@redhat.com>
4992
4993 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
4994 expectations for float.
4995
f3a6cc0a
AS
49962011-11-29 Andreas Schwab <schwab@redhat.com>
4997
4998 * locale/weight.h (findidx): Add parameter len.
4999 * locale/weightwc.h (findidx): Likewise.
5000 * posix/fnmatch_loop.c (FCT): Adjust caller.
5001 * posix/regcomp.c (build_equiv_class): Likewise.
5002 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
5003 * posix/regexec.c (check_node_accept_bytes): Likewise.
5004 * string/strcoll_l.c (STRCOLL): Likewise.
5005 * string/strxfrm_l.c (STRXFRM): Likewise.
5006
9d65ea3a
UD
50072011-11-17 Ulrich Drepper <drepper@gmail.com>
5008
5009 * Makefile.in: Remove CVSOPT handling.
5010 * configure.in: Remove use of AC_REVISION.
5011 * iconvdata/Makefile (distribute): No need to filter out CVS.
5012 * scripts/list-sources.sh: Remove CVS, subversion and monotone
5013 handling.
5014
5583a086
AS
50152011-11-16 Andreas Schwab <schwab@redhat.com>
5016
5017 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5018 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5019 [USE_AS_STRNCASECMP_L]: Likewise.
5020 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5021 NO_TLS_DIRECT_SEG_REFS.
5022 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5023 Fix argument offsets for non-PIC.
5024 [USE_AS_STRNCASECMP_L]: Likewise.
5025 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5026 NO_TLS_DIRECT_SEG_REFS.
5027
d62a8200
UD
50282011-11-15 Ulrich Drepper <drepper@gmail.com>
5029
9d65ea3a 5030 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
5031 O_CLOEXEC.
5032 * locale/loadlocale.c (_nl_load_locale): Likewise.
5033
09f93bd3
AS
50342011-11-15 Andreas Schwab <schwab@redhat.com>
5035
446514f9
AS
5036 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5037 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5038 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5039 (SYSCALL_GETTIME): Set errno on error.
5040
09f93bd3
AS
5041 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5042 count references to noai6ai_cached.
5043
312be3f9
UD
50442011-11-15 Ulrich Drepper <drepper@gmail.com>
5045
5046 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5047
5048 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5049 FD_CLOEXEC for /proc/self/maps.
5050
5051 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5052 FD_CLOEXEC for /proc/meminfo.
5053
5054 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5055 gai.conf.
5056
5057 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
5058 FD_CLOEXEC for given file.
5059
5060 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5061
5062 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5063 FD_CLOEXEC for /etc/hosts.
5064 (_gethtent): Likewise.
5065
5066 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5067
5068 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5069 cancellation and set FD_CLOEXEC for /etc/netgroup.
5070
5071 * nss/nss_files/files-key.c (search): Don't allow cancellation when
5072 reading /etc/publickey.
5073
5074 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5075 allow cancellation when reading /etc/group.
5076
5077 * nss/nss_files/files-alias.c (internal_setent): Don't allow
5078 cancellation.
5079 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
5080
5081 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5082 when using data file.
5083
5084 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5085
5086 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5087 (write_nis_obj): Use "c" and "e" in fopen.
5088
5089 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5090
5091 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5092
5093 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5094
5095 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5096
5097 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5098 locale.alias.
5099
5100 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5101
5102 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5103
5104 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5105
5106 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5107 file parsing and set FD_CLOEXEC.
5108
82af0fa8
UD
51092011-11-14 Ulrich Drepper <drepper@gmail.com>
5110
5111 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5112
a5fb313c
AS
51132011-11-14 Andreas Schwab <schwab@redhat.com>
5114
5115 * malloc/arena.c (arena_get2): Don't call reused_arena when
5116 _int_new_arena failed.
5117
6abf3465
UD
51182011-11-14 Ulrich Drepper <drepper@gmail.com>
5119
5120 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5121 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5122 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5123 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5124 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5125 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5126 to compile strcasecmp and strncasecmp.
5127 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5128 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5129
5130 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5131
76e3966e
UD
51322011-11-13 Ulrich Drepper <drepper@gmail.com>
5133
5134 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5135 locale-defines.sym to gen-as-const-headers.
5136 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5137 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5138 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5139 to compile strcasecmp and strncasecmp.
5140 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5141 strcasecmp_l and strncasecmp_l.
5142 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5143 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5144 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5145 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5146 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5147 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5148 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5149 * sysdeps/i386/i686/multiarch/strncase.S: New file.
5150 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5151 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5152 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5153
ab26144e
UD
51542011-11-12 Ulrich Drepper <drepper@gmail.com>
5155
7edb22ef
UD
5156 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5157 result of SYSDEP_GETTIME_CPU to retval.
5158 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5159 parameter list to macro. Remove trailing semicolon. Adjust users.
5160
9694fc44
UD
5161 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5162 variable.
5163
8ad89ef8
UD
5164 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5165 mantissa words.
5166 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5167
0c822ef9
UD
5168 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5169 from unused variable.
5170
874e0564
UD
5171 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5172 DWARF definitions.
5173 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5174 for assembling.
5175
3a2edc79
UD
5176 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5177 over namespaces.
5178
f3c2577f
UD
5179 * sunrpc/rpc_prot.c (rejected): Fix case value.
5180
294ce126
UD
5181 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5182 unsigned long long int to avoid warnings in shift.
5183
5e2b63c6
UD
5184 * posix/regex_internal.c (re_string_reconstruct): Actually use result
5185 of use of trans.
5186 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5187 variable tmp.
5188
e7f4b08e
UD
5189 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5190 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5191 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5192
ab26144e
UD
5193 * nis/nis_table.c (nis_list): Use variable of correct type for
5194 result of __follow_path call.
5195
8a6d5255
AZ
51962011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5197
5198 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5199 of math functions ceil, trunc, floor, round, and sqrt, when
5200 avaliable on the platform.
5201 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5202 name clash.
5203 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5204 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5205 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5206
aaddc98c
MP
52072011-10-30 Marek Polacek <mpolacek@redhat.com>
5208
5209 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5210 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5211
95b7042b
RM
52122011-11-11 Roland McGrath <roland@hack.frob.com>
5213
5214 * include/unistd.h: Fix __readlink return type.
5215 Reported by Chris Metcalf <cmetcalf@tilera.com>.
5216
57769839
UD
52172011-11-11 Ulrich Drepper <drepper@gmail.com>
5218
5219 * stdlib/ucontext.h: Undo last change for makecontext.
5220
edc5984d
AS
52212011-11-11 Andreas Schwab <schwab@redhat.com>
5222
98591e58
AS
5223 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5224
edc5984d
AS
5225 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5226 * setjmp/setjmp.h: Mark functions as non-leaf.
5227 * setjmp/bits/setjmp2.h: Likewise.
5228 * stdlib/ucontext.h: Likewise.
5229
77cdc054
AS
52302011-11-10 Andreas Schwab <schwab@redhat.com>
5231
5232 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5233 (reused_arena): Don't check arena limit.
5234 (arena_get2): Atomically check arena limit.
5235
fe72eebd
UD
52362011-11-08 Ulrich Drepper <drepper@gmail.com>
5237
5f078c32
UD
5238 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5239 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5240
fe72eebd
UD
5241 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5242 instructions.
5243
ae1bc2fa
AS
52442011-11-07 Andreas Schwab <schwab@redhat.com>
5245
7583a88d
AS
5246 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5247 handler when locking.
5248
ae1bc2fa
AS
5249 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5250 Fix size of allocated buffer.
5251
10fb0bfa
AS
52522011-11-04 Andreas Schwab <schwab@redhat.com>
5253
998832a4
AS
5254 [BZ #10103]
5255 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5256 declarations for long double functions.
5257 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5258
10fb0bfa
AS
5259 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5260
3d7ba52b
AS
52612011-11-03 Andreas Schwab <schwab@redhat.com>
5262
a9ae54a1
AS
5263 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5264 installed.
5265
3d7ba52b
AS
5266 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5267 is disabled.
5268
bc8db248
ST
52692011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5270
5271 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5272
45b96dd6
AS
52732011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5274
647776f6
AS
5275 * include/alloca.h (stackinfo_alloca_round): Define.
5276 (extend_alloca): Use it.
5277 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5278 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5279 here.
5280
d91a8b93
AS
5281 * scripts/check-local-headers.sh: Ignore libaudit.h.
5282
45b96dd6
AS
5283 * nscd/Makefile (extra-objs): Make recursively expanded.
5284
432d41ce
UD
52852011-11-01 Ulrich Drepper <drepper@gmail.com>
5286
34372fc6
UD
5287 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5288 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5289
fadb59f8
UD
5290 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5291 * posix/tst-rfc3484-2.c: Likewise.
5292 * posix/tst-rfc3484-3.c: Likewise.
5293
78239589
UD
5294 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5295 process_vm_writev.
5296 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5297 process_vm_writev.
5298 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5299 process_vm_writev from libc using GLIBC_2.15 version.
5300
432d41ce
UD
5301 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5302
02f9c6cf
PP
53032011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5304
5305 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5306 stack usage.
5307
3a2c0242
UD
53082011-10-31 Ulrich Drepper <drepper@gmail.com>
5309
f4ec4833
UD
5310 [BZ #13367]
5311 * nss/getent.c (initgroups_keys): Show error message in case no group
5312 names are given.
5313
3a2c0242
UD
5314 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5315 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5316 __bump_nl_timestamp.
5317 * nscd/connections (nscd_init): When host database is served open
5318 netlink socket and request notification about configuration changes.
5319 (main_loop_poll): Track netlink file descriptor and bump timestamp
5320 in case data becomes available.
5321 (main_loop_epoll): Likewise.
5322 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5323 (database_pers_head): Add extra_data fileds.
5324 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5325 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5326 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5327 Adjust caller.
5328 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5329 in6ai data, call __free_in6ai.
5330 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5331 Add -DHAVE_NETLINK.
5332 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5333 interface information. Reuse previous data if netlink timestamp
5334 is not changed.
5335 (__bump_nl_timestamp): New function.
5336 (__free_in6ai): New function.
5337
636064eb
UD
53382011-10-30 Ulrich Drepper <drepper@gmail.com>
5339
5340 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5341 close_not_cancel_no_status here.
5342 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5343
9beb2334
UD
53442011-10-29 Ulrich Drepper <drepper@gmail.com>
5345
6ef76f3b
UD
5346 [BZ #13276]
5347 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5348 return value.
5349
0ffc4f3e 5350 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
5351 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5352 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5353
cb95113e
UD
53542011-07-03 Andreas Jaeger <aj@suse.de>
5355
5356 [BZ #10709]
5357 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5358 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5359 * math/libm-test.inc (sin_test): Add test case.
5360
a1b560ff
UD
53612011-10-29 Ulrich Drepper <drepper@gmail.com>
5362
c9aaface
UD
5363 [BZ #13337]
5364 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5365 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5366
d272e7f1
UD
5367 * elf/chroot_canon.c (chroot_canon): Cleanups.
5368
1bc33071
UD
5369 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5370
1760874d
TJ
5371 [BZ #13335]
5372 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5373 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5374
51d91b18
UD
5375 * string/test-strchr.c: Make usable for strchrnul testing.
5376 * string/test-strchrnul.c: New file.
5377 * string/Makefile (strop-tests): Add strchrnul.
5378
a1b560ff 5379 * po/it.po: Update from translation team.
b611fb81 5380 * po/es.po: Likewise.
a1b560ff 5381
a5b81e1f
UD
53822011-10-28 Ulrich Drepper <drepper@gmail.com>
5383
fd52bc6d
UD
5384 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5385 the three constants needed as parameters. Drop the others.
5386 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5387 __m128i_strloadu_tolower.
52e4b9eb
UD
5388 Create and initialize variable zero and use it in all the places
5389 where _mm_setzero_si128 was used.
fd52bc6d 5390
a5b81e1f
UD
5391 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5392 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5393 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5394 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5395 anymore.
5396 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5397 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5398 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5399 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5400 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5401 __mpranred, __mptan.
5402 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5403 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5404 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5405 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5406 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5407 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5408 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5409 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5410 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5411
b4343346
AS
54122011-10-28 Andreas Schwab <schwab@redhat.com>
5413
0c92d8a8
AS
5414 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5415 redefine if SHARED.
5416 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5417
b4343346
AS
5418 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5419 wide char related routines to wcsmbs subdir.
5420
3871f58f
AS
54212011-10-27 Andreas Schwab <schwab@redhat.com>
5422
5423 [BZ #13344]
5424 * misc/sys/cdefs.h (__THROWNL): Define.
5425 * posix/unistd.h: Use __THREADNL instead of __THREAD
5426 for memory synchronization functions.
5427
94d44d9f
RM
54282011-10-26 Roland McGrath <roland@hack.frob.com>
5429
21b64b15 5430 [BZ #13349]
94d44d9f
RM
5431 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5432 doesn't exist.
5433 * manual/stdio.texi (Obstack Streams): Node removed.
5434
f6ce9294
AS
54352011-10-26 Andreas Schwab <schwab@redhat.com>
5436
80479147
AS
5437 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5438 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5439 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5440
f6ce9294
AS
5441 * math/math_private.h (math_force_eval): Allow non-addressable
5442 arguments.
5443 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5444
618280a1
UD
54452011-10-25 Ulrich Drepper <drepper@gmail.com>
5446
e0016b11
UD
5447 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5448 file is not needed.
5449
5450 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5451 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5452 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5453 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5454 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5455 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5456 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5457 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5458 Add AVX variants.
5459 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5460 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5461 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5462 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5463 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5464 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5465 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5466 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5467 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5468 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5469 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5470 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5471 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5472 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5473 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5474 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5475 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5476 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5477 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5478
5479 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5480 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5481
618280a1
UD
5482 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5483 place. Use VEX encoding when compiling for AVX.
5484
37822576
AS
54852011-10-25 Andreas Schwab <schwab@redhat.com>
5486
1f1e1947
AS
5487 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5488 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5489
37822576
AS
5490 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5491
31ea014d
UD
54922011-10-25 Ulrich Drepper <drepper@gmail.com>
5493
d7826aa1 5494 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 5495 useless if() expression.
d7826aa1
UD
5496 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5497 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5498 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5499 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5500 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5501 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5502 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5503 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5504 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5505 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5506 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5507 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5508 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5509 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5510 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5511 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5512 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5513 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5514 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5515
31ea014d
UD
5516 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5517
16437fec
AS
55182011-10-25 Andreas Schwab <schwab@redhat.com>
5519
5520 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5521 condition.
5522 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5523
31d3cc00
UD
55242011-10-25 Ulrich Drepper <drepper@gmail.com>
5525
5526 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5527 .text section. Avoid duplicate constants.
5528 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5529 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5530 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5531 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5532 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5533 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5534 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5535 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5536 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5537 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5538 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5539 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5540 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5541 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5542 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5543 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5544 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5545 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5546 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5547 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5548 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5549 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5550 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5551 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5552 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5553 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5554 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5555 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5556 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5557 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5558 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5559 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5560 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5561 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5562 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5563 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5564 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5565 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5566 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5567 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5568 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5569 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5570 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5571 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5572 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5573
58985aa9
UD
55742011-10-24 Ulrich Drepper <drepper@gmail.com>
5575
202c9deb
UD
5576 * sysdeps/x86_64/dla.h: Move to ...
5577 * sysdeps/x86_64/fpu/dla.h: ...here.
5578 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5579 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 5580
af968f62
UD
5581 * config.make.in: Add have-mfma4 entry.
5582 * configure.in: Substitute libc_cv_cc_fma4.
5583 * math/Makefile (dbl-only-routines): Add sincostab.
5584 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5585 Use __sincostab not sincos.
5586 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5587 name is a macro.
5588 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5589 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5590 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5591 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5592 using __copysign.
5593 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5594 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5595 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5596 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5597 and __inv.
5598 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5599 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5600 __copysign.
5601 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5602 define aliases when function name is a macro.
5603 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5604 sysdeps/ieee754/dbl-64/sincos.tbl.
5605 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5606 fma4-enabled routines.
5607 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5608 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5609 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5610 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5611 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5612 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5613 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5614 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5615 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5616 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5617 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5618 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5619 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5620 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5621 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5622 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5623 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5624 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5625 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5626 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5627 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5628 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5629 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5630 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5631 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5632 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5633 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5634 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5635 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5636 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5637
58985aa9
UD
5638 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5639 rename.
5640 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5641 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5642 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5643 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5644 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5645 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5646 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5647 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5648
a201fbcf
AS
56492011-10-24 Andreas Schwab <schwab@redhat.com>
5650
5651 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5652
fc2ee42a
LD
56532011-10-23 Ulrich Drepper <drepper@gmail.com>
5654
bb3129bd
UD
5655 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5656
0275fff8
UD
5657 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5658 prediction.
5659 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5660
2fa2ae85
UD
5661 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5662 Remove unused variable magic_bits.
5663 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5664
fc2ee42a
LD
5665 * string/strnlen.c: Define and use STRNLEN macro.
5666 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5667 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5668 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5669 * wcsmbs/wcslen.c: Define and use WCSLEN.
5670 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5671 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5672 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5673 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5674 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5675 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5676 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5677
ce7dd29f
LD
56782011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5679
5680 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5681 strnlen-sse2-no-bsf.
5682 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5683 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5684 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5685 Add strnlen support.
5686 (USE_AS_STRNLEN): New macro.
5687 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5688 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5689 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5690 * sysdeps/x86_64/wcslen.S: New file.
5691
979c70a3
MZ
56922011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5693
5694 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5695 XMM-moves are used for copying on small sizes.
5696
2d09f82f
LD
56972011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5698
5699 * wcsmbs/Makefile (strop-tests): Add wcschr.
5700 * wcsmbs/test-wcschr.c: New file.
5701 * string/test-strchr.c: Update.
5702 Add wcschr support.
5703 (WIDE): New macro.
5704
619fccca
LD
57052011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5706
2d09f82f 5707 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
5708 * wcsmbs/test-wcslen.c: New file.
5709 * string/test-strlen.c: Update.
5710 Add wcslen support.
5711 (WIDE): New macro.
5712
09f699ea
UD
57132011-10-23 Ulrich Drepper <drepper@gmail.com>
5714
5715 * po/it.po: Update from translation team.
5716
95584d3b
LD
57172011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5718
5719 * sysdeps/x86_64/wcscmp.S: Update.
5720 Fix wrong comparison semantics.
5721 wcscmp shall use signed comparison not unsigned.
5722 Don't use substraction to avoid overflow bug.
5723 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5724 * wcsmbc/wcscmp.c: Likewise.
5725 * string/test-strcmp.c: Likewise.
5726 Add new tests to check cases with negative values.
5727
c8b3296b
UD
57282011-10-23 Ulrich Drepper <drepper@gmail.com>
5729
5730 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5731 * sysdeps/x86_64/dla.h: ...here. New file.
5732 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5733 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5734 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5735 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5736 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5737 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5738 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5739 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5740 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5741
246ad57a
AS
57422011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5743
5744 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5745 __ynl_finite aliases.
5746
a1a87169
UD
57472011-10-22 Ulrich Drepper <drepper@gmail.com>
5748
0d355eb7
UD
5749 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5750
a1a87169
UD
5751 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5752 define DLA_FMA.
5753 [DLA_FMA] (EMULV): Use DLA_FMA.
5754 [DLA_FMA] (MUL12): Use EMULV.
5755 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5756 that are not needed.
5757 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5758 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5759 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5760 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5761 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5762 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5763 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5764
ee2aafe0
AS
57652011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5766
5767 * math/s_nan.c: Undef __nan.
5768 * math/s_nanf.c: Undef __nanf.
5769 * math/s_nanl.c: Undef __nanl.
5770 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5771 "math_private.h".
5772
bc62c2fb
UD
57732011-10-22 Ulrich Drepper <drepper@gmail.com>
5774
77425c63
UD
5775 * math/s_catan.c: Add branch predictions.
5776 * math/s_catanf.c: Likewise.
5777 * math/s_catanh.c: Likewise.
5778 * math/s_catanhf.c: Likewise.
5779 * math/s_catanhl.c: Likewise.
5780 * math/s_catanl.c: Likewise.
5781 * math/s_cexp.c: Likewise.
5782 * math/s_cexpf.c: Likewise.
5783 * math/s_cexpl.c: Likewise.
5784 * math/s_clog.c: Likewise.
5785 * math/s_clog10.c: Likewise.
5786 * math/s_clog10f.c: Likewise.
5787 * math/s_clog10l.c: Likewise.
5788 * math/s_clogf.c: Likewise.
5789 * math/s_clogl.c: Likewise.
5790 * math/s_csqrt.c: Likewise.
5791 * math/s_csqrtf.c: Likewise.
5792 * math/s_csqrtl.c: Likewise.
5793 * math/s_ctanf.c: Likewise.
5794 * math/s_ctanh.c: Likewise.
5795 * math/s_ctanhf.c: Likewise.
5796 * math/s_ctanhl.c: Likewise.
5797 * math/s_ctanl.c: Likewise.
5798
bc62c2fb
UD
5799 * math/math_private.h: Define __nan, __nanf, __nanl.
5800 * math/s_cacosh.c: Include <math_private.h>.
5801 * math/s_cacoshl.c: Likewise.
5802 * math/s_casinh.c: Likewise.
5803 * math/s_casinhf.c: Likewise.
5804 * math/s_casinhl.c: Likewise.
5805 * math/s_ccos.c: Rely entire on ccosh.
5806 * math/s_ccosf.c: Rely entire on ccoshf.
5807 * math/s_ccosl.c: Rely entirely on ccoshl.
5808 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5809 Remove tests for FE_INVALID.
5810 * math/s_ccoshf.c: Likewise.
5811 * math/s_ccoshl.c: Likewise.
5812 * math/s_csin.c: Likewise.
5813 * math/s_csinf.c: Likewise.
5814 * math/s_csinh.c Likewise.
5815 * math/s_csinhf.c: Likewise.
5816 * math/s_csinhl.c: Likewise.
5817 * math/s_csinl.c: Likewise.
5818 * math/s_ctan.c: Likewise.
5819 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
5820 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
5821 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
5822
8ec250a4
UD
58232011-10-21 Ulrich Drepper <drepper@gmail.com>
5824
c196fed8
UD
5825 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
5826 compilation problems.
5827
8ec250a4
UD
5828 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
5829 __builtin_expect.
5830
8d4f46c6
UD
58312011-10-20 Ulrich Drepper <drepper@gmail.com>
5832
ed72b654
UD
5833 * sysdeps/i386/configure.in: Test for -mfma4 option.
5834 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
5835 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
5836 COMMON_CPUID_INDEX_80000001.
5837 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
5838 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
5839 use it if FMA3 is not supported.
5840 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5841
8d4f46c6
UD
5842 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
5843 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5844
d45c60c2
AS
58452011-10-20 Andreas Schwab <schwab@redhat.com>
5846
5847 [BZ #12892]
5848 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
5849 it would create a cycle with a link time dependency.
5850
d9a4d2ab
UD
58512011-10-19 Ulrich Drepper <drepper@gmail.com>
5852
855d1560
UD
5853 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
5854 instruction.
5855 * string/Makefile (strop-tests): Add rawmemchr.
5856 * string/test-rawmemchr.c: New file.
5857
d9a4d2ab
UD
5858 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
5859 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
5860 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
5861 when compiling str{,n}casecmp and when AVX is available. Hook up
5862 new optimized code in initializers.
5863
8f3b1ffe
AS
58642011-10-19 Andreas Schwab <schwab@redhat.com>
5865
5866 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
5867 __feraiseexcept instead of feraiseexcept.
5868
d38f1dba
UD
58692011-10-18 Ulrich Drepper <drepper@gmail.com>
5870
d9a8d0ab
UD
5871 * math/math_private.h: Define defaults for libc_fetestexcept and
5872 libc_feupdateenv.
5873 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
5874 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5875 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5876 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5877 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5878 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5879 libc_fetestexcept and libc_feupdateenv.
5880
4855e3dd
UD
5881 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
5882 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
5883 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
5884 * sysdeps/x86_64/fpu/math_private.h: Define special version of
5885 libc_feholdexcept_setround.
5886
581d30e3
UD
5887 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
5888 Add s_nearbyint-c and s_nearbyintf-c.
5889 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
5890 nearbyintf inlines.
5891 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
5892 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
5893 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
5894 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
5895
d38f1dba
UD
5896 * math/math_private.h: Define defaults for libc_fegetround,
5897 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
5898 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
5899 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
5900 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
5901 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
5902 standard functions.
5903 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5904 Remove comments and hacks for old compiler versions.
5905 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5906 libc_fegetround, libc_fesetround, libc_feholdexcept, and
5907 libc_feholdexceptl.
5908
caa6c9d8
AS
59092011-10-18 Andreas Schwab <schwab@redhat.com>
5910
5911 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
5912 (__feraiseexcept_renamed): Add __NTH.
5913 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
5914 namespace violations.
5915
97c066e6
UD
59162011-10-17 Ulrich Drepper <drepper@gmail.com>
5917
99ce7b04
UD
5918 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
5919
1004d182
UD
5920 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
5921
228a984d
UD
5922 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
5923 recently added interfaces.
5924 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
5925
c8553a6a
UD
5926 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
5927 about macro parameter expansion.
5928
ed22dcf6
UD
5929 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
5930 __NO_MATH_INLINES is defined. Cleanups.
5931
5932 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
5933 and __floorf is target has SSE4.1.
5934 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
5935 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
5936 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
5937 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
5938
b171c137
UD
5939 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
5940 name.
5941 (floorf): Likewise.
5942
97c066e6
UD
5943 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
5944
629f62ef
AS
59452011-10-17 Andreas Schwab <schwab@redhat.com>
5946
49a43d80
AS
5947 * misc/sys/cdefs.h: Fix last change.
5948
629f62ef
AS
5949 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
5950 database lookup.
5951
e453f6cd
UD
59522011-10-16 Ulrich Drepper <drepper@gmail.com>
5953
aa78043a
UD
5954 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
5955
ad0f5cad
UD
5956 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
5957 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5958 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5959 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5960 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5961 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5962 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5963 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5964 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5965 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
5966 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
5967 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
5968 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
5969 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
5970 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
5971 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
5972 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
5973 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
5974 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
5975 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
5976 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
5977 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
5978
5979 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
5980 ceil, ceilf, floor, floorf.
5981
5982 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
5983 Perform IRELATIVE relocations last.
5984
e453f6cd
UD
5985 * elf/do-rel.h: Add another parameter nrelative, replacing the
5986 local variable with the same name. Change name of the function
5987 to end in Rel or Rela (uppercase).
5988 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
5989 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
5990 elf_dynamic_do_##reloc function.
5991
fd5bdc09
UD
59922011-10-15 Ulrich Drepper <drepper@gmail.com>
5993
79b195b5
UD
5994 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
5995 is sufficient, at least on modern CPUs.
5996
d4a28569
UD
5997 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
5998
b61099b5
UD
5999 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
6000 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
6001
bcf01e6d
UD
6002 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
6003 __expl_finite.
6004 * math/bits/math-finite.h: Add entries for exp.
6005 * math/e_expl.c: Add __*_finite alias.
6006 * sysdeps/i386/fpu/e_exp.S: Likewise.
6007 * sysdeps/i386/fpu/e_expf.S: Likewise.
6008 * sysdeps/i386/fpu/e_expl.c: Likewise.
6009 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6010 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6011 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6012 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6013 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6014 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6015 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6016
ba1a0d59
UD
6017 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6018 is sufficient, at least on modern CPUs.
6019
fd5bdc09
UD
6020 * ctype/ctype-info.c (__ctype_init): Define.
6021 * include/ctype.h (__ctype_init): Declare.
6022 (__ctype_b_loc): The variable is always initialized.
6023 (__ctype_toupper_loc): Likewise.
6024 (__ctype_tolower_loc): Likewise.
6025 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6026 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6027
7872cfb0
AS
60282011-10-15 Andreas Schwab <schwab@linux-m68k.org>
6029
b468825a
AS
6030 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6031
7872cfb0
AS
6032 * configure.in: Also look in $cxxmachine/include for C++ system
6033 headers.
6034
be13f7bf
LD
60352011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6036
6037 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6038 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6039 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6040 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
6041 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6042 (USE_AS_WMEMCMP): New macro.
6043 Fixing indents.
6044 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6045 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6046 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6047 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6048 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6049 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6050 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6051 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6052 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6053 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6054 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6055 (USE_AS_WMEMCMP): New macro.
6056 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6057 * sysdeps/string/test-memcmp.c: Update.
6058 Fix simple_wmemcmp.
6059 Add new tests.
6060 * wcsmbs/wmemcmp.c: Update.
6061 (WMEMCMP): New macro.
6062 Fix overflow bug.
6063
556a2007
AJ
60642011-10-12 Andreas Jaeger <aj@suse.de>
6065
6066 [BZ #13268]
6067 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6068
538faaa7
UD
60692011-10-15 Ulrich Drepper <drepper@gmail.com>
6070
ab6737ff
UD
6071 * libio/iofwide.c (do_length): Avoid warning.
6072
538faaa7
UD
6073 * ctype/ctype.h (__isctype_f): Add missing __THROW.
6074
396a21b1
UD
60752011-10-14 Ulrich Drepper <drepper@gmail.com>
6076
cdf2901f
UD
6077 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6078
38ad40ce
UD
6079 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6080 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6081 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6082 * sysdeps/i386/i686/fpu/e_log.S: New file.
6083 * sysdeps/i386/i686/fpu/e_logf.S: New file.
6084 * sysdeps/i386/i686/fpu/e_logl.S: New file.
6085
396a21b1
UD
6086 * ctype/ctype.h: Add support for inlined isXXX functions when
6087 compiling C++ code.
6088
6b1f68c9
AS
60892011-10-14 Andreas Schwab <schwab@redhat.com>
6090
349290c0
AS
6091 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6092
6b1f68c9
AS
6093 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6094
f2282d42
RM
60952011-10-13 Roland McGrath <roland@hack.frob.com>
6096
6097 [BZ #13291]
6098 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6099
5298ffa8
AS
61002011-10-13 Andreas Schwab <schwab@redhat.com>
6101
714fad23
AS
6102 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6103 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6104 feraiseexcept.
6105
81dcc7fb
AS
6106 * sysdeps/x86_64/memrchr.S: Check for zero size.
6107
5298ffa8
AS
6108 * string/stratcliff.c: Add memrchr tests.
6109
951fbcec
LD
61102011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6111
6112 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6113 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6114 rawmemchr-sse2 rawmemchr-sse2-bsf.
6115 * sysdeps/i386/i686/multiarch/memchr.S: New file.
6116 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6117 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6118 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6119 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6120 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6121 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6122 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6123 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6124 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6125 * string/memrchr.c (MEMRCHR): New macro.
6126
0ac5ae23
UD
61272011-10-12 Ulrich Drepper <drepper@gmail.com>
6128
6129 Add integration with gcc's -ffinite-math-only and optimize wrapper
6130 functions in libm.
6131 * Versions.def: Define GLIBC_2.15 version for libm.
6132 * math/Makefile (headers): Add bits/math-finite.h.
6133 * math/bits/math-finite.h: New file.
6134 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6135 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6136 * math/e_acoshl.c: Add __*_finite alias.
6137 * math/e_acosl.c: Likewise.
6138 * math/e_asinl.c: Likewise.
6139 * math/e_atan2l.c: Likewise.
6140 * math/e_atanhl.c: Likewise.
6141 * math/e_coshl.c: Likewise.
6142 * math/e_exp10.c: Likewise.
6143 * math/e_exp10f.c: Likewise.
6144 * math/e_exp10l.c: Likewise.
6145 * math/e_exp2l.c: Likewise.
6146 * math/e_fmodl.c: Likewise.
6147 * math/e_gammal_r.c: Likewise.
6148 * math/e_hypotl.c: Likewise.
6149 * math/e_j0l.c: Likewise.
6150 * math/e_j1l.c: Likewise.
6151 * math/e_jnl.c: Likewise.
6152 * math/e_lgammal_r.c: Likewise.
6153 * math/e_log10l.c: Likewise.
6154 * math/e_log2l.c: Likewise.
6155 * math/e_logl.c: Likewise.
6156 * math/e_powl.c: Likewise.
6157 * math/e_sinhl.c: Likewise.
6158 * math/e_sqrtl.c: Likewise.
6159 * math/e_scalb.c: Completely rewritten and optimized.
6160 * math/e_scalbf.c: Likewise.
6161 * math/e_scalbl.c: Likewise.
6162 * math/w_acos.c: Likewise.
6163 * math/w_acosf.c: Likewise.
6164 * math/w_acosl.c: Likewise.
6165 * math/w_acosh.c: Likewise.
6166 * math/w_acoshf.c: Likewise.
6167 * math/w_acoshl.c: Likewise.
6168 * math/w_asin.c: Likewise.
6169 * math/w_asinf.c: Likewise.
6170 * math/w_asinl.c: Likewise.
6171 * math/w_atan2.c: Likewise.
6172 * math/w_atan2f.c: Likewise.
6173 * math/w_atan2l.c: Likewise.
6174 * math/w_atanh.c: Likewise.
6175 * math/w_atanhf.c: Likewise.
6176 * math/w_atanhl.c: Likewise.
6177 * math/w_exp10.c: Likewise.
6178 * math/w_exp10f.c: Likewise.
6179 * math/w_exp10l.c: Likewise.
6180 * math/w_fmod.c: Likewise.
6181 * math/w_fmodf.c: Likewise.
6182 * math/w_fmodl.c: Likewise.
6183 * math/w_j0.c: Likewise.
6184 * math/w_j0f.c: Likewise.
6185 * math/w_j0l.c: Likewise.
6186 * math/w_j1.c: Likewise.
6187 * math/w_j1f.c: Likewise.
6188 * math/w_j1l.c: Likewise.
6189 * math/w_jn.c: Likewise.
6190 * math/w_jnf.c: Likewise.
6191 * math/w_log.c: Likewise.
6192 * math/w_logf.c: Likewise.
6193 * math/w_logl.c: Likewise.
6194 * math/w_log10.c: Likewise.
6195 * math/w_log10f.c: Likewise.
6196 * math/w_log10l.c: Likewise.
6197 * math/w_log2.c: Likewise.
6198 * math/w_log2f.c: Likewise.
6199 * math/w_log2l.c: Likewise.
6200 * math/w_pow.c: Likewise.
6201 * math/w_powf.c: Likewise.
6202 * math/w_powl.c: Likewise.
6203 * math/w_remainder.c: Likewise.
6204 * math/w_remainderf.c: Likewise.
6205 * math/w_remainderl.c: Likewise.
6206 * math/w_scalb.c: Likewise.
6207 * math/w_scalbf.c: Likewise.
6208 * math/w_scalbl.c: Likewise.
6209 * math/w_sqrt.c: Likewise.
6210 * math/w_sqrtf.c: Likewise.
6211 * math/w_sqrtl.c: Likewise.
6212 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6213 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
6214 used.
6215 * math/math_private.h: Declare __kernel_standard_f.
6216 * math/w_cosh.c: Remove cruft and optimize a bit.
6217 * math/w_coshf.c: Likewise.
6218 * math/w_coshl.c: Likewise.
6219 * math/w_exp2.c: Likewise.
6220 * math/w_exp2f.c: Likewise.
6221 * math/w_exp2l.c: Likewise.
6222 * math/w_hypot.c: Likewise.
6223 * math/w_hypotf.c: Likewise.
6224 * math/w_hypotl.c: Likewise.
6225 * math/w_lgamma.c: Likewise.
6226 * math/w_lgamma_r.c: Likewise.
6227 * math/w_lgammaf.c: Likewise.
6228 * math/w_lgammaf_r.c: Likewise.
6229 * math/w_lgammal.c: Likewise.
6230 * math/w_lgammal_r.c: Likewise.
6231 * math/w_sinh.c: Likewise.
6232 * math/w_sinhf.c: Likewise.
6233 * math/w_sinhl.c: Likewise.
6234 * math/w_tgamma.c: Likewise.
6235 * math/w_tgammaf.c: Likewise.
6236 * math/w_tgammal.c: Likewise.
6237 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6238 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6239 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6240 Minor optimizations. Pretty printing. Remove cruft.
6241 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6242 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6243 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6244 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6245 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6246 * sysdeps/i386/fpu/e_asin.S: Likewise.
6247 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6248 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6249 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6250 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6251 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6252 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6253 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6254 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6255 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6256 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6257 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6258 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6259 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6260 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6261 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6262 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6263 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6264 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6265 * sysdeps/i386/fpu/e_log.S: Likewise.
6266 * sysdeps/i386/fpu/e_log10.S: Likewise.
6267 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6268 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6269 * sysdeps/i386/fpu/e_log2.S: Likewise.
6270 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6271 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6272 * sysdeps/i386/fpu/e_logf.S: Likewise.
6273 * sysdeps/i386/fpu/e_logl.S: Likewise.
6274 * sysdeps/i386/fpu/e_pow.S: Likewise.
6275 * sysdeps/i386/fpu/e_powf.S: Likewise.
6276 * sysdeps/i386/fpu/e_powl.S: Likewise.
6277 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6278 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6279 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6280 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6281 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6282 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6283 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6284 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6285 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6286 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6287 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6288 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6289 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6290 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6291 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6292 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6293 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6294 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6295 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6296 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6297 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6298 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6299 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6300 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6301 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6302 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6303 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6304 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6305 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6306 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6307 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6308 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6309 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6310 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6311 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6312 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6313 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6314 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6315 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6316 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6317 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6318 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6319 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6320 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6321 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6322 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6323 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6324 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6325 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6326 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6327 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6328 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6329 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6330 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6331 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6332 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6333 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6334 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6335 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6336 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6337 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6338 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6339 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6340 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6341 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6342 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6343 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6344 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6345 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6346 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6347 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6348 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6349 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6350 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6351 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6352 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6353 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6354 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6355 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6356 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6357 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6358 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6359 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6360 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6361 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6362 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6363 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6364 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6365 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6366 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6367 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6368 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6369 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6370 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6371 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6372 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6373 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6374 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6375 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6376 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6377 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6378 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6379 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6380 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6381 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6382 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6383 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6384 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6385 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6386 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6387 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6388 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6389 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6390 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6391 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6392 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6393 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6394 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6395 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6396 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6397 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6398 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6399 (__isnanf): Likewise.
6400 (__isinf_ns): Likewise.
6401 (__isinf_nsf): Likewise.
6402 (__finite): Likewise.
6403 (__finitef): Likewise.
6404 (__ieee754_sqrt): Define as macro.
6405 (__ieee754_sqrtf): Define as macro.
6406 (__ieee754_sqrtl): Define as macro.
6407 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6408 inlined copy.
6409 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6410 __FINITE_MATH_ONLY__ consistent.
6411 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6412
12cc2fcd
AS
64132011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6414
a843a204
AS
6415 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6416 of rawmemchr.
6417
12cc2fcd
AS
6418 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6419
c853acd5
UD
64202011-10-09 Ulrich Drepper <drepper@gmail.com>
6421
6422 * po/ja.po: Update from translation team.
6423
c658d255
RM
64242011-10-08 Roland McGrath <roland@hack.frob.com>
6425
110946e4
RM
6426 * locale/programs/locarchive.c (prepare_address_space): New function.
6427 (create_archive, enlarge_archive, open_archive): Use it.
6428
50604220
RM
6429 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6430 inside [SHARED], where it is used.
6431
c658d255
RM
6432 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6433
6434 * nss/getent.c (netgroup_keys): Remove unused variable.
6435 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6436
6a621eb7
UD
64372011-10-08 Ulrich Drepper <drepper@gmail.com>
6438
7edb55ce
UD
6439 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6440 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6441 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6442 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6443 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6444 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6445 * math/Makefile (libm-calls): Add s_isinf_ns.
6446 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6447 * math/multc3.c: Likewise.
6448 * math/s_casin.c: Likewise.
6449 * math/s_casinf.c: Likewise.
6450 * math/s_casinl.c: Likewise.
6451 * math/s_ccos.c: Likewise.
6452 * math/s_ccosf.c: Likewise.
6453 * math/s_ccosl.c: Likewise.
6454 * math/s_ctan.c: Likewise.
6455 * math/s_ctanf.c: Likewise.
6456 * math/s_ctanh.c: Likewise.
6457 * math/s_ctanhf.c: Likewise.
6458 * math/s_ctanhl.c: Likewise.
6459 * math/s_ctanl.c: Likewise.
6460 * math/w_fmod.c: Likewise.
6461 * math/w_fmodf.c: Likewise.
6462 * math/w_fmodl.c: Likewise.
6463 * math/w_remainder.c: Likewise.
6464 * math/w_remainderf.c: Likewise.
6465 * math/w_remainderl.c: Likewise.
6466 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6467 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6468 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6469 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6470 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6471 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6472 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6473 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6474
187da0ae
UD
6475 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6476 of the number.
6477 * stdio-common/printf_fphex.c: Likewise.
6478 * stdio-common/printf_size.c: Likewise.
6479
9277c064
UD
6480 * math/e_exp10.c: Include math_private.h using <...> not "...".
6481 * math/e_exp10f.c: Likewise.
6482 * math/e_exp10l.c: Likewise.
6483 * math/e_exp2l.c: Likewise.
6484 * math/e_j0l.c: Likewise.
6485 * math/e_j1l.c: Likewise.
6486 * math/e_jnl.c: Likewise.
6487 * math/e_lgammal_r.c: Likewise.
6488 * math/e_rem_pio2l.c: Likewise.
6489 * math/e_scalb.c: Likewise.
6490 * math/e_scalbf.c: Likewise.
6491 * math/e_scalbl.c: Likewise.
6492 * math/k_cosl.c: Likewise.
6493 * math/k_sinl.c: Likewise.
6494 * math/k_tanl.c: Likewise.
6495 * math/s_cacoshf.c: Likewise.
6496 * math/s_catan.c: Likewise.
6497 * math/s_catanf.c: Likewise.
6498 * math/s_catanh.c: Likewise.
6499 * math/s_catanhf.c: Likewise.
6500 * math/s_catanhl.c: Likewise.
6501 * math/s_catanl.c: Likewise.
6502 * math/s_ccosh.c: Likewise.
6503 * math/s_ccoshf.c: Likewise.
6504 * math/s_ccoshl.c: Likewise.
6505 * math/s_cexp.c: Likewise.
6506 * math/s_cexpf.c: Likewise.
6507 * math/s_cexpl.c: Likewise.
6508 * math/s_clog.c: Likewise.
6509 * math/s_clog10.c: Likewise.
6510 * math/s_clog10f.c: Likewise.
6511 * math/s_clog10l.c: Likewise.
6512 * math/s_clogf.c: Likewise.
6513 * math/s_clogl.c: Likewise.
6514 * math/s_csin.c: Likewise.
6515 * math/s_csinf.c: Likewise.
6516 * math/s_csinh.c: Likewise.
6517 * math/s_csinhf.c: Likewise.
6518 * math/s_csinhl.c: Likewise.
6519 * math/s_csinl.c: Likewise.
6520 * math/s_csqrt.c: Likewise.
6521 * math/s_csqrtf.c: Likewise.
6522 * math/s_csqrtl.c: Likewise.
6523 * math/s_ctan.c: Likewise.
6524 * math/s_ctanf.c: Likewise.
6525 * math/s_ctanh.c: Likewise.
6526 * math/s_ctanhf.c: Likewise.
6527 * math/s_ctanhl.c: Likewise.
6528 * math/s_ctanl.c: Likewise.
6529 * math/s_ldexp.c: Likewise.
6530 * math/s_ldexpf.c: Likewise.
6531 * math/s_ldexpl.c: Likewise.
6532 * math/s_significand.c: Likewise.
6533 * math/s_significandf.c: Likewise.
6534 * math/s_significandl.c: Likewise.
6535 * math/w_acos.c: Likewise.
6536 * math/w_acosf.c: Likewise.
6537 * math/w_acosh.c: Likewise.
6538 * math/w_acoshf.c: Likewise.
6539 * math/w_acoshl.c: Likewise.
6540 * math/w_acosl.c: Likewise.
6541 * math/w_asin.c: Likewise.
6542 * math/w_asinf.c: Likewise.
6543 * math/w_asinl.c: Likewise.
6544 * math/w_atan2.c: Likewise.
6545 * math/w_atan2f.c: Likewise.
6546 * math/w_atan2l.c: Likewise.
6547 * math/w_atanh.c: Likewise.
6548 * math/w_atanhf.c: Likewise.
6549 * math/w_atanhl.c: Likewise.
6550 * math/w_cosh.c: Likewise.
6551 * math/w_coshf.c: Likewise.
6552 * math/w_coshl.c: Likewise.
6553 * math/w_dremf.c: Likewise.
6554 * math/w_exp10.c: Likewise.
6555 * math/w_exp10f.c: Likewise.
6556 * math/w_exp10l.c: Likewise.
6557 * math/w_exp2.c: Likewise.
6558 * math/w_exp2f.c: Likewise.
6559 * math/w_fmod.c: Likewise.
6560 * math/w_fmodf.c: Likewise.
6561 * math/w_fmodl.c: Likewise.
6562 * math/w_hypot.c: Likewise.
6563 * math/w_hypotf.c: Likewise.
6564 * math/w_hypotl.c: Likewise.
6565 * math/w_j0.c: Likewise.
6566 * math/w_j0f.c: Likewise.
6567 * math/w_j0l.c: Likewise.
6568 * math/w_j1.c: Likewise.
6569 * math/w_j1f.c: Likewise.
6570 * math/w_j1l.c: Likewise.
6571 * math/w_jn.c: Likewise.
6572 * math/w_jnf.c: Likewise.
6573 * math/w_jnl.c: Likewise.
6574 * math/w_lgamma.c: Likewise.
6575 * math/w_lgamma_r.c: Likewise.
6576 * math/w_lgammaf.c: Likewise.
6577 * math/w_lgammaf_r.c: Likewise.
6578 * math/w_lgammal.c: Likewise.
6579 * math/w_lgammal_r.c: Likewise.
6580 * math/w_log.c: Likewise.
6581 * math/w_log10.c: Likewise.
6582 * math/w_log10f.c: Likewise.
6583 * math/w_log10l.c: Likewise.
6584 * math/w_log2.c: Likewise.
6585 * math/w_log2f.c: Likewise.
6586 * math/w_log2l.c: Likewise.
6587 * math/w_logf.c: Likewise.
6588 * math/w_logl.c: Likewise.
6589 * math/w_pow.c: Likewise.
6590 * math/w_powf.c: Likewise.
6591 * math/w_powl.c: Likewise.
6592 * math/w_remainder.c: Likewise.
6593 * math/w_remainderf.c: Likewise.
6594 * math/w_remainderl.c: Likewise.
6595 * math/w_scalb.c: Likewise.
6596 * math/w_scalbf.c: Likewise.
6597 * math/w_scalbl.c: Likewise.
6598 * math/w_sinh.c: Likewise.
6599 * math/w_sinhf.c: Likewise.
6600 * math/w_sinhl.c: Likewise.
6601 * math/w_sqrt.c: Likewise.
6602 * math/w_sqrtf.c: Likewise.
6603 * math/w_sqrtl.c: Likewise.
6604 * math/w_tgamma.c: Likewise.
6605 * math/w_tgammaf.c: Likewise.
6606 * math/w_tgammal.c: Likewise.
6607
6a621eb7
UD
6608 * po/ja.po: Update from translation team.
6609
bf582445
AJ
66102011-09-29 Andreas Jaeger <aj@suse.de>
6611
f9efbf3a
AJ
6612 [BZ #13179]
6613 * sunrpc/netname.c (netname2host): Fix logic.
6614
bf582445
AJ
6615 [BZ #6779]
6616 [BZ #6783]
6617 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6618 correctly.
6619 * math/w_remainder.c (__remainder): Likewise.
6620 * math/w_remainderf.c (__remainderf): Likewise.
6621 * math/libm-test.inc (remainder_test): Add test cases.
6622
48693bea
AK
66232011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6624
6625 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6626 sdiv_qrnnd.
6627
42622229
LD
66282011-10-07 Ulrich Drepper <drepper@gmail.com>
6629
6630 * string/test-memcmp.c: Avoid unncessary #defines.
6631 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6632
093ecf92
LD
66332011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6634
6635 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6636 Use new sse2 version for core i3 - i7 as it's faster
6637 than sse42 version.
6638 (bit_Prefer_PMINUB_for_stringop): New.
6639 * sysdeps/x86_64/rawmemchr.S: Update.
6640 Replace with faster SSE2 version.
6641 * sysdeps/x86_64/memrchr.S: New file.
6642 * sysdeps/x86_64/memchr.S: Update.
6643 Replace with faster SSE2 version.
6644
fde56e5c
MP
66452011-09-12 Marek Polacek <mpolacek@redhat.com>
6646
6647 * elf/dl-load.c (lose): Add cast to avoid warning.
6648
21fd49a9
UD
66492011-10-07 Ulrich Drepper <drepper@gmail.com>
6650
5a06e643
UD
6651 * po/ca.po: Update from translation team.
6652
684ae515
UD
6653 * inet/getnetgrent_r.c: Hook up nscd.
6654 * nscd/Makefile (routines): Add nscd_netgroup.
6655 (nscd-modules): Add netgroupcache.
6656 (CFLAGS-netgroupcache.c): Define.
6657 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6658 (cache_search): Add const to second parameter.
6659 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6660 INNETGR.
6661 (dbs): Add netgrdb entry.
6662 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6663 (verify_persistent_db): Handle netgrdb.
6664 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6665 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6666 GETFDNETGR.
6667 (netgroup_response_header): Define.
6668 (innetgroup_response_header): Define.
6669 (datahead): Add netgroup_response_header and innetgroup_response_header
6670 elements.
6671 * nscd/nscd.conf: Add entries for netgroup cache.
6672 * nscd/nscd.h (dbtype): Add netgrdb.
6673 (_PATH_NSCD_NETGROUP_DB): Define.
6674 (netgroup_iov_disabled): Declare.
6675 (xmalloc, xcalloc, xrealloc): Move declarations here.
6676 (cache_search): Adjust prototype.
6677 Add netgroup-related prototypes.
6678 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6679 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6680 (__nscd_innetgr): Declare.
6681 * nscd/selinux.c (perms): Use access_vector_t as element type and
6682 add netgroup-related initializers.
6683 * nscd/netgroupcache.c: New file.
6684 * nscd/nscd_netgroup.c: New file.
6685 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6686 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6687 For four parameters use innetgr.
6688 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6689 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6690 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6691 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6692
21fd49a9
UD
6693 * nscd/connections.c (register_traced_file): Don't register file
6694 for disabled databases.
6695
054c0457
UD
66962011-10-06 Ulrich Drepper <drepper@gmail.com>
6697
32b63198
UD
6698 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6699
054c0457
UD
6700 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6701 from tree and freeing node.
6702
64031225
JO
67032011-09-25 Jiri Olsa <jolsa@redhat.com>
6704
6705 * nss/nsswitch.c (__nss_database_lookup): Handle
6706 nss_parse_service_list out of memory case.
6707
0490345c
JO
67082011-09-15 Jiri Olsa <jolsa@redhat.com>
6709
6710 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6711 out of memory case.
6712
3a62d00d
AS
67132011-10-04 Andreas Schwab <schwab@redhat.com>
6714
6715 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6716 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6717 pass it down.
6718 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6719 elf_machine_rela, elf_machine_lazy_rel.
6720 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6721 (ELF_DYNAMIC_DO_REL): Likewise.
6722 (ELF_DYNAMIC_DO_RELA): Likewise.
6723 (ELF_DYNAMIC_RELOCATE): Likewise.
6724 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6725 to ELF_DYNAMIC_DO_REL.
6726 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6727 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6728 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6729 elf_machine_rela.
6730 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6731 skip_ifunc, don't call ifunc function if non-zero.
6732 (elf_machine_rela): Likewise.
6733 (elf_machine_lazy_rel): Likewise.
6734 (elf_machine_lazy_rela): Likewise.
6735 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6736 (elf_machine_lazy_rel): Likewise.
6737 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6738 Likewise.
6739 (elf_machine_lazy_rel): Likewise.
6740 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6741 Likewise.
6742 (elf_machine_lazy_rel): Likewise.
6743 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6744 (elf_machine_lazy_rel): Likewise.
6745 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6746 (elf_machine_lazy_rel): Likewise.
6747 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6748 (elf_machine_lazy_rel): Likewise.
6749 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6750 (elf_machine_lazy_rel): Likewise.
6751 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6752 (elf_machine_lazy_rel): Likewise.
6753 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6754 (elf_machine_lazy_rel): Likewise.
6755
68577918
UD
67562011-09-28 Ulrich Drepper <drepper@gmail.com>
6757
6758 * nss/nss_files/files-init.c (_nss_files_init): Use static
6759 initialization for all the *_traced_file variables.
6760
68822d74
AS
67612011-09-28 Andreas Schwab <schwab@redhat.com>
6762
6763 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6764
2056100b
RM
67652011-09-27 Roland McGrath <roland@hack.frob.com>
6766
6767 [BZ #13226]
6768 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6769
32c76b63
AS
67702011-09-27 Andreas Schwab <schwab@redhat.com>
6771
6772 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6773 Reread the line before reparsing it.
6774
bf972c9d
AS
67752011-09-26 Andreas Schwab <schwab@redhat.com>
6776
6777 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6778
e057a1b5
JM
67792011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6780 Maxim Kuvyrkov <maxim@codesourcery.com>
6781 Joseph Myers <joseph@codesourcery.com>
6782
6783 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6784 if needed for __stack_chk_guard.
6785
bc7e1c36
RM
67862011-09-19 Roland McGrath <roland@hack.frob.com>
6787
ecb1482f
RM
6788 * sysdeps/posix/spawni.c (script_execute): Always define it.
6789 It will be optimized away if unused.
6790 (maybe_script_execute): New function.
6791 (__spawni): Call it.
6792
bc7e1c36
RM
6793 * Makerules: Don't include tls.make.
6794 (config-tls): Always set to thread.
6795 * tls.make.c: File removed.
6796
1c3b002b
MF
67972011-09-19 Mike Frysinger <vapier@gentoo.org>
6798
6799 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6800 * config.make.in (CPPFLAGS-config): New substituted variable.
6801
2840865d
UD
68022011-09-15 Ulrich Drepper <drepper@gmail.com>
6803
88738eb6
UD
6804 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6805
cbf645a6 6806 [BZ #13192]
2840865d
UD
6807 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6808 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6809
b402e91a
RM
68102011-09-15 Roland McGrath <roland@hack.frob.com>
6811
6812 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6813 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6814 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6815 (CALL_FAIL): Likewise.
6816 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6817 (CALL_FAIL): Macro removed.
6818 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
6819
4c1a1f71
UD
68202011-09-15 Ulrich Drepper <drepper@gmail.com>
6821
6822 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
6823 for __FINITE_MATH_ONLY__ == 1.
6824
edc121be
AS
68252011-09-15 Andreas Schwab <schwab@redhat.com>
6826
6827 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
6828 __ieee754_sqrt instead of sqrt.
6829 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
6830 __ieee754_sqrtf instead of sqrtf.
6831 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6832 __floorf instead of floorf.
6833 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
6834 __floorf, __truncf instead of floorf, truncf.
6835
cd205654
UD
68362011-09-14 Ulrich Drepper <drepper@gmail.com>
6837
ee4d0315
UD
6838 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
6839
cd205654
UD
6840 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
6841 __extern_always_inline.
6842 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
6843 32-bit.
6844
48b67d71
AS
68452011-09-14 Andreas Schwab <schwab@redhat.com>
6846
6847 * elf/rtld.c (dl_main): Also relocate in dependency order when
6848 doing symbol dependency testing.
6849
1ae12c75
AS
68502011-09-13 Andreas Schwab <schwab@linux-m68k.org>
6851
6852 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6853 Always define `refsym'.
6854
995a80df
AS
68552011-09-13 Andreas Schwab <schwab@redhat.com>
6856
e529793b
AS
6857 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
6858 (__FD_ELT): Renamed from __FDELT.
6859 * misc/bits/select2.h (__FD_ELT): Likewise.
6860 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
6861 __FD_MASK instead of __FDELT, __FDMASK.
6862 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6863 Likewise.
6864 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6865 Likewise.
6866
52d4fef8
AS
6867 * elf/Makefile (gen-ldd): Fix pattern.
6868
995a80df
AS
6869 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
6870 (init_tls): Likewise.
6871
8682f8b0
UD
68722011-09-12 Ulrich Drepper <drepper@gmail.com>
6873
6874 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
6875
de82006d
AS
68762011-09-12 Andreas Schwab <schwab@redhat.com>
6877
a7c8e6a1
AS
6878 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
6879 `struct cmsghdr *' instead of `void *'.
6880 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
6881 Likewise.
6882
0f31fe77
AS
68832011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6884
6885 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
6886 if non-absolute.
6887 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
6888 ldd_rewrite_script.
0f31fe77 6889
32b4c839
UD
68902011-09-11 Ulrich Drepper <drepper@gmail.com>
6891
83cd1420
UD
6892 * configure.in: Remove --with-tls option.
6893 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
6894 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
6895 out in case it is missing.
6896 * sysdeps/ia64/elf/configure.in: Likewise.
6897 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
6898 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
6899 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
6900 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
6901 * sysdeps/sh/elf/configure.in: Likewise.
6902 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
6903 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6904 * sysdeps/x86_64/elf/configure.in: Likewise.
6905 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
6906 * sysdeps/mach/hurd/tls.h: Likewise.
6907
633f745d
UD
6908 [BZ #13067]
6909 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
6910
f318beb8
UD
6911 [BZ #13090]
6912 * configure.in: Fix use of AC_INIT.
6913
32b4c839
UD
6914 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
6915
3ce1f295
UD
69162011-09-10 Ulrich Drepper <drepper@gmail.com>
6917
bb016596
UD
6918 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
6919 __set_errno.
8e58439c
UD
6920 * malloc/hooks.c: Likewise.
6921
aebae053 6922 [BZ #11929]
02d46fc4
UD
6923 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
6924 variables statically.
6925 (narenas): Initialize.
6926 (list_lock): Initialize.
bb016596
UD
6927 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
6928 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
6929 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
6930 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
6931 Add initializers to main_arena and mp_.
6932 (malloc_state): Remove pagesize member. Change all users to use
6933 GLRO(dl_pagesize).
6934
6935 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
6936 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
6937 is always initialized.
6938
22a89187
UD
6939 * malloc/malloc.c: Removed unused configurations and dead code.
6940 * malloc/arena.c: Likewise.
6941 * malloc/hooks.c: Likewise.
02d46fc4 6942 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 6943
d063d164
UD
6944 * include/tls.h: Removed. USE___THREAD must always be defined.
6945 * bits/libc-tsd.h: Don't handle !USE___THREAD.
6946 * elf/dl-libc.c: Likewise.
6947 * elf/dl-tsd.c: Likewise.
6948 * include/errno.h: Likewise.
6949 * include/netdb.h: Likewise.
6950 * include/resolv.h: Likewise.
6951 * inet/herrno-loc.c: Likewise.
6952 * inet/herrno.c: Likewise.
6953 * malloc/arena.c: Likewise.
6954 * malloc/hooks.c: Likewise.
6955 * malloc/malloc.c: Likewise.
6956 * resolv/res-state.c: Likewise.
6957 * resolv/res_libc.c: Likewise.
6958 * sysdeps/i386/dl-machine.h: Likewise.
6959 * sysdeps/ia64/dl-machine.h: Likewise.
6960 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6961 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6962 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6963 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6964 * sysdeps/sh/dl-machine.h: Likewise.
6965 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6966 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6967 * sysdeps/unix/i386/sysdep.S: Likewise.
6968 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6969 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6970 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6971 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6972 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6973 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6974 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6975 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6976 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6977 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6978 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6979 * sysdeps/x86_64/dl-machine.h: Likewise.
6980 * tls.make.c: Likewise.
6981
3ce1f295
UD
6982 * configure.in: Remove --with-__thread option. Make tests for
6983 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
6984 tls_model attribute fail if no support is available. Remove
6985 USE_IN_LIBIO.
6986 * Makeconfig: Adjust for dropped configure option. All features are
6987 now mandatory.
6988 * Makerules: Likewise.
6989 * Versions.def: Likewise.
6990 * argp/argp-fmtstream.c: Likewise.
6991 * argp/argp-fmtstream.h: Likewise.
6992 * argp/argp-help.c: Likewise.
6993 * assert/assert.c: Likewise.
6994 * config.h.in: Likewise.
6995 * config.make.in: Likewise.
6996 * configure: Likewise.
6997 * configure.in: Likewise.
6998 * csu/Versions: Likewise.
6999 * csu/init.c: Likewise.
7000 * elf/tst-audit2.c: Likewise.
7001 * elf/tst-tls10.c: Likewise.
7002 * elf/tst-tls10.h: Likewise.
7003 * elf/tst-tls11.c: Likewise.
7004 * elf/tst-tls12.c: Likewise.
7005 * elf/tst-tls14.c: Likewise.
7006 * elf/tst-tlsmod11.c: Likewise.
7007 * elf/tst-tlsmod12.c: Likewise.
7008 * elf/tst-tlsmod13.c: Likewise.
7009 * elf/tst-tlsmod13a.c: Likewise.
7010 * elf/tst-tlsmod14a.c: Likewise.
7011 * elf/tst-tlsmod15b.c: Likewise.
7012 * elf/tst-tlsmod16a.c: Likewise.
7013 * elf/tst-tlsmod16b.c: Likewise.
7014 * elf/tst-tlsmod7.c: Likewise.
7015 * elf/tst-tlsmod8.c: Likewise.
7016 * elf/tst-tlsmod9.c: Likewise.
7017 * gmon/gmon.c: Likewise.
7018 * grp/fgetgrent_r.c: Likewise.
7019 * grp/putgrent.c: Likewise.
7020 * hurd/fopenport.c: Likewise.
7021 * include/libc-symbols.h: Likewise.
7022 * include/tls.h: Likewise.
7023 * intl/gettextP.h: Likewise.
7024 * intl/loadinfo.h: Likewise.
7025 * locale/global-locale.c: Likewise.
7026 * locale/localeinfo.h: Likewise.
7027 * mach/devstream.c: Likewise.
7028 * malloc/arena.c: Likewise.
7029 * malloc/set-freeres.c: Likewise.
7030 * misc/err.c: Likewise.
7031 * misc/getttyent.c: Likewise.
7032 * misc/mntent_r.c: Likewise.
7033 * posix/getopt.c: Likewise.
7034 * posix/wordexp.c: Likewise.
7035 * pwd/fgetpwent_r.c: Likewise.
7036 * resolv/Versions: Likewise.
7037 * resolv/res_hconf.c: Likewise.
7038 * shadow/fgetspent_r.c: Likewise.
7039 * shadow/putspent.c: Likewise.
7040 * stdio-common/printf_fphex.c: Likewise.
7041 * stdio-common/tmpfile.c: Likewise.
7042 * stdlib/abort.c: Likewise.
7043 * stdlib/fmtmsg.c: Likewise.
7044 * sunrpc/auth_unix.c: Likewise.
7045 * sunrpc/clnt_perr.c: Likewise.
7046 * sunrpc/clnt_tcp.c: Likewise.
7047 * sunrpc/clnt_udp.c: Likewise.
7048 * sunrpc/clnt_unix.c: Likewise.
7049 * sunrpc/openchild.c: Likewise.
7050 * sunrpc/svc_simple.c: Likewise.
7051 * sunrpc/svc_tcp.c: Likewise.
7052 * sunrpc/svc_udp.c: Likewise.
7053 * sunrpc/svc_unix.c: Likewise.
7054 * sunrpc/xdr.c: Likewise.
7055 * sunrpc/xdr_array.c: Likewise.
7056 * sunrpc/xdr_rec.c: Likewise.
7057 * sunrpc/xdr_ref.c: Likewise.
7058 * sunrpc/xdr_stdio.c: Likewise.
7059
1248c1c4
PB
70602011-09-09 Ulrich Drepper <drepper@gmail.com>
7061
7062 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7063
70642011-07-03 Andreas Jaeger <aj@suse.de>
7065
7066 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7067 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7068 regenerate with gen-libm-tests.pl.
7069
70702010-05-12 Petr Baudis <pasky@suse.cz>
7071
7072 [BZ #11589]
7073 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7074 around j0() zero points by switching to j1().
7075 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7076 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7077 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7078 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7079
f22e1074
UD
70802011-09-09 Ulrich Drepper <drepper@gmail.com>
7081
f19009c1
UD
7082 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7083 instead of 0.
7084 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7085 instead of 0. .
7086 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7087 Patch in part by Pavel Roskin <proski@gnu.org>.
7088
3f8cc204
UD
7089 [BZ #13138]
7090 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7091 realloc.
7092 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
7093 Free memory block if necessary.
7094
f22e1074
UD
7095 [BZ #12847]
7096 * libio/genops.c (INTDEF): For string streams the _lock pointer can
7097 be NULL. Don't lock in this case.
7098
0a2349f9
RM
70992011-09-09 Roland McGrath <roland@hack.frob.com>
7100
7101 * elf/elf.h (ELFOSABI_GNU): New macro.
7102 (ELFOSABI_LINUX): Define to that.
7103
f3cdd467
DZ
71042011-07-29 Denis Zaitceff <zaitceff@gmail.com>
7105
7106 * string/strncat.c (strncat): Undef the symbol in case it has been
7107 defined in bits/string.h.
7108
74718d13
UD
71092011-09-09 Ulrich Drepper <drepper@gmail.com>
7110
633e9e0f
UD
7111 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7112
0a2349f9 7113 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
7114 link map.
7115
f9924780
AJ
71162011-08-17 Andreas Jaeger <aj@suse.de>
7117
7118 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7119
7f5517aa
PP
71202011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7121 Ian Lance Taylor <iant@google.com>
7122
7123 * math/libm-test.inc (lround_test): New testcase.
7124 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7125
762011fe
UD
71262011-09-08 Ulrich Drepper <drepper@gmail.com>
7127
92963737
UD
7128 * Makefile: Remove support for automatic cvs check-ins.
7129 * Makerules: Likewise.
7130 * config.make.in: Likewise.
7131 * configure.in: Likewise.
7132 * intl/Makefile: Likewise.
7133 * locale/Makefile: Likewise.
7134 * po/Makefile: Likewise.
7135 * posix/Makefile: Likewise.
7136 * sysdeps/gnu/Makefile: Likewise.
7137 * sysdeps/mach/hurd/Makefile: Likewise.
7138 * sysdeps/sparc/sparc32/Makefile: Likewise.
7139
b0727fd8
JS
7140 [BZ #13118]
7141 * posix/Makefile (bug-regex32-ENV): Define.
7142 Patch by John Stanley <jpsinthemix@verizon.net>.
7143
a0f33f99
UD
7144 * misc/Makefile (headers): Add bits/select2.h.
7145 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7146 * misc/bits/select2.h: New file.
7147 * include/bits/select2.h: New file.
7148 * debug/Makefile (routines): Add fdelt_chk.
7149 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7150 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7151 FD_ISSET.
7152 * debug/fdelt_chk.c: New file.
7153
762011fe
UD
7154 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
7155 * wcsmbs/test-wmemcmp.c: Likewise.
7156 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 7157 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
7158
71592011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7160
7161 * string/Makefile (strop-tests): Add memcmp.
7162 * string/test-wmemcmp.c: New file.
7163 * string/test-memcmp.c: Add wmemcmp support.
7164
7f513ec8
RM
71652011-09-08 Roland McGrath <roland@hack.frob.com>
7166
0442afb4
RM
7167 [BZ #13153]
7168 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7169 2011-07-19 change.
7170
7f513ec8
RM
7171 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7172 garbage value in a __mach_port_mod_refs call in the cases of the
7173 task-self and thread-self ports.
7174
a12b2239
ST
71752011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7176
7177 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7178
610f9ab4
AS
71792011-09-08 Andreas Schwab <schwab@redhat.com>
7180
7f513ec8 7181 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 7182
48882a1a
LD
71832011-09-07 Ulrich Drepper <drepper@gmail.com>
7184
b49865be
UD
7185 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7186
fdc86bc9
UD
7187 * elf/dl-libc.c (dlerror_run): Pass back error code from
7188 dl_catch_error.
7189
c966526a
UD
7190 [BZ #13123]
7191 * elf/dl-load.c (lose): Free l_origin if it is valid.
7192
48882a1a
LD
7193 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7194 names.
7195 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7196 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7197 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7198 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7199 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7200 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7201
77a2a8b4
AZ
72022011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7203
7204 * sysdeps/powerpc/fpu/e_hypot.c: New file.
7205 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7206 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7207 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7208 * sysdeps/powerpc/fpu/k_cosf.c: New file.
7209 * sysdeps/powerpc/fpu/k_sinf.c: New file.
7210 * sysdeps/powerpc/fpu/s_cosf.c: New file.
7211 * sysdeps/powerpc/fpu/s_sinf.c: New file.
7212 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7213 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7214
24f579d8
AM
72152011-08-15 Alan Modra <amodra@gmail.com>
7216
7217 [BZ #13092]
7218 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7219 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7220 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
7221 ppc_mcount to static-only-routines.
7222 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7223 __mcount_internal.
7224 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7225 __mcount_internal with usual JUMPTARGET. Remove useless nop.
7226
3d4837df
UD
72272011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7228
7229 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7230 for finite and infinity parameters.
7231
22700377
WS
72322011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7233
7234 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7235 and add nop instructions for throughput optimization.
7236 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7237
5025581e
WS
72382011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7239
7240 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7241 aligned copy for power7 with vector-scalar instructions.
7242 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7243
08a300c9
L
72442011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7245
7246 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7247 AVX check.
7248
59178ef9
AS
72492011-09-07 Andreas Schwab <schwab@redhat.com>
7250
7251 [BZ #13144]
7252 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7253 last change.
7254
e38ba7ab
UD
72552011-09-07 Ulrich Drepper <drepper@gmail.com>
7256
7257 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7258 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7259 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7260 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7261 clock_gettime.
7262
d53a73ac
UD
72632011-09-06 Ulrich Drepper <drepper@gmail.com>
7264
fc8bffcc
UD
7265 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7266 Forgot to demangle the pointer.
7267
ceaa0c5d
UD
7268 * sysdeps/i386/sysdep.h: Define atom_text_section.
7269 * sysdeps/x86_64/sysdep.h: Likewise.
7270 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7271 section with atom_text_section.
7272 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7273 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7274 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7275 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7276 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7277
a77d3c17
UD
7278 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7279 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7280 already be defined. Change to take two parameters and don't assign
7281 result to variable. Adjust all users.
7282 Define INTERNAL_GETTIME if not already defined.
7283 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7284 call.
7285 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7286 HAVE_CLOCK_GETTIME_VSYSCALL.
7287 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7288
d53a73ac
UD
7289 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7290 gettimeofday vsyscall, just use time.
7291
a8f84144
AS
72922011-09-06 Andreas Schwab <schwab@redhat.com>
7293
7294 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7295 <errno.h>.
7296
ef606249
UD
72972011-09-06 Ulrich Drepper <drepper@gmail.com>
7298
7299 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7300 syscall on x86-64.
7301 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7302 syscall.
7303 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7304 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7305 syscall if possible.
7306
6585cb60
UD
73072011-09-05 Ulrich Drepper <drepper@gmail.com>
7308
7309 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7310 e_ident. Don't pass to find_mapsXX.
7311 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7312
a5f524e4
LD
73132011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7314
7315 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7316 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7317 * sysdeps/x86_64/multiarch/strchr.S: Update.
7318 Check bit_slow_BSF bit.
7319 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7320 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7321 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7322
554881ef
UD
73232011-09-05 Ulrich Drepper <drepper@gmail.com>
7324
d96de963
UD
7325 [BZ #13134]
7326 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7327 before glibc 2.15.
7328 (tryshell): Define.
7329 (__spawni): Change last parameter to be flag. Test
7330 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7331 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7332 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7333 * posix/spawni.c: Likewise.
7334 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7335 * posix/spawnp.c: Likewise. Change normal version to use
7336 SPAWN_XFLAGS_USE_PATH.
7337 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7338 SPAWN_XFLAGS_TRY_SHELL.
7339
d48e5868
UD
7340 [BZ #13150]
7341 * posix/glob.h: Remove gcc 1.x support.
7342
554881ef
UD
7343 [BZ #13068]
7344 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7345
693fb948
LD
73462011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7347
7348 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7349 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7350 strrchr-sse2-bsf
7351 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7352 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7353 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7354 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7355 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7356 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7357
1b48c537
UD
73582011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7359
49d42c37
UD
7360 * sysdeps/x86_64/wcscmp.S: New file.
7361
1b48c537
UD
7362 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7363 wcscmp-c wcscmp-sse2
7364 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7365 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7366 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7367 * wcsmbs/wcscmp.c: Allow renaming.
7368
15c95c5d
DM
73692011-09-05 David S. Miller <davem@davemloft.net>
7370
7371 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7372 stack slot, rather than the struct return pointer slot.
7373 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7374 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7376 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7377
2f0ad8f3
UD
73782011-09-05 Ulrich Drepper <drepper@gmail.com>
7379
d88ae418
UD
7380 * po/ja.po: Update from translation team.
7381
2f0ad8f3
UD
7382 [BZ #13144]
7383 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7384 kernel in 64-bit binaries.
7385
5f4318d1
DM
73862011-09-01 David S. Miller <davem@davemloft.net>
7387
7388 * elf/elf.h (HWCAP_SPARC_*): Move to..
7389 * sysdeps/sparc/sysdep.h: this new file and add new values.
7390 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7391 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7392 _DL_HWCAP_COUNT to 24.
7393 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7394 entries.
7395 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7396 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7397 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7398 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7399 instead of magic constants.
7400 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7401
3ba57516
DM
74022011-08-31 David S. Miller <davem@davemloft.net>
7403
7404 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7405 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7406 Reimplement to do errno handling inline.
7407 (SYSCALL_ERROR_HANDLER): New macro.
7408 (__SYSCALL_STRING): Do not do errno handling in asm.
7409 (__CLONE_SYSCALL_STRING): Delete.
7410 (__INTERNAL_SYSCALL_STRING): Delete.
7411 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7412 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7413 (PSEUDO): Reimplement to do errno handling inline.
7414 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7415 (SYSCALL_ERROR_HANDLER): New macro.
7416 (__SYSCALL_STRING): Do not do errno handling in asm.
7417 (__CLONE_SYSCALL_STRING): Delete.
7418 (__INTERNAL_SYSCALL_STRING): Delete.
7419 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7420 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7421 i386.
7422 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7423 (inline_syscall*): Add 'err' argument.
7424 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7425 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7426 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7427 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7428
7429 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7430 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7431
2bc17433
AS
74322011-08-30 Andreas Schwab <schwab@redhat.com>
7433
7434 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7435
fbeb5f4d
JO
74362011-08-29 Jiri Olsa <jolsa@redhat.com>
7437
7438 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7439 directive.
7440
ad69cc26
DM
74412011-08-24 David S. Miller <davem@davemloft.net>
7442
7443 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7444
39dd69df
AS
74452011-08-24 Andreas Schwab <schwab@redhat.com>
7446
7447 * elf/Makefile: Add rules to build and run unload8 test.
7448 * elf/unload8.c: New file.
7449 * elf/unload8mod1.c: New file.
7450 * elf/unload8mod1x.c: New file.
7451 * elf/unload8mod2.c: New file.
7452 * elf/unload8mod3.c: New file.
7453
7454 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7455 it wasn't used.
7456
2c0b250a
DM
74572011-08-23 David S. Miller <davem@davemloft.net>
7458
7459 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7460 subtract stack bias.
7461 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7462 %sp not %fp in calculations.
7463 (_JMPBUF_UNWINDS_ADJ): Likewise.
7464
22044b48
DM
7465 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7466 (aio_suspend): Call it to force an exception region around the
7467 AIO_MISC_WAIT() invocation.
7468
2cae4995
AS
74692011-08-23 Andreas Schwab <schwab@redhat.com>
7470
7471 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7472 backslash.
7473
873a772e
AJ
74742011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7475
7476 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7477 protection macro.
7478 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7479 and <dl-machine.h>.
7480 (Elf64_FuncDesc): Remove.
7481
25ad0df1
DM
74822011-08-22 David S. Miller <davem@davemloft.net>
7483
7484 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7485 sigaltstack check, add missing cfi directives.
7486 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7487 missing cfi directives, and sigaltstack handling.
7488
e888bcbe
AS
74892011-08-16 Andreas Schwab <schwab@redhat.com>
7490
7491 [BZ #11724]
7492 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7493 object is seen twice.
7494 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7495
7496 * elf/Makefile (distribute): Add tst-initorder2.c.
7497 (tests): Add tst-initorder2.
7498 (modules-names): Add tst-initorder2a tst-initorder2b
7499 tst-initorder2c tst-initorder2d. Add rules to build them.
7500 ($(objpfx)tst-initorder2.out): New rule.
7501 * elf/tst-initorder2.c: New file.
7502 * elf/tst-initorder2.exp: New file.
7503
87162f46
AS
75042011-08-22 Andreas Schwab <schwab@redhat.com>
7505
70538b7f
AS
7506 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7507
f55ffe58
AS
7508 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7509 dependencies back to end of function.
7510
87162f46
AS
7511 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7512 $(elfobjdir)/ld.so.
7513
91b392a4
UD
75142011-08-21 Ulrich Drepper <drepper@gmail.com>
7515
7516 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7517 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7518 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7519 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7520 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7521 of __vdso_gettimeofday.
7522 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7523 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7524 attribute_hidden.
7525 (_libc_vdso_platform_setup): Remove initialization of
7526 __vdso_gettimeofday and __vdso_time.
7527
5c43483f
UD
75282011-08-20 Ulrich Drepper <drepper@gmail.com>
7529
775a77e7
UD
7530 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7531 and fgetc_unlocked.
7532 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7533 getc_unlocked.
89f447ed 7534
49c74ba9
UD
7535 * elf/dl-open.c (add_to_global): Report additions to the global scope
7536 for LD_DEBUG=scopes.
7537 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 7538 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 7539
5c43483f
UD
7540 [BZ #13114]
7541 * stdio-common/Makefile (tests): Add bug24.
7542 * stdio-common/bug24.c: New file.
7543
a101b025
AJ
75442011-08-19 Andreas Jaeger <aj@suse.de>
7545
7546 [BZ #13114]
7547 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7548 non-existant file when using close-on-exec mode.
7549
c88f1766
UD
75502011-08-20 Ulrich Drepper <drepper@gmail.com>
7551
0276a718
UD
7552 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7553 the very first instruction.
7554
c88f1766
UD
7555 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7556 the CFI state in the end.
7557 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7558 inclusion of dl-trampoline.h.
7559 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7560
51ccffa0
AS
75612011-08-19 Andreas Schwab <schwab@redhat.com>
7562
94d7165f
AS
7563 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7564 expectations for long double.
7565
51ccffa0
AS
7566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7567 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7568
fd708658 75692011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
7570
7571 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7572 artificual limit depends upon the system page size.
7573
44f0a71e
UD
75742011-08-17 Ulrich Drepper <drepper@gmail.com>
7575
7576 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7577 * resolv/Makefile: Define CFLAGS-libresolv.
7578
8de79a24
AS
75792011-08-17 Andreas Schwab <schwab@redhat.com>
7580
7581 * nss/makedb.c (compute_tables): Make variables used in nested
7582 function static.
7583
27724598
UD
75842011-08-17 Ulrich Drepper <drepper@gmail.com>
7585
c5305d88
UD
7586 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7587 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7588 if buffer was too small.
7589
27724598
UD
7590 * elf/pldd.c (main): Attach to all threads in the process.
7591 Rewrite /proc handling to use *at functions.
7592
076fe015
UD
75932011-08-16 Ulrich Drepper <drepper@gmail.com>
7594
174baab3
UD
7595 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7596 specifies first scope to show.
7597 (dl_open_worker): Update callers. Move printing scope of new
7598 object to before the relocation.
44f0a71e 7599 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
7600 * sysdeps/generic/ldsodefs.h: Update declaration.
7601
076fe015
UD
7602 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7603 string for the scope number.
7604
a60df2c3
UD
76052011-08-14 Ulrich Drepper <drepper@gmail.com>
7606
7607 * nscd/servicescache.c (cache_addserv): Make sure written is always
7608 initialized.
7609
5e4287d1
RM
76102011-08-14 Roland McGrath <roland@hack.frob.com>
7611
85ae0589
RM
7612 * sysdeps/i386/i486/bits/atomic.h
7613 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7614 statement expression, so as to suppress "set but not used" warning.
7615 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7616
69f63097
RM
7617 * string/strncat.c (STRNCAT): Use prototype definition.
7618
675456ef
RM
7619 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7620 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7621 -Iprograms here.
7622 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7623 (localedef-modules): Add localedef.
7624 (locale-modules): Add locale.
7625
5e4287d1
RM
7626 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7627 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7628 to avoid a warning.
7629
9c96ff23
DM
76302011-08-14 David S. Miller <davem@davemloft.net>
7631
7632 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7633 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7634
f9ddf089
UD
76352011-08-13 Ulrich Drepper <drepper@gmail.com>
7636
44f0a71e 7637 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
7638 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7639 * elf/rtld.c (dl_main): Set l_name of vDSO.
7640 Call _dl_show_scope when DL_DEBUG_SCOPES.
7641 (process_dl_debug): Recognize scopes flag and also set it for all.
7642 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7643 Declare _dl_show_scope.
7644
1dc27704
UD
7645 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7646 (do_dlopen): Pass caller_dlopen to dl_open.
7647 (__libc_dlopen_mode): Initialize caller_dlopen.
7648
f9ddf089
UD
7649 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7650 of libc. Make tolower call locale-independent. Optimize a bit by
7651 using isdigit instead of isalnum.
7652 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7653
9ac533d3
UD
76542011-08-12 Ulrich Drepper <drepper@gmail.com>
7655
7656 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7657 was a dependency or dynamically loaded.
7658
89edf2e9
UD
76592011-08-11 Ulrich Drepper <drepper@gmail.com>
7660
8e999d29
UD
7661 * intl/l10nflist.c: Allow architecture-specific pop function.
7662 * sysdeps/x86_64/l10nflist.c: New file.
7663
89edf2e9
UD
7664 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7665 classification.
7666
14d96785
AS
76672011-08-10 Andreas Schwab <schwab@redhat.com>
7668
7669 * include/dirent.h: Add libc_hidden_proto for scandirat and
7670 scandirat64. Don't declare __scandirat64.
7671 * dirent/scandirat.c: Add libc_hidden_def.
7672 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7673 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7674
6761ac04
DM
76752011-08-10 David S. Miller <davem@davemloft.net>
7676
7677 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7678 enum.
7679 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7680 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7681 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7682
c55fbd1e
UD
76832011-08-09 Ulrich Drepper <drepper@gmail.com>
7684
7685 * Versions.def [libc]: Add GLIBC_2.15.
7686 * dirent/Makefile (routines): Add scandirat and scandirat64.
7687 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7688 GLIBC_2.15.
7689 * dirent/dirent.h: Declare scandirat and scandirat64.
7690 * dirent/scandirat.c: New file.
7691 * dirent/scandirat64.c: New file.
7692 * sysdeps/wordsize-64/scandirat.c: New file.
7693 * sysdeps/wordsize-64/scandirat64.c: New file.
7694 * dirent/opendir.c: Define opendirat.
7695 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7696 using scandirat.
7697 * dirent/scandir64.c: Adjust for scandir.c change.
7698 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7699 __scandirat64, and __scandir_cancel_handler.
7700 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7701 additional parameter and use openat instead of open (outside of ld.so).
7702 Add new __opendir as wrapper around __opendirat.
7703 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7704 here without requiring old scandirat implementation.
7705
879165f2
UD
77062011-08-08 Ulrich Drepper <drepper@gmail.com>
7707
7708 * dirent/scandir.c (cancel_handler): Renamed to
7709 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7710 defined. Adjust users.
7711 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7712 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7713
cb7e923b
UD
77142011-08-04 Ulrich Drepper <drepper@gmail.com>
7715
16292edd
UD
7716 * string/test-string.h (IMPL): Use __STRING to expand name and then
7717 stringify it.
7718
cb7e923b
UD
7719 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7720 of cleanups.
7721
cff82933
LD
77222011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7723
7724 * string/Makefile: Update.
7725 (strop-tests): Append strncat.
7726 * string/test-wcscmp.c: New file.
7727 New comprehensive test for wcscmp.
7728 * string/test-strcmp.c: Update.
7729 (WIDE): New define.
7730
9be9bfcc
AS
77312011-07-22 Andreas Schwab <schwab@redhat.com>
7732
7733 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7734 line.
7735
2e96f1c7
AS
77362011-07-26 Andreas Schwab <schwab@redhat.com>
7737
7738 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7739 encoding to ACE if AI_IDN.
7740
85188888
JJ
77412011-08-01 Jakub Jelinek <jakub@redhat.com>
7742
7743 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7744 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7745
5fa16e9b
LD
77462011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7747
7748 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7749 Fix overflow bug in strncat.
7750 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7751
7752 * string/test-strncat.c: Update.
7753 Add new tests for checking overflow bugs.
7754
77552011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7756
7757 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7758 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7759 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7760 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7761 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7762 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7763 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7764 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7765 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7766
7767 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7768 (USE_AS_STRCAT): Define.
7769 Add strcat and strncat support.
7770 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7771
8c1a459f
AS
77722011-07-25 Andreas Schwab <schwab@redhat.com>
7773
7774 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7775 __n bigger than INT_MAX+1.
7776 (__strncmp_g): Likewise.
7777
bba33c28
UD
77782011-07-23 Ulrich Drepper <drepper@gmail.com>
7779
798be72d
UD
7780 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7781 * libio/stido.h: Likewise.
7782
8accd4dc
UD
7783 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7784 (AF_NFC): Define.
7785 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7786 (AF_NFC): Define.
7787
cbff0d96
UD
7788 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7789 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7790 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7791 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7792 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7793
9191c04a
UD
7794 [BZ #13021]
7795 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7796 installed.
7797
bba33c28
UD
7798 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7799 typo.
7800 (_dl_x86_64_save_sse): Likewise.
7801
90f139dd
UD
78022011-07-22 Ulrich Drepper <drepper@gmail.com>
7803
1aae088a
UD
7804 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7805 OSXSAVE.
7806 (_dl_x86_64_save_sse): Likewise.
7807
8e2045f5
UD
7808 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7809
90f139dd
UD
7810 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7811
1d002f25
AS
78122011-07-21 Andreas Schwab <schwab@redhat.com>
7813
7814 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7815 change.
7816 (_dl_x86_64_save_sse): Use correct AVX check.
7817
21137f89
UD
78182011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7819
7820 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
7821 bug in strncpy/strncat.
7822 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7823
a65c0b7a
UD
78242011-07-21 Ulrich Drepper <drepper@gmail.com>
7825
7826 * string/tester.c (test_strcat): Add tests for different alignments
7827 of source and destination.
7828 (test_strncat): Likewise.
7829
6986b98a
UD
78302011-07-20 Ulrich Drepper <drepper@gmail.com>
7831
90bb2039
UD
7832 [BZ #12852]
7833 * posix/glob.c (glob): Check passed in values before using them in
7834 expressions to avoid some overflows.
7835 (glob_in_dir): Likewise.
7836
5644ef54
UD
7837 [BZ #13007]
7838 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
7839 check for AVX enablement so that we don't crash with old kernels and
7840 new hardware.
7841 * elf/tst-audit4.c: Add same checks here.
7842 * elf/tst-audit6.c: Likewise.
7843
7844 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 7845
bfc9dc9b
AS
78462011-07-09 Andreas Schwab <schwab@linux-m68k.org>
7847
7848 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
7849
702e64bb
UD
78502011-07-20 Ulrich Drepper <drepper@gmail.com>
7851
7852 * po/cs.po: Update from translation team.
7853 * po/bg.po: Likewise.
7854
295e904f
MP
78552011-07-12 Marek Polacek <mpolacek@redhat.com>
7856
7857 * misc/sys/cdefs.h: Add support for const attribute.
7858 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
7859 to gnu_dev_{major,minor,makedev} functions.
7860
3ff94596
MP
78612011-07-20 Marek Polacek <mpolacek@redhat.com>
7862
7863 * intl/dcigettext.c (get_output_charset): Add missing bracket.
7864
28b59fca
AS
78652011-07-20 Andreas Schwab <schwab@redhat.com>
7866
7867 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
7868 strlen results.
7869
19df733e
AK
78702011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7871
7872 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7873 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
7874 register in order to avoid conflicts with the soft frame pointer
7875 being held in r11 when necessary.
7876 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7877 (INTERNAL_VSYSCALL_NCS): Likewise.
7878
c8835729
MP
78792011-07-14 Marek Polacek <mpolacek@redhat.com>
7880
7881 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
7882 * elf/dl-fini.c (_dl_fini): Adjust caller.
7883 * elf/dl-close.c (_dl_close_worker): Likewise.
7884 * sysdeps/generic/ldsodefs.h: Adjust declaration.
7885
b902330c
MP
78862011-07-15 Marek Polacek <mpolacek@redhat.com>
7887
8991e135
MP
7888 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
7889 "aux_cache->nlibs < 0".
7890
b902330c
MP
7891 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
7892 in the reload-count case.
7893
99710781
LD
78942011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7895
7896 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7897 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
7898 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
7899 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
7900 * sysdeps/x86_64/multiarch/strcat.S: New file.
7901 * sysdeps/x86_64/multiarch/strncat.S: New file.
7902 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
7903 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
7904 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
7905 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
7906 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
7907 (USE_AS_STRCAT): Define.
7908 Add strcat and strncat support.
7909 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7910 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7911 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
7912 * string/strncat.c: Update.
7913 (USE_AS_STRNCAT): Define.
7914 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7915 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
7916 and i7.
7917 * sysdeps/x86_64/multiarch/init-arch.h
7918 (bit_Prefer_PMINUB_for_stringop): New.
7919 (index_Prefer_PMINUB_for_stringop): Likewise.
7920 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
7921 bit_Prefer_PMINUB_for_stringop.
7922
7dc6bd90
UD
79232011-07-19 Ulrich Drepper <drepper@gmail.com>
7924
7925 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
7926 buffer64.
7927 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
7928 of casting of buffer.
7929 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
7930 buffer32 and buffer64.
7931 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
7932 writes instead of casting of buffer.
7933 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
7934 buffer32.
7935 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
7936 casting of buffer.
7937
e0e72284
AS
79382011-07-19 Andreas Schwab <schwab@redhat.com>
7939
7940 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
7941
feb1eb0b
UD
79422011-07-19 Ulrich Drepper <drepper@gmail.com>
7943
7944 * nscd/nscd.c (termination_handler): Don't do anything for a database
7945 if it has not yet been initialized.
7946
298711ff
UD
79472011-07-18 Ulrich Drepper <drepper@gmail.com>
7948
7949 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7950
79512011-07-15 Marek Polacek <mpolacek@redhat.com>
7952
7953 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7954
f9d68389
UD
79552011-07-18 Ulrich Drepper <drepper@gmail.com>
7956
7957 * po/nl.po: Update from translation team.
7958 * po/sv.po: Likewise.
7959
db290cf5
RM
79602011-07-16 Roland McGrath <roland@hack.frob.com>
7961
7962 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
7963 now disallowed by GCC.
5c550700 7964
fd5e21c7
RM
7965 * configure.in (use-default-link): Default to yes if a test -shared
7966 link meets our qualifications.
7967 * configure: Regenerated.
7968
5c550700
RM
7969 * config.make.in (output-format): New variable.
7970 * configure.in: Check for ld --print-output-format support.
7971 * configure: Regenerated.
7972 * Makerules ($(common-objpfx)format.lds)
7973 [$(output-format) != unknown]: Just use $(output-format),
7974 instead of the linker-script munging.
7975
9fa2c032
RM
79762011-07-14 Roland McGrath <roland@hack.frob.com>
7977
a6928d51
RM
7978 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
7979 of $(common-objpfx)shlib.lds.
7980 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
7981
661607b3
RM
7982 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
7983 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
7984
9fa2c032
RM
7985 * configure.in (-z relro check): Adjust test code to add a large
7986 writable data section after it.
7987 * configure: Regenerated.
7988
defe9061
RM
79892011-07-11 Roland McGrath <roland@hack.frob.com>
7990
7991 * configure.in (-z relro check): Fix test code to make the variable
7992 truly const.
7993 * configure: Regenerated.
7994
319b9ad4
UD
79952011-07-11 Ulrich Drepper <drepper@gmail.com>
7996
7997 * nscd/nscd.h (struct traced_file): Define.
7998 (struct database_dyn): Remove inotify_descr, reset_res, and filename
7999 elements. Add traced_files.
8000 (inotify_fd): Declare.
8001 (register_traced_file): Declare.
8002 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
8003 (inotify_fd): Export.
8004 (resolv_conf_descr): Remove.
8005 (nscd_init): Move inotify descriptor creation to main.
8006 Don't register files for notification here.
8007 (register_traced_file): New function.
8008 (invalidate_cache): Don't use reset_res to determine whether to call
8009 res_init, go through the list of registered files.
8010 (main_loop_poll): The inotify descriptors are now stored in the
8011 structures for the traced files.
8012 (main_loop_epoll): Likewise
8013 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
8014 to __nss_disable_nscd.
8015 * nscd/cache.c (prune_cache): There is no single inotify descriptor
8016 for a database anymore. Check the records for all the registered
8017 files instead.
8018 * nss/Makefile (libnss_files-routines): Add files-init.
8019 (libnss_db-routines): Add db-init.
8020 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8021 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8022 * nss/nss_db/db-init.c: New file.
8023 * nss/nss_files/files-init.c: New file.
8024 * nss/nsswitch.c (nss_load_library): New function. Broken out of
8025 __nss_lookup_function.
8026 (__nss_lookup_function): Call nss_load_library.
8027 (nss_load_all_libraries): New function.
8028 (__nss_disable_nscd): Take parameter with callback function for files
8029 to register. Set is_nscd. Load all the DSOs for the NSS modules
8030 used for the cached services.
8031 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8032 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8033 options for features to all the files in nscd.
8034
8035 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8036
23bee3e8
RM
80372011-07-10 Roland McGrath <roland@hack.frob.com>
8038
8039 * csu/elf-init.c (__libc_csu_init): Comment typo.
8040
46a5b7f0
UD
80412011-07-09 Ulrich Drepper <drepper@gmail.com>
8042
8043 * po/pl.po: Update from translation team.
8044 * po/ja.po: Likewise.
8045 * po/ru.po: Likewise.
8046 * po/ko.po: Likewise.
8047 * po/fr.po: Likewise.
8048
d30cf5bb
RM
80492011-07-09 Roland McGrath <roland@hack.frob.com>
8050
113ddea4
RM
8051 * configure.in (.ctors/.dtors header and trailer check):
8052 Use an empirical test on a built program.
8053 * configure: Regenerated.
8054
574920b4
RM
8055 * configure.in (-z relro check): Use an empirical test on a built DSO.
8056 Detect, but do not require, on ia64.
8057 * configure: Regenerated.
8058
d30cf5bb
RM
8059 * configure.in (READELF): Find it with AC_CHECK_TOOL.
8060 Update tests that use readelf to use $READELF instead.
8061 * configure: Regenerated.
8062
8538fdb3
UD
80632011-07-08 Ulrich Drepper <drepper@gmail.com>
8064
8065 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8066 if the result is not used.
8067
04d08991
AJ
80682011-07-05 Andreas Jaeger <aj@suse.de>
8069
8070 [BZ#9696]
8071 * stdlib/tst-strtod.c: Add testcase.
8072
de283087
AD
80732011-07-07 Ulrich Drepper <drepper@gmail.com>
8074
4e5f31c8 8075 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 8076 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
8077 The latter has a higher limit. Take additional parameter to pass to
8078 the new function.
8079 (__pathconf): Pass file to __statfs_link_max.
8080 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8081 __statfs_link_max.
8082 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8083 __statfs_link_max.
8084
de283087
AD
8085 [BZ #12868]
8086 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8087 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8088 Handle Lustre.
8089 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8090 (__statfs_filesize_max): Likewise.
8091 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8092
c75fa153
AJ
80932011-07-05 Andreas Jaeger <aj@suse.de>
8094
8095 * resolv/res_comp.c (dn_skipname): Remove unused variable.
8096
1a544854
UD
80972011-07-06 Marek Polacek <mpolacek@redhat.com>
8098
8099 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8100 `status' variable.
8101 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8102 Likewise.
8103
6f0eec67
UD
81042011-07-04 H.J. Lu <hongjiu.lu@intel.com>
8105
8106 * Makefile (strop-tests): Add strncat.
8107 * string/test-strncat.c: New file.
8108
aae30307
UD
81092011-06-30 Marek Polacek <mpolacek@redhat.com>
8110
8111 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8112
c0cfb5eb
UD
81132011-06-21 Andreas Jaeger <aj@suse.de>
8114
8115 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8116 Copy rule from iconvdata/Makefile.
8117
01636b21
UD
81182011-07-06 Ulrich Drepper <drepper@gmail.com>
8119
8120 [BZ #12922]
8121 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8122 but no long options are defined, just return 'W'.
8123
9895c8bc
UD
81242011-06-22 Marek Polacek <mpolacek@redhat.com>
8125
8126 [BZ #9696]
8127 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8128
5d4cf042
UD
81292011-07-06 Ulrich Drepper <drepper@gmail.com>
8130
8131 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8132 netgroups to read.
960e5535 8133 (innetgr): Likewise.
5d4cf042 8134
751eb97e
RM
81352011-07-05 Roland McGrath <roland@hack.frob.com>
8136
8137 * config.make.in (install_root): Default to $(DESTDIR).
8138
f15f1e45
UD
81392011-07-05 Ulrich Drepper <drepper@gmail.com>
8140
8141 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8142
4e34ac6a
RM
81432011-07-02 Roland McGrath <roland@hack.frob.com>
8144
5e9b6af4
RM
8145 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8146
84f9ea0f
RM
8147 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8148 containing directory rather than embedding absolute directory names.
8149
ea5ee9f7
RM
8150 * scripts/check-local-headers.sh: Rewritten using awk.
8151 Match by word, not by line. Print error messages for matches.
8152 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8153
1b74661a
RM
8154 * Makerules [shlib-lds-flags empty]:
8155 ($(common-objpfx)libc_pic.opts): New target.
8156 ($(common-objpfx)libc_pic.os.clean): New target.
8157 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8158
8159 * config.make.in (OBJCOPY): New variable.
8160 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8161 * configure: Regenerated.
8162
f781ef40
RM
8163 * config.make.in (use-default-link): New variable.
8164 * configure.in (use_default_link): Grok --with-default-link to set it.
8165 * configure: Regenerated.
8166 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8167 (shlib-lds, shlib-lds-flags): Define to empty.
8168
2d4fa81e
RM
8169 * Makerules (shlib-lds): New variable.
8170 (shlib-lds-flags): New variable.
8171 (build-shlib, build-moduile, build-module-asneeded): Use it.
8172 ($(common-objpfx)libc.so): Use $(shlib-lds).
8173 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8174 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8175
31fffa6b
RM
8176 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8177 DT_FLAGS/DT_FLAGS_1 with zero flags.
8178
4e34ac6a
RM
8179 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8180 linker script munging.
8181
fcfc776b
UD
81822011-07-02 Ulrich Drepper <drepper@gmail.com>
8183
8184 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8185 as 128-bit value.
8186 * crypt/sha512.c (sha512_process_block): Perform total addition using
8187 128-bit if possible.
8188 (__sha512_finish_ctx): Likewise.
8189 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8190 as 64-bit value.
8191 * crypt/sha256.c (SWAP64): Define.
8192 (sha256_process_block): Perform total addition using 64-bit if
8193 possible.
8194 (__sha256_finish_ctx): Likewise.
8195
99231d9a
UD
81962011-07-01 Ulrich Drepper <drepper@gmail.com>
8197
8198 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
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 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8204
445b4a53
TK
82052011-07-01 Thorsten Kukuk <kukuk@suse.de>
8206
8207 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8208 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8209 * nscd/hstcache.c (cache_addhst): Likewise.
8210 * nscd/grpcache.c (cache_addgr): Likewise.
8211 * nscd/aicache.c (addhstaiX): Likewise
8212
6d4d8e8e
AS
82132011-07-01 Andreas Schwab <schwab@redhat.com>
8214
8215 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8216 domain only when needed.
8217
89f654c5
AS
82182011-06-30 Andreas Schwab <schwab@redhat.com>
8219
8220 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8221 is always restored.
8222
cf3b23ff
UD
82232011-06-29 Ulrich Drepper <drepper@gmail.com>
8224
8225 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8226 are re-adding the entry.
8227 * nscd/servicescache.c (cache_addserv): Likewise.
8228
751626f9
AJ
82292011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8230
8231 * sysdeps/generic/dl-irel.h: fix protection against multiple
8232 inclusions.
8233 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8234
9113ea1f
UD
82352011-06-28 Ulrich Drepper <drepper@gmail.com>
8236
5c0b8d90
UD
8237 [BZ #12935]
8238 * malloc/memusage.sh: Fix quoting in message.
8239 * debug/xtrace.sh: Likewise.
8240
9113ea1f
UD
8241 * configure.in: Remove support for --experimental-malloc option, make
8242 it the default.
8243 * config.make.in: Likewise.
8244 * malloc/Makefile: Likewise.
8245
a4172181
AS
82462011-06-27 Andreas Schwab <schwab@redhat.com>
8247
8248 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8249 two-byte characters.
8250
78a7eee7
RM
82512011-06-27 Roland McGrath <roland@hack.frob.com>
8252
62bede13
RM
8253 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8254 AC_CACHE_CHECK invocation.
8255 * configure: Regenerated.
8256
78a7eee7
RM
8257 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8258
5ce33a62
UD
82592011-06-27 Ulrich Drepper <drepper@gmail.com>
8260
034807a9
UD
8261 [BZ #12350]
8262 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8263 bit from old_res_options.
8264
4902da17
UD
8265 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8266
5ce33a62
UD
8267 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8268 value type for setfct.
8269
c2344f56
L
82702011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8271
8272 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8273 __gettimeofday instead of gettimeofday.
8274
68468076
UD
82752011-06-26 Ulrich Drepper <drepper@gmail.com>
8276
8277 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8278
acb0d739
L
82792011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8280
8281 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8282
8283 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8284 info.
8285
8912479f
L
82862011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8287
8288 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8289 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8290 strcpy-sse2-unaligned strncpy-sse2-unaligned
8291 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8292 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8293 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8294 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8295 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8296 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8297 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8298 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8299 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8300 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8301 (STRCPY): Support SSE2 and SSSE3 versions.
8302
d5495a11
UD
83032011-06-24 Ulrich Drepper <drepper@gmail.com>
8304
8305 [BZ #12874]
8306 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8307 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8308 kernels which artificially limit size of requests.
8309
0b1cbaae
L
83102011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8311
8312 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8313 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8314 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8315 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8316 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8317 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8318 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8319 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8320 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8321 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8322 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8323 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8324 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8325 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8326 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8327 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8328 Enable unaligned load optimization for Intel Core i3, i5 and i7
8329 processors.
8330 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8331 Define.
8332 (index_Fast_Unaligned_Load): Define.
8333 (HAS_FAST_UNALIGNED_LOAD): Define.
8334
07f494a0
MP
83352011-06-23 Marek Polacek <mpolacek@redhat.com>
8336
8337 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8338
fa3fc0fe
UD
83392011-06-22 Ulrich Drepper <drepper@gmail.com>
8340
8341 [BZ #12907]
8342 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8343 until it is clear that the information is realy needed.
8344 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8345
e12df166
AS
83462011-06-22 Andreas Schwab <schwab@redhat.com>
8347
8348 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8349
852eb34d
UD
83502011-06-22 Ulrich Drepper <drepper@gmail.com>
8351
84e2a551
UD
8352 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8353 /sys/devices/system/cpu/online if it is usable.
8354
852eb34d
UD
8355 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8356 reading the information from the /proc filesystem to once a second.
8357
6e502e19
UD
83582011-06-21 Andreas Jaeger <aj@suse.de>
8359
8360 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8361 NULL after inclusion of kernel headers.
8362
75d39ff2
UD
83632011-06-21 Ulrich Drepper <drepper@gmail.com>
8364
51f9aa6a
UD
8365 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8366 calls to internal_setent.
8367
c0244a9d
UD
8368 [BZ #12885]
8369 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8370 addresses using gethostbyname4_r ignore IPv4 addresses.
8371
c5e3c2ae
UD
8372 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8373 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8374
75d39ff2
UD
8375 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8376
42675c6f
DM
83772011-06-20 David S. Miller <davem@davemloft.net>
8378
8379 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8380 inclusions.
8381 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8382
8383 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8384 (elf_irel): Use it.
8385 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8386 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8387 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8388 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8389 * sysdeps/x86_64/dl-irel.h: Likewise.
8390
8391 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8392 * elf/dl-sym.c: Likewise.
8393
57912a71
UD
83942011-06-15 Ulrich Drepper <drepper@gmail.com>
8395
8396 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8397 need to dereference resplen2.
8398
ee22793d
AS
83992011-06-14 Andreas Schwab <schwab@redhat.com>
8400
8401 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8402
a9e836b0
UD
84032011-06-15 Ulrich Drepper <drepper@gmail.com>
8404
77fb9117
UD
8405 * Makeconfig: Define vardbdir and inst_vardbdir.
8406 * nss/Makefile: Add rules to install db-Makefile.
8407
40c1b22c
UD
8408 * nss/nss_db/db-XXX.c: Cleanup.
8409
9f2da732
UD
8410 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8411 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8412 GLIBC_PRIVATE.
8413 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8414 * nss/makedb.c: Implement -g option to specify that value strings
8415 are generated and should not be added to table iterated over for
8416 get*ent calls.
8417 * nss/nss_db/db-initgroups.c: New file.
8418
82e9a1f7
UD
8419 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8420 interface.
8421
c41af17e
UD
8422 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8423 (internal_getgrouplist): Adjust to name change.
8424 Update use_initgroups_entry if this is not the first call.
8425 * nss/databases.def: Add initgroups entry.
8426
a9e836b0
UD
8427 * nss/makedb.c (compute_tables): Check result of multiple hash table
8428 sizes to minimize maximum chain length.
8429
2666d441
UD
84302011-06-14 Ulrich Drepper <drepper@gmail.com>
8431
8432 * Versions.def: Add entry for libnss_db.
8433 * shlib-versions: Likewise.
8434 * nss/Makefile: Add rules to build libnss_db.
8435 * nss/Versions: Add libnss_db information. Organize libnss_files
8436 entries better.
8437 * nss/db-Makefile: Add gshadow support. Change rules for the new
8438 makedb progra. Some minor improvements to generate smaller files.
8439 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8440 here from...
8441 * nss/makedb.c: ...here.
8442 Improve database format to be smaller and require less memory at
8443 runtime.
8444 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8445 db anymore.
8446 * nss/nss_db/db-netgrp.c: Likewise.
8447 * nss/nss_db/db-open.c: Likewise.
8448 * nss/nss_files/flies-XXX.x: Adjust comments.
8449 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8450 * nss/nss_files/files-grp.c: Likewise.
8451 * nss/nss_files/files-hosts.c: Likewise.
8452 * nss/nss_files/files-network.c: Likewise.
8453 * nss/nss_files/files-proto.c: Likewise.
8454 * nss/nss_files/files-pwd.c: Likewise.
8455 * nss/nss_files/files-rpc.c: Likewise.
8456 * nss/nss_files/files-service.c: Likewise.
8457 * nss/nss_files/files-sgrp.c: Likewise.
8458 * nss/nss_files/files-spwd.c: Likewise.
8459 * nss/nss_db/db-alias.c: Removed.
8460 * nss/nss_db/dummy-db.h: Removed.
8461
9ee76b5a
UD
84622011-06-02 Ulrich Drepper <drepper@gmail.com>
8463
8464 * nss/makedb.c: Rewritten to not use database library.
8465 * nss/Makefile: Update to build new makedb program.
8466
c71ca1f8
AJ
84672011-06-14 Andreas Jaeger <aj@suse.de>
8468
8469 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8470 memset declaration.
8471
3154bfb8
UD
84722011-06-10 Andreas Schwab <schwab@redhat.com>
8473
8474 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8475 tmpbuf.
8476
b350afab
RM
84772011-06-10 Roland McGrath <roland@hack.frob.com>
8478
decd4e50
RM
8479 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8480 * elf/Makefile ($(objpfx)ld.so): Likewise.
8481
5615eaf2
RM
8482 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8483 Don't list ld.so twice in dependencies.
8484
8485 * posix/bug-regex31.c: Include <stdlib.h>.
8486
8487 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8488
8489 * nis/nss_compat/compat-spwd.c
8490 (getspent_next_nss_netgr): Remove unused variable.
8491 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8492
8493 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8494 nonmembers" output to use the right array.
8495
8496 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8497
8498 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8499
8500 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8501 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8502 * catgets/gencat.c (read_input_file): Likewise.
8503 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8504
8505 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8506 variable definition inside #if's controlling its use.
8507
8508 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8509
8510 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8511
8512 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8513
8514 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8515 unreachable code.
8516
8517 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8518
b68e08db
RM
8519 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8520 * configure: Regenerated.
8521
b350afab
RM
8522 * Makerules: Revert last change.
8523 * elf/Makefile: Likewise.
8524
28368601
RM
85252011-06-09 Roland McGrath <roland@hack.frob.com>
8526
8527 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8528 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8529 (reloc-link): Likewise.
8530
11988f8f
UD
85312011-06-09 Ulrich Drepper <drepper@gmail.com>
8532
8533 * elf/Makefile: Add rules to build pldd.
8534 * elf/pldd.c: New file.
8535 * elf/pldd-xx.c: New file.
8536
e80fab37
UD
85372011-06-07 Ulrich Drepper <drepper@gmail.com>
8538
8539 * version.h: Update for 2.15 development version.
8540
9b849836
DM
85412011-06-07 David S. Miller <davem@davemloft.net>
8542
8543 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8544 ifuncs.
8545 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8546 elf_machine_lazy_rel): Likewise.
8547 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8548 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8549 elf_machine_lazy_rel): Likewise.
8550 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8551 dl_hwcap via passed in argument.
8552 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8553 Likewise.
8554
5a31b283
AK
85552011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8556
8557 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8558
069e52f8
RM
85592011-06-06 Roland McGrath <roland@hack.frob.com>
8560
8561 [BZ #12849]
8562 * manual/fdl-1.1.texi: New file, verbatim from:
8563 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8564 * manual/lgpl-2.1.texi: New file, verbatim from:
8565 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8566 * manual/Makefile (licenses): New variable, list those new file names.
8567 (texis): Use it.
8568 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8569
8570 * manual/fdl.texi: File removed.
8571 * manual/lesser.texi: File removed.
8572 * manual/libc.texinfo (Copying, Documentation License):
8573 Use new @include file names, put @appendix directive before @include.
8574
f16846a5
JJ
85752011-06-04 Jakub Jelinek <jakub@redhat.com>
8576
8577 [BZ #12841]
8578 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8579 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8580 (mq_open): Add __NTH.
8581
3d29045b
L
85822011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8583
8584 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8585 Assume Intel Core i3/i5/i7 processor if AVX is available.
8586
8c297311
UD
85872011-05-31 Ulrich Drepper <drepper@gmail.com>
8588
8589 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8590 typo.
8591
c8fc0c91
UD
85922011-05-31 Andreas Schwab <schwab@redhat.com>
8593
8594 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8595 memory. Use alloca_account. Fix memory leak when retrying.
8596
5b27a807
UD
85972011-05-31 Ulrich Drepper <drepper@gmail.com>
8598
356f8bc6
UD
8599 * version.h (RELEASE): Bump for 2.14 release.
8600 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8601
5b27a807
UD
8602 * config.make.in (RANLIB): Remove entry.
8603
01f16ab0
UD
86042011-05-30 Ulrich Drepper <drepper@gmail.com>
8605
41fce8bd
UD
8606 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8607 (libc.pot): Work around missing support for .ksh extension in xgettext.
8608
4769ae77
UD
8609 [BZ #12684]
8610 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8611 if both request failed.
8612 (send_dg): In case of server errors clear resplen or *resplen2.
8613
6b1e7d19
UD
8614 [BZ #12454]
8615 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8616 when there are multiple maps.
8617 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8618 (_dl_fini): Remove test here.
8619
01f16ab0
UD
8620 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8621
b1ebd700
UD
86222011-05-29 Ulrich Drepper <drepper@gmail.com>
8623
7ae22829
UD
8624 [BZ #12350]
8625 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8626 bit from old_res_options.
8627 (gaih_inet): Likewise.
8628
553149f6 8629 [BZ #11099]
18a84741 8630 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
8631 as signed.
8632
652ffab1
UD
8633 * resolv/res_init.c (res_setoptions): Make the code more compact.
8634
16985fd0
UD
8635 [BZ #11558]
8636 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8637 set RES_USEVC.
8638
0464f746
UD
8639 [BZ #11634]
8640 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8641
7d17596c
UD
8642 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8643
cf6bbbd7
UD
8644 [BZ #11781]
8645 * malloc/malloc.h: Declare malloc hook variables as volatile.
8646
13f1ab36
UD
8647 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8648 in last patch.
8649
b1ebd700
UD
8650 [BZ #11799]
8651 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 8652 raise in the comment.
80e2212d
UD
8653 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8654 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8655 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 8656
ce67228d
UD
86572011-05-28 Ulrich Drepper <drepper@gmail.com>
8658
8887a920
UD
8659 [BZ #12811]
8660 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8661 grow the buffers more if it already has to be sufficient.
8662 (build_wcs_upper_buffer): Likewise.
8663 * posix/regexec.c (check_matching): Likewise.
8664 (clean_state_log_if_needed): Likewise.
8665 (extend_buffers): Don't enlarge buffers beyond size of the input
8666 buffer.
8667 Patches mostly by Emil Wojak <emil@wojak.eu>.
8668 * posix/bug-regex32.c: New file.
8669 * posix/Makefile (tests): Add bug-regex32.
8670
4f031072
UD
8671 * locale/findlocale.c (_nl_find_locale): Return right away if
8672 _nl_explode_name failed.
8673 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8674
d0478f0c
UD
8675 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8676
de81b246
UD
8677 * debug/xtrace.sh: Unify messages.
8678 * malloc/memusage.sh: Likewise.
8679
c738465a
UD
8680 [BZ #12813]
8681 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8682 time symbol from vDSO. Substitute with vsyscall if not available.
8683 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8684 __vdso_time.
8685
f1f929d7
UD
8686 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8687 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8688 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8689 Add sendmmsg and internal_sendmmsg.
8690 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8691 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8692 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8693
ce67228d
UD
8694 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8695 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8696 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8697
e57420c6
UD
86982011-05-27 Ulrich Drepper <drepper@gmail.com>
8699
a8509ca5
UD
8700 [BZ #12813]
8701 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8702 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8703 available.
8704 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8705 __vdso_getcpu.
8706
e57420c6
UD
8707 [BZ #12814]
8708 * iconvdata/Makefile (tests): Add bug-iconv9.
8709 * iconvdata/bug-iconv9.c: New file.
8710
4d07db15
AS
87112011-05-27 Andreas Schwab <schwab@redhat.com>
8712
8713 [BZ #12814]
8714 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8715
ea486f69
JJ
87162011-05-25 Jakub Jelinek <jakub@redhat.com>
8717
8718 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8719 (struct user_regs_struct): Change intcs field back to cs.
8720
6f038433
UD
87212011-05-25 Ulrich Drepper <drepper@gmail.com>
8722
8723 * po/ja.po: Update from translation team.
8724
67f86a25
UD
87252011-05-23 Ulrich Drepper <drepper@gmail.com>
8726
8727 [BZ #12795]
8728 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8729 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8730
def7fbd6
AS
87312011-05-20 Andreas Schwab <schwab@redhat.com>
8732
8733 * stdlib/longlong.h: Update from GCC.
8734
f50ef8f1
AS
87352011-05-23 Andreas Schwab <schwab@redhat.com>
8736
8737 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8738 parameter name.
8739 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8740 Add parameter name.
8741 (__sysconf): Pass it down.
8742
de7ce8f1
UD
87432011-05-22 Ulrich Drepper <drepper@gmail.com>
8744
f2962a71
UD
8745 [BZ #12671]
8746 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8747 some situations.
8748 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8749 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8750 add in in __libc_use_alloca calls. Adjust callers.
8751 (glob): Use malloc in some situations.
8752
de7ce8f1
UD
8753 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8754 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8755 pltexit.
8756
aec84f53
UD
87572011-05-21 Ulrich Drepper <drepper@gmail.com>
8758
05bb4a68
UD
8759 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8760 and CLOCK_BOOTTIME_ALARM.
8761
7ea72f99
UD
8762 [BZ #12782]
8763 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8764 is returned.
8765
7e4afad5
UD
8766 * string/_strerror.c (__strerror_r): Print negative errors as signed
8767 numbers.
8768
8e211fec
UD
8769 [BZ #12777]
8770 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8771 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8772 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8773
f7d82dc9
UD
8774 * configure.in: Fix typo in redirection and correct removal of test
8775 files in two cases.
8776
cc9e536d
UD
8777 [BZ #12788]
8778 * locale/setlocale.c (new_composite_name): Fix test to check for
8779 identical name of all categories.
8780
aec84f53
UD
8781 [BZ #12792]
8782 * libio/filedoalloc.c (local_isatty): New function.
8783 (_IO_file_doallocate): Use local_isatty.
8784 * stdio-common/perror.c (perror): In case a new stream is used
8785 forward the stream error.
8786 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8787 error flag.
8788
78e64fdc
RT
87892011-05-20 Ulrich Drepper <drepper@gmail.com>
8790
34a9094f
UD
8791 [BZ #11869]
8792 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8793 alloca.
8794 * include/alloca.h (extend_alloca_account): Define.
8795
78e64fdc
RT
8796 [BZ #11857]
8797 * posix/regex.h: Fix comments with documentation of user-accessible
8798 fields after compilation and describe correct free'ing of pattern
8799 after re_compile_pattern.
8800 Patch by Reuben Thomas <rrt@sc3d.org>.
8801
457bddfc
RA
88022011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8803
8804 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8805 and -mno-altivec to prevent the compiler from using Altivec and/or
8806 VSX instructions when the corresponding registers are not available.
8807
a4527b51
AS
88082011-05-19 Andreas Schwab <schwab@redhat.com>
8809
8810 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8811
ed690b2f
UD
88122011-05-19 Ulrich Drepper <drepper@gmail.com>
8813
8814 * libio/freopen.c (freopen): Use __dup2, not dup2.
8815 * libio/freopen64.c (freopen64): Likewise.
8816
8db73634
L
88172011-05-17 H.J. Lu <hongjiu.lu@intel.com>
8818
8819 [BZ #12775]
8820 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
8821 * math/Makefile (tests): Add test-powl.
8822 (CFLAGS-test-powl.c): Define.
8823 * math/test-powl.c: New file.
8824
0a197a9d
L
88252011-05-16 H.J. Lu <hongjiu.lu@intel.com>
8826
8827 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
8828
ee30c380
UD
88292011-05-17 Ulrich Drepper <drepper@gmail.com>
8830
8831 [BZ #11837]
8832 * iconvdata/gb18030.c: Update to GB18020-2005.
8833
6ce75379
UD
88342011-05-16 Ulrich Drepper <drepper@gmail.com>
8835
a4b89fd8
AR
8836 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
8837 RE_SYNTAX_POSIX_AWK): Update to match recent development.
8838 Patch by Aharon Robbins <arnold@skeeve.com>.
8839
ea389b12
UD
8840 [BZ #11892]
8841 * stdlib/putenv.c (putenv): Don't always create copy of the variable
8842 on the stack.
8843
68a3f91f
UD
8844 [BZ #11895]
8845 * misc/pselect.c (__pselect): Handle timeout value errors hidden
8846 through underflows.
8847
15cc7dd1
UD
8848 [BZ #12766]
8849 * misc/error.c (error_at_line): Ensure file_name and old_file_name
8850 point to strings before performing equality test for error_one_per_line
8851 mode.
8852
f3799213
UD
8853 [BZ #11697]
8854 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
8855
d79a9c94
UD
8856 [BZ #11820]
8857 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8858 (struct user_fpregs_struct): Avoid __uint*_t types.
8859
56e5eb46
UD
8860 [BZ #6420]
8861 * malloc/mtrace.c (tr_where): Add additional parameter to point to
8862 symbol info. Use it instead of calling _dl_addr locally.
8863 (lock_and_info): New function.
8864 (tr_freehook): Call lock_and_info and pass symbol info as additional
8865 parameter to tr_where.
8866 (tr_mallochook): Likewise.
8867 (tr_reallochook): Likewise.
8868 (tr_memalignhook): Likewise.
8869
6ce75379
UD
8870 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
8871 used and couldn't be at all thread-safe.
8872
f8a3b5bf
UD
88732011-05-15 Ulrich Drepper <drepper@gmail.com>
8874
94b7cc37
UD
8875 * libio/freopen.c (freopen): Don't close old file descriptor
8876 before the new one is opened. Instead dup the new file descriptor
8877 to the old one after the new stream is created.
8878 * libio/freopen64.c (freopen64): Likewise.
8879 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
8880 * libio/fileops.c (_IO_new_file_close_it): Handle new
8881 _IO_FLAGS2_NOCLOSE flag.
8882 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
8883 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
8884 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
8885 _IO_FLAGS2_NOCLOSE flag.
8886 * include/unistd.h: Add hidden_proto for dup3.
8887 Define __have_dup3.
8888 * io/dup3.c: Define hidden symbol.
8889 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
8890
bd25564e
UD
8891 [BZ #7101]
8892 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
8893 when an incomplete long option is used.
8894 * posix/tst-getopt_long1.c: New file.
8895 * posix/Makefile (tests): Add tst-getopt_long1.
8896
c84cfef4
UD
8897 [BZ #10138]
8898 * scripts/config.guess: Update from autoconf-2.68.
8899 * scripts/config.sub: Likewise.
8900
3b85df27
UD
8901 [BZ #10157]
8902 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
8903 tests into ...
8904 (has_cpuclock): ...this. New function.
8905 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
8906 macro here based on has_cpuclock code.
8907
15a856b1
UD
8908 [BZ #10149]
8909 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8910 First byte (not low byte) is now always NUL.
8911 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
8912
05f399e6
UD
8913 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8914 Use non-cancelable interfaces.
8915
10a52685 8916 [BZ #9809]
94ecc67d
UD
8917 * locale/iso-639.def: Add entry for Sorani.
8918
f8a3b5bf
UD
8919 [BZ #11901]
8920 * include/stdlib.h: Move include protection to the right place.
8921 Define abort_msg_s. Declare __abort_msg with it.
8922 * stdlib/abort.c (__abort_msg): Adjust type.
8923 * assert/assert.c (__assert_fail_base): New function. Majority
8924 of code from __assert_fail. Allocate memory for __abort_msg with
8925 mmap.
8926 (__assert_fail): Now call __assert_fail_base.
8927 * assert/assert-perr.c: Remove bulk of implementation. Use
8928 __assert_fail_base.
8929 * include/assert.hL Declare __assert_fail_base.
8930 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
8931 mmap.
8932 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
8933
1af4e298
UD
89342011-05-14 Ulrich Drepper <drepper@gmail.com>
8935
f8a3b5bf 8936 [BZ #11952]
d26dfc60
MG
8937 [BZ #12453]
8938 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
8939 until all modules are registered in the DTV.
8940 * elf/Makefile: Add rules to build and run tst-tls19.
8941 * elf/tst-tls19.c: New file.
8942 * elf/tst-tls19mod1.c: New file.
8943 * elf/tst-tls19mod2.c: New file.
8944 * elf/tst-tls19mod3.c: New file.
8945 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
8946
2fc54d6f
UD
8947 [BZ #12083]
8948 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
8949 correctly.
8950
98d76b46
UD
8951 [BZ #12601]
8952 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
8953 two-byte sequence errors.
8954 * iconvdata/Makefile (tests): Add bug-iconv8.
8955 * iconvdata/bug-iconv8.c: New file.
8956
da3c19ef
UD
8957 [BZ #12626]
8958 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
8959 buf2 definition.
8960
ca408c15
UD
8961 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
8962
d6f67f7d
UD
8963 [BZ #12432]
8964 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
8965 (dummy_getcfa): New function.
8966 (init): Get _Unwind_GetCFA address, use dummy if not found.
8967 (backtrace_helper): In recursion check, also check whether CFA changes.
8968 (__backtrace): Completely initialize arg.
8969
1af4e298 8970 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
8971 storing incomplete byte sequence in state object. Avoid testing for
8972 guaranteed too small input if we know there is enough data available.
1af4e298 8973
da62f81b
AS
89742011-05-11 Andreas Schwab <schwab@redhat.com>
8975
8976 * Makeconfig (+link-pie): Indent.
8977 * Rules (binaries-pie): Define if $(have-fpie) and
8978 $(build-shared).
8979 (binaries-shared): Also filter out $(binaries-pie).
8980 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
8981 * nscd/Makefile (others-pie): Add nscd.
8982 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
8983 ($(objpfx)nscd): Remove command override.
8984 * login/Makefile (others-pie): Add pt_chown.
8985 ($(objpfx)pt_chown): Remove command override.
8986 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
8987 remove command overrides.
8988
fcabc0f8
UD
89892011-05-13 Ulrich Drepper <drepper@gmail.com>
8990
20030ae6
UD
8991 * libio/tst_putwc.c: Fix error messages.
8992
fcabc0f8
UD
8993 [BZ #12724]
8994 * libio/fileops.c (_IO_new_file_close_it): Always flush when
8995 currently writing and seek to current position when not.
8996 * libio/Makefile (tests): Add bug-fclose1.
8997 * libio/bug-fclose1.c: New file.
8998
320a5dc0
PB
89992011-05-12 Ulrich Drepper <drepper@gmail.com>
9000
9001 [BZ #12511]
9002 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
9003 don't set DF_1_NODELETE here.
9004 (do_lookup_x): When entering new entry test for copy relocation
9005 and if necessary set DF_1_NODELETE flag.
9006 * elf/tst-unique4.cc: New file.
9007 * elf/tst-unique4.h: New file.
9008 * elf/tst-unique4lib.cc: New file.
9009 * elf/Makefile: Add rules to build and run tst-unique4.
9010 Patch by Piotr Bury <pbury@goahead.com>.
9011
22836f52
UD
90122011-05-11 Ulrich Drepper <drepper@gmail.com>
9013
f574184a
UD
9014 [BZ #12052]
9015 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9016
e1fb097f
UD
9017 [BZ #12625]
9018 * misc/mntent_r.c (addmntent): Flush the stream after the output
9019
22836f52
UD
9020 [BZ #12393]
9021 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9022 (is_trusted_path_normalize): Skip initial colon. Append slash
9023 to empty buffer. Duplicate is_trusted_path code but allow
9024 constructed patch to be prefix.
9025 (is_dst): Allow $ORIGIN followed by /.
9026 (_dl_dst_substitute): Correct clearing of check_for_trusted.
9027 Correct testing of result of is_trusted_path_normalize
9028 (decompose_rpath): Fix warning.
9029
7b3b0b2a
UD
90302011-05-10 Ulrich Drepper <drepper@gmail.com>
9031
9032 [BZ #11257]
9033 * grp/initgroups.c (internal_getgrouplist): When we found the service
9034 list through the initgroups entry in nsswitch.conf do not always
9035 continue on a successful lookup. Don't always use the
eac80ce2 9036 __nss_group_database value if it is set.
7b3b0b2a
UD
9037 * nss/nsswitch.conf (initgroups): Change action for successful db
9038 lookup to continue for compatibility.
9039
2a81eaa5
UD
90402011-05-09 Ulrich Drepper <drepper@gmail.com>
9041
be97a69e
UD
9042 [BZ #11532]
9043 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9044 and CP774 modules.
9045 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9046 and CP774 modules.
9047 * iconvdata/tst-tables.sh: Likewise.
9048 * iconvdata/cp770.c: New file.
9049 * iconvdata/cp771.c: New file.
9050 * iconvdata/cp772.c: New file.
9051 * iconvdata/cp773.c: New file.
9052 * iconvdata/cp774.c: New file.
9053 * iconvdata/testdata/CP770: New file.
9054 * iconvdata/testdata/CP770..UTF8: New file.
9055 * iconvdata/testdata/CP771: New file.
9056 * iconvdata/testdata/CP771..UTF8: New file.
9057 * iconvdata/testdata/CP772: New file.
9058 * iconvdata/testdata/CP772..UTF8: New file.
9059 * iconvdata/testdata/CP773: New file.
9060 * iconvdata/testdata/CP773..UTF8: New file.
9061 * iconvdata/testdata/CP774: New file.
9062 * iconvdata/testdata/CP774..UTF8: New file.
9063
9064 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9065 END CHARMAP line.
9066 * iconvdata/gen-8bit-gap.sh: Likewise.
9067 * iconvdata/gen-8bit.sh: Likewise.
9068
c1e9e399
UD
9069 * locale/iso-639.def: Add ary entry.
9070
24c55fb3 9071 [BZ #11258]
96b4b1b0
UD
9072 * locale/C-translit.h.in: Add U20A1 transliteration.
9073
bdc2f971
KB
9074 [BZ #12178]
9075 * locale/iso-639.def: Add wae entry.
9076 Patch by Kevin Bortis <bortis@translate-wae.ch>.
9077
2952b117
UD
9078 [BZ #12545]
9079 * locale/programs/localedef.c (construct_output_path): Use ssize_t
9080 for n.
9081
2a81eaa5
UD
9082 [BZ #12711]
9083 * locale/C-translit.h.in: Add entry for U20B9.
9084 Patch by pravin.d.s@gmail.com.
9085
28377d1b
UD
90862011-05-08 Ulrich Drepper <drepper@gmail.com>
9087
7fb90fb8
UD
9088 [BZ #12713]
9089 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9090 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
9091 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
9092 in rtld. Use *stat64.
7fb90fb8 9093 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 9094 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 9095 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
9096 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9097 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9098 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9099 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9100 __fstatat64 macros.
7fb90fb8
UD
9101 * include/dirent.h: Add libc_hidden_proto for rewinddir.
9102 * dirent/rewinddir.c: Add libc_hidden_def.
9103 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 9104 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 9105
28377d1b
UD
9106 * include/dirent.h (__alloc_dir): Add flags parameter.
9107 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9108 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9109 __alloc_dir.
9110 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
9111 from fdopendir if O_CLOEXEC is already set.
9112
66bdbaa4
AM
91132011-03-15 Alan Modra <amodra@gmail.com>
9114
9115 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9116 l_tls_firstbyte_offset non-zero. Save padding offset in
9117 l_tls_firstbyte_offset for later use.
9118 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9119 freeing static tls block.
9120
95721191
JN
91212011-03-05 Jonathan Nieder <jrnieder@gmail.com>
9122
9123 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9124 where #ifdef was intended. The intent is to prevent ARG_MAX from
9125 being defined by the kernel headers.
9126
f87dfb1f
UD
91272011-05-07 Ulrich Drepper <drepper@gmail.com>
9128
9129 [BZ #12734]
9130 * resolv/resolv.h: Define RES_NOTLDQUERY.
9131 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9132 no-tld-query and set RES_NOTLDQUERY.
9133 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9134 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9135 modern BIND to search name as TLD unless forbidden.
9136
47c3cd7a
UD
91372011-05-07 Petr Baudis <pasky@suse.cz>
9138 Ulrich Drepper <drepper@gmail.com>
9139
9140 [BZ #12393]
9141 * elf/dl-load.c (fillin_rpath): Move trusted path check...
9142 (is_trusted_path): ...to here.
c1e9ea35 9143 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 9144 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 9145 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 9146
8a35c912
PP
91472011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9148
9149 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9150 __BEGIN/__END_DECLS.
9151
acd41f47
UD
91522011-05-06 Ulrich Drepper <drepper@gmail.com>
9153
9154 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9155 NSS_STATUS_NOTFOUND if no record was found.
9156
597df647
AS
91572011-05-05 Andreas Schwab <schwab@redhat.com>
9158
9159 * sunrpc/Makefile (headers): Add rpc/netdb.h.
9160 (headers-not-in-tirpc): Remove rpc/netdb.h
9161 * resolv/netdb.h: Revert last change.
9162
b9af1301
PP
91632011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9164
9165 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9166 circular dependency between libgcc.a and libc.a.
9167
4e34d5f5
AS
91682011-05-05 Andreas Schwab <schwab@redhat.com>
9169
9170 * resolv/netdb.h: Don't include <rpc/netdb.h>.
9171 * nis/Makefile: Don't install rpcsvc/*.
9172 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9173 instead of <rpc/types.h>.
9174 (MAXHOSTNAMELEN): Define.
9175
00ee369c
AS
91762011-05-03 Andreas Schwab <schwab@redhat.com>
9177
9178 * elf/ldconfig.c (add_dir): Don't crash on empty path.
9179
0b592a30
MB
91802011-04-28 Maciej Babinski <mbabinski@google.com>
9181
9182 [BZ #12714]
9183 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9184 gethostbyname4_r when IPv6 results are possible.
9185
6e04cbbe
UD
91862011-05-02 Ulrich Drepper <drepper@gmail.com>
9187
9188 [BZ #12723]
9189 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9190 _PC_PIPE_BUF handling.
9191
e4ecafe0
BH
91922011-04-30 Bruno Haible <bruno@clisp.org>
9193
9194 [BZ #12717]
9195 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9196 * resolv/netdb.h (getnameinfo): Change type of flags parameter
9197 to 'int'.
9198 * inet/getnameinfo.c (getnameinfo): Likewise.
9199
125ee683
UD
92002011-04-29 Ulrich Drepper <drepper@gmail.com>
9201
9202 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9203 to groups setting in database lookup.
9204 * nss/nsswitch.conf: Add initgroups entry.
9205
b722481a
EB
92062011-04-22 Ulrich Drepper <drepper@gmail.com>
9207
9208 [BZ #12685]
9209 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9210 mode string.
9211 Patch by Eric Blake <eblake@redhat.com>.
9212
4df46dbd
L
92132011-04-20 H.J. Lu <hongjiu.lu@intel.com>
9214
9215 * sunrpc/Makefile (need-export-routines): Add svc_run.
9216 (routines): Remove svc_run.
9217 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9218 * sunrpc/clnt_perr.c (clnt_perrno): Export.
9219 * sunrpc/svc_run.c (svc_run): Likewise.
9220 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9221
e84142d2
UD
92222011-04-21 Ulrich Drepper <drepper@gmail.com>
9223
9224 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9225 problem in reallocation in last patch.
9226
877175d8
UD
92272011-04-20 Ulrich Drepper <drepper@gmail.com>
9228
9229 * sunrpc/Makefile: Move inclusion of Rules.
9230
ab8eed78
UD
92312011-04-19 Ulrich Drepper <drepper@gmail.com>
9232
9233 * nss/nss_files/files-initgroups.c: New file.
9234 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9235 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9236 _nss_files_initgroups_dyn.
9237
e3d8f584
RS
92382011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9239
9240 * elf/elf.h (R_ARM_IRELATIVE): Define.
9241
af190f45
UD
92422011-04-19 Ulrich Drepper <drepper@gmail.com>
9243
9244 * po/ru.po: Update from translation team.
9245
53cf59ef
UD
92462011-04-17 Ulrich Drepper <drepper@gmail.com>
9247
9248 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9249 dependencies.
9250
4c559bcd
MF
92512011-02-06 Mike Frysinger <vapier@gentoo.org>
9252
9253 [BZ #12653]
9254 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9255 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9256 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9257 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9258 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9259
4420675c
AS
92602011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9261
9262 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9263 differing bytes.
9264 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9265 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9266 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9267
75ea32ab
UD
92682011-04-17 Ulrich Drepper <drepper@gmail.com>
9269
9270 [BZ #12420]
9271 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9272 storing it.
9273 * stdlib/bug-getcontext.c: New file.
9274 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9275
27390476
AK
92762011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9277
9278 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9279 instructions into .machine "z9-109".
9280 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9281 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9282
10442705
AK
92832011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9284
9285 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9286 between environment variables and auxiliary vector.
9287
7b57bfe5
UD
92882011-04-16 Ulrich Drepper <drepper@gmail.com>
9289
9290 * Makefile: Add rules to build linkobj/libc.so.
9291 * include/libc-symbols.h: Define libc_hidden_nolink.
9292 * include/rpc/auth.h: Mark functions which are to be hidden.
9293 * include/rpc/auth_des.h: Likewise.
9294 * include/rpc/auth_unix.h: Likewise.
9295 * include/rpc/clnt.h: Likewise.
9296 * include/rpc/des_crypt.h: Likewise.
9297 * include/rpc/key_prot.h: Likewise.
9298 * include/rpc/pmap_clnt.h: Likewise.
9299 * include/rpc/pmap_prot.h: Likewise.
9300 * include/rpc/pmap_rmt.h: Likewise.
9301 * include/rpc/rpc_msg.h: Likewise.
9302 * include/rpc/svc.h: Likewise.
9303 * include/rpc/svc_auth.h: Likewise.
9304 * include/rpc/xdr.h: Likewise.
9305 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9306 * nss/Makefile: Likewise.
9307 * sunrpc/Makefile: Don't install headers. Build library with normal
9308 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9309 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9310 for the compat linking library. Remove use of INTDEF/INTUSE.
9311 * sunrpc/auth_none.c: Likewise.
9312 * sunrpc/auth_unix.c: Likewise.
9313 * sunrpc/authdes_prot.c: Likewise.
9314 * sunrpc/authuxprot.c: Likewise.
9315 * sunrpc/clnt_gen.c: Likewise.
9316 * sunrpc/clnt_perr.c: Likewise.
9317 * sunrpc/clnt_raw.c: Likewise.
9318 * sunrpc/clnt_simp.c: Likewise.
9319 * sunrpc/clnt_tcp.c: Likewise.
9320 * sunrpc/clnt_udp.c: Likewise.
9321 * sunrpc/clnt_unix.c: Likewise.
9322 * sunrpc/des_crypt.c: Likewise.
9323 * sunrpc/des_soft.c: Likewise.
9324 * sunrpc/get_myaddr.c: Likewise.
9325 * sunrpc/key_call.c: Likewise.
9326 * sunrpc/key_prot.c: Likewise.
9327 * sunrpc/netname.c: Likewise.
9328 * sunrpc/pm_getmaps.c: Likewise.
9329 * sunrpc/pm_getport.c: Likewise.
9330 * sunrpc/pmap_clnt.c: Likewise.
9331 * sunrpc/pmap_prot.c: Likewise.
9332 * sunrpc/pmap_prot2.c: Likewise.
9333 * sunrpc/pmap_rmt.c: Likewise.
9334 * sunrpc/publickey.c: Likewise.
9335 * sunrpc/rpc_cmsg.c: Likewise.
9336 * sunrpc/rpc_common.c: Likewise.
9337 * sunrpc/rpc_dtable.c: Likewise.
9338 * sunrpc/rpc_prot.c: Likewise.
9339 * sunrpc/rpc_thread.c: Likewise.
9340 * sunrpc/rtime.c: Likewise.
9341 * sunrpc/svc.c: Likewise.
9342 * sunrpc/svc_auth.c: Likewise.
9343 * sunrpc/svc_authux.c: Likewise.
9344 * sunrpc/svc_raw.c: Likewise.
9345 * sunrpc/svc_run.c: Likewise.
9346 * sunrpc/svc_simple.c: Likewise.
9347 * sunrpc/svc_tcp.c: Likewise.
9348 * sunrpc/svc_udp.c: Likewise.
9349 * sunrpc/svc_unix.c: Likewise.
9350 * sunrpc/svcauth_des.c: Likewise.
9351 * sunrpc/xcrypt.c: Likewise.
9352 * sunrpc/xdr.c: Likewise.
9353 * sunrpc/xdr_array.c: Likewise.
9354 * sunrpc/xdr_float.c: Likewise.
9355 * sunrpc/xdr_intXX_t.c: Likewise.
9356 * sunrpc/xdr_mem.c: Likewise.
9357 * sunrpc/xdr_rec.c: Likewise.
9358 * sunrpc/xdr_ref.c: Likewise.
9359 * sunrpc/xdr_sizeof.c: Likewise.
9360 * sunrpc/xdr_stdio.c: Likewise.
9361
e6c61494
UD
93622011-04-10 Ulrich Drepper <drepper@gmail.com>
9363
9364 [BZ #12650]
9365 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9366 * sysdeps/ia64/dl-tls.h: Likewise.
9367 * sysdeps/powerpc/dl-tls.h: Likewise.
9368 * sysdeps/s390/dl-tls.h: Likewise.
9369 * sysdeps/sh/dl-tls.h: Likewise.
9370 * sysdeps/sparc/dl-tls.h: Likewise.
9371 * sysdeps/x86_64/dl-tls.h: Likewise.
9372 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9373
34fe483e
AS
93742011-03-14 Andreas Schwab <schwab@redhat.com>
9375
9376 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9377 rpath element also skip the following colon.
9378 (expand_dynamic_string_token): Add is_path parameter and pass
9379 down to DL_DST_REQUIRED and _dl_dst_substitute.
9380 (decompose_rpath): Call expand_dynamic_string_token with
9381 non-zero is_path. Ignore empty rpaths.
9382 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9383 with zero is_path.
9384
f12a32e6
AS
93852011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9386
9387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9388 Make cancelable.
9389
38a7d692
UD
93902011-04-09 Ulrich Drepper <drepper@gmail.com>
9391
9392 [BZ #12655]
9393 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9394 Patch by Filipe David Manana <fdmanana@apache.org>.
9395
e451d22b
AS
93962011-04-07 Andreas Schwab <schwab@redhat.com>
9397
9398 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9399 Maintain aligned stack.
9400 (CHECK_RSP): Remove unused macro.
9401
dedc7c7b
UD
94022011-04-03 Ulrich Drepper <drepper@gmail.com>
9403
9404 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9405 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9406
94521213
UD
94072011-04-02 Ulrich Drepper <drepper@gmail.com>
9408
9409 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9410
8cb700c0 9411 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 9412
0354e355
L
94132011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9414
9415 [BZ #12518]
9416 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9417 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9418 * sysdeps/x86_64/memmove.c: New file.
9419 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9420 (memcpy): Renamed to ...
9421 (__new_memcpy): This.
9422 (memcpy): Provide GLIBC_2_14 memcpy.
9423 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9424 (memcpy): Provide GLIBC_2_2_5 memcpy.
9425
8593482f
UD
94262011-04-01 Ulrich Drepper <drepper@gmail.com>
9427
9428 [BZ #12631]
9429 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9430
81a5726b
AS
94312011-03-30 Andreas Schwab <schwab@redhat.com>
9432
9433 * misc/syncfs.c: New file.
9434 * misc/Makefile (routines): Add syncfs.
9435 * posix/unistd.h: Declare syncfs.
9436 * sysdeps/unix/syscalls.list: Add syncfs.
9437
00e5419f
AS
94382011-04-01 Andreas Schwab <schwab@redhat.com>
9439
9440 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9441 open_by_handle_at.
9442 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9443 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9444 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9445 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9446 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9447 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9448 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9449
748876bf
UD
94502011-04-01 Ulrich Drepper <drepper@gmail.com>
9451
658e451d
UD
9452 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9453 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9454 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9455 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9456 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9457 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9458 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9459
748876bf
UD
9460 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9461 sync_file_range.c with -fexceptions.
9462 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9463 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9464 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9465 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9466 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9467 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9468 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
9469 sync_file_range as cancellation point
9470 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9471 now a wrapper around __call_sync_file_range with cancellation handling.
9472 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9473 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9474 function name to __call_sync_file_range.
9475 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9476 Add call_sync_file_range.
748876bf 9477
6e63d5e1
AS
94782011-04-01 Andreas Schwab <schwab@redhat.com>
9479
9480 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 9481 bits/timex.h.
6e63d5e1 9482
46998f74
UD
94832011-04-01 Ulrich Drepper <drepper@gmail.com>
9484
4c1423ed
UD
9485 * iconv/iconv.h: Fix typo in comment.
9486 * io/fcntl.h: Likewise.
9487 * libio/stdio.h: Likewise.
9488 * posix/spawn.h: Likewise.
9489 * posix/unistd.h: Likewise.
9490 * stdlib/stdlib.h: Likewise.
9491 * time/time.h: Likewise.
9492 * wcsmbs/wchar.h: Likewise.
9493
158648c0
UD
9494 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9495 open_by_handle): Add.
9496 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9497 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9498 Augment a few comments.
9499 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9500 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9501 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9502 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9503 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9504 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9505 open_by_handle.
9506
46998f74
UD
9507 * io/fcntl.h (AT_EMPTY_PATH): Define.
9508
83fe108b
UD
95092011-03-30 Ulrich Drepper <drepper@gmail.com>
9510
9511 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9512 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9513 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9514 to...
9515 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
9516 * Versions.def: Add GLIBC_2.14.
9517 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9518 Export.
83fe108b 9519
bb242059
UD
95202011-03-22 Ulrich Drepper <drepper@gmail.com>
9521
9522 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9523 round counter.
9524 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9525
c97a1282
L
95262011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9527
9528 [BZ #12597]
9529 * string/test-strncmp.c (do_page_test): New function.
9530 (check2): Likewise.
9531 (test_main): Call check2.
9532 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9533
2a115601
UD
95342011-03-20 Ulrich Drepper <drepper@gmail.com>
9535
9536 [BZ #12587]
9537 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9538 Handle cache information in CPU leaf 4.
9539 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9540
8126d904
UD
95412011-03-18 Ulrich Drepper <drepper@gmail.com>
9542
042c49c6 9543 [BZ #12583]
8126d904
UD
9544 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9545 character representation.
9546 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9547
ccfe366e
RA
95482011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9549
9550 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9551 END(__isnan) to END(__isnanf) to match function entry point/label
9552 EALIGN(__isnanf,...).
9553
c6e13027
JJ
95542011-03-10 Jakub Jelinek <jakub@redhat.com>
9555
9556 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9557
33f85a3f
UD
95582011-03-10 Ulrich Drepper <drepper@gmail.com>
9559
028478fa
UD
9560 [BZ #12510]
9561 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9562 copy from the symbol referenced in the relocation to initialize the
9563 used variable.
9564 Patch by Piotr Bury <pbury@goahead.com>.
9565 * elf/Makefile: Add rules to build and tst-unique3.
9566 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9567 * elf/tst-unique3.cc: New file.
9568 * elf/tst-unique3.h: New file.
9569 * elf/tst-unique3lib.cc: New file.
9570 * elf/tst-unique3lib2.cc: New file.
9571
33f85a3f
UD
9572 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9573
03592fc7
MF
95742011-03-10 Mike Frysinger <vapier@gentoo.org>
9575
9576 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9577 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9578 to _start.
03592fc7 9579
6a5ee102
UD
95802011-03-06 Ulrich Drepper <drepper@gmail.com>
9581
9582 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9583 to-be-loaded object along a path to loader is ld.so.
9584
7e4ba49c
HJ
95852011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9586 Ulrich Drepper <drepper@gmail.com>
9587
9588 * sysdeps/x86_64/memset.S: After aligning destination, code
9589 branches to different locations depending on the value of
9590 misalignment, when multiarch is enabled. Fix this.
9591
95922011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9593
9594 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9595 Set _x86_64_preferred_memory_instruction for AMD processsors.
9596 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9597 Set bit_Prefer_SSE_for_memop for AMD processors.
9598
13a804de
UD
95992011-03-04 Ulrich Drepper <drepper@gmail.com>
9600
9601 * libio/fmemopen.c (fmemopen): Optimize a bit.
9602
9d25c392
AS
96032011-03-03 Andreas Schwab <schwab@redhat.com>
9604
9605 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9606
a5543c6a
RM
96072011-03-03 Roland McGrath <roland@redhat.com>
9608
9609 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9610
012d35f7
DM
96112011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9612
7e4ba49c 9613 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
9614 __bzero_ultra1 instead of __memset_ultra1.
9615
4bff6e01
AS
96162011-02-23 Andreas Schwab <schwab@redhat.com>
9617 Ulrich Drepper <drepper@gmail.com>
9618
9619 [BZ #12509]
9620 * include/link.h (struct link_map): Add l_orig_initfini.
9621 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9622 returning unsuccessfully.
9623 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9624 close of a file loaded at startup, restore the original l_initfini
9625 list.
9626 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9627 list, store the pointer.
9628 * elf/Makefile ($(objpfx)noload-mem): New rule.
9629 (noload-ENV): Define.
9630 (tests): Add $(objpfx)noload-mem.
9631 * elf/noload.c: Include <memcheck.h>.
9632 (main): Call mtrace. Close all opened handles.
9633
f2092faf
AS
96342011-02-17 Andreas Schwab <schwab@redhat.com>
9635
9636 [BZ #12454]
9637 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9638 dependencies are missing.
9639
6c8a2e88
ST
96402011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9641
f2092faf 9642 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
9643 Hurd needs munmap.
9644 * sysdeps/mach/hurd/ifreq.h: New file.
9645
84a42118
PB
96462011-01-27 Petr Baudis <pasky@suse.cz>
9647 Ulrich Drepper <drepper@gmail.com>
9648
071f805e 9649 [BZ 12445]#
84a42118
PB
9650 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9651 to extend_alloca().
9652 * stdio-common/bug23.c: New file.
9653 * stdio-common/Makefile (tests): Add bug23.
9654
e23fe25b
AS
96552010-09-28 Andreas Schwab <schwab@redhat.com>
9656 Ulrich Drepper <drepper@gmail.com>
9657
9658 [BZ #12489]
9659 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9660 before performing relro protection. At old place add assertion
9661 to make sure nothing changed.
9662
d3f02e10
NS
96632011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9664 Glauber de Oliveira Costa <glommer@gmail.com>
9665
9666 * elf/elf.h: Add new ARM TLS relocs.
9667
d55fd7a5
RA
96682011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9669
9670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9671 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9672 cast from r3.
9673 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9674 'tests' variable.
9675 * sysdeps/wordsize-64/tst-writev.c: New file.
9676
2206397e
RA
96772011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9678
9679 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9680 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9681 insns in _dl_start to prevent a TOC reference before relocs are
9682 resolved.
9683
e9433893
UD
96842011-02-15 Ulrich Drepper <drepper@gmail.com>
9685
9686 [BZ #12469]
9687 * Makeconfig: Remove RANLIB definition.
9688 * Makerules: Don't use RANLIB.
9689 * aclocal.m4: Remove ranlib test.
9690 * configure.in: No need to check for ranlib.
9691 * elf/rtld-Rules: Don't use RANLIB.
9692
f75286c6
ST
96932011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9694
8e31c82d
ST
9695 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9696 protection macro.
9697 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9698 inclusion protection macro.
9699
f75286c6
ST
9700 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9701 SIGRTMIN and SIGRTMAX and print information in that case only when
9702 SIGRTMIN is defined.
9703
c1d0e639
JJ
97042011-02-11 Jakub Jelinek <jakub@redhat.com>
9705
9706 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9707 arginfo fn returning -1.
9708
9709 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9710 and thousands string is zero terminated.
9711
edf9294e
AS
97122011-02-03 Andreas Schwab <schwab@redhat.com>
9713
9714 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9715 sysdeps/unix/sysv/linux/bits/socket.h.
9716
2b7e92df
ST
97172011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9718
edf9294e
AS
9719 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9720 (__CPU_COUNT): Remove old macros.
9721 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9722 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9723 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
9724 (__sched_cpualloc, __sched_cpufree): Add declarations.
9725
a4c7ea7b
UD
97262011-02-05 Ulrich Drepper <drepper@gmail.com>
9727
9728 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9729 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9730 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9731 (readdhstai): Return value of addhstaiX call.
9732 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9733 (addgrbyX): Return value returned by cache_addgr.
9734 (readdgrbyname): Return value returned by addgrbyX.
9735 (readdgrbygid): Likewise.
9736 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9737 (addpwbyX): Return value returned by cache_addpw.
9738 (readdpwbyname): Return value returned by addhstbyX.
9739 (readdpwbyuid): Likewise.
9740 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9741 (addservbyX): Return value returned by cache_addserv.
9742 (readdservbyname): Return value returned by addservbyX:
9743 (readdservbyport): Likewise.
9744 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9745 (addhstbyX): Return value returned by cache_addhst.
9746 (readdhstbyname): Return value returned by addhstbyX.
9747 (readdhstbyaddr): Likewise.
9748 (readdhstbynamev6): Likewise.
9749 (readdhstbyaddrv6): Likewise.
9750 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9751 (readdinitgroups): Return value returned by addinitgroupsX.
9752 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9753 (prune_cache): Keep track of timeout value of re-added entries.
9754 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9755 * nscd/nscd.h: Adjust prototypes of readd* functions.
9756
a0bf67cc
RM
97572011-02-04 Roland McGrath <roland@redhat.com>
9758
9759 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9760 (nis_stats): Likewise.
9761 * nis/nis_modify.c (nis_modify): Likewise.
9762 * nis/nis_remove.c (nis_remove): Likewise.
9763 * nis/nis_add.c (nis_add): Likewise.
9764
9765 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9766
9767 * posix/fnmatch_loop.c: Add some consts.
9768
9769 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9770
435b95eb
L
97712011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9772
9773 [BZ #12460]
9774 * config.make.in (config-cflags-novzeroupper): Define.
9775 * configure.in: Substitute libc_cv_cc_novzeroupper.
9776 * elf/Makefile (AVX-CFLAGS): Define.
9777 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9778 (CFLAGS-tst-auditmod4a.c): Likewise.
9779 (CFLAGS-tst-auditmod4b.c): Likewise.
9780 (CFLAGS-tst-auditmod6b.c): Likewise.
9781 (CFLAGS-tst-auditmod6c.c): Likewise.
9782 (CFLAGS-tst-auditmod7b.c): Likewise.
9783 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9784
8517b15e
UD
97852011-02-02 Ulrich Drepper <drepper@gmail.com>
9786
9787 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9788 function to the callback.
9789 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9790
10a656fe
AS
97912011-02-02 Andreas Schwab <schwab@redhat.com>
9792
9793 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9794 of errno.
9795
968dad0a
UD
97962011-01-19 Ulrich Drepper <drepper@gmail.com>
9797
9f94d2ea 9798 [BZ #11724]
968dad0a
UD
9799 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9800 of constructors.
9801 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9802 of destructors.
9803 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9804
9805 [BZ #11724]
9806 * elf/Makefile: Add rules to build and run new test.
9807 * elf/tst-initorder.c: New file.
9808 * elf/tst-initorder.exp: New file.
9809 * elf/tst-initordera1.c: New file.
9810 * elf/tst-initordera2.c: New file.
9811 * elf/tst-initordera3.c: New file.
9812 * elf/tst-initordera4.c: New file.
9813 * elf/tst-initorderb1.c: New file.
9814 * elf/tst-initorderb2.c: New file.
9815 * elf/tst-order-a1.c: New file.
9816 * elf/tst-order-a2.c: New file.
9817 * elf/tst-order-a3.c: New file.
9818 * elf/tst-order-a4.c: New file.
9819 * elf/tst-order-b1.c: New file.
9820 * elf/tst-order-b2.c: New file.
9821 * elf/tst-order-main.c: New file.
9822 New test case by George Gensure <werkt0@gmail.com>.
9823
86e92359
UD
98242010-10-01 Andreas Schwab <schwab@redhat.com>
9825
9826 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9827 decoding ACE if AI_CANONIDN.
9828
5d5732b0
UD
98292011-01-18 Ulrich Drepper <drepper@gmail.com>
9830
9831 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
9832
a77e8cbc
UD
98332011-01-17 Ulrich Drepper <drepper@gmail.com>
9834
6392473f
UD
9835 * version.h (RELEASE): Bump for 2.13 release.
9836 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
9837
620a0529
UD
9838 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
9839
18ba70a5
UD
9840 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
9841 MADV_NOHUGEPAGE.
32465c3e
UD
9842 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
9843 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9844 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9845 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9846 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9847 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9848
c0dafcf1
UD
9849 * posix/getconf.c: Update copyright year.
9850 * catgets/gencat.c: Likewise.
9851 * csu/version.c: Likewise.
9852 * debug/catchsegv.sh: Likewise.
9853 * debug/xtrace.sh: Likewise.
9854 * elf/ldconfig.c: Likewise.
9855 * elf/ldd.bash.in: Likewise.
9856 * elf/sprof.c (print_version): Likewise.
9857 * iconv/iconv_prog.c: Likewise.
9858 * iconv/iconvconfig.c: Likewise.
9859 * locale/programs/locale.c: Likewise.
9860 * locale/programs/localedef.c: Likewise.
9861 * malloc/memusage.sh: Likewise.
9862 * malloc/mtrace.pl: Likewise.
9863 * nscd/nscd.c (print_version): Likewise.
9864 * nss/getent.c: Likewise.
9865
a77e8cbc
UD
9866 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
9867 PF_CAIF, and PF_ALG.
9868 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9869
77e8bddf
AS
98702011-01-16 Andreas Schwab <schwab@linux-m68k.org>
9871
1f20b93a
AS
9872 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
9873 (modules-names): Use them.
9874 (ifunc-test-modules, ifunc-pie-tests): Define.
9875 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
9876 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
9877 (test-extras): Likewise.
9878 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
9879 $(compile-command.c).
9880 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
9881 (all-built-dso): Define.
9882 (check-textrel.out, check-execstack.out): Depend on it.
9883
77e8bddf
AS
9884 * configure.in: Don't override --enable-multi-arch.
9885
bc425b33
UD
98862011-01-15 Ulrich Drepper <drepper@gmail.com>
9887
9888 [BZ #6812]
9889 * nscd/hstcache.c (tryagain): Define.
9890 (cache_addhst): Return tryagain not notfound for temporary errors.
9891 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
9892 failed.
9893
794c3ad3
UD
98942011-01-14 Ulrich Drepper <drepper@gmail.com>
9895
70181fdd
UD
9896 [BZ #10563]
9897 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
9898 to make the syscall.
9899 * sysdeps/unix/sysv/linux/setgroups.c: New file.
9900
794c3ad3
UD
9901 [BZ #12378]
9902 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
9903 and fall back to matching as normal character if the string ends before
9904 the matching ']' is found. This is what POSIX requires.
9905 * posix/testfnm.c: Adjust test result.
9906 * posix/globtest.sh: Adjust test result. Add new test.
9907 * posix/tst-fnmatch.input: Likewise.
9908 * posix/tst-fnmatch2.c: Add new test.
9909
68dc9497
AS
99102010-12-28 Andreas Schwab <schwab@linux-m68k.org>
9911
9912 * elf/Makefile (check-execstack): Revert last change. Depend on
9913 check-execstack.h.
9914 (check-execstack.h): New target.
9915 (generated): Add check-execstack.h.
9916 * elf/check-execstack.c: Include "check-execstack.h".
9917 (main): Revert last change.
9918 (handle_file): Return zero if GNU_STACK is absent and
9919 DEFAULT_STACK_PERMS doesn't include PF_X.
9920
451f001b
UD
99212011-01-13 Ulrich Drepper <drepper@gmail.com>
9922
cfa28e56
UD
9923 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
9924 in child fails because the descriptor is already closed.
8cf8ce17
UD
9925 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
9926 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
9927 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 9928
1086d70d
UD
9929 [BZ #12397]
9930 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
9931 syscall.
9932
451f001b
UD
9933 [BZ #10484]
9934 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
9935 temporary buffer used to handle multi lookups locally.
a85b5cb4 9936 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 9937
08769175
UD
99382011-01-12 Ulrich Drepper <drepper@gmail.com>
9939
9940 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
9941 loader is ld.so.
9942
5e49c52e
UD
99432011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
9944
9945 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
9946 alignment for SSE2.
9947
60522a5f
UD
99482011-01-12 Ulrich Drepper <drepper@gmail.com>
9949
9950 [BZ #12394]
9951 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
9952 characters. When rounding increased number of integer digits recompute
9953 number of groups.
9954 * stdio-common/tst-grouping.c: New file.
9955 * stdio-common/Makefile: Add rules to build and run tst-grouping.
9956
f257bbd7
UD
99572011-01-09 Ulrich Drepper <drepper@gmail.com>
9958
9959 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
9960 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
9961
9962 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
9963 void.
9964 * bits/select.h: Likewise.
9965
fa9c15cb
UD
99662011-01-08 Ulrich Drepper <drepper@gmail.com>
9967
9968 * po/ja.po: Update from translation team.
9969
16c2895f
DM
99702011-01-04 David S. Miller <davem@sunset.davemloft.net>
9971
9972 [BZ #11155]
9973 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
9974 implementation just like for lxstat, fxstatat, et al.
9975
2543fef2
JM
99762010-12-27 Jim Meyering <meyering@redhat.com>
9977
9978 [BZ #12348]
9979 * posix/regexec.c (build_trtable): Return failure indication upon
9980 calloc failure. Otherwise, re_search_internal could infloop on OOM.
9981
98727dbe
UD
99822010-12-25 Ulrich Drepper <drepper@gmail.com>
9983
5bd6dc5c
UD
9984 [BZ #12201]
9985 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
9986 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
9987 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
9988 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
9989
97983464
UD
9990 [BZ #12207]
9991 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
9992
98727dbe
UD
9993 [BZ #12204]
9994 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
9995 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
9996
4a531bb0
L
99972010-12-15 H.J. Lu <hongjiu.lu@intel.com>
9998
9999 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
10000 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
10001 script has SORT_BY_INIT_PRIORITY.
10002 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
10003 NO_CTORS_DTORS_SECTIONS is defined.
10004 * elf/soinit.c: Likewise.
10005 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
10006 NO_CTORS_DTORS_SECTIONS is defined.
10007 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
10008 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10009 * sysdeps/sh/init-first.c: Likewise.
10010 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10011
07eb4b71
UD
100122010-12-24 Ulrich Drepper <drepper@gmail.com>
10013
10014 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10015 always use the slow path.
10016
30950a5f
RA
100172010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
10018
10019 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10020 similar rule which adds the sysdep directories to the header search in
10021 order to pick up the correct platform stackinfo.h.
10022 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10023 perform test if it is, otherwise return successfully without testing.
10024 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10025 DEFAULT_STACK_PERMS define in stackinfo.h.
10026 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10027 defined in stackinfo.h.
10028 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10029 DEFAULT_STACK_PERMS defined in stackinfo.h.
10030 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10031 * sysdeps/ia64/stackinfo.h: Likewise.
10032 * sysdeps/s390/stackinfo.h: Likewise.
10033 * sysdeps/sh/stackinfo.h: Likewise.
10034 * sysdeps/sparc/stackinfo.h: Likewise.
10035 * sysdeps/x86_64/stackinfo.h: Likewise.
10036 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10037 PF_X for powerpc64. Retain PF_X for powerpc32.
10038
db753e2c
UD
100392010-12-19 Ulrich Drepper <drepper@gmail.com>
10040
14b697f7
UD
10041 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10042 accurately.
db753e2c
UD
10043 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10044 GETDENTS_64BIT_ALIGNED.
10045
28300719
UD
100462010-12-14 Ulrich Drepper <dreper@gmail.com>
10047
14b697f7 10048 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 10049
4f197237
AS
100502010-12-10 Andreas Schwab <schwab@redhat.com>
10051
dbb0472f
AS
10052 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10053 _GNU_SOURCE.
10054
4f197237
AS
10055 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10056 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10057 Remove __restrict.
10058 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10059 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10060
fb88ac72
UD
100612010-12-09 Ulrich Drepper <drepper@gmail.com>
10062
10063 [BZ #11655]
10064 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10065 are initialized.
10066
42acbb92
JJ
100672010-12-09 Jakub Jelinek <jakub@redhat.com>
10068
10069 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10070
c038d98d
UD
100712010-12-03 Ulrich Drepper <drepper@gmail.com>
10072
10073 * po/it.po: Update from translation team.
10074
3a4a2499
L
100752010-12-01 H.J. Lu <hongjiu.lu@intel.com>
10076
10077 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10078 unused codes.
10079
1e24cf6e
UD
100802010-11-30 Ulrich Drepper <drepper@gmail.com>
10081
10082 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10083
a7690819
AS
100842010-11-24 Andreas Schwab <schwab@redhat.com>
10085
10086 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10087 specially.
10088 (gaih_getanswer_slice): Likewise.
10089
3bf8d1b1
JJ
100902010-10-20 Jakub Jelinek <jakub@redhat.com>
10091
10092 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10093
6db52fbb
PB
100942010-05-31 Petr Baudis <pasky@suse.cz>
10095
10096 [BZ #11149]
10097 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10098 silently even in the chroot mode.
10099
eaca7569
UD
101002010-11-22 Ulrich Drepper <drepper@gmail.com>
10101
10102 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10103 last patch a bit. Pretty printing
10104
3056dcdb
UD
101052010-05-31 Petr Baudis <pasky@suse.cz>
10106
10107 [BZ #10085]
10108 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10109 initialization of skip_initgroups_dyn.
10110
cf7c9078
UD
101112010-11-19 Ulrich Drepper <drepper@gmail.com>
10112
10113 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10114 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10115
a1fb5e3e
UD
101162010-11-16 Ulrich Drepper <drepper@gmail.com>
10117
10118 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10119
3540d66b
AS
101202010-11-11 Andreas Schwab <schwab@redhat.com>
10121
10122 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10123 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10124 (tst-fnmatch-ENV): Set MALLOC_TRACE.
10125 ($(objpfx)tst-fnmatch-mem): New rule.
10126 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10127 * posix/tst-fnmatch.c (main): Call mtrace.
10128
13b69574
L
101292010-11-11 H.J. Lu <hongjiu.lu@intel.com>
10130
10131 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10132 Support Intel processor model 6 and model 0x2c.
10133
da93d214
LM
101342010-11-10 Luis Machado <luisgpm@br.ibm.com>
10135
10136 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10137 signed comparison.
10138
8ca52c6e
L
101392010-11-09 H.J. Lu <hongjiu.lu@intel.com>
10140
10141 [BZ #12205]
10142 * string/test-strncasecmp.c (check_result): New function.
10143 (do_one_test): Use it.
10144 (check1): New function.
10145 (test_main): Use it.
10146 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10147 Support strcasecmp and strncasecmp.
10148
69da074d
UD
101492010-11-08 Ulrich Drepper <drepper@gmail.com>
10150
10151 [BZ #12194]
10152 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10153 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10154
ff02d528
L
101552010-11-07 H.J. Lu <hongjiu.lu@intel.com>
10156
10157 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10158 IFUNC support.
10159 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10160 memset-x86-64.
10161 * sysdeps/x86_64/multiarch/bzero.S: New file.
10162 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10163 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10164 * sysdeps/x86_64/multiarch/memset.S: New file.
10165 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10166 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10167 Set bit_Prefer_SSE_for_memop for Intel processors.
10168 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10169 Define.
10170 (index_Prefer_SSE_for_memop): Define.
10171 (HAS_PREFER_SSE_FOR_MEMOP): Define.
10172
344d0b54
LM
101732010-11-04 Luis Machado <luisgpm@br.ibm.com>
10174
10175 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10176 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10177
c0dde15b
UD
101782010-11-03 H.J. Lu <hongjiu.lu@intel.com>
10179
10180 [BZ #12191]
10181 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10182 (__x86_64_raw_data_cache_size_half): Likewise.
10183 (__x86_64_raw_shared_cache_size): Likewise.
10184 (__x86_64_raw_shared_cache_size_half): Likewise.
10185
10186 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10187 (__x86_64_raw_data_cache_size_half): Likewise.
10188 (__x86_64_raw_shared_cache_size): Likewise.
10189 (__x86_64_raw_shared_cache_size_half): Likewise.
10190 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10191 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10192 and __x86_64_raw_shared_cache_size_half. Round
10193 __x86_64_data_cache_size_half, __x86_64_data_cache_size
10194 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10195 to multiple of 256 bytes.
10196
0e516e0e
MS
101972010-11-03 Ulrich Drepper <drepper@gmail.com>
10198
10199 [BZ #12167]
10200 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10201 of inacessible symlinks. Verify result of symlink before returning it.
10202 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10203 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10204
0e012e87
ER
102052010-10-28 Erich Ritz <erichritz@gmail.com>
10206
10207 * math/math.h (isinf): Fix typo in comment.
10208
de0ff7bc
UD
102092010-11-01 Ulrich Drepper <drepper@gmail.com>
10210
10211 * po/da.po: Update from translation team.
10212
fa41c84d
UD
102132010-10-26 Ulrich Drepper <drepper@gmail.com>
10214
10215 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10216 is added to the list.
10217
f0967738
AK
102182010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10219 Ulrich Drepper <drepper@gmail.com>
10220
10221 * elf/dl-object.c (_dl_new_object): Don't append the new object to
10222 the global list here. Move code to...
10223 (_dl_add_to_namespace_list): ...here. New function.
10224 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10225 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10226 * elf/dl-load.c (lose): Don't remove the element from the list.
10227 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10228 (_dl_map_object): Likewise.
10229
102302010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
10231
10232 [BZ #12159]
10233 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10234 into all bytes of SSE register.
10235 Patch by Richard Li <richardpku@gmail.com>.
10236
f0967738 102372010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
10238
10239 [BZ #12140]
10240 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10241 perturbing.
10242
d0b9e94f
MB
102432010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10244
10245 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10246 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10247 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10248 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10250 submachine.
10251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10252
8e9f92e9
AS
102532010-10-22 Andreas Schwab <schwab@redhat.com>
10254
10255 * include/dlfcn.h (__RTLD_SECURE): Define.
10256 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10257 mode & __RTLD_SECURE instead.
10258 (open_path): Rename preloaded parameter to secure.
10259 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10260 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10261 * elf/dl-deps.c (openaux): Likewise.
10262 * elf/rtld.c (struct map_args): Remove is_preloaded.
10263 (map_doit): Don't use it.
10264 (dl_main): Likewise.
10265 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10266 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10267
bc96fbda
AS
102682010-09-09 Andreas Schwab <schwab@redhat.com>
10269
10270 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10271 (sysd-rules-targets): Remove duplicates.
10272 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10273 rtld-%.$o dependency.
10274
22cd1c9b
AS
102752010-10-18 Andreas Schwab <schwab@redhat.com>
10276
10277 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10278 _dl_map_object do it.
10279
18edac48
UD
102802010-10-19 Ulrich Drepper <drepper@gmail.com>
10281
10282 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10283 fast fma builtins, define the macros in the C99 standard.
10284 (FP_FAST_FMAF): Likewise.
10285 (FP_FAST_FMAL): Likewise.
10286 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10287
10288 * bits/mathdef.h: Update copyright year.
10289 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10290
d2050124
MM
102912010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10292
10293 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10294 builtins, define the macros in the C99 standard.
10295 (FP_FAST_FMAF): Likewise.
10296 (FP_FAST_FMAL): Likewise.
10297 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10298 multiply/add.
10299 (FP_FAST_FMAF): Likewise.
10300
475facd1
JJ
103012010-10-15 Jakub Jelinek <jakub@redhat.com>
10302
10303 [BZ #3268]
10304 * math/libm-test.inc (fma_test): Some new testcases.
10305 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10306 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10307 y and infinite z. Do multiplication by C already in long double.
10308 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10309 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10310 y and infinite z. Do bitwise or of inexact bit into u.d.
10311 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10312 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10313 * sysdeps/i386/fpu/s_fma.S: Removed.
10314 * sysdeps/i386/fpu/s_fmal.S: Removed.
10315
7c08a05c
JJ
103162010-10-16 Jakub Jelinek <jakub@redhat.com>
10317
10318 [BZ #3268]
10319 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10320 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10321 computation is not scheduled after fetestexcept. Fix value
10322 of minimum denormal long double.
10323
f3f7372d
JJ
103242010-10-14 Jakub Jelinek <jakub@redhat.com>
10325
10326 [BZ #3268]
10327 * math/libm-test.inc (fma_test): Add some more tests.
10328 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10329 correctly.
10330
14d43591
AS
103312010-10-15 Andreas Schwab <schwab@redhat.com>
10332
10333 * scripts/data/localplt-s390-linux-gnu.data: New file.
10334 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10335
5e908464
JJ
103362010-10-13 Jakub Jelinek <jakub@redhat.com>
10337
10338 [BZ #3268]
10339 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10340 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10341 instead of dbl-64.
10342 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10343 inlines.
10344 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10345 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10346 if one of x and y is very large and the other is subnormal.
10347 * sysdeps/s390/fpu/s_fmaf.c: New file.
10348 * sysdeps/s390/fpu/s_fma.c: New file.
10349 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10350 * sysdeps/powerpc/fpu/s_fma.S: New file.
10351 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10352 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10353 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10354
103552010-10-12 Jakub Jelinek <jakub@redhat.com>
10356
10357 [BZ #3268]
10358 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10359 fma tests.
10360 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10361 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10362 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10363 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10364 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10365 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10366 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10367
b833d51f
UD
103682010-10-12 Ulrich Drepper <drepper@redhat.com>
10369
10370 [BZ #12078]
10371 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10372 * posix/bug-regex31.input: Add test case.
10373
1751705d
UD
103742010-10-11 Ulrich Drepper <drepper@gmail.com>
10375
e9b9cbf5
UD
10376 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10377 * posix/bug-regex31.input: New file.
10378
10379 [BZ #12078]
10380 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10381 (parse_sub_exp): Fix last change, use postorder.
10382
ef06edbe
UD
10383 * posix/bug-regex31.c: New file.
10384 * posix/Makefile: Add rules to build and run bug-regex31.
10385
a129c80d
UD
10386 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10387
10388 [BZ #12078]
10389 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10390
b76b818e
UD
10391 [BZ #12108]
10392 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10393 to have entries in sys_siglist.
10394
1751705d
UD
10395 [BZ #12093]
10396 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10397 be NULL.
10398
9ff8d36f
JJ
103992010-10-07 Jakub Jelinek <jakub@redhat.com>
10400
10401 [BZ #3268]
10402 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10403 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10404 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10405 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10406 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10407 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10408 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10409 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10410 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10411 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10412 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10413 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10414 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10415 * math/ftestexcept.c (fetestexcept): Likewise.
10416 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10417 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10418 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10419 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10420 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10421 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10422 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10423
af325969
UD
104242010-10-11 Ulrich Drepper <drepper@gmail.com>
10425
c579b202 10426 [BZ #12107]
af325969
UD
10427 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10428 newline.
10429
67a67b95
UD
104302010-10-06 Ulrich Drepper <drepper@gmail.com>
10431
10432 * string/bug-strstr1.c: New file.
10433 * string/Makefile: Add rules to build and run bug-strstr1.
10434
5fb308bc
EB
104352010-10-05 Eric Blake <eblake@redhat.com>
10436
10437 [BZ #12092]
10438 * string/str-two-way.h (two_way_long_needle): Always clear memory
10439 when skipping input due to the shift table.
10440
45db99c7
UD
104412010-10-03 Ulrich Drepper <drepper@gmail.com>
10442
3b111893
UD
10443 [BZ #12005]
10444 * malloc/mcheck.c: Handle large requests.
10445
45db99c7
UD
10446 [BZ #12077]
10447 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10448 for strncmp and strncasecmp.
10449 * string/stratcliff.c: Add tests for strcmp and strncmp.
10450 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10451
cf7a1eb8
NI
104522010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10453
10454 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10455 __set_fpscr.
10456
6484ba5e
AJ
104572010-09-30 Andreas Jaeger <aj@suse.de>
10458
10459 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10460 (CGROUP_SUPER_MAGIC): Define.
10461 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10462 Handle btrfs and cgroup file systems.
10463 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10464 Likewise.
10465
91c42559
LM
104662010-09-27 Luis Machado <luisgpm@br.ibm.com>
10467
10468 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10469 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10470
87a97932
AK
104712010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10472
10473 [BZ #12067]
10474 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10475 trying to locate the ELF header.
10476
c21cc9bc
AS
104772010-09-27 Andreas Schwab <schwab@redhat.com>
10478
10479 [BZ #11611]
10480 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10481 Mask out sign-bit copies when constructing f_fsid.
10482
315970f6
PB
104832010-09-24 Petr Baudis <pasky@suse.cz>
10484
10485 * debug/stack_chk_fail_local.c: Add missing licence exception.
10486 * debug/warning-nop.c: Likewise.
10487
1ac7a2c7
JM
104882010-09-15 Joseph Myers <joseph@codesourcery.com>
10489
10490 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10491 implementing getdents64 using getdents syscall, set d_type if
10492 __ASSUME_GETDENTS32_D_TYPE.
10493
56801c50
AS
104942010-09-16 Andreas Schwab <schwab@redhat.com>
10495
10496 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10497 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10498
dda51327
UD
104992010-09-21 Ulrich Drepper <drepper@redhat.com>
10500
10501 [BZ #12037]
10502 * posix/unistd.h: Undo change of feature selection for ftruncate from
10503 2010-01-11.
10504
8ffcee4a
UD
105052010-09-20 Ulrich Drepper <drepper@redhat.com>
10506
a545ecd9 10507 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
10508 detection.
10509
e24f0a8b
AS
105102010-09-20 Andreas Schwab <schwab@redhat.com>
10511
10512 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10513 fanotify_mark.
10514 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10515
7291c56f
AS
105162010-09-14 Andreas Schwab <schwab@redhat.com>
10517
10518 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10519 variables after CHECK_SP call.
10520 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10521
bc5fb037
AS
105222010-09-13 Andreas Schwab <schwab@redhat.com>
10523 Ulrich Drepper <drepper@redhat.com>
10524
10525 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10526 re-relocationg ld.so.
10527 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10528 _dl_init_paths call.
10529 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10530 here anymore.
10531
e66e7419
UD
105322010-09-14 Ulrich Drepper <drepper@redhat.com>
10533
10534 * resolv/res_init.c (__res_vinit): Count the default server we added.
10535
c044aa75
CLT
105362010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10537 Ulrich Drepper <drepper@redhat.com>
10538
10539 [BZ #11968]
10540 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10541 (____longjmp_chk): Use %ebx for saving value across system call.
10542 Add unwind info.
10543
32cf4069
AS
105442010-09-06 Andreas Schwab <schwab@redhat.com>
10545
10546 * manual/Makefile: Don't mix pattern rules with normal rules.
10547
817328ee
AS
105482010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10549
10550 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10551 operation.
10552 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10553 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10554 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10555 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10556 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10557 Likewise.
10558
29fddf61
UD
105592010-09-04 Ulrich Drepper <drepper@redhat.com>
10560
10561 [BZ #11979]
10562 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10563 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10564
0959ffc9
UD
105652010-09-02 Ulrich Drepper <drepper@redhat.com>
10566
10567 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10568 * sysdeps/x86_64/addmul_1.S: Likewise.
10569 * sysdeps/x86_64/lshift.S: Likewise.
10570 * sysdeps/x86_64/mul_1.S: Likewise.
10571 * sysdeps/x86_64/rshift.S: Likewise.
10572 * sysdeps/x86_64/sub_n.S: Likewise.
10573 * sysdeps/x86_64/submul_1.S: Likewise.
10574
ece29840
ST
105752010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10576
0959ffc9
UD
10577 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10578 Define __sched_param instead of SCHED_* and sched_param when
ece29840 10579 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 10580 * bits/sched.h [__need_schedparam]
ece29840 10581 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
10582 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10583 (__defined_schedparam): Define to 1.
ece29840
ST
10584 (__sched_param): New structure, identical to sched_param.
10585 (__need_schedparam): Undefine.
10586
e53a31fe
MF
105872010-08-31 Mike Frysinger <vapier@gentoo.org>
10588
fdc0c10d
MF
10589 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10590 (epoll_create1): Declare.
10591
e53a31fe
MF
10592 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10593
a726d796
AS
105942010-08-31 Andreas Schwab <schwab@redhat.com>
10595
10596 [BZ #7066]
10597 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10598 shifting retval into place.
10599
2f3e3dc7
UD
106002010-09-01 Ulrich Drepper <drepper@redhat.com>
10601
f2933da9
UD
10602 * nis/rpcsvc/nis.h: Update copyright notice.
10603 * nis/rpcsvc/nis.x: Likewise.
10604 * nis/rpcsvc/nis_callback.h: Likewise.
10605 * nis/rpcsvc/nis_callback.x: Likewise.
10606 * nis/rpcsvc/nis_object.x: Likewise.
10607 * nis/rpcsvc/nis_tags.h: Likewise.
10608 * nis/rpcsvc/yp.h: Likewise.
10609 * nis/rpcsvc/yp.x: Likewise.
10610 * nis/rpcsvc/ypupd.h: Likewise.
10611 * nis/yp_xdr.c: Likewise.
10612 * nis/ypupdate_xdr.c: Likewise.
10613
2f3e3dc7
UD
10614 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10615 mainly the body of pmap_getport. Add parameters to specify timeouts.
10616 (pmap_getport): Use __libc_rpc_getport.
10617 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10618 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10619 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10620
f3dcc2f9
AS
106212010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10622
10623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10624 fanotify_mark.
10625
6d34eb5b
RM
106262010-08-27 Roland McGrath <roland@redhat.com>
10627
10628 * sysdeps/i386/i686/multiarch/Makefile
10629 (CFLAGS-varshift.c): New variable.
10630
9ea3de11
UD
106312010-08-27 Ulrich Drepper <drepper@redhat.com>
10632
c96d23fc
UD
10633 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10634 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10635
9ea3de11
UD
10636 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10637
10638 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10639
623aac7f
L
106402010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10641
10642 * sysdeps/x86_64/strlen.S: Unroll the loop.
10643 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10644 strlen-sse2 strlen-sse2-bsf.
10645 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10646 __strlen_no_bsf if bit_Slow_BSF is set.
10647 (__strlen_sse42): Removed.
10648 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10649 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10650
8b2b7715
RM
106512010-08-25 Roland McGrath <roland@redhat.com>
10652
10653 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10654 * sysdeps/x86_64/multiarch/varshift.c: New file.
10655 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10656 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10657 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10658 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10659
e73015f2
L
106602010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10661
10662 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10663 strlen-sse2 strlen-sse2-bsf.
10664 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10665 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10666 (__strlen_sse2): Removed.
10667 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10668 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10669 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10670 bit_Slow_BSF for Atom.
10671 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10672 (index_Slow_BSF): Define.
10673 (HAS_SLOW_BSF): Define.
10674
df24a73e
UD
106752010-08-25 Ulrich Drepper <drepper@redhat.com>
10676
10677 [BZ #10851]
10678 * resolv/res_init.c (__res_vinit): When no server address at all
10679 is given default to loopback.
10680
f2ac4868
RM
106812010-08-24 Roland McGrath <roland@redhat.com>
10682
09055553
RM
10683 * configure.in: Remove config-name.h generation.
10684 * configure: Regenerated.
10685 * config-name.in: File removed.
10686 * scripts/config-uname.sh: New file.
10687 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10688 ($(objdir)config-name.h): New target.
10689
f2ac4868
RM
10690 * sunrpc/rpc_parse.h: Avoid nested comment.
10691
73f27d5e
RH
106922010-08-24 Richard Henderson <rth@redhat.com>
10693 Ulrich Drepper <drepper@redhat.com>
10694 H.J. Lu <hongjiu.lu@intel.com>
10695
10696 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10697 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10698 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10699 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10700 _mm_alignr_epi8 with _mm_loadu_si128.
10701 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10702 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10703 (__m128i_shift_right): Removed.
10704 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10705 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10706 * sysdeps/x86_64/multiarch/varshift.h: New file.
10707 * sysdeps/x86_64/multiarch/varshift.S: New file.
10708
84b9230c
MF
107092010-08-21 Mike Frysinger <vapier@gentoo.org>
10710
10711 * configure.in: Move assembler checks to before sysdep dir checking.
10712
9bbd0ddc
PB
107132010-08-20 Petr Baudis <pasky@suse.cz>
10714
10715 * LICENSES: Sync the sunrpc license.
10716
9da4bb31
UD
107172010-08-19 Ulrich Drepper <drepper@redhat.com>
10718
a7ab6ec8
UD
10719 * sunrpc/auth_des.c: Update copyright notice once again.
10720 * sunrpc/auth_none.c: Likewise.
10721 * sunrpc/auth_unix.c: Likewise.
10722 * sunrpc/authdes_prot.c: Likewise.
10723 * sunrpc/authuxprot.c: Likewise.
10724 * sunrpc/bindrsvprt.c: Likewise.
10725 * sunrpc/clnt_gen.c: Likewise.
10726 * sunrpc/clnt_perr.c: Likewise.
10727 * sunrpc/clnt_raw.c: Likewise.
10728 * sunrpc/clnt_simp.c: Likewise.
10729 * sunrpc/clnt_tcp.c: Likewise.
10730 * sunrpc/clnt_udp.c: Likewise.
10731 * sunrpc/clnt_unix.c: Likewise.
10732 * sunrpc/des_crypt.c: Likewise.
10733 * sunrpc/des_soft.c: Likewise.
10734 * sunrpc/get_myaddr.c: Likewise.
10735 * sunrpc/getrpcport.c: Likewise.
10736 * sunrpc/key_call.c: Likewise.
10737 * sunrpc/key_prot.c: Likewise.
10738 * sunrpc/openchild.c: Likewise.
10739 * sunrpc/pm_getmaps.c: Likewise.
10740 * sunrpc/pm_getport.c: Likewise.
10741 * sunrpc/pmap_clnt.c: Likewise.
10742 * sunrpc/pmap_prot.c: Likewise.
10743 * sunrpc/pmap_prot2.c: Likewise.
10744 * sunrpc/pmap_rmt.c: Likewise.
10745 * sunrpc/rpc/auth.h: Likewise.
10746 * sunrpc/rpc/auth_unix.h: Likewise.
10747 * sunrpc/rpc/clnt.h: Likewise.
10748 * sunrpc/rpc/des_crypt.h: Likewise.
10749 * sunrpc/rpc/key_prot.h: Likewise.
10750 * sunrpc/rpc/netdb.h: Likewise.
10751 * sunrpc/rpc/pmap_clnt.h: Likewise.
10752 * sunrpc/rpc/pmap_prot.h: Likewise.
10753 * sunrpc/rpc/pmap_rmt.h: Likewise.
10754 * sunrpc/rpc/rpc.h: Likewise.
10755 * sunrpc/rpc/rpc_des.h: Likewise.
10756 * sunrpc/rpc/rpc_msg.h: Likewise.
10757 * sunrpc/rpc/svc.h: Likewise.
10758 * sunrpc/rpc/svc_auth.h: Likewise.
10759 * sunrpc/rpc/types.h: Likewise.
10760 * sunrpc/rpc/xdr.h: Likewise.
10761 * sunrpc/rpc_clntout.c: Likewise.
10762 * sunrpc/rpc_cmsg.c: Likewise.
10763 * sunrpc/rpc_common.c: Likewise.
10764 * sunrpc/rpc_cout.c: Likewise.
10765 * sunrpc/rpc_dtable.c: Likewise.
10766 * sunrpc/rpc_hout.c: Likewise.
10767 * sunrpc/rpc_main.c: Likewise.
10768 * sunrpc/rpc_parse.c: Likewise.
10769 * sunrpc/rpc_parse.h: Likewise.
10770 * sunrpc/rpc_prot.c: Likewise.
10771 * sunrpc/rpc_sample.c: Likewise.
10772 * sunrpc/rpc_scan.c: Likewise.
10773 * sunrpc/rpc_scan.h: Likewise.
10774 * sunrpc/rpc_svcout.c: Likewise.
10775 * sunrpc/rpc_tblout.c: Likewise.
10776 * sunrpc/rpc_util.c: Likewise.
10777 * sunrpc/rpc_util.h: Likewise.
10778 * sunrpc/rpcinfo.c: Likewise.
10779 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10780 * sunrpc/rpcsvc/key_prot.x: Likewise.
10781 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10782 * sunrpc/rpcsvc/mount.x: Likewise.
10783 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10784 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10785 * sunrpc/rpcsvc/rex.x: Likewise.
10786 * sunrpc/rpcsvc/rstat.x: Likewise.
10787 * sunrpc/rpcsvc/rusers.x: Likewise.
10788 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10789 * sunrpc/rpcsvc/spray.x: Likewise.
10790 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10791 * sunrpc/rtime.c: Likewise.
10792 * sunrpc/svc.c: Likewise.
10793 * sunrpc/svc_auth.c: Likewise.
10794 * sunrpc/svc_authux.c: Likewise.
10795 * sunrpc/svc_raw.c: Likewise.
10796 * sunrpc/svc_run.c: Likewise.
10797 * sunrpc/svc_simple.c: Likewise.
10798 * sunrpc/svc_tcp.c: Likewise.
10799 * sunrpc/svc_udp.c: Likewise.
10800 * sunrpc/svc_unix.c: Likewise.
10801 * sunrpc/svcauth_des.c: Likewise.
10802 * sunrpc/xcrypt.c: Likewise.
10803 * sunrpc/xdr.c: Likewise.
10804 * sunrpc/xdr_array.c: Likewise.
10805 * sunrpc/xdr_float.c: Likewise.
10806 * sunrpc/xdr_mem.c: Likewise.
10807 * sunrpc/xdr_rec.c: Likewise.
10808 * sunrpc/xdr_ref.c: Likewise.
10809 * sunrpc/xdr_sizeof.c: Likewise.
10810 * sunrpc/xdr_stdio.c: Likewise.
10811
9da4bb31
UD
10812 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10813 handling.
10814
bdaa77bc
AS
108152010-08-19 Andreas Schwab <schwab@redhat.com>
10816
10817 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
10818
fe2f79db
LM
108192010-08-19 Luis Machado <luisgpm@br.ibm.com>
10820
10821 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
10822 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
10823 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
10824 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
10825 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
10826 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
10827 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
10828 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
10829 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
10830 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
10831 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
10832 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
10833 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
10834 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
10835
b9b42ee0
AB
108362010-07-26 Anton Blanchard <anton@samba.org>
10837
10838 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
10839 * malloc/arena.c (heap_trim): Likewise.
10840
1c06ba31
UD
108412010-08-16 Ulrich Drepper <drepper@redhat.com>
10842
10843 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
10844 here. Not...
10845 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
10846 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
10847
f8392f40
L
108482010-08-12 H.J. Lu <hongjiu.lu@intel.com>
10849
10850 * sysdeps/i386/elf/Makefile: New file.
10851
3162f12e
AS
108522010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10853
10854 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
10855 from fanotify_init.
10856 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10857 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10858
28c90b2c
UD
108592010-08-15 Ulrich Drepper <drepper@redhat.com>
10860
10861 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
10862 of strncasecmp_l.
1feccb6c 10863 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 10864
ca6bb004
UD
108652010-08-14 Ulrich Drepper <drepper@redhat.com>
10866
e9f82e0d
UD
10867 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10868 strncase_l-nonascii.
10869 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10870 Add strncase_l-ssse3.
10871 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
10872 * sysdeps/x86_64/strcmp.S: Likewise.
10873 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
10874 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
10875 * sysdeps/x86_64/strncase.S: New file.
10876 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
10877 * sysdeps/x86_64/strncase_l.S: New file.
10878 * string/Makefile (strop-tests): Add strncasecmp.
10879 * string/test-strncasecmp.c: New file.
10880
10881 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
10882 warning.
10883
ca6bb004
UD
10884 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
10885 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
10886
052fa7b3
AS
108872010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10888
10889 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
10890
962dba78
UD
108912010-08-12 Ulrich Drepper <drepper@redhat.com>
10892
10893 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
10894 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10895 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10896
bebff237
AM
108972010-05-01 Alan Modra <amodra@gmail.com>
10898
10899 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
10900 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
10901 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
10902 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
10903 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
10904 tidying. Don't tail-call __sigjmp_save for static lib.
10905 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
10906 save location.
10907 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
10908 (CALL_MCOUNT): Add eh info, and nop after bl.
10909 (TAIL_CALL_SYSCALL_ERROR): New macro.
10910 (PSEUDO_RET): Use it.
10911 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10912 Correct save location of integer regs and cr.
10913 (_dl_profile_resolve): Correct cr save location. Delete nops
10914 after bl when SHARED. Reduce cfi size a little by better
10915 placement of cfi directives.
10916 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
10917 make a stack frame. Instead use parm save area as a temp.
10918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
10919 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
10920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10921 Don't make a stack frame for parent, use parm save area.
10922 Increase child stack frame to 112 bytes. Don't save unused reg,
10923 and adjust reg usage. Set up cfi on error recovery and
10924 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
10925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10926 (__makecontext): Add dummy nop after jump to exit.
10927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
10928 Use correct parm save area and cr save, reduce stack frame.
10929 Correct cfi for possible PSEUDO_RET frame setup.
10930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
10931 Branch to local label emitted by PSEUDO_RET rather than
10932 __syscall_error.
10933
02637374
AS
109342010-08-12 Andreas Schwab <schwab@redhat.com>
10935
10936 [BZ #11904]
10937 * locale/programs/locale.c (print_assignment): New function.
10938 (show_locale_vars): Use it.
10939
c3e2f19b
UD
109402010-08-11 Ulrich Drepper <drepper@redhat.com>
10941
3cdaa6ad
UD
10942 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
10943 field.
10944 (struct statfs64): Likewise.
10945 (_STATFS_F_FLAGS): Define.
10946 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
10947 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10948 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
10949 (ST_VALID): Define locally.
10950 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
10951 __statvfs_getflags, use the provided value.
10952 * sysdeps/unix/sysv/linux/kernel-features.h: Define
10953 __ASSUME_STATFS_F_FLAGS.
10954
754f7da3
UD
10955 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
10956
10b3bedc
UD
10957 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
10958 Add sys/fanotify.h.
10959 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
10960 fanotify_mask for GLIBC_2.13.
10961 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
10962 fanotify_init and fanotify_mark.
10963 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10964 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
10965
c08fb0d7
UD
10966 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
10967 Add prlimit.
10968 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
10969 prlimit64 for GLIBC_2.13.
10970 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
10971 prlimit64.
10972 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
10973 syscall.
10974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10975 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10976 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
10977 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
10978 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
10979 add prlimit alias.
10980 * sysdeps/unix/sysv/linux/prlimit.c: New file.
10981
15bac72b
UD
10982 [BZ #11903]
10983 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
10984 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
10985
c3e2f19b
UD
10986 * nss/Makefile: Add rules to build and run tst-nss-test1.
10987 * shlib-versions: Add entry for libnss_test1.
10988 * nss/nss_test1.c: New file.
10989 * nss/tst-nss-test1.c: New file.
10990
10991 * nss/nsswitch.c (__nss_database_custom): Define new variable.
10992 (__nss_configure_lookup): Set appropriate entry in
10993 __nss_configure_lookup to true.
10994 * nss/nsswitch.h: Define enum with indeces of databases in
10995 databases and __nss_database_custom arrays. Declare
10996 __nss_database_custom.
10997 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
10998 to avoid using nscd when custom rules are installed.
10999 * nss/getXXbyYY_r.c: Likewise.
11000 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11001
11002 * nss/nss_files/files-parse.c: Whitespace fixes.
11003
f15ce4d8
UD
110042010-08-09 Ulrich Drepper <drepper@redhat.com>
11005
11006 [BZ #11883]
11007 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
11008 * posix/fnmatch_loop.c: Likewise.
11009
d22e4cc9
AK
110102010-07-17 Andi Kleen <ak@linux.intel.com>
11011
11012 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11013 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11014 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11015 * Versions.def [GLIBC_2.13]: Add.
11016
805bc17d
UD
110172010-08-06 Ulrich Drepper <drepper@redhat.com>
11018
11019 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11020 Also fail if tpwd after pwuid call is NULL.
11021
5a42321d
ST
110222010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11023
11024 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11025 when converting to ms.
11026
fd3ebeda
ST
110272010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11028
11029 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11030 EOPNOTSUPP errors with ENOTTY.
11031 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11032 EOPNOTSUPP errors with ENOTTY.
11033
73507d3a
UD
110342010-07-31 Ulrich Drepper <drepper@redhat.com>
11035
11036 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11037 Add strcasecmp_l-ssse3.
11038 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11039 strcasecmp.
11040 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11041 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11042 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11043
fe36dd02
UD
110442010-07-30 Ulrich Drepper <drepper@redhat.com>
11045
66f6765a
UD
11046 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11047
42e08a54
UD
11048 * string/Makefile (strop-tests): Add strcasecmp.
11049 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11050 strcasecmp_l-nonascii.
11051 (gen-as-const-headers): Add locale-defines.sym.
11052 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11053 * sysdeps/x86_64/strcasecmp.S: New file.
11054 * sysdeps/x86_64/strcasecmp_l.S: New file.
11055 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11056 * sysdeps/x86_64/locale-defines.sym: New file.
11057 * string/test-strcasecmp.c: New file.
11058
fe36dd02
UD
11059 * string/test-strcasestr.c: Test both ends of the range of characters.
11060 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11061
48cbc0d6
RM
110622010-07-29 Roland McGrath <roland@redhat.com>
11063
76e6d6bc 11064 [BZ #11856]
48cbc0d6
RM
11065 * manual/locale.texi (Yes-or-No Questions): Fix example code.
11066
880113d9
UD
110672010-07-27 Ulrich Drepper <drepper@redhat.com>
11068
11069 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11070 for ld.so.
11071
deb9cabb
AS
110722010-07-27 Andreas Schwab <schwab@redhat.com>
11073
11074 * manual/memory.texi (Malloc Tunable Parameters): Document
11075 M_PERTURB.
11076
1c7570ff
RM
110772010-07-26 Roland McGrath <roland@redhat.com>
11078
11079 [BZ #11840]
11080 * configure.in (-fgnu89-inline check): Set and substitute
11081 gnu89_inline, not libc_cv_gnu89_inline.
11082 * configure: Regenerated.
11083 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11084
24fb0f88
UD
110852010-07-26 Ulrich Drepper <drepper@redhat.com>
11086
11087 * string/test-strnlen.c: New file.
11088 * string/Makefile (strop-tests): Add strnlen.
11089 * string/tester.c (test_strnlen): Add a few more test cases.
11090 * string/tst-strlen.c: Better error reporting.
11091
11092 * sysdeps/x86_64/strnlen.S: New file.
11093
8e96b93a
UD
110942010-07-24 Ulrich Drepper <drepper@redhat.com>
11095
11096 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11097 lower-latency instructions.
11098
dbc676d4
UD
110992010-07-23 Ulrich Drepper <drepper@redhat.com>
11100
11101 * string/test-strcasestr.c: New file.
11102 * string/test-strstr.c: New file.
11103 * string/Makefile (strop-tests): Add strstr and strcasestr.
11104 * string/str-two-way.h: Don't undefine MAX.
11105 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11106
f6a31e0e
AS
111072010-07-21 Andreas Schwab <schwab@redhat.com>
11108
11109 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11110 strcasestr-nonascii.
11111 (CFLAGS-strcasestr-nonascii.c): Define.
11112 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11113 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11114 Remove unused attribute.
11115
5dbc3b6c
RM
111162010-07-20 Roland McGrath <roland@redhat.com>
11117
11118 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11119 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
11120 ld.so.cache was broken. With it, there is no way to disable dsocaps
11121 like LD_HWCAP_MASK can disable hwcaps.
11122
23d101d8
EPM
111232010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11124
11125 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11126
cc9f2e47
UD
111272010-07-16 Ulrich Drepper <drepper@redhat.com>
11128
11129 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11130 call in strcasestr.
11131 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11132 __strcasestr_sse42_nonascii.
11133 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11134 strcasestr-nonascii.c.
11135 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11136
77c1b069
LM
111372010-06-15 Luis Machado <luisgpm@br.ibm.com>
11138
11139 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11140 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11141 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11142 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11143
440566c3
UD
111442010-07-09 Ulrich Drepper <drepper@redhat.com>
11145
11146 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11147 fcntl.
11148
5be9d05d
AS
111492010-07-06 Andreas Schwab <schwab@redhat.com>
11150
c30b7ee2 11151 [BZ #11577]
5be9d05d
AS
11152 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11153 dl_signal_cerror.
11154
8a492a67
UD
111552010-07-06 Ulrich Drepper <drepper@redhat.com>
11156
11157 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11158 _PC_PIPE_BUF using F_GETPIPE_SZ.
11159
713df3d5
RM
111602010-07-05 Roland McGrath <roland@redhat.com>
11161
11162 * manual/arith.texi (Rounding Functions): Fix rint description
11163 implicit in round description.
11164
702e8f14
UD
111652010-07-02 Ulrich Drepper <drepper@redhat.com>
11166
11167 * elf/Makefile: Fix linking for a few tests to make recent linker
11168 happy.
11169
52ed8be9
AS
111702010-06-30 Andreas Schwab <schwab@redhat.com>
11171
11172 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11173 $(common-objpfx)libc_nonshared.a.
11174
f47c9a11
LM
111752010-06-21 Luis Machado <luisgpm@br.ibm.com>
11176
11177 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11178 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11179 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11180 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11181 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11182 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11183 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11184 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11199 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11200 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11201 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11202 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11203 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11204 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11205 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11206 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11207 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11208 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11209 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11210 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11225
6fb8cbcb
L
112262010-06-25 H.J. Lu <hongjiu.lu@intel.com>
11227
11228 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11229 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11230 * string/memmove.c (memmove): Renamed to ...
11231 (MEMMOVE): ...this. Default to memmove.
11232 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11233 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11234 (END_CHK): Define.
11235 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11236 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11237 mempcpy-ssse3-back memmove-ssse3-back.
11238 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11239 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11240 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11241 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11242 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11243 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11244 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11245 * sysdeps/x86_64/multiarch/memmove.c: New file.
11246 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11247 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11248 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11249 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11250 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11251 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11252 Define.
11253 (index_Fast_Copy_Backward): Define.
11254 (HAS_ARCH_FEATURE): Define.
11255 (HAS_FAST_REP_STRING): Define.
11256 (HAS_FAST_COPY_BACKWARD): Define.
11257
4e733bac 112582010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
11259
11260 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11261 Restore proper fallback handling.
11262
63c4ed22
UD
112632010-06-19 Ulrich Drepper <drepper@redhat.com>
11264
ac2b484c
UD
11265 [BZ #11701]
11266 * posix/group_member.c (__group_member): Correct checking loop.
11267
63c4ed22
UD
11268 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11269 OOM in getpwuid_r correctly. Return error number when the caller
11270 should return, otherwise -1.
11271 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11272 call returning > 0 value.
11273 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11274
765ade4b
AS
112752010-06-07 Andreas Schwab <schwab@redhat.com>
11276
11277 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11278 libc_nonshared.a from targets in modules-names.
11279
80da2e09
KS
112802010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11281
11282 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11283 requires it.
11284
158db122
LM
112852010-06-10 Luis Machado <luisgpm@br.ibm.com>
11286
11287 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11288 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11289 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11290 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11291
caa78cf8
AS
112922010-06-02 Andreas Schwab <schwab@redhat.com>
11293
11294 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11295
b2ef2c01
UD
112962010-06-14 Ulrich Drepper <drepper@redhat.com>
11297
11298 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11299 and F_GETPIPE_SZ.
11300 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11301 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11302 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11303 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11304 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11305 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11306
fbd643b6
RM
113072010-06-14 Roland McGrath <roland@redhat.com>
11308
11309 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11310
f32f2869
JJ
113112010-06-07 Jakub Jelinek <jakub@redhat.com>
11312
11313 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11314 __REDIRECT followed by __THROW.
11315 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11316 * posix/getopt.h (getopt): Likewise.
11317
2a50c078
EPM
113182010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11319
11320 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11321 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11322 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11323 in AT_FLAGS.
11324 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11325 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11326
eb5ad2eb
LM
113272010-05-28 Luis Machado <luisgpm@br.ibm.com>
11328
11329 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11330
3c88fe1e
L
113312010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11332
11333 [BZ #11640]
11334 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11335 Properly check family and model.
11336
d2f73151
TY
113372010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11338
11339 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11340
ebd2e13d
LM
113412010-05-24 Luis Machado <luisgpm@br.ibm.com>
11342
11343 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11344
b32b8b45
UD
113452010-05-21 Ulrich Drepper <drepper@redhat.com>
11346
11347 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11348 symbol reference.
11349
9acbe24d
AS
113502010-05-19 Andreas Schwab <schwab@redhat.com>
11351
11352 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11353 symbol reference.
11354
f0ccf6ea
AS
113552010-05-21 Andreas Schwab <schwab@redhat.com>
11356
3d04ff3a
AS
11357 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11358 and internal_recvmmsg.
11359 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11360 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11361 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11362 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11363
f0ccf6ea
AS
11364 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11365 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11366 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11367
5b08ac57
AS
113682010-05-20 Andreas Schwab <schwab@redhat.com>
11369
11370 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11371
4828935d
LM
113722010-05-17 Luis Machado <luisgpm@br.ibm.com>
11373
11374 POWER7 optimizations.
11375 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11376 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11377
373d545e
UD
113782010-05-19 Ulrich Drepper <drepper@redhat.com>
11379
11380 * version.h: Update for 2.13 development version.
11381
21a2b1ae
AS
113822010-05-12 Andrew Stubbs <ams@codesourcery.com>
11383
11384 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11385 exceptions. Return 0.
11386
3f7dcb2b
RM
113872010-05-07 Roland McGrath <roland@redhat.com>
11388
11389 * elf/ldconfig.c (main): Add a const.
11390
5f24d53a 113912010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 11392
a160f8d8
UD
11393 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11394 (args_options): Add no-idn option.
11395 (ahosts_keys_int): Add idn_flags to ai_flags.
11396 (parse_option): Handle 'i' option to clear idn_flags.
11397
5f24d53a
UD
11398 * malloc/malloc.c (_int_free): Possible race in the most recently
11399 added check. Only act on the data if no current modification
11400 happened.
265bb1ce
UD
11401
11402See ChangeLog.17 for earlier changes.
This page took 1.52253 seconds and 5 git commands to generate.