]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Update libm-test-ulps
[thirdparty/glibc.git] / ChangeLog
1 2012-09-03 Andreas Jaeger <aj@suse.de>
2
3 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4 * sysdeps/i386/fpu/libm-test-ulps: Update.
5
6 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7
8 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
9 Add s_sinf-sse2, s_conf-sse2.
10
11 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
12 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
14 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
15
16 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
17 for using routine as __sinf_ia32.
18 Use macro for function declaration and weak_alias.
19 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
20 for using routine as __cosf_ia32.
21 Use macro for function declaration and weak_alias.
22
23 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
25
26 * sysdeps/x86_64/fpu/s_sinf.S: New file.
27 * sysdeps/x86_64/fpu/s_cosf.S: New file.
28 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29
30 * math/libm-test.inc (cos_test): Add more test cases.
31 (sin_test): Likewise.
32 (sincos_test): Likewise.
33
34 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35
36 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37 (IFUNC_RESOLVE): Make pointers to the specialized implementations
38 hidden.
39 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
40
41 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
42
43 [BZ #14538]
44 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
45 first element of the GOT.
46 (elf_machine_load_address): Return the difference between
47 the runtime address of _DYNAMIC and elf_machine_dynamic ().
48
49 2012-09-01 Allan McRae <allan@archlinux.org>
50
51 [BZ #13412]
52 * configure.in (AWK): Require gawk version 3.0 or later.
53 * configure: Regenerated.
54
55 2012-09-01 Joseph Myers <joseph@codesourcery.com>
56
57 * sysdeps/unix/sysv/linux/kernel-features.h
58 (__ASSUME_POSIX_CPU_TIMERS): Remove.
59 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
60 [__NR_clock_getres]: Make code unconditional.
61 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
62 (clock_getcpuclockid): Remove code left unreachable by removal of
63 conditionals.
64 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
65 code unconditional.
66 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
67 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
68 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
69 Make code unconditional.
70 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
71 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
72 * sysdeps/unix/sysv/linux/clock_settime.c
73 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
74 conditional code.
75 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
76 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77
78 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
79
80 [BZ #14476]
81 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
82 scripts/test-installation.pl.
83
84 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
85 and $ld_so_version if it is set.
86
87 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
88
89 [BZ #14516]
90 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
91 failure if reading from procfs failed.
92 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
93
94 2012-08-27 Joseph Myers <joseph@codesourcery.com>
95
96 * sysdeps/unix/sysv/linux/kernel-features.h
97 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
98 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
99 Remove conditional code.
100 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
101 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
102 Remove conditional code.
103 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
104 * sysdeps/unix/sysv/linux/i386/fxstat.c
105 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
106 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
107 * sysdeps/unix/sysv/linux/i386/fxstatat.c
108 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
109 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
110 * sysdeps/unix/sysv/linux/i386/lxstat.c
111 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
112 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
113 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
114 Remove conditional code.
115 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
116 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
117 Remove conditional code.
118 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
119 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
120 <kernel-features.h>.
121 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
122 Remove.
123 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
124 Remove conditional code.
125 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
126 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
127 Remove conditional.
128
129 2012-08-27 Mike Frysinger <vapier@gentoo.org>
130
131 [BZ #5400]
132 * NEWS: Add fixed bug number.
133
134 2012-08-27 Joseph Myers <joseph@codesourcery.com>
135
136 [BZ #14519]
137 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
138 underflowing exponent in case of negative sign.
139 * stdlib/tst-strtod-round-data: Add more tests.
140 * stdlib/tst-strtod-round.c (tests): Regenerated.
141
142 [BZ #3479]
143 * stdlib/strtod_l.c (NDIG): Remove.
144 (HEXNDIG): Likewise.
145 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
146 smallest representable value.
147 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
148 lie within an exact representation of 1/2 ulp of the result.
149 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
150 unconditionally.
151 (TENS_P9_IDX): Define unconditionally.
152 (TENS_P9_SIZE): Likewise.
153 (TENS_P10_IDX): Likewise.
154 (TENS_P10_SIZE): Likewise.
155 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
156 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
157 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
158 entries for 10^2^13 and 10^2^14.
159 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
160 (TENS_P13_IDX): Define.
161 (TENS_P13_SIZE): Likewise.
162 (TENS_P14_IDX): Likewise.
163 (TENS_P14_SIZE): Likewise.
164 (_fpioconst_pow10): Change array size to
165 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
166 unconditional.
167 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
168 1024]: Add entries for 10^2^13 and 10^2^14.
169 [LAST_POW10 > _LAST_POW10]: Remove #error.
170 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
171 (_fpioconst_pow10): Change array size to
172 FPIOCONST_POW10_ARRAY_SIZE.
173 * stdlib/gen-fpioconst.c: New file.
174 * stdlib/gen-tst-strtod-round.c: Likewise.
175 * stdlib/tst-strtod-round-data: Likewise.
176 * stdlib/tst-strtod-round.c: Likewise.
177 * stdlib/Makefile (tests): Add tst-strtod-round.
178
179 [BZ #14459]
180 * stdlib/strtod_l.c: Include <stdint.h>.
181 (NDEBUG): Do not define.
182 (round_and_return): Change EXPONENT parameter to type intmax_t.
183 Rearrange calculations to avoid internal overflow possibilities.
184 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
185 Rearrange calculations to avoid internal overflow possibilities.
186 Assert that number fits inside MPNSIZE limbs.
187 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
188 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
189 calculations and add assertions to avoid internal overflow
190 possibilities. Add casts to avoid signed/unsigned operations.
191 * stdlib/tst-strtod-overflow.c: New file.
192 * stdlib/Makefile (tests): Add tst-strtod-overflow.
193
194 2012-08-25 Marek Polacek <polacek@redhat.com>
195
196 * time/time.h: Fix some typos in comments.
197
198 2012-08-23 Roland McGrath <roland@hack.frob.com>
199
200 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
201 * posix/tst-rfc3484-2.c: Likewise.
202 * posix/tst-rfc3484-3.c: Likewise.
203
204 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
205
206 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
207 (EF_ARM_ABI_FLOAT_HARD): Likewise.
208
209 2012-08-23 Joseph Myers <joseph@codesourcery.com>
210
211 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
212 #include of fxstatat64.c.
213
214 2012-08-22 Roland McGrath <roland@hack.frob.com>
215
216 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
217 * shadow/getspent_r.c: Likewise.
218 * shadow/getspnam.c: Likewise.
219 * shadow/getspnam_r.c: Likewise.
220 * gshadow/getsgent.c: Likewise.
221 * gshadow/getsgent_r.c: Likewise.
222 * gshadow/getsgnam.c: Likewise.
223 * gshadow/getsgnam_r.c: Likewise.
224 * inet/getnetbyad.c: Likewise.
225 * inet/getnetbyad_r.c: Likewise.
226 * inet/getnetbynm.c: Likewise.
227 * inet/getnetbynm_r.c: Likewise.
228 * inet/getnetent.c: Likewise.
229 * inet/getnetent_r.c: Likewise.
230 * inet/getproto.c: Likewise.
231 * inet/getproto_r.c: Likewise.
232 * inet/getprtent.c: Likewise.
233 * inet/getprtent_r.c: Likewise.
234 * inet/getprtname.c: Likewise.
235 * inet/getprtname_r.c: Likewise.
236 * inet/getrpcbyname.c: Likewise.
237 * inet/getrpcbyname_r.c: Likewise.
238 * inet/getrpcbynumber.c: Likewise.
239 * inet/getrpcbynumber_r.c: Likewise.
240 * inet/getrpcent.c: Likewise.
241 * inet/getrpcent_r.c: Likewise.
242 * inet/getaliasent.c: Likewise.
243 * inet/getaliasent_r.c: Likewise.
244 * inet/getaliasname.c: Likewise.
245 * inet/getaliasname_r.c: Likewise.
246 * nscd/getgrgid_r.c: Likewise.
247 * nscd/getgrnam_r.c: Likewise.
248 * nscd/gethstbyad_r.c: Likewise.
249 * nscd/gethstbynm3_r.c: Likewise.
250 * nscd/getpwnam_r.c: Likewise.
251 * nscd/getpwuid_r.c: Likewise.
252 * nscd/getsrvbynm_r.c: Likewise.
253 * nscd/getsrvbypt_r.c: Likewise.
254 * nscd/gai.c: Likewise.
255
256 * configure.in (build_nscd): New substituted variable, set
257 by --disable-build-nscd and defaults to $use_nscd.
258 * configure: Regenerated.
259 * config.make.in (build-nscd): New substituted variable.
260 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
261 Change conditional to require [$(build-nscd) = yes] as well.
262 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
263
264 [BZ# 13696]
265 * configure.in (use_nscd): New substituted variable, set by
266 --disable-nscd. If enabled, define USE_NSCD.
267 * configure: Regenerated.
268 * config.h.in: Add USE_NSCD.
269 * config.make.in (use-nscd): New substituted variable.
270 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
271 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
272 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
273 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
274 (CFLAGS-getgrnam_r.c): Likewise.
275 (CFLAGS-initgroups.c): Likewise.
276 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
277 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
278 Variables removed.
279 * inet/getnetgrent_r.c
280 (nscd_setnetgrent): New function, broken out of ...
281 (setnetgrent): ... here. Call it.
282 (innetgr): Conditionalize nscd bits on [USE_NSCD].
283 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
284 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
285 * nscd/Makefile (routines, aux): Move definitions after include of
286 Makeconfig. Conditionalize on [$(use-nscd) != no].
287 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
288 Conditionalize on [USE_NSCD].
289 (is_nscd, nscd_init_cb): Likewise.
290 (nss_load_library): Conditionalize init callback on [USE_NSCD].
291 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
292 * nss/nss_db/db-init.c: Likewise.
293 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
294 [USE_NSCD].
295 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
296 (make_request): Use it.
297 (cache_valid_p): New function.
298 (__check_pf): Use it.
299 * NEWS: Add item for --disable-nscd.
300
301 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
302
303 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
304 to support sed >= 4.2.1-20-ga9bf076.
305 * configure: Regenerated.
306
307 2012-08-22 Roland McGrath <roland@hack.frob.com>
308
309 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
310 Conditionalize whole body on [IREL].
311
312 2012-08-22 Jeff Law <law@redhat.com>
313
314 [BZ #14505]
315 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
316 if the family is PF_UNSPEC.
317
318 2012-08-22 Mike Frysinger <vapier@gentoo.org>
319
320 * Makerules (lib-version): Rename from V.
321 (install-lib-nosubdir): Change V to lib-version.
322
323 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
324
325 [BZ #14252]
326 * powerpc32/power6/wcschr.c: New file.
327 * powerpc32/power6/wcscpy.c: New file.
328 * powerpc32/power6/wcsrchr.c: New file.
329 * powerpc64/power6/wcschr.c: New file.
330 * powerpc64/power6/wcscpy.c: New file.
331 * powerpc64/power6/wcsrchr.c: New file.
332
333 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
334
335 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
336 (two_way_short_needle): Use it.
337 * string/strstr.c (AVAILABLE1_USES_J): Define.
338 * string/strcasestr.c: Likewise.
339
340 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
341 array references.
342 * string/strcasestr.c (TOLOWER): Make side-effect safe.
343
344 [BZ #11607]
345 * NEWS: Add an entry.
346 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
347 define their defaults.
348 (two_way_short_needle): Detect end-of-string on-the-fly.
349 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
350 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
351 * string/bug-strcasestr1.c: New test.
352 * string/Makefile: Run it.
353
354 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
355
356 [BZ #11607]
357 * string/str-two-way.h (two_way_short_needle): Optimize matching of
358 the first character.
359
360 2012-08-21 Roland McGrath <roland@hack.frob.com>
361
362 * csu/elf-init.c (__libc_csu_irel): Function removed.
363 * csu/libc-start.c (apply_irel): New function.
364 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
365
366 2012-08-21 Joseph Myers <joseph@codesourcery.com>
367
368 * sysdeps/unix/sysv/linux/kernel-features.h
369 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
370 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
371 <kernel-features.h>.
372 [__NR_fadvise64_64]: Make code unconditional.
373 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
374 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
375 !__NR_fadvise64_64)]: Likewise.
376 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
377 !__NR_fadvise64_64))]: Likewise.
378 [__NR_fadvise64]: Make code unconditional.
379 [!__NR_fadvise64]: Remove conditional code.
380 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
381 <kernel-features.h>.
382 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
383 unconditional.
384 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
385 conditional code.
386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
387 not include <kernel-features.h>.
388 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
389 unconditional.
390 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
391 conditional code.
392 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
393 include <kernel-features.h>.
394 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
395 unconditional.
396 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
397 conditional code.
398
399 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
400
401 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
402 slight instruction rearrangements per scrollpipe analysis.
403 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
404
405 2012-08-20 Roland McGrath <roland@hack.frob.com>
406
407 * manual/syslog.texi (syslog; vsyslog, closelog):
408 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
409 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
410
411 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
412 DSOCAPS to match condition on defining it.
413
414 2012-08-20 Joseph Myers <joseph@codesourcery.com>
415
416 * sysdeps/unix/sysv/linux/kernel-features.h
417 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
419 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
420 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
422 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
423 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
425 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
426 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
427
428 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
429 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
430
431 * sysdeps/unix/sysv/linux/kernel-features.h
432 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
433 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
434 unconditional.
435 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
436 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
437 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
438 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
439 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
440 Make code unconditional.
441 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
442 (__mmap64) [!__NR_mmap2]: Likewise.
443 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
444 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
445 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
446 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
447 [__NR_mmap2]: Make code unconditional.
448 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
449 (__mmap64) [!__NR_mmap2]: Likewise.
450
451 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
452
453 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
454
455 2012-08-18 Andreas Jaeger <aj@suse.de>
456
457 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
458
459 2012-08-18 Mike Frysinger <vapier@gentoo.org>
460
461 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
462 * include/unistd.h (__have_sock_cloexec): Likewise.
463 (__have_pipe2): Likewise.
464 (__have_dup3): Likewise.
465
466 2012-08-18 Mike Frysinger <vapier@gentoo.org>
467
468 [BZ #9685]
469 * include/unistd.h (__have_pipe2): Change define into an extern int.
470 (__have_dup3): Likewise.
471 * socket/have_sock_cloexec.c: Include fcntl.h.
472 (__have_pipe2): New variable.
473 (__have_dup3): Likewise.
474
475 2012-08-17 Mike Frysinger <vapier@gentoo.org>
476
477 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
478
479 2012-08-17 Marek Polacek <polacek@redhat.com>
480
481 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
482 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
483
484 2012-08-17 Roland McGrath <roland@hack.frob.com>
485
486 * configure.in: Add AC_SUBST for sysheaders.
487 * configure: Regenerated.
488 * config.make.in (sysheaders): New substituted variable.
489
490 * sysdeps/unix/mkfifo.c: Moved ...
491 * sysdeps/posix/mkfifo.c: ... here.
492 * sysdeps/unix/mkfifoat.c: Moved ...
493 * sysdeps/posix/mkfifoat.c: ... here.
494
495 * sysdeps/unix/utime.c: Moved ...
496 * sysdeps/posix/utime.c: ... here.
497
498 * sysdeps/unix/time.c: Moved ...
499 * sysdeps/posix/time.c: ... here.
500 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
501 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
502
503 * sysdeps/unix/nice.c: Moved ...
504 * sysdeps/posix/nice.c: ... here.
505
506 * sysdeps/unix/alarm.c: Moved ...
507 * sysdeps/posix/alarm.c: ... here.
508
509 * intl/Makefile ($(codeset_mo)): Depend on the input file.
510
511 2012-08-17 Jeff Law <law@redhat.com>
512
513 * intl/Makefile (codeset_mo): New variable.
514 ($(codeset_mo)): New target.
515 (tst-codeset.out): Depend on that. Remove explicit rule.
516 (tst-gettext3.out, tst-gettext5.out): Likewise.
517 (LOCPATH-ENV, tst-codeset-ENV): New variables.
518 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
519 * intl/tst-codeset.sh: Remove.
520 * intl/tst-gettext3.sh: Likewise.
521 * intl/tst-gettext5.sh: Likewise.
522
523 2012-08-17 Roland McGrath <roland@hack.frob.com>
524
525 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
526 * sysdeps/unix/syscalls.list: ... here.
527
528 * sysdeps/posix/getaddrinfo.c
529 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
530 (gaiconf_init, gaiconf_reload): Use them.
531 [!_STATBUF_ST_NSEC]
532 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
533 Define using time_t rather than struct timespec.
534
535 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
536 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
537 Macros removed.
538 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
539 [!NO_THREADS].
540 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
541 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
542 Likewise.
543
544 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
545 __libc_cleanup_push argument.
546
547 * bits/param.h: New file.
548 * misc/sys/param.h: New file.
549 * include/sys/param.h: New file.
550 * misc/Makefile (headers): Add bits/param.h.
551 * sysdeps/generic/sys/param.h: File removed.
552 * sysdeps/unix/sysv/linux/bits/param.h: New file.
553 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
554 * sysdeps/mach/hurd/bits/param.h: New file.
555 * sysdeps/mach/hurd/sys/param.h: New file.
556
557 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
558 last change.
559
560 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
561 [_IO_MTSAFE_IO].
562 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
563 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
564 New macros.
565
566 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
567 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
568 rather than -D_IO_MTSAFE_IO conditionally.
569 * stdio-common/Makefile (CPPFLAGS): Likewise.
570 * wcsmbs/Makefile (CPPFLAGS): Likewise.
571 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
572 Use $(libio-mtsafe).
573 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
574 of -D_IO_MTSAFE_IO.
575 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
576 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
577 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
578 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
579 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
580 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
581 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
582 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
583 (CFLAGS-fread_u_chk.c): Likewise.
584 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
585 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
586 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
587 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
588 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
589 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
590 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
591 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
592 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
593
594 * libio/Makefile: Test [$(libc-reentrant) = yes]
595 instead of [$(filter %REENTRANT, $(defines)) nonempty].
596
597 * Makeconfig
598 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
599 * sysdeps/pthread/configure: File removed.
600 * sysdeps/pthread/Makeconfig: New file.
601 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
602 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
603
604 2012-08-16 Gary Benson <gbenson@redhat.com>
605
606 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
607 unmapping the first object in a namespace.
608
609 2012-08-16 Roland McGrath <roland@hack.frob.com>
610
611 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
612 (__internal_setnetgrent): ... this. Add internal_function to
613 definition. Add libc_hidden_def.
614 (setnetgrent): Update caller.
615 (internal_endnetgrent): Renamed to ...
616 (__internal_endnetgrent): ... this. Add internal_function to
617 definition. Add libc_hidden_def.
618 (endnetgrent): Update caller.
619 (internal_getnetgrent_r): Renamed to ...
620 (__internal_getnetgrent_r): ... this. Add internal_function to
621 definition. Add libc_hidden_def.
622 (__getnetgrent_r): Update caller.
623 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
624
625 2012-08-16 Joseph Myers <joseph@codesourcery.com>
626
627 * stdlib/longlong.h: Update from GCC.
628
629 2012-08-16 Roland McGrath <roland@hack.frob.com>
630
631 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
632 on _QL, which is set by umul_ppmm but never used.
633 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
634 variables, which are set by GMP macros but never used.
635 * stdio-common/_itowa.c (_itowa): Likewise.
636 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
637 * stdlib/mod_1.c (mpn_mod_1): Likewise.
638
639 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
640
641 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
642 struct La_sh_regs is not constant.
643 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
644 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
645 and struct La_sparc64_regs are not constant.
646
647 2012-08-16 Joseph Myers <joseph@codesourcery.com>
648
649 * sysdeps/unix/sysv/linux/kernel-features.h
650 (__ASSUME_POSIX_TIMERS): Remove.
651 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
652 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
653 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
654 Make code unconditional.
655 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
656 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
657 Make code unconditional.
658 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
659 * sysdeps/unix/sysv/linux/clock_nanosleep.c
660 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
661 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
662 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
663 Make code unconditional.
664 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
665 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
666 (__libc_missing_posix_timers): Remove.
667
668 2012-08-15 Roland McGrath <roland@hack.frob.com>
669
670 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
671 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
672
673 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
674
675 * elf/dl-sym.c: Include <stdlib.h>.
676
677 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
678 constants, which avoids warnings in 32-bit builds.
679
680 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
681 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
682
683 * misc/lseek.c: File moved to ...
684 * io/lseek.c: ... here.
685
686 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
687
688 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
689 shifting LEN more than 31 bits at once.
690
691 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
692
693 [BZ #14195]
694 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
695 segmentation fault for a case of two empty input strings.
696 * string/test-strncasecmp.c (check1): Renamed to...
697 (bz12205): ...this.
698 (bz14195): Add new testcase for two empty input strings and N > 0.
699 (test_main): Call new testcase, adapt for renamed function.
700
701 2012-08-15 Andreas Jaeger <aj@suse.de>
702
703 [BZ #14090]
704 * crypt/md5test2.c: New test, based on test supplied by Serge
705 Belyshev <belyshev@depni.sinp.msu.ru>.
706 * crypt/Makefile (xtests): Add md5test-giant..
707 * crypt/Makefile ($(objpfx)md5test-giant): Add.
708
709 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
710
711 [BZ #14090]
712 * crypt/md5.c (md5_process_block): Don't assume the buffer
713 length is less than 2**32.
714 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
715 length is less than 2**64.
716
717 2012-08-15 Roland McGrath <roland@hack.frob.com>
718
719 * string/str-two-way.h: Include <sys/param.h>.
720 (MAX): Macro removed.
721
722 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
723 Move #define and #undef of memmove to just before and after
724 including <string.h>.
725
726 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
727 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
728 and after including <string.h>. Move declarations of
729 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
730 to before #include "string/memmove.c".
731
732 * include/dirent.h: Declare __getdirentries.
733
734 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
735 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
736
737 2012-08-14 Mike Frysinger <vapier@gentoo.org>
738
739 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
740 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
741 * sysdeps/i386/configure: Regenerated.
742 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
743 STABS_CURRENT_FILE, and STABS_FUN.
744 (END): Remove call to STABS_FUN_END.
745 (STABS_CURRENT_FILE1): Delete.
746 (STABS_CURRENT_FILE): Likewise.
747 (STABS_FUN): Likewise.
748 (STABS_FUN_END): Likewise.
749 (STABS_FUN2): Likewise.
750 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
751 * sysdeps/x86_64/configure: Regenerated.
752
753 2012-08-14 Roland McGrath <roland@hack.frob.com>
754
755 * elf/dl-open.c: Include <atomic.h>.
756 * elf/dl-lookup.c: Likewise.
757
758 2012-08-14 Joseph Myers <joseph@codesourcery.com>
759
760 * sysdeps/unix/sysv/linux/kernel-features.h
761 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
762 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
763 unconditionally.
764 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
765 unconditionally.
766 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
767 condition on __ASSUME_CLONE_THREAD_FLAGS.
768
769 2012-08-14 Andreas Jaeger <aj@suse.de>
770
771 * sysdeps/i386/fpu/libm-test-ulps: Update.
772
773 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
774
775 * include/atomic.h (atomic_exchange_and_add): Split into ...
776 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
777 New atomic macros.
778
779 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
780
781 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
782
783 2012-08-13 Jeff Law <law@redhat.com>
784
785 * manual/stdio.texi (snprintf): Clarify handling of the trailing
786 null byte in the output string.
787
788 2012-08-10 Joseph Myers <joseph@codesourcery.com>
789
790 * sysdeps/unix/sysv/linux/kernel-features.h
791 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
792 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
793 (__ASSUME_ARG_MAX_STACK_BASED): Define.
794 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
795 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
796 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
797 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
798
799 2012-08-09 Jeff Law <law@redhat.com>
800
801 [BZ #13939]
802 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
803 When avoid_arena is set, don't retry in the that arena. Pick the
804 next one, whatever it might be.
805 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
806 (arena_lock): Pass in new parameter to arena_get2.
807 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
808 arena_get2.
809 (__libc_malloc): Unify retrying after main arena failure with
810 __libc_memalign version.
811 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
812
813 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
814
815 [BZ #14166]
816 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
817 to __redirect_strstr.
818 (__strstr_sse42): Use typeof __redirect_strstr.
819 (__strstr_ia32): Likewise.
820 (__libc_strstr): New prototype.
821 (strstr): Renamed to ...
822 (__libc_strstr): This.
823 (strstr): New strong alias of __libc_strstr.
824 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
825 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
826 __redirect_time.
827 Include <time.h>.
828 (__libc_time): New prototype.
829 (time_ifunc): Replace time with __libc_time.
830 (time): New strong alias and hidden definition of __libc_time.
831 (__GI_time): Remove strong alias.
832 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
833 Include <stddef.h>.
834 (memmove): Redefined to __redirect_memmove.
835 (__memmove_sse2): Use typeof __redirect_memmove.
836 (__memmove_ssse3): Likewise.
837 (__memmove_ssse3_back): Likewise.
838 (__libc_memmove): New prototype.
839 (memmove): Renamed to ...
840 (__libc_memmove): This.
841 (memmove): New strong alias of __libc_memmove.
842
843 2012-08-08 Mark Salter <msalter@redhat.com>
844
845 * elf/elf.h
846 (R_MN10300_TLS_GD): Define.
847 (R_MN10300_TLS_LD): Likewise.
848 (R_MN10300_TLS_LDO): Likewise.
849 (R_MN10300_TLS_GOTIE): Likewise.
850 (R_MN10300_TLS_IE): Likewise.
851 (R_MN10300_TLS_LE): Likewise.
852 (R_MN10300_TLS_DTPMOD): Likewise.
853 (R_MN10300_TLS_DTPOFF): Likewise.
854 (R_MN10300_TLS_TPOFF): Likewise.
855 (R_MN10300_SYM_DIFF): Likewise.
856 (R_MN10300_ALIGN): Likewise.
857 (R_MN10300_NUM): Update.
858
859 2012-08-08 Joseph Myers <joseph@codesourcery.com>
860
861 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
862 Remove.
863
864 2012-08-08 Roland McGrath <roland@hack.frob.com>
865
866 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
867
868 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
869 sysdeps/unix -> sysdeps/posix move.
870 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
871
872 2012-08-07 Allan McRae <allan@archlinux.org>
873
874 [BZ #14303]
875 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
876 (SUNOS_CPP): Likewise.
877 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
878 not found.
879 (open_input): Call CPP using execvp.
880
881 2012-08-07 Joseph Myers <joseph@codesourcery.com>
882
883 * sysdeps/unix/sysv/linux/kernel-features.h
884 (__ASSUME_PROT_GROWSUPDOWN): Remove.
885 (__ASSUME_NO_CLONE_DETACHED): Likewise.
886 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
887 (__ASSUME_WAITID_SYSCALL): Likewise.
888 * sysdeps/unix/sysv/linux/dl-execstack.c
889 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
890 code unconditional.
891 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
892 conditional code.
893 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
894 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
895 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
896 code.
897 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
898 unconditional.
899 [__ASSUME_WAITID_SYSCALL]: Likewise.
900 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
901
902 2012-08-07 Roland McGrath <roland@hack.frob.com>
903
904 * sysdeps/unix/closedir.c: Renamed to ...
905 * sysdeps/posix/closedir.c: ... here.
906 * sysdeps/unix/dirfd.c: Renamed to ...
907 * sysdeps/posix/dirfd.c: ... here.
908 * sysdeps/unix/dirstream.h: Renamed to ...
909 * sysdeps/posix/dirstream.h: ... here.
910 * sysdeps/unix/fdopendir.c: Renamed to ...
911 * sysdeps/posix/fdopendir.c: ... here.
912 * sysdeps/unix/opendir.c: Renamed to ...
913 * sysdeps/posix/opendir.c: ... here.
914 * sysdeps/unix/readdir.c: Renamed to ...
915 * sysdeps/posix/readdir.c: ... here.
916 * sysdeps/unix/readdir_r.c: Renamed to ...
917 * sysdeps/posix/readdir_r.c: ... here.
918 * sysdeps/unix/rewinddir.c: Renamed to ...
919 * sysdeps/posix/rewinddir.c: ... here.
920 * sysdeps/unix/seekdir.c: Renamed to ...
921 * sysdeps/posix/seekdir.c: ... here.
922 * sysdeps/unix/telldir.c: Renamed to ...
923 * sysdeps/posix/telldir.c: ... here.
924 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
925 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
926 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
927 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
928
929 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
930 * bits/fcntl.h: ... here.
931
932 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
933 not 0.
934 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
935 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
936 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
937 (struct flock): Move l_start, l_len to the beginning.
938 Use __pid_t for l_pid.
939 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
940 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
941 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
942 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
943 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
944 [__USE_LARGEFILE64] (struct flock64): New type.
945 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
946
947 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
948 * bits/dirent.h: ... here.
949
950 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
951 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
952
953 2012-08-07 Joseph Myers <joseph@codesourcery.com>
954
955 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
956 Change from 2.6.0 to 2.6.16.
957 * sysdeps/unix/sysv/linux/configure: Regenerated.
958 * sysdeps/unix/sysv/linux/kernel-features.h
959 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
960 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
961 version.
962 (__ASSUME_UTIMES): Likewise.
963 (__ASSUME_CLONE_STOPPED): Remove.
964 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
965 architectures, not kernel version.
966 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
967 (__ASSUME_NO_CLONE_DETACHED): Likewise.
968 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
969 (__ASSUME_WAITID_SYSCALL): Likewise.
970 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
971 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
972 * README: State 2.6.16 as minimum Linux kernel version. Do not
973 refer to older versions.
974
975 2012-08-06 Roland McGrath <roland@hack.frob.com>
976
977 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
978 Define alphasort64 as an alias.
979 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
980 Define versionsort64 as an alias.
981 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
982 Define scandir64 as an alias.
983 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
984 Define scandirat64 as an alias.
985 * dirent/alphasort64.c (alphasort64):
986 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
987 * dirent/versionsort64.c: Likewise.
988 * dirent/scandir64.c: Likewise.
989 * dirent/scandirat64.c: Likewise.
990 * sysdeps/wordsize-64/alphasort.c: File removed.
991 * sysdeps/wordsize-64/alphasort64.c: File removed.
992 * sysdeps/wordsize-64/scandir.c: File removed.
993 * sysdeps/wordsize-64/scandir64.c: File removed.
994 * sysdeps/wordsize-64/scandirat.c: File removed.
995 * sysdeps/wordsize-64/scandirat64.c: File removed.
996 * sysdeps/wordsize-64/versionsort.c: File removed.
997 * sysdeps/wordsize-64/versionsort64.c: File removed.
998 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
999 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
1000 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
1001 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
1002 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
1003 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
1004 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
1005 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
1006
1007 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
1008 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1009 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
1010 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1011 [defined __arch64__ || defined __sparcv9]
1012 (__INO_T_MATCHES_INO64_T): New macro.
1013 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1014 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
1015 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
1016 * sysdeps/unix/sysv/linux/bits/dirent.h
1017 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
1018 (_DIRENT_MATCHES_DIRENT64): New macro.
1019
1020 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
1021 Define lockf64 as an alias.
1022 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
1023 Define fseeko64 as an alias.
1024 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
1025 Define ftello64 as an alias.
1026 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
1027 Define _IO_fgetpos64 and fgetpos64 as aliases.
1028 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
1029 Define _IO_fsetpos64 and fsetpos64 as aliases.
1030 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
1031 Conditionalize body on this.
1032 * libio/fseeko64.c: Likewise.
1033 * libio/ftello64.c: Likewise.
1034 * libio/iofgetpos64.c: Likewise.
1035 * libio/iofsetpos64.c: Likewise.
1036 * sysdeps/wordsize-64/lockf.c: File removed.
1037 * sysdeps/wordsize-64/lockf64.c: File removed.
1038 * sysdeps/wordsize-64/fseeko.c: File removed.
1039 * sysdeps/wordsize-64/fseeko64.c: File removed.
1040 * sysdeps/wordsize-64/ftello.c: File removed.
1041 * sysdeps/wordsize-64/ftello64.c: File removed.
1042 * sysdeps/wordsize-64/iofgetpos.c: File removed.
1043 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
1044 * sysdeps/wordsize-64/iofsetpos.c: File removed.
1045 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
1046 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
1047 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
1048 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
1049 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
1050 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
1051 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
1052 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
1053 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
1054 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
1055 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
1056
1057 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1058 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
1059 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
1060 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1061 [defined __arch64__ || defined __sparcv9]
1062 (__OFF_T_MATCHES_OFF64_T): New macro.
1063 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
1064 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
1065 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1066 (__OFF_T_MATCHES_OFF64_T): New macro.
1067
1068 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1069
1070 * stdlib/secure-getenv.c (__secure_getenv): Replace
1071 GLIBC_2_16 with GLIBC_2_17.
1072
1073 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
1074
1075 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
1076 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1077
1078 2012-08-03 David S. Miller <davem@davemloft.net>
1079
1080 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1081
1082 2012-08-03 Joseph Myers <joseph@codesourcery.com>
1083
1084 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
1085 Remove.
1086 (__ASSUME_CORRECT_SI_PID): Likewise.
1087 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
1088 (__ASSUME_TMPFS_NAME): Likewise.
1089 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
1090 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
1091 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
1092 (HAVE_AUX_SECURE): Make definition unconditional.
1093 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
1094 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
1095
1096 2012-08-03 Roland McGrath <roland@hack.frob.com>
1097
1098 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
1099 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
1100 * sysdeps/mach/hurd/eloop-threshold.h: New file.
1101 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
1102 __eloop_threshold instead of SYMLOOP_MAX.
1103
1104 * sysdeps/generic/eloop-threshold.h: New file.
1105 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
1106 of MAXSYMLINKS.
1107 * elf/chroot_canon.c (chroot_canon): Likewise.
1108
1109 2012-08-03 Joseph Myers <joseph@codesourcery.com>
1110
1111 [BZ #13717]
1112 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1113 Change to 2.6.0 everywhere.
1114 * sysdeps/unix/sysv/linux/configure: Regenerated.
1115 * sysdeps/unix/sysv/linux/kernel-features.h
1116 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
1117 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
1118 kernel versions.
1119 (__ASSUME_POSIX_TIMERS): Define unconditionally.
1120 (__ASSUME_FUTEX_REQUEUE): Remove.
1121 (__ASSUME_STATFS64): Define unconditionally.
1122 (__ASSUME_AT_SECURE): Likewise.
1123 (__ASSUME_CORRECT_SI_PID): Likewise.
1124 (__ASSUME_TGKILL): Define without depending on kernel version for
1125 i386.
1126 (__ASSUME_UTIMES): Likewise.
1127 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
1128 kernel version.
1129 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
1130 (__ASSUME_TMPFS_NAME): Likewise.
1131 * README: Update reference to Linux kernel versions.
1132
1133 2012-08-02 Marek Polacek <polacek@redhat.com>
1134
1135 [BZ# 14150]
1136 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
1137 libc_cv_asm_type_prefix with %.
1138 * configure: Regenerated.
1139 * include/libc-symbols.h: Remove comment about
1140 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1141 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
1142 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
1143 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
1144 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
1145 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
1146 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
1147 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
1148 * elf/tst-unique2mod1.c: Likewise.
1149 * elf/tst-unique1mod2.c: Likewise.
1150 * elf/tst-unique1mod1.c: Likewise.
1151 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
1152 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
1153 Replace ASM_TYPE_DIRECTIVE with .type.
1154 * sysdeps/s390/s390-64/sysdep.h: Likewise.
1155 * sysdeps/i386/sysdep.h: Likewise.
1156 * sysdeps/x86_64/sysdep.h: Likewise.
1157 * sysdeps/sh/sysdep.h: Likewise.
1158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
1159 Do not define ASM_TYPE_DIRECTIVE.
1160 * sysdeps/powerpc/sysdep.h: Likewise.
1161 * sysdeps/powerpc/powerpc32/sysdep.h:
1162 Replace ASM_TYPE_DIRECTIVE with .type.
1163 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1164 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1165 * sysdeps/i386/fpu/e_powf.S: Likewise.
1166 * sysdeps/i386/fpu/e_expl.S: Likewise.
1167 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
1168 * sysdeps/i386/fpu/e_acosh.S: Likewise.
1169 * sysdeps/i386/fpu/e_pow.S: Likewise.
1170 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
1171 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
1172 * sysdeps/i386/fpu/s_expm1.S: Likewise.
1173 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
1174 * sysdeps/i386/fpu/e_log2.S: Likewise.
1175 * sysdeps/i386/fpu/e_log2l.S: Likewise.
1176 * sysdeps/i386/fpu/e_scalb.S: Likewise.
1177 * sysdeps/i386/fpu/e_powl.S: Likewise.
1178 * sysdeps/i386/fpu/e_log10f.S: Likewise.
1179 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
1180 * sysdeps/i386/fpu/e_logl.S: Likewise.
1181 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
1182 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
1183 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
1184 * sysdeps/i386/fpu/e_log2f.S: Likewise.
1185 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
1186 * sysdeps/i386/fpu/e_log.S: Likewise.
1187 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
1188 * sysdeps/i386/fpu/e_logf.S: Likewise.
1189 * sysdeps/i386/fpu/e_log10l.S: Likewise.
1190 * sysdeps/i386/fpu/e_atanh.S: Likewise.
1191 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
1192 * sysdeps/i386/fpu/e_log10.S: Likewise.
1193 * sysdeps/i386/fpu/s_frexp.S: Likewise.
1194 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
1195 * sysdeps/i386/fpu/s_asinh.S: Likewise.
1196 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
1197 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
1198 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
1199 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
1200 * sysdeps/i386/i686/strtok.S: Likewise.
1201 * sysdeps/i386/i386-mcount.S: Likewise.
1202 * sysdeps/i386/strtok.S: Likewise.
1203 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
1204 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
1205 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1206 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
1207 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1208 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
1209 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
1210 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
1211 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
1212 * sysdeps/x86_64/_mcount.S: Likewise.
1213 * sysdeps/x86_64/strtok.S: Likewise.
1214 * sysdeps/sh/_mcount.S: Likewise.
1215
1216 2012-08-01 Roland McGrath <roland@hack.frob.com>
1217
1218 * libio/iofopen.c: Include <fcntl.h>.
1219 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
1220 (_IO_fopen64, fopen64): Define as aliases.
1221 * libio/iofopen64.c: Include <fcntl.h>.
1222 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
1223 Conditionalize body on this.
1224 * sysdeps/wordsize-64/iofopen.c: File removed.
1225 * sysdeps/wordsize-64/iofopen64.c: File removed.
1226
1227 2012-08-01 Marek Polacek <polacek@redhat.com>
1228
1229 * libc/Makeconfig: Use elf in place of binfmt-subdir.
1230 Use dlfcn directly instead of a variable.
1231 (binfmt-subdir): Do not define.
1232 (dlfcn): Likewise.
1233
1234 2012-08-01 Joseph Myers <joseph@codesourcery.com>
1235
1236 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
1237 Remove all definitions.
1238 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
1239 <kernel-features.h>.
1240 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1241 (miss_F_GETOWN_EX): Remove all definitions.
1242 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
1243 macro definition.
1244 [!__ASSUME_FCNTL64]: Remove conditional code.
1245 [__ASSUME_FCNTL64]: Make code unconditional.
1246 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
1247 <kernel-features.h>.
1248 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
1249 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
1250 (lockf64) [__NR_fcntl64]: Make code unconditional.
1251 (lockf64) [__ASSUME_FCNTL64]: Likewise.
1252
1253 * sysdeps/unix/sysv/linux/kernel-features.h
1254 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
1255 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
1256 Make code unconditional.
1257 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1258 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
1260 [__NR_vfork]: Make code unconditional.
1261 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1262 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
1264 [__NR_vfork]: Make code unconditional.
1265 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
1266 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
1267
1268 2012-08-01 Roland McGrath <roland@hack.frob.com>
1269
1270 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
1271 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
1272
1273 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1274 Define mkstemp64 as an alias.
1275 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1276 Define mkstemps64 as an alias.
1277 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1278 Define mkostemp64 as an alias.
1279 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
1280 Define mkostemps64 as an alias.
1281 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
1282 Conditionalize body on this.
1283 * misc/mkostemp64.c: Likewise.
1284 * misc/mkostemps64.c: Likewise.
1285 * misc/mkstemps64.c: Likewise.
1286 * sysdeps/wordsize-64/mkstemp64.c: File removed.
1287 * sysdeps/wordsize-64/mkostemp64.c: File removed.
1288 * sysdeps/wordsize-64/mkostemp.c: File removed.
1289 * sysdeps/wordsize-64/mkstemp.c: File removed.
1290 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
1291 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
1292 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
1293 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
1294
1295 [BZ #14138]
1296 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
1297 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
1298 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
1299 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
1300
1301 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
1302 compat_symbol macros from <shlib-compat.h> rather than the underlying
1303 default_symbol_version and symbol_version macros, so that DEFAULT
1304 lines in shlib-versions are respected.
1305 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
1306
1307 2012-08-01 Florian Weimer <fweimer@redhat.com>
1308
1309 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
1310 Declare with warn_unused_result.
1311 (setgid, setregid, setegid, setresgid): Likewise.
1312 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
1313 Likewise.
1314 * WUR-REPORT: Remove set*id functions.
1315
1316 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
1317
1318 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
1319
1320 2012-07-31 Roland McGrath <roland@hack.frob.com>
1321
1322 * include/sys/socket.h (__libc_accept, __libc_accept4):
1323 Add attribute_hidden.
1324 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
1325
1326 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
1327 use of PTR_MANGLE.
1328 * inet/getnetgrent_r.c (setup): Likewise.
1329
1330 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
1331
1332 2012-07-31 David S. Miller <davem@davemloft.net>
1333
1334 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1335
1336 2012-07-31 Joseph Myers <joseph@codesourcery.com>
1337
1338 [BZ #13629]
1339 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
1340 value between 1.0 and 2.0 and smaller part has absolute value less
1341 than 1.0.
1342 * math/s_clog10.c (__clog10): Likewise.
1343 * math/s_clog10f.c (__clog10f): Likewise.
1344 * math/s_clog10l.c (__clog10l): Likewise.
1345 * math/s_clogf.c (__clogf): Likewise.
1346 * math/s_clogl.c (__clogl): Likewise.
1347 * math/libm-test.inc (clog_test): Add more tests.
1348 (clog10_test): Likewise.
1349 * sysdeps/i386/fpu/libm-test-ulps: Update.
1350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1351
1352 2012-07-31 Florian Weimer <fweimer@redhat.com>
1353
1354 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
1355 Exit with zero in case no suitable GID is found, and write a
1356 message to standard error.
1357
1358 2012-07-30 Roland McGrath <roland@hack.frob.com>
1359
1360 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
1361 rather than to 1.
1362 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
1363 (MAXPATHLEN): Removed.
1364 (NOGROUP, NODEV): New macros.
1365 (setbit, clrbit, isset, isclr): New macros.
1366 (howmany, roundup, powerof2): New macros.
1367 (DEV_BSIZE): New macro.
1368
1369 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
1370 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
1371
1372 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
1373 definition on [!__NO_LONG_DOUBLE_MATH].
1374
1375 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
1376 PTR_MANGLE and PTR_DEMANGLE.
1377
1378 * socket/accept4.c (accept4): Rename to __libc_accept4.
1379 Define accept4 as a weak alias.
1380
1381 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
1382 on [_DIRENT_HAVE_D_TYPE].
1383 * io/ftw.c (ftw_dir): Likewise.
1384
1385 * io/xmknod.c (__xmknod): Don't check PATH for being null.
1386
1387 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
1388
1389 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
1390 Use the BSD numbers rather than the arbitrary ones we had.
1391 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
1392 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
1393 (SIGXCPU, SIGXFSZ): New macros.
1394 (_NSIG): Now 32.
1395
1396 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
1397 initializer on [_LIBC_REENTRANT].
1398
1399 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
1400 definitions inside [_POSIX_MAPPED_FILES].
1401
1402 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
1403
1404 * dirent/opendir.c: Include <fcntl.h>.
1405
1406 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
1407 (__libc_getspecific): Likewise.
1408 (__libc_key_create): Likewise.
1409
1410 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
1411 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
1412 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
1413 (tmpfile64): Define as alias.
1414 * sysdeps/wordsize-64/tmpfile.c: File removed.
1415 * sysdeps/wordsize-64/tmpfile64.c: File removed.
1416 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
1417 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
1418
1419 * stdio-common/vfscanf.c: Include <stdbool.h>.
1420 * nss/makedb.c: Likewise.
1421 * stdio-common/_i18n_number.h: Likewise.
1422 * argp/argp-help.c: Likewise.
1423 * posix/wordexp.c: Likewise.
1424 * sysdeps/posix/spawni.c: Likewise.
1425 * nss/nss_files/files-initgroups.c: Likewise.
1426 * stdio-common/reg-modifier.c: Include <stdlib.h>.
1427 * nss/nss_files/files-initgroups.c: Likewise.
1428 * nss/nss_db/db-netgrp.c: Likewise.
1429 * nss/nss_db/db-initgroups.c: Likewise.
1430 * io/fchmodat.c: Include <sys/stat.h>.
1431
1432 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
1433 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
1434
1435 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
1436 [HAVE_MMAP].
1437
1438 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
1439 Add multiple inclusion protection.
1440
1441 2012-07-27 David S. Miller <davem@davemloft.net>
1442
1443 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1444
1445 2012-07-27 Gary Benson <gbenson@redhat.com>
1446
1447 [BZ #14298]
1448 * elf/rtld.c: Include <stap-probe.h>.
1449 (dl_main): Added static probes "init_start" and "init_complete".
1450 * elf/dl-load.c: Include <stap-probe.h>.
1451 (lose): Take new parameter "nsid".
1452 Added static probe "map_failed".
1453 (_dl_map_object_from_fd): Pass namespace id to lose.
1454 Added static probe "map_start".
1455 (open_verify): Pass namespace id to lose.
1456 * elf/dl-open.c: Include <stap-probe.h>.
1457 (dl_open_worker) Added static probes "map_complete", "reloc_start"
1458 and "reloc_complete".
1459 * elf/dl-close.c: Include <stap-probe.h>.
1460 (_dl_close_worker): Added static probes "unmap_start" and
1461 "unmap_complete".
1462 * elf/rtld-debugger-interface.txt: New file documenting the above.
1463
1464 2012-07-26 Roland McGrath <roland@hack.frob.com>
1465
1466 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
1467 rather than a string variable.
1468 * sunrpc/rpc_main.c (h_output): Likewise.
1469 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
1470
1471 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
1472
1473 * inet/check_native.c: New file.
1474
1475 2012-07-26 Joseph Myers <joseph@codesourcery.com>
1476
1477 [BZ #13629]
1478 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
1479 if larger part has absolute value 1.0.
1480 * math/s_clog10.c (__clog10): Likewise.
1481 * math/s_clog10f.c (__clog10f): Likewise.
1482 * math/s_clog10l.c (__clog10l): Likewise.
1483 * math/s_clogf.c (__clogf): Likewise.
1484 * math/s_clogl.c (__clogl): Likewise.
1485 * math/libm-test.inc (clog_test): Add more tests.
1486 (clog10_test): Likewise.
1487 * sysdeps/i386/fpu/libm-test-ulps: Update.
1488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1489
1490 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
1491 (pltexit): Likewise.
1492 (La_regs): Likewise.
1493 (La_retval): Likewise.
1494 (int_retval): Likewise.
1495 Update #error for removed macros to refer only to definitions in
1496 tst-audit.h.
1497 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
1498 macro.
1499 (pltexit): Likewise.
1500 (La_regs): Likewise.
1501 (La_retval): Likewise.
1502 (int_retval): Likewise.
1503 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
1504 macro.
1505 (pltexit): Likewise.
1506 (La_regs): Likewise.
1507 (La_retval): Likewise.
1508 (int_retval): Likewise.
1509 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
1510 macro.
1511 (pltexit): Likewise.
1512 (La_regs): Likewise.
1513 (La_retval): Likewise.
1514 (int_retval): Likewise.
1515 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
1516 macro.
1517 (pltexit): Likewise.
1518 (La_regs): Likewise.
1519 (La_retval): Likewise.
1520 (int_retval): Likewise.
1521 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
1522 macro.
1523 (pltexit): Likewise.
1524 (La_regs): Likewise.
1525 (La_retval): Likewise.
1526 (int_retval): Likewise.
1527 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
1528 macro.
1529 (pltexit): Likewise.
1530 (La_regs): Likewise.
1531 (La_retval): Likewise.
1532 (int_retval): Likewise.
1533 * sysdeps/generic/tst-audit.h: Update comment to refer only to
1534 macro definitions in tst-audit.h.
1535 * sysdeps/i386/tst-audit.h: New file.
1536 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
1537 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
1538 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
1539 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
1540 * sysdeps/sh/tst-audit.h: Likewise.
1541 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
1542 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
1543 * sysdeps/x86_64/tst-audit.h: Likewise.
1544
1545 2012-07-26 Andreas Jaeger <aj@suse.de>
1546
1547 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
1548 ptrace.
1549
1550 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
1551 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
1552 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
1553 PTRACE_O_MASK.
1554 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
1555 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
1556 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
1557
1558 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
1559 value.
1560
1561 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
1562 _sigsys.
1563 (si_call_addr, si_syscall, si_arch): Define new macro.
1564 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
1565 _sigsys.
1566 (si_call_addr, si_syscall, si_arch): Define new marcro.
1567 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
1568 _sigsys.
1569 (si_call_addr, si_syscall, si_arch): Define new macro.
1570 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
1571 _sigsys.
1572 (si_call_addr, si_syscall, si_arch): Define new macro.
1573
1574 2012-07-25 Joseph Myers <joseph@codesourcery.com>
1575
1576 [BZ #13717]
1577 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
1578 Change to 2.4.21 where previously 2.4.1.
1579 * sysdeps/unix/sysv/linux/configure: Regenerated.
1580 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
1581 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
1582 Linux kernel version.
1583 (__ASSUME_STD_AUXV): Remove.
1584 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
1585 kernel version.
1586 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
1587 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
1588 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
1589 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
1590 (__ASSUME_NETLINK_SUPPORT): Likewise.
1591 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
1592 (__no_netlink_support): Remove conditional definition.
1593 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
1594 Remove.
1595 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1596 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
1597 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
1598 (if_nameindex_ioctl): Remove.
1599 (if_nameindex_netlink): Do not handle __no_netlink_support.
1600 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1601 code.
1602 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
1603 Remove conditional code.
1604 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
1605 code.
1606 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
1607 unconditional.
1608 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
1609 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
1610 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
1611 Remove.
1612 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
1613 [!__ASSUME_STD_AUXV]: Remove conditional code.
1614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
1615 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
1616 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
1617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
1618 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
1619 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1620 code.
1621 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1623 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
1624 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1625 conditional code.
1626 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
1627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1628 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
1629 code.
1630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1631 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
1632 conditional code.
1633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
1634 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1635 code unconditional.
1636 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1637 conditional code.
1638 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1639 unconditional.
1640 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1641 conditional code.
1642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1643 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1644 unconditional.
1645 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1646 conditional code.
1647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1648 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1649 code unconditional.
1650 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1651 conditional code.
1652 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1653 unconditional.
1654 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1655 conditional code.
1656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1657 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
1658 code unconditional.
1659 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1660 conditional code.
1661 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
1662 unconditional.
1663 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
1664 conditional code.
1665
1666 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
1667
1668 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
1669 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
1670 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
1671 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
1672 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
1673 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
1674 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
1675 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
1676 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
1677 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1678 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
1679 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
1680 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
1681 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
1682 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
1683 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
1684 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
1685 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
1686 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
1687 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
1688 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
1689 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
1690 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1691
1692 2012-07-25 Florian Weimer <fweimer@redhat.com>
1693
1694 * Versions.def: Add GLIBC_2.17.
1695 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
1696 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
1697 Introduce __libc_secure_getenv.
1698 * stdlib/Versions (2.17): Add secure_getenv
1699 (GLIBC_PRIVATE): Add __libc_secure_getenv.
1700 * stdlib/secure-getenv.c: Rename __secure_getenv to
1701 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
1702 symbol __secure_getenv for GLIBC_2.0.
1703 * stdlib/tst-secure-getenv.c: New.
1704 * stdlib/Makefile (tests): Add testcase.
1705 * manual/startup.texi (Environment Access): Document
1706 secure_getenv.
1707 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
1708 __libc_secure_getenv.
1709 * inet/ruserpass.c (ruserpass): Likewise.
1710 * malloc/mtrace.c (mtrace): Likewise.
1711 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
1712 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
1713 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
1714 * sysdeps/posix/tempname.c: Likewise. Evaluate
1715 HAVE_SECURE_GETENV.
1716 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
1717 __secure_getenv to __libc_secure_getenv.
1718 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
1719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1720 Likewise.
1721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1722 Likewise.
1723 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
1724 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
1725 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1726 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
1727 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
1728 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1729 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
1730
1731 2012-07-25 Joseph Myers <joseph@codesourcery.com>
1732
1733 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
1734 (struct La_i86_retval): Likewise.
1735 (struct La_x86_64_regs): Likewise.
1736 (struct La_x86_64_retval): Likewise.
1737 (struct La_x32_regs): Likewise.
1738 (struct La_x32_retval): Likewise.
1739 (struct La_ppc32_regs): Likewise.
1740 (struct La_ppc32_retval): Likewise.
1741 (struct La_ppc64_regs): Likewise.
1742 (struct La_ppc64_retval): Likewise.
1743 (struct La_sh_regs): Likewise.
1744 (struct La_sh_retval): Likewise.
1745 (struct La_s390_32_regs): Likewise.
1746 (struct La_s390_32_retval): Likewise.
1747 (struct La_s390_64_regs): Likewise.
1748 (struct La_s390_64_retval): Likewise.
1749 (struct La_sparc32_regs): Likewise.
1750 (struct La_sparc32_retval): Likewise.
1751 (struct La_sparc64_regs): Likewise.
1752 (struct La_sparc64_retval): Likewise.
1753 (struct audit_ifaces): Remove architecture-specific pltenter and
1754 pltexit members.
1755 * sysdeps/i386/ldsodefs.h: New file.
1756 * sysdeps/powerpc/ldsodefs.h: Likewise.
1757 * sysdeps/s390/ldsodefs.h: Likewise.
1758 * sysdeps/sh/ldsodefs.h: Likewise.
1759 * sysdeps/sparc/ldsodefs.h: Likewise.
1760 * sysdeps/x86_64/ldsodefs.h: Likewise.
1761
1762 2012-07-25 Marek Polacek <polacek@redhat.com>
1763
1764 [BZ #6808]
1765 * math/libm-test.inc (yn_test): Add another test.
1766 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
1767 to ERANGE when the result is +-Inf.
1768 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
1769 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
1770 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
1771 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
1772
1773 2012-07-24 Joseph Myers <joseph@codesourcery.com>
1774
1775 * conform/data/time.h-data (NULL): Use macro-constant. Require
1776 equal to 0.
1777 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
1778 clock_t.
1779 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
1780
1781 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
1782
1783 * configure.in <sysdeps resolving>: Correct printing
1784 Implies_before.
1785 * configure: Regenerate.
1786
1787 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
1788
1789 * math/w_ilogb.c: Include <limits.h>.
1790 * math/w_ilogbl.c: Likewise.
1791
1792 2012-07-20 Joseph Myers <joseph@codesourcery.com>
1793
1794 * manual/lang.texi (__va_copy): Document primarily as ISO C99
1795 va_copy. Document allowing for unavailable va_copy only as
1796 pre-C99 compatibility.
1797 * manual/string.texi (Copying and Concatenation): Use va_copy
1798 instead of __va_copy in concat example.
1799
1800 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
1801
1802 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
1803 (__sendto): Use create_address_port. Initialize APORT and deallocate
1804 it if not null.
1805
1806 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
1807 with O_NOLINK passed to __file_name_lookup.
1808
1809 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
1810 with O_NOLINK passed to __file_name_lookup.
1811
1812 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
1813 negative N or less than NGIDS.
1814
1815 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
1816 type to string_t. Set ERANGE as errno and return it if NAME is not big
1817 enough. Use memcpy instead of strncpy.
1818
1819 2012-07-20 Joseph Myers <joseph@codesourcery.com>
1820
1821 * elf/Makefile (check-data): Remove.
1822 (localplt.data): New vpath directive.
1823 ($(objpfx)check-localplt.out): Use localplt.data from vpath
1824 instead of $(check-data).
1825 * scripts/data/localplt-generic.data: Move to ...
1826 * sysdeps/generic/localplt.data: ... here.
1827 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
1828 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
1829 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
1830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
1831 ... here.
1832 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
1833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1834 ... here.
1835 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
1836 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
1837 ... here.
1838 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
1839 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
1840 ... here.
1841 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
1842 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
1843 ... here.
1844 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
1845 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
1846 ... here.
1847
1848 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1849
1850 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
1851 PPC32 and PPC64 files.
1852 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
1853 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
1854
1855 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1856
1857 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
1858 __makecontext_ret to ...
1859 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
1860 ... here and call exit if uc_link is NULL. New file.
1861 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
1862 __makecontext_ret.S.
1863 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
1864 __makecontext_ret to ...
1865 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
1866 ... here and call exit if uc_link is NULL. New file.
1867 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
1868 __makecontext_ret.S.
1869
1870 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1871
1872 * elf/elf.h (R_390_IRELATIVE): New definition.
1873 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
1874 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
1875 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
1876 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1877 (elf_machine_lazy_rel): Likewise.
1878 * sysdeps/s390/dl-irel.h: New file.
1879 * sysdeps/s390/s390-64/memcpy.S: New asm code.
1880 * sysdeps/s390/s390-64/memset.S: New asm code.
1881 * sysdeps/s390/s390-64/memcmp.S: New asm code.
1882 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
1883 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
1884 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
1885 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
1886 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
1887 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
1888 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
1889 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
1890 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
1891 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
1892 * sysdeps/s390/s390-32/memcpy.S: New asm code.
1893 * sysdeps/s390/s390-32/memset.S: New asm code.
1894 * sysdeps/s390/s390-32/memcmp.S: New asm code.
1895
1896 2012-07-17 Marek Polacek <polacek@redhat.com>
1897
1898 [BZ #14349]
1899 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
1900 * sysdeps/s390/s390-64/configure.in: Likewise.
1901 * sysdeps/sparc/configure.in: Likewise.
1902 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
1903 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
1904 * sysdeps/i386/configure.in: Likewise.
1905 * sysdeps/x86_64/configure.in: Likewise.
1906 * sysdeps/sh/configure.in: Likewise.
1907 * sysdeps/s390/s390-32/configure: Regenerated.
1908 * sysdeps/s390/s390-64/configure: Likewise.
1909 * sysdeps/x86_64/configure: Likewise.
1910 * sysdeps/sh/configure: Likewise.
1911 * sysdeps/powerpc/powerpc64/configure: Likewise.
1912 * sysdeps/powerpc/powerpc32/configure: Likewise.
1913 * sysdeps/sparc/configure: Likwise.
1914 * sysdeps/i386/configure: Likewise.
1915
1916 * elf/dl-open.c: Comment fixes.
1917
1918 2012-07-17 Joseph Myers <joseph@codesourcery.com>
1919
1920 * Makefile [CXX] (check-data): Remove.
1921 [CXX] (c++-types.data): New vpath directive.
1922 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
1923 vpath. Do not allow for C++ type data being missing.
1924 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
1925 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
1926 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
1927 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
1928 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
1929 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
1930 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
1931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
1932 ... here.
1933 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
1934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1935 ... here.
1936 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
1937 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
1938 ... here.
1939 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
1940 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
1941 ... here.
1942 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
1943 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
1944 ... here.
1945 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
1946 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
1947 ... here.
1948 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
1949 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
1950 ... here.
1951 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
1952 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
1953
1954 * elf/tls-macros.h (TLS_LE): Move architecture-specific
1955 definitions to architecture-specific files.
1956 (TLS_IE): Likewise.
1957 (TLS_LD): Likewise.
1958 (TLS_GD): Likewise.
1959 * sysdeps/i386/tls-macros.h: New file.
1960 * sysdeps/powerpc/tls-macros.h: Likewise.
1961 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
1962 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
1963 * sysdeps/sh/tls-macros.h: Likewise.
1964 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
1965 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
1966 * sysdeps/x86_64/tls-macros.h: Likewise.
1967
1968 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1969
1970 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
1971 zero value for regular exit case.
1972
1973 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1974 (__start_context): Preserve zero value for regular exit case.
1975
1976 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
1977 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1978
1979 * manual/setjmp.texi (setcontext): Clarify normal process
1980 termination when uc_link is the null pointer.
1981 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
1982 exit call.
1983
1984 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
1985
1986 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
1987 preprocessor. Test for each exception mask separately.
1988
1989 2012-07-16 Andreas Jaeger <aj@suse.de>
1990
1991 * po/ru.po: Update from translation team.
1992
1993 2012-07-15 Joseph Myers <joseph@codesourcery.com>
1994
1995 * conform/data/string.h-data (NULL): Use macro-constant. Require
1996 equal to 0.
1997 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1998 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1999 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
2000 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
2001 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2002
2003 2012-07-13 Andreas Jaeger <aj@suse.de>
2004
2005 * po/fr.po: Update from translation team.
2006
2007 2012-07-12 Marek Polacek <polacek@redhat.com>
2008
2009 [BZ #14173]
2010 * math/libm-test.inc (yn_test): Add test for BZ #14173.
2011 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
2012 loop condition.
2013
2014 2012-07-12 Joseph Myers <joseph@codesourcery.com>
2015
2016 [BZ #13717]
2017 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
2018 Change to 2.4.1 where previously 2.4.0.
2019 * sysdeps/unix/sysv/linux/configure: Regenerated.
2020 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
2021 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
2022 version.
2023 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
2024 (__ASSUME_AT_CLKTCK): Remove.
2025 (__ASSUME_AT_PAGESIZE): Likewise.
2026 (__ASSUME_AT_XID): Likewise.
2027 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
2028 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
2029 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
2030 unconditionally.
2031 (HAVE_AUX_PAGESIZE): Likewise.
2032 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
2033 [__ASSUME_AT_CLKTCK]: Make code unconditional.
2034 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
2035
2036 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
2037
2038 [BZ #14307]
2039 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
2040 the temporary buffer used to invoke __gethostbyname2_r,
2041 __gethostbyaddr_r and gethostbyname4_r to make room for struct
2042 host_data / struct gaih_addrtuple.
2043 * resolv/nss_dns/dns-host.c (global scope): Move definition of
2044 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
2045 header file nss/nsswitch.h.
2046 * nss/nsswitch.h (global scope): Add definition of implementation
2047 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
2048 resolv/nss_dns/dns-host.c).
2049
2050 2012-07-11 Andreas Jaeger <aj@suse.de>
2051
2052 * po/fr.po: Update from translation team.
2053
2054 * po/sv.po: Update from translation team
2055 * po/fr.po: Another update from translation team.
2056
2057 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2058
2059 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
2060 for subnormals or multiply small sinh result by itself.
2061 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2062 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2063
2064 2012-07-11 David S. Miller <davem@davemloft.net>
2065
2066 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2067
2068 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
2069
2070 [BZ #14347]
2071 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
2072 (INTERNAL_MARK): Shift it here.
2073
2074 2012-07-10 Marek Polacek <polacek@redhat.com>
2075
2076 [BZ #14151]
2077 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
2078 libc_cv_asm_global_directive with .globl.
2079 * configure: Regenerated.
2080 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
2081 with .globl.
2082 * sysdeps/i386/configure: Regenerated.
2083 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
2084 with .globl.
2085 * sysdeps/x86_64/configure: Regenerated.
2086 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
2087 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
2088 * elf/tst-unique2mod2.c: Likewise.
2089 * elf/tst-unique2mod1.c: Likewise.
2090 * elf/tst-unique1mod2.c: Likewise.
2091 * elf/tst-unique1mod1.c: Likewise.
2092 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2093 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2094 * sysdeps/s390/s390-64/sysdep.h: Likewise.
2095 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2096 * sysdeps/mach/sysdep.h: Likewise.
2097 * sysdeps/i386/sysdep.h: Likewise.
2098 * sysdeps/i386/i386-mcount.S: Likewise.
2099 * sysdeps/x86_64/_mcount.S: Likewise.
2100 * sysdeps/x86_64/sysdep.h: Likewise.
2101 * sysdeps/sh/_mcount.S: Likewise.
2102 * sysdeps/sh/sysdep.h: Likewise.
2103 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
2104 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
2105 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
2106 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
2107 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
2108 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
2109 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
2110 * locale/localeinfo.h: Likewise.
2111 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
2112 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
2113
2114 2012-07-09 Roland McGrath <roland@hack.frob.com>
2115
2116 [BZ #14336]
2117 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
2118 system".
2119 * manual/message.texi (The Uniforum approach): Likewise.
2120 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
2121 (glibc iconv Implementation): Likewise.
2122
2123 2012-07-09 Joseph Myers <joseph@codesourcery.com>
2124
2125 [BZ #14337]
2126 * math/s_clog.c (__clog): Avoid scaling a value down where that
2127 could result in underflow.
2128 * math/s_clog10.c (__clog10): Likewise.
2129 * math/s_clog10f.c (__clog10f): Likewise.
2130 * math/s_clog10l.c (__clog10l): Likewise.
2131 * math/s_clogf.c (__clogf): Likewise.
2132 * math/s_clogl.c (__clogl): Likewise.
2133 * math/libm-test.inc (clog_test): Add more tests.
2134 (clog10_test): Likewise.
2135 * sysdeps/i386/fpu/libm-test-ulps: Update.
2136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2137
2138 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2139
2140 [BZ #14283]
2141 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
2142 by 7 not 8 to examine high bit of fractional part.
2143
2144 [BZ #14042]
2145 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
2146 for call to __mcount_internal.
2147 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
2148 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
2149 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
2150
2151 2012-07-06 Joseph Myers <joseph@codesourcery.com>
2152
2153 [BZ #14154]
2154 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
2155 approximation for values within 0x1p-13f of an odd multiple of
2156 pi/4.
2157 * math/libm-test.inc (tan_test): Do not allow spurious underflow
2158 exception. Add more tests.
2159 * sysdeps/i386/fpu/libm-test-ulps: Update.
2160
2161 [BZ #6778]
2162 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
2163 inputs and return -1 for them. Do not check for +Inf in case not
2164 reachable for +Inf.
2165 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2166 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
2167 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2168 and return -1 for them. Do not check for +Inf in case not
2169 reachable for +Inf.
2170 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
2171 define.
2172 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
2173 and return -1 for them. Do not check for +Inf in case not
2174 reachable for +Inf.
2175 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
2176 spurious underflow.
2177 * sysdeps/i386/fpu/libm-test-ulps: Update.
2178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2179
2180 2012-07-06 Mike Frysinger <vapier@gentoo.org>
2181
2182 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
2183
2184 2012-07-05 Joseph Myers <joseph@codesourcery.com>
2185
2186 [BZ #14157]
2187 [BZ #14331]
2188 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
2189 could result in spurious underflow. Scale down values above
2190 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
2191 * math/s_csqrtf.c (__csqrtf): Likewise.
2192 * math/s_csqrtl.c (__csqrtl): Likewise.
2193 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
2194 spurious underflow.
2195 * sysdeps/i386/fpu/libm-test-ulps: Update.
2196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2197
2198 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
2199
2200 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
2201 xopen-msg.sed.
2202 * catgets/xopen-msg.awk: New file.
2203 * catgets/xopen-msg.sed: Removed.
2204
2205 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
2206 po2text.sed.
2207 * intl/po2test.awk: New file.
2208 * intl/po2test.sed: Removed.
2209
2210 2012-07-04 Joseph Myers <joseph@codesourcery.com>
2211
2212 [BZ #14328]
2213 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
2214 or multiply small sinh result by itself.
2215 * math/s_ctanf.c (__ctanf): Likewise.
2216 * math/s_ctanh.c (__ctanh): Likewise.
2217 * math/s_ctanhf.c (__ctanhf): Likewise.
2218 * math/s_ctanhl.c (__ctanhl): Likewise.
2219 * math/s_ctanl.c (__ctanl): Likewise.
2220 * math/libm-test.inc (ctan_test_tonearest): New function.
2221 (ctan_test_towardzero): Likewise.
2222 (ctan_test_downward): Likewise.
2223 (ctan_test_upward): Likewise.
2224 (ctanh_test_tonearest): Likewise.
2225 (ctanh_test_towardzero): Likewise.
2226 (ctanh_test_downward): Likewise.
2227 (ctanh_test_upward): Likewise.
2228 (main): Call these new functions.
2229 * sysdeps/i386/fpu/libm-test-ulps: Update.
2230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2231
2232 2012-07-03 Mike Frysinger <vapier@gentoo.org>
2233
2234 * .gitignore: Delete /ports entry.
2235
2236 2012-07-03 Andreas Jaeger <aj@suse.de>
2237
2238 * po/bg.po: Update from translation team.
2239 * po/cs.po: Likewise.
2240 * po/de.po: Likewise.
2241 * po/hr.po: Likewise.
2242 * po/nl.pl: Likewise.
2243 * po/pl.po: Likewise.
2244 * po/vi.po: Likewise.
2245
2246 2012-07-03 Joseph Myers <joseph@codesourcery.com>
2247
2248 * Makeconfig [!+link] (+link-before-libc): New variable.
2249 [!+link] (+link-after-libc): Likewise.
2250 [!+link] (+link-tests): Likewise.
2251 [!+link] (+link): Define in terms of $(+link-before-libc) and
2252 $(+link-after-libc).
2253 [!+link-static] (+link-static-before-libc): New variable.
2254 [!+link-static] (+link-static-after-libc): Likewise.
2255 [!+link-static] (+link-static-tests): Likewise.
2256 [!+link-static] (+link-static): Define in terms of
2257 $(+link-static-before-libc) and $(+link-static-after-libc).
2258 [build-shared] (link-libc-before-gnulib): New variable.
2259 [build-shared] (link-libc-tests): Likewise.
2260 [build-shared] (link-libc): Define in terms of
2261 $(link-libc-before-gnulib).
2262 [!build-shared] (link-libc-tests): New variable.
2263 (link-libc-static-tests): New variable.
2264 [!gnulib] (gnulib-arch): New variable.
2265 [!gnulib] (gnulib-tests): Likewise.
2266 [!gnulib] (static-gnulib-arch): Likewise.
2267 [!gnulib] (static-gnulib-tests): Likewise.
2268 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
2269 Define with "=" instead of ":=".
2270 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
2271 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
2272 * Rules (binaries-all-notests): New variable.
2273 (binaries-all-tests): Likewise.
2274 (binaries-static-notests): Likewise.
2275 (binaries-static-tests): Likewise.
2276 (binaries-all): Define using $(binaries-all-notests) and
2277 $(binaries-all-tests).
2278 (binaries-static): Define using $(binaries-static-notests) and
2279 $(binaries-static-tests).
2280 (binaries-shared-tests): New variable.
2281 (binaries-shared-notests): Likewise.
2282 (binaries-shared): Remove variable.
2283 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
2284 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
2285 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
2286 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
2287 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
2288 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
2289 * elf/Makefile (sln-modules): New variable.
2290 (extra-objs): Add $(sln-modules:=.o).
2291 (ldconfig-modules): Add static-stubs.
2292 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
2293 * elf/static-stubs.c: New file.
2294
2295 [BZ #14283]
2296 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
2297 by 7 not 8 to examine high bit of fractional part. Use volatile
2298 variables when splitting into final array of floats if
2299 __FLT_EVAL_METHOD__ != 0.
2300 * math/libm-test.inc (cos_test): Add another test.
2301 (sin_test): Likewise.
2302 * sysdeps/i386/fpu/libm-test-ulps: Update.
2303
2304 [BZ #14273]
2305 * math/libm-test.inc (cosh_test): Add more tests.
2306
2307 * version.h (RELEASE): Set to "development".
2308 (VERSION): Set to "2.16.90".
2309
2310 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
2311
2312 * NEWS: Update copyright. Remove last-updated date.
2313 Mention math library bug fixes and timezone data changes.
2314 * README: Mention GNU/Hurd, x32, and HPPA support status.
2315
2316 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
2317
2318 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
2319
2320 2012-06-27 Andreas Jaeger <aj@suse.de>
2321
2322 * manual/contrib.texi (Contributors): Add Samuel Thibault.
2323
2324 2012-06-25 Andreas Jaeger <aj@suse.de>
2325
2326 * sysdeps/s390/fpu/libm-test-ulps: Update.
2327
2328 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
2329 Thomas Schwinge <thomas@codesourcery.com>
2330
2331 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
2332 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
2333 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
2334 fanotify_mark.
2335
2336 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
2337
2338 * sysdeps/mach/start.c: Remove file.
2339 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
2340 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
2341 * sysdeps/sh/init-first.c: Likewise.
2342
2343 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
2344 registers for frame unwinding purposes, add CFI directives.
2345 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2346 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
2347 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
2348 Likewise.
2349
2350 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
2351 __fortify_fail returning.
2352 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
2353
2354 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
2355 sysdeps/sh/____longjmp_chk.S.
2356 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
2357 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
2358 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
2359 (gen-as-const-headers): Append sigaltstack-offsets.sym.
2360
2361 * sysdeps/sh/abort-instr.h: New file.
2362 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
2363 process in case exit returns.
2364
2365 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
2366 initialize the GOT register before use.
2367
2368 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
2369 calculation of ARGC > 4.
2370
2371 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
2372 meaningful names to some local labels.
2373
2374 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2375 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2376
2377 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
2378 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
2379 (__arch_compare_and_exchange_val_16_acq): Likewise.
2380 (__arch_compare_and_exchange_val_32_acq): Likewise.
2381 (atomic_exchange_and_add): Fix gUSA sequence.
2382 (atomic_add): Likewise.
2383 (atomic_add_negative): Likewise.
2384 (atomic_add_zero): Likewise.
2385 (atomic_bit_test_set): Likewise.
2386
2387 2012-06-22 Andreas Schwab <schwab@redhat.com>
2388
2389 [BZ #13579]
2390 * include/link.h (struct link_map): Add l_free_initfini.
2391 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
2392 l_initfini.
2393 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
2394 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
2395 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
2396 set.
2397
2398 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
2399
2400 * configure.in: Use AC_LANG_SOURCE.
2401 * configure: Regenerate.
2402
2403 2012-06-22 Roland McGrath <roland@hack.frob.com>
2404
2405 * configure.in (libc_cv_localstatedir): New substituted variable.
2406 * configure: Regenerated.
2407 * config.make.in (localstatedir): New variable, substituted from
2408 libc_cv_localstatedir.
2409 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
2410 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
2411 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
2412 * sysdeps/gnu/configure: Regenerated.
2413
2414 2012-06-21 Jeff Law <law@redhat.com>
2415
2416 [BZ #14277]
2417 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
2418 free. Simplify list management for _LIBC case.
2419
2420 2012-06-21 Joseph Myers <joseph@codesourcery.com>
2421
2422 [BZ #14273]
2423 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
2424 Clear sign bit of 64-bit integer value before comparing against
2425 overflow value.
2426
2427 * sysdeps/mach/configure: Regenerated.
2428
2429 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
2430
2431 [BZ #14278]
2432 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
2433
2434 2012-06-21 Jeff Law <law@redhat.com>
2435
2436 [BZ #13882]
2437 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
2438 uint16_t for elements in the "seen" array to avoid char overflows.
2439 * elf/dl-fini.c (_dl_sort_fini): Likewise.
2440 * elf/dl-open.c (dl_open_worker): Likewise.
2441
2442 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
2443
2444 * scripts/list-sources.sh: Scan PORTS for translations.
2445 * po/libc.pot: Regenerated.
2446
2447 2012-06-21 Andreas Jaeger <aj@suse.de>
2448
2449 [BZ #12194]
2450 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
2451 warning.
2452 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
2453 * bits/byteswap-16.h (__bswap_16): Likewise.
2454 * bits/byteswap.h (__bswap_constant_16): Likewise.
2455
2456 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
2457
2458 [BZ #14117]
2459 * sysdeps/i386/fpu_control.h: Removed.
2460 * sysdeps/x86_64/fpu_control.h: Moved to ...
2461 * sysdeps/x86/fpu_control.h: Here.
2462
2463 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
2464 (_FPU_SETCW): Likewise.
2465
2466 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
2467
2468 [BZ #14117]
2469 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
2470 * sysdeps/x86/fpu/bits/mathinline.h: This.
2471 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
2472
2473 [BZ #14050]
2474 [BZ #14117]
2475 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
2476 functions if __x86_64__ is defined.
2477
2478 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
2479
2480 * string/endian.h: Add !__ASSEMBLER__ condition for including
2481 conversion interfaces.
2482
2483 2012-06-15 Joseph Myers <joseph@codesourcery.com>
2484
2485 [BZ #14241]
2486 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
2487 of ABS(x) in calculating zero to negative powers other than odd
2488 integers.
2489 * math/libm-test.inc (pow_test): Add more tests.
2490
2491 2012-06-15 Andreas Jaeger <aj@suse.de>
2492
2493 * manual/contrib.texi (Contributors): Update entry of Liubov
2494 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
2495 Machado Filho.
2496
2497 2012-06-15 Cyril Hrubis <metan@ucw.cz>
2498
2499 * string/string.h: Add __wur to GNU version of strerror_r.
2500
2501 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
2502
2503 [BZ #14229]
2504 * string/Makefile (tests): Add tst-strtok_r.
2505 * string/tst-strtok_r.c: New file.
2506 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
2507 RAX_LP/RDX_LP on SAVE_PTR.
2508
2509 2012-06-14 Roland McGrath <roland@hack.frob.com>
2510
2511 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
2512
2513 2012-06-14 Joseph Myers <joseph@codesourcery.com>
2514
2515 * libm_test.inc (csqrt_test): Allow more spurious underflow
2516 exceptions.
2517 (j0_test): Likewise.
2518 (j1_test): Likewise.
2519 (y0_test): Likewise.
2520 (y1_test): Likewise.
2521
2522 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
2523
2524 * po/Makefile (libc.pot): Use UTF-8 charset.
2525
2526 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
2527
2528 [BZ #14210]
2529 Suppress sign-conversion warning from FD_SET.
2530 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
2531 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
2532 not unsigned long int.
2533 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
2534
2535 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
2536
2537 [BZ #14050]
2538 [BZ #14117]
2539 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
2540 __extern_always_inline instead of __extern_inline.
2541 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
2542 (__signbit): Likewise.
2543 (__signbitl): Support C++ namespace.
2544 (lrintf): New inline function.
2545 (lrint): Likewise.
2546 (llrintf): Likewise.
2547 (llrint): Likewise.
2548 (fmaxf): Likewise.
2549 (fmax): Likewise.
2550 (fminf): Likewise.
2551 (fmin): Likewise.
2552 (rint): Likewise.
2553 (rintf): Likewise.
2554 (ceil): Likewise.
2555 (ceilf): Likewise.
2556 (floor): Likewise.
2557 (floorf): Likewise.
2558 (nearbyint): Likewise.
2559 (nearbyintf): Likewise.
2560
2561 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
2562
2563 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
2564 non-default versions.
2565
2566 2012-06-11 Roland McGrath <roland@hack.frob.com>
2567
2568 [BZ #14218]
2569 * manual/argp.texi (Argp): Reword argp_parse description slightly.
2570
2571 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
2572
2573 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
2574 (FE_UPWARD, FE_DOWNWARD): Don't define.
2575 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
2576 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2577
2578 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
2579 reading it.
2580 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
2581 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
2582
2583 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2584
2585 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2586 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
2587 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
2588 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
2589
2590 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
2591
2592 [BZ #14117]
2593 * sysdeps/i386/fpu/bits/fenv.h: Removed.
2594 * sysdeps/i386/fpu/Implies: New file.
2595 * sysdeps/x86_64/fpu/Implies: Likewise.
2596 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
2597 * sysdeps/x86/fpu/bits/fenv.h: This.
2598
2599 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
2600 __SSE_MATH__.
2601
2602 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
2603
2604 [BZ #14134]
2605 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
2606 character 0xffff that matches the last element of the
2607 conversion table.
2608
2609 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2610
2611 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
2612 fmodl commit.
2613
2614 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2615
2616 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
2617 values higher than 25.6283.
2618
2619 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2620
2621 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
2622 subnormal exponent extraction and add some __builtin_expect.
2623 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
2624 Fix for subnormal mantissa calculation.
2625
2626 2012-06-04 Mike Frysinger <vapier@gentoo.org>
2627
2628 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
2629 cpu2 is -1 and errno is not ENOSYS.
2630
2631 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
2632
2633 [BZ #14117]
2634 * sysdeps/i386/i486/bits/string.h: Renamed to ...
2635 * sysdeps/x86/bits/string.h: This.
2636 * sysdeps/x86_64/bits/string.h: Removed.
2637
2638 * sysdeps/i386/i486/bits/string.h: Define inline functions only
2639 if not compiling for x86-64, but compiling for >= i486.
2640
2641 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
2642 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
2643
2644 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
2645 New macro from Linux kernel 3.4.0.
2646 (FP_XSTATE_MAGIC2): Likewise.
2647 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2648 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
2649 (struct _fpx_sw_bytes): New struct.
2650 (struct _xsave_hdr): Likewise.
2651 (struct _ymmh_state): Likewise.
2652 (struct _xstate): Likewise.
2653
2654 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
2655 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
2656 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
2657 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
2658 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
2659 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
2660
2661 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
2662 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
2663 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
2664 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
2665 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
2666 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
2667
2668 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2669
2670 [BZ #13743]
2671 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
2672 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
2673 (sysdep_headers): Include sys/platform/ppc.h.
2674 * sysdeps/powerpc/test-gettimebase.c: Test for
2675 __ppc_get_timebase() to catch future ISA opcode/insn changes.
2676 * manual/Makefile (appendices): Include platform.texi.
2677 * manual/contrib.texi (Contributors): Update @node pointers.
2678 * manual/maint.texi (Maintenance): Likewise.
2679 (Platform): New node.
2680 * manual/platform.texi: New file. Document the new features.
2681
2682 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2683 Jakub Jelinek <jakub@redhat.com>
2684
2685 [BZ #14188]
2686 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
2687 where __builtin_expect is unavailable.
2688
2689 2012-06-03 David S. Miller <davem@davemloft.net>
2690
2691 * stdlib/longlong.h: Updated from GCC.
2692
2693 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
2694
2695 [BZ #14042]
2696 * sysdeps/powerpc/powerpc32/mcount.c: New file.
2697 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
2698 __mcount_internal.
2699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
2700 (GLIBC_2.16): Likewise.
2701
2702 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2703
2704 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
2705
2706 2012-06-01 Joseph Myers <joseph@codesourcery.com>
2707
2708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2709 (default-abi): New variable.
2710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
2711 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
2712 variable.
2713 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
2714 Likewise.
2715 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
2716 Likewise.
2717 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
2718 Likewise.
2719
2720 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
2721 definition. Document in comment.
2722
2723 2012-06-01 David S. Miller <davem@davemloft.net>
2724
2725 * stdlib/longlong.h: Updated from GCC.
2726
2727 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2728
2729 [BZ #14117]
2730 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
2731 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
2732 sys/debugreg.h sys/io.h here.
2733 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
2734 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
2735 sys/io.h.
2736 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
2737 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
2738 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
2739 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
2740 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
2741 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
2742
2743 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
2744 Define only if __x86_64__ is defined.
2745
2746 2012-06-01 Joseph Myers <joseph@codesourcery.com>
2747
2748 [BZ #14048]
2749 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
2750 Use int64_t for variable i.
2751 * math/libm-test.inc (fmod_test): Add more tests.
2752
2753 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
2754 z computation is not scheduled after fetestexcept.
2755 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
2756 Use math_force_eval instead of asm to ensure calculation scheduled
2757 before exception test.
2758 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
2759 Ensure a1 + u.d computation is not scheduled after fetestexcept.
2760
2761 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
2762
2763 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
2764 computation is not scheduled after fetestexcept.
2765
2766 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
2767
2768 [BZ #14117]
2769 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
2770 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
2771
2772 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2773
2774 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
2775 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2776
2777 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2778
2779 [BZ #14117]
2780 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
2781 <bits/wordsize.h>.
2782 (__WCHAR_MIN): Support __WORDSIZE == 64.
2783 (__WCHAR_MAX): Likewise.
2784
2785 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
2786 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
2787
2788 [BZ #14183]
2789 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
2790 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
2791
2792 [BZ #14117]
2793 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
2794 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
2795
2796 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
2797 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
2798
2799 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
2800 Defined to 1 if __x86_64__ isn't defined.
2801 (_STAT_VER_LINUX_OLD): New.
2802 (st_atime): Remove duplicate.
2803 (st_mtime): Likewise.
2804 (st_ctime): Likewise.
2805
2806 2012-05-31 David S. Miller <davem@davemloft.net>
2807
2808 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
2809 entries.
2810
2811 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
2812
2813 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
2814 gen-libm-test.pl.
2815
2816 [BZ #14132]
2817 * elf/dl-reloc.c: Include <_itoa.h>.
2818 (_dl_reloc_bad_type): Remove use of INTUSE.
2819 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
2820 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
2821 * stdio-common/psiginfo.c (psiginfo): Likewise.
2822 * stdio-common/psignal.c (psignal): Likewise.
2823 * string/strsignal.c (strsignal): Likewise.
2824 * include/signal.h (_sys_siglist): Declare hidden proto.
2825 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
2826 INTVARDEF with libc_hidden_data_def.
2827 * stdio-common/itoa-udigits.c: Likewise.
2828 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
2829 (_itoa_lower_digits_internal): Remove declaration.
2830 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
2831 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
2832 (_sys_sigabbrev_internal): Remove aliases.
2833 (_sys_siglist): Define hidden alias.
2834
2835 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2836
2837 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2838 bits/sysctl.h.
2839
2840 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
2841
2842 [BZ #14117]
2843 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
2844 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
2845
2846 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
2847 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
2848 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
2849 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
2850 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
2851 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
2852
2853 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
2854 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
2855 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
2856
2857 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
2858 with __addr.
2859 (insw): Likewise.
2860 (insl): Likewise.
2861 (outsb): Likewise.
2862 (outsw): Likewise.
2863 (outsl): Likewise.
2864
2865 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
2866 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
2867 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
2868
2869 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
2870 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
2871 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
2872 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
2873 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
2874 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
2875
2876 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
2877 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
2878
2879 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
2880 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
2881
2882 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
2883 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
2884 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
2885
2886 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
2887 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
2888 to ...
2889 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
2890
2891 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
2892 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
2893 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
2894
2895 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
2896 for x86-64.
2897 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
2898
2899 2012-05-31 Joseph Myers <joseph@codesourcery.com>
2900
2901 * math/math.h (M_El): Use two more decimal places.
2902 (M_LOG2El): Likewise.
2903 (M_LOG10El): Likewise.
2904 (M_LN2l): Likewise.
2905 (M_LN10l): Likewise.
2906 (M_PIl): Likewise.
2907 (M_PI_2l): Likewise.
2908 (M_PI_4l): Likewise.
2909 (M_1_PIl): Likewise.
2910 (M_2_PIl): Likewise.
2911 (M_2_SQRTPIl): Likewise.
2912 (M_SQRT2l): Likewise.
2913 (M_SQRT1_2l): Likewise.
2914
2915 2012-05-31 David S. Miller <davem@davemloft.net>
2916
2917 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
2918 values between float registers.
2919 * sysdeps/sparc/sparc64/memset.S: Likewise.
2920 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2921
2922 2012-05-31 Mike Frysinger <vapier@gentoo.org>
2923
2924 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
2925 -D_FORTIFY_SOURCE=1.
2926 (CPPFLAGS-tst-longjmp_chk.c): Define.
2927 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
2928 (CPPFLAGS-tst-longjmp_chk2.c): Define.
2929 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
2930 CFLAGS-tst-wchar-h.c.
2931
2932 2012-05-31 Marek Polacek <polacek@redhat.com>
2933
2934 [BZ #14132]
2935 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
2936 __endmntent_internal): Remove declaration.
2937 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
2938 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
2939 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
2940
2941 2012-05-30 David S. Miller <davem@davemloft.net>
2942
2943 * sysdeps/sparc/sparc32/soft-fp/q_util.c
2944 (___Q_simulate_exceptions): Use real FP ops rather than writing
2945 into the %fsr.
2946 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
2947 Likewise.
2948
2949 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2950
2951 [BZ #14117]
2952 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
2953 * sysdeps/x86/bits/xtitypes.h: This.
2954
2955 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
2956 * sysdeps/x86/bits/wordsize.h: This.
2957
2958 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
2959 * sysdeps/x86/bits/huge_vall.h: This.
2960
2961 * sysdeps/i386/bits/select.h: Removed.
2962 * sysdeps/x86_64/bits/select.h: Renamed to ...
2963 * sysdeps/x86/bits/select.h: This.
2964
2965 * sysdeps/i386/bits/setjmp.h: Removed.
2966 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
2967 * sysdeps/x86/bits/setjmp.h: This.
2968
2969 * sysdeps/i386/bits/mathdef.h: Removed.
2970 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
2971 * sysdeps/x86/bits/mathdef.h: This.
2972
2973 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
2974
2975 [BZ #14132]
2976 * include/sys/socket.h (__connect_internal)
2977 (__libc_sa_len_internal): Remove declaration.
2978 (__connect, __libc_sa_len): Declare hidden_proto.
2979 (SA_LEN): Remove use of INTUSE.
2980 * socket/connect.c: Add libc_hidden_def.
2981 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
2982 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
2983 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
2984 alias.
2985 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2986 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2987 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
2988 of adding _internal alias.
2989
2990 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2991
2992 [BZ #14117]
2993 * sysdeps/i386/bits/link.h: Removed.
2994 * sysdeps/i386/bits/linkmap.h: Likewise.
2995 * sysdeps/x86_64/bits/link.h: Renamed to ...
2996 * sysdeps/x86/bits/link.h: This.
2997 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
2998 * sysdeps/x86/bits/linkmap.h: This.
2999
3000 * sysdeps/i386/bits/endian.h: Removed.
3001 * sysdeps/x86_64/bits/endian.h: Renamed to ...
3002 * sysdeps/x86/bits/endian.h: This.
3003
3004 * sysdeps/i386/bits/byteswap.h: Removed.
3005 * sysdeps/i386/bits/byteswap-16.h: Likewise.
3006 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
3007 * sysdeps/x86/bits/byteswap.h: This.
3008 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
3009 * sysdeps/x86/bits/byteswap-16.h: This.
3010 * sysdeps/i386/Implies: Add x86.
3011 * sysdeps/x86_64/Implies: Likewise.
3012
3013 2012-05-30 David S. Miller <davem@davemloft.net>
3014
3015 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
3016 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
3017 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3018 (FP_TRAPPING_EXCEPTIONS): Define.
3019 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3020 (FP_TRAPPING_EXCEPTIONS): Define.
3021 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
3022 subnormals only when inexact has been signalled or underflow
3023 exceptions are enabled.
3024 (_FP_PACK_CANONICAL): Likewise.
3025
3026 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3027
3028 [BZ #14183]
3029 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
3030 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
3031
3032 2012-05-30 Richard Henderson <rth@twiddle.net>
3033
3034 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
3035 with #ifndef NOT_IN_libc.
3036
3037 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
3038 marked to avoid plt entry.
3039
3040 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
3041
3042 [BZ #14112]
3043 * Makeconfig (default-abi): New macro.
3044 (abi-includes): Likewise.
3045 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
3046 $(abi-$(default-abi)-lib-soname) for soname if defined.
3047 ($(common-objpfx)gnu/lib-names.stmp): Generate from
3048 abi-variants.
3049 * Makefile (installed-stubs): Likewise.
3050 * include/stubs-biarch.h: Removed.
3051 * scripts/lib-names.awk: Only handle one library at a time.
3052 * scripts/soversions.awk: Remove WORDSIZE support.
3053 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
3054 entries.
3055 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
3056 Removed.
3057 (syscall-list-default-condition): Likewise.
3058 (syscall-list-default-condition): Likewise.
3059 (syscall-list-includes): Likewise.
3060 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
3061 syscall-list-* with abi-*. Handle undefined abi-variants.
3062 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
3063 * sysdeps/unix/sysv/linux/i386/Implies: New file.
3064 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
3065 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
3066 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
3067 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
3068 Removed.
3069 (syscall-list-32-options): Likewise.
3070 (syscall-list-32-condition): Likewise.
3071 (syscall-list-64-options): Likewise.
3072 (syscall-list-64-condition): Likewise.
3073 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
3074 macro.
3075 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
3076 Renamed to ...
3077 (abi-*): This.
3078 (abi-64-ld-soname): New macro.
3079 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
3080 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
3081 Renamed to ...
3082 (abi-*): This.
3083 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
3084 * sysdeps/x86_64/x32/shlib-versions: Likewise.
3085
3086 2012-05-30 Joseph Myers <joseph@codesourcery.com>
3087
3088 * sysdeps/unix/sysv/linux/kernel-features.h
3089 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
3090 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
3091 include <kernel-features.h>.
3092 [!__NR_ftruncate64]: Remove conditional code.
3093 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3094 [__NR_ftruncate64]: Make code unconditional.
3095 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3096 * sysdeps/unix/sysv/linux/truncate64.c: Do not
3097 include <kernel-features.h>.
3098 [!__NR_ftruncate64]: Remove conditional code.
3099 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3100 [__NR_ftruncate64]: Make code unconditional.
3101 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
3103 include <kernel-features.h>.
3104 [!__NR_ftruncate64]: Remove conditional code.
3105 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3106 [__NR_ftruncate64]: Make code unconditional.
3107 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3109 include <kernel-features.h>.
3110 [!__NR_ftruncate64]: Remove conditional code.
3111 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3112 [__NR_ftruncate64]: Make code unconditional.
3113 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
3114
3115 * configure.in (libc_cv_fpie): Weaken to a compile test using
3116 LIBC_TRY_CC_OPTION.
3117 * configure: Regenerated.
3118
3119 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3120
3121 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
3122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
3123 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
3124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3125 Refreshed.
3126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
3127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
3128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
3129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
3130 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
3131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3132 Refreshed.
3133
3134 2012-05-27 David S. Miller <davem@davemloft.net>
3135
3136 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
3137 (___Q_zero): New.
3138 (__Q_simulate_exceptions): Return void. Change to simulate
3139 exceptions by writing into the %fsr.
3140 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
3141 (__Qp_handle_exceptions): Likewise.
3142 (numbers): Delete.
3143 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
3144 __Qp_handle_exceptions.
3145 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
3146 __Qp_handle_exceptions.
3147 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3148 as unused and give dummy FP_RND_NEAREST initializer.
3149 (FP_INHIBIT_RESULTS): Define.
3150 (___Q_simulate_exceptions): Update declaration.
3151 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
3152 formatting.
3153 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
3154 as unused and give dummy FP_RND_NEAREST initializer.
3155 (__Qp_handle_exceptions): Update declaration.
3156 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
3157 formatting.
3158
3159 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
3160
3161 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
3162 the temporary FPU control word.
3163 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3164 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
3165 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3166 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
3167 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3168 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3169 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3170 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3171 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3172 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3173 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
3174
3175 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3176
3177 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
3178 fields.
3179
3180 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
3181
3182 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
3183 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
3184 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
3185 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
3186 Likewise.
3187 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
3188 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
3189 Likewise.
3190
3191 2012-05-27 Ulrich Drepper <drepper@gmail.com>
3192
3193 * po/h.po: Update from translation team.
3194
3195 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
3196
3197 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
3198
3199 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
3200 handling of denormals.
3201 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3202 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3203 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3204 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3205 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3206 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
3207 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
3208 Likewise.
3209
3210 2012-05-26 Marek Polacek <polacek@redhat.com>
3211
3212 [BZ #14152]
3213 * math/libm-test.inc (fma_test): Don't always expect underflow
3214 exception.
3215
3216 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3217
3218 [BZ #12416]
3219 * elf/tst-execstack.c: Include stackinfo.h.
3220 (do_test): Adjust test case to ensure that pthread_getattr_np
3221 behaviour remains the same after marking stack executable.
3222
3223 2012-05-25 Joseph Myers <joseph@codesourcery.com>
3224
3225 * sysdeps/unix/sysv/linux/kernel-features.h
3226 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
3227 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
3228 kernel-features.h.
3229 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3230 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3231 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
3232 kernel-features.h.
3233 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
3234 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
3235
3236 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
3237
3238 * configure.in: Define the default includes to being none.
3239 * configure: Regenerated.
3240
3241 2012-05-25 Roland McGrath <roland@hack.frob.com>
3242
3243 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
3244 * sysdeps/x86_64/setjmp.S: Likewise.
3245 * sysdeps/i386/bsd-setjmp.S: Likewise.
3246 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3247 * sysdeps/i386/setjmp.S: Likewise.
3248 * sysdeps/i386/__longjmp.S: Likewise.
3249 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
3250 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
3251
3252 * include/stap-probe.h: New file.
3253 * configure.in: Handle --enable-systemtap.
3254 * configure: Regenerated.
3255 * config.h.in (USE_STAP_PROBE): New #undef.
3256 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
3257 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
3258 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3259
3260 2012-05-25 Joseph Myers <joseph@codesourcery.com>
3261
3262 [BZ #13717]
3263 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3264 to 2.4.0 where earlier.
3265 * sysdeps/unix/sysv/linux/configure: Regenerated.
3266 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3267 <kernel-features.h>.
3268 [__ASSUME_32BITUIDS]: Make code unconditional.
3269 [!__ASSUME_32BITUIDS]: Remove conditional code.
3270 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
3271 <kernel-features.h>.
3272 [__ASSUME_32BITUIDS]: Make code unconditional.
3273 [!__ASSUME_32BITUIDS]: Remove conditional code.
3274 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
3275 [__ASSUME_32BITUIDS]: Make code unconditional.
3276 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
3277 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
3278 <kernel-features.h>.
3279 [__ASSUME_32BITUIDS]: Make code unconditional.
3280 [!__ASSUME_32BITUIDS]: Remove conditional code.
3281 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
3282 <kernel-features.h>.
3283 [__ASSUME_32BITUIDS]: Make code unconditional.
3284 [!__ASSUME_32BITUIDS]: Remove conditional code.
3285 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
3286 <kernel-features.h>.
3287 [__ASSUME_32BITUIDS]: Make code unconditional.
3288 [!__ASSUME_32BITUIDS]: Remove conditional code.
3289 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
3290 <kernel-features.h>.
3291 [__ASSUME_32BITUIDS]: Make code unconditional.
3292 [!__ASSUME_32BITUIDS]: Remove conditional code.
3293 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
3294 <kernel-features.h>.
3295 [__ASSUME_32BITUIDS]: Make code unconditional.
3296 [!__ASSUME_32BITUIDS]: Remove conditional code.
3297 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
3298 <kernel-features.h>.
3299 [__ASSUME_32BITUIDS]: Make code unconditional.
3300 [!__ASSUME_32BITUIDS]: Remove conditional code.
3301 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
3302 <kernel-features.h>.
3303 [__ASSUME_32BITUIDS]: Make code unconditional.
3304 [!__ASSUME_32BITUIDS]: Remove conditional code.
3305 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3306 <kernel-features.h>.
3307 [__ASSUME_32BITUIDS]: Make code unconditional.
3308 [!__ASSUME_32BITUIDS]: Remove conditional code.
3309 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
3310 <kernel-features.h>.
3311 [__ASSUME_32BITUIDS]: Make code unconditional.
3312 [!__ASSUME_32BITUIDS]: Remove conditional code.
3313 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
3314 <kernel-features.h>.
3315 [__ASSUME_32BITUIDS]: Make code unconditional.
3316 [!__ASSUME_32BITUIDS]: Remove conditional code.
3317 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
3318 <kernel-features.h>.
3319 [__NR_setresgid] (__setresgid): Do not declare.
3320 [__ASSUME_32BITUIDS]: Make code unconditional.
3321 [!__ASSUME_32BITUIDS]: Remove conditional code.
3322 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
3323 <kernel-features.h>.
3324 [__NR_setresuid] (__setresuid): Do not declare.
3325 [__ASSUME_32BITUIDS]: Make code unconditional.
3326 [!__ASSUME_32BITUIDS]: Remove conditional code.
3327 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
3328 <kernel-features.h>.
3329 [__ASSUME_32BITUIDS]: Make code unconditional.
3330 [!__ASSUME_32BITUIDS]: Remove conditional code.
3331 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
3332 <kernel-features.h>.
3333 [__ASSUME_32BITUIDS]: Make code unconditional.
3334 [!__ASSUME_32BITUIDS]: Remove conditional code.
3335 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
3336 <kernel-features.h>.
3337 [__ASSUME_32BITUIDS]: Make code unconditional.
3338 [!__ASSUME_32BITUIDS]: Remove conditional code.
3339 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
3340 <kernel-features.h>.
3341 [__ASSUME_32BITUIDS]: Make code unconditional.
3342 [!__ASSUME_32BITUIDS]: Remove conditional code.
3343 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
3344 <kernel-features.h>.
3345 [__ASSUME_32BITUIDS]: Make code unconditional.
3346 [!__ASSUME_32BITUIDS]: Remove conditional code.
3347 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
3348 <kernel-features.h>.
3349 [__ASSUME_32BITUIDS]: Make code unconditional.
3350 [!__ASSUME_32BITUIDS]: Remove conditional code.
3351 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
3352 <kernel-features.h>.
3353 [__ASSUME_32BITUIDS]: Make code unconditional.
3354 [!__ASSUME_32BITUIDS]: Remove conditional code.
3355 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
3356 <kernel-features.h>.
3357 [__ASSUME_32BITUIDS]: Make code unconditional.
3358 [!__ASSUME_32BITUIDS]: Remove conditional code.
3359 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
3360 <kernel-features.h>.
3361 [__ASSUME_32BITUIDS]: Make code unconditional.
3362 [!__ASSUME_32BITUIDS]: Remove conditional code.
3363 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
3364 <kernel-features.h>.
3365 [__ASSUME_32BITUIDS]: Make code unconditional.
3366 [!__ASSUME_32BITUIDS]: Remove conditional code.
3367 * sysdeps/unix/sysv/linux/kernel-features.h
3368 (__ASSUME_SETRESUID_SYSCALL): Remove.
3369 (__ASSUME_SETRESGID_SYSCALL): Likewise.
3370 (__ASSUME_32BITUIDS): Likewise.
3371 (__ASSUME_LDT_WORKS): Likewise.
3372 (__ASSUME_O_DIRECTORY): Likewise.
3373 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
3374 architecture but not kernel version.
3375 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
3376 (__ASSUME_MMAP2_SYSCALL): Likewise.
3377 (__ASSUME_STAT64_SYSCALL): Likewise.
3378 (__ASSUME_IPC64): Likewise.
3379 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
3380 <kernel-features.h>.
3381 [__ASSUME_32BITUIDS]: Make code unconditional.
3382 [!__ASSUME_32BITUIDS]: Remove conditional code.
3383 * sysdeps/unix/sysv/linux/opendir.c: Do not include
3384 <kernel-features.h>.
3385 [__ASSUME_O_DIRECTORY]: Make code unconditional.
3386 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
3387 132096]: Remove conditional code.
3388 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
3389 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3390 <kernel-features.h>.
3391 [__ASSUME_32BITUIDS]: Make code unconditional.
3392 [!__ASSUME_32BITUIDS]: Remove conditional code.
3393 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3394 <kernel-features.h>.
3395 [__ASSUME_32BITUIDS]: Make code unconditional.
3396 [!__ASSUME_32BITUIDS]: Remove conditional code.
3397 * sysdeps/unix/sysv/linux/setegid.c: Do not include
3398 <kernel-features.h>.
3399 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
3400 unconditional.
3401 (__setresgid): Do not declare.
3402 [__ASSUME_32BITUIDS]: Make code unconditional.
3403 [!__ASSUME_32BITUIDS]: Remove conditional code.
3404 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
3405 <kernel-features.h>.
3406 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
3407 unconditional.
3408 (__setresuid): Do not declare.
3409 [__ASSUME_32BITUIDS]: Make code unconditional.
3410 [!__ASSUME_32BITUIDS]: Remove conditional code.
3411 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3412 <kernel-features.h>.
3413 [__ASSUME_32BITUIDS]: Make code unconditional.
3414 [!__ASSUME_32BITUIDS]: Remove conditional code.
3415 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
3416 <kernel-features.h>.
3417 [__ASSUME_32BITUIDS]: Make code unconditional.
3418 [!__ASSUME_32BITUIDS]: Remove conditional code.
3419
3420 2012-05-25 Richard Henderson <rth@twiddle.net>
3421
3422 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
3423 dl_hwcap to ifunc resolver.
3424 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
3425 elf_ifunc_invoke.
3426 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
3427 dl_hwcap to ifunc resolver.
3428 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
3429
3430 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3431
3432 [BZ #14153]
3433 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
3434 for |x| <= 2**-26, not 2**-57.
3435 * math/libm-test.inc (acos_test): Do not allow spurious underflow
3436 exception.
3437
3438 2012-05-24 Jeff Law <law@redhat.com>
3439
3440 * stdio-common/Makefile (tests): Add bug25.
3441 * stdio-common/bug25.c: New test.
3442
3443 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3444
3445 [BZ #13576]
3446 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
3447 multiple of MALLOC_ALIGNMENT in size.
3448 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
3449
3450 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3451
3452 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
3453 Require >= 256.
3454 (FILENAME_MAX): Use macro-int-constant.
3455 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
3456 (_IOFBF): Use macro-int-constant.
3457 (_IOLBF): Likewise.
3458 (_IONBF): Likewise.
3459 (SEEK_CUR): Likewise.
3460 (SEEK_END): Likewise.
3461 (SEEK_SET): Likewise.
3462 (TMP_MAX): Likewise.
3463 (EOF): Use macro-int-constant. Require < 0.
3464 (NULL): Use macro-constant. Require == 0.
3465 (stdin): Require type to be FILE *.
3466 (stdout): Likewise.
3467 (stderr): Likewise.
3468 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
3469 macro-int-constant.
3470 (EXIT_SUCCESS): Likewise.
3471 (NULL): Use macro-constant. Require == 0.
3472 (RAND_MAX): Use macro-int-constant.
3473 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
3474 [C99-based standards] (strtof): Require function.
3475 [C99-based standards] (strtold): Likewise.
3476 [C99-based standards] (strtoll): Likewise.
3477 [C99-based standards] (strtoull): Likewise.
3478 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
3479 [ISO || ISO99 || ISO11] (limits.h): Likewise.
3480 [ISO || ISO99 || ISO11] (math.h): Likewise.
3481 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
3482 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
3483 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3484
3485 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
3486
3487 [BZ #14132]
3488 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
3489 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
3490 * intl/dgettext.c (DCGETTEXT): Likewise.
3491 * intl/gettext.c (DCGETTEXT): Likewise.
3492 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
3493 * posix/regex_internal.h (gettext): Likewise.
3494 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
3495 Remove declaration.
3496 * include/argz.h (__argz_count_internal)
3497 (__argz_stringify_internal): Remove declaration.
3498 (__argz_count, __argz_stringify): Declare hidden proto.
3499 * intl/dcgettext.c: Remove use of INTDEF.
3500 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
3501 * string/argz-stringify.c: Likewise.
3502 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3503 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3504 Declare hidden proto.
3505 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
3506 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
3507 Declare hidden proto.
3508 * include/stdio.h (__asprintf_internal): Don't declare.
3509 (__asprintf): Don't define as macro. Declare hidden proto.
3510 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
3511 (__fsetlocking): Declare hidden proto.
3512 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
3513 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
3514 hidden proto.
3515 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
3516 (_IO_setlinebuf): Remove use of INTUSE.
3517 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
3518 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
3519 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
3520 Remove declaration.
3521 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
3522 (_IO_do_flush): Remove use of INTUSE.
3523 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
3524 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
3525 (_IO_adjust_column, _IO_least_wmarker)
3526 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
3527 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
3528 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
3529 (_IO_default_doallocate, _IO_wdefault_doallocate)
3530 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
3531 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
3532 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
3533 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
3534 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
3535 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
3536 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
3537 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
3538 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
3539 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
3540 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
3541 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
3542 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
3543 proto.
3544 (_IO_flush_all_internal, _IO_adjust_column_internal)
3545 (_IO_default_uflow_internal, _IO_default_finish_internal)
3546 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
3547 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
3548 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
3549 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
3550 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
3551 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
3552 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
3553 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
3554 (_IO_file_close_internal, _IO_file_close_it_internal)
3555 (_IO_file_underflow_internal, _IO_file_overflow_internal)
3556 (_IO_file_init_internal, _IO_file_attach_internal)
3557 (_IO_file_fopen_internal, _IO_file_read_internal)
3558 (_IO_file_sync_internal, _IO_file_seek_internal)
3559 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
3560 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
3561 (_IO_str_underflow_internal, _IO_str_overflow_internal)
3562 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
3563 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
3564 (_IO_list_all_internal, _IO_link_in_internal)
3565 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
3566 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
3567 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
3568 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
3569 (_IO_do_write_internal, _IO_padn_internal)
3570 (_IO_getline_info_internal, _IO_getline_internal)
3571 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
3572 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
3573 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
3574 (_IO_vfscanf_internal, _IO_vfprintf_internal)
3575 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
3576 (_IO_init_internal, _IO_un_link_internal): Don't declare.
3577 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
3578 with libc_hidden_ver, remove use of INTUSE.
3579 * libio/genops.c: Likewise.
3580 * libio/freopen.c: Likewise.
3581 * libio/freopen64.c: Likewise.
3582 * libio/iofclose.c: Likewise.
3583 * libio/iofdopen.c: Likewise.
3584 * libio/iofflush.c: Likewise.
3585 * libio/iofflush_u.c: Likewise.
3586 * libio/iofgets.c: Likewise.
3587 * libio/iofgets_u.c: Likewise.
3588 * libio/iofopen.c: Likewise.
3589 * libio/iofopncook.c: Likewise.
3590 * libio/iofread.c: Likewise.
3591 * libio/iofread_u.c: Likewise.
3592 * libio/ioftell.c: Likewise.
3593 * libio/iofwrite.c: Likewise.
3594 * libio/iogetline.c: Likewise.
3595 * libio/iogets.c: Likewise.
3596 * libio/iogetwline.c: Likewise.
3597 * libio/iopadn.c: Likewise.
3598 * libio/iopopen.c: Likewise.
3599 * libio/ioseekoff.c: Likewise.
3600 * libio/ioseekpos.c: Likewise.
3601 * libio/iosetbuffer.c: Likewise.
3602 * libio/iosetvbuf.c: Likewise.
3603 * libio/ioungetc.c: Likewise.
3604 * libio/ioungetwc.c: Likewise.
3605 * libio/iovdprintf.c: Likewise.
3606 * libio/iovsprintf.c: Likewise.
3607 * libio/iovsscanf.c: Likewise.
3608 * libio/memstream.c: Likewise.
3609 * libio/obprintf.c: Likewise.
3610 * libio/oldfileops.c: Likewise.
3611 * libio/oldiofclose.c: Likewise.
3612 * libio/oldiofdopen.c: Likewise.
3613 * libio/oldiofopen.c: Likewise.
3614 * libio/oldiopopen.c: Likewise.
3615 * libio/oldstdfiles.c: Likewise.
3616 * libio/putc.c: Likewise.
3617 * libio/setbuf.c: Likewise.
3618 * libio/setlinebuf.c: Likewise.
3619 * libio/stdfiles.c: Likewise.
3620 * libio/strops.c: Likewise.
3621 * libio/vasprintf.c: Likewise.
3622 * libio/vscanf.c: Likewise.
3623 * libio/vsnprintf.c: Likewise.
3624 * libio/vswprintf.c: Likewise.
3625 * libio/wfiledoalloc.c: Likewise.
3626 * libio/wfileops.c: Likewise.
3627 * libio/wgenops.c: Likewise.
3628 * libio/wmemstream.c: Likewise.
3629 * libio/wstrops.c: Likewise.
3630 * libio/__fpurge.c: Likewise.
3631 * libio/__fsetlocking.c: Likewise.
3632 * assert/assert.c: Likewise.
3633 * debug/fgets_chk.c: Likewise.
3634 * debug/fgets_u_chk.c: Likewise.
3635 * debug/fread_chk.c: Likewise.
3636 * debug/fread_u_chk.c: Likewise.
3637 * debug/gets_chk.c: Likewise.
3638 * debug/obprintf_chk.c: Likewise.
3639 * debug/vasprintf_chk.c: Likewise.
3640 * debug/vdprintf_chk.c: Likewise.
3641 * debug/vsnprintf_chk.c: Likewise.
3642 * debug/vsprintf_chk.c: Likewise.
3643 * malloc/mtrace.c: Likewise.
3644 * misc/error.c: Likewise.
3645 * misc/syslog.c: Likewise.
3646 * stdio-common/asprintf.c: Likewise.
3647 * stdio-common/fxprintf.c: Likewise.
3648 * stdio-common/getw.c: Likewise.
3649 * stdio-common/isoc99_fscanf.c: Likewise.
3650 * stdio-common/isoc99_scanf.c: Likewise.
3651 * stdio-common/isoc99_vfscanf.c: Likewise.
3652 * stdio-common/isoc99_vscanf.c: Likewise.
3653 * stdio-common/isoc99_vsscanf.c: Likewise.
3654 * stdio-common/printf-prs.c: Likewise.
3655 * stdio-common/printf_fp.c: Likewise.
3656 * stdio-common/printf_fphex.c: Likewise.
3657 * stdio-common/printf_size.c: Likewise.
3658 * stdio-common/putw.c: Likewise.
3659 * stdio-common/scanf.c: Likewise.
3660 * stdio-common/sprintf.c: Likewise.
3661 * stdio-common/tmpfile.c: Likewise.
3662 * stdio-common/vfprintf.c: Likewise.
3663 * stdio-common/vfscanf.c: Likewise.
3664 * stdlib/strfmon_l.c: Likewise.
3665 * sunrpc/openchild.c: Likewise.
3666 * sunrpc/xdr_stdio.c: Likewise.
3667 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
3668 * sysdeps/mach/hurd/tmpfile.c: Likewise.
3669
3670 2012-05-24 Roland McGrath <roland@hack.frob.com>
3671
3672 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
3673
3674 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
3675 in the third column, to generate for the shared library an IFUNC
3676 that uses _dl_vdso_vsym.
3677 * Makerules (COMPILE.c, compile-stdin.c): New variables.
3678 * Makeconfig (object-suffixes-noshared): New variable.
3679
3680 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
3681 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
3682 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
3683 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
3684
3685 [BZ #14132]
3686 * include/sys/time.h (__gettimeofday): Remove macro.
3687 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
3688 * time/gettimeofday.c (__gettimeofday): Remove #undef.
3689 Remove INTDEF.
3690 (__gettimeofday): Add libc_hidden_def.
3691 (gettimeofday): Add libc_hidden_weak.
3692 * sysdeps/mach/gettimeofday.c: Likewise.
3693 * sysdeps/posix/gettimeofday.c: Likewise.
3694 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3695 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
3696 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
3697 (__gettimeofday_internal): Remove strong_alias.
3698 (__gettimeofday): Add libc_hidden_def.
3699 (gettimeofday): Add libc_hidden_weak.
3700 * sysdeps/unix/syscalls.list (gettimeofday):
3701 Remove __gettimeofday_internal alias.
3702
3703 2012-05-24 Daniel Jacobowitz <drow@false.org>
3704 H.J. Lu <hongjiu.lu@intel.com>
3705
3706 [BZ #12495]
3707 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
3708 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
3709 (largebin_index_32_big): New.
3710 (largebin_index): Use it for 16-byte alignment.
3711 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
3712 correction with front_misalign.
3713
3714 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
3715
3716 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
3717 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3718 Likewise.
3719 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
3720 Likewise.
3721 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
3722 Likewise.
3723 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
3724 Likewise.
3725 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
3726 Likewise.
3727 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
3728 Likewise.
3729 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
3730 Likewise.
3731 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3732 Likewise.
3733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
3734 Likewise.
3735 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
3736 Likewise.
3737 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3738 Likewise.
3739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
3740 Likewise.
3741
3742 * scripts/data/c++-types-x32-linux-gnu.data: New file.
3743 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
3744
3745 2012-05-24 Joseph Myers <joseph@codesourcery.com>
3746
3747 [BZ #10846]
3748 [BZ #14036]
3749 * math/libm-test.inc (exp_test): Add test from bug 14036.
3750 (pow_test): Add test from bug 10846.
3751
3752 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
3753 and other flags.
3754 (special_function): Do not include flags in test name.
3755 (parse_args): Likewise.
3756 * sysdeps/i386/fpu/libm-test-ulps: Update.
3757 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3758 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3759 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3761
3762 * math/gen-libm-test.pl (%beautify): Add entries for underflow
3763 exceptions.
3764 * math/libm-test.inc ("Philosophy"): Update comment about
3765 exception testing.
3766 (UNDERFLOW_EXCEPTION): New macro.
3767 (UNDERFLOW_EXCEPTION_OK): Likewise.
3768 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3769 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3770 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3771 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3772 (INVALID_EXCEPTION_OK): Update value.
3773 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3774 (OVERFLOW_EXCEPTION_OK): Likewise.
3775 (IGNORE_ZERO_INF_SIGN): Likewise.
3776 (test_exceptions): Handle underflow exceptions.
3777 (acos_test): Update for underflow exception expectations.
3778 (cexp_test): Likewise.
3779 (clog_test): Likewise.
3780 (clog10_test): Likewise.
3781 (csqrt_test): Likewise.
3782 (ctan_test): Likewise.
3783 (ctanh_test): Likewise.
3784 (exp_test): Likewise.
3785 (exp10_test): Likewise.
3786 (exp2_test): Likewise.
3787 (expm1_test): Likewise.
3788 (fma_test): Likewise.
3789 (j0_test): Likewise.
3790 (jn_test): Likewise.
3791 (nexttoward_test): Likewise.
3792 (pow_test): Likewise.
3793 (scalbn_test): Likewise.
3794 (scalbln_test): Likewise.
3795 (tan_test): Likewise.
3796 (y1_test): Likewise.
3797 * sysdeps/i386/fpu/libm-test-ulps: Update.
3798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3799
3800 2012-05-23 David S. Miller <davem@davemloft.net>
3801
3802 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3803 (__libc_sigaction): Remove unused local variables.
3804
3805 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3806
3807 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
3808
3809 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
3810
3811 mktime: avoid signed integer overflow
3812 * time/mktime.c (__mktime_internal): Do not mishandle the case
3813 where diff == INT_MIN.
3814
3815 mktime: simplify computation of average
3816 * time/mktime.c (ranged_convert): Use new time_t_avg function
3817 instead of rolling our own (probably-slower) code.
3818
3819 mktime: do not assume signed right shift propagates sign bit
3820 * time/mktime.c (isdst_differ): New static function.
3821 (__mktime_internal): No need to normalize tm_isdst now.
3822 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
3823 tm_isdst values.
3824
3825 mktime: merge another wrapv change from gnulib
3826 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
3827 from some compilers.
3828
3829 mktime: remove incorrect attempt at unusual arithmetics
3830 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
3831 The code didn't really work on such machines anyway.
3832 (TYPE_MINIMUM): Assume two's complement.
3833 (twos_complement_arithmetic): Verify that long_int and time_t
3834 are two's complement (or unsigned, in the latter case).
3835
3836 mktime: check signed shifts on long_int and time_t, too
3837 * time/mktime.c (SHR): Check that shifts work as desired
3838 on the types long_int and time_t too, as SHR is used on
3839 such types.
3840
3841 mktime: do not assume 'long' is wide enough
3842 * time/mktime.c (verify): Move decl up.
3843 (long_int): New type.
3844 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
3845 to remove assumption in the code that 'long' is wide enough to
3846 store year values. This assumption is not true on x32 and on
3847 some non-glibc platforms.
3848
3849 mktime: merge wrapv change from gnulib
3850 * time/mktime.c (WRAPV): New macro.
3851 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
3852 (guess_time_tm, __mktime_internal): Do not assume that signed
3853 integer overflow wraps around; modern compilers generate code
3854 where this assumption is no longer valid.
3855
3856 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3857
3858 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3859 Replace "jmp L(pseudo_end)" with "ret".
3860 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
3861 Likewise.
3862
3863 2012-05-23 Andreas Jaeger <aj@suse.de>
3864
3865 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
3866 * sysdeps/unix/sysv/linux/poll.c: Remove file.
3867
3868 2012-05-23 Andreas Jaeger <aj@suse.de>
3869 Maximilian Attems <max@stro.at>
3870
3871 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
3872 New macros.
3873
3874 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
3875
3876 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
3877 code so that pseudo_end is just ret and the stack pointer is
3878 correct also for static library in error case.
3879
3880 2012-05-23 Joseph Myers <joseph@codesourcery.com>
3881
3882 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
3883 move to syscalls.list.
3884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
3885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3888
3889 * manual/install.texi (Running make install): Do not mention Linux
3890 kernel version for which pt_chown is not needed.
3891 (Linux): Do not mention problems with nscd with 2.0 kernels.
3892 * INSTALL: Regenerated.
3893
3894 2012-05-23 Andreas Jaeger <aj@suse.de>
3895
3896 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
3897 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
3898 macro.
3899 * sysdeps/unix/sysv/linux/s390/bits/mman.h
3900 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3901 * sysdeps/unix/sysv/linux/sh/bits/mman.h
3902 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3903 * sysdeps/unix/sysv/linux/i386/bits/mman.h
3904 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3905 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
3906 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3907 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
3908 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
3909 * sysdeps/unix/sysv/linux/bits/in.h
3910 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
3911
3912 2012-05-22 Roland McGrath <roland@hack.frob.com>
3913
3914 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
3915 (PREPARE_VERSION): Just use assert instead, it will be elided
3916 under [NDEBUG] anyway.
3917
3918 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3919
3920 * sysdeps/unix/sysv/linux/Makefile: Include
3921 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
3922 (sysdep_routines): Remove sysctl.
3923 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
3924 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
3925 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
3926 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
3927 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
3928
3929 2012-05-22 Andreas Jaeger <aj@suse.de>
3930
3931 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
3932 that pseudo_end is just ret and the stack pointer is correct also
3933 for static library in error case.
3934
3935 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3936
3937 [BZ #14122]
3938 * nss/nsswitch.c (defconfig_entries): New variable.
3939 (__nss_database_lookup): Don't leak defconfig entries.
3940 (nss_parse_service_list): Don't leak on error paths.
3941 (free_database_entries): New function.
3942 (free_defconfig): New function.
3943 (free_mem): Move common code to free_database_entries.
3944
3945 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3946
3947 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
3948 Add arch_prctl.
3949 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
3950
3951 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3952 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
3953 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
3954 New macro.
3955 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
3956 (INTERNAL_SYSCALL_TYPES): Likewise.
3957 (LOAD_ARGS_TYPES_[1-6]): Likewise.
3958 (LOAD_REGS_TYPES_[1-6]): Likewise.
3959 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
3960 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
3961
3962 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3963
3964 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
3965 copysignl for GLIBC_2_0.
3966 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
3967 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
3968 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
3969 logbl for GLIBC_2_0.
3970 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3971 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3972
3973 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
3974
3975 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
3976 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3977
3978 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
3979 Use "neg %eax".
3980
3981 * time/mktime.c: Update copyright years.
3982
3983 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
3984
3985 mktime: merge comment-quoting-style change from gnulib
3986 * time/mktime.c: Quote 'like this' in comments.
3987 The GNU coding standards suggest that we no longer quote `like this',
3988 as "`" and "'" are typically rendered asymmetrically nowadays.
3989 The typical gnulib style is to quote 'like this' when quoting
3990 code, and "like this" when quoting English.
3991
3992 * time/mktime.c (compile-command): Add "-I.".
3993
3994 mktime: merge mktime-internal.h change from gnulib
3995 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
3996
3997 mktime: merge time_r change from gnulib
3998 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
3999
4000 mktime: merge DEBUG change from gnulib
4001 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
4002 case system <time.h> has a #define.
4003
4004 mktime: merge <sys/types.h> change from gnulib
4005 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
4006 since <time.t> is now guaranteed to define time_t.
4007
4008 mktime: merge HAVE_CONFIG_H change from gnulib
4009 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
4010
4011 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
4012
4013 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4014 Use "neg %eax".
4015
4016 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
4017 __rlim_t cast.
4018 (struct rusage): Use anonymous union to pad each field to
4019 __syscall_slong_t.
4020
4021 2012-05-21 David S. Miller <davem@davemloft.net>
4022
4023 * Makefules (o-iterator): Remove .s cases.
4024 (compile-command.s): Delete.
4025 (COMPILE.s): Delete.
4026 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
4027
4028 2012-05-21 Joseph Myers <joseph@codesourcery.com>
4029
4030 * configure.in (libc_cv_predef_stack_protector): Only consider
4031 "foobar" and "__stack_chk_fail" lines in libc_undefs.
4032 * configure: Regenerated.
4033
4034 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4035
4036 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
4037 New macro. Use R*LP on int and pointer.
4038 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
4039 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
4040 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
4041 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
4042
4043 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
4044 [__WORDSIZE_TIME64_COMPAT32] instead of
4045 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
4046 (struct utmp): Likewise.
4047 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
4048 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
4049 Renamed to ...
4050 (__WORDSIZE_TIME64_COMPAT32): This.
4051 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4052 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4053 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4054 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4055 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
4056 (__WORDSIZE_TIME64_COMPAT32): New macro.
4057
4058 2012-05-21 Andreas Jaeger <aj@suse.de>
4059
4060 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
4061 only if [SHARED]. Add prototype for __wcschr_ia32.
4062
4063 2012-05-21 Roland McGrath <roland@hack.frob.com>
4064
4065 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
4066 of %rbp unmolested in the jmp_buf while mangling the low bits.
4067 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
4068 unmolested high bits of %rbp while demangling the low bits.
4069 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
4070
4071 2012-05-21 Andreas Jaeger <aj@suse.de>
4072
4073 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
4074 * sunrpc/svc_simple.c: Use it for registerrpc.
4075 * sunrpc/xcrypt.c: Use it for passwd2des.
4076
4077 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
4078
4079 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4080
4081 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
4082 Don't define if [__SYSCALL_WORDSIZE != 32].
4083 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
4084 New macro.
4085
4086 2012-05-21 Bruno Haible <bruno@clisp.org>
4087 Andreas Jaeger <aj@suse.de>
4088
4089 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
4090 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
4091 inptr and inend for must_buffer_ch.
4092 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
4093 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
4094 * stdio-common/Makefile (tests): Remove bug15.
4095 (bug15-ENV): Remove macro.
4096 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
4097 anymore.
4098
4099 2012-05-19 Andreas Jaeger <aj@suse.de>
4100 Roland McGrath <roland@hack.frob.com>
4101
4102 * manual/contrib.texi: Completely rewritten. It contains now an
4103 alphabetical list of contributors and their contributions.
4104
4105 2012-05-21 Richard Henderson <rth@twiddle.net>
4106
4107 * misc/getauxval.c (__getauxval): Use unsigned long int.
4108 * misc/sys/auxv.h: Include <sys/cdefs.h>.
4109 (getauxval): Use unsigned long int.
4110
4111 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
4112
4113 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
4114
4115 2012-05-21 Roland McGrath <roland@hack.frob.com>
4116
4117 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
4118 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
4119 __alignof__ (long double).
4120
4121 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4122
4123 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4124
4125 2012-05-20 Richard Henderson <rth@twiddle.net>
4126
4127 * misc/getauxval.c: New file.
4128 * misc/sys/auxv.h: New file.
4129 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
4130 (routines): Add getauxval.
4131 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
4132 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
4133 * elf/dl-sysdep.c (_dl_auxv): Remove.
4134 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
4135 * elf/dl-support.c (_dl_auxv): New variable.
4136 (_dl_aux_init): Initialize it.
4137 * manual/startup.texi (Auxiliary Vector): New node.
4138 * sysdeps/generic/bits/hwcap.h: New file.
4139 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
4140 * sysdeps/powerpc/sysdep.h: ... here. Include it.
4141 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
4142 * sysdeps/sparc/sysdep.h: ... here. Include it.
4143 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
4144 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
4145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4146 Update.
4147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
4148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
4149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
4150 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
4151 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4152 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
4153 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
4154 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
4155
4156 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4157
4158 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4159
4160 2012-05-19 David S. Miller <davem@davemloft.net>
4161
4162 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4163
4164 2012-05-19 Joseph Myers <joseph@codesourcery.com>
4165
4166 [BZ #14123]
4167 * math/s_ccosh.c: Include <float.h>
4168 (__ccosh): Avoid internal overflow calculating sinh and cosh
4169 values before multiplying by sin and cos values.
4170 * math/s_ccoshf.c: Likewise.
4171 * math/s_ccoshl.c: Likewise.
4172 * math/s_csin.c: Likewise.
4173 * math/s_csinf.c: Likewise.
4174 * math/s_csinl.c: Likewise.
4175 * math/s_csinh.c: Likewise.
4176 * math/s_csinhf.c: Likewise.
4177 * math/s_csinhl.c: Likewise.
4178 * math/libm-test.inc (ccos_test): Add more tests.
4179 (ccosh_test): Likewise.
4180 (csin_test): Likewise.
4181 (csinh_test): Likewise.
4182 * sysdeps/i386/fpu/libm-test-ulps: Update.
4183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4184
4185 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
4186
4187 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
4188 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
4189
4190 * sysdeps/x86_64/x32/_itoa.h: Add comment.
4191
4192 2012-05-19 Joseph Myers <joseph@codesourcery.com>
4193
4194 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
4195 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
4196 * sysdeps/powerpc/soft-fp/Versions: Likewise.
4197 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
4198 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
4199 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
4200 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
4201 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
4202 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
4203 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
4204 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
4205 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
4206 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
4207 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
4208 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
4209 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
4210 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
4211 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
4212 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
4213 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
4214 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
4215 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
4216 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
4217 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
4218 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
4219 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
4220 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
4221 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
4222 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
4223 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
4224 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
4225
4226 2012-05-18 Andreas Jaeger <aj@suse.de>
4227
4228 * csu/.gitignore: Delete.
4229
4230 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4231
4232 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
4233 (timex): Use __syscall_slong_t.
4234
4235 2012-05-18 Andreas Jaeger <aj@suse.de>
4236 Carlos O'Donell <carlos_odonell@mentor.com>
4237
4238 * manual/install.texi (Configuring and compiling): Update
4239 description about files modified in the source directory.
4240 * INSTALL: Regenerated.
4241
4242 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4243
4244 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
4245 value. Use "or" to set return value to -1.
4246 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
4247 negate return value.
4248
4249 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4250
4251 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
4252 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
4253 failure if the compiler has Graphite support disabled.
4254 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
4255 Likewise.
4256 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
4257 CFLAGS-memmove.c): Likewise.
4258 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
4259 Likewise.
4260
4261 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
4262
4263 * sysdeps/x86_64/x32/_itoa.h: New file.
4264
4265 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
4266 getdents system call only if kernel and user dirents have the
4267 same d_ino and d_off.
4268
4269 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
4270 LLONG_MAX != LONG_MAX.
4271 (_itoa_word): Use _ITOA_WORD_TYPE on value.
4272 (_fitoa_word): Likewise.
4273
4274 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
4275 years.
4276 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
4277 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
4278 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
4279
4280 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
4281 include <bits/wordsize.h>. Check __x86_64__ instead of
4282 __WORDSIZE.
4283 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
4284 if __x86_64__ is defined. Use anonymous union on fpstate.
4285
4286 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
4287 anonymous union.
4288
4289 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
4290
4291 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4292 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
4293 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
4294 Refer to _rtld_local_ro instead of _rtld_global_ro.
4295 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
4296 Likewise.
4297 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
4298 Likewise.
4299 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
4300 Likewise.
4301 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
4302 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
4303 of _rtld_global, and rtld_progname instead of _dl_argv[0].
4304
4305 * sysdeps/powerpc/powerpc32/dl-machine.c
4306 (__elf_machine_runtime_setup) [PROF]: Don't reference
4307 _dl_prof_resolve.
4308
4309 2012-05-18 Andreas Jaeger <aj@suse.de>
4310
4311 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
4312 function only available for GCCs before 3.4 since GCC 3.4
4313 introduced a builtin.
4314 (lrint): Likewise.
4315 (llrintf): Likewise.
4316 (llrint): Likewise.
4317 (fmaxf): Likewise.
4318 (fmax): Likewise.
4319 (fminf): Likewise.
4320 (fmin): Likewise.
4321 (rint): Likewise.
4322 (rintf): Likewise.
4323 (nearbyint): Likewise.
4324 (nearbyintf): Likewise.
4325 (ceil): Likewise.
4326 (ceilf): Likewise.
4327 (floor): Likewise.
4328 (floorf): Likewise.
4329
4330 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4331
4332 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
4333 on both fields and cast pointer to __syscall_ulong_t.
4334
4335 * bits/types.h (__fsword_t): New type.
4336 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
4337 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
4338 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4339 (__FSWORD_T_TYPE): Likewise.
4340 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4341 (__FSWORD_T_TYPE): Likewise.
4342 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4343 (__FSWORD_T_TYPE): Likewise.
4344 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
4345 (__FSWORD_T_TYPE): Likewise.
4346 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
4347 __SWORD_TYPE with __fsword_t.
4348 (statfs64): Likewise.
4349
4350 2012-05-17 David S. Miller <davem@davemloft.net>
4351
4352 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
4353
4354 2012-05-17 Andreas Jaeger <aj@suse.de>
4355
4356 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
4357 warning.
4358
4359 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4360
4361 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
4362
4363 2012-05-17 Andreas Jaeger <aj@suse.de>
4364
4365 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
4366 when it is used.
4367
4368 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4369
4370 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
4371
4372 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
4373
4374 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
4375 * sysdeps/x86_64/tst-mallocalign1.c: New file.
4376
4377 2012-05-17 Andreas Jaeger <aj@suse.de>
4378 Carlos O'Donell <carlos_odonell@mentor.com>
4379
4380 [BZ #14059]
4381 * sysdeps/x86_64/multiarch/init-arch.h
4382 (bit_YMM_Usable): Rename to...
4383 (bit_AVX_Usable): ... this.
4384 (bit_FMA4_Usable): New macro.
4385 (bit_XMM_state): New macro.
4386 (bit_YMM_state): New macro.
4387 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
4388 [__ASSEMBLER__] (index_AVX_Usable): ... this.
4389 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
4390 (CPUID_OSXSAVE): New macro.
4391 (CPUID_AVX): New macro.
4392 (CPUID_FMA4): New macro.
4393 (index_YMM_Usable): Rename to...
4394 (index_AVX_Usable): ... this.
4395 (HAS_AVX): Use HAS_ARCH_FEATURE.
4396 (HAS_FMA4): Likewise.
4397 (HAS_YMM_USABLE): Remove.
4398 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4399 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
4400 are present.
4401 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
4402 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
4403 * sysdeps/x86_64/multiarch/Makefile: Likewise.
4404 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
4405 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
4406
4407 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
4408
4409 * math/libm-test.c: Support platforms without multiple rounding modes.
4410 * math/bug-nextafter.c: Support platforms without FP exceptions.
4411 * math/bug-nexttoward.c: Likewise.
4412 * math/test-fenv.c: Likewise.
4413 * math/test-misc.c: Likewise.
4414 * stdlib/bug-getcontext.c: Likewise.
4415
4416 2012-05-17 Andreas Jaeger <aj@suse.de>
4417
4418 * manual/examples/search.c (critter_cmp): Change signature to
4419 avoid warnings.
4420 * manual/string.texi (Collation Functions): Likewise.
4421
4422 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4423
4424 * bits/types.h: Fold copyright years.
4425 * bits/typesizes.h: Likewise.
4426 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
4427 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4428 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
4429 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
4430 * time/time.h: Likewise.
4431
4432 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
4433
4434 [BZ #208]
4435 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
4436 in instead of returning them. Return void.
4437 (__libc_mallinfo): Accumulate over all arenas.
4438 (__malloc_stats): Adjust for change in int_mallinfo interface.
4439
4440 2012-05-16 Roland McGrath <roland@hack.frob.com>
4441
4442 [BZ #10375]
4443 * configure.in (NM): Add AC_CHECK_TOOL for it.
4444 (libc_extra_cflags): New substituted variable.
4445 Check for -fstack-protector being used implicitly.
4446 * configure: Regenerated.
4447 * config.make.in (config-extra-cflags): New variable,
4448 gets @libc_extra_cflags@.
4449 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
4450
4451 [BZ #10375]
4452 * configure.in: Check for _FORTIFY_SOURCE being predefined.
4453 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
4454 * configure: Regenerated.
4455 * config.make.in (CPPUNDEFS): New substituted variable.
4456 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
4457 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
4458 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
4459
4460 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4461
4462 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
4463 (mq_attr): Use __syscall_slong_t.
4464
4465 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4466
4467 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
4468 Check __x86_64__ instead of __WORDSIZE.
4469 (_STAT_VER_LINUX): Likewise.
4470 (stat): Check __x86_64__ instead of __WORDSIZE. Use
4471 __syscall_ulong_t and __syscall_slong_t.
4472 (stat64): Likewise.
4473
4474 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4475
4476 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
4477
4478 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4479
4480 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
4481
4482 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4483
4484 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
4485 __syscall_ulong_t.
4486
4487 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
4488 include <bits/wordsize.h>. Check __x86_64__ instead of
4489 __WORDSIZE.
4490 (greg_t): Use "__extension__ long long int" if __x86_64__ is
4491 defined.
4492 (mcontext_t): Replace "unsigned long" with "unsigned long long".
4493
4494 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
4495 include <bits/wordsize.h>. Check __x86_64__ instead of
4496 __WORDSIZE.
4497 (user_regs_struct): Use "__extension__ unsigned long long"
4498 instead of "unsigned long" if __x86_64__ is defined.
4499 (user): Likewise. Pad after pointer field if __ILP32__ is
4500 defined.
4501
4502 2012-05-16 Joseph Myers <joseph@codesourcery.com>
4503
4504 * configure.in (makeinfo): Require version 4.5 or later. Allow
4505 versions 5 to 9.
4506 * configure: Regenerated.
4507 * manual/install.texi (texinfo): Increase version requirement to
4508 4.5 or later.
4509 * INSTALL: Regenerated.
4510
4511 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
4512
4513 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
4514
4515 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
4516
4517 * sysdeps/x86_64/x32/ffs.c: New file.
4518
4519 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
4520 __syscall_ulong_t.
4521 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
4522 defined. Use __syscall_ulong_t.
4523 (shminfo): Use __syscall_ulong_t.
4524 (shm_info): Likewise.
4525
4526 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
4527 __syscall_ulong_t.
4528
4529 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
4530 <bits/wordsize.h>.
4531 (msgqnum_t): Use __syscall_ulong_t.
4532 (msglen_t): Likewise.
4533 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
4534 __syscall_ulong_t.
4535
4536 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
4537 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4538
4539 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
4540
4541 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
4542 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
4543
4544 * sysvipc/sys/msg.h (msgbuf): Replace long int with
4545 __syscall_slong_t.
4546
4547 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
4548 include <bits/wordsize.h>. Check __x86_64__ instead of
4549 __WORDSIZE.
4550
4551 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
4552 "unsigned long long int" if __x86_64__ is defined.
4553 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
4554
4555 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
4556 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
4557 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
4558
4559 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
4560 <stdint.h>.
4561 (GET_PC): Cast to uintptr_t first.
4562 (GET_FRAME): Likewise.
4563 (GET_STACK): Likewise.
4564
4565 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
4566 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
4567 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
4568 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
4569 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
4570 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
4571 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
4572 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
4573 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
4574 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
4575 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
4576 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
4577 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
4578 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
4579 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
4580 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
4581 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
4582 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
4583 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
4584 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
4585 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
4586 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
4587 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
4588 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
4589 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
4590 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
4591 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
4592 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
4593 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
4594
4595 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
4596
4597 * Makerules (+depfiles): Also collect depfiles from .oS in
4598 $(extra-objs).
4599 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
4600 .oS, $(libnldbl-routines)).
4601
4602 * Makerules (native-compile-mkdep-flags): Define.
4603 * sunrpc/Makefile (extra-objs): Add $(addprefix
4604 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
4605 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
4606 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
4607 calling $(make-target-directory).
4608
4609 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4610
4611 * bits/types.h (__snseconds_t): Removed.
4612 * time/time.h (struct timespec): Replace __snseconds_t with
4613 __syscall_slong_t.
4614 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
4615 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
4616 Likewise.
4617 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4618 (__SNSECONDS_T_TYPE): Likewise.
4619 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4620 (__SNSECONDS_T_TYPE): Likewise.
4621 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4622 (__SNSECONDS_T_TYPE): Likewise.
4623
4624 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4625
4626 * sysdeps/mach/hurd/bits/typesizes.h
4627 (__SYSCALL_SLONG_TYPE): New macro.
4628 (__SYSCALL_ULONG_TYPE): Likewise.
4629
4630 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4631
4632 * bits/types.h (__syscall_slong_t): New type.
4633 (__syscall_ulong_t): Likewise.
4634
4635 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
4636 (__SYSCALL_ULONG_TYPE): Likewise.
4637 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4638 (__SYSCALL_SLONG_TYPE): Likewise.
4639 (__SYSCALL_ULONG_TYPE): Likewise.
4640 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4641 (__SYSCALL_SLONG_TYPE): Likewise.
4642 (__SYSCALL_ULONG_TYPE): Likewise.
4643 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4644 (__SYSCALL_SLONG_TYPE): Likewise.
4645 (__SYSCALL_ULONG_TYPE): Likewise.
4646
4647 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4648
4649 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
4650 Add sigaltstack-offsets.sym.
4651 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
4652 <sigaltstack-offsets.h>.
4653 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
4654 longjmp_msg pointer.
4655 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
4656 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
4657 signal stack.
4658 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
4659
4660 2012-05-15 Joseph Myers <joseph@codesourcery.com>
4661
4662 * elf/stackguard-macros.h: Remove file.
4663 * sysdeps/generic/stackguard-macros.h: New file.
4664 * sysdeps/i386/stackguard-macros.h: Likewise.
4665 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
4666 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
4667 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
4668 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
4669 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
4670 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
4671 * sysdeps/x86_64/stackguard-macros.h: Likewise.
4672 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
4673 <elf/stackguard-macros.h>.
4674
4675 [BZ #14109]
4676 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
4677 __aligned__ in attribute.
4678 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
4679 (gregset_t): Likewise.
4680
4681 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4682
4683 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
4684 * sysdeps/x86_64/64/Implies-after: Here. New file.
4685 * sysdeps/x86_64/x32/Implies-after: New file.
4686
4687 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4688
4689 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
4690 and access return value for _dl_profile_fixup. Use R10_LP to
4691 load frame size.
4692
4693 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4694
4695 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
4696
4697 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4698
4699 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
4700 * sysdeps/x86_64/x32/sysdep.h: New file.
4701
4702 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4703
4704 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
4705 * sysdeps/x86_64/setjmp.S: Likewise.
4706
4707 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4708
4709 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
4710 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
4711 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
4712 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
4713 remove unused global constant.
4714
4715 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
4716
4717 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
4718 include of <not-cancel.h>.
4719
4720 2012-05-15 Roland McGrath <roland@hack.frob.com>
4721
4722 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
4723
4724 2012-05-15 Jeff Law <law@redhat.com>
4725 Andreas Jaeger <aj@suse.de>
4726
4727 [BZ #13594]
4728 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
4729 out from...
4730 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
4731 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
4732 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
4733 code changing __hst_map_handle.map.
4734
4735 2012-05-15 Roland McGrath <roland@hack.frob.com>
4736
4737 * configure.in (sysnames): Look for Implies-before and Implies-after
4738 files.
4739 * configure: Regenerated.
4740
4741 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4742
4743 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
4744 8-byte data alignment with LP_SIZE alignment.
4745
4746 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4747
4748 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4749 into R10_LP.
4750
4751 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4752
4753 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
4754
4755 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4756
4757 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
4758 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
4759 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
4760 Likewise.
4761 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
4762
4763 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4764
4765 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
4766 (stackinfo_sub_sp): Likewise.
4767
4768 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4769
4770 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
4771 RAX_LP.
4772
4773 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4774
4775 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
4776 into R*_LP.
4777
4778 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4779
4780 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
4781 sizes into R*_LP.
4782
4783 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4784
4785 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4786
4787 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4788
4789 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
4790 into R11_LP and load __x86_64_shared_cache_size_half into
4791 R8_LP.
4792
4793 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
4794
4795 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
4796 R8_LP.
4797
4798 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4799
4800 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
4801 logb for POWER7.
4802 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
4803 logbf for POWER7.
4804 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
4805 logbl for POWER7.
4806 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
4807 powerpc32/power7/fpu/s_logb.c via #include.
4808 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
4809 powerpc32/power7/fpu/s_logbf.c via #include.
4810 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
4811 powerpc32/power7/fpu/s_logbl.c via #include.
4812
4813 2012-05-15 Joseph Myers <joseph@codesourcery.com>
4814
4815 * README.libm: Remove file.
4816
4817 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4818
4819 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
4820 count for x32. Use R*_LP and omit operand-size suffix.
4821
4822 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4823
4824 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4825 * sysdeps/x86_64/64/shlib-versions: Here. New file.
4826 * sysdeps/x86_64/x32/shlib-versions: New file.
4827
4828 2012-05-14 Roland McGrath <roland@hack.frob.com>
4829
4830 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
4831 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
4832 Use _dl_fatal_printf instead.
4833
4834 2012-05-14 Joseph Myers <joseph@codesourcery.com>
4835
4836 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4837 set if not set by the user. Do not allow for being unset.
4838 * sysdeps/unix/sysv/linux/configure: Regenerated.
4839
4840 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4841
4842 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4843 the `q' suffix from lea and replace .quad with ASM_ADDR.
4844
4845 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4846
4847 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4848 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
4849 instead of $17.
4850 (PTR_DEMANGLE): Likewise.
4851
4852 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4853
4854 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4855 (LP_OP): Likewise.
4856 (ASM_ADDR): Likewise.
4857 (RAX_LP): Likewise.
4858 (RBP_LP): Likewise.
4859 (RBX_LP): Likewise.
4860 (RCX_LP): Likewise.
4861 (RDI_LP): Likewise.
4862 (RSI_LP): Likewise.
4863 (RSP_LP): Likewise.
4864 (R8_LP): Likewise.
4865 (R9_LP): Likewise.
4866 (R10_LP): Likewise.
4867 (R10_LP): Likewise.
4868 (R11_LP): Likewise.
4869 (R12_LP): Likewise.
4870 (R13_LP): Likewise.
4871 (R14_LP): Likewise.
4872 (R15_LP): Likewise.
4873
4874 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
4875
4876 * sysdeps/x86_64/x32/dl-machine.h: New file.
4877
4878 2012-05-14 Andreas Jaeger <aj@suse.de>
4879
4880 * manual/Makefile (subdir): Remove export of subdir.
4881 (all): Remove target.
4882 (.PHONY): Remove all from list.
4883 (mkinstalldirs): Remove.
4884 (.PHONY): Remove installdirs from list.
4885 ($(inst_infodir)/libc.info): Use make-target-directory.
4886 (installdirs): Remove.
4887 (subdir_%): Remove.
4888 (glibc-targets): Remove.
4889 (lib): Remove.
4890 (stubs): Remove.
4891 ($(objpfx)stubs ../po/manual.pot): Remove.
4892 ($(objpfx)stamp%): Remove.
4893 (make-target-directory): Remove.
4894 (subdir_install): Remove.
4895 (routines): Remove.
4896 (aux): Remove.
4897 (sources): Remove.
4898 (objects): Remove.
4899 (headers): Remove.
4900
4901 [BZ #13750]
4902 * manual/.gitignore: Remove, it's not needed anymore.
4903 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
4904 all files in it.
4905 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
4906 directory.
4907 (texis): Renamed to $(objpfx)texis.
4908 (texis-path): New, contains path to generated files.
4909 (chapters.%): Use texis-path for complete path, add extra argument
4910 libc-texinfo.sh.
4911 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
4912 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
4913 (summary,texi, stamp-summary): Use complete path of
4914 files. Generate files in build dir.
4915 (dir-add.texi): Build in build dir.
4916 (libm-err.texi,stamp-libm-err): Likewise.
4917 (version.texi, stamp-version): Likewise.
4918 (.%c.texi): Likewise.
4919 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
4920 (mostlyclean): Remove target.
4921 (realclean): Remove target.
4922 (generated): Add new variable with contents from mostlyclean and
4923 realclean, remove entries duplicated in common-mostlyclean, add
4924 stamp-libm-err and stamp-version.
4925 (generated-dirs): Add libc directory.
4926 ($(inst_infodir)/libc.info): Install files from build dir.
4927
4928 * manual/install.texi (Configuring and compiling): Adjust since
4929 the info files are not part of the tar ball anymore.
4930
4931 2012-05-14 Andreas Jaeger <aj@suse.de>
4932
4933 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
4934 variable.
4935
4936 2012-05-14 Joseph Myers <joseph@codesourcery.com>
4937
4938 [BZ #13717]
4939 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
4940 to 2.2.0 where earlier.
4941 * sysdeps/unix/sysv/linux/configure: Regenerated.
4942 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
4943 Remove conditional code.
4944 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
4945 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
4946 Remove conditional code.
4947 [!__NR_lchown]: Likewise.
4948 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4949 [__NR_lchown]: Likewise.
4950 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
4951 comment referencing __ASSUME_LCHOWN_SYSCALL.
4952 * sysdeps/unix/sysv/linux/i386/sigaction.c
4953 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
4954 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
4955 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
4956 Remove conditional code.
4957 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
4958 (__protocol_available): Remove #if 0 code.
4959 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
4960 conditional code.
4961 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
4962 * sysdeps/unix/sysv/linux/kernel-features.h
4963 (__ASSUME_GETCWD_SYSCALL): Don't define.
4964 (__ASSUME_REALTIME_SIGNALS): Likewise.
4965 (__ASSUME_PREAD_SYSCALL): Likewise.
4966 (__ASSUME_PWRITE_SYSCALL): Likewise.
4967 (__ASSUME_POLL_SYSCALL): Likewise.
4968 (__ASSUME_LCHOWN_SYSCALL): Likewise.
4969 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
4970 non-SPARC.
4971 (__ASSUME_SIOCGIFNAME): Don't define.
4972 (__ASSUME_MSG_NOSIGNAL): Likewise.
4973 (__ASSUME_SENDFILE): Define unconditionally.
4974 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
4975 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
4976 conditional code.
4977 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
4978 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
4979 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4980 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4981 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
4982 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
4983 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
4984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
4985 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4986 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4988 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4989 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
4991 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4992 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4994 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
4995 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
4996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
4997 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
4998 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
4999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5000 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
5001 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
5003 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5004 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5006 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5007 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5008 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
5009 Remove conditional code.
5010 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5011 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5012 Remove conditional code.
5013 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5014 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
5015 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
5016 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5017 Remove conditional code.
5018 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5019 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
5020 Remove conditional code.
5021 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5022 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
5023 Remove conditional code.
5024 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5025 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
5026 Remove conditional code.
5027 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
5028 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
5029 Remove conditional code.
5030 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5031 * sysdeps/unix/sysv/linux/sh/pwrite64.c
5032 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
5033 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
5034 * sysdeps/unix/sysv/linux/sigaction.c
5035 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5036 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5037 * sysdeps/unix/sysv/linux/sigpending.c
5038 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5039 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5040 * sysdeps/unix/sysv/linux/sigprocmask.c
5041 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5042 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5043 * sysdeps/unix/sysv/linux/sigsuspend.c
5044 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
5045 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
5046 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
5047 (__libc_missing_rt_sigs): Remove.
5048 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
5049 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
5050 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
5051 Remove conditional code.
5052 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
5053 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
5054 return 1.
5055 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
5056 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
5057 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
5058 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
5059
5060 2012-05-14 Andreas Jaeger <aj@suse.de>
5061
5062 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
5063 it's not used in glibc.
5064 (__coshm1): Likewise.
5065 (__acosh1p): Likewise.
5066 (__sgn): Likewise.
5067
5068 * manual/string.texi (Copying and Concatenation): Add missing
5069 variable in concat example.
5070 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5071
5072 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5073
5074 [BZ #14103]
5075 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
5076 __builtin_clzl with __builtin_clzll.
5077
5078 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
5079
5080 [BZ #14104]
5081 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
5082 libc_freeres_ptr.
5083
5084 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5085
5086 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
5087 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
5088 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
5089 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
5090
5091 2012-05-14 Mike Frysinger <vapier@gentoo.org>
5092
5093 * NEWS: Update ia64 info.
5094
5095 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
5096
5097 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
5098 used as bcopy.
5099
5100 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
5101
5102 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
5103 * sysdeps/unix/syscalls.list (dup3): Likewise.
5104 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
5105 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
5106
5107 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5108
5109 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
5110 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
5111
5112 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
5113
5114 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
5115 thread pointer.
5116 (TLS_IE): Use mov/add instead of movq/addq to load thread
5117 pointer.
5118 (TLS_GD_PREFIX): New.
5119 (TLS_GD): Use it.
5120
5121 2012-05-11 David S. Miller <davem@davemloft.net>
5122
5123 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
5124 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
5125 (_FPU_SETCW): Likewise.
5126
5127 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5128
5129 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
5130 is 32-byte aligned.
5131
5132 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
5133
5134 [BZ #11837]
5135 * iconvdata/gb18030.c: Update tables.
5136 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
5137 characters specially.
5138 (BODY for TO_LOOP): Add encoding of missing ranges.
5139
5140 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
5141
5142 [BZ #13673]
5143 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
5144 * sysdeps/mach/hurd/dup3.c: Likewise.
5145 * sysdeps/mach/hurd/readlinkat.c: Likewise.
5146 * sysdeps/powerpc/memmove.c:: Likewise.
5147
5148 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5149
5150 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
5151 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
5152
5153 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5154
5155 * elf/elf.h (R_X86_64_RELATIVE64): New.
5156 (R_X86_64_NUM): Updated.
5157 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
5158 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
5159 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
5160 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
5161 tst-quad1pie tst-quad2pie
5162 (modules-names): Add tst-quadmod1 tst-quadmod2.
5163 ($(objpfx)tst-quad1): New dependency.
5164 ($(objpfx)tst-quad2): Likewise.
5165 ($(objpfx)tst-quad1pie): Likewise.
5166 ($(objpfx)tst-quad2pie): Likewise.
5167 * sysdeps/x86_64/tst-quad1.c: New file.
5168 * sysdeps/x86_64/tst-quad1pie.c: New file.
5169 * sysdeps/x86_64/tst-quad2.c: Likewise.
5170 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
5171 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
5172 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
5173 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
5174 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
5175
5176 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5177
5178 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
5179 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
5180 * streams/stropts.h (t_scalar_t): Define type.
5181
5182 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
5183 (_PATH_PRESERVE): Set to "/var/lib".
5184 (_PATH_RWHODIR): Set to "/var/spool/rwho".
5185
5186 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
5187 instead of int.
5188
5189 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
5190 if __dir_mkfile succeeded.
5191
5192 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
5193 checking for _hurd_dtablesize. Unlock it right after having
5194 finished _hurd_dtable allocation.
5195
5196 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5197
5198 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
5199 * sysdeps/mach/hurd/configure: Regenerated.
5200 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
5201 special-casing to...
5202 * sysdeps/gnu/configure.in: ... this new file.
5203 * sysdeps/unix/sysv/linux/configure: Regenerated.
5204 * sysdeps/gnu/configure: New generated file.
5205
5206 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
5207 for Linux: use nsec instead of usec, as well as:
5208 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
5209 members of type struct timespec.
5210 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
5211 New macros.
5212 (struct stat64): Likewise.
5213 (_STATBUF_ST_NSEC): New macro.
5214 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
5215
5216 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5217 __strtoul_internal rather than strtoul.
5218
5219 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5220
5221 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
5222 and reject them.
5223
5224 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5225
5226 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
5227 which preserves existing values.
5228 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
5229
5230 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5231
5232 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
5233 TIMEOUT values. Return EINVAL for NFDS values either negative or
5234 greater than FD_SETSIZE.
5235
5236 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5237
5238 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
5239 allocated, call __vm_protect to finish enabling the existing space, and
5240 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
5241 allocate the remainder.
5242
5243 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5244
5245 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
5246 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
5247
5248 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5249
5250 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
5251 sysdeps/mach/hurd/readlink.c.
5252
5253 * posix/tst-sysconf.c (posix_options): Only use
5254 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
5255 _POSIX_SYNCHRONIZED_IO when they are defined
5256 * sysdeps/mach/hurd/bits/posix_opt.h:
5257 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
5258 (_XOPEN_REALTIME): Undefine macro.
5259 (_XOPEN_REALTIME_THREADS): Undefine macro.
5260 (_XOPEN_SHM): Undefine macro.
5261 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
5262 macro to -1.
5263 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
5264 macro to -1.
5265 (_POSIX_ASYNC_IO): Undefine macro.
5266 (_POSIX_PRIORITIZED_IO): Undefine macro.
5267 (_POSIX_SPIN_LOCKS): Define macro to -1.
5268
5269 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
5270 SA_NODEFER, SA_RESETHAND.
5271 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
5272 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
5273 F_DUPFD_CLOEXEC.
5274
5275 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5276
5277 * elf/Makefile (pldd-modules): Define unconditionally.
5278
5279 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5280
5281 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
5282
5283 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5284
5285 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
5286 Return ENOENT when name is empty.
5287 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
5288
5289 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5290
5291 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
5292
5293 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
5294
5295 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5296
5297 Fix mlock in all cases except non-readable pages.
5298 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
5299 instead of VM_PROT_ALL as parameter to __vm_wire function.
5300
5301 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
5302 (__mkdir): When path is `/', just fail with EEXIST.
5303 * sysdeps/mach/hurd/mkdirat.c: Likewise.
5304
5305 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5306
5307 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
5308 <sys/uio.h> (for writev).
5309 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
5310 and <sys/param.h> (for MIN).
5311
5312 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
5313
5314 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
5315 REQUESTED_TIME. Properly set the remaining time and return EINTR
5316 if interrupted.
5317
5318 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5319
5320 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
5321 Depend on against $(link-rpcuserlibs).
5322
5323 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5324
5325 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
5326 (__libc_stack_end): Do not use attribute_relro.
5327 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
5328 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5329 to libthread-provided value.
5330 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
5331 attribute_relro.
5332
5333 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5334
5335 [BZ #3748]
5336 * bits/libc-lock.h (__libc_once_get): New macro.
5337 * sysdeps/mach/bits/libc-lock.h: Likewise.
5338 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
5339 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
5340 instead of using implementation details.
5341
5342 * libio/fileops.c: Unconditionally include <kernel-features.h>.
5343 * libio/freopen.c: Likewise.
5344 * libio/freopen64.c: Likewise.
5345 * misc/syslog.c: Likewise.
5346 * nscd/connections.c: Likewise.
5347 * nscd/netgroupcache.c: Likewise.
5348 * sysdeps/posix/getcwd.c: Likewise.
5349
5350 2012-05-10 Roland McGrath <roland@hack.frob.com>
5351
5352 * math/w_ilogbf.c: Add #include <limits.h>.
5353
5354 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5355
5356 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
5357 path instead of returning without unlocking.
5358
5359 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
5360 immediate-write ioctls.
5361 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
5362
5363 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5364
5365 * sysdeps/mach/hurd/i386/init-first.c (init): Use
5366 __builtin_frame_address instead of making assumptions about the
5367 location of the return address relative to DATA. Force early load of
5368 the return address.
5369 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
5370 __builtin_frame_address.
5371
5372 dup3 for GNU Hurd.
5373 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
5374 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
5375 implement dup3 and do some further code clean-ups.
5376 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
5377 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
5378
5379 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5380
5381 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
5382
5383 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
5384 HURD_CRITICAL_END around holding _hurd_dtable_lock.
5385 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
5386 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
5387 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
5388 d->port.lock.
5389
5390 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
5391 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
5392 when handler == SIG_ERR, not when handler != SIG_ERR.
5393
5394 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5395
5396 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
5397 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
5398 definitions.
5399
5400 accept4 for GNU Hurd.
5401 * include/sys/socket.h (__libc_accept4): New prototype.
5402 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
5403 to implement __libc_accept4.
5404 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
5405 __libc_accept4.
5406 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
5407
5408 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
5409 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
5410 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
5411 signal-defines.sym.
5412
5413 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5414
5415 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
5416
5417 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
5418
5419 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
5420 assertion on O_CLOEXEC flag.
5421 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
5422 * hurd/intern-fd.c: Likewise.
5423 * hurd/port2fd.c: Likewise.
5424
5425 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5426
5427 [BZ #3906]
5428 * bits/in.h (IPV6_PKTINFO): Define new macro.
5429 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
5430
5431 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5432
5433 [BZ #13954]
5434 [BZ #13955]
5435 [BZ #13956]
5436 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
5437 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5438 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
5439 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
5440 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5441 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
5442 * math/libm-test.inc (logb_test) : Additional logb tests.
5443
5444 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
5445 Andreas Jaeger <aj@suse.de>
5446
5447 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
5448 * configure: Regenerated.
5449 * config.h.in (LINK_OBSOLETE_RPC): New macro.
5450 * config.make.in (link-obsolete-rpc): New substituted variable.
5451 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
5452 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
5453 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5454 (shared-only-routines): Don't set it under [link-obsolete-rpc],
5455 so that libc.a contains the symbols.
5456 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
5457 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
5458 * sunrpc/auth_none.c: Likewise.
5459 * sunrpc/auth_unix.c: Likewise.
5460 * sunrpc/authdes_prot.c: Likewise.
5461 * sunrpc/authuxprot.c: Likewise.
5462 * sunrpc/clnt_gen.c: Likewise.
5463 * sunrpc/clnt_perr.c: Likewise.
5464 * sunrpc/clnt_raw.c: Likewise.
5465 * sunrpc/clnt_simp.c: Likewise.
5466 * sunrpc/clnt_tcp.c: Likewise.
5467 * sunrpc/clnt_udp.c: Likewise.
5468 * sunrpc/clnt_unix.c: Likewise.
5469 * sunrpc/des_crypt.c: Likewise.
5470 * sunrpc/des_soft.c: Likewise.
5471 * sunrpc/get_myaddr.c: Likewise.
5472 * sunrpc/key_call.c: Likewise.
5473 * sunrpc/key_prot.c: Likewise.
5474 * sunrpc/netname.c: Likewise.
5475 * sunrpc/pm_getmaps.c: Likewise.
5476 * sunrpc/pm_getport.c: Likewise.
5477 * sunrpc/pmap_clnt.c: Likewise.
5478 * sunrpc/pmap_prot.c: Likewise.
5479 * sunrpc/pmap_prot2.c: Likewise.
5480 * sunrpc/pmap_rmt.c: Likewise.
5481 * sunrpc/publickey.c: Likewise.
5482 * sunrpc/rpc_cmsg.c: Likewise.
5483 * sunrpc/rpc_common.c: Likewise.
5484 * sunrpc/rpc_dtable.c: Likewise.
5485 * sunrpc/rpc_prot.c: Likewise.
5486 * sunrpc/rpc_thread.c: Likewise.
5487 * sunrpc/rtime.c: Likewise.
5488 * sunrpc/svc.c: Likewise.
5489 * sunrpc/svc_auth.c: Likewise.
5490 * sunrpc/svc_raw.c: Likewise.
5491 * sunrpc/svc_run.c: Likewise.
5492 * sunrpc/svc_tcp.c: Likewise.
5493 * sunrpc/svc_udp.c: Likewise.
5494 * sunrpc/svc_unix.c: Likewise.
5495 * sunrpc/svcauth_des.c: Likewise.
5496 * sunrpc/xcrypt.c: Likewise.
5497 * sunrpc/xdr.c: Likewise.
5498 * sunrpc/xdr_array.c: Likewise.
5499 * sunrpc/xdr_float.c: Likewise.
5500 * sunrpc/xdr_intXX_t.c: Likewise.
5501 * sunrpc/xdr_mem.c: Likewise.
5502 * sunrpc/xdr_rec.c: Likewise.
5503 * sunrpc/xdr_ref.c: Likewise.
5504 * sunrpc/xdr_sizeof.c: Likewise.
5505 * sunrpc/xdr_stdio.c: Likewise.
5506
5507 2012-05-10 Roland McGrath <roland@hack.frob.com>
5508
5509 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
5510 change. Update copyright years.
5511
5512 2012-05-10 Joseph Myers <joseph@codesourcery.com>
5513
5514 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
5515
5516 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
5517 Joseph Myers <joseph@codesourcery.com>
5518 Paul Pluzhnikov <ppluzhnikov@google.com>
5519
5520 [BZ #14012]
5521 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
5522 requiring rpcgen.
5523 [cross-compiling] (extra-libs): Likewise.
5524 [cross-compiling] (extra-libs-others): Likewise.
5525 [cross-compiling] (librpcsvc-routines): Likewise.
5526 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
5527 [cross-compiling] (omit-deps): Likewise.
5528 (sunrpc-CPPFLAGS): New variable.
5529 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
5530 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
5531 (cross-rpcgen-objs): New variable.
5532 (extra-objs): Append $(cross-rpcgen-objs).
5533 ($(cross-rpcgen-objs)): New rule.
5534 ($(objpfx)cross-rpcgen): Likewise.
5535 (rpcgen-cmd): Define to use $(built-program-file). Expand
5536 comment.
5537 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
5538 ($(objpfx)x%.stmp): Likewise.
5539 * sunrpc/proto.h [IS_IN_build] (_): Define.
5540 [IS_IN_build] (_libc_intl_domainname): Likewise.
5541
5542 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
5543
5544 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
5545 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
5546 and R_X86_64_TPOFF64.
5547
5548 2012-05-10 Joseph Myers <joseph@codesourcery.com>
5549
5550 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
5551 sysdeps/unix/sysv/syscalls.list.
5552 (stime): Likewise.
5553 (utime): Likewise.
5554 * sysdeps/unix/sysv/syscalls.list: Remove file.
5555
5556 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
5557
5558 [BZ #3440]
5559 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
5560 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
5561 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
5562 (__LC_IDENTIFICATION): Make these macros useful in #if
5563 expressions, as required by C99.
5564
5565 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
5566
5567 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
5568 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
5569 after this.
5570
5571 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
5572
5573 * stdlib/longlong.h: Updated from GCC.
5574
5575 2012-05-09 Andreas Jaeger <aj@suse.de>
5576
5577 * nscd/nscd.c (run_modes): Make named enum, reorder so that
5578 default is first entry.
5579 (run_mode): Set type.
5580 (main): Remove informal message about syslog.
5581 (options): Fix typo.
5582
5583 [BZ #14053]
5584 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
5585 to asm.
5586 (lrint): Likewise.
5587 (llrintf): Likewise.
5588 (llrint): Likewise.
5589 (rint): Likewise.
5590 (rintf): Likewise.
5591 (nearbyint): Likewise.
5592 (nearbyintf): Likewise.
5593
5594 2012-05-09 Andreas Jaeger <aj@suse.de>
5595 Pedro Alves <palves@redhat.com>
5596
5597 * nscd/nscd.c (run_mode): Use enum.
5598 (main): Cleanup coding style issue.
5599
5600 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
5601 Andreas Jaeger <aj@suse.de>
5602
5603 * nscd/nscd.c (go_background): Replaced with...
5604 (run_mode): ... this.
5605 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
5606 (options): Add -F --foreground.
5607 (main): Implement it.
5608 (parse_opt): Parse it.
5609
5610 2012-05-09 Andreas Jaeger <aj@suse.de>
5611
5612 [BZ #14083]
5613 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
5614 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
5615 -Wconversion warning.
5616 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
5617 Likewise.
5618
5619 2012-05-09 Joseph Myers <joseph@codesourcery.com>
5620
5621 * conform/data/locale.h-data (NULL): Use macro-constant. Require
5622 == 0.
5623 (LC_ALL): Use macro-int-constant.
5624 (LC_COLLATE): Likewise.
5625 (LC_CTYPE): Likewise.
5626 (LC_MESSAGES): Likewise.
5627 (LC_MONETARY): Likewise.
5628 (LC_NUMERIC): Likewise.
5629 (LC_TIME): Likewise.
5630 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
5631 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5632 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5633 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
5634 Specify type.
5635 [C99-based standards] (float_t): Expect type.
5636 [C99-based standards] (double_t): Expect type.
5637 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
5638 type.
5639 [C99-based standards] (HUGE_VALL): Likewise.
5640 [C99-based standards] (INFINITY): Likewise.
5641 [C99-based standards] (NAN): Likewise.
5642 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
5643 [C99-based standards] (FP_NAN): Likewise.
5644 [C99-based standards] (FP_NORMAL): Likewise.
5645 [C99-based standards] (FP_SUBNORMAL): Likewise.
5646 [C99-based standards] (FP_ZERO): Likewise.
5647 [C99-based standards] (FP_FAST_FMA): Use
5648 optional-macro-int-constant. Specify type. Require == 1.
5649 [C99-based standards] (FP_FAST_FMAF): Likewise.
5650 [C99-based standards] (FP_FAST_FMAL): Likewise.
5651 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
5652 [C99-based standards] (FP_ILOGBNAN): Likewise.
5653 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
5654 Specify type.
5655 [C99-based standards] (MATH_ERREXCEPT): Likewise.
5656 [C99-based standards] (math_errhandling): Specify type.
5657 [ISO99 || ISO11] (signgam): Do not allow.
5658 [non-C99-based standards] (copysignf): Do not allow.
5659 [non-C99-based standards] (exp2f): Likewise.
5660 [non-C99-based standards] (log2f): Likewise.
5661 [non-C99-based standards] (modff): Allow.
5662 [non-C99-based standards] (erff): Do not allow.
5663 [non-C99-based standards] (erfcf): Likewise.
5664 [non-C99-based standards] (gammaf): Likewise.
5665 [non-C99-based standards] (hypotf): Likewise.
5666 [non-C99-based standards] (j0f): Likewise.
5667 [non-C99-based standards] (j1f): Likewise.
5668 [non-C99-based standards] (jnf): Likewise.
5669 [non-C99-based standards] (lgammaf): Likewise.
5670 [non-C99-based standards] (tgammaf): Likewise.
5671 [non-C99-based standards] (y0f): Likewise.
5672 [non-C99-based standards] (y1f): Likewise.
5673 [non-C99-based standards] (ynf): Likewise.
5674 [non-C99-based standards] (isnanf): Likewise.
5675 [non-C99-based standards] (acoshf): Likewise.
5676 [non-C99-based standards] (asinhf): Likewise.
5677 [non-C99-based standards] (atanhf): Likewise.
5678 [non-C99-based standards] (cbrtf): Likewise.
5679 [non-C99-based standards] (expm1f): Likewise.
5680 [non-C99-based standards] (ilogbf): Likewise.
5681 [non-C99-based standards] (log1pf): Likewise.
5682 [non-C99-based standards] (logbf): Likewise.
5683 [non-C99-based standards] (nextafterf): Likewise.
5684 [non-C99-based standards] (remainderf): Likewise.
5685 [non-C99-based standards] (rintf): Likewise.
5686 [non-C99-based standards] (scalbf): Likewise.
5687 [non-C99-based standards] (copysignl): Likewise.
5688 [non-C99-based standards] (exp2l): Likewise.
5689 [non-C99-based standards] (log2l): Likewise.
5690 [non-C99-based standards] (modfl): Allow.
5691 [non-C99-based standards] (erfl): Do not allow.
5692 [non-C99-based standards] (erfcl): Likewise.
5693 [non-C99-based standards] (gammal): Likewise.
5694 [non-C99-based standards] (hypotl): Likewise.
5695 [non-C99-based standards] (j0l): Likewise.
5696 [non-C99-based standards] (j1l): Likewise.
5697 [non-C99-based standards] (jnl): Likewise.
5698 [non-C99-based standards] (lgammal): Likewise.
5699 [non-C99-based standards] (tgammal): Likewise.
5700 [non-C99-based standards] (y0l): Likewise.
5701 [non-C99-based standards] (y1l): Likewise.
5702 [non-C99-based standards] (ynl): Likewise.
5703 [non-C99-based standards] (isnanl): Likewise.
5704 [non-C99-based standards] (acoshl): Likewise.
5705 [non-C99-based standards] (asinhl): Likewise.
5706 [non-C99-based standards] (atanhl): Likewise.
5707 [non-C99-based standards] (cbrtl): Likewise.
5708 [non-C99-based standards] (expm1l): Likewise.
5709 [non-C99-based standards] (ilogbl): Likewise.
5710 [non-C99-based standards] (log1pl): Likewise.
5711 [non-C99-based standards] (logbl): Likewise.
5712 [non-C99-based standards] (nextafterl): Likewise.
5713 [non-C99-based standards] (remainderl): Likewise.
5714 [non-C99-based standards] (rintl): Likewise.
5715 [non-C99-based standards] (scalbl): Likewise.
5716 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5717 [non-C99-based standards] (FP_*): Do not allow.
5718 [C99-based standards] (FP_*): Change to
5719 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
5720 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5721 allow.
5722 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
5723 (SIG_ERR): Likewise.
5724 [X/Open-based standards] (SIG_HOLD): Likewise.
5725 (SIG_IGN): Likewise.
5726 (SIGABRT): Use macro-int-constant. Specify type. Require
5727 positive value.
5728 (SIGFPE): Likewise.
5729 (SIGILL): Likewise.
5730 (SIGINT): Likewise.
5731 (SIGSEGV): Likewise.
5732 (SIGTER): Likewise.
5733 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
5734 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
5735 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
5736 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
5737 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
5738 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
5739 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
5740 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
5741 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
5742 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
5743 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
5744 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
5745 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
5746 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
5747 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
5748 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
5749 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
5750 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
5751 [X/Open-based standards] (SIGTRAP): Likewise.
5752 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
5753 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
5754 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
5755 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
5756 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
5757 allow.
5758
5759 2012-05-08 Ian Wienand <ianw@vmware.com>
5760
5761 [BZ #14080]
5762 * time/tzset.c (__tzset_parse_tz): Update default rules for
5763 daylight time changes in the Energy Policy Act of 2005.
5764
5765 2012-05-09 Andreas Jaeger <aj@suse.de>
5766
5767 [BZ #13983]
5768 * elf/ldconfig.c (parse_conf): Change string to make clear that
5769 ldconfig only issued a warning if ld.so.conf does not exist.
5770
5771 2012-05-08 David S. Miller <davem@davemloft.net>
5772
5773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
5774 movxtod instead of popping the value on the stack.
5775
5776 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5777
5778 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
5779
5780 * config.h.in: Add HAVE_ARM_PCS_VFP.
5781
5782 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
5783
5784 [BZ #13979]
5785 * include/features.h: Warn if user requests __FORTIFY_SOURCE
5786 checking but the checks are disabled for any reason.
5787
5788 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
5789
5790 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
5791 and ELF64_R_TYPE with ELFW(R_TYPE).
5792
5793 2012-05-08 Joseph Myers <joseph@codesourcery.com>
5794
5795 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
5796 (ulimit): Likewise.
5797
5798 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
5799 (settimeofday): Likewise.
5800
5801 2012-05-08 Mike Frysinger <vapier@gentoo.org>
5802
5803 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
5804 a struct th_u2 inside the union, and move tu_block/tu_code into
5805 a new th_u3 union of tu_block/tu_code inside of that. Move
5806 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
5807 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
5808 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
5809 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
5810 (th_stuff): Change to th_u1.tu_stuff.
5811 (th_data): Define.
5812 (th_msg): Change to th_u1.th_u2.tu_data.
5813
5814 2012-05-07 David S. Miller <davem@davemloft.net>
5815
5816 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5817
5818 [BZ #14074]
5819 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
5820 (SETUP_PIC_REG): Use it.
5821 (SETUP_PIC_REG_LEAF): Use it.
5822
5823 2012-05-07 Joseph Myers <joseph@codesourcery.com>
5824
5825 [BZ #13885]
5826 [BZ #13923]
5827 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5828 USE_AS_EXPM1L.
5829 (EXPL_FINITE): Likewise.
5830 (FLDLOG): Likewise.
5831 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5832 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5833 e_expl.S.
5834 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5835 USE_AS_EXPM1L.
5836 (EXPL_FINITE): Likewise.
5837 (FLDLOG): Likewise.
5838 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
5839 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
5840 e_expl.S.
5841 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
5842 test of -max_value argument for long double.
5843 * sysdeps/i386/fpu/libm-test-ulps: Update.
5844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5845
5846 2012-05-06 David S. Miller <davem@davemloft.net>
5847
5848 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
5849 quad soft-float symbols whose references which are compiler
5850 generated.
5851 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
5852
5853 2012-05-06 Joseph Myers <joseph@codesourcery.com>
5854
5855 [BZ #13884]
5856 [BZ #13914]
5857 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5858 USE_AS_EXP10L.
5859 (EXPL_FINITE): Likewise.
5860 (FLDLOG): Likewise.
5861 (c0): Likewise.
5862 (c1): Likewise.
5863 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5864 Adjust comments for base varying.
5865 (__expl_finite): Change alias to EXPL_FINITE.
5866 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
5867 e_expl.S.
5868 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
5869 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5870 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5871 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
5872 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
5873 USE_AS_EXP10L.
5874 (EXPL_FINITE): Likewise.
5875 (FLDLOG): Likewise.
5876 (c0): Likewise.
5877 (c1): Likewise.
5878 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
5879 Adjust comments for base varying.
5880 (__expl_finite): Change alias to EXPL_FINITE.
5881 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
5882 tests for bugs.
5883 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5884
5885 [BZ #14064]
5886 * math/libm-test.inc (check_float_internal): Correct ulp
5887 calculation for subnormal expected results.
5888
5889 2012-05-06 Andreas Jaeger <aj@suse.de>
5890
5891 * Makeconfig (+math-flags): New, set to -frounding-math.
5892 (+cflags): Add +math-flags so that all of glibc gets compiled with
5893 it.
5894
5895 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
5896
5897 2012-05-05 Joseph Myers <joseph@codesourcery.com>
5898
5899 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
5900 Disable one test.
5901
5902 [BZ #13787]
5903 [BZ #13922]
5904 [BZ #14036]
5905 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
5906 (__ieee754_expl): Allow for and saturate large arguments.
5907 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
5908 (u_threshold): Likewise.
5909 (__exp): Call __ieee754_exp before checking for overflow and
5910 underflow.
5911 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
5912 (u_threshold): Likewise.
5913 (__expf): Call __ieee754_expf before checking for overflow and
5914 underflow.
5915 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
5916 (u_threshold): Likewise.
5917 (__expl): Call __ieee754_expl before checking for overflow and
5918 underflow.
5919 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
5920 (__ieee754_expl): Allow for and saturate large arguments.
5921 * math/libm-test.inc (exp_test): Add another test. Do not allow
5922 missing overflow exception on overflow.
5923 (expm1_test): Do not allow missing overflow exception on overflow.
5924
5925 * sysdeps/i386/fpu/e_expl.c: Move to ...
5926 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
5927 rather than using inline asm.
5928 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
5929 * sysdeps/x86_64/fpu/e_expl.S: Copy from
5930 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
5931
5932 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
5933 (nice): Likewise.
5934 (poll): Likewise.
5935 (signal): Likewise.
5936 (time): Likewise.
5937 (times): Likewise.
5938
5939 2012-05-04 Joseph Myers <joseph@codesourcery.com>
5940
5941 * sysdeps/unix/syscalls.list (adjtime): Add entry from
5942 sysdeps/unix/common/syscalls.list.
5943 (fchmod): Likewise.
5944 (fchown): Likewise.
5945 (ftruncate): Likewise.
5946 (getrusage): Likewise.
5947 (gettimeofday): Likewise.
5948 (setpgid): Likewise.
5949 (setregid): Likewise.
5950 (setreuid): Likewise.
5951 (sigaction): Likewise.
5952 (truncate): Likewise.
5953 (vhangup): Likewise.
5954 * sysdeps/unix/common/syscalls.list: Remove file.
5955 * sysdeps/unix/bsd/Implies: Don't include unix/common.
5956 * sysdeps/unix/sysv/linux/Implies: Likewise.
5957
5958 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
5959
5960 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
5961 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
5962 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
5963 Moved to ...
5964 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5965 Here.
5966 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
5967 to ...
5968 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
5969 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
5970 to ...
5971 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
5972 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
5973 to ...
5974 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
5975 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
5976 to ...
5977 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
5978 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
5979 to ...
5980 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
5981 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
5982 to ...
5983 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
5984 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
5985 to ...
5986 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5987 Here.
5988 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
5989 to ...
5990 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
5991 Here.
5992 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
5993 to ...
5994 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
5995 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
5996 Moved to ...
5997 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
5998 Here.
5999 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
6000 to ...
6001 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
6002
6003 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6004
6005 * sysdeps/unix/common/bits/dirent.h: Remove file.
6006 * sysdeps/unix/common/bits/fcntl.h: Likewise.
6007
6008 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
6009 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
6010 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
6011 * sysdeps/unix/bsd/isatty.c: Likewise.
6012 * sysdeps/unix/bsd/tcdrain.c: Likewise.
6013 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
6014 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
6015
6016 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6017
6018 [BZ #13563]
6019 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
6020 long double comparison inaccuracies.
6021 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
6022 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6023
6024 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
6025
6026 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
6027 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
6028
6029 2012-05-04 Joseph Myers <joseph@codesourcery.com>
6030
6031 [BZ #14049]
6032 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
6033 nonzero digits before rounding a hex value.
6034 * stdlib/tst-strtod.c (tests): Add another test.
6035
6036 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6037
6038 * sysdeps/s390/fpu/libm-test-ulps: Update.
6039
6040 2012-05-03 Andreas Jaeger <aj@suse.de>
6041
6042 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
6043 does not get optimized out.
6044 (malloc_opt_barrier): New.
6045
6046 2012-05-03 Andreas Jaeger <aj@suse.de>
6047 Roland McGrath <roland@hack.frob.com>
6048
6049 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
6050 intermediate file deletion.
6051 (generated): Add .symlist files.
6052
6053 2012-05-03 Joseph Myers <joseph@codesourcery.com>
6054
6055 [BZ #13775]
6056 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
6057 Redirect under this condition.
6058 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6059 [__USE_GNU] (__dprintf_chk): Not under this condition.
6060 [__USE_GNU] (__vdprintf_chk): Likewise.
6061 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
6062 under this condition.
6063 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
6064 [__USE_XOPEN2K8] (dprintf): Define under this condition.
6065 [__USE_XOPEN2K8] (vdprintf): Likewise.
6066 [__USE_GNU] (__dprintf_chk): Not under this condition.
6067 [__USE_GNU] (__vdprintf_chk): Likewise.
6068 [__USE_GNU] (dprintf): Likewise.
6069 [__USE_GNU] (vdprintf): Likewise.
6070
6071 2012-05-03 Roland McGrath <roland@hack.frob.com>
6072
6073 * elf/Makefile (common-generated): Set this instead of generated for
6074 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
6075 $(all-built-dso)-derived lists.
6076
6077 2012-05-03 Andreas Jaeger <aj@suse.de>
6078
6079 * sysdeps/i386/fpu/libm-test-ulps: Update.
6080
6081 * FAQ: Removed.
6082 * FAQ.in: Likewise.
6083 * scripts/gen-FAQ.pl: Likewise.
6084 * manual/install.texi (Installation): Point to online location of
6085 FAQ.
6086 * Makefile (files-for-dist): Remove FAQ.
6087 (FAQ): Remove.
6088
6089 2012-05-02 Allan McRae <allan@archlinux.org>
6090
6091 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
6092 (LDFLAGS-reldepmod5.so): Likewise.
6093 (LDFLAGS-reldep6mod1.so): Likewise.
6094 (LDFLAGS-reldep6mod4.so): Likewise.
6095 (LDFLAGS-reldep8mod3.so): Likewise.
6096 (LDFLAGS-unload4mod1.so): Likewise.
6097 (LDFLAGS-unload4mod2.so): Likewise.
6098 (LDFLAGS-tst-initorder): Likewise.
6099 (LDFLAGS-tst-initordera2.so): Likewise.
6100 (LDFLAGS-tst-initordera3.so): Likewise.
6101 (LDFLAGS-tst-initordera4.so): Likewise.
6102 (LDFLAGS-tst-initorderb2.so): Likewise.
6103 (LDFLAGS-noload): Likewise.
6104 (LDFLAGS-next): Likewise.
6105 (LDFLAGS-order2mod1.so): Likewise.
6106 (LDFLAGS-order2mod2.so): Likewise.
6107 (LDFLAGS-tst-initorder2): Likewise.
6108 (LDFLAGS-tst-initorder2a.so): Likewise.
6109 (LDFLAGS-tst-initorder2b.so): Likewise.
6110 (LDFLAGS-tst-initorder2c.so): Likewise.
6111 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
6112
6113 2012-05-02 David S. Miller <davem@davemloft.net>
6114
6115 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6116
6117 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
6118
6119 [BZ #14055]
6120 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
6121
6122 2012-05-02 Andreas Jaeger <aj@suse.de>
6123
6124 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
6125 since we manipulate rounding mode.
6126 (CPPFLAGS-test-idouble.c): Likewise.
6127 (CPPFLAGS-test-ifloat.c): Likewise.
6128 (CFLAGS-test-ldouble.c): Likewise.
6129 (CFLAGS-test-double.c): Likewise.
6130 (CFLAGS-test-float.c): Likewise.
6131 (CFLAGS-test-misc.c): Likewise.
6132 (CFLAGS-test-test-fenv.c): Likewise.
6133
6134 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6135
6136 [BZ #2550]
6137 [BZ #2570]
6138 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
6139 comparisons to determine direction to adjust input.
6140
6141 2012-05-01 Roland McGrath <roland@hack.frob.com>
6142
6143 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
6144 output to the target.
6145
6146 * scripts/localplt.awk: New file.
6147 * elf/Makefile ($(objpfx)check-localplt): Target removed.
6148 (check-localplt-CFLAGS): Variable removed.
6149 ($(all-built-dso:=.jmprel)): New static pattern rule.
6150 (generated): Add those targets.
6151 (localplt-built-dso): New variable.
6152 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
6153
6154 * elf/check-localplt.c: File removed.
6155
6156 * scripts/check-execstack.awk: New file.
6157 * elf/Makefile ($(objpfx)check-execstack): Target removed.
6158 (check-execstack-CFLAGS): Variable removed.
6159 ($(objpfx)check-execstack.h): Target removed.
6160 ($(objpfx)execstack-default): New target.
6161 (generated): Add that instead of check-execstack.h.
6162 ($(all-built-dso:=.phdr)): New static pattern rule.
6163 (generated): Add those targets.
6164 * elf/check-execstack.c: File removed.
6165
6166 * scripts/check-textrel.awk: New file.
6167 * elf/Makefile ($(objpfx)check-textrel): Target removed.
6168 (check-textrel-CFLAGS): Variable removed.
6169 (all-built-dso): Use := to define.o
6170 ($(all-built-dso:=.dyn)): New static pattern rule.
6171 (generated): Add those targets.
6172 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
6173 * config.make.in (READELF): New substituted variable.
6174 * elf/check-textrel.c: File removed.
6175
6176 2012-05-01 Joseph Myers <joseph@codesourcery.com>
6177
6178 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
6179 allow.
6180 * conform/data/ctype.h-data [C99-based standards] (isblank):
6181 Expect function.
6182 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
6183 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
6184 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6185 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
6186 Specify type. Require positive value.
6187 (EILSEQ): Likewise.
6188 (ERANGE): Likewise.
6189 [ISO || POSIX] (EILSEQ): Do not expect.
6190 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
6191 Specify type. Require positive value.
6192 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
6193 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
6194 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
6195 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
6196 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
6197 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
6198 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
6199 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
6200 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
6201 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
6202 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
6203 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
6204 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
6205 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
6206 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
6207 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
6208 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
6209 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
6210 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
6211 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
6212 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
6213 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
6214 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
6215 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
6216 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
6217 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
6218 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
6219 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
6220 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
6221 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
6222 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
6223 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
6224 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
6225 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
6226 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
6227 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
6228 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
6229 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
6230 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
6231 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
6232 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
6233 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
6234 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
6235 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
6236 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
6237 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
6238 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
6239 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
6240 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
6241 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
6242 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
6243 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
6244 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
6245 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
6246 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
6247 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
6248 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
6249 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
6250 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
6251 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
6252 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
6253 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
6254 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
6255 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
6256 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
6257 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
6258 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
6259 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
6260 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
6261 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
6262 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
6263 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
6264 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
6265 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
6266 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
6267 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
6268 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
6269 Require >= 2.
6270 (FLT_ROUNDS): Expect as macro, not constant.
6271 (FLT_MANT_DIG): Use macro-int-constant.
6272 (DBL_MANT_DIG): Likewise.
6273 (LDBL_MANT_DIG): Likewise.
6274 (FLT_DIG): Likewise.
6275 (DBL_DIG): Likewise.
6276 (LDBL_DIG): Likewise.
6277 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
6278 (DBL_MIN_EXP): Likewise.
6279 (LDBL_MIN_EXP): Likewise.
6280 (FLT_MAX_EXP): Use macro-int-constant.
6281 (DBL_MAX_EXP): Likewise.
6282 (LDBL_MAX_EXP): Likewise.
6283 (FLT_MAX_10_EXP): Likewise.
6284 (DBL_MAX_10_EXP): Likewise.
6285 (LDBL_MAX_10_EXP): Likewise.
6286 (FLT_MAX): Use macro-constant.
6287 (DBL_MAX): Likewise.
6288 (LDBL_MAX): Likewise.
6289 (FLT_EPSILON): Use macro-constant. Give upper bound.
6290 (DBL_EPSILON): Likewise.
6291 (LDBL_EPSILON): Likewise.
6292 (FLT_MIN): Likewise.
6293 (DBL_MIN): Likewise.
6294 (LDBL_MIN): Likewise.
6295 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
6296 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
6297 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
6298 [ISO11] (FLT_HAS_SUBNORM): Likewise.
6299 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
6300 [ISO11] (DBL_DECIMAL_DIG): Likewise.
6301 [ISO11] (FLT_DECIMAL_DIG): Likewise.
6302 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
6303 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
6304 [ISO11] (FLT_TRUE_MIN): Likewise.
6305 [ISO11] (LDBL_TRUE_MIN): Likewise.
6306 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6307 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
6308 (SCHAR_MIN): Use macro-int-constant. Specify type.
6309 (SCHAR_MAX): Likewise.
6310 (UCHAR_MAX): Likewise.
6311 (CHAR_MIN): Likewise.
6312 (CHAR_MAX): Likewise.
6313 (MB_LEN_MAX): Use macro-int-constant.
6314 (SHRT_MIN): Use macro-int-constant. Specify type.
6315 (SHRT_MAX): Likewise.
6316 (USHRT_MAX): Likewise.
6317 (INT_MAX): Likewise.
6318 (INT_MIN): Use macro-int-constant. Specify type. Make upper
6319 bound negative.
6320 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
6321 bound with "U".
6322 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6323 bound with "L".
6324 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
6325 bound negative. Suffix upper bound with "L".
6326 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
6327 bound with "UL".
6328 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
6329 Specify type.
6330 [C99-based standards] (LLONG_MAX): Likewise.
6331 [C99-based standards] (ULLONG_MAX): Likewise.
6332 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
6333 == 0.
6334 [ISO11] (max_align_t): Require type.
6335 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6336
6337 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
6338 from $CFLAGS, without defining away __attribute__ calls.
6339 (checknamespace): Use $CFLAGS_namespace.
6340
6341 * conform/conformtest.pl (@keywords): Only include C99 keywords
6342 for standards based on C99 or C11.
6343
6344 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
6345 Disable tests.
6346 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
6347 UNIX98]: Likewise.
6348
6349 * conform/conformtest.pl: Handle "macro-int-constant" and test for
6350 usability of symbols in #if.
6351
6352 * conform/conformtest.pl: If macro or constant types start
6353 "promoted:", expect the symbol to be of the following type
6354 promoted by the integer promotions.
6355
6356 * conform/conformtest.pl: Parse all "constant" and "macro" lines
6357 in one place. Also handle "macro-constant".
6358
6359 * conform/conformtest.pl: Only accept expected macro values with
6360 "==". Parse all "macro" lines in one place.
6361 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
6362
6363 * conform/conformtest.pl: Handle braced types on "constant" lines
6364 instead of handling "typed-constant".
6365 * conform/data/signal.h-data: Use "constant" instead of
6366 "typed-constant".
6367
6368 * conform/conformtest.pl: Handle "optional-" at start of lines in
6369 one place rather than duplicating several cases. Handle each
6370 format of "macro" line with initial "optional-".
6371
6372 * conform/conformtest.pl: Only accept expected constant or
6373 optional-constant values with "==". Parse all "constant" lines in
6374 one place. Parse all "optional-constant" lines in one place.
6375 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
6376 * conform/data/fmtmsg.h-data: Likewise.
6377 * conform/data/netinet/in.h-data: Likewise.
6378 * conform/data/tar.h-data: Likewise.
6379 * conform/data/limits.h-data: Use "==" form on "constant" and
6380 "optional-constant" lines.
6381
6382 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
6383 Use -std=c99 for XOPEN2K.
6384 (@knownproblems): Remove.
6385 (newtoken): Don't check %isknown.
6386
6387 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
6388 Do not expect macro.
6389 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
6390 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
6391 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
6392 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
6393 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
6394 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
6395 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
6396 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
6397 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
6398 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
6399 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
6400 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
6401 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
6402 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
6403 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
6404 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
6405 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
6406 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
6407 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
6408 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
6409 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
6410 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
6411 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
6412 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
6413 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
6414 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
6415 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
6416 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
6417 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
6418 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
6419 [XPG3] (acosh): Likewise.
6420 [XPG3] (asinh): Likewise.
6421 [XPG3] (atanh): Likewise.
6422 [XPG3] (cbrt): Likewise.
6423 [XPG3] (expm1): Likewise.
6424 [XPG3] (ilogb): Likewise.
6425 [XPG3] (log1p): Likewise.
6426 [XPG3] (logb): Likewise.
6427 [XPG3] (nextafter): Likewise.
6428 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
6429 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
6430 [XPG3] (remainder): Likewise.
6431 [XPG3] (rint): Likewise.
6432 [XPG3 || XPG4 || UNIX98] (round): Likewise.
6433 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
6434 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
6435 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
6436 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
6437 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
6438 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
6439 [UNIX98 || XOPEN2K] (scalb): Expect.
6440 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
6441 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
6442 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
6443 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
6444 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
6445 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
6446 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
6447 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
6448 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
6449 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
6450 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
6451 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
6452 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
6453 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
6454 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
6455 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
6456 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
6457 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
6458 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
6459 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
6460 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
6461 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
6462 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
6463 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
6464 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
6465 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
6466 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
6467 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
6468 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
6469 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
6470 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
6471 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
6472 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
6473 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
6474 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
6475 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
6476 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
6477 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
6478 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
6479 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
6480 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
6481 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
6482 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
6483 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
6484 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
6485 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
6486 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
6487 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
6488 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
6489 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
6490 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
6491 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
6492 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
6493 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
6494 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
6495 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
6496 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
6497 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
6498 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
6499 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
6500 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
6501 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
6502 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
6503 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
6504 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
6505 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
6506 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
6507 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
6508 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
6509 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
6510 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
6511 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
6512 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
6513 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
6514 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
6515 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
6516 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
6517 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
6518 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
6519 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
6520 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
6521 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
6522 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
6523 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
6524 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
6525 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
6526 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
6527 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
6528 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
6529 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
6530 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
6531 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
6532 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
6533 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
6534 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
6535 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
6536 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
6537 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
6538 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
6539 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
6540 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
6541 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
6542 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
6543 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
6544 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
6545 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
6546 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
6547 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
6548 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
6549 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
6550 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
6551 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
6552 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
6553 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
6554 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
6555 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
6556 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
6557 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
6558 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
6559 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
6560 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
6561 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
6562 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
6563 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
6564 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
6565 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
6566 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
6567 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
6568 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
6569 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
6570 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
6571 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
6572 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
6573 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
6574 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
6575 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
6576 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
6577
6578 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
6579 _XOPEN_SOURCE_EXTENDED for XPG4.
6580
6581 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
6582
6583 * Makeconfig (localtime): Remove variable.
6584 (inst_localtime-file): Likewise.
6585
6586 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6587
6588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6589 Update.
6590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6591 Update.
6592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6593 Update.
6594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6595 Update.
6596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6597 Update.
6598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
6599 Update.
6600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6601 Update.
6602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
6603 Update.
6604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6605 Update.
6606
6607 2012-05-01 Joseph Myers <joseph@codesourcery.com>
6608
6609 [BZ #2550]
6610 [BZ #2570]
6611 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
6612 comparisons to determine direction to adjust input.
6613 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
6614 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
6615 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
6616 Likewise.
6617 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
6618 Likewise.
6619 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
6620 Likewise.
6621 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
6622 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
6623 Likewise.
6624 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
6625 Likewise.
6626 * math/libm-test.inc (nexttoward_test): Add more tests.
6627
6628 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
6629
6630 [BZ #14040]
6631 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
6632 in version GLIBC_2.1, not GLIBC_2.0.
6633 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
6634 Likewise.
6635
6636 2012-04-30 Joseph Myers <joseph@codesourcery.com>
6637
6638 [BZ #13942]
6639 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
6640 (1 - x) * (1 + x).
6641 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6642 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
6643 * math/libm-test.inc (acos_test): Add more tests.
6644 (asin_test): Likewise.
6645 * sysdeps/i386/fpu/libm-test-ulps: Update.
6646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6647
6648 [BZ #14034]
6649 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
6650 of square root.
6651 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
6652 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
6653 * math/libm-test.inc (acos_test_tonearest): New function.
6654 (acos_test_towardzero): Likewise.
6655 (acos_test_downward): Likewise.
6656 (acos_test_upward): Likewise.
6657 (asin_test_tonearest): Likewise.
6658 (asin_test_towardzero): Likewise.
6659 (asin_test_downward): Likewise.
6660 (asin_test_upward): Likewise.
6661 (main): Call the new functions.
6662 * sysdeps/i386/fpu/libm-test-ulps: Update.
6663 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6664
6665 [BZ #13884]
6666 [BZ #13924]
6667 * math/e_exp10.c: Include <float.h>.
6668 (__ieee754_exp10): Handle underflow here rather than multiplying
6669 large negative argument by M_LN10.
6670 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
6671 of __ieee754_expf.
6672 * math/e_exp10l.c: Include <float.h>.
6673 (__ieee754_exp10l): Handle underflow here rather than multiplying
6674 large negative argument by M_LN10l.
6675 * math/libm-test.inc (exp10_test): Add another test. Do not allow
6676 spurious overflow exception on underflow.
6677
6678 2012-04-29 Marek Polacek <polacek@redhat.com>
6679
6680 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
6681 (__fortify_function): New macro.
6682 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
6683 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
6684 __extern_always_inline.
6685 * libio/bits/stdio2.h: Likewise.
6686 * libio/bits/stdio.h: Likewise.
6687 * string/string.h: Likewise.
6688 * string/bits/string3.h: Likewise.
6689 * include/stdio.h: Likewise.
6690 * stdlib/bits/stdlib.h: Likewise.
6691 * stdlib/stdlib.h: Likewise.
6692 * rt/bits/mqueue2.h: Likewise.
6693 * rt/mqueue.h: Likewise.
6694 * posix/bits/unistd.h: Likewise.
6695 * posix/unistd.h: Likewise.
6696 * io/bits/poll2.h: Likewise.
6697 * io/bits/fcntl2.h: Likewise.
6698 * io/fcntl.h: Likewise.
6699 * io/sys/poll.h: Likewise.
6700 * misc/bits/syslog.h: Likewise.
6701 * misc/bits/syslog-ldbl.h: Likewise.
6702 * misc/sys/syslog.h: Likewise.
6703 * socket/bits/socket2.h: Likewise.
6704 * socket/sys/socket.h: Likewise.
6705 * debug/tst-chk1.c: Likewise.
6706 * wcsmbs/bits/wchar2.h: Likewise.
6707 * wcsmbs/bits/wchar-ldbl.h: Likewise.
6708 * wcsmbs/wchar.h: Likewise.
6709
6710 2012-04-29 Andreas Jaeger <aj@suse.de>
6711
6712 * Makerules (tests): Remove enable-check-abi protection.
6713 (check-abi-warn): Remove.
6714 (check-abi-%): Remove check-abi-warn usage.
6715
6716 * configure.in: Remove check-abi configure option.
6717 * configure: Regenerated.
6718 * config.make.in (enable-check-abi): Remove.
6719
6720 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
6721
6722 [BZ #14033]
6723 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
6724 double functions to double *_finite functions.
6725
6726 [BZ #13941]
6727 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
6728 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
6729 LDBL_MIN_EXP.
6730 * stdio-common/Makefile (tests): Add tst-sprintf3.
6731 * stdio-common/tst-sprintf3.c: New file.
6732
6733 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
6734 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
6735
6736 2012-04-28 Joseph Myers <joseph@codesourcery.com>
6737
6738 * conform/conformtest.pl: Remove duplicate typed-constant
6739 handling.
6740
6741 2012-04-28 David S. Miller <davem@davemloft.net>
6742
6743 * Makerules (%.abilist): Add vpath on sysdep_dirs.
6744 (check-abi-%): Remove AWK script prerequisite and explicit
6745 abilist directory.
6746 (check-abi): Rewrite to just diff the symlist with the abilist.
6747 (config-tls, config-abi-config): Delete, no longer used.
6748 (update-abi-%): Remove AWK script and explicit abilist directory.
6749 (update-abi): Rewrite to simply compare and conditionally copy the
6750 symlist and the sysdep abilist file. Remove update-abi-config
6751 checks.
6752 * abilist/ld.abilist: Remove.
6753 * abilist/libBrokenLocale.abilist: Remove.
6754 * abilist/libanl.abilist: Remove.
6755 * abilist/libcrypt.abilist: Remove.
6756 * abilist/libdl.abilist: Remove.
6757 * abilist/librt.abilist: Remove.
6758 * abilist/libthread_db.abilist: Remove.
6759 * abilist/libutil.abilist: Remove.
6760 * scripts/extract-abilist.awk: Remove.
6761 * scripts/merge-abilist.awk: Remove.
6762 * sysdeps/generic/libcidn.abilist: New file.
6763 * sysdeps/generic/libnss_compat.abilist: New file.
6764 * sysdeps/generic/libnss_db.abilist: New file.
6765 * sysdeps/generic/libnss_dns.abilist: New file.
6766 * sysdeps/generic/libnss_files.abilist: New file.
6767 * sysdeps/generic/libnss_hesiod.abilist: New file.
6768 * sysdeps/generic/libnss_nis.abilist: New file.
6769 * sysdeps/generic/libnss_nisplus.abilist: New file.
6770 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
6771 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
6772 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
6773 file.
6774 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
6775 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
6776 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
6777 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
6778 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
6779 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
6780 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
6781 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
6782 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
6783 file.
6784 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
6785 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
6786 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
6787 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
6788 file.
6789 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
6790 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
6791 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
6792 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
6793 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
6794 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
6795 file.
6796 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
6797 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
6798 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
6799 file.
6800 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
6801 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
6802 New file.
6803 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
6804 New file.
6805 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
6806 New file.
6807 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
6808 New file.
6809 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
6810 New file.
6811 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
6812 New file.
6813 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
6814 New file.
6815 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
6816 New file.
6817 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
6818 New file.
6819 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
6820 New file.
6821 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
6822 New file.
6823 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
6824 New file.
6825 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
6826 New file.
6827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
6828 file.
6829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6830 New file.
6831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6832 New file.
6833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
6834 file.
6835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6836 New file.
6837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6838 New file.
6839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
6840 file.
6841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6842 New file.
6843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6844 New file.
6845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6846 New file.
6847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6848 New file.
6849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6850 New file.
6851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6852 New file.
6853 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
6854 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
6855 file.
6856 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6857 New file.
6858 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
6859 file.
6860 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
6861 file.
6862 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
6863 file.
6864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
6865 file.
6866 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
6867 file.
6868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6869 New file.
6870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
6871 file.
6872 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
6873 file.
6874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6875 New file.
6876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
6877 file.
6878 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
6879 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
6880 file.
6881 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6882 New file.
6883 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
6884 file.
6885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
6886 file.
6887 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
6888 file.
6889 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
6890 file.
6891 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
6892 file.
6893 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6894 New file.
6895 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
6896 file.
6897 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
6898 file.
6899 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6900 New file.
6901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
6902 file.
6903 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
6904 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
6905 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
6906 file.
6907 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
6908 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
6909 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
6910 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
6911 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
6912 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
6913 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
6914 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
6915 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
6916 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
6917 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
6918 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
6919 file.
6920 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6921 New file.
6922 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
6923 file.
6924 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
6925 file.
6926 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
6927 file.
6928 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
6929 file.
6930 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
6931 file.
6932 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6933 New file.
6934 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6935 New file.
6936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
6937 file.
6938 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6939 New file.
6940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
6941 file.
6942 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
6943 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
6944 file.
6945 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6946 New file.
6947 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
6948 file.
6949 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
6950 file.
6951 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
6952 file.
6953 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
6954 file.
6955 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
6956 file.
6957 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6958 New file.
6959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6960 New file.
6961 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
6962 file.
6963 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6964 New file.
6965 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
6966 file.
6967
6968 2012-04-28 Joseph Myers <joseph@codesourcery.com>
6969
6970 * conform/conformtest.pl: Fix typo in handling typed-constant from
6971 allow-header.
6972
6973 2012-04-27 Joseph Myers <joseph@codesourcery.com>
6974
6975 * README: Cut down references to pre-2.6 Linux kernels and
6976 Linuxthreads. Update lists of configurations in libc and ports
6977 and sort alphabetically. Say "or newer" with Linux kernel version
6978 requirements.
6979
6980 * config.h.in [IS_IN_build]: Allow compiling without optimization.
6981
6982 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6983
6984 [BZ #887]
6985 * math/libm-test.inc (logb_test_downward): New test to expose
6986 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
6987 rounding mode.
6988
6989 2012-04-27 Joseph Myers <joseph@codesourcery.com>
6990
6991 [BZ #14027]
6992 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
6993 to be done.
6994 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
6995 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
6996
6997 2012-04-26 Joseph Myers <joseph@codesourcery.com>
6998
6999 * sysdeps/unix/i386/brk.S: Remove file.
7000 * sysdeps/unix/i386/dl-brk.S: Likewise.
7001 * sysdeps/unix/i386/pipe.S: Likewise.
7002 * sysdeps/unix/i386/sigreturn.S: Likewise.
7003 * sysdeps/unix/i386/syscall.S: Likewise.
7004 * sysdeps/unix/i386/vfork.S: Likewise.
7005 * sysdeps/unix/i386/wait.S: Likewise.
7006
7007 * sysdeps/unix/common/tcsendbrk.c: Move to ...
7008 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
7009
7010 * configure.in (arm*-none*): Do not allow without
7011 --enable-hacker-mode.
7012 (netbsd*): Remove case setting base_os.
7013 (386bsd*): Likewise.
7014 (freebsd*): Likewise.
7015 (bsdi*): Likewise.
7016 (osf*): Likewise.
7017 (sunos*): Likewise.
7018 (ultrix*): Likewise.
7019 (newsos*): Likewise.
7020 (dynix*): Likewise.
7021 (*bsd*): Likewise.
7022 (sysv*): Likewise.
7023 (isc*): Likewise.
7024 (esix*): Likewise.
7025 (sco*): Likewise.
7026 (minix*): Likewise.
7027 (irix4*): Likewise.
7028 (irix6*): Likewise.
7029 (solaris[2-9]*): Likewise.
7030 (none): Likewise.
7031 * configure: Regenerated.
7032
7033 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7034
7035 [BZ #11521]
7036 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
7037 overflow or cancellation in calculating denominator.
7038 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
7039 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
7040 down expression to avoid unexpected rounding in newer GCCs.
7041 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
7042
7043 2012-04-26 David S. Miller <davem@davemloft.net>
7044
7045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
7046 long-double compat symbols.
7047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
7051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
7053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
7054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
7055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
7058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7060
7061 2012-04-25 David S. Miller <davem@davemloft.net>
7062
7063 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
7064 HWCAP_* values only after the memory barriers have been defined.
7065 (atomic_full_barrier): Define.
7066 (atomic_read_barrier): Define.
7067 (atomic_write_barrier): Define.
7068
7069 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7070
7071 * shlib-versions: Add libgcc_s version information.
7072 * sysdeps/generic/libgcc_s.h: Remove.
7073 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
7074 libgcc_s.h.
7075 * sysdeps/gnu/unwind-resume.c: Likewise.
7076 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
7077
7078 2012-04-25 David S. Miller <davem@davemloft.net>
7079
7080 * sysdeps/unix/sparc/brk.S: Delete.
7081 * sysdeps/unix/sparc/dl-brk.S: Delete.
7082 * sysdeps/unix/sparc/pipe.S: Delete.
7083 * sysdeps/unix/sparc/sysdep.S: Delete.
7084 * sysdeps/unix/sparc/sysdep.h: Delete.
7085 * sysdeps/unix/sparc/vfork.S: Delete.
7086 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
7087 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
7088 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
7089 ret_ERRVAL, r0, r1, MOVE): Define.
7090 (JUMPTARGET): Remove.
7091 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
7092 sysdeps/unix/sparc/sysdep.h
7093 (ENTRY, END): Remove.
7094 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7095
7096 2012-04-25 Joseph Myers <joseph@codesourcery.com>
7097
7098 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
7099 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
7100 -DIS_IN_build.
7101
7102 * timezone/README: Update upstream location and email address for
7103 tzcode and tzdata.
7104 * timezone/zdump.c: Update from tzcode 2012b.
7105 * timezone/zic.c: Likewise.
7106
7107 * configure.in (libc_cv_as_needed): Remove test.
7108 * configure: Regenerated.
7109 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
7110 conditional definition.
7111 [$(have-as-needed) != yes] (no-as-needed): Likewise.
7112 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
7113 * config.make.in (have-as-needed): Remove variable.
7114
7115 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7116 Paul Pluzhnikov <ppluzhnikov@google.com>
7117
7118 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
7119 strings correctly.
7120
7121 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
7122
7123 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
7124 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
7125 * sysdeps/sh/strlen.S: Likewise.
7126
7127 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7128
7129 * sysdeps/unix/fork.S: Remove file.
7130 * sysdeps/unix/i386/fork.S: Likewise.
7131 * sysdeps/unix/sparc/fork.S: Likewise.
7132
7133 * sysdeps/unix/system.c: Remove file.
7134 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
7135
7136 * sysdeps/unix/getegid.S: Remove file.
7137 * sysdeps/unix/geteuid.S: Likewise.
7138
7139 2012-04-24 Roland McGrath <roland@hack.frob.com>
7140
7141 * scripts/check-localplt.awk: New file.
7142 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
7143 of diff.
7144 * scripts/data/localplt-generic.data: Add a comment.
7145
7146 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
7147 NODE when __dir_mkfile failed.
7148 * sysdeps/mach/hurd/symlinkat.c: Likewise.
7149 Reported by Ludovic Courtès <ludo@gnu.org>.
7150
7151 2012-04-24 Andreas Jaeger <aj@suse.de>
7152
7153 * Makerules (common-clean): Also remove gen-as-const-headers
7154 files.
7155
7156 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7157
7158 * Makerules (native-compile): Do not change working directory for
7159 build. Use $(OUTPUT_OPTION) in command.
7160 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
7161
7162 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7163
7164 [BZ #13886]
7165 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
7166 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
7167 * math/libm-test.inc (floor_test): Add more tests.
7168 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
7169
7170 2012-04-24 Joseph Myers <joseph@codesourcery.com>
7171
7172 * sysdeps/unix/getdents.c: Remove file.
7173 * sysdeps/unix/sysv/getdents.c: Likewise.
7174 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
7175
7176 * sysdeps/unix/syscalls.list (madvise): Add syscall from
7177 sysdeps/unix/mman/syscalls.list.
7178 (mmap): Likewise.
7179 (mprotect): Likewise.
7180 (msync): Likewise.
7181 (munmap): Likewise.
7182 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
7183 * sysdeps/unix/mman/syscalls.list: Remove.
7184 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
7185
7186 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
7187 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
7188 * configure: Regenerated.
7189 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
7190 $(libgcc_s_suffix).
7191 * config.make.in (libgcc_s_suffix): Remove variable.
7192
7193 2012-04-23 Joseph Myers <joseph@codesourcery.com>
7194
7195 * sysdeps/unix/sysv/gethostname.c: Move to ...
7196 * sysdeps/posix/gethostname.c: ... here.
7197
7198 * sysdeps/unix/execve.S: Remove file.
7199
7200 * sysdeps/unix/_exit.S: Remove file.
7201
7202 2012-04-23 Andreas Jaeger <aj@suse.de>
7203
7204 [BZ #13739]
7205 * manual/Makefile: Remove make dist support, there's no
7206 need for a stand-alone documentation tar ball.
7207 (TEXI2DVI): Define always, it's not in Makeconfig.
7208 (dist): Removed.
7209 (tar-it): Removed.
7210 (edition): Removed.
7211 (glibc-doc-$(edition).tar): Removed
7212 (%.Z): Removed.
7213 (%.gz): Removed.
7214 (%.uu): Removed.
7215 (ETAGS): Remove, it's in Makeconfig.
7216 (move-if-change): Remove, it's in Makeconfig.
7217
7218 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
7219
7220 [BZ #13970]
7221 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
7222 (strtod, strtof, strtold, strtol, strtoul, strtoq)
7223 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
7224 (strtod_l, strtof_l, strtold_l): Remove __wur.
7225 It is not necessarily an error to ignore strtol's return value.
7226 One can reliably look at the stored endptr to decide whether
7227 the number had valid syntax.
7228
7229 2012-04-21 Andreas Jaeger <aj@suse.de>
7230
7231 [BZ #13739]
7232 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
7233
7234 2012-04-21 Joseph Myers <joseph@codesourcery.com>
7235
7236 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
7237 * sysdeps/unix/sysv/Versions: Remove file.
7238
7239 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
7240
7241 [BZ #13927]
7242 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7243
7244 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
7245
7246 [BZ #7064]
7247 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
7248 version from __vm86.
7249
7250 2012-04-20 Joseph Myers <joseph@codesourcery.com>
7251
7252 * sysdeps/unix/common/lxstat.c: Remove file.
7253 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
7254
7255 * sysdeps/unix/sysv/Makefile: Remove file.
7256
7257 * sysdeps/unix/sysv/direct.h: Remove file.
7258
7259 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
7260 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
7261 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
7262 * sysdeps/unix/sysv/bits/signum.h: Likewise.
7263 * sysdeps/unix/sysv/bits/stat.h: Likewise.
7264 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
7265 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
7266
7267 * sysdeps/unix/sysv/setrlimit.c: Remove file.
7268
7269 * sysdeps/unix/xmknod.c: Remove file.
7270 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
7271
7272 * sysdeps/unix/sysv/settimeofday.c: Remove file.
7273
7274 * sysdeps/unix/sysv/i386/time.S: Remove file.
7275
7276 * sysdeps/unix/fxstat.c: Remove file.
7277 * sysdeps/unix/xstat.c: Likewise.
7278 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
7279
7280 * sysdeps/unix/sysv/sigaction.c: Remove file.
7281
7282 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
7283 (sysdep_headers): Remove variable.
7284 [termio.h not in sysdep_headers] (generated): Likewise.
7285 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
7286 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
7287 * sysdeps/unix/sysv/tcdrain.c: Likewise.
7288 * sysdeps/unix/sysv/tcflow.c: Likewise.
7289 * sysdeps/unix/sysv/tcflush.c: Likewise.
7290 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
7291 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
7292 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
7293 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
7294 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
7295
7296 * sysdeps/unix/siglist.c: Remove file.
7297
7298 * sysdeps/unix/getppid.S: Remove file.
7299
7300 * sysdeps/unix/mkdir.c: Remove file.
7301 * sysdeps/unix/rmdir.c: Likewise.
7302
7303 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
7304
7305 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
7306 ERR_MAX value.
7307 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
7308 errlist-compat value.
7309
7310 2012-04-18 David S. Miller <davem@davemloft.net>
7311
7312 * sysdeps/generic/memcopy.h (reg_char): Delete.
7313 * debug/strcat_chk.c: Use char, not reg_char.
7314 * debug/strcpy_chk.c: Likewise.
7315 * debug/strncat_chk.c: Likewise.
7316 * debug/strncpy_chk.c: Likewise.
7317 * string/memchr.c: Likewise.
7318 * string/memrchr.c: Likewise.
7319 * string/rawmemchr.c: Likewise.
7320 * string/strcat.c: Likewise.
7321 * string/strchr.c: Likewise.
7322 * string/strchrnul.c: Likewise.
7323 * string/strcmp.c: Likewise.
7324 * string/strcpy.c: Likewise.
7325 * string/strncat.c: Likewise.
7326 * string/strncmp.c: Likewise.
7327 * string/strncpy.c: Likewise.
7328
7329 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7330
7331 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
7332 __builtin_memcopy is called when src and dest ranges are known to not
7333 overlap.
7334
7335 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7336
7337 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
7338 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
7339 fwd_align_merge macro call.
7340 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
7341 bwd_align_merge macro call.
7342 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7343
7344 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
7345
7346 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
7347 bwd_align_merge macros.
7348 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
7349 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
7350 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
7351
7352 2012-04-18 David S. Miller <davem@davemloft.net>
7353
7354 * sysdeps/sparc/sparc64/memcopy.h: Delete.
7355
7356 2012-04-18 Andreas Jaeger <aj@suse.de>
7357
7358 [BZ# 6794]
7359 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
7360 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
7361 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7362
7363 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
7364 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
7365 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7366
7367 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
7368 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
7369 Adjust for changed ldbl-128 files.
7370
7371 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
7372 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
7373 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
7374
7375 2012-04-17 David S. Miller <davem@davemloft.net>
7376
7377 * sysdeps/sparc/sparc32/memcopy.h: Delete.
7378
7379 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
7380
7381 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
7382 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
7383 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
7384 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
7385 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7386 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
7387
7388 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7389
7390 [BZ #6794]
7391 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
7392 * math/libm-test.inc: Add ilogb errno and exception tests.
7393 * math/w_ilogb.c: New file: ilogb wrapper.
7394 * math/w_ilogbf.c: New file: ilogbf wrapper.
7395 * math/w_ilogbl.c: New file: ilogbl wrapper.
7396 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
7397 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
7398 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
7399 exception being thrown with 0.0 as argument.
7400 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
7401 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
7402 exception being thrown with 0.0 as argument.
7403 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
7404 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7405 exception being thrown with 0.0 as argument.
7406 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
7407 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
7408 exception being thrown with 0.0 as argument.
7409 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
7410 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7411 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
7412 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
7413 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
7414 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
7415 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
7416 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
7417 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
7418
7419 2012-04-17 Petr Baudis <pasky@ucw.cz>
7420
7421 * include/sys/uio.h: Change __vector to __iovec to avoid clash
7422 with altivec.
7423
7424 2012-04-16 Marek Polacek <polacek@redhat.com>
7425
7426 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
7427
7428 2012-04-16 Marek Polacek <polacek@redhat.com>
7429
7430 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
7431 operands of fdivp instruction.
7432
7433 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7434
7435 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
7436 * elf/tst-auditmod3b.c: Likewise.
7437 * elf/tst-auditmod4b.c: Likewise.
7438 * elf/tst-auditmod5b.c: Likewise.
7439 * elf/tst-auditmod6b.c: Likewise.
7440 * elf/tst-auditmod6c.c: Likewise.
7441 * elf/tst-auditmod7b.c: Likewise.
7442 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
7443 * sysdeps/x86_64/preconfigure.in: Likewise.
7444 * sysdeps/x86_64/preconfigure: Regenerated.
7445
7446 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
7447
7448 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
7449 __ILP32__.
7450
7451 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
7452
7453 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7454 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
7455
7456 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
7457
7458 [BZ #13973]
7459 * locale/iso-639.def: Fix gl language name. Spotted by
7460 Yaron Shahrabani.
7461
7462 2012-04-12 Roland McGrath <roland@hack.frob.com>
7463
7464 [BZ #2074]
7465 * libio/libio.h (__io_write_fn): Update comment.
7466
7467 2012-04-12 Petr Baudis <pasky@ucw.cz>
7468
7469 [BZ #2074]
7470 * stdio.texi (Hook Functions): The user provided writer function
7471 is not allowed to return -1.
7472
7473 2012-04-11 David S. Miller <davem@davemloft.net>
7474
7475 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7476
7477 2012-04-11 Mike Frysinger <vapier@gentoo.org>
7478
7479 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
7480 Add a leading slash to rtkaio.
7481
7482 2012-04-11 Jim Meyering <meyering@redhat.com>
7483
7484 [BZ #11959]
7485 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
7486 It is not necessarily an error to ignore fwrite's return
7487 value. One can reliably use ferror to test for errors after
7488 the fact.
7489
7490 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7491
7492 * bits/types.h (__snseconds_t): New type.
7493 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
7494
7495 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
7496 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7497 (__SNSECONDS_T_TYPE): Likewise.
7498 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7499 (__SNSECONDS_T_TYPE): Likewise.
7500 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7501 (__SNSECONDS_T_TYPE): Likewise.
7502
7503 2012-04-10 Andreas Jaeger <aj@suse.de>
7504
7505 [BZ #2636]
7506 * manual/time.texi (Processor Time): Return type of times is
7507 elapsed real time since an arbitrary point in the past.
7508 (CPU Time): Move CLK_TCK from here...
7509 (Processor Time): ...to here. Correct description.
7510 * manual/conf.texi (Constants for Sysconf): Correct description of
7511 _SC_CLK_TCK.
7512
7513 2012-04-10 David S. Miller <davem@davemloft.net>
7514
7515 [BZ #13967]
7516 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
7517 where the is a gap between DT_REL(A) and DT_JMPREL.
7518
7519 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
7520
7521 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
7522 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7523 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7524
7525 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7526
7527 * elf/dl-support.c (_dl_inhibit_cache): New variable.
7528 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
7529 (dl_main): Handle --inhibit-cache.
7530 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
7531 _dl_inhibit_cache.
7532 * elf/dl-load.c (_dl_map_object): Use it.
7533 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
7534
7535 2012-04-09 Joseph Myers <joseph@codesourcery.com>
7536
7537 [BZ #13872]
7538 * sysdeps/i386/fpu/e_powl.S (p78): New object.
7539 (__ieee754_powl): Saturate large exponents rather than testing for
7540 overflow of y*log2(x).
7541 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
7542 * math/libm-test.inc (pow_test): Do not permit spurious overflow
7543 exceptions.
7544
7545 [BZ #11521]
7546 * math/s_ctan.c: Include <float.h>.
7547 (__ctan): Avoid internal overflow or cancellation in calculating
7548 denominator.
7549 * math/s_ctanf.c: Likewise.
7550 * math/s_ctanl.c: Likewise.
7551 * math/s_ctanh.c: Likewise.
7552 * math/s_ctanhf.c: Likewise.
7553 * math/s_ctanhl.c: Likewise.
7554 * math/libm-test.inc (ctan_test): Add more tests.
7555 (ctanh_test): Likewise.
7556 * sysdeps/i386/fpu/libm-test-ulps: Update.
7557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7558
7559 2012-04-09 Andreas Jaeger <aj@suse.de>
7560
7561 [BZ #6894]
7562 * manual/filesys.texi (Directory Entries): Mention that d_namlen
7563 is an optional BSD extension.
7564
7565 [BZ #10254]
7566 * manual/stdio.texi (Opening Streams): Document additional fopen
7567 parameters.
7568
7569 2012-04-09 Roland McGrath <roland@hack.frob.com>
7570
7571 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
7572 %eax without telling the compiler.
7573
7574 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
7575
7576 [BZ # 13963]
7577 * manual/install.texi: Use sourceware.org.
7578
7579 2012-04-09 Joseph Myers <joseph@codesourcery.com>
7580
7581 [BZ #13873]
7582 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
7583 (__ieee754_pow): Generate overflow and underflow using huge*huge
7584 and tiny*tiny rather than just returning constant infinity or zero
7585 for large exponents.
7586 * math/libm-test.inc (pow_test): Require overflow exceptions for
7587 applicable cases of large exponents.
7588
7589 [BZ #706]
7590 * sysdeps/i386/fpu/e_pow.S (p10): New object.
7591 (__ieee754_pow): Use iterative multiplication algorithm only for
7592 integer exponents with absolute value below 1024. Check for odd
7593 integer exponents when using algorithm for real exponents.
7594 * math/libm-test.inc (pow_test): Add more tests.
7595 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7596
7597 2012-04-08 Joseph Myers <joseph@codesourcery.com>
7598
7599 [BZ #13705]
7600 * math/libm-test.inc (exp_test): Do not allow overflow exception
7601 on underflow test.
7602
7603 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
7604
7605 [BZ #13705]
7606 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
7607 instead of __kernel_standard_f.
7608
7609 2012-04-08 Mike Frysinger <vapier@gentoo.org>
7610
7611 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
7612 * sysdeps/x86_64/memset_chk.S: Likewise.
7613
7614 2012-04-08 Andreas Jaeger <aj@suse.de>
7615
7616 [BZ #10153]
7617 * manual/startup.texi (Environment Access): Describe return value
7618 for putenv and setenv.
7619
7620 [BZ #6895]
7621 * manual/filesys.texi (Directory Entries): Add description for
7622 DT_LNK.
7623
7624 [BZ #6890]
7625 * manual/filesys.texi (Directory Entries): Clarify that it's file
7626 system not operating system in the description of DT_UNKNOWN.
7627
7628 [BZ #6578]
7629 * manual/syslog.texi (closelog): Fix reference, it's openlog.
7630
7631 2012-04-08 Stephen Compall <s11@member.fsf.org>
7632
7633 [BZ #6649]
7634 * manual/llio.texi (Opening and Closing Files): Add cross
7635 reference to explain mode argument.
7636
7637 2012-04-07 Mike Frysinger <vapier@gentoo.org>
7638
7639 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
7640 * sysdeps/x86_64/memset_chk.S: Likewise.
7641
7642 2012-04-07 David S. Miller <davem@davemloft.net>
7643
7644 * elf/elf.h (R_SPARC_WDISP10): Define.
7645 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
7646 R_SPARC_SIZE32.
7647 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
7648 R_SPARC_SIZE64 and R_SPARC_H34.
7649
7650 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
7651
7652 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
7653 conditions and remove no longer applicable assertion.
7654
7655 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7656
7657 * bits/byteswap.h: Include <features.h>.
7658 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
7659 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
7660
7661 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
7662
7663 * bits/byteswap.h (__bswap_16): Removed.
7664 Include <bits/byteswap-16.h> to get __bswap_16.
7665 * sysdeps/i386/bits/byteswap.h: Likewise.
7666 * sysdeps/s390/bits/byteswap.h: Likewise.
7667 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7668 * bits/byteswap-16.h: New file.
7669 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7670 * sysdeps/s390/bits/byteswap-16.h: Likewise.
7671 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
7672 * string/Makefile (headers): Add bits/byteswap-16.h.
7673
7674 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
7675
7676 [BZ #13895]
7677 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
7678 extra indirection.
7679 * nss/Makefile (tests-static, tests): Add tst-nss-static.
7680 * nss/tst-nss-static.c: New.
7681
7682 2012-04-06 Robert Millan <rmh@gnu.org>
7683
7684 [BZ #6486]
7685 * manual/llio.texi (File Position Primitive): lseek
7686 refers to WHENCE when it really means OFFSET.
7687
7688 2012-04-06 Andreas Jaeger <aj@suse.de>
7689
7690 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
7691 strncmp declarations.
7692
7693 * abilist/libc.abilist: Add __poll and __ppoll.
7694
7695 2012-04-05 David S. Miller <davem@davemloft.net>
7696
7697 * scripts/check-local-headers.sh: Accept a host triplet in the
7698 path matched by the exclude regexp.
7699
7700 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
7701 definition.
7702 * sysdeps/powerpc/powerpc32/dl-machine.h
7703 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
7704 * sysdeps/s390/s390-32/dl-machine.h
7705 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7706 * sysdeps/sparc/sparc32/dl-machine.h
7707 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7708 * sysdeps/sparc/sparc64/dl-machine.h
7709 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
7710
7711 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
7712 lazy binding.
7713 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
7714 undefined symbol errors.
7715
7716 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
7717 DT_NEEDED entries.
7718
7719 2012-04-05 Michael Matz <matz@suse.de>
7720
7721 [BZ #13592]
7722 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
7723
7724 2012-04-05 Andreas Jaeger <aj@suse.de>
7725
7726 [BZ #13908]
7727 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
7728 comment.
7729
7730 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7731
7732 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
7733 which ROUND is no valid rounding mode.
7734
7735 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7736
7737 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
7738 read again.
7739 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
7740
7741 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7742
7743 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
7744 an exception using FPU order intentionally.
7745
7746 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7747
7748 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
7749 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
7750 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
7751 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
7752
7753 2012-04-05 Simon Josefsson <simon@josefsson.org>
7754
7755 [BZ #12340]
7756 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
7757 EINVAL when BUFLEN is too smal.
7758
7759 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
7760
7761 [BZ #13553]
7762 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
7763 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
7764
7765 2012-04-03 Andreas Jaeger <aj@suse.de>
7766
7767 [BZ #13938]
7768 * manual/setjmp.texi (System V contexts): Fix sentence.
7769
7770 [BZ #13926]
7771 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
7772 New macro for this case.
7773 [!__GNUC__] (__bswap_64): New inline function for this case.
7774 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7775 * bits/byteswap.h: Likewise.
7776 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
7777 ull, guard with __GLIBC_HAVE_LONG_LONG.
7778
7779 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
7780 __GLIBC_HAVE_LONG_LONG.
7781
7782 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
7783 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
7784
7785 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7786
7787 [BZ #13691]
7788 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
7789 inptr and inend, rather than using last_ch.
7790
7791 2012-04-02 David S. Miller <davem@davemloft.net>
7792
7793 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
7794 * stdio-common/printf-parse.h (read_int): Change return type to
7795 'int', return -1 on INT_MAX overflow.
7796 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7797 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
7798 overflows INT_MAX. Check for overflow of in-format-string precision
7799 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
7800 SIZE_MAX not INT_MAX for integer overflow test.
7801 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
7802 skip the construct in the format string but do not record anything.
7803 * stdio-common/bug22.c: Adjust to test both width/prevision
7804 INT_MAX overflow as well as total length INT_MAX overflow. Check
7805 explicitly for proper errno values.
7806
7807 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
7808
7809 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
7810 CHAR_MAX.
7811 * string/test-strcmp.c [! WIDE]: Likewise.
7812 * time/tst-mktime2.c: Likewise for INT_MAX.
7813 * string/test-string.h: #include <sys/param.h> for MIN.
7814
7815 * csu/init-first.c (__libc_init_first): Call __ctype_init.
7816 * sysdeps/i386/init-first.c (init): Likewise.
7817 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
7818 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
7819 * sysdeps/sh/init-first.c (init): Likewise.
7820
7821 2012-04-01 Ulrich Drepper <drepper@gmail.com>
7822
7823 * po/ru.po: Update from translation team.
7824 * po/vi.po: Likewise.
7825
7826 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
7827
7828 * resolv/nss_dns/dns-host.c: Merge copyright years.
7829
7830 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7831
7832 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7833 Optimize memcpy with prefetch if
7834 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
7835 src, dst pointers have unequal 16 byte alignments.
7836
7837 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7838
7839 [BZ #13928]
7840 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
7841 from a CNAME entry and return the minimum ttl for the query.
7842 (gaih_getanswer_slice): Likewise.
7843
7844 2012-03-30 Jeff Law <law@redhat.com>
7845
7846 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
7847 due to long keys.
7848 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7849 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7850
7851 * resolv/nss_dns/dns-host.c: Update copyright year.
7852
7853 2012-03-30 Ulrich Drepper <drepper@gmail.com>
7854
7855 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
7856 requests to save a system call. Fix check that all bytes are sent.
7857
7858 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
7859 comments for sendmmsg.
7860
7861 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7862
7863 [BZ #13691]
7864 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
7865 with only 1 character between 0x0041 and 0x01b0.
7866 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
7867 * wcsmbs/tst-mbsnrtowcs.c: New file.
7868
7869 2012-03-29 David S. Miller <davem@davemloft.net>
7870
7871 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
7872 small copies by hand.
7873
7874 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7875
7876 [BZ #13761]
7877 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
7878 _nss_compat_initgroups_dyn): Fall back to malloc/free
7879 for large group memberships.
7880
7881 2012-03-28 David S. Miller <davem@davemloft.net>
7882
7883 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
7884 that branches into memcpy.
7885 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
7886 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7887 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7888 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7889 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
7890 bits.
7891 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
7892 implementation too.
7893 * sysdeps/sparc/mempcpy.S: New file.
7894
7895 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
7896 the IFUNC routine in the libc case.
7897 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7898
7899 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
7900 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
7901 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
7902 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
7903 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
7904 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
7905 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
7906 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
7907
7908 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
7909 loop to 256 bytes instead of 64 bytes and fix test signedness.
7910
7911 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
7912 * sysdeps/sparc/sparc32/Makefile: rather than here...
7913 * sysdeps/sparc/sparc64/Makefile: and here.
7914
7915 2012-03-28 Ulrich Drepper <drepper@gmail.com>
7916
7917 * malloc/mallocbug.c: Avoid warnings about unused variables.
7918
7919 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7920
7921 [BZ #13760]
7922 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
7923 in the right place. Discard and retry query if response is
7924 larger than input buffer size.
7925
7926 2012-03-28 Joseph Myers <joseph@codesourcery.com>
7927
7928 [BZ #369]
7929 [BZ #2678]
7930 [BZ #3866]
7931 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
7932 x for large integer exponent.
7933 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7934 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
7935 sign of result as needed afterwards.
7936 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7937 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
7938 result for underflowing pow the same as for overflow.
7939 (__kernel_standard_l): Handle powl overflow and underflow here
7940 rather than calling __kernel_standard.
7941 * math/libm-test.inc (pow_test): Add more tests.
7942
7943 [BZ #3868]
7944 [BZ #13879]
7945 [BZ #13910]
7946 [BZ #13911]
7947 [BZ #13912]
7948 [BZ #13913]
7949 [BZ #13915]
7950 [BZ #13916]
7951 [BZ #13917]
7952 [BZ #13918]
7953 [BZ #13919]
7954 [BZ #13920]
7955 [BZ #13921]
7956 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
7957 * sysdeps/ieee754/k_standard.c: Include <float.h>.
7958 (__kernel_standard_l): New function.
7959 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
7960 __kernel_standard.
7961 * math/w_acosl.c (__acosl): Likewise.
7962 * math/w_asinl.c (__asinl): Likewise.
7963 * math/w_atan2l.c (__atan2l): Likewise.
7964 * math/w_atanhl.c (__atanhl): Likewise.
7965 * math/w_coshl.c (__coshl): Likewise.
7966 * math/w_exp10l.c (__exp10l): Likewise.
7967 * math/w_exp2l.c (__exp2l): Likewise.
7968 * math/w_fmodl.c (__fmodl): Likewise.
7969 * math/w_hypotl.c (__hypotl): Likewise.
7970 * math/w_j0l.c (__j0l, __y0l): Likewise.
7971 * math/w_j1l.c (__j1l, __y1l): Likewise.
7972 * math/w_jnl.c (__jnl, __ynl): Likewise.
7973 * math/w_lgammal.c (__lgammal): Likewise.
7974 * math/w_log10l.c (__log10l): Likewise.
7975 * math/w_log2l.c (__log2l): Likewise.
7976 * math/w_logl.c (__logl): Likewise.
7977 * math/w_powl.c (__powl): Likewise.
7978 * math/w_remainderl.c (__remainderl): Likewise.
7979 * math/w_scalbl.c (sysv_scalbl): Likewise.
7980 * math/w_sinhl.c (__sinhl): Likewise.
7981 * math/w_sqrtl.c (__sqrtl): Likewise.
7982 * math/w_tgammal.c (__tgammal): Likewise.
7983 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
7984 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
7985 * math/libm-test.inc (acos_test): Add more tests.
7986 (acosh_test): Likewise.
7987 (asin_test): Likewise.
7988 (atanh_test): Likewise.
7989 (exp_test): Likewise.
7990 (exp10_test): Likewise.
7991 (exp2_test): Likewise.
7992 (expm1_test): Likewise.
7993 (lgamma_test): Likewise.
7994 (log_test): Likewise.
7995 (log10_test): Likewise.
7996 (log1p_test): Likewise.
7997 (log2_test): Likewise.
7998 (pow_test): Do not allow some spurious overflow exceptions.
7999 (sqrt_test): Add more tests.
8000 (tgamma_test): Likewise.
8001 (y0_test): Likewise.
8002 (y1_test): Likewise.
8003 (yn_test): Likewise.
8004
8005 2012-03-27 Anton Blanchard <anton@samba.org>
8006
8007 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
8008 MAP_HUGETLB.
8009 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8010 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
8011 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8012
8013 2012-03-27 David S. Miller <davem@davemloft.net>
8014
8015 * conform/Makefile: Run run-conformtest.sh using $(BASH).
8016
8017 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
8018 have-as-vis3 check.
8019
8020 2012-03-27 Andreas Jaeger <aj@suse.de>
8021
8022 * sysdeps/x86_64/elf/configure.in: Moved to ...
8023 * sysdeps/x86_64/configure.in: ... here.
8024 * sysdeps/x86_64/elf/start.S: Moved to ...
8025 * sysdeps/x86_64/start.S: ... here.
8026 * sysdeps/x86_64/elf/configure: Delete.
8027
8028 * sysdeps/x86_64/configure.in: Merge contents from
8029 sysdeps/i386/configure.in (without i686 check).
8030
8031 * sysdeps/i386/elf/Versions: Merge into ...
8032 * sysdeps/i386/Versions: ... this.
8033 * sysdeps/i386/elf/Versions: Delete file.
8034 * sysdeps/i386/elf/start.S: Moved to ...
8035 * sysdeps/i386/start.S: ...here.
8036 * sysdeps/i386/elf/configure.in: Merge into...
8037 * sysdeps/i386/configure.in: ...here.
8038 * sysdeps/i386/elf/configure.in: Delete file.
8039 * sysdeps/i386/elf/configure: Delete file.
8040
8041 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
8042 * debug/backtracesyms.c: ... here.
8043 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
8044 * debug/backtracesymsfd.c: ... here.
8045 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
8046 * sysdeps/generic/ifunc-sel.h: ... here.
8047
8048 * sysdeps/unix/i386/start.c: Delete file.
8049 * sysdeps/unix/sparc/start.c: Delete file.
8050 * sysdeps/unix/start.c: Delete file.
8051
8052 * sysdeps/sh/elf/configure.in: Moved to ...
8053 * sysdeps/sh/configure.in: ... here.
8054 * sysdeps/sh/elf/start.S: Moved to ...
8055 * sysdeps/sh/start.S: ... here.
8056 * sysdeps/sh/elf/configure: Delete file.
8057
8058 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
8059 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
8060 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
8061 * sysdeps/powerpc/powerpc64/entry.h: ... here.
8062 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
8063 * sysdeps/powerpc/powerpc64/start.S: here.
8064 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
8065 * sysdeps/powerpc/powerpc64/Makefile: ... this.
8066 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
8067 * sysdeps/powerpc/powerpc64/configure.in: ... this.
8068 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
8069
8070 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
8071 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
8072 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
8073 * sysdeps/powerpc/powerpc32/start.S: ... here.
8074 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
8075 * sysdeps/powerpc/powerpc32/configure.in: ... this.
8076 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
8077
8078 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
8079 * sysdeps/powerpc/ifunc-sel.h: ... here.
8080 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
8081 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
8082
8083 * sysdeps/sparc/elf/configure.in: Moved to ...
8084 * sysdeps/sparc/configure.in: ... here.
8085 * sysdeps/sparc/elf/configure: Delete file.
8086 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
8087 * sysdeps/sparc/sparc32/start.S: ... here.
8088 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
8089 * sysdeps/sparc/sparc64/start.S: ... here.
8090 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
8091 * sysdeps/sparc/sparc32/Makefile: ... this.
8092 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
8093 * sysdeps/sparc/sparc64/Makefile: ... this.
8094
8095 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
8096 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
8097 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
8098 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
8099 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
8100 * sysdeps/s390/s390-32/setjmp.S: ... here.
8101 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
8102 * sysdeps/s390/s390-32/configure.in: ... here.
8103 * sysdeps/s390/s390-32/elf/configure: Delete file.
8104 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
8105 * sysdeps/s390/s390-32/start.S: ... here.
8106
8107 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
8108 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
8109 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
8110 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
8111 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
8112 * sysdeps/s390/s390-64/setjmp.S: ... here.
8113 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
8114 * sysdeps/s390/s390-64/configure.in: ... here
8115 * sysdeps/s390/s390-64/elf/configure: Delete file.
8116 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
8117 * sysdeps/s390/s390-64/start.S: ... here.
8118 * sysdeps/s390/s390-64/elf/configure: Delete.
8119
8120 * configure.in: Remove support for elf directories in sysdeps.
8121
8122 * configure: Regenerated.
8123 * sysdeps/i386/configure: Regenerated.
8124 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8125 * sysdeps/powerpc/powerpc64/configure: Regenerated.
8126 * sysdeps/s390/s390-32/configure: Regenerated.
8127 * sysdeps/s390/s390-64/configure: Regenerated.
8128 * sysdeps/sh/configure: Regenerated.
8129 * sysdeps/sparc/configure: Regenerated.
8130 * sysdeps/x86_64/configure: Regenerated.
8131
8132 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
8133
8134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8135
8136 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
8137 denormal result into account.
8138
8139 2012-03-25 Roland McGrath <roland@hack.frob.com>
8140
8141 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
8142 Reported by Allan McRae <allan@archlinux.org>.
8143
8144 2012-03-23 Jeff Law <law@redhat.com>
8145
8146 * nss/getnssent.c (__nss_getent): Fix typo.
8147
8148 2012-03-23 David S. Miller <davem@davemloft.net>
8149
8150 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8151
8152 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
8153
8154 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
8155 to pad to uint64_t for each field.
8156 (dl_tls_index): Replace unsigned long with uint64_t.
8157
8158 2012-03-23 Daniel Jacobowitz <dmj@google.com>
8159 Paul Pluzhnikov <ppluzhnikov@google.com>
8160
8161 [BZ #6528]
8162 * grp/Makefile (otherlibs): Don't set it.
8163 * inet/Makefile (otherlibs): Likewise.
8164 * login/Makefile (otherlibs): Likewise.
8165 * nscd/Makefile (otherlibs): Likewise.
8166 * posix/Makefile (otherlibs): Likewise.
8167 * pwd/Makefile (otherlibs): Likewise.
8168 * rt/Makefile (otherlibs): Likewise.
8169 * sunrpc/Makefile (otherlibs): Likewise.
8170 * nss/Makefile (otherlibs): Likewise.
8171 Add libnss_files to routines and static-only-routines.
8172 ($(objpfx)getent): Remove rule.
8173 * resolv/Makefile: Add libnss_dns and libresolv to routines and
8174 static-only-routines.
8175
8176 2012-03-22 Joseph Myers <joseph@codesourcery.com>
8177
8178 [BZ #13892]
8179 * math/s_cexp.c: Include <float.h>.
8180 (__cexp): Handle exp result overflowing not necessarily
8181 overflowing both real and imaginary parts of result.
8182 * math/s_cexpf.c: Likewise.
8183 * math/s_cexpl.c: Likewise.
8184 * math/libm-test.inc (cexp_test): Add more tests.
8185 * sysdeps/i386/fpu/libm-test-ulps: Update.
8186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8187
8188 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8189
8190 * include/link.h (ELFW): New macro.
8191 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
8192 Replace ELF64_R_TYPE with ELFW(R_TYPE).
8193
8194 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8195
8196 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
8197 with uint64_t.
8198
8199 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8200
8201 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
8202 declaration.
8203 (struct La_x32_retval): Likewise.
8204
8205 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
8206
8207 * sysdeps/x86_64/preconfigure.in: New file.
8208 * sysdeps/x86_64/preconfigure: New generated file.
8209
8210 2012-03-22 Joseph Myers <joseph@codesourcery.com>
8211
8212 [BZ #13824]
8213 * math/e_exp2l.c: Include <float.h>.
8214 (__ieee754_exp2l): Handle overflow and underflow cases
8215 separately. Only pass fractional part of argument to
8216 __ieee754_expl.
8217 * math/libm-test.inc (exp2_test): Add more tests.
8218
8219 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
8220 negating x to take absolute value.
8221 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
8222 Likewise.
8223 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8224 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
8225 Likewise.
8226 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
8227 computing low part if x was negated.
8228 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8229
8230 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8231
8232 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
8233 la_x32_gnu_pltexit.
8234 (pltexit): Cast int_retval to ptrdiff_t.
8235 * elf/tst-auditmod3b.c: Likewise.
8236 * elf/tst-auditmod4b.c: Likewise.
8237 * elf/tst-auditmod5b.c: Likewise.
8238 * elf/tst-auditmod6b.c: Likewise.
8239 * elf/tst-auditmod6c.c: Likewise.
8240 * elf/tst-auditmod7b.c: Likewise.
8241
8242 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
8243 and x32_gnu_pltexit.
8244
8245 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
8246 __ELF_NATIVE_CLASS.
8247 (La_x32_regs): New macro.
8248 (La_x32_retval): Likewise.
8249 (la_x32_gnu_pltenter): New function prototype.
8250 (la_x32_gnu_pltexit): Likewise.
8251
8252 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
8253
8254 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
8255 exponent.
8256
8257 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8258
8259 * configure.in (libc_cv_cc_nofma): Check for option to disable
8260 generation of FMA instructions.
8261 * configure: Regenerate.
8262 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
8263 * sysdeps/ieee754/dbl-64/Makefile: New file.
8264 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
8265 Remove brandred-fma4.
8266 (CFLAGS-brandred-fma4.c): Remove.
8267 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
8268 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
8269 define.
8270 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
8271 define.
8272
8273 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8274
8275 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
8276 LLONG_MAX != LONG_MAX.
8277 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8278 (_fitoa_word): Likewise.
8279 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
8280 LLONG_MAX != LONG_MAX.
8281 * stdio-common/_itowa.h: Include <_itoa.h>.
8282 (_itowa_word): Use _ITOA_WORD_TYPE on value.
8283 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
8284 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
8285 only if not defined.
8286 (_ITOA_WORD_TYPE): Likewise.
8287 (_itoa_word): Use _ITOA_WORD_TYPE on value.
8288 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
8289
8290 2012-03-21 David S. Miller <davem@davemloft.net>
8291
8292 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8293
8294 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
8295
8296 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
8297 of x86_64 when setting libc_cv_slibdir, libdir and
8298 libc_cv_localedir.
8299 * sysdeps/unix/sysv/linux/configure: Regenerated.
8300
8301 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8302
8303 * manual/lang.texi (Old Varargs): Remove section.
8304 (How Variadic): Update menu.
8305 (va_start): Do not mention varargs.h.
8306
8307 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8308 Joseph Myers <joseph@codesourcery.com>
8309
8310 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
8311 link test.
8312 * configure: Regenerated.
8313
8314 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
8315
8316 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
8317 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
8318 conformtest.pl
8319
8320 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8321
8322 * NOTES: Remove.
8323 * Makefile (files-for-dist): Remove NOTES.
8324 (NOTES): Remove rule.
8325 * README: Don't refer to NOTES.
8326 * manual/creature.texi: Don't include macros.texi.
8327 * manual/intro.texi (creature.texi): Remove comment referring to
8328 NOTES.
8329
8330 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
8331 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
8332 * configure: Regenerated.
8333 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
8334 LIBC_TRY_CC_OPTION.
8335 (libc_cv_as_i686): Likewise.
8336 (libc_cv_cc_avx): Likewise.
8337 (libc_cv_cc_sse2avx): Likewise.
8338 (libc_cv_cc_fma4): Likewise.
8339 (libc_cv_cc_novzeroupper): Likewise.
8340 * sysdeps/i386/configure: Regenerated.
8341
8342 [BZ #13883]
8343 * sysdeps/i386/fpu/s_cexp.S: Remove.
8344 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8345 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8346 * math/libm-test.inc (cexp_test): Add more tests.
8347 * sysdeps/i386/fpu/libm-test-ulps: Update.
8348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8349
8350 2012-03-21 Allan McRae <allan@archlinux.org>
8351
8352 * timezone/Makefile: Do not install iso3166.tab and zone.tab
8353
8354 2012-03-21 Joseph Myers <joseph@codesourcery.com>
8355
8356 [BZ #13871]
8357 * math/w_exp2.c: Do not include <float.h>.
8358 (o_threshold, u_threshold): Remove.
8359 (__exp2): Calculate result before checking finiteness and calling
8360 __kernel_standard.
8361 * math/w_exp2f.c: Likewise.
8362 * math/w_exp2l.c: Likewise.
8363 * math/libm-test.inc (exp2_test): Require overflow exception for
8364 1e6 input.
8365
8366 [BZ #3866]
8367 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
8368 range of signed 64-bit integers before using fistpll. Remove
8369 checks for whether integers fit in mantissa bits.
8370 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
8371 the range of signed 32-bit integers before using fistpl. Remove
8372 checks for whether integers fit in mantissa bits.
8373 * sysdeps/i386/fpu/e_powl.S (p64): New object.
8374 (__ieee754_powl): Test for y outside the range of signed 64-bit
8375 integers before using fistpll. Reduce 64-bit values to 63-bit
8376 ones as needed.
8377 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
8378 divide-by-zero is raised for zero to large negative powers.
8379 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
8380 (__ieee754_powl): Test for y outside the range of signed 64-bit
8381 integers before using fistpll. Reduce 64-bit values to 63-bit
8382 ones as needed.
8383 * math/libm-test.inc (pow_test): Add more tests.
8384
8385 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8386
8387 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
8388 <stdio-common/_itoa.h>.
8389 * debug/segfault.c: Likewise.
8390 * elf/dl-cache.c: Likewise.
8391 * elf/dl-minimal.c: Likewise.
8392 * elf/dl-misc.c: Likewise.
8393 * elf/dl-sysdep.c: Likewise.
8394 * elf/dl-version.c: Likewise.
8395 * elf/rtld.c: Likewise.
8396 * hurd/hurdsock.c: Likewise.
8397 * hurd/lookup-retry.c: Likewise.
8398 * malloc/malloc.c: Likewise.
8399 * malloc/mtrace.c: Likewise.
8400 * nscd/nscd_getgr_r.c: Likewise.
8401 * nscd/nscd_getpw_r.c: Likewise.
8402 * nscd/nscd_getserv_r.c: Likewise.
8403 * posix/getopt_init.c: Likewise.
8404 * posix/wordexp.c: Likewise.
8405 * stdio-common/_itoa.c: Likewise.
8406 * stdio-common/printf_fphex.c: Likewise.
8407 * stdio-common/vfprintf.c: Likewise.
8408 * string/_strerror.c: Likewise.
8409 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
8410 * sysdeps/i386/i686/hp-timing.h: Likewise.
8411 * sysdeps/mach/_strerror.c: Likewise.
8412 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
8413 * sysdeps/mach/hurd/sethostid.c: Likewise.
8414 * sysdeps/mach/hurd/xmknodat.c: Likewise.
8415 * sysdeps/mach/xpg-strerror.c: Likewise.
8416 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8417 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8418 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
8419 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
8420 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8421 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
8422 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8423 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8424 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
8425 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
8426 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
8427 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8428 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
8429 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
8430 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
8431 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
8432 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
8433 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
8434 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8435 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8436 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
8437
8438 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
8439
8440 * stdio-common/_itoa.h: Moved to ...
8441 * sysdeps/generic/_itoa.h: Here.
8442
8443 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
8444
8445 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
8446 instead of "_itoa.h" and "_itowa.h".
8447 * stdio-common/vfprintf.: Likewise.
8448
8449 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8450
8451 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
8452 <bits/wordsize.h>.
8453 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
8454 (__signbit): Likwise.
8455 (llrintf): Likwise.
8456 (llrint): Likwise.
8457
8458 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
8459
8460 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
8461 __WORDSIZE != 64.
8462
8463 2012-03-20 Joseph Myers <joseph@codesourcery.com>
8464
8465 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
8466 OVERFLOW_EXCEPTION_OK.
8467 * math/libm-test.inc ("Philosophy"): Update comment about
8468 exception testing.
8469 (OVERFLOW_EXCEPTION): Define.
8470 (OVERFLOW_EXCEPTION_OK): Likewise.
8471 (INVALID_EXCEPTION_OK): Renumber.
8472 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8473 (IGNORE_ZERO_INF_SIGN): Likewise.
8474 (test_exceptions): Handle FE_OVERFLOW.
8475 (exp10_test): Expect overflow exceptions.
8476 (exp2_test): Likewise.
8477 (expm1_test): Likewise.
8478 (nextafter_test): Likewise.
8479 (pow_test): Likewise.
8480 (scalbn_test): Likewise.
8481 (scalbln_test): Likewise.
8482
8483 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8484
8485 * sysdeps/x86_64/bits/atomic.h
8486 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
8487 64bit integer.
8488 (atomic_exchange_acq): Likewise.
8489 (__arch_exchange_and_add_body): Likewise.
8490 (__arch_add_body): Likewise.
8491 (atomic_add_negative): Likewise.
8492 (atomic_add_zero): Likewise.
8493
8494 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8495
8496 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
8497 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
8498
8499 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8500
8501 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
8502 Check __x86_64__ instead of __WORDSIZE.
8503
8504 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8505
8506 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
8507
8508 2012-03-19 David S. Miller <davem@davemloft.net>
8509
8510 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8511
8512 * sysdeps/sparc/fpu/fenv_private.h: New file.
8513 * sysdeps/sparc/fpu/math_private.h: Use it.
8514 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
8515 Remove.
8516 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
8517 (libc_feholdexcept_setroundl): Remove.
8518 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
8519 Remove.
8520 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
8521 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
8522
8523 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8524
8525 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
8526 int64_t instead of long int.
8527 (INSERT_WORDS64): Likwise.
8528
8529 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
8530
8531 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
8532 _Unwind_GetCFA return to _Unwind_Ptr first.
8533
8534 2012-03-19 Joseph Myers <joseph@codesourcery.com>
8535
8536 [BZ #13629]
8537 * math/s_clog.c: Include <float.h>.
8538 (__clog): Scale large or subnormal inputs.
8539 * math/s_clogf.c: Likewise.
8540 * math/s_clogl.c: Likewise.
8541 * math/s_clog10.c: Include <float.h>.
8542 (M_LOG10_2): Define.
8543 (__clog10): Scale large or subnormal inputs.
8544 * math/s_clog10f.c: Likewise.
8545 * math/s_clog10l.c: Likewise.
8546 * math/libm-test.inc (clog_test): Add more tests.
8547 (clog10_test): Likewise.
8548 * sysdeps/i386/fpu/libm-test-ulps: Update.
8549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8550
8551 [BZ #11451]
8552 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
8553 x and y.
8554 * math/libm-test.inc (atan2_test): Add another test.
8555
8556 * Makerules (common-objdir-compile): Remove.
8557 * sysdeps/unix/Makefile (config-generated): Do not add
8558 $(unix-generated) to variable.
8559 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
8560 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
8561 Remove rule.
8562 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
8563 Likewise.
8564 [generic bits/local_lim.h] (before-compile): Do not append to
8565 variable.
8566 [generic bits/local_lim.h] (common-generated): Likewise.
8567 [generic sys/param.h] (before-compile): Do not append to variable.
8568 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
8569 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
8570 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
8571 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
8572 include.
8573 [generic sys/param.h] (sys/param.h-includes): Remove variable.
8574 [generic sys/param.h] (sys/param.h-includes): Remove rule.
8575 [generic sys/param.h] ($(addprefix
8576 $(common-objpfx),$(sys/param.h-includes))): Likewise.
8577 [generic sys/param.h] (common-generated): Do not append to
8578 variable.
8579 [generic sys/param.h] (sysdep_headers): Likewise.
8580 [generic bits/errno.h] (before-compile): Do not append to
8581 variable.
8582 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
8583 rule.
8584 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
8585 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
8586 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
8587 [generic bits/errno.h] (common-generated): Do not append to
8588 variable.
8589 [generic bits/ioctls.h] (before-compile): Do not append to
8590 variable.
8591 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
8592 rule.
8593 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
8594 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
8595 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
8596 rule.
8597 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
8598 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
8599 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
8600 [generic bits/ioctls.h] (common-generated): Do not append to
8601 variable.
8602 [generic sys/syscall.h] (syscall.h): Remove variable.
8603 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
8604 rule.
8605 [generic sys/syscall.h] (before-compile): Do not append to
8606 variable.
8607 [generic sys/syscall.h] (common-generated): Likewise.
8608 * sysdeps/unix/errnos-tmpl.c: Remove file.
8609 * sysdeps/unix/errnos.awk: Likewise.
8610 * sysdeps/unix/ioctls-tmpl.c: Likewise.
8611 * sysdeps/unix/ioctls.awk: Likewise.
8612 * sysdeps/unix/mk-local_lim.c: Likewise.
8613 * sysdeps/unix/snarf-ioctls: Likewise.
8614
8615 2012-03-19 Richard Henderson <rth@twiddle.net>
8616
8617 * sysdeps/i386/fpu/fenv_private.h: New file.
8618 * sysdeps/i386/fpu/math_private.h: Use it.
8619 (math_opt_barrier, math_force_eval): Remove.
8620 (libc_feholdexcept_setround_53bit): Remove.
8621 (libc_feupdateenv_53bit): Remove.
8622 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8623 (math_opt_barrier, math_force_eval): Remove.
8624 (libc_feholdexcept): Remove.
8625 (libc_feholdexcept_setround): Remove.
8626 (libc_fetestexcept, libc_fesetenv): Remove.
8627 (libc_feupdateenv_test): Remove.
8628 (libc_feupdateenv, libc_feholdsetround): Remove.
8629 (libc_feresetround): Remove.
8630
8631 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
8632 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
8633
8634 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
8635 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
8636 (libc_feupdateenv_testl): New.
8637 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
8638 (libc_feupdateenv_testf): New.
8639 (libc_feupdateenv): Use libc_feupdateenv_test.
8640 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
8641 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
8642
8643 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
8644 (libc_feholdsetroundf, libc_feholdsetroundl): New.
8645 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
8646 (libc_feresetround_noex): New.
8647 (libc_feresetround_noexf): New.
8648 (libc_feresetround_noexl): New.
8649 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
8650 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
8651 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
8652 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
8653 SET_RESTORE_ROUND.
8654 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8655 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
8656 (__cos): Likewise.
8657 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
8658 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
8659 SET_RESTORE_ROUND_NOEX.
8660 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
8661 SET_RESTORE_ROUND_NOEXF.
8662 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
8663 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
8664 (libc_feholdsetroundf): New.
8665 (libc_feresetround, libc_feresetroundf): New.
8666
8667 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
8668 (libc_feholdexcept_setround_53bit): Convert from macro to function.
8669 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
8670
8671 * sysdeps/generic/math_private.h: Include <fenv.h>.
8672 (default_libc_feholdexcept): New.
8673 (default_libc_feholdexcept_setround): New.
8674 (default_libc_fesetenv, default_libc_feupdateenv): New.
8675 (libc_feholdexcept): Only define if undefined.
8676 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
8677 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
8678 (libc_feholdexcept_setroundl): Likewise.
8679 (libc_feholdexcept_setround_53bit): Likewise.
8680 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
8681 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
8682 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
8683 (libc_feupdateenv_53bit): Likewise.
8684 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
8685 (libc_feholdexcept): Convert from macro to inline function.
8686 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
8687 (libc_fesetenv, libc_feupdateenv): Likewise.
8688
8689 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
8690 not previously defined.
8691 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
8692 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
8693 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
8694 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
8695 * sysdeps/ieee754/flt-32/math_private.h: New file.
8696 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
8697 math_private.h below SET_FLOAT_WORD.
8698 (__isnan, __isinf_ns, __finite): Remove.
8699 (__isnanf, __isinf_nsf, __finitef): Remove.
8700
8701 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
8702
8703 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8704
8705 2012-03-17 David S. Miller <davem@davemloft.net>
8706
8707 [BZ #6471]
8708 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
8709 for 2.16.
8710
8711 2012-03-16 David S. Miller <davem@davemloft.net>
8712
8713 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
8714 warnings.
8715
8716 [BZ #6471]
8717 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
8718 properly.
8719 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
8720 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
8721 sysdep_routines when subdir is sysvipc.
8722 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
8723 __getshmlba helper.
8724
8725 * sysdeps/sparc/fpu/libm-test/ulps: Update.
8726
8727 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8728
8729 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
8730 [__LP64__].
8731
8732 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8733
8734 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
8735 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
8736 (__lround): Renamed to ...
8737 (__llround): This. Replace long int with long long int.
8738 Define lround functions as aliases of llround functions.
8739 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
8740
8741 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8742
8743 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
8744 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
8745 adresses to uintptr_t. Replace "long int" and "unsigned long
8746 int" with "greg_t" on va_arg.
8747
8748 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8749
8750 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
8751 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
8752
8753 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
8754 Move e_machine check before EI_CLASS check. Handle x32
8755 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
8756 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
8757 SKIP_EM_IA_64 and include
8758 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
8759
8760 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
8761 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
8762 (add_system_dir): New macro.
8763
8764 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
8765 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
8766
8767 2012-03-16 Joseph Myers <joseph@codesourcery.com>
8768
8769 [BZ #2551]
8770 [BZ #2552]
8771 [BZ #2553]
8772 [BZ #2554]
8773 [BZ #2562]
8774 [BZ #2563]
8775 [BZ #2565]
8776 [BZ #2566]
8777 [BZ #2576]
8778 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
8779 (y0): Likewise.
8780 * math/w_j0f.c (j0f): Likewise.
8781 (y0f): Likewise.
8782 * math/w_j0l.c (__j0l): Likewise.
8783 (__y0l): Likewise.
8784 * math/w_j1.c (j1): Likewise.
8785 (y1): Likewise.
8786 * math/w_j1f.c (j1f): Likewise.
8787 (y1f): Likewise.
8788 * math/w_j1l.c (__j1l): Likewise.
8789 (__y1l): Likewise.
8790 * math/w_jn.c (jn): Likewise.
8791 (yn): Likewise.
8792 * math/w_jnf.c (jnf): Likewise.
8793 (ynf): Likewise.
8794 * math/w_jnl.c (__jnl): Likewise.
8795 (__ynl): Likewise.
8796 * math/libm-test.inc (j0_test): Add more tests.
8797 (j1_test): Likewise.
8798 (jn_test): Likewise. Add trailing semicolon to existing test.
8799 (y0_test): Likewise.
8800 (y1_test): Likewise.
8801 * sysdeps/i386/fpu/libm-test-ulps: Update.
8802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8803
8804 [BZ #13851]
8805 [BZ #13854]
8806 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
8807 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
8808 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
8809 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
8810 (__tanl): Set errno for infinite argument.
8811 * sysdeps/i386/fpu/mptan.c: Remove.
8812 * sysdeps/i386/fpu/s_tan.S: Likewise.
8813 * sysdeps/i386/fpu/s_tanl.S: Likewise.
8814 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
8815 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
8816 * math/libm-test.inc (tan_test): Add more tests and enable more
8817 tests for double and long double.
8818 * sysdeps/i386/fpu/libm-test-ulps: Update.
8819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8820
8821 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8822
8823 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
8824 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
8825
8826 2012-03-16 Roland McGrath <roland@hack.frob.com>
8827
8828 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
8829 * configure.in: Use it for both main tree and add-ons.
8830 * configure: Regenerated.
8831
8832 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
8833
8834 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
8835
8836 2012-03-16 Joseph Myers <joseph@codesourcery.com>
8837
8838 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
8839 in comment.
8840
8841 [BZ #13851]
8842 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
8843 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
8844 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
8845 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
8846 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
8847 infinite argument.
8848 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
8849 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
8850 != 0 for prec == 2.
8851 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
8852 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
8853 * sysdeps/i386/fpu/s_cosl.S: Likewise.
8854 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
8855 * sysdeps/i386/fpu/s_sinl.S: Likewise.
8856 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
8857 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
8858 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
8859 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
8860 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
8861 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
8862 * math/libm-test.inc (cos_test): Add more tests and enable more
8863 tests for long double.
8864 (sin_test): Likewise.
8865 (sincos_test): Likewise.
8866 * sysdeps/i386/fpu/libm-test-ulps: Update.
8867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8868
8869 2012-03-16 David S. Miller <davem@davemloft.net>
8870
8871 * sysdeps/sparc/fpu/math_private.h: New file.
8872
8873 2012-03-15 David S. Miller <davem@davemloft.net>
8874
8875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
8876 file.
8877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
8878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
8879 file.
8880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
8881 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
8882 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
8883 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
8884 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
8885 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
8886 sysdep routines.
8887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
8888
8889 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
8890 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
8891
8892 * sysdeps/sparc/sparc-ifunc.h: New file.
8893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
8894 sparc-ifunc.h
8895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
8897 Likewise.
8898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
8899 Likewise.
8900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
8901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
8902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
8904 Likewise.
8905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
8906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
8907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
8908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
8909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
8910 Likewise.
8911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
8912 Likewise.
8913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
8914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
8915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8917 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8918 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8919 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
8920 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
8921 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8922 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8923 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
8924 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
8925 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
8926 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
8927 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
8928 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
8929 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
8930 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
8931 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
8932 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
8933 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
8934 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
8935 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
8936 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
8937
8938 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
8939
8940 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
8941 scaling.
8942 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8943
8944 2012-03-15 Andreas Jaeger <aj@suse.de>
8945
8946 [BZ #13852]
8947 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
8948 ieee754/flt-32 implementation for sin, cos and sincos.
8949 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
8950 * sysdeps/i386/fpu/s_cosf.S: Likewise.
8951 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
8952 * sysdeps/i386/fpu/s_sinf.S: Likewise.
8953 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
8954 ieee754/flt-32 implementation for tan.
8955
8956 * math/libm-test.inc (cos_test): Enable some large input tests for
8957 float as well
8958 (sin_test): Likewise.
8959 (sincos_test): Likewise.
8960 (tan_test): Add tests for large input.
8961
8962 * sysdeps/i386/fpu/libm-test-ulps: Update.
8963
8964 2012-03-15 Andreas Jaeger <aj@suse.de>
8965
8966 [BZ #13658]
8967 * math/libm-test.inc (cos_test): Add more test cases.
8968 (sin_test): Likewise.
8969 (sincos_test): Likewise.
8970
8971 2012-03-15 Andreas Jaeger <aj@suse.de>
8972
8973 [BZ #13837]
8974 * math/libm-test.inc (cos_test): Add a test case for large input
8975 value.
8976 (sin_test): Likewise.
8977 (sincos_test): Likewise.
8978
8979 2012-03-15 Andreas Jaeger <aj@suse.de>,
8980 Joseph Myers <joseph@codesourcery.com>
8981
8982 [BZ #13658]
8983 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
8984 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
8985 * sysdeps/i386/fpu/branred.c: Likewise.
8986 * sysdeps/i386/fpu/dosincos.c: Likewise.
8987 * sysdeps/i386/fpu/mpa.c: Likewise.
8988 * sysdeps/i386/fpu/s_cos.S: Likewise.
8989 * sysdeps/i386/fpu/s_sin.S: Likewise.
8990 * sysdeps/i386/fpu/s_sincos.S: Likewise.
8991 * sysdeps/i386/fpu/sincos32.c: Likewise.
8992
8993 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
8994 Define.
8995 (libc_feupdateenv_53bit): Define.
8996 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
8997 Define.
8998 (libc_feupdateenv_53bit): Define.
8999
9000 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
9001 53 bit (without extend i386 double precision).
9002
9003 * math/libm-test.inc (sincos_test): Add tests for large input.
9004 (sin): Likewise.
9005 (cos): Likewise.
9006
9007 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9008
9009 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
9010
9011 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9012
9013 2012-03-15 David S. Miller <davem@davemloft.net>
9014
9015 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
9016 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
9017 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
9018 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
9019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
9020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
9021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
9022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
9023 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
9024 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
9025 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
9026 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
9027 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
9028 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
9029 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
9030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
9031 file.
9032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
9033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
9034 file.
9035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
9036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
9037 file.
9038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
9039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
9040 file.
9041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
9042 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
9043 fmin/fmax sysdep routines.
9044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
9045
9046 2012-03-14 David S. Miller <davem@davemloft.net>
9047
9048 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
9049 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
9050 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
9051 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
9052 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
9053 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
9054 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
9055 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
9056 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
9057 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
9058 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
9059 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
9060 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
9061 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
9062 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
9063 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
9064 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
9065 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
9066 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
9067 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
9068 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
9069 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
9070 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
9071 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
9072 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
9073 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
9074 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
9075 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
9076 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
9077 routines.
9078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
9079 file.
9080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
9081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
9082 file.
9083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
9084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
9085 file.
9086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
9087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
9088 file.
9089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
9090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
9091 file.
9092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
9093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
9094 file.
9095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
9096 file.
9097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
9098 file.
9099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
9100 file.
9101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
9102 New file.
9103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
9104 file.
9105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
9106 file.
9107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
9108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
9109 file.
9110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
9111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
9112 file.
9113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
9114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
9115 file.
9116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
9117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
9118 VIS3 routines.
9119
9120 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9121 New file.
9122
9123 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9124
9125 * sysdeps/sparc/configure.in: New file.
9126 * sysdeps/sparc/configure: Generate.
9127 * configure.in (libc_cv_sparc_as_vis3): Substitute.
9128 * configure: Regenerate.
9129 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
9130 * config.make.in (have-as-vis3): New.
9131 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
9132 available use -Av9d instead of -Av9a.
9133 * sysdeps/sparc/sparc64/Makefile: Likewise.
9134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
9135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
9136 New file.
9137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
9138 file.
9139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
9140 New file.
9141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
9142 file.
9143 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
9144 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
9145 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
9146 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
9147 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
9148
9149 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
9150 fzeros/fnegs to load 0x80000000 into a float register instead of
9151 using the stack.
9152 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
9153
9154 2012-03-14 Joseph Myers <joseph@codesourcery.com>
9155
9156 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9157 bits/syscall.h.
9158 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
9159 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
9160 ($(inst_includedir)/bits/syscall.h): Remove rule.
9161 ($(objpfx)bits/syscall.d): Include instead of
9162 $(objpfx)syscall-list.d.
9163 (generated): Change syscall-list.h and syscall-list.d to
9164 bits/syscall.h and bits/syscall.d.
9165
9166 2012-03-14 Roland McGrath <roland@hack.frob.com>
9167
9168 [BZ #13846]
9169 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
9170
9171 2012-03-14 Joseph Myers <joseph@codesourcery.com>
9172
9173 [BZ #13841]
9174 * math/s_csqrt.c: Include <float.h>.
9175 (__csqrt): Scale large or subnormal inputs.
9176 * math/s_csqrtf.c: Likewise.
9177 * math/s_csqrtl.c: Likewise.
9178 * math/libm-test.inc (csqrt_test): Add more tests.
9179 * sysdeps/i386/fpu/libm-test-ulps: Update.
9180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9181
9182 [BZ #13840]
9183 * math/libm-test.inc (hypot_test): Add more tests.
9184
9185 2012-03-13 David S. Miller <davem@davemloft.net>
9186
9187 [BZ #13840]
9188 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
9189 double-precision for the calculation instead of scaling.
9190
9191 2012-03-13 Joseph Myers <joseph@codesourcery.com>
9192
9193 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
9194 manipulate bits before adding and subtracting TWO52[sx].
9195 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
9196 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9197 Likewise.
9198 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
9199
9200 2012-03-13 David S. Miller <davem@davemloft.net>
9201
9202 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
9203 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
9204 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
9205 rtld-global-offsets.h
9206 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9207
9208 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
9209 large parameters.
9210
9211 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
9212
9213 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
9214 'err' in the ifdef scope in which it is actually used.
9215
9216 * nss/nss_db/db-init.c: Include string.h
9217
9218 2012-03-12 David S. Miller <davem@davemloft.net>
9219
9220 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
9221 masking out of the most significant byte of random value used.
9222 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9223 Fix coding style in previous change.
9224
9225 * sysdeps/unix/sysv/linux/kernel-features.h
9226 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
9227 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
9228 expression.
9229 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
9230 later.
9231
9232 2012-03-11 David S. Miller <davem@davemloft.net>
9233
9234 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9235 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
9236 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
9237 for 'resultvar' otherwise things get truncated on 64-bit.
9238
9239 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9240 Fix masking out of the most significant byte of random value used.
9241
9242 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9243
9244 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
9245
9246 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9247
9248 2012-03-09 David S. Miller <davem@davemloft.net>
9249
9250 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
9251 variables with appropriate CPP guards.
9252 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
9253 frame pointer, not the stack pointer. Correct layout comments. Fix test
9254 on resulting framesize and the management of the outregs buffer for pltexit.
9255 Preserve floating point return values across _dl_call_pltexit call.
9256 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
9257 framesize and the management of the outregs buffer for pltexit.
9258 Preserve floating point return values across _dl_call_pltexit
9259 call.
9260 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
9261 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
9262 (print_exit): Fix format string for return register value.
9263
9264 2012-03-10 Joseph Myers <joseph@codesourcery.com>
9265
9266 * sunrpc/Makefile (others): Add rpcgen.
9267 ($(objpfx)rpcgen): Remove special build rule and dependency on
9268 libc.
9269 * sunrpc/rpcgen.c: New file.
9270
9271 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
9272
9273 [BZ #13673]
9274 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
9275 * stdio-common/bug-vfprintf-nargs.c: Likewise.
9276 * sysdeps/i386/crti.S: Likewise.
9277 * sysdeps/i386/crtn.S: Likewise.
9278 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
9279 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
9280 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
9281 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
9282 * sysdeps/sh/crti.S: Likewise.
9283 * sysdeps/sh/crtn.S: Likewise.
9284 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9285
9286 [BZ #13673]
9287 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
9288 with URL.
9289 * locale/programs/locfile-kw.gperf: Likewise.
9290 * locale/programs/charmap-kw.h: Regenerated.
9291 * locale/programs/locfile-kw.h: Likewise.
9292
9293 [BZ #13673]
9294 * intl/plural.y: Replace FSF snail mail address with URL.
9295 * intl/plural.c: Regenerated.
9296
9297 2012-03-09 Richard Henderson <rth@twiddle.net>
9298
9299 * include/math_private.h: Remove file.
9300 * math/math_private.h: Move file ...
9301 * sysdeps/generic/math_private.h: ... here.
9302
9303 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
9304 * sysdeps/powerpc/fpu/math_private.h: Likewise.
9305 * sysdeps/x86_64/fpu/math_private.h: Likewise.
9306
9307 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
9308 and <math_private.h>.
9309 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9310 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9311 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9312 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9313 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9314 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
9315 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9316 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9317 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9318 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9319 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9320 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9321 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9322 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9323 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9324 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9325 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9326 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9327 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9328 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9329 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9330 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9331 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9332 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9333 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
9334 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9335 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9336 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9337 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9338 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9339 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9340 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9341 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9342 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9343 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9344 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9345 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9346 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9347 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9348 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9349 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
9350 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9351 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9352 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9353 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9354 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9355 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9356 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9357 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9358 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9359 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9360 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9361 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9362 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9363 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9364 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9365 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9366 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9367 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9368 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
9369 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9370 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9371 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9372 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9373 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9374 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9375 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9376 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9377 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
9378 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
9379 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
9380 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9381 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
9382 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9383 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
9384 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
9385 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
9386 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9387 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
9388 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9389 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
9390 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9391 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
9392 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9393 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9394 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9395 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
9396 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9397 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9398 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9399 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9400 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9401 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9402 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9403 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9404 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9405 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9406 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9407 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9408 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9409 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9410 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9411 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9412 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9413 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9414 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9415 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9416 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9417 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9418 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9419 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9420 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9421 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9422 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9423 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9424 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9425 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9426 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9427 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9428 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9429 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9430 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9431 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9432 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
9433 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9434 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9435 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9436 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
9437 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9438 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9439 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9440 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9441 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9442 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9443 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9444 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
9445 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9446 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9447 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
9448 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9449 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9450 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
9451 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
9452 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
9453 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
9454 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9455 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9456 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9457 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9458 * sysdeps/ieee754/k_standard.c: Likewise.
9459 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9460 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9461 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9462 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9463 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9464 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9465 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9466 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9467 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9468 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9469 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9470 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9471 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9472 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9473 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9474 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9475 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9476 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9477 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9478 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9479 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9480 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9481 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9482 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9483 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9484 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9485 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9486 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9487 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9488 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9489 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9490 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9491 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9492 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9493 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9494 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9495 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9496 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
9497 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
9498 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9499 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9500 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9501 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9502 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9503 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9504 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9505 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9506 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9507 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9508 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9509 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9510 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9511 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9512 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9513 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9514 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9515 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
9516 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9517 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9518 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9519 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9520 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9521 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9522 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9523 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9524 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9525 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9526 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9527 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9528 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9529 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9530 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9531 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9532 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9533 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9534 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9535 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
9536 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9537 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9538 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9539 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9540 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9541 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9542 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9543 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
9544 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9545 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9546 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9547 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9548 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9549 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
9550 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9551 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9552 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9553 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9554 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9555 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
9556 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9557 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9558 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
9559 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9560 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9561 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9562 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9563 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
9564 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9565 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9566 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9567 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
9568 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9569 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9570 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9571 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9572 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9573 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9574 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9575 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9576 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9577 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9578 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9579 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9580 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9581 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9582 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9583 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9584 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9585 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9586 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9587 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9588 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9589 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9590 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9591 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9592 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9593 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9594 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9595 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
9596 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9597 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9598 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9599 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9600 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9601 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9602 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9603 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
9604 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9605 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9606 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9607 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9608 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
9609 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9610 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9611 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9612 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9613 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
9614 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
9615 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9616 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9617 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9618 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9619 * sysdeps/ieee754/s_lib_version.c: Likewise.
9620 * sysdeps/ieee754/s_matherr.c: Likewise.
9621 * sysdeps/ieee754/s_signgam.c: Likewise.
9622 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9623 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9624 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
9625 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
9626 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
9627 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
9628 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
9629 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
9630 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
9631 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9632 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9633 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
9634 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9635 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9636 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
9637 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
9638 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9639 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
9640 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9641 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9642 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9643
9644 2012-03-09 Joseph Myers <joseph@codesourcery.com>
9645
9646 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
9647 * sunrpc/rpc_main.c: Likewise.
9648 * sunrpc/rpc_svcout.c: Likewise.
9649
9650 2012-03-09 David S. Miller <davem@davemloft.net>
9651
9652 * include/math_private.h: New file.
9653
9654 2012-03-09 Joseph Myers <joseph@codesourcery.com>
9655
9656 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
9657 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
9658 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
9659 from <bits/socket_type.h>.
9660 (enum __socket_type): Don't define here.
9661 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
9662 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9663 bits/socket_type.h.
9664
9665 [BZ #13566]
9666 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
9667 checking __USE_GNU.
9668
9669 * Makerules ($(inst_includedir)/%.h): New rule.
9670 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
9671 (install-others): Remove variable setting.
9672 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
9673
9674 2012-03-08 Richard Henderson <rth@twiddle.net>
9675
9676 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
9677 from macro to inline function; merge with the
9678 !__LIBC_INTERNAL_MATH_INLINES version.
9679 (__ieee754_sqrtf): Likewise.
9680
9681 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
9682 to inline function.
9683 (__rintf, __floor, __floorf): Likewise.
9684
9685 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
9686 macro to inline function.
9687 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
9688
9689 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
9690 not <math/math_private.h>.
9691
9692 2012-03-08 David S. Miller <davem@davemloft.net>
9693
9694 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
9695 copyright year.
9696 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
9697
9698 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
9699
9700 * resolv/gai_misc.c (handle_requests): Fix struct timespec
9701 normalization.
9702 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
9703 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
9704
9705 2012-03-08 Ulrich Drepper <drepper@gmail.com>
9706
9707 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
9708 be defined individually, they must be defined as a block. Define
9709 S for printing a string instead of hidint the different by using a
9710 macro for adding the 'l'.
9711 * stdio-common/tst-fphex-wide.c: Adjust.
9712
9713 2012-03-07 Marek Polacek <polacek@redhat.com>
9714
9715 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
9716
9717 2012-03-08 Marek Polacek <polacek@redhat.com>
9718
9719 [BZ #13806]
9720 * stdio-common/Makefile (tests): Add tst-fphex-wide.
9721 * stdio-common/tst-fphex.c: Define a few macros to make the
9722 test reusable. Use them.
9723 * stdio-common/tst-fphex-wide.c: New file.
9724
9725 2012-03-08 Joseph Myers <joseph@codesourcery.com>
9726
9727 [BZ #6911]
9728 * manual/macros.texi (gnusystems): New macro.
9729 (nongnusystems): Likewise.
9730 (gnulinuxhurdsystems): Likewise.
9731 (gnuhurdsystems): Likewise..
9732 (gnulinuxsystems): Likewise.
9733 * manual/charset.texi: Use new macros or @theglibc{} to refer to
9734 variants of the GNU system, not "GNU system".
9735 * manual/conf.texi: Likewise.
9736 * manual/errno.texi: Likewise. Update example of errno macro
9737 expansion.
9738 * manual/filesys.texi: Likewise.
9739 (getumask): Document as specific to GNU/Hurd.
9740 * manual/install.texi: Likewise. Reword some references to
9741 GNU/Linux.
9742 * manual/intro.texi: Likewise.
9743 * manual/io.texi: Likewise.
9744 (File Name Portability): Detail which constraints are inapplicable
9745 to all GNU systems and which are only inapplicable to GNU/Hurd.
9746 * manual/job.texi: Likewise.
9747 * manual/llio.texi: Likewise.
9748 (O_NOCTTY): Document as present on GNU/Linux.
9749 * manual/maint.texi: Likewise.
9750 * manual/memory.texi: Likewise.
9751 * manual/pattern.texi: Likewise.
9752 * manual/pipe.texi: Likewise.
9753 * manual/process.texi: Likewise.
9754 * manual/resource.texi: Likewise.
9755 (RUSAGE_CHILDREN): Remove statement about specifying a particular
9756 child on GNU/Hurd.
9757 * manual/setjmp.texi: Likewise.
9758 * manual/signal.texi: Likewise.
9759 * manual/startup.texi: Likewise.
9760 * manual/stdio.texi: Likewise.
9761 * manual/terminal.texi: Likewise.
9762 (ONLCR): Document as POSIX.
9763 (OXTABS): Document availability on GNU/Linux as XTABS.
9764 (ONOEOT): Document availability separately from other bits.
9765 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
9766 * manual/time.texi: Likewise.
9767 * manual/users.texi: Likewise.
9768 * INSTALL: Regenerated.
9769 * sysdeps/gnu/errlist.c: Regenerated.
9770
9771 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
9772 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
9773 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
9774 puts.
9775 * configure: Regenerated.
9776
9777 2012-03-07 Joseph Myers <joseph@codesourcery.com>
9778
9779 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
9780 default includes instead of AC_HEADER_CHECK.
9781 * sysdeps/i386/configure: Regenerated.
9782
9783 [BZ #10716]
9784 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
9785 * math/s_cacoshf.c (__cacoshf): Likewise.
9786 * math/s_cacoshl.c (__cacoshl): Likewise.
9787 * math/s_casinh.c (__casinh): Set signs of result from argument.
9788 * math/s_casinhf.c (__casinhf): Likewise.
9789 * math/s_casinhl.c (__casinhl): Likewise.
9790 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
9791 (casinh_test): Add more tests.
9792 * sysdeps/i386/fpu/libm-test-ulps: Update.
9793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9794
9795 2012-03-07 Ulrich Drepper <drepper@gmail.com>
9796
9797 * po/zh_TW.po: Update from translation team.
9798
9799 * login/Makefile (distribute): Remove variable.
9800 * catgets/Makefile: Likewise.
9801 * mach/Makefile: Likewise.
9802 * malloc/Makefile: Likewise.
9803 * misc/Makefile: Likewise.
9804 * iconv/Makefile: Likewise.
9805 * nscd/Makefile: Likewise.
9806 * hurd/Makefile: Likewise.
9807 * manual/Makefile: Likewise.
9808 * locale/Makefile: Likewise.
9809 * intl/Makefile: Likewise.
9810 * conform/Makefile: Likewise.
9811 * nss/Makefile: Likewise.
9812 * time/Makefile: Likewise.
9813 * soft-fp/Makefile: Likewise.
9814 * dirent/Makefile: Likewise.
9815 * gmon/Makefile: Likewise.
9816 * po/Makefile: Likewise.
9817 * rt/Makefile: Likewise.
9818 * socket/Makefile: Likewise.
9819 * math/Makefile: Likewise.
9820 * signal/Makefile: Likewise.
9821 * debug/Makefile: Likewise.
9822 * elf/Makefile: Likewise.
9823 * timezone/Makefile: Likewise.
9824 * stdlib/Makefile: Likewise.
9825 * iconvdata/Makefile: Likewise.
9826 * sunrpc/Makefile: Likewise.
9827 * io/Makefile: Likewise.
9828 * argp/Makefile: Likewise.
9829 * inet/Makefile: Likewise.
9830 * hesiod/Makefile: Likewise.
9831 * grp/Makefile: Likewise.
9832 * csu/Makefile: Likewise.
9833 * wctype/Makefile: Likewise.
9834 * crypt/Makefile: Likewise.
9835 * libio/Makefile: Likewise.
9836 * string/Makefile: Likewise.
9837 * nis/Makefile: Likewise.
9838 * resolv/Makefile: Likewise.
9839 * stdio-common/Makefile: Likewise.
9840 * wcsmbs/Makefile: Likewise.
9841 * dlfcn/Makefile: Likewise.
9842 * posix/Makefile: Likewise.
9843
9844 [BZ #6959]
9845 * timezone/Makefile: Don't install timezone files, just the programs
9846 and scripts.
9847
9848 2012-03-06 Ulrich Drepper <drepper@gmail.com>
9849
9850 * nss/databases.def: Add missing gshadow entry.
9851
9852 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
9853
9854 2012-03-06 Marek Polacek <polacek@redhat.com>
9855
9856 [BZ #13726]
9857 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
9858 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9859 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
9860 * stdio-common/tst-long-dbl-fphex.c: New file.
9861
9862 2012-03-06 David S. Miller <davem@davemloft.net>
9863
9864 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
9865 (set_obp_int): New function.
9866 (get_obp_int): New function.
9867 (__get_clockfreq_via_dev_openprom): Likewise.
9868 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
9869 Avoid unused variable warnings on 'val' and use builtin_expect.
9870 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
9871 __builtin_expect.
9872 (INLINE_CLONE_SYSCALL): Likewise.
9873
9874 2012-03-05 David S. Miller <davem@davemloft.net>
9875
9876 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9877
9878 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
9879
9880 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9881
9882 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
9883 only for |x| >= 40.
9884 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9885
9886 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
9887
9888 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
9889 Replace gettimeofday with __vdso_gettimeofday.
9890
9891 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9892 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
9893 __vdso_clock_gettime and __vdso_getcpu.
9894
9895 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
9896 time with __vdso_time.
9897
9898 2012-03-05 Joseph Myers <joseph@codesourcery.com>
9899
9900 * manual/lang.texi (size_t): Note types to which size_t may be
9901 equivalent with the GNU C Library, but do not describe when
9902 differences between them are significant.
9903
9904 2012-03-05 Andreas Jaeger <aj@suse.de>
9905
9906 * sysdeps/i386/fpu/libm-test-ulps: Update.
9907
9908 2012-03-05 Joseph Myers <joseph@codesourcery.com>
9909
9910 [BZ #3976]
9911 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
9912 (__ieee754_pow): Save and restore rounding mode and use
9913 round-to-nearest for main computations.
9914 * math/libm-test.inc (pow_test_tonearest): New function.
9915 (pow_test_towardzero): Likewise.
9916 (pow_test_downward): Likewise.
9917 (pow_test_upward): Likewise.
9918 (main): Call the new functions.
9919 * sysdeps/i386/fpu/libm-test-ulps: Update.
9920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9921
9922 [BZ #3976]
9923 * math/libm-test.inc (cosh_test_tonearest): New function.
9924 (cosh_test_towardzero): Likewise.
9925 (cosh_test_downward): Likewise.
9926 (cosh_test_upward): Likewise.
9927 (sinh_test_tonearest): Likewise.
9928 (sinh_test_towardzero): Likewise.
9929 (sinh_test_downward): Likewise.
9930 (sinh_test_upward): Likewise.
9931 (main): Call the new functions.
9932 * sysdeps/i386/fpu/libm-test-ulps: Update.
9933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9934
9935 2012-03-05 Tom de Vries <tom@codesourcery.com>
9936
9937 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
9938 default stack guard is set in last bytes.
9939 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
9940
9941 2012-03-05 Kees Cook <keescook@chromium.org>
9942
9943 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
9944
9945 [BZ #13656]
9946 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
9947 possibly allocate from heap instead of stack.
9948 * stdio-common/bug-vfprintf-nargs.c: New file.
9949 * stdio-common/Makefile (tests): Add nargs overflow test.
9950
9951 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
9952
9953 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9954
9955 2012-03-03 Marek Polacek <polacek@redhat.com>
9956
9957 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
9958 * math/math_private.h: Likewise.
9959 * stdlib/tst-strtod.c: Likewise.
9960 * sysdeps/i386/i486/bits/atomic.h: Likewise.
9961 * sysdeps/x86_64/bits/atomic.h: Likewise.
9962
9963 2012-03-02 David S. Miller <davem@davemloft.net>
9964
9965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
9966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
9967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
9968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
9969 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
9970 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
9971 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
9972 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
9973
9974 2012-03-02 Roland McGrath <roland@hack.frob.com>
9975
9976 [BZ #13792]
9977 * manual/examples/README: New file, says the example source files
9978 can be used under GPL>=2.
9979 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
9980 line containing just "*/".
9981 * manual/examples/add.c: Add copyright header (GPL>=2).
9982 * manual/examples/argp-ex1.c: Likewise.
9983 * manual/examples/argp-ex2.c: Likewise.
9984 * manual/examples/argp-ex3.c: Likewise.
9985 * manual/examples/argp-ex4.c: Likewise.
9986 * manual/examples/atexit.c: Likewise.
9987 * manual/examples/db.c: Likewise.
9988 * manual/examples/dir.c: Likewise.
9989 * manual/examples/dir2.c: Likewise.
9990 * manual/examples/execinfo.c: Likewise.
9991 * manual/examples/filecli.c: Likewise.
9992 * manual/examples/filesrv.c: Likewise.
9993 * manual/examples/fmtmsgexpl.c: Likewise.
9994 * manual/examples/genpass.c: Likewise.
9995 * manual/examples/inetcli.c: Likewise.
9996 * manual/examples/inetsrv.c: Likewise.
9997 * manual/examples/isockad.c: Likewise.
9998 * manual/examples/longopt.c: Likewise.
9999 * manual/examples/memopen.c: Likewise.
10000 * manual/examples/memstrm.c: Likewise.
10001 * manual/examples/mkfsock.c: Likewise.
10002 * manual/examples/mkisock.c: Likewise.
10003 * manual/examples/mygetpass.c: Likewise.
10004 * manual/examples/pipe.c: Likewise.
10005 * manual/examples/popen.c: Likewise.
10006 * manual/examples/rprintf.c: Likewise.
10007 * manual/examples/search.c: Likewise.
10008 * manual/examples/select.c: Likewise.
10009 * manual/examples/setjmp.c: Likewise.
10010 * manual/examples/sigh1.c: Likewise.
10011 * manual/examples/sigusr.c: Likewise.
10012 * manual/examples/stpcpy.c: Likewise.
10013 * manual/examples/strdupa.c: Likewise.
10014 * manual/examples/strftim.c: Likewise.
10015 * manual/examples/strncat.c: Likewise.
10016 * manual/examples/subopt.c: Likewise.
10017 * manual/examples/swapcontext.c: Likewise.
10018 * manual/examples/termios.c: Likewise.
10019 * manual/examples/testopt.c: Likewise.
10020 * manual/examples/testpass.c: Likewise.
10021 * manual/examples/timeval_subtract.c: Likewise.
10022
10023 [BZ #13792]
10024 * manual/time.texi (Elapsed Time): Move timeval_subtract example
10025 function to ...
10026 * manual/timeval_subtract.c.texi: ... here, new file.
10027
10028 2012-03-02 David S. Miller <davem@davemloft.net>
10029
10030 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
10031
10032 2012-03-02 Joseph Myers <joseph@codesourcery.com>
10033
10034 [BZ #3976]
10035 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
10036 (__sin): Save and restore rounding mode and use round-to-nearest
10037 for all computations.
10038 (__cos): Save and restore rounding mode and use round-to-nearest
10039 for all computations.
10040 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
10041 <fenv.h>.
10042 (tan): Save and restore rounding mode and use round-to-nearest for
10043 all computations.
10044 * math/libm-test.inc (cos_test_tonearest): New function.
10045 (cos_test_towardzero): Likewise.
10046 (cos_test_downward): Likewise.
10047 (cos_test_upward): Likewise.
10048 (sin_test_tonearest): Likewise.
10049 (sin_test_towardzero): Likewise.
10050 (sin_test_downward): Likewise.
10051 (sin_test_upward): Likewise.
10052 (tan_test_tonearest): Likewise.
10053 (tan_test_towardzero): Likewise.
10054 (tan_test_downward): Likewise.
10055 (tan_test_upward): Likewise.
10056 (main): Call the new functions.
10057 * sysdeps/i386/fpu/libm-test-ulps: Update.
10058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10059
10060 [BZ #10135]
10061 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
10062 small n, then large n, before computing and testing k+n.
10063 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
10064 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
10065 Likewise.
10066 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
10067 Likewise.
10068 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
10069 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
10070 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
10071 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
10072 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10073 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10074 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
10075 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
10076 * math/libm-test.inc (scalbn_test): Add more tests.
10077 (scalbln_test): Likewise.
10078
10079 * manual/filesys.texi (mode_t): Describe constraints on size and
10080 signedness, not exact equivalence to a particular type.
10081 (ino_t): Likewise.
10082 (ino64_t): Likewise.
10083 (dev_t): Likewise.
10084 (nlink_t): Likewise.
10085 (blkcnt_t): Likewise.
10086 (blkcnt64_t): Likewise.
10087 * manual/llio.texi (off_t): Likewise.
10088
10089 [BZ #3976]
10090 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
10091 (__ieee754_exp): Save and restore rounding mode and use
10092 round-to-nearest for all computations.
10093 * math/libm-test.inc (exp_test_tonearest): New function.
10094 (exp_test_towardzero): Likewise.
10095 (exp_test_downward): Likewise.
10096 (exp_test_upward): Likewise.
10097 (main): Call the new functions.
10098 * sysdeps/i386/fpu/libm-test-ulps: Update.
10099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10100
10101 2012-03-01 Chris Demetriou <cgd@google.com>
10102
10103 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
10104 have predictable order.
10105
10106 2012-03-01 David S. Miller <davem@davemloft.net>
10107
10108 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
10109
10110 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
10111 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
10112 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
10113 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
10114
10115 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
10116 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
10117 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
10118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
10119 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
10120 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
10121 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
10122 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
10123 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
10124
10125 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10126
10127 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
10128 * sysdeps/sparc/fpu/libm-test-ulps: to here.
10129 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
10130
10131 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
10132 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10133 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10134 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10135 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10136 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10137 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10138 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10139 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10140 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10141 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10142 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10143 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10144 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10145 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10146 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10147 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
10148 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
10149 * sysdeps/sparc/elf/configure: Regenerated.
10150
10151 2012-03-01 Joseph Myers <joseph@codesourcery.com>
10152
10153 * configure.in (AS, LD): Require binutils 2.20 or later.
10154 * configure: Regenerated.
10155 * manual/install.texi (Tools for Compilation): Give binutils 2.20
10156 as required minimum version.
10157 * INSTALL: Regenerated.
10158
10159 [BZ #2541]
10160 [BZ #4108]
10161 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
10162 before squaring exponent.
10163 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
10164 bottom long double and 27 bits of top long double before squaring
10165 exponent.
10166 * math/libm-test.inc (erfc_test): Add more tests.
10167 * sysdeps/i386/fpu/libm-test-ulps: Update.
10168 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10170
10171 2012-03-01 Kai Tietz <ktietz@redhat.com>
10172
10173 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
10174 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
10175 containing bit-fields.
10176 * soft-fp/extended.h (_FP_UNION_E): Likewise.
10177 * soft-fp/single.h (_FP_UNION_S): Likewise.
10178 * soft-fp/double.h (_FP_UNION_D): Likewise.
10179
10180 2012-02-29 Joseph Myers <joseph@codesourcery.com>
10181
10182 [BZ #13786]
10183 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
10184 not include ../strcmp.S.
10185 [USE_AS_STRNCASECMP_L]: Likewise.
10186 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
10187 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
10188 * sysdeps/i386/i686/multiarch/strncase_l-c.c
10189 (__strncasecmp_l_ia32): Define as alias to
10190 __strncasecmp_l_nonascii.
10191
10192 [BZ #5794]
10193 * math/libm-test.inc (expm1_test): Add test for bug 5794.
10194 * sysdeps/i386/fpu/libm-test-ulps: Update.
10195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10196
10197 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
10198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10199
10200 2012-02-29 Jeff Law <law@redhat.com>
10201
10202 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
10203 out of bounds read.
10204
10205 2012-02-29 Marek Polacek <polacek@redhat.com>
10206
10207 [BZ #13706]
10208 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
10209 * elf/Makefile: Add rules to run tst-unused-dep.out.
10210
10211 2012-02-28 David S. Miller <davem@davemloft.net>
10212
10213 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
10214 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
10215 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
10216 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
10217 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
10218 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
10219
10220 2012-02-29 Joseph Myers <joseph@codesourcery.com>
10221
10222 * math/libm-test.inc (llround_test): Move one test from
10223 lround_test. Use TEST_f_L in moved test.
10224 (lround_test): Move misplaced test to llround_test. Add testcase
10225 from bug 2561.
10226
10227 2012-02-28 Ulrich Drepper <drepper@gmail.com>
10228
10229 * sysdeps/x86_64/fpu/e_expf.S: New file.
10230 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
10231
10232 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
10233
10234 [BZ #13637]
10235 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
10236 of remain_len that may cause incomplete multi-byte character and
10237 false match.
10238 * posix/bug-regex33.c: New file.
10239 * posix/Makefile (tests): Add bug-regex33.
10240
10241 2012-02-28 Joseph Myers <joseph@codesourcery.com>
10242
10243 * manual/macros.texi: New file.
10244 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
10245 * manual/libc.texinfo: Include macros.texi.
10246 * manual/creatute.texi: Likewise.
10247 * manual/install.texi: Likewise.
10248 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
10249 @glibcadj{} in references to the GNU C Library.
10250 * manual/charset.texi: Likewise.
10251 * manual/conf.texi: Likewise.
10252 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
10253 when not using those macros.
10254 * manual/creature.texi: Likewise.
10255 * manual/crypt.texi: Likewise.
10256 * manual/errno.texi: Likewise.
10257 * manual/filesys.texi: Likewise.
10258 * manual/header.texi: Likewise.
10259 * manual/install.texi: Likewise.
10260 * manual/intro.texi: Likewise.
10261 * manual/io.texi: Likewise.
10262 * manual/job.texi: Likewise.
10263 * manual/lang.texi: Likewise.
10264 * manual/libc.texiinfo: Likewise.
10265 * manual/llio.texi: Likewise.
10266 * manual/locale.texi: Likewise.
10267 * manual/maint.texi: Likewise.
10268 * manual/math.texi: Likewise.
10269 * manual/memory.texi: Likewise.
10270 * manual/message.texi: Likewise.
10271 * manual/nss.texi: Likewise.
10272 * manual/pattern.texi: Likewise.
10273 * manual/process.texi: Likewise.
10274 * manual/resource.texi: Likewise.
10275 * manual/search.texi: Likewise.
10276 * manual/setjmp.texi: Likewise.
10277 * manual/signal.texi: Likewise.
10278 * manual/socket.texi: Likewise.
10279 * manual/startup.texi: Likewise.
10280 * manual/stdio.texi: Likewise.
10281 * manual/string.texi: Likewise.
10282 * manual/sysinfo.texi: Likewise.
10283 * manual/syslog.texi: Likewise.
10284 * manual/terminal.texi: Likewise.
10285 * manual/time.texi: Likewise.
10286 * manual/users.texi: Likewise.
10287 * INSTALL: Regenerated.
10288 * NOTES: Regenerated.
10289 * sysdeps/gnu/errlist.c: Regenerated.
10290
10291 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
10292
10293 * include/dirent.h: Include <dirstream.h> before
10294 <dirent/dirent.h>.
10295
10296 2012-02-28 David S. Miller <davem@davemloft.net>
10297
10298 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
10299 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
10300 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
10301 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
10302
10303 2012-02-27 David S. Miller <davem@davemloft.net>
10304
10305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
10306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
10307 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
10308 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
10309
10310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
10311 frame pointer instead of stack pointer relative arg slot.
10312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10313 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10314 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10315
10316 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
10317
10318 [BZ #3992]
10319 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
10320
10321 2012-02-27 David S. Miller <davem@davemloft.net>
10322
10323 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
10324 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
10325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
10326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
10327 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
10328 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
10329 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
10330 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
10331
10332 2012-02-27 Joseph Myers <joseph@codesourcery.com>
10333
10334 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
10335 later. Allow versions 5-9.
10336 * configure: Regenerated.
10337 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
10338 required minimum version and 4.6 as recommended version. Do not
10339 mention bugs in GCC 2.7 and 2.8.
10340 * INSTALL: Regenerated.
10341
10342 2012-02-27 David S. Miller <davem@davemloft.net>
10343
10344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
10345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
10346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
10347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
10348 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
10349 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
10350 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
10351 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
10352
10353 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
10354 manipulate bits before adding and subtracting TWO112[sx].
10355 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10356
10357 2012-02-27 Roland McGrath <roland@hack.frob.com>
10358
10359 [BZ #13775]
10360 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
10361 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
10362 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
10363 being in POSIX, because they are in 1003.1-2008.
10364
10365 * rt/tst-aio.c: Include <fcntl.h>.
10366 * rt/tst-aio7.c: Likewise.
10367 * rt/tst-aio64.c: Likewise.
10368
10369 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
10370
10371 2012-02-27 Joseph Myers <joseph@codesourcery.com>
10372
10373 * manual/install.texi (--with-headers): Describe headers as
10374 interface headers, not private headers.
10375 (Specific advice for GNU/Linux systems): Describe use of headers
10376 from "make headers_install", not private headers from older
10377 kernels.
10378 * INSTALL: Regenerated.
10379 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
10380 Change to 2.6.19.
10381 * sysdeps/unix/sysv/linux/configure: Regenerated.
10382
10383 * manual/llio.texi (fclean): Remove documentation.
10384
10385 * manual/Makefile (libc-texi-generated): New variable. Include
10386 version.texi.
10387 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
10388 $(libc-texi-generated), not duplicated list of files.
10389 (version.texi, stamp-version): New rules.
10390 (realclean): Remove $(libc-texi-generated), not individual files
10391 from that list. Do not remove dir-add.texinfo.
10392 * manual/libc.texinfo: Comment out uses of edition numbers and
10393 references to printed manual. Remove last-updated dates.
10394 (EDITION): Comment out.
10395 (ISBN): Likewise.
10396 (VERSION, UPDATED): Remove.
10397 (version.texi): Include.
10398
10399 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
10400
10401 * sysdeps/posix/spawni.c: Include <signal.h>.
10402 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
10403 * sysdeps/pthread/aio_fsync.c: Likewise.
10404
10405 2012-02-26 Ulrich Drepper <drepper@gmail.com>
10406
10407 * conform/Makefile (tests): Run only when not cross-compiling and
10408 when fast-check is not defined.
10409
10410 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
10411 * conform/data/limits.h-data: Fixes for POSIX2008.
10412 * conform/run-conformtest.sh: Run all tests.
10413 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
10414 headers.
10415 * include/bits/dlfcn.h: Likewise.
10416 * include/langinfo.h: Likewise.
10417 * include/monetary.h: Likewise.
10418 * include/sys/poll.h: Likewise.
10419
10420 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
10421 for __USE_GNU.
10422 * posix/spawn.h: Define __need_sigset_t.
10423 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
10424 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
10425 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
10426 to get sigevent_t only.
10427 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
10428 only for __USE_GNU.
10429 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10430 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10431 process_vm_writev only for __USE_GNU.
10432 * termios/termios.h: Declare tcgetsid also for POSIX2008.
10433
10434 * conform/Makefile: For now ignore errors from run-conformtest.
10435 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
10436 POSIX to avoid namespace pollution. Don't prepend headers.
10437 * conform/data/aio.h-data: Fixes for POSIX testing.
10438 * conform/data/fcntl.h-data: Likewise.
10439 * conform/data/glob.h-data: Likewise.
10440 * conform/data/grp.h-data: Likewise.
10441 * conform/data/pthread.h-data: Likewise.
10442 * conform/data/pwd.h-data: Likewise.
10443 * conform/data/signal.h-data: Likewise.
10444 * conform/data/spawn.h-data: Likewise.
10445 * conform/data/stdio.h-data: Likewise.
10446 * conform/data/stdlib.h-data: Likewise.
10447 * conform/data/stropts.h-data: Likewise.
10448 * conform/data/sys/mman.h-data: Likewise.
10449 * conform/data/sys/stat.h-data: Likewise.
10450 * conform/data/sys/types.h-data: Likewise.
10451 * conform/data/sys/wait.h-data: Likewise.
10452 * conform/data/time.h-data: Likewise.
10453 * conform/data/unistd.h-data: Likewise.
10454 * conform/data/utime.h-data: Likewise.
10455
10456 * io/sys/stat.h: fchmod was always in POSIX.
10457 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
10458 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
10459 * rt/aio.h: Define __need_timespec before including <time.h>.
10460 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
10461 struct. Add forward declaration of pthread_attr_t and use it in
10462 sigevent.
10463 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10464 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10465 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
10466 always remove CLK_TCK definition.
10467
10468 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
10469
10470 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
10471
10472 2012-02-25 Ulrich Drepper <drepper@gmail.com>
10473
10474 * conform/run-conformtest.sh: New file.
10475 * conform/Makefile: Run run-conformtest for tests.
10476 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
10477 support.
10478
10479 * conform/data/uchar.h-data: New file.
10480 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
10481 * conform/data/arpa/inet.h-data: Likewise.
10482 * conform/data/assert.h-data: Likewise.
10483 * conform/data/complex.h-data: Likewise.
10484 * conform/data/cpio.h-data: Likewise.
10485 * conform/data/ctype.h-data: Likewise.
10486 * conform/data/dirent.h-data: Likewise.
10487 * conform/data/dlfcn.h-data: Likewise.
10488 * conform/data/errno.h-data: Likewise.
10489 * conform/data/fcntl.h-data: Likewise.
10490 * conform/data/float.h-data: Likewise.
10491 * conform/data/fmtmsg.h-data: Likewise.
10492 * conform/data/fnmatch.h-data: Likewise.
10493 * conform/data/ftw.h-data: Likewise.
10494 * conform/data/glob.h-data: Likewise.
10495 * conform/data/grp.h-data: Likewise.
10496 * conform/data/iconv.h-data: Likewise.
10497 * conform/data/inttypes.h-data: Likewise.
10498 * conform/data/langinfo.h-data: Likewise.
10499 * conform/data/libgen.h-data: Likewise.
10500 * conform/data/limits.h-data: Likewise.
10501 * conform/data/locale.h-data: Likewise.
10502 * conform/data/math.h-data: Likewise.
10503 * conform/data/monetary.h-data: Likewise.
10504 * conform/data/mqueue.h-data: Likewise.
10505 * conform/data/ndbm.h-data: Likewise.
10506 * conform/data/net/if.h-data: Likewise.
10507 * conform/data/netdb.h-data: Likewise.
10508 * conform/data/netinet/in.h-data: Likewise.
10509 * conform/data/nl_types.h-data: Likewise.
10510 * conform/data/poll.h-data: Likewise.
10511 * conform/data/pthread.h-data: Likewise.
10512 * conform/data/pwd.h-data: Likewise.
10513 * conform/data/regex.h-data: Likewise.
10514 * conform/data/sched.h-data: Likewise.
10515 * conform/data/search.h-data: Likewise.
10516 * conform/data/semaphore.h-data: Likewise.
10517 * conform/data/setjmp.h-data: Likewise.
10518 * conform/data/signal.h-data: Likewise.
10519 * conform/data/spawn.h-data: Likewise.
10520 * conform/data/stdarg.h-data: Likewise.
10521 * conform/data/stdio.h-data: Likewise.
10522 * conform/data/stdlib.h-data: Likewise.
10523 * conform/data/string.h-data: Likewise.
10524 * conform/data/strings.h-data: Likewise.
10525 * conform/data/stropts.h-data: Likewise.
10526 * conform/data/sys/ipc.h-data: Likewise.
10527 * conform/data/sys/mman.h-data: Likewise.
10528 * conform/data/sys/msg.h-data: Likewise.
10529 * conform/data/sys/resource.h-data: Likewise.
10530 * conform/data/sys/select.h-data: Likewise.
10531 * conform/data/sys/sem.h-data: Likewise.
10532 * conform/data/sys/shm.h-data: Likewise.
10533 * conform/data/sys/socket.h-data: Likewise.
10534 * conform/data/sys/stat.h-data: Likewise.
10535 * conform/data/sys/statvfs.h-data: Likewise.
10536 * conform/data/sys/time.h-data: Likewise.
10537 * conform/data/sys/timeb.h-data: Likewise.
10538 * conform/data/sys/times.h-data: Likewise.
10539 * conform/data/sys/types.h-data: Likewise.
10540 * conform/data/sys/uio.h-data: Likewise.
10541 * conform/data/sys/un.h-data: Likewise.
10542 * conform/data/sys/utsname.h-data: Likewise.
10543 * conform/data/sys/wait.h-data: Likewise.
10544 * conform/data/syslog.h-data: Likewise.
10545 * conform/data/tar.h-data: Likewise.
10546 * conform/data/termios.h-data: Likewise.
10547 * conform/data/utime.h-data: Likewise.
10548 * conform/data/utmpx.h-data: Likewise.
10549 * conform/data/varargs.h-data: Likewise.
10550 * conform/data/wchar.h-data: Likewise.
10551 * conform/data/wctype.h-data: Likewise.
10552 * conform/data/wordexp.h-data: Likewise.
10553
10554 * include/stropts.h: New file.
10555 * include/uchar.h: New file.
10556 * include/aio.h: Changes to allow conformtest.pl to use the headers.
10557 * include/assert.h: Likewise.
10558 * include/ctype.h: Likewise.
10559 * include/dirent.h: Likewise.
10560 * include/dlfcn.h: Likewise.
10561 * include/fcntl.h: Likewise.
10562 * include/fnmatch.h: Likewise.
10563 * include/glob.h: Likewise.
10564 * include/grp.h: Likewise.
10565 * include/libio.h: Likewise.
10566 * include/locale.h: Likewise.
10567 * include/math.h: Likewise.
10568 * include/net/if.h: Likewise.
10569 * include/netdb.h: Likewise.
10570 * include/netinet/in.h: Likewise.
10571 * include/pthread.h: Likewise.
10572 * include/pwd.h: Likewise.
10573 * include/regex.h: Likewise.
10574 * include/sched.h: Likewise.
10575 * include/search.h: Likewise.
10576 * include/setjmp.h: Likewise.
10577 * include/signal.h: Likewise.
10578 * include/stdio.h: Likewise.
10579 * include/stdlib.h: Likewise.
10580 * include/string.h: Likewise.
10581 * include/sys/cdefs.h: Likewise.
10582 * include/sys/mman.h: Likewise.
10583 * include/sys/msg.h: Likewise.
10584 * include/sys/resource.h: Likewise.
10585 * include/sys/select.h: Likewise.
10586 * include/sys/socket.h: Likewise.
10587 * include/sys/stat.h: Likewise.
10588 * include/sys/statvfs.h: Likewise.
10589 * include/sys/time.h: Likewise.
10590 * include/sys/times.h: Likewise.
10591 * include/sys/uio.h: Likewise.
10592 * include/sys/utsname.h: Likewise.
10593 * include/sys/wait.h: Likewise.
10594 * include/termios.h: Likewise.
10595 * include/time.h: Likewise.
10596 * include/ulimit.h: Likewise.
10597 * include/unistd.h: Likewise.
10598 * include/utime.h: Likewise.
10599 * include/wchar.h: Likewise.
10600 * include/wctype.h: Likewise.
10601 * include/wordexp.h: Likewise.
10602
10603 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
10604
10605 * time/time.h: TIME_UTC must be a macro.
10606 Make timespec_get available for ISO C11 only as well.
10607
10608 2012-02-24 Ulrich Drepper <drepper@gmail.com>
10609
10610 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
10611 Reported by Peng Haitao <penght@cn.fujitsu.com>.
10612
10613 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10614
10615 * configure.in: Use -o not -a in test for unsupported multi-arch.
10616
10617 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10618
10619 * manual/texinfo.tex: Update to version 2012-01-19.16.
10620
10621 2012-02-24 Joseph Myers <joseph@codesourcery.com>
10622
10623 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
10624
10625 2012-02-24 Roland McGrath <roland@hack.frob.com>
10626
10627 [BZ #13738]
10628 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
10629 * manual/fdl-1.3.texi: New file.
10630 * manual/fdl-1.1.texi: File removed.
10631
10632 [BZ #13738]
10633 * manual/libc.texinfo (FDL_VERSION): New @set.
10634 Use it for mention of FDL in cover text.
10635 (Documentation License): Use it in @include file name.
10636
10637 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10638 Roland McGrath <roland@hack.frob.com>
10639
10640 [BZ #5461]
10641 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
10642 not LONG_LONG_MAX and LONG_LONG_MIN.
10643 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
10644 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
10645 name.
10646 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
10647
10648 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10649
10650 [BZ #2547]
10651 [BZ #11365]
10652 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
10653 manipulate bits before adding and subtracting TWO23[sx].
10654 * math/libm-test.inc (nearbyint_test): Add more tests.
10655
10656 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10657
10658 [BZ #2548]
10659 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
10660 bits before adding and subtracting TWO23[sx].
10661 * math/libm-test.inc (rint_test): Add more tests.
10662 (rint_test_tonearest): Likewise.
10663 (rint_test_towardzero): Likewise.
10664 (rint_test_downward): Likewise.
10665 (rint_test_upward: Likewise.
10666
10667 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10668
10669 [BZ #10110]
10670 * include/stdc-predef.h: New file. Extracted from features.h.
10671 * include/features.h: Include stdc-predef.h.
10672 * Makefile (headers): Add stdc-predef.h.
10673 * CONFORMANCE (Compiler limitations): Update.
10674
10675 2012-02-22 Joseph Myers <joseph@codesourcery.com>
10676
10677 * manual/libc.texinfo (VERSION, UPDATED): Revert.
10678
10679 2012-02-21 David S. Miller <davem@davemloft.net>
10680
10681 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
10682 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10683
10684 2012-02-20 David S. Miller <davem@davemloft.net>
10685
10686 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
10687 using a normal save/restore sequence, rather than allocating a
10688 dummy stack frame just to store a frame pointer and restore.
10689 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10690
10691 2012-02-21 Joseph Myers <joseph@codesourcery.com>
10692
10693 * manual/install.texi: Fix stray word in line-wrapped comment.
10694
10695 2012-02-20 David S. Miller <davem@davemloft.net>
10696
10697 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
10698 both binutils and gcc support GOTDATA.
10699
10700 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
10701 "rd %pc" in the PIC register setup sequences.
10702
10703 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
10704 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10705 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
10706 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10707 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
10708 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
10709 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10710 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
10711 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
10712 (SYSCALL_ERROR_HANDLER): Likewise.
10713 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
10714 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
10715 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
10716 (SYSCALL_ERROR_HANDLER): Likewise.
10717
10718 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
10719 (HAVE_GCC_GOTDATA): New.
10720 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
10721 relocation support in both binutils and gcc.
10722 * sysdeps/sparc/elf/configure: Regenerate.
10723
10724 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
10725 * sysdeps/sparc/sparc32/elf/configure: Delete.
10726 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
10727 * sysdeps/sparc/sparc64/elf/configure: Delete.
10728 * sysdeps/sparc/elf/configure.in: New file.
10729 * sysdeps/sparc/elf/configure: Generate.
10730
10731 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
10732 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
10733 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
10734 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
10735 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
10736
10737 2012-02-21 Joseph Myers <joseph@codesourcery.com>
10738
10739 * manual/install.texi: Do not mention specific glibc version
10740 numbers.
10741 * manual/libc.texinfo (VERSION, UPDATED): Update.
10742 (@copying): Use @copyright{} and range of years.
10743
10744 2012-02-21 Joseph Myers <joseph@codesourcery.com>
10745
10746 [BZ #13695]
10747 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
10748 [crti.S not in sysdirs] (generated): Do not append.
10749 [crti.S not in sysdirs] (omit-deps): Likewise.
10750 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
10751 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
10752 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
10753 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
10754 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
10755 Likewise.
10756 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
10757 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
10758 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
10759 * csu/defs.awk: Remove file.
10760 * sysdeps/generic/initfini.c: Likewise.
10761 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
10762 variable.
10763 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
10764 Likewise.
10765
10766 2012-02-20 Joseph Myers <joseph@codesourcery.com>
10767
10768 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
10769 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
10770 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
10771 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
10772 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10773 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
10774 <bits/epoll.h>.
10775 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
10776 (__EPOLL_PACKED): Define to empty if not defined by
10777 <bits/epoll.h>.
10778 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
10779 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10780 bits/epoll.h.
10781
10782 2012-02-20 Joseph Myers <joseph@codesourcery.com>
10783
10784 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
10785 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
10786 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
10787 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
10788 <bits/timerfd.h>.
10789 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
10790 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10791 bits/timerfd.h.
10792
10793 2012-02-20 Joseph Myers <joseph@codesourcery.com>
10794
10795 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
10796 in C locale.
10797 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10798 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10799 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
10800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10801
10802 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
10803
10804 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10805 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
10806
10807 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
10808
10809 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
10810 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
10811 defined.
10812 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
10813 Likewise.
10814 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
10815 entry for 2.16.
10816
10817 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
10818
10819 * math/w_acos.c: Use non-signaling floating-point comparisons.
10820 * math/w_acosf.c: Likewise.
10821 * math/w_acosh.c: Likewise.
10822 * math/w_acoshf.c: Likewise.
10823 * math/w_acoshl.c: Likewise.
10824 * math/w_acosl.c: Likewise.
10825 * math/w_asin.c: Likewise.
10826 * math/w_asinf.c: Likewise.
10827 * math/w_asinl.c: Likewise.
10828 * math/w_atanh.c: Likewise.
10829 * math/w_atanhf.c: Likewise.
10830 * math/w_atanhl.c: Likewise.
10831 * math/w_exp2.c: Likewise.
10832 * math/w_exp2f.c: Likewise.
10833 * math/w_exp2l.c: Likewise.
10834 * math/w_j0.c: Likewise.
10835 * math/w_j0f.c: Likewise.
10836 * math/w_j0l.c: Likewise.
10837 * math/w_j1.c: Likewise.
10838 * math/w_j1f.c: Likewise.
10839 * math/w_j1l.c: Likewise.
10840 * math/w_jn.c: Likewise.
10841 * math/w_jnf.c: Likewise.
10842 * math/w_log.c: Likewise.
10843 * math/w_log10.c: Likewise.
10844 * math/w_log10f.c: Likewise.
10845 * math/w_log10l.c: Likewise.
10846 * math/w_log2.c: Likewise.
10847 * math/w_log2f.c: Likewise.
10848 * math/w_log2l.c: Likewise.
10849 * math/w_logf.c: Likewise.
10850 * math/w_logl.c: Likewise.
10851 * math/w_sqrt.c: Likewise.
10852 * math/w_sqrtf.c: Likewise.
10853 * math/w_sqrtl.c: Likewise.
10854 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10855 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
10856 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10857 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10858 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10859
10860 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10861
10862 [BZ #9739]
10863 * manual/string.texi (strnlen): Use correct parameter name in
10864 equivalent expression.
10865
10866 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10867
10868 [BZ #11174]
10869 * manual/users.texi (seteuid): Consistently use neweuid for
10870 argument name.
10871
10872 2012-02-19 Joseph Myers <joseph@codesourcery.com>
10873
10874 [BZ #13704]
10875 * manual/nss.texi (Services in the NSS configuration): Correct
10876 list of services in example configuration file.
10877
10878 2012-02-19 Nick Bowler <nbowler@draconx.ca>
10879
10880 [BZ #11322]
10881 * manual/arith.texi: Remove statements about negative zero
10882 behaving identically to zero.
10883
10884 2012-02-18 Joseph Myers <joseph@codesourcery.com>
10885
10886 [BZ #5993]
10887 * manual/install.texi: Do not document upgrading from libc5.
10888
10889 2012-02-18 Joseph Myers <joseph@codesourcery.com>
10890
10891 [BZ #4596]
10892 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
10893
10894 2012-02-18 David S. Miller <davem@davemloft.net>
10895
10896 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
10897 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
10898 %o7 across the call.
10899 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
10900 instead.
10901 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
10902 SETUP_PIC_REG_LEAF.
10903 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10904 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
10905 * sysdeps/sparc/crtn.S: Likewise.
10906
10907 2012-02-17 Ulrich Drepper <drepper@gmail.com>
10908
10909 * aout/Makefile: Remove.
10910
10911 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
10912
10913 [BZ #13058]
10914 * manual/examples/argp-ex1.c (main): Format definition in GNU
10915 style.
10916 * manual/examples/argp-ex2.c (main): Likewise.
10917 * manual/examples/argp-ex3.c (main): Likewise.
10918 * manual/examples/argp-ex4.c (main): Likewise.
10919 * manual/examples/longopt.c (main): Use new-style prototype
10920 definition.
10921 * manual/examples/strncat.c (main): Specify return type and use
10922 (void) for arguments.
10923 * manual/examples/subopt.c (main): Use char **argv argument.
10924
10925 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10926
10927 [BZ #5077]
10928 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
10929 rounding modes.
10930
10931 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
10932
10933 [BZ #6907]
10934 * manual/string.texi (strchr): Change when strchrnul is
10935 recommended.
10936
10937 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
10938
10939 [BZ #174]
10940 * manual/locale.texi (setlocale): Document LOCPATH.
10941
10942 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10943
10944 [BZ #10210]
10945 * manual/process.texi (execle): Move @dots{} before last argument.
10946
10947 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
10948
10949 [BZ #12047]
10950 * manual/charset.texi (Generic Charset Conversion): Fix typo
10951 (LC_TYPE -> LC_CTYPE).
10952
10953 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
10954
10955 [BZ #5805]
10956 * manual/arith.texi (scalbn): Use @var{} on parameter names.
10957 (scalbnf): Likewise.
10958 (scalbnl): Likewise.
10959 (scalbln): Likewise.
10960 (scalblnf): Likewise.
10961 (scalblnl): Likewise.
10962 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
10963 (vwarnx): Likewise.
10964 (verr): Likewise.
10965 (verrx): Likewise.
10966 * manual/filesys.texi (telldir): Use braces around return type.
10967 * manual/llio.texi (mmap): Add space after comma.
10968 (mmap64): Likewise.
10969 * manual/math.texi (jn): Use @var{} on parameter names.
10970 (jnf): Likewise.
10971 (jnl): Likewise.
10972 (yn): Likewise.
10973 (ynf): Likewise.
10974 (ynl): Likewise.
10975 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
10976 line.
10977 * manual/resource.texi (ulimit): Use @dots{} instead of literal
10978 "...".
10979 (sched_get_priority_min): Remove semicolon on @deftypefun line.
10980 (sched_get_priority_max): Likewise.
10981 * manual/signal.texi (sigvec): Add space after comma.
10982 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
10983 names.
10984 (if_indextoname): Likewise.
10985 (if_freenameindex): Likewise.
10986 (sendto): Use ',' instead of '.' in prototype.
10987 * manual/startup.texi (syscall): Use @dots{} instead of literal
10988 "...".
10989 * manual/stdio.texi (__fpending): Separate initial words of
10990 paragraph from @deftypefun line.
10991 * manual/syslog.texi (syslog): Use @dots{} instead of literal
10992 "...".
10993 (vsyslog): Use @var{} on parameter names.
10994 * manual/terminal.texi (stty): Use @var{} on parameter names.
10995 * manual/users.texi (getutmp): Use @var{} on parameter names.
10996 (getutmpx): Likewise.
10997
10998 2012-02-17 Joseph Myers <joseph@codesourcery.com>
10999
11000 [BZ #6884]
11001 * manual/stdio.texi (fopen): Fix typos in description of
11002 ",ccs=STRING".
11003
11004 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
11005
11006 [BZ #4026]
11007 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
11008 get clock_id definition.
11009
11010 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
11011
11012 [BZ #4822]
11013 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
11014 (madvise): Cast every argument to void on its own.
11015
11016 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11017
11018 [BZ #9902]
11019 * manual/startup.texi (Exit Status): Fix typo.
11020
11021 2012-02-17 Joseph Myers <joseph@codesourcery.com>
11022
11023 [BZ #10140]
11024 * manual/examples/argp-ex1.c: Include <stdlib.h>.
11025 * manual/examples/argp-ex2.c: Likewise.
11026 * manual/examples/argp-ex3.c: Likewise.
11027
11028 2012-02-16 Richard Henderson <rth@redhat.com>
11029
11030 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
11031 * sysdeps/s390/s390-32/initfini.c: Remove.
11032 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
11033 * sysdeps/s390/s390-64/initfini.c: Remove.
11034
11035 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11036
11037 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
11038 compiler output for sysdeps/generic/initfini.c.
11039 * sysdeps/sh/elf/initfini.c: Remove file.
11040
11041 2012-02-16 David S. Miller <davem@davemloft.net>
11042
11043 [BZ #11494]
11044 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
11045
11046 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
11047 * sysdeps/sparc/crti.S: New file.
11048 * sysdeps/sparc/crtn.S: New file.
11049 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
11050 * sysdeps/sparc/sparc64/Makefile: Likewise.
11051
11052 2012-02-15 Mike Frysinger <vapier@gentoo.org>
11053
11054 [BZ #3335]
11055 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
11056
11057 2012-02-15 Roland McGrath <roland@hack.frob.com>
11058
11059 [BZ #4822]
11060 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
11061
11062 * mach/devstream.c (cookie_io_functions_t): Macro removed.
11063 (write, read, close): Likewise.
11064 Patch by Aurelien Jarno <aurelien@aurel32.net>.
11065
11066 2012-02-15 Joseph Myers <joseph@codesourcery.com>
11067
11068 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
11069 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
11070 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
11071 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
11072 <bits/signalfd.h>.
11073 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
11074 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11075 bits/signalfd.h.
11076
11077 2012-02-14 Marek Polacek <polacek@redhat.com>
11078
11079 * sysdeps/x86_64/crti.S: New file.
11080 * sysdeps/x86_64/crtn.S: New file.
11081 * sysdeps/x86_64/elf/initfini.c: Remove file.
11082
11083 2012-02-13 Joseph Myers <joseph@codesourcery.com>
11084
11085 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
11086 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
11087 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
11088 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
11089 <bits/inotify.h>.
11090 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
11091 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11092 bits/inotify.h.
11093
11094 2012-02-13 Joseph Myers <joseph@codesourcery.com>
11095
11096 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
11097 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
11098 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
11099 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
11100 <bits/eventfd.h>.
11101 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
11102 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11103 bits/eventfd.h.
11104
11105 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
11106
11107 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
11108 __feraiseexcept instead of feraiseexcept.
11109
11110 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
11111 nanosleep invocations.
11112 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
11113 strings, and add error checking for a nanosleep invocations.
11114
11115 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
11116
11117 Replace FSF snail mail address with URLs, as per GNU coding standards.
11118 Most of the snail mail addresses were wrong anyway, and omitting
11119 them makes the source code easier to maintain. Almost all of the
11120 changes are to license notices and to locale LC_IDENTIFICATION
11121 addresses, except for this one:
11122 * manual/libc.texinfo: In "Published by", give the FSF's URL,
11123 not its snail mail address.
11124
11125 2012-02-09 Richard Henderson <rth@twiddle.net>
11126
11127 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
11128 of kernel-features.h.
11129
11130 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
11131
11132 2012-02-08 Marek Polacek <polacek@redhat.com>
11133
11134 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
11135 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
11136 * sysdeps/gnu/_G_config.h: Likewise.
11137 * sysdeps/generic/_G_config.h: Likewise.
11138
11139 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
11140
11141 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
11142 tests.
11143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11144
11145 * sysdeps/powerpc/powerpc32/crti.S: New file.
11146 * sysdeps/powerpc/powerpc32/crtn.S: New file.
11147 * sysdeps/powerpc/powerpc64/crti.S: New file.
11148 * sysdeps/powerpc/powerpc64/crtn.S: New file.
11149
11150 * Makeconfig (have-initfini): Don't set.
11151 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
11152 * configure.in (nopic_initfini): Don't substitute.
11153 * config.h.in (HAVE_INITFINI): Don't #undef.
11154 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
11155 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
11156
11157 2012-02-08 Joseph Myers <joseph@codesourcery.com>
11158
11159 Support crti.S and crtn.S provided directly by architectures.
11160 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
11161 [crti.S in sysdirs] (omit-deps): Likewise.
11162 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
11163 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
11164 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
11165 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
11166 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
11167 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
11168 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
11169 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
11170 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
11171 compiler output for sysdeps/generic/initfini.c.
11172 * sysdeps/i386/elf/Makefile: Remove file.
11173 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
11174
11175 2012-02-07 Marek Polacek <polacek@redhat.com>
11176
11177 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
11178 * sysdeps/gnu/_G_config.h: Likewise.
11179 * sysdeps/mach/hurd/_G_config.h: Likewise.
11180
11181 2012-02-07 Marek Polacek <polacek@redhat.com>
11182
11183 * math/Makefile (tests): Add tst-CMPLX2.
11184 * math/tst-CMPLX2.c: New file.
11185
11186 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
11187
11188 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11189
11190 * math/libm-test.inc (jn_test): Add missing L suffix.
11191
11192 2012-02-06 Marek Polacek <polacek@redhat.com>
11193
11194 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
11195 * sysdeps/i386/fpu/e_powf.S: Likewise.
11196 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11197 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
11198 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11199 * sysdeps/i386/fpu/e_pow.S: Likewise.
11200 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
11201 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11202 * sysdeps/i386/fpu/s_expm1.S: Likewise.
11203 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
11204 * sysdeps/i386/fpu/e_log2.S: Likewise.
11205 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11206 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11207 * sysdeps/i386/fpu/e_powl.S: Likewise.
11208 * sysdeps/i386/fpu/s_log1p.S: Likewise.
11209 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11210 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
11211 * sysdeps/i386/fpu/e_logl.S: Likewise.
11212 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
11213 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
11214 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
11215 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
11216 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11217 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11218 * sysdeps/i386/fpu/e_log.S: Likewise.
11219 * sysdeps/i386/fpu/s_cexp.S: Likewise.
11220 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11221 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
11222 * sysdeps/i386/fpu/e_logf.S: Likewise.
11223 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11224 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11225 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
11226 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
11227 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
11228 * sysdeps/i386/fpu/e_log10.S: Likewise.
11229 * sysdeps/i386/fpu/s_frexp.S: Likewise.
11230 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11231 * sysdeps/i386/fpu/s_asinh.S: Likewise.
11232 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
11233 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11234 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
11235 * sysdeps/i386/asm-syntax.h: Likewise.
11236 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11237 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11238 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11239 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
11240 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
11241 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11242 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
11243 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
11244 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11245 * sysdeps/powerpc/sysdep.h: Likewise.
11246 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
11247 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11248
11249 2012-02-06 Joseph Myers <joseph@codesourcery.com>
11250
11251 [BZ #411]
11252 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
11253
11254 2012-02-06 Joseph Myers <joseph@codesourcery.com>
11255
11256 * sysdeps/i386/sysdep.h: Include <features.h>.
11257 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
11258 version.
11259
11260 2012-02-05 Joseph Myers <joseph@codesourcery.com>
11261
11262 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
11263 Define.
11264 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
11265 LOAD_PIC_REG_STR.
11266
11267 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11268
11269 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
11270 (SETUP_PIC_REG): Use GET_PC_THUNK.
11271 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
11272 macro.
11273
11274 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11275
11276 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
11277 for non-PIC compilation.
11278 (SETUP_PIC_REG): Add .p2align directive.
11279 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
11280 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
11281 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11282 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11283 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11284 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11285 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
11286 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11287 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11288 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11289 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11290 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11291 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11292 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11293 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11294 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11295 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11296 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11297 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11298 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11299 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11300 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11301 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11302 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11303 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11304 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11305 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11306 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11307 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11308 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11309 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11310 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11311 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11312 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11313 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11314 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11315 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11316 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11317 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11318 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11319 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11320
11321 2012-02-03 Joseph Myers <joseph@codesourcery.com>
11322
11323 * math/tst-CMPLX.c: Include <stdio.h>.
11324
11325 2012-01-31 Joseph Myers <joseph@codesourcery.com>
11326
11327 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
11328 float.
11329 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11330 * sysdeps/sparc/bits/mathdef.h: Likewise.
11331
11332 2012-01-31 Marek Polacek <polacek@redhat.com>
11333
11334 * libio/libio.h: Don't define _PARAMS.
11335 * locale/programs/config.h: Don't define PARAMS.
11336 * stdlib/strtol_l.c: Likewise.
11337 (__strtol_l): Remove PARAMS from the prototype.
11338
11339 2012-01-31 Ulrich Drepper <drepper@gmail.com>
11340
11341 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
11342 names. Just use the correct names. Remove unnecessary wrapper
11343 functions.
11344 * malloc/arena.c: Likewise.
11345 * malloc/hooks.c: Likewise.
11346
11347 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
11348 ARENA_TEST says not to. Simplify test for creation of a new arena.
11349 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
11350
11351 2012-01-30 Ulrich Drepper <drepper@gmail.com>
11352
11353 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
11354 into tail calls.
11355 (update_get_addr): New function.
11356 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
11357 GET_ADDR_MODULE parameter.
11358
11359 2012-01-30 Joseph Myers <joseph@codesourcery.com>
11360
11361 * crypt/cert.c: Remove __STDC__ conditionals.
11362 * crypt/crypt-entry.c: Likewise.
11363 * crypt/crypt_util.c: Likewise.
11364 * libio/filedoalloc.c: Likewise.
11365 * libio/fileops.c: Likewise.
11366 * libio/genops.c: Likewise.
11367 * libio/iofclose.c: Likewise.
11368 * libio/iofdopen.c: Likewise.
11369 * libio/iofopen.c: Likewise.
11370 * libio/iofopen64.c: Likewise.
11371 * libio/iogetdelim.c: Likewise.
11372 * libio/iopopen.c: Likewise.
11373 * libio/obprintf.c: Likewise.
11374 * libio/oldfileops.c: Likewise.
11375 * libio/oldiofclose.c: Likewise.
11376 * libio/oldiofdopen.c: Likewise.
11377 * libio/oldiofopen.c: Likewise.
11378 * libio/oldiopopen.c: Likewise.
11379 * libio/wfiledoalloc.c: Likewise.
11380 * libio/wgenops.c: Likewise.
11381 * locale/programs/xmalloc.c: Likewise.
11382 * misc/syslog.c: Likewise.
11383 * stdio-common/xbug.c: Likewise.
11384 * string/memchr.c: Likewise.
11385 * string/memcmp.c: Likewise.
11386 * string/memrchr.c: Likewise.
11387 * string/rawmemchr.c: Likewise.
11388 * sysdeps/posix/getcwd.c: Likewise.
11389 * time/strftime_l.c: Likewise.
11390
11391 2012-01-30 Joseph Myers <joseph@codesourcery.com>
11392
11393 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
11394 * config.make.in (config-cflags-sse2avx): Define.
11395 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
11396 Fix typo.
11397
11398 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
11399
11400 * scripts/config.guess: Update from upstream config git repository.
11401 * scripts/config.sub: Likewise.
11402
11403 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
11404
11405 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
11406 (EM_NUM): Update.
11407 (R_TILEPRO_*, R_TILEGX_*): New macros.
11408
11409 * scripts/firstversions.awk: Fix bug in version range handling.
11410
11411 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
11412
11413 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
11414
11415 * include/sys/epoll.h: New file.
11416 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
11417 libc_hidden_def.
11418
11419 2012-01-28 Ulrich Drepper <drepper@gmail.com>
11420
11421 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
11422 Avoid unnecessary __WORDSIZE == 64 test.
11423 (fmaxf): Use VEX format if possible.
11424 (fmax): Likewise.
11425 (fminf): Likewise.
11426 (fmin): Likewise.
11427
11428 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
11429 * math/math_private.h: Remove libc_fegetround* and
11430 libc_fesetround*.
11431 * sysdeps/i386/configure.in: Check for -msse2avx.
11432 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
11433 also if SSE2AVX is defined.
11434 Remove libc_fegetround* and libc_fesetround*.
11435 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
11436 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
11437 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
11438 of HAS_YMM_USABLE.
11439 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11440 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11441 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11442 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11443 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11444
11445 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
11446
11447 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11448
11449 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
11450 size is not set.
11451 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11452
11453 2012-01-27 Ulrich Drepper <drepper@gmail.com>
11454
11455 [BZ #13618]
11456 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
11457 relocation.
11458 * Makeconfig (libm): Define.
11459 * elf/Makefile: Add rules to build and run tst-relsort1.
11460 * elf/tst-relsort1.c: New file.
11461 * elf/tst-relsort1mod1.c: New file.
11462 * elf/tst-relsort1mod2.c: New file.
11463
11464 2012-01-27 Joseph Myers <joseph@codesourcery.com>
11465
11466 * math/s_ldexp.c: Remove __STDC__ conditionals.
11467 * math/s_ldexpf.c: Likewise.
11468 * math/s_ldexpl.c: Likewise.
11469 * math/s_nextafter.c: Likewise.
11470 * math/s_nexttowardf.c: Likewise.
11471 * math/s_significand.c: Likewise.
11472 * math/s_significandf.c: Likewise.
11473 * math/s_significandl.c: Likewise.
11474 * math/w_jnl.c: Likewise.
11475 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
11476 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
11477 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
11478 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
11479 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
11480 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11481 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
11482 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
11483 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11484 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
11485 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
11486 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11487 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
11488 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
11489 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11490 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
11491 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
11492 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
11493 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11494 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11495 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11496 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11497 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11498 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11499 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11500 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11501 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11502 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11503 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
11504 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11505 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11506 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
11507 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11508 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
11509 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
11510 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11511 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
11512 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
11513 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
11514 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
11515 * sysdeps/ieee754/k_standard.c: Likewise.
11516 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11517 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11518 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11519 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11520 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11521 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11522 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11523 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11524 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11525 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11526 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11527 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
11528 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11529 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11530 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11531 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11532 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11533 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11534 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11535 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11536 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11537 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11538 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11539 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11540 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11541 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
11542 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11543 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11544 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11545 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
11546 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
11547 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
11548 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
11549 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
11550 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
11551 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
11552 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
11553 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
11554 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
11555 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
11556 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
11557 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
11558 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
11559 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
11560 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
11561 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11562 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11563 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11564 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
11565 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
11566 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
11567 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11568 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11569 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
11570 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
11571 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
11572 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
11573 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11574 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11575 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11576 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11577 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
11578 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
11579 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11580 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11581 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11582 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11583 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
11584 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
11585 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11586 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11587 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11588 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11589 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
11590 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
11591 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11592 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
11593 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
11594 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
11595 * sysdeps/ieee754/s_matherr.c: Likewise.
11596 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
11597 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
11598 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11599 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11600
11601 2012-01-26 Joseph Myers <joseph@codesourcery.com>
11602
11603 * crypt/md5.h: Remove __STDC__ conditionals.
11604 * libio/libioP.h: Likewise.
11605 * locale/programs/config.h: Likewise.
11606 * sysdeps/generic/sysdep.h: Likewise.
11607 * sysdeps/i386/asm-syntax.h: Likewise.
11608 * sysdeps/s390/asm-syntax.h: Likewise.
11609 * sysdeps/unix/sysdep.h: Likewise.
11610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11612
11613 2012-01-26 Joseph Myers <joseph@codesourcery.com>
11614
11615 * libio/libio.h: Remove __STDC__ conditionals.
11616 * malloc/obstack.h: Likewise.
11617 * math/complex.h: Likewise.
11618 * math/math.h: Likewise.
11619 * sysdeps/generic/_G_config.h: Likewise.
11620 * sysdeps/gnu/_G_config.h: Likewise.
11621 * sysdeps/mach/hurd/_G_config.h: Likewise.
11622 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11623 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
11624 * sysdeps/sparc/bits/mathdef.h: Likewise.
11625
11626 2012-01-26 Ulrich Drepper <drepper@gmail.com>
11627
11628 [BZ #13583]
11629 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
11630 Clean up HAS_* macros.
11631 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
11632 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
11633 possible.
11634 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
11635 HAS_AVX.
11636 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11637 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11638 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11639 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11640 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11641
11642 2012-01-25 Joseph Myers <joseph@codesourcery.com>
11643
11644 * elf/tst-unique3.cc (gets): Remove declaration.
11645 * elf/tst-unique3lib.cc (gets): Likewise.
11646 * elf/tst-unique3lib2.cc (gets): Likewise.
11647 * elf/tst-unique4.cc (gets): Likewise.
11648
11649 2012-01-24 Ulrich Drepper <drepper@gmail.com>
11650
11651 * include/stdio.h: Add C++ protection. Add gets declarations and
11652 definitions.
11653 * debug/tst-chk1.c: Don't declare gets here.
11654 * stdio-common/tst-gets.c: Likewise.
11655
11656 2012-01-24 Joseph Myers <joseph@codesourcery.com>
11657
11658 * posix/glob: Remove directory.
11659
11660 2012-01-24 Joseph Myers <joseph@codesourcery.com>
11661
11662 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
11663
11664 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
11665
11666 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
11667 of the non-standard EPFNOSUPPORT.
11668
11669 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
11670
11671 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
11672 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
11673 ANYWHERE set to 1 only on KERN_NO_SPACE error.
11674
11675 2012-01-21 Ulrich Drepper <drepper@gmail.com>
11676
11677 * wcsmbs/uchar.h: Test __STDC_VERSION__.
11678
11679 2012-01-20 Ulrich Drepper <drepper@gmail.com>
11680
11681 * nscd/aicache.c (addhstaiX): Do not cache negative results of
11682 transient errors.
11683 * nscd/grpcache.c (cache_addgr): Likewise.
11684 * nscd/hstcache.c (cache_addhst): Likewise.
11685 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11686 * nscd/pwdcache.c (cache_addpw): Likewise.
11687 * nscd/servicescache.c (cache_addserv): Likewise.
11688
11689 2012-01-16 Ulrich Drepper <drepper@gmail.com>
11690
11691 * malloc/malloc.c: Various cleanups.
11692 * malloc/hooks.c: Likewise.
11693
11694 * stdlib/Makefile (tests): Add bug-fmtmsg1.
11695 * stdlib/bug-fmtmsg1.c: New file.
11696
11697 * stdlib/fmtmsg.c (init): Add missing unlock.
11698 Patch by Peng Haitao <penght@cn.fujitsu.com>.
11699
11700 2012-01-12 Marek Polacek <polacek@redhat.com>
11701
11702 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
11703 and _GNU_SOURCE.
11704
11705 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11706
11707 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
11708 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
11709 macro to ensure uniqueness of label name.
11710 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11711 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11712
11713 2012-01-11 Ulrich Drepper <drepper@gmail.com>
11714
11715 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
11716
11717 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
11718 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
11719 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11720 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
11721
11722 2012-01-10 Ulrich Drepper <drepper@gmail.com>
11723
11724 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
11725
11726 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
11727 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
11728 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
11729
11730 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
11731
11732 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
11733 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
11734 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11735 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
11736
11737 * math/bits/math-finite.h: Add ldexp support.
11738
11739 2012-01-10 Marek Polacek <polacek@redhat.com>
11740
11741 * locale/programs/localedef.h (show_archive_content): Add noreturn
11742 attribute.
11743
11744 2012-01-09 Ulrich Drepper <drepper@gmail.com>
11745
11746 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
11747
11748 2012-01-08 Ulrich Drepper <drepper@gmail.com>
11749
11750 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
11751
11752 * io/Makefile (headers): Add bits/poll2.h.
11753
11754 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
11755
11756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
11757 typo #include statement.
11758
11759 2012-01-08 Ulrich Drepper <drepper@gmail.com>
11760
11761 * include/sys/cdefs.h: Define __attribute_alloc_size.
11762 * catgets/gencat.c: Add alloc_size attribute and apply consistently
11763 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
11764 * elf/pldd.c: Likewise.
11765 * iconv/iconv_charmap.c: Likewise.
11766 * iconv/iconvconfig.c: Likewise.
11767 * iconv/strtab.c: Likewise.
11768 * locale/programs/locale.c: Likewise.
11769 * locale/programs/localedef.h: Likewise.
11770 * locale/programs/simple-hash.c: Likewise.
11771 * nscd/nscd.h: Likewise.
11772 * nss/makedb.c: Likewise.
11773 * sysdeps/generic/ldconfig.h: Likewise.
11774 * locale/programs/localedef.c: Remove xmalloc prototype.
11775 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
11776
11777 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11778
11779 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
11780 appropriate.
11781
11782 2012-01-08 Ulrich Drepper <drepper@gmail.com>
11783
11784 * math/Makefile (tests): Add tst-CMPLX.
11785 * math/tst-CMPLX.c: New file.
11786
11787 * math/complex.h (CMPLXL): Fix typo.
11788
11789 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
11790 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
11791 GLIBC_2.16.
11792 * debug/tst-chk1.c: Add poll and ppoll tests.
11793 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
11794 * include/sys/poll.h: Add hidden proto for ppoll.
11795 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
11796 * sysdeps/mach/hurd/ppoll.c: Likewise.
11797 * io/ppoll.c: Likewise.
11798 * debug/poll_chk.c: New file.
11799 * debug/ppoll_chk.c: New file.
11800 * include/bits/poll2.h: New file.
11801 * io/bits/poll2.h: New file.
11802
11803 [BZ #1350]
11804 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
11805
11806 * configure.in: static is always set to yes. Remove.
11807 * config.make.in: Don't set build-static.
11808 * Makeconfig: Remove use of build-static.
11809 * dlfcn/Makefile: Likewise.
11810 * elf/Makefile: Likewise.
11811 * math/Makefile: Likewise.
11812 * misc/Makefile: Likewise.
11813 * nptl/Makefile: Likewise.
11814 * sysdeps/mach/hurd/Makefile: Likewise.
11815
11816 * configure.in: PWD_P is not used anymore.
11817 * config.make.in: Remove PWD_P entry.
11818
11819 * configure.in: Remove last remnants of RANLIB.
11820 No need to check for signed size_t anymore.
11821 Don't set libc_commonpagesize and libc_relro_required here for Alpha
11822 and IA-64.
11823 Remove __builtin_expect test because we require at least gcc 3.4.
11824 * aclocal.m4: Likewise.
11825
11826 * wcsmbs/mbrtoc16.c: Implement using towc function.
11827 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
11828 * wcsmbs/wcsmbsload.c: Likewise.
11829 * iconv/gconv_simple.c: Likewise.
11830 * iconv/gconv_int.h: Likewise.
11831 * iconv/gconv_builtin.h: Likewise.
11832 * iconv/iconv_prog.c: Remove CHAR16 handling.
11833
11834 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
11835
11836 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
11837
11838 * configure.in: Remove --with-elf and --enable-bounded options.
11839 Dont set base_machine for ia64. More non-ELF conditions removed.
11840 Remove testing and setting of leading underscore information.
11841 * config.make.in (build-bounded): Set to no.
11842 * config.h.in: Remove NO_UNDERSCORES entry.
11843 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
11844 them.
11845 * csu/start.c: Remove !NO_UNDERSCORE code.
11846 * locale/localeinfo.h: Likewise.
11847 * sysdeps/generic/machine-gmon.h: Likewise.
11848 * sysdeps/generic/sysdep.h: Likewise.
11849 * sysdeps/i386/sysdep.h: Likewise.
11850 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
11851 * sysdeps/mach/sysdep.h: Likewise.
11852 * sysdeps/s390/s390-32/sysdep.h: Likewise.
11853 * sysdeps/s390/s390-64/sysdep.h: Likewise.
11854 * sysdeps/sh/sysdep.h: Likewise.
11855 * sysdeps/sparc/sparc32/alloca.S: Likewise.
11856 * sysdeps/unix/i386/sysdep.S: Likewise.
11857 * sysdeps/unix/sparc/start.c: Likewise.
11858 * sysdeps/unix/sparc/sysdep.S: Likewise.
11859 * sysdeps/unix/sparc/sysdep.h: Likewise.
11860 * sysdeps/unix/start.c: Likewise.
11861 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11862 * sysdeps/x86_64/sysdep.h: Likewise.
11863
11864 2012-01-07 Ulrich Drepper <drepper@gmail.com>
11865
11866 [BZ #13553]
11867 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
11868 for non-gcc.
11869 * argp/argp-fmtstream.h: Use const instead __const.
11870 * argp/argp.h: Likewise.
11871 * assert/assert.h: Likewise.
11872 * bits/fenv.h: Likewise.
11873 * bits/sched.h: Likewise.
11874 * bits/sigset.h: Likewise.
11875 * bits/sigthread.h: Likewise.
11876 * catgets/nl_types.h: Likewise.
11877 * conform/data/pthread.h-data: Likewise.
11878 * crypt/crypt-private.h: Likewise.
11879 * crypt/crypt.h: Likewise.
11880 * crypt/crypt_util.c: Likewise.
11881 * ctype/ctype.h: Likewise.
11882 * debug/execinfo.h: Likewise.
11883 * debug/mbsnrtowcs_chk.c: Likewise.
11884 * debug/mbsrtowcs_chk.c: Likewise.
11885 * debug/wcsnrtombs_chk.c: Likewise.
11886 * debug/wcsrtombs_chk.c: Likewise.
11887 * debug/wcstombs_chk.c: Likewise.
11888 * dirent/dirent.h: Likewise.
11889 * dlfcn/dlfcn.h: Likewise.
11890 * elf/neededtest4.c: Likewise.
11891 * grp/grp.h: Likewise.
11892 * gshadow/gshadow.h: Likewise.
11893 * iconv/gconv.h: Likewise.
11894 * iconv/gconv_int.h: Likewise.
11895 * iconv/gconv_simple.c: Likewise.
11896 * iconv/iconv.h: Likewise.
11897 * iconv/loop.c: Likewise.
11898 * iconv/skeleton.c: Likewise.
11899 * include/aio.h: Likewise.
11900 * include/aliases.h: Likewise.
11901 * include/argz.h: Likewise.
11902 * include/arpa/inet.h: Likewise.
11903 * include/assert.h: Likewise.
11904 * include/dirent.h: Likewise.
11905 * include/dlfcn.h: Likewise.
11906 * include/execinfo.h: Likewise.
11907 * include/fcntl.h: Likewise.
11908 * include/fenv.h: Likewise.
11909 * include/glob.h: Likewise.
11910 * include/grp.h: Likewise.
11911 * include/libintl.h: Likewise.
11912 * include/mntent.h: Likewise.
11913 * include/netdb.h: Likewise.
11914 * include/pwd.h: Likewise.
11915 * include/rpc/netdb.h: Likewise.
11916 * include/sched.h: Likewise.
11917 * include/search.h: Likewise.
11918 * include/shadow.h: Likewise.
11919 * include/signal.h: Likewise.
11920 * include/stdio.h: Likewise.
11921 * include/stdlib.h: Likewise.
11922 * include/string.h: Likewise.
11923 * include/sys/socket.h: Likewise.
11924 * include/sys/stat.h: Likewise.
11925 * include/sys/statfs.h: Likewise.
11926 * include/sys/statvfs.h: Likewise.
11927 * include/sys/syslog.h: Likewise.
11928 * include/sys/time.h: Likewise.
11929 * include/sys/uio.h: Likewise.
11930 * include/time.h: Likewise.
11931 * include/unistd.h: Likewise.
11932 * include/utmp.h: Likewise.
11933 * include/wchar.h: Likewise.
11934 * include/wctype.h: Likewise.
11935 * inet/aliases.h: Likewise.
11936 * inet/arpa/inet.h: Likewise.
11937 * inet/netinet/ether.h: Likewise.
11938 * inet/netinet/in.h: Likewise.
11939 * intl/libintl.h: Likewise.
11940 * io/bits/fcntl2.h: Likewise.
11941 * io/fcntl.h: Likewise.
11942 * io/ftw.h: Likewise.
11943 * io/sys/poll.h: Likewise.
11944 * io/sys/stat.h: Likewise.
11945 * io/sys/statfs.h: Likewise.
11946 * io/sys/statvfs.h: Likewise.
11947 * io/utime.h: Likewise.
11948 * libio/bits/stdio.h: Likewise.
11949 * libio/bits/stdio2.h: Likewise.
11950 * libio/libio.h: Likewise.
11951 * libio/libioP.h: Likewise.
11952 * libio/stdio.h: Likewise.
11953 * locale/lc-ctype.c: Likewise.
11954 * locale/locale.h: Likewise.
11955 * login/utmp.h: Likewise.
11956 * malloc/arena.c: Likewise.
11957 * malloc/malloc.c: Likewise.
11958 * malloc/malloc.h: Likewise.
11959 * malloc/mcheck.c: Likewise.
11960 * malloc/mtrace.c: Likewise.
11961 * math/bits/mathcalls.h: Likewise.
11962 * math/fenv.h: Likewise.
11963 * math/math_private.h: Likewise.
11964 * misc/bits/error.h: Likewise.
11965 * misc/bits/syslog.h: Likewise.
11966 * misc/err.h: Likewise.
11967 * misc/error.h: Likewise.
11968 * misc/fstab.h: Likewise.
11969 * misc/mntent.h: Likewise.
11970 * misc/regexp.h: Likewise.
11971 * misc/search.h: Likewise.
11972 * misc/sgtty.h: Likewise.
11973 * misc/sys/mman.h: Likewise.
11974 * misc/sys/syslog.h: Likewise.
11975 * misc/sys/uio.h: Likewise.
11976 * misc/sys/xattr.h: Likewise.
11977 * misc/ttyent.h: Likewise.
11978 * nis/rpcsvc/ypclnt.h: Likewise.
11979 * nss/nss.h: Likewise.
11980 * posix/bits/unistd.h: Likewise.
11981 * posix/fnmatch.h: Likewise.
11982 * posix/glob.h: Likewise.
11983 * posix/sched.h: Likewise.
11984 * posix/spawn.h: Likewise.
11985 * posix/sys/wait.h: Likewise.
11986 * posix/unistd.h: Likewise.
11987 * posix/wordexp.h: Likewise.
11988 * pwd/pwd.h: Likewise.
11989 * resolv/netdb.h: Likewise.
11990 * resource/sys/resource.h: Likewise.
11991 * rt/aio.h: Likewise.
11992 * rt/bits/mqueue2.h: Likewise.
11993 * rt/mqueue.h: Likewise.
11994 * shadow/shadow.h: Likewise.
11995 * signal/signal.h: Likewise.
11996 * socket/send.c: Likewise.
11997 * socket/sendto.c: Likewise.
11998 * socket/sys/socket.h: Likewise.
11999 * stdio-common/printf.h: Likewise.
12000 * stdlib/bits/stdlib.h: Likewise.
12001 * stdlib/fmtmsg.h: Likewise.
12002 * stdlib/monetary.h: Likewise.
12003 * stdlib/stdlib.h: Likewise.
12004 * stdlib/ucontext.h: Likewise.
12005 * streams/stropts.h: Likewise.
12006 * string/argz.h: Likewise.
12007 * string/bits/string2.h: Likewise.
12008 * string/string.h: Likewise.
12009 * string/strings.h: Likewise.
12010 * sunrpc/rpc/auth.h: Likewise.
12011 * sunrpc/rpc/auth_des.h: Likewise.
12012 * sunrpc/rpc/clnt.h: Likewise.
12013 * sunrpc/rpc/netdb.h: Likewise.
12014 * sunrpc/rpc/pmap_clnt.h: Likewise.
12015 * sunrpc/rpc/xdr.h: Likewise.
12016 * sysdeps/generic/inttypes.h: Likewise.
12017 * sysdeps/generic/net/if.h: Likewise.
12018 * sysdeps/generic/sys/swap.h: Likewise.
12019 * sysdeps/gnu/net/if.h: Likewise.
12020 * sysdeps/gnu/utmpx.h: Likewise.
12021 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
12022 * sysdeps/i386/i486/bits/string.h: Likewise.
12023 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
12024 * sysdeps/s390/bits/string.h: Likewise.
12025 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
12026 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
12027 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
12028 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
12029 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
12030 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
12031 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
12032 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
12033 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
12034 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
12035 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
12036 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12037 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
12038 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12039 * sysdeps/unix/sysv/linux/readv.c: Likewise.
12040 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
12041 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12042 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12043 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12044 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12045 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12046 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
12047 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
12048 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
12049 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
12050 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
12051 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
12052 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12053 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
12054 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
12055 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
12056 * sysvipc/sys/ipc.h: Likewise.
12057 * sysvipc/sys/msg.h: Likewise.
12058 * sysvipc/sys/sem.h: Likewise.
12059 * sysvipc/sys/shm.h: Likewise.
12060 * termios/termios.h: Likewise.
12061 * time/sys/time.h: Likewise.
12062 * time/time.h: Likewise.
12063 * wcsmbs/bits/wchar2.h: Likewise.
12064 * wcsmbs/uchar.h: Likewise.
12065 * wcsmbs/wchar.h: Likewise.
12066 * wctype/wctype.h: Likewise.
12067
12068 [BZ #13551]
12069 * Makeconfig: Remove all but ELF support including AIX support.
12070 * Makerules: Likewise.
12071 * config.h.in: Likewise.
12072 * config.make.in: Likewise.
12073 * configure: Likewise.
12074 * configure.in: Likewise.
12075 * csu/Makefile: Likewise.
12076 * csu/version.c: Likewise.
12077 * debug/Makefile: Likewise.
12078 * dlfcn/Makefile: Likewise.
12079 * elf/Makefile: Likewise.
12080 * extra-lib.mk: Likewise.
12081 * iconv/Makefile: Likewise.
12082 * include/libc-symbols.h: Likewise.
12083 * include/shlib-compat.h: Likewise.
12084 * resolv/Makefile: Likewise.
12085 * resolv/res_libc.c: Likewise.
12086 * rt/Makefile: Likewise.
12087 * sysdeps/i386/asm-syntax.h: Likewise.
12088 * sysdeps/i386/sysdep.h: Likewise.
12089 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
12090 * sysdeps/mach/sysdep.h: Likewise.
12091 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
12092 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
12093 * sysdeps/s390/asm-syntax.h: Likewise.
12094 * sysdeps/s390/s390-32/sysdep.h: Likewise.
12095 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12096 * sysdeps/sh/sysdep.h: Likewise.
12097 * sysdeps/unix/sparc/sysdep.h: Likewise.
12098 * sysdeps/wordsize-32/divdi3.c: Likewise.
12099 * sysdeps/x86_64/sysdep.h: Likewise.
12100
12101 * argp/Versions: Remove _argp_unlock_xxx.
12102
12103 [BZ #13559]
12104 * abilist/ld.abilist: Update. Adjust for removal of tls option.
12105 * abilist/libBrokenLocale.abilist: Likewise.
12106 * abilist/libanl.abilist: Likewise.
12107 * abilist/libc.abilist: Likewise.
12108 * abilist/libcrypt.abilist: Likewise.
12109 * abilist/libdl.abilist: Likewise.
12110 * abilist/libm.abilist: Likewise.
12111 * abilist/libnsl.abilist: Likewise.
12112 * abilist/libpthread.abilist: Likewise.
12113 * abilist/libresolv.abilist: Likewise.
12114 * abilist/librt.abilist: Likewise.
12115 * abilist/libthread_db.abilist: Likewise.
12116 * abilist/libutil.abilist: Likewise.
12117 * abilist/libnss_db.abilist: New file.
12118
12119 * scripts/abilist.awk: Add support for indirect functions.
12120
12121 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
12122
12123 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
12124
12125 * shlib-versions: Remove entries for ports architectures.
12126
12127 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
12128 files in ports.
12129 * elf/stackguard-macros.h: Remove support for IA-64.
12130 * elf/tst-auditmod1.c: Likewise.
12131 * sysdeps/generic/ldsodefs.h: Likewise.
12132
12133 * sysdeps/unix/sysv/linux/configure.in: Ports should define
12134 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
12135 configure files.
12136
12137 [BZ #13552]
12138 * configure.in: Remove --enable-omitfp support.
12139 * FAQ.in: Adjust.
12140 * config.make.in: Likewise.
12141 * Makeconfig: Likewise.
12142 * manual/install.texi: Likewise.
12143
12144 In case anyone cares, the IA-64 architecture could move to ports.
12145 * sysdeps/ia64/*: Removed.
12146 * sysdeps/unix/sysv/linux/ia64/*: Removed.
12147 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
12148
12149 [BZ #13555]
12150 * configure.in: Remove entries for unsupported architectures.
12151
12152 [BZ #13533]
12153 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
12154 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
12155 routines.
12156 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
12157 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
12158 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
12159 fall back to using wcrtomb.
12160 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
12161 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
12162 renaming.
12163 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
12164 * wcsmbs/tst-c16c32-1.c: New file.
12165
12166 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
12167 local variable.
12168
12169 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
12170
12171 * elf/tst-unique3.cc: Add explicit declaration of gets.
12172 * elf/tst-unique3lib.cc: Likewise.
12173 * elf/tst-unique3lib2.cc: Likewise.
12174 * elf/tst-unique4.cc: Likewise.
12175
12176 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
12177
12178 2012-01-06 Joseph Myers <joseph@codesourcery.com>
12179
12180 [BZ #13566]
12181 * assert/assert.h (static_assert): Don't define for C++.
12182 * libio/stdio.h (gets): Do declare for C++ <= C++11.
12183 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
12184
12185 2012-01-03 Ulrich Drepper <drepper@gmail.com>
12186
12187 * iconv/loop.c (single loop): Fix assertion in storing of
12188 remaining bytes.
12189
12190 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
12191
12192 2012-01-01 Ulrich Drepper <drepper@gmail.com>
12193
12194 * posix/getconf.c: Update copyright year.
12195 * nss/getent.c: Likewise.
12196 * nss/makedb.c: Likewise.
12197 * iconv/iconvconfig.c: Likewise.
12198 * iconv/iconv_prog.c: Likewise.
12199 * elf/ldconfig.c: Likewise.
12200 * elf/pldd.c: Likewise.
12201 * elf/sotruss.ksh: Likewise.
12202 * catgets/gencat.c: Likewise.
12203 * csu/version.c: Likewise.
12204 * elf/ldd.bash.in: Likewise.
12205 * elf/sprof.c (print_version): Likewise.
12206 * locale/programs/locale.c: Likewise.
12207 * locale/programs/localedef.c: Likewise.
12208 * login/programs/pt_chown.c: Likewise.
12209 * nscd/nscd.c (print_version): Likewise.
12210 * debug/xtrace.sh: Likewise.
12211 * malloc/memusage.sh: Likewise.
12212 * malloc/mtrace.pl: Likewise.
12213 * debug/catchsegv.sh: Likewise.
12214
12215 2011-12-30 Jakub Jelinek <jakub@redhat.com>
12216
12217 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
12218 pure attribute.
12219
12220 2011-12-24 Ulrich Drepper <drepper@gmail.com>
12221
12222 [BZ #13533]
12223 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
12224 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
12225 transformations.
12226 * iconv/gconv_int.h: Likewise.
12227 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
12228 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
12229 from libc for GLIBC_2.16.
12230 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
12231 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
12232 * wcsmbs/uchar.h: Really define mbstate_t.
12233 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
12234 * wcsmbs/c16rtomb.c: New file.
12235 * wcsmbs/mbrtoc16.c: New file.
12236 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
12237 for C/POSIX locale.
12238 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
12239 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
12240
12241 * wcsmbs/wchar.h: Add missing __restrict.
12242
12243 2011-12-23 Ulrich Drepper <drepper@gmail.com>
12244
12245 [BZ #13532]
12246 * time/Makefile (routines): Add timespec_get.
12247 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
12248 * time/time.h: Define TIME_UTC and declare timespec_get. Define
12249 timespec for ISO C11.
12250 * time/timespec_get.c: New file.
12251 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
12252 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
12253
12254 [BZ #13531]
12255 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
12256 * stdlib/stdlib.h: Declare aligned_alloc.
12257 * Versions.def: Add GLIBC_2.16 for libc.
12258 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
12259
12260 [BZ 13527]
12261 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
12262 ISO C11.
12263
12264 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
12265 code.
12266
12267 [BZ #13528]
12268 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
12269
12270 [BZ #13529]
12271 * assert/assert.h (static_assert): Define.
12272
12273 * version.h: Update for 2.16 development version.
12274
12275 [BZ #13526]
12276 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
12277 _ISOC11_SOURCE.
12278
12279 * version.h (RELEASE): Bump for 2.15 release.
12280 * include/features.h (__GLIBC_MINOR__): Bump to 15.
12281
12282 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
12283 Patch by Marek Polacek <mpolacek@redhat.com>.
12284
12285 * bits/byteswap.h: Protect long long constants with __extension__.
12286 * sysdeps/i386/bits/byteswap.h: Likewise.
12287 * sysdeps/ia64/bits/byteswap.h: Likewise.
12288 * sysdeps/s390/bits/byteswap.h: Likewise.
12289 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12290
12291 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12292
12293 [BZ #13540]
12294 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
12295 destination buffer.
12296 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12297
12298 2011-12-23 Marek Polacek <polacek@redhat.com>
12299
12300 * elf/dl-addr.c (determine_info): Add inline keyword.
12301 * elf/tst-auditmod4b.c (check_avx): Likewise.
12302 * elf/tst-auditmod6b.c (check_avx): Likewise.
12303 * elf/tst-auditmod6c.c (check_avx): Likewise.
12304 * elf/tst-auditmod7b.c (check_avx): Likewise.
12305
12306 2011-12-23 Ulrich Drepper <drepper@gmail.com>
12307
12308 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
12309 !__SSE_MATH__.
12310
12311 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12312
12313 [BZ #13540]
12314 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
12315 processing for last bytes.
12316
12317 2011-08-06 Bruno Haible <bruno@clisp.org>
12318
12319 [BZ #13061]
12320 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
12321 U+0385, not to U+1FEE.
12322
12323 [BZ #13062]
12324 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
12325 entry for U+00A5 U+0301.
12326
12327 2011-12-22 Ulrich Drepper <drepper@gmail.com>
12328
12329 [BZ #13166]
12330 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
12331 buffer for the output is too small.
12332
12333 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
12334 optimization.
12335
12336 [BZ #13185]
12337 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
12338 SSE flags if possible.
12339
12340 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12341
12342 [BZ #13540]
12343 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
12344 processing for last bytes.
12345
12346 2011-12-22 Joseph Myers <joseph@codesourcery.com>
12347
12348 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
12349 (syscall-list-default-options, syscall-list-default-condition)
12350 (syscall-list-includes): Define.
12351 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
12352 list of ABIs and options and #if conditions for each ABI. Do not
12353 handle common syscalls between ABIs specially.
12354 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
12355 Remove.
12356 (syscall-list-variants, syscall-list-32bit-options)
12357 (syscall-list-32bit-condition, syscall-list-64bit-options)
12358 (syscall-list-64bit-condition): Define.
12359 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
12360 (syscall-list-variants, syscall-list-32bit-options)
12361 (syscall-list-32bit-condition, syscall-list-64bit-options)
12362 (syscall-list-64bit-condition): Define.
12363 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
12364 Remove.
12365 (syscall-list-variants, syscall-list-32bit-options)
12366 (syscall-list-32bit-condition, syscall-list-64bit-options)
12367 (syscall-list-64bit-condition): Define.
12368 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
12369 Remove.
12370 (syscall-list-variants, syscall-list-32bit-options)
12371 (syscall-list-32bit-condition, syscall-list-64bit-options)
12372 (syscall-list-64bit-condition): Define.
12373
12374 2011-12-22 Ulrich Drepper <drepper@gmail.com>
12375
12376 * locale/iso-639.def: Add brx entry.
12377
12378 [BZ #13328]
12379 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
12380 Proposed by Mariusz_Cukr <marcukr@op.pl>.
12381
12382 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
12383 __feraiseexcept_renamed.
12384
12385 2011-12-21 Ulrich Drepper <drepper@gmail.com>
12386
12387 [BZ #13538]
12388 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
12389 EPOLLET with unsigned values.
12390 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
12391 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
12392
12393 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
12394 to large cancellation.
12395 * math/s_cacoshf.c: Likewise.
12396 * math/s_cacoshl.c: Likewise.
12397
12398 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
12399
12400 [BZ #13305]
12401 [BZ #12786]
12402 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
12403 * math/s_cacoshf.c: Likewise.
12404 * math/s_cacoshl.c: Likewise.
12405
12406 2011-12-21 Ulrich Drepper <drepper@gmail.com>
12407
12408 [BZ #13439]
12409 * iconv/gconv.h: Define __GCONV_SWAP.
12410 * iconvdata/unicode.c: The swap bit must be stored in __flags.
12411 * iconvdata/utf-16.c: Likewise.
12412 * iconvdata/utf-32.c: Likewise.
12413
12414 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
12415
12416 [BZ #13524]
12417 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
12418 numerator after shifting it by one limb.
12419
12420 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
12421
12422 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
12423 under [__USE_EXTERN_INLINES].
12424
12425 2011-12-17 Ulrich Drepper <drepper@gmail.com>
12426
12427 [BZ #13446]
12428 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
12429
12430 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12431
12432 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
12433 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
12434 optimized code.
12435 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
12436 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
12437 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
12438 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
12439 for strncasecmp/strncasecmp_l compilation.
12440 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
12441 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
12442
12443 2011-12-08 Marek Polacek <mpolacek@redhat.com>
12444
12445 [BZ #13484]
12446 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
12447 of __asm__.
12448
12449 2011-12-17 Ulrich Drepper <drepper@gmail.com>
12450
12451 [BZ #13506]
12452 * time/tzfile.c (__tzfile_read): Check values from file header.
12453
12454 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
12455
12456 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
12457 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
12458 * powerpc/powerpc32/dl-start.S: Likewise.
12459 * powerpc/powerpc32/elf/start.S: Likewise.
12460 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12461 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
12462 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
12463 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
12464 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12465 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
12466 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
12467 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12468 * powerpc/powerpc32/fpu/s_round.S: Likewise.
12469 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12470 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12471 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12472 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12473 * powerpc/powerpc32/memset.S: Likewise.
12474 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12475 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12476 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12477 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12478 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12479 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12480 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12481 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12482 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
12483 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
12484 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
12485 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
12486 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
12487
12488 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12489
12490 * math/libm-test.inc: Added more nearbyint tests.
12491 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
12492 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
12493 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
12494 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
12495
12496 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
12497
12498 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
12499 FD_CLOEXEC.
12500
12501 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12502
12503 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
12504 Add wcscpy-ssse3 wcscpy-c.
12505 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
12506 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
12507 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
12508 * sysdeps/x86_64/wcschr.S: New file.
12509 * sysdeps/x86_64/wcsrchr.S: New file.
12510 * string/test-strcmp.c: Remove checking of wcscmp function for
12511 wrong alignments.
12512 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
12513 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
12514 wcsrchr-sse2 wcsrchr-c.
12515 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
12516 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
12517 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
12518 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
12519 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
12520 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
12521 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
12522 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
12523 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
12524 * wcsmbc/wcschr.c (WCSCHR): New macro.
12525
12526 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12527
12528 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
12529 * wcsmbs/test-wcsrchr.c: New file.
12530 * string/test-strrchr.c: Add wcsrchr support.
12531 (WIDE): New macro.
12532 * wcsmbs/test-wcscpy.c: New file.
12533 * string/test-strcpy.c: Add wcscpy support.
12534 (WIDE): New macro.
12535
12536 2011-12-10 Ulrich Drepper <drepper@gmail.com>
12537
12538 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
12539 the inner loop.
12540
12541 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
12542
12543 [BZ #13472]
12544 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
12545
12546 2011-12-04 Ulrich Drepper <drepper@gmail.com>
12547
12548 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
12549 Minor optimizations.
12550
12551 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
12552 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
12553 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12554
12555 2011-12-03 Ulrich Drepper <drepper@gmail.com>
12556
12557 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
12558 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
12559 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
12560 for gcc to avoid warnings.
12561 * inet/Makefile (tests): Add tst-checks.
12562 * inet/tst-checks.c: New file.
12563
12564 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
12565 warning.
12566
12567 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
12568 __wmemcmp_sse2.
12569
12570 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
12571 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
12572
12573 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
12574
12575 2011-12-02 Ulrich Drepper <drepper@gmail.com>
12576
12577 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
12578 problem.
12579
12580 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
12581
12582 2011-11-29 Joseph Myers <joseph@codesourcery.com>
12583
12584 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
12585 conditional on GCC version.
12586 (__arch_compare_and_exchange_val_8_acq)
12587 (__arch_compare_and_exchange_val_16_acq)
12588 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
12589 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
12590 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
12591
12592 2011-12-02 Joseph Myers <joseph@codesourcery.com>
12593
12594 * sysdeps/sh/backtrace.c: New file.
12595
12596 2011-12-02 Andreas Schwab <schwab@redhat.com>
12597
12598 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
12599 parenthesis.
12600
12601 2011-12-01 Andreas Schwab <schwab@redhat.com>
12602
12603 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
12604 falling back to utime.
12605
12606 2011-11-30 Andreas Schwab <schwab@redhat.com>
12607
12608 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
12609 expectations for float.
12610
12611 2011-11-29 Andreas Schwab <schwab@redhat.com>
12612
12613 * locale/weight.h (findidx): Add parameter len.
12614 * locale/weightwc.h (findidx): Likewise.
12615 * posix/fnmatch_loop.c (FCT): Adjust caller.
12616 * posix/regcomp.c (build_equiv_class): Likewise.
12617 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
12618 * posix/regexec.c (check_node_accept_bytes): Likewise.
12619 * string/strcoll_l.c (STRCOLL): Likewise.
12620 * string/strxfrm_l.c (STRXFRM): Likewise.
12621
12622 2011-11-17 Ulrich Drepper <drepper@gmail.com>
12623
12624 * Makefile.in: Remove CVSOPT handling.
12625 * configure.in: Remove use of AC_REVISION.
12626 * iconvdata/Makefile (distribute): No need to filter out CVS.
12627 * scripts/list-sources.sh: Remove CVS, subversion and monotone
12628 handling.
12629
12630 2011-11-16 Andreas Schwab <schwab@redhat.com>
12631
12632 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
12633 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
12634 [USE_AS_STRNCASECMP_L]: Likewise.
12635 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
12636 NO_TLS_DIRECT_SEG_REFS.
12637 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
12638 Fix argument offsets for non-PIC.
12639 [USE_AS_STRNCASECMP_L]: Likewise.
12640 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
12641 NO_TLS_DIRECT_SEG_REFS.
12642
12643 2011-11-15 Ulrich Drepper <drepper@gmail.com>
12644
12645 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
12646 O_CLOEXEC.
12647 * locale/loadlocale.c (_nl_load_locale): Likewise.
12648
12649 2011-11-15 Andreas Schwab <schwab@redhat.com>
12650
12651 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
12652 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
12653 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
12654 (SYSCALL_GETTIME): Set errno on error.
12655
12656 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
12657 count references to noai6ai_cached.
12658
12659 2011-11-15 Ulrich Drepper <drepper@gmail.com>
12660
12661 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
12662
12663 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
12664 FD_CLOEXEC for /proc/self/maps.
12665
12666 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
12667 FD_CLOEXEC for /proc/meminfo.
12668
12669 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
12670 gai.conf.
12671
12672 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
12673 FD_CLOEXEC for given file.
12674
12675 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
12676
12677 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
12678 FD_CLOEXEC for /etc/hosts.
12679 (_gethtent): Likewise.
12680
12681 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
12682
12683 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
12684 cancellation and set FD_CLOEXEC for /etc/netgroup.
12685
12686 * nss/nss_files/files-key.c (search): Don't allow cancellation when
12687 reading /etc/publickey.
12688
12689 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
12690 allow cancellation when reading /etc/group.
12691
12692 * nss/nss_files/files-alias.c (internal_setent): Don't allow
12693 cancellation.
12694 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
12695
12696 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
12697 when using data file.
12698
12699 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
12700
12701 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
12702 (write_nis_obj): Use "c" and "e" in fopen.
12703
12704 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
12705
12706 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
12707
12708 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
12709
12710 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
12711
12712 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
12713 locale.alias.
12714
12715 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
12716
12717 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
12718
12719 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
12720
12721 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
12722 file parsing and set FD_CLOEXEC.
12723
12724 2011-11-14 Ulrich Drepper <drepper@gmail.com>
12725
12726 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
12727
12728 2011-11-14 Andreas Schwab <schwab@redhat.com>
12729
12730 * malloc/arena.c (arena_get2): Don't call reused_arena when
12731 _int_new_arena failed.
12732
12733 2011-11-14 Ulrich Drepper <drepper@gmail.com>
12734
12735 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
12736 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
12737 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
12738 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12739 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12740 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
12741 to compile strcasecmp and strncasecmp.
12742 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
12743 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
12744
12745 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
12746
12747 2011-11-13 Ulrich Drepper <drepper@gmail.com>
12748
12749 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
12750 locale-defines.sym to gen-as-const-headers.
12751 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
12752 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
12753 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
12754 to compile strcasecmp and strncasecmp.
12755 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
12756 strcasecmp_l and strncasecmp_l.
12757 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
12758 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
12759 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
12760 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
12761 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
12762 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
12763 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
12764 * sysdeps/i386/i686/multiarch/strncase.S: New file.
12765 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
12766 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
12767 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
12768
12769 2011-11-12 Ulrich Drepper <drepper@gmail.com>
12770
12771 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
12772 result of SYSDEP_GETTIME_CPU to retval.
12773 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
12774 parameter list to macro. Remove trailing semicolon. Adjust users.
12775
12776 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
12777 variable.
12778
12779 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
12780 mantissa words.
12781 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12782
12783 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
12784 from unused variable.
12785
12786 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
12787 DWARF definitions.
12788 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
12789 for assembling.
12790
12791 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
12792 over namespaces.
12793
12794 * sunrpc/rpc_prot.c (rejected): Fix case value.
12795
12796 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
12797 unsigned long long int to avoid warnings in shift.
12798
12799 * posix/regex_internal.c (re_string_reconstruct): Actually use result
12800 of use of trans.
12801 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
12802 variable tmp.
12803
12804 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
12805 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12806 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12807
12808 * nis/nis_table.c (nis_list): Use variable of correct type for
12809 result of __follow_path call.
12810
12811 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12812
12813 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
12814 of math functions ceil, trunc, floor, round, and sqrt, when
12815 avaliable on the platform.
12816 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
12817 name clash.
12818 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12819 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12820 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12821
12822 2011-10-30 Marek Polacek <mpolacek@redhat.com>
12823
12824 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
12825 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
12826
12827 2011-11-11 Roland McGrath <roland@hack.frob.com>
12828
12829 * include/unistd.h: Fix __readlink return type.
12830 Reported by Chris Metcalf <cmetcalf@tilera.com>.
12831
12832 2011-11-11 Ulrich Drepper <drepper@gmail.com>
12833
12834 * stdlib/ucontext.h: Undo last change for makecontext.
12835
12836 2011-11-11 Andreas Schwab <schwab@redhat.com>
12837
12838 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
12839
12840 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
12841 * setjmp/setjmp.h: Mark functions as non-leaf.
12842 * setjmp/bits/setjmp2.h: Likewise.
12843 * stdlib/ucontext.h: Likewise.
12844
12845 2011-11-10 Andreas Schwab <schwab@redhat.com>
12846
12847 * malloc/arena.c (_int_new_arena): Don't increment narenas.
12848 (reused_arena): Don't check arena limit.
12849 (arena_get2): Atomically check arena limit.
12850
12851 2011-11-08 Ulrich Drepper <drepper@gmail.com>
12852
12853 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
12854 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
12855
12856 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
12857 instructions.
12858
12859 2011-11-07 Andreas Schwab <schwab@redhat.com>
12860
12861 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
12862 handler when locking.
12863
12864 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12865 Fix size of allocated buffer.
12866
12867 2011-11-04 Andreas Schwab <schwab@redhat.com>
12868
12869 [BZ #10103]
12870 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
12871 declarations for long double functions.
12872 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
12873
12874 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
12875
12876 2011-11-03 Andreas Schwab <schwab@redhat.com>
12877
12878 * nscd/nscd.c (main): Don't start AVC thread until credentials are
12879 installed.
12880
12881 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
12882 is disabled.
12883
12884 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
12885
12886 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
12887
12888 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
12889
12890 * include/alloca.h (stackinfo_alloca_round): Define.
12891 (extend_alloca): Use it.
12892 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
12893 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
12894 here.
12895
12896 * scripts/check-local-headers.sh: Ignore libaudit.h.
12897
12898 * nscd/Makefile (extra-objs): Make recursively expanded.
12899
12900 2011-11-01 Ulrich Drepper <drepper@gmail.com>
12901
12902 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
12903 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12904
12905 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
12906 * posix/tst-rfc3484-2.c: Likewise.
12907 * posix/tst-rfc3484-3.c: Likewise.
12908
12909 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
12910 process_vm_writev.
12911 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
12912 process_vm_writev.
12913 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
12914 process_vm_writev from libc using GLIBC_2.15 version.
12915
12916 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
12917
12918 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
12919
12920 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
12921 stack usage.
12922
12923 2011-10-31 Ulrich Drepper <drepper@gmail.com>
12924
12925 [BZ #13367]
12926 * nss/getent.c (initgroups_keys): Show error message in case no group
12927 names are given.
12928
12929 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
12930 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
12931 __bump_nl_timestamp.
12932 * nscd/connections (nscd_init): When host database is served open
12933 netlink socket and request notification about configuration changes.
12934 (main_loop_poll): Track netlink file descriptor and bump timestamp
12935 in case data becomes available.
12936 (main_loop_epoll): Likewise.
12937 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
12938 (database_pers_head): Add extra_data fileds.
12939 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
12940 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
12941 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
12942 Adjust caller.
12943 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
12944 in6ai data, call __free_in6ai.
12945 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
12946 Add -DHAVE_NETLINK.
12947 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
12948 interface information. Reuse previous data if netlink timestamp
12949 is not changed.
12950 (__bump_nl_timestamp): New function.
12951 (__free_in6ai): New function.
12952
12953 2011-10-30 Ulrich Drepper <drepper@gmail.com>
12954
12955 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
12956 close_not_cancel_no_status here.
12957 (__check_pf): Reorganize code a bit to not call close twice if OOM.
12958
12959 2011-10-29 Ulrich Drepper <drepper@gmail.com>
12960
12961 [BZ #13276]
12962 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
12963 return value.
12964
12965 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
12966 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
12967 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
12968
12969 2011-07-03 Andreas Jaeger <aj@suse.de>
12970
12971 [BZ #10709]
12972 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
12973 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
12974 * math/libm-test.inc (sin_test): Add test case.
12975
12976 2011-10-29 Ulrich Drepper <drepper@gmail.com>
12977
12978 [BZ #13337]
12979 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
12980 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12981
12982 * elf/chroot_canon.c (chroot_canon): Cleanups.
12983
12984 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
12985
12986 [BZ #13335]
12987 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
12988 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
12989
12990 * string/test-strchr.c: Make usable for strchrnul testing.
12991 * string/test-strchrnul.c: New file.
12992 * string/Makefile (strop-tests): Add strchrnul.
12993
12994 * po/it.po: Update from translation team.
12995 * po/es.po: Likewise.
12996
12997 2011-10-28 Ulrich Drepper <drepper@gmail.com>
12998
12999 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
13000 the three constants needed as parameters. Drop the others.
13001 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
13002 __m128i_strloadu_tolower.
13003 Create and initialize variable zero and use it in all the places
13004 where _mm_setzero_si128 was used.
13005
13006 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
13007 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
13008 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
13009 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
13010 anymore.
13011 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
13012 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
13013 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
13014 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
13015 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
13016 __mpranred, __mptan.
13017 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
13018 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
13019 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
13020 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
13021 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
13022 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
13023 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
13024 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
13025 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
13026
13027 2011-10-28 Andreas Schwab <schwab@redhat.com>
13028
13029 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
13030 redefine if SHARED.
13031 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
13032
13033 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
13034 wide char related routines to wcsmbs subdir.
13035
13036 2011-10-27 Andreas Schwab <schwab@redhat.com>
13037
13038 [BZ #13344]
13039 * misc/sys/cdefs.h (__THROWNL): Define.
13040 * posix/unistd.h: Use __THREADNL instead of __THREAD
13041 for memory synchronization functions.
13042
13043 2011-10-26 Roland McGrath <roland@hack.frob.com>
13044
13045 [BZ #13349]
13046 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
13047 doesn't exist.
13048 * manual/stdio.texi (Obstack Streams): Node removed.
13049
13050 2011-10-26 Andreas Schwab <schwab@redhat.com>
13051
13052 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
13053 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13054 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13055
13056 * math/math_private.h (math_force_eval): Allow non-addressable
13057 arguments.
13058 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
13059
13060 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13061
13062 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
13063 file is not needed.
13064
13065 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
13066 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
13067 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
13068 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
13069 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
13070 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
13071 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
13072 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
13073 Add AVX variants.
13074 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
13075 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
13076 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
13077 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
13078 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
13079 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
13080 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
13081 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
13082 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
13083 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
13084 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
13085 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
13086 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
13087 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
13088 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
13089 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
13090 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
13091 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
13092 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
13093
13094 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
13095 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
13096
13097 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
13098 place. Use VEX encoding when compiling for AVX.
13099
13100 2011-10-25 Andreas Schwab <schwab@redhat.com>
13101
13102 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
13103 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13104
13105 * string/test-strchr.c (do_test): Don't generate NUL bytes.
13106
13107 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13108
13109 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
13110 useless if() expression.
13111 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13112 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13113 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13114 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13115 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13116 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
13117 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13118 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13119 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13120 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13121 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13122 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13123 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
13124 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13125 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
13126 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
13127 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13128 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13129 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
13130
13131 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
13132
13133 2011-10-25 Andreas Schwab <schwab@redhat.com>
13134
13135 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
13136 condition.
13137 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13138
13139 2011-10-25 Ulrich Drepper <drepper@gmail.com>
13140
13141 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
13142 .text section. Avoid duplicate constants.
13143 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13144 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13145 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13146 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13147 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13148 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13149 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13150 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13151 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13152 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
13153 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13154 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13155 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13156 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13157 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13158 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13159 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13160 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13161 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13162 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13163 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13164 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13165 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13166 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
13167 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
13168 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
13169 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
13170 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
13171 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
13172 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
13173 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
13174 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
13175 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13176 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
13177 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
13178 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
13179 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
13180 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
13181 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
13182 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
13183 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
13184 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
13185 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
13186 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
13187 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
13188
13189 2011-10-24 Ulrich Drepper <drepper@gmail.com>
13190
13191 * sysdeps/x86_64/dla.h: Move to ...
13192 * sysdeps/x86_64/fpu/dla.h: ...here.
13193 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
13194 situations. Use __builtin_fma only for gcc 4.6 and up.
13195
13196 * config.make.in: Add have-mfma4 entry.
13197 * configure.in: Substitute libc_cv_cc_fma4.
13198 * math/Makefile (dbl-only-routines): Add sincostab.
13199 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
13200 Use __sincostab not sincos.
13201 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
13202 name is a macro.
13203 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13204 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13205 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13206 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
13207 using __copysign.
13208 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
13209 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
13210 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
13211 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
13212 and __inv.
13213 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
13214 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
13215 __copysign.
13216 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
13217 define aliases when function name is a macro.
13218 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
13219 sysdeps/ieee754/dbl-64/sincos.tbl.
13220 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
13221 fma4-enabled routines.
13222 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
13223 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
13224 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
13225 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
13226 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
13227 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
13228 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
13229 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
13230 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
13231 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
13232 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
13233 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
13234 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
13235 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
13236 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
13237 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
13238 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
13239 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
13240 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
13241 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
13242 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
13243 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
13244 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
13245 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
13246 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
13247 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
13248 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
13249 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
13250 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
13251 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
13252
13253 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
13254 rename.
13255 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13256 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13257 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13258 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13259 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13260 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13261 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13262 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13263
13264 2011-10-24 Andreas Schwab <schwab@redhat.com>
13265
13266 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
13267
13268 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13269
13270 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
13271
13272 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
13273 prediction.
13274 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
13275
13276 * string/strnlen.c: Don't define STRNLEN, reverse logic.
13277 Remove unused variable magic_bits.
13278 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
13279
13280 * string/strnlen.c: Define and use STRNLEN macro.
13281 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
13282 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
13283 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
13284 * wcsmbs/wcslen.c: Define and use WCSLEN.
13285 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
13286 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
13287 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
13288 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
13289 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
13290 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
13291 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13292
13293 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13294
13295 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13296 strnlen-sse2-no-bsf.
13297 Rename strlen-no-bsf to strlen-sse2-no-bsf.
13298 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
13299 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
13300 Add strnlen support.
13301 (USE_AS_STRNLEN): New macro.
13302 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
13303 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
13304 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
13305 * sysdeps/x86_64/wcslen.S: New file.
13306
13307 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
13308
13309 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
13310 XMM-moves are used for copying on small sizes.
13311
13312 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13313
13314 * wcsmbs/Makefile (strop-tests): Add wcschr.
13315 * wcsmbs/test-wcschr.c: New file.
13316 * string/test-strchr.c: Update.
13317 Add wcschr support.
13318 (WIDE): New macro.
13319
13320 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13321
13322 * wcsmbs/Makefile (strop-tests): Add wcslen.
13323 * wcsmbs/test-wcslen.c: New file.
13324 * string/test-strlen.c: Update.
13325 Add wcslen support.
13326 (WIDE): New macro.
13327
13328 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13329
13330 * po/it.po: Update from translation team.
13331
13332 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13333
13334 * sysdeps/x86_64/wcscmp.S: Update.
13335 Fix wrong comparison semantics.
13336 wcscmp shall use signed comparison not unsigned.
13337 Don't use substraction to avoid overflow bug.
13338 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13339 * wcsmbc/wcscmp.c: Likewise.
13340 * string/test-strcmp.c: Likewise.
13341 Add new tests to check cases with negative values.
13342
13343 2011-10-23 Ulrich Drepper <drepper@gmail.com>
13344
13345 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
13346 * sysdeps/x86_64/dla.h: ...here. New file.
13347 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
13348 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13349 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13350 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13351 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13352 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13353 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13354 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13355 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13356
13357 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
13358
13359 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
13360 __ynl_finite aliases.
13361
13362 2011-10-22 Ulrich Drepper <drepper@gmail.com>
13363
13364 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13365
13366 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
13367 define DLA_FMA.
13368 [DLA_FMA] (EMULV): Use DLA_FMA.
13369 [DLA_FMA] (MUL12): Use EMULV.
13370 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
13371 that are not needed.
13372 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13373 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13374 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13375 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13376 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13377 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13378 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13379
13380 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
13381
13382 * math/s_nan.c: Undef __nan.
13383 * math/s_nanf.c: Undef __nanf.
13384 * math/s_nanl.c: Undef __nanl.
13385 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
13386 "math_private.h".
13387
13388 2011-10-22 Ulrich Drepper <drepper@gmail.com>
13389
13390 * math/s_catan.c: Add branch predictions.
13391 * math/s_catanf.c: Likewise.
13392 * math/s_catanh.c: Likewise.
13393 * math/s_catanhf.c: Likewise.
13394 * math/s_catanhl.c: Likewise.
13395 * math/s_catanl.c: Likewise.
13396 * math/s_cexp.c: Likewise.
13397 * math/s_cexpf.c: Likewise.
13398 * math/s_cexpl.c: Likewise.
13399 * math/s_clog.c: Likewise.
13400 * math/s_clog10.c: Likewise.
13401 * math/s_clog10f.c: Likewise.
13402 * math/s_clog10l.c: Likewise.
13403 * math/s_clogf.c: Likewise.
13404 * math/s_clogl.c: Likewise.
13405 * math/s_csqrt.c: Likewise.
13406 * math/s_csqrtf.c: Likewise.
13407 * math/s_csqrtl.c: Likewise.
13408 * math/s_ctanf.c: Likewise.
13409 * math/s_ctanh.c: Likewise.
13410 * math/s_ctanhf.c: Likewise.
13411 * math/s_ctanhl.c: Likewise.
13412 * math/s_ctanl.c: Likewise.
13413
13414 * math/math_private.h: Define __nan, __nanf, __nanl.
13415 * math/s_cacosh.c: Include <math_private.h>.
13416 * math/s_cacoshl.c: Likewise.
13417 * math/s_casinh.c: Likewise.
13418 * math/s_casinhf.c: Likewise.
13419 * math/s_casinhl.c: Likewise.
13420 * math/s_ccos.c: Rely entire on ccosh.
13421 * math/s_ccosf.c: Rely entire on ccoshf.
13422 * math/s_ccosl.c: Rely entirely on ccoshl.
13423 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
13424 Remove tests for FE_INVALID.
13425 * math/s_ccoshf.c: Likewise.
13426 * math/s_ccoshl.c: Likewise.
13427 * math/s_csin.c: Likewise.
13428 * math/s_csinf.c: Likewise.
13429 * math/s_csinh.c Likewise.
13430 * math/s_csinhf.c: Likewise.
13431 * math/s_csinhl.c: Likewise.
13432 * math/s_csinl.c: Likewise.
13433 * math/s_ctan.c: Likewise.
13434 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
13435 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
13436 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
13437
13438 2011-10-21 Ulrich Drepper <drepper@gmail.com>
13439
13440 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
13441 compilation problems.
13442
13443 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
13444 __builtin_expect.
13445
13446 2011-10-20 Ulrich Drepper <drepper@gmail.com>
13447
13448 * sysdeps/i386/configure.in: Test for -mfma4 option.
13449 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
13450 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
13451 COMMON_CPUID_INDEX_80000001.
13452 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
13453 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
13454 use it if FMA3 is not supported.
13455 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
13456
13457 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
13458 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13459
13460 2011-10-20 Andreas Schwab <schwab@redhat.com>
13461
13462 [BZ #12892]
13463 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
13464 it would create a cycle with a link time dependency.
13465
13466 2011-10-19 Ulrich Drepper <drepper@gmail.com>
13467
13468 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
13469 instruction.
13470 * string/Makefile (strop-tests): Add rawmemchr.
13471 * string/test-rawmemchr.c: New file.
13472
13473 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
13474 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
13475 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
13476 when compiling str{,n}casecmp and when AVX is available. Hook up
13477 new optimized code in initializers.
13478
13479 2011-10-19 Andreas Schwab <schwab@redhat.com>
13480
13481 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
13482 __feraiseexcept instead of feraiseexcept.
13483
13484 2011-10-18 Ulrich Drepper <drepper@gmail.com>
13485
13486 * math/math_private.h: Define defaults for libc_fetestexcept and
13487 libc_feupdateenv.
13488 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
13489 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
13490 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13491 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13492 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
13493 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13494 libc_fetestexcept and libc_feupdateenv.
13495
13496 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
13497 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
13498 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
13499 * sysdeps/x86_64/fpu/math_private.h: Define special version of
13500 libc_feholdexcept_setround.
13501
13502 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
13503 Add s_nearbyint-c and s_nearbyintf-c.
13504 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
13505 nearbyintf inlines.
13506 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
13507 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
13508 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
13509 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
13510
13511 * math/math_private.h: Define defaults for libc_fegetround,
13512 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
13513 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
13514 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
13515 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
13516 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
13517 standard functions.
13518 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13519 Remove comments and hacks for old compiler versions.
13520 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
13521 libc_fegetround, libc_fesetround, libc_feholdexcept, and
13522 libc_feholdexceptl.
13523
13524 2011-10-18 Andreas Schwab <schwab@redhat.com>
13525
13526 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
13527 (__feraiseexcept_renamed): Add __NTH.
13528 (feraiseexcept): Add __NTH. Rename local variables to fix
13529 namespace violations.
13530
13531 2011-10-17 Ulrich Drepper <drepper@gmail.com>
13532
13533 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
13534
13535 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
13536
13537 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
13538 recently added interfaces.
13539 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
13540
13541 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
13542 about macro parameter expansion.
13543
13544 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
13545 __NO_MATH_INLINES is defined. Cleanups.
13546
13547 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
13548 and __floorf is target has SSE4.1.
13549 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
13550 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
13551 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
13552 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
13553
13554 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
13555 name.
13556 (floorf): Likewise.
13557
13558 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
13559
13560 2011-10-17 Andreas Schwab <schwab@redhat.com>
13561
13562 * misc/sys/cdefs.h: Fix last change.
13563
13564 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
13565 database lookup.
13566
13567 2011-10-16 Ulrich Drepper <drepper@gmail.com>
13568
13569 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
13570
13571 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
13572 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13573 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13574 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
13575 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13576 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
13577 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
13578 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
13579 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
13580 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
13581 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
13582 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
13583 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
13584 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
13585 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
13586 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
13587 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
13588 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
13589 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
13590 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
13591 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
13592 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
13593
13594 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
13595 ceil, ceilf, floor, floorf.
13596
13597 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
13598 Perform IRELATIVE relocations last.
13599
13600 * elf/do-rel.h: Add another parameter nrelative, replacing the
13601 local variable with the same name. Change name of the function
13602 to end in Rel or Rela (uppercase).
13603 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
13604 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
13605 elf_dynamic_do_##reloc function.
13606
13607 2011-10-15 Ulrich Drepper <drepper@gmail.com>
13608
13609 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
13610 is sufficient, at least on modern CPUs.
13611
13612 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
13613
13614 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
13615 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
13616
13617 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
13618 __expl_finite.
13619 * math/bits/math-finite.h: Add entries for exp.
13620 * math/e_expl.c: Add __*_finite alias.
13621 * sysdeps/i386/fpu/e_exp.S: Likewise.
13622 * sysdeps/i386/fpu/e_expf.S: Likewise.
13623 * sysdeps/i386/fpu/e_expl.c: Likewise.
13624 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13625 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13626 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13627 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13628 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
13629 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13630 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13631
13632 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
13633 is sufficient, at least on modern CPUs.
13634
13635 * ctype/ctype-info.c (__ctype_init): Define.
13636 * include/ctype.h (__ctype_init): Declare.
13637 (__ctype_b_loc): The variable is always initialized.
13638 (__ctype_toupper_loc): Likewise.
13639 (__ctype_tolower_loc): Likewise.
13640 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
13641 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
13642
13643 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
13644
13645 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
13646
13647 * configure.in: Also look in $cxxmachine/include for C++ system
13648 headers.
13649
13650 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13651
13652 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
13653 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
13654 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
13655 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
13656 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
13657 (USE_AS_WMEMCMP): New macro.
13658 Fixing indents.
13659 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
13660 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
13661 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
13662 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
13663 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13664 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
13665 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
13666 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
13667 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
13668 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
13669 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
13670 (USE_AS_WMEMCMP): New macro.
13671 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
13672 * sysdeps/string/test-memcmp.c: Update.
13673 Fix simple_wmemcmp.
13674 Add new tests.
13675 * wcsmbs/wmemcmp.c: Update.
13676 (WMEMCMP): New macro.
13677 Fix overflow bug.
13678
13679 2011-10-12 Andreas Jaeger <aj@suse.de>
13680
13681 [BZ #13268]
13682 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
13683
13684 2011-10-15 Ulrich Drepper <drepper@gmail.com>
13685
13686 * libio/iofwide.c (do_length): Avoid warning.
13687
13688 * ctype/ctype.h (__isctype_f): Add missing __THROW.
13689
13690 2011-10-14 Ulrich Drepper <drepper@gmail.com>
13691
13692 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
13693
13694 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
13695 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
13696 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
13697 * sysdeps/i386/i686/fpu/e_log.S: New file.
13698 * sysdeps/i386/i686/fpu/e_logf.S: New file.
13699 * sysdeps/i386/i686/fpu/e_logl.S: New file.
13700
13701 * ctype/ctype.h: Add support for inlined isXXX functions when
13702 compiling C++ code.
13703
13704 2011-10-14 Andreas Schwab <schwab@redhat.com>
13705
13706 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13707
13708 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
13709
13710 2011-10-13 Roland McGrath <roland@hack.frob.com>
13711
13712 [BZ #13291]
13713 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
13714
13715 2011-10-13 Andreas Schwab <schwab@redhat.com>
13716
13717 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
13718 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
13719 feraiseexcept.
13720
13721 * sysdeps/x86_64/memrchr.S: Check for zero size.
13722
13723 * string/stratcliff.c: Add memrchr tests.
13724
13725 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13726
13727 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13728 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
13729 rawmemchr-sse2 rawmemchr-sse2-bsf.
13730 * sysdeps/i386/i686/multiarch/memchr.S: New file.
13731 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
13732 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
13733 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
13734 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
13735 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
13736 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
13737 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
13738 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
13739 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
13740 * string/memrchr.c (MEMRCHR): New macro.
13741
13742 2011-10-12 Ulrich Drepper <drepper@gmail.com>
13743
13744 Add integration with gcc's -ffinite-math-only and optimize wrapper
13745 functions in libm.
13746 * Versions.def: Define GLIBC_2.15 version for libm.
13747 * math/Makefile (headers): Add bits/math-finite.h.
13748 * math/bits/math-finite.h: New file.
13749 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
13750 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
13751 * math/e_acoshl.c: Add __*_finite alias.
13752 * math/e_acosl.c: Likewise.
13753 * math/e_asinl.c: Likewise.
13754 * math/e_atan2l.c: Likewise.
13755 * math/e_atanhl.c: Likewise.
13756 * math/e_coshl.c: Likewise.
13757 * math/e_exp10.c: Likewise.
13758 * math/e_exp10f.c: Likewise.
13759 * math/e_exp10l.c: Likewise.
13760 * math/e_exp2l.c: Likewise.
13761 * math/e_fmodl.c: Likewise.
13762 * math/e_gammal_r.c: Likewise.
13763 * math/e_hypotl.c: Likewise.
13764 * math/e_j0l.c: Likewise.
13765 * math/e_j1l.c: Likewise.
13766 * math/e_jnl.c: Likewise.
13767 * math/e_lgammal_r.c: Likewise.
13768 * math/e_log10l.c: Likewise.
13769 * math/e_log2l.c: Likewise.
13770 * math/e_logl.c: Likewise.
13771 * math/e_powl.c: Likewise.
13772 * math/e_sinhl.c: Likewise.
13773 * math/e_sqrtl.c: Likewise.
13774 * math/e_scalb.c: Completely rewritten and optimized.
13775 * math/e_scalbf.c: Likewise.
13776 * math/e_scalbl.c: Likewise.
13777 * math/w_acos.c: Likewise.
13778 * math/w_acosf.c: Likewise.
13779 * math/w_acosl.c: Likewise.
13780 * math/w_acosh.c: Likewise.
13781 * math/w_acoshf.c: Likewise.
13782 * math/w_acoshl.c: Likewise.
13783 * math/w_asin.c: Likewise.
13784 * math/w_asinf.c: Likewise.
13785 * math/w_asinl.c: Likewise.
13786 * math/w_atan2.c: Likewise.
13787 * math/w_atan2f.c: Likewise.
13788 * math/w_atan2l.c: Likewise.
13789 * math/w_atanh.c: Likewise.
13790 * math/w_atanhf.c: Likewise.
13791 * math/w_atanhl.c: Likewise.
13792 * math/w_exp10.c: Likewise.
13793 * math/w_exp10f.c: Likewise.
13794 * math/w_exp10l.c: Likewise.
13795 * math/w_fmod.c: Likewise.
13796 * math/w_fmodf.c: Likewise.
13797 * math/w_fmodl.c: Likewise.
13798 * math/w_j0.c: Likewise.
13799 * math/w_j0f.c: Likewise.
13800 * math/w_j0l.c: Likewise.
13801 * math/w_j1.c: Likewise.
13802 * math/w_j1f.c: Likewise.
13803 * math/w_j1l.c: Likewise.
13804 * math/w_jn.c: Likewise.
13805 * math/w_jnf.c: Likewise.
13806 * math/w_log.c: Likewise.
13807 * math/w_logf.c: Likewise.
13808 * math/w_logl.c: Likewise.
13809 * math/w_log10.c: Likewise.
13810 * math/w_log10f.c: Likewise.
13811 * math/w_log10l.c: Likewise.
13812 * math/w_log2.c: Likewise.
13813 * math/w_log2f.c: Likewise.
13814 * math/w_log2l.c: Likewise.
13815 * math/w_pow.c: Likewise.
13816 * math/w_powf.c: Likewise.
13817 * math/w_powl.c: Likewise.
13818 * math/w_remainder.c: Likewise.
13819 * math/w_remainderf.c: Likewise.
13820 * math/w_remainderl.c: Likewise.
13821 * math/w_scalb.c: Likewise.
13822 * math/w_scalbf.c: Likewise.
13823 * math/w_scalbl.c: Likewise.
13824 * math/w_sqrt.c: Likewise.
13825 * math/w_sqrtf.c: Likewise.
13826 * math/w_sqrtl.c: Likewise.
13827 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
13828 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
13829 used.
13830 * math/math_private.h: Declare __kernel_standard_f.
13831 * math/w_cosh.c: Remove cruft and optimize a bit.
13832 * math/w_coshf.c: Likewise.
13833 * math/w_coshl.c: Likewise.
13834 * math/w_exp2.c: Likewise.
13835 * math/w_exp2f.c: Likewise.
13836 * math/w_exp2l.c: Likewise.
13837 * math/w_hypot.c: Likewise.
13838 * math/w_hypotf.c: Likewise.
13839 * math/w_hypotl.c: Likewise.
13840 * math/w_lgamma.c: Likewise.
13841 * math/w_lgamma_r.c: Likewise.
13842 * math/w_lgammaf.c: Likewise.
13843 * math/w_lgammaf_r.c: Likewise.
13844 * math/w_lgammal.c: Likewise.
13845 * math/w_lgammal_r.c: Likewise.
13846 * math/w_sinh.c: Likewise.
13847 * math/w_sinhf.c: Likewise.
13848 * math/w_sinhl.c: Likewise.
13849 * math/w_tgamma.c: Likewise.
13850 * math/w_tgammaf.c: Likewise.
13851 * math/w_tgammal.c: Likewise.
13852 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
13853 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
13854 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
13855 Minor optimizations. Pretty printing. Remove cruft.
13856 * sysdeps/i386/fpu/e_acosf.S: Likewise.
13857 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13858 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13859 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13860 * sysdeps/i386/fpu/e_acosl.c: Likewise.
13861 * sysdeps/i386/fpu/e_asin.S: Likewise.
13862 * sysdeps/i386/fpu/e_asinf.S: Likewise.
13863 * sysdeps/i386/fpu/e_atan2.S: Likewise.
13864 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
13865 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
13866 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13867 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13868 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13869 * sysdeps/i386/fpu/e_exp10.S: Likewise.
13870 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
13871 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
13872 * sysdeps/i386/fpu/e_exp2.S: Likewise.
13873 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
13874 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
13875 * sysdeps/i386/fpu/e_fmod.S: Likewise.
13876 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
13877 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
13878 * sysdeps/i386/fpu/e_hypot.S: Likewise.
13879 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
13880 * sysdeps/i386/fpu/e_log.S: Likewise.
13881 * sysdeps/i386/fpu/e_log10.S: Likewise.
13882 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13883 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13884 * sysdeps/i386/fpu/e_log2.S: Likewise.
13885 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13886 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13887 * sysdeps/i386/fpu/e_logf.S: Likewise.
13888 * sysdeps/i386/fpu/e_logl.S: Likewise.
13889 * sysdeps/i386/fpu/e_pow.S: Likewise.
13890 * sysdeps/i386/fpu/e_powf.S: Likewise.
13891 * sysdeps/i386/fpu/e_powl.S: Likewise.
13892 * sysdeps/i386/fpu/e_remainder.S: Likewise.
13893 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
13894 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
13895 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13896 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13897 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13898 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
13899 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
13900 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
13901 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13902 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13903 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13904 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13905 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13906 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13907 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13908 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13909 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13910 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13911 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13912 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
13913 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13914 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13915 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13916 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13917 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13918 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13919 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13920 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13921 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13922 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
13923 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
13924 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
13925 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
13926 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
13927 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
13928 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
13929 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
13930 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
13931 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
13932 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13933 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13934 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
13935 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
13936 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
13937 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
13938 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
13939 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
13940 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
13941 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
13942 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
13943 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
13944 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
13945 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
13946 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
13947 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
13948 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
13949 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
13950 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
13951 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
13952 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13953 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13954 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13955 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13956 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
13957 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
13958 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
13959 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
13960 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
13961 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
13962 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
13963 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13964 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13965 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
13966 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
13967 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
13968 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
13969 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
13970 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
13971 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
13972 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
13973 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
13974 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
13975 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
13976 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
13977 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13978 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
13979 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
13980 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
13981 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
13982 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
13983 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
13984 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
13985 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
13986 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13987 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13988 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
13989 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
13990 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
13991 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
13992 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13993 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13994 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13995 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13996 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
13997 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
13998 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13999 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
14000 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
14001 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
14002 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
14003 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
14004 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
14005 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14006 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14007 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14008 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14009 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
14010 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14011 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
14012 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
14013 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
14014 (__isnanf): Likewise.
14015 (__isinf_ns): Likewise.
14016 (__isinf_nsf): Likewise.
14017 (__finite): Likewise.
14018 (__finitef): Likewise.
14019 (__ieee754_sqrt): Define as macro.
14020 (__ieee754_sqrtf): Define as macro.
14021 (__ieee754_sqrtl): Define as macro.
14022 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
14023 inlined copy.
14024 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
14025 __FINITE_MATH_ONLY__ consistent.
14026 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
14027
14028 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
14029
14030 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
14031 of rawmemchr.
14032
14033 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
14034
14035 2011-10-09 Ulrich Drepper <drepper@gmail.com>
14036
14037 * po/ja.po: Update from translation team.
14038
14039 2011-10-08 Roland McGrath <roland@hack.frob.com>
14040
14041 * locale/programs/locarchive.c (prepare_address_space): New function.
14042 (create_archive, enlarge_archive, open_archive): Use it.
14043
14044 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
14045 inside [SHARED], where it is used.
14046
14047 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
14048
14049 * nss/getent.c (netgroup_keys): Remove unused variable.
14050 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14051
14052 2011-10-08 Ulrich Drepper <drepper@gmail.com>
14053
14054 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
14055 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
14056 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
14057 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
14058 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
14059 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
14060 * math/Makefile (libm-calls): Add s_isinf_ns.
14061 * math/divtc3.c: Use __isinf_nsl instead of isinf.
14062 * math/multc3.c: Likewise.
14063 * math/s_casin.c: Likewise.
14064 * math/s_casinf.c: Likewise.
14065 * math/s_casinl.c: Likewise.
14066 * math/s_ccos.c: Likewise.
14067 * math/s_ccosf.c: Likewise.
14068 * math/s_ccosl.c: Likewise.
14069 * math/s_ctan.c: Likewise.
14070 * math/s_ctanf.c: Likewise.
14071 * math/s_ctanh.c: Likewise.
14072 * math/s_ctanhf.c: Likewise.
14073 * math/s_ctanhl.c: Likewise.
14074 * math/s_ctanl.c: Likewise.
14075 * math/w_fmod.c: Likewise.
14076 * math/w_fmodf.c: Likewise.
14077 * math/w_fmodl.c: Likewise.
14078 * math/w_remainder.c: Likewise.
14079 * math/w_remainderf.c: Likewise.
14080 * math/w_remainderl.c: Likewise.
14081 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
14082 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
14083 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
14084 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
14085 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
14086 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
14087 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
14088 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
14089
14090 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
14091 of the number.
14092 * stdio-common/printf_fphex.c: Likewise.
14093 * stdio-common/printf_size.c: Likewise.
14094
14095 * math/e_exp10.c: Include math_private.h using <...> not "...".
14096 * math/e_exp10f.c: Likewise.
14097 * math/e_exp10l.c: Likewise.
14098 * math/e_exp2l.c: Likewise.
14099 * math/e_j0l.c: Likewise.
14100 * math/e_j1l.c: Likewise.
14101 * math/e_jnl.c: Likewise.
14102 * math/e_lgammal_r.c: Likewise.
14103 * math/e_rem_pio2l.c: Likewise.
14104 * math/e_scalb.c: Likewise.
14105 * math/e_scalbf.c: Likewise.
14106 * math/e_scalbl.c: Likewise.
14107 * math/k_cosl.c: Likewise.
14108 * math/k_sinl.c: Likewise.
14109 * math/k_tanl.c: Likewise.
14110 * math/s_cacoshf.c: Likewise.
14111 * math/s_catan.c: Likewise.
14112 * math/s_catanf.c: Likewise.
14113 * math/s_catanh.c: Likewise.
14114 * math/s_catanhf.c: Likewise.
14115 * math/s_catanhl.c: Likewise.
14116 * math/s_catanl.c: Likewise.
14117 * math/s_ccosh.c: Likewise.
14118 * math/s_ccoshf.c: Likewise.
14119 * math/s_ccoshl.c: Likewise.
14120 * math/s_cexp.c: Likewise.
14121 * math/s_cexpf.c: Likewise.
14122 * math/s_cexpl.c: Likewise.
14123 * math/s_clog.c: Likewise.
14124 * math/s_clog10.c: Likewise.
14125 * math/s_clog10f.c: Likewise.
14126 * math/s_clog10l.c: Likewise.
14127 * math/s_clogf.c: Likewise.
14128 * math/s_clogl.c: Likewise.
14129 * math/s_csin.c: Likewise.
14130 * math/s_csinf.c: Likewise.
14131 * math/s_csinh.c: Likewise.
14132 * math/s_csinhf.c: Likewise.
14133 * math/s_csinhl.c: Likewise.
14134 * math/s_csinl.c: Likewise.
14135 * math/s_csqrt.c: Likewise.
14136 * math/s_csqrtf.c: Likewise.
14137 * math/s_csqrtl.c: Likewise.
14138 * math/s_ctan.c: Likewise.
14139 * math/s_ctanf.c: Likewise.
14140 * math/s_ctanh.c: Likewise.
14141 * math/s_ctanhf.c: Likewise.
14142 * math/s_ctanhl.c: Likewise.
14143 * math/s_ctanl.c: Likewise.
14144 * math/s_ldexp.c: Likewise.
14145 * math/s_ldexpf.c: Likewise.
14146 * math/s_ldexpl.c: Likewise.
14147 * math/s_significand.c: Likewise.
14148 * math/s_significandf.c: Likewise.
14149 * math/s_significandl.c: Likewise.
14150 * math/w_acos.c: Likewise.
14151 * math/w_acosf.c: Likewise.
14152 * math/w_acosh.c: Likewise.
14153 * math/w_acoshf.c: Likewise.
14154 * math/w_acoshl.c: Likewise.
14155 * math/w_acosl.c: Likewise.
14156 * math/w_asin.c: Likewise.
14157 * math/w_asinf.c: Likewise.
14158 * math/w_asinl.c: Likewise.
14159 * math/w_atan2.c: Likewise.
14160 * math/w_atan2f.c: Likewise.
14161 * math/w_atan2l.c: Likewise.
14162 * math/w_atanh.c: Likewise.
14163 * math/w_atanhf.c: Likewise.
14164 * math/w_atanhl.c: Likewise.
14165 * math/w_cosh.c: Likewise.
14166 * math/w_coshf.c: Likewise.
14167 * math/w_coshl.c: Likewise.
14168 * math/w_dremf.c: Likewise.
14169 * math/w_exp10.c: Likewise.
14170 * math/w_exp10f.c: Likewise.
14171 * math/w_exp10l.c: Likewise.
14172 * math/w_exp2.c: Likewise.
14173 * math/w_exp2f.c: Likewise.
14174 * math/w_fmod.c: Likewise.
14175 * math/w_fmodf.c: Likewise.
14176 * math/w_fmodl.c: Likewise.
14177 * math/w_hypot.c: Likewise.
14178 * math/w_hypotf.c: Likewise.
14179 * math/w_hypotl.c: Likewise.
14180 * math/w_j0.c: Likewise.
14181 * math/w_j0f.c: Likewise.
14182 * math/w_j0l.c: Likewise.
14183 * math/w_j1.c: Likewise.
14184 * math/w_j1f.c: Likewise.
14185 * math/w_j1l.c: Likewise.
14186 * math/w_jn.c: Likewise.
14187 * math/w_jnf.c: Likewise.
14188 * math/w_jnl.c: Likewise.
14189 * math/w_lgamma.c: Likewise.
14190 * math/w_lgamma_r.c: Likewise.
14191 * math/w_lgammaf.c: Likewise.
14192 * math/w_lgammaf_r.c: Likewise.
14193 * math/w_lgammal.c: Likewise.
14194 * math/w_lgammal_r.c: Likewise.
14195 * math/w_log.c: Likewise.
14196 * math/w_log10.c: Likewise.
14197 * math/w_log10f.c: Likewise.
14198 * math/w_log10l.c: Likewise.
14199 * math/w_log2.c: Likewise.
14200 * math/w_log2f.c: Likewise.
14201 * math/w_log2l.c: Likewise.
14202 * math/w_logf.c: Likewise.
14203 * math/w_logl.c: Likewise.
14204 * math/w_pow.c: Likewise.
14205 * math/w_powf.c: Likewise.
14206 * math/w_powl.c: Likewise.
14207 * math/w_remainder.c: Likewise.
14208 * math/w_remainderf.c: Likewise.
14209 * math/w_remainderl.c: Likewise.
14210 * math/w_scalb.c: Likewise.
14211 * math/w_scalbf.c: Likewise.
14212 * math/w_scalbl.c: Likewise.
14213 * math/w_sinh.c: Likewise.
14214 * math/w_sinhf.c: Likewise.
14215 * math/w_sinhl.c: Likewise.
14216 * math/w_sqrt.c: Likewise.
14217 * math/w_sqrtf.c: Likewise.
14218 * math/w_sqrtl.c: Likewise.
14219 * math/w_tgamma.c: Likewise.
14220 * math/w_tgammaf.c: Likewise.
14221 * math/w_tgammal.c: Likewise.
14222
14223 * po/ja.po: Update from translation team.
14224
14225 2011-09-29 Andreas Jaeger <aj@suse.de>
14226
14227 [BZ #13179]
14228 * sunrpc/netname.c (netname2host): Fix logic.
14229
14230 [BZ #6779]
14231 [BZ #6783]
14232 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
14233 correctly.
14234 * math/w_remainder.c (__remainder): Likewise.
14235 * math/w_remainderf.c (__remainderf): Likewise.
14236 * math/libm-test.inc (remainder_test): Add test cases.
14237
14238 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14239
14240 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
14241 sdiv_qrnnd.
14242
14243 2011-10-07 Ulrich Drepper <drepper@gmail.com>
14244
14245 * string/test-memcmp.c: Avoid unncessary #defines.
14246 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
14247
14248 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14249
14250 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
14251 Use new sse2 version for core i3 - i7 as it's faster
14252 than sse42 version.
14253 (bit_Prefer_PMINUB_for_stringop): New.
14254 * sysdeps/x86_64/rawmemchr.S: Update.
14255 Replace with faster SSE2 version.
14256 * sysdeps/x86_64/memrchr.S: New file.
14257 * sysdeps/x86_64/memchr.S: Update.
14258 Replace with faster SSE2 version.
14259
14260 2011-09-12 Marek Polacek <mpolacek@redhat.com>
14261
14262 * elf/dl-load.c (lose): Add cast to avoid warning.
14263
14264 2011-10-07 Ulrich Drepper <drepper@gmail.com>
14265
14266 * po/ca.po: Update from translation team.
14267
14268 * inet/getnetgrent_r.c: Hook up nscd.
14269 * nscd/Makefile (routines): Add nscd_netgroup.
14270 (nscd-modules): Add netgroupcache.
14271 (CFLAGS-netgroupcache.c): Define.
14272 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
14273 (cache_search): Add const to second parameter.
14274 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
14275 INNETGR.
14276 (dbs): Add netgrdb entry.
14277 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
14278 (verify_persistent_db): Handle netgrdb.
14279 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
14280 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
14281 GETFDNETGR.
14282 (netgroup_response_header): Define.
14283 (innetgroup_response_header): Define.
14284 (datahead): Add netgroup_response_header and innetgroup_response_header
14285 elements.
14286 * nscd/nscd.conf: Add entries for netgroup cache.
14287 * nscd/nscd.h (dbtype): Add netgrdb.
14288 (_PATH_NSCD_NETGROUP_DB): Define.
14289 (netgroup_iov_disabled): Declare.
14290 (xmalloc, xcalloc, xrealloc): Move declarations here.
14291 (cache_search): Adjust prototype.
14292 Add netgroup-related prototypes.
14293 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
14294 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
14295 (__nscd_innetgr): Declare.
14296 * nscd/selinux.c (perms): Use access_vector_t as element type and
14297 add netgroup-related initializers.
14298 * nscd/netgroupcache.c: New file.
14299 * nscd/nscd_netgroup.c: New file.
14300 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
14301 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
14302 For four parameters use innetgr.
14303 * nss/nss_files/files-init.c: Add definition and callback for netgr.
14304 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
14305 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
14306 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
14307
14308 * nscd/connections.c (register_traced_file): Don't register file
14309 for disabled databases.
14310
14311 2011-10-06 Ulrich Drepper <drepper@gmail.com>
14312
14313 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
14314
14315 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
14316 from tree and freeing node.
14317
14318 2011-09-25 Jiri Olsa <jolsa@redhat.com>
14319
14320 * nss/nsswitch.c (__nss_database_lookup): Handle
14321 nss_parse_service_list out of memory case.
14322
14323 2011-09-15 Jiri Olsa <jolsa@redhat.com>
14324
14325 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
14326 out of memory case.
14327
14328 2011-10-04 Andreas Schwab <schwab@redhat.com>
14329
14330 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
14331 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
14332 pass it down.
14333 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
14334 elf_machine_rela, elf_machine_lazy_rel.
14335 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
14336 (ELF_DYNAMIC_DO_REL): Likewise.
14337 (ELF_DYNAMIC_DO_RELA): Likewise.
14338 (ELF_DYNAMIC_RELOCATE): Likewise.
14339 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
14340 to ELF_DYNAMIC_DO_REL.
14341 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
14342 (dl_main): In trace mode always set __RTLD_NOIFUNC.
14343 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
14344 elf_machine_rela.
14345 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
14346 skip_ifunc, don't call ifunc function if non-zero.
14347 (elf_machine_rela): Likewise.
14348 (elf_machine_lazy_rel): Likewise.
14349 (elf_machine_lazy_rela): Likewise.
14350 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
14351 (elf_machine_lazy_rel): Likewise.
14352 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
14353 Likewise.
14354 (elf_machine_lazy_rel): Likewise.
14355 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14356 Likewise.
14357 (elf_machine_lazy_rel): Likewise.
14358 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
14359 (elf_machine_lazy_rel): Likewise.
14360 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
14361 (elf_machine_lazy_rel): Likewise.
14362 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14363 (elf_machine_lazy_rel): Likewise.
14364 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
14365 (elf_machine_lazy_rel): Likewise.
14366 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
14367 (elf_machine_lazy_rel): Likewise.
14368 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14369 (elf_machine_lazy_rel): Likewise.
14370
14371 2011-09-28 Ulrich Drepper <drepper@gmail.com>
14372
14373 * nss/nss_files/files-init.c (_nss_files_init): Use static
14374 initialization for all the *_traced_file variables.
14375
14376 2011-09-28 Andreas Schwab <schwab@redhat.com>
14377
14378 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14379
14380 2011-09-27 Roland McGrath <roland@hack.frob.com>
14381
14382 [BZ #13226]
14383 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
14384
14385 2011-09-27 Andreas Schwab <schwab@redhat.com>
14386
14387 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
14388 Reread the line before reparsing it.
14389
14390 2011-09-26 Andreas Schwab <schwab@redhat.com>
14391
14392 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
14393
14394 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
14395 Maxim Kuvyrkov <maxim@codesourcery.com>
14396 Joseph Myers <joseph@codesourcery.com>
14397
14398 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
14399 if needed for __stack_chk_guard.
14400
14401 2011-09-19 Roland McGrath <roland@hack.frob.com>
14402
14403 * sysdeps/posix/spawni.c (script_execute): Always define it.
14404 It will be optimized away if unused.
14405 (maybe_script_execute): New function.
14406 (__spawni): Call it.
14407
14408 * Makerules: Don't include tls.make.
14409 (config-tls): Always set to thread.
14410 * tls.make.c: File removed.
14411
14412 2011-09-19 Mike Frysinger <vapier@gentoo.org>
14413
14414 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
14415 * config.make.in (CPPFLAGS-config): New substituted variable.
14416
14417 2011-09-15 Ulrich Drepper <drepper@gmail.com>
14418
14419 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
14420
14421 [BZ #13192]
14422 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
14423 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
14424
14425 2011-09-15 Roland McGrath <roland@hack.frob.com>
14426
14427 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
14428 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
14429 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14430 (CALL_FAIL): Likewise.
14431 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
14432 (CALL_FAIL): Macro removed.
14433 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
14434
14435 2011-09-15 Ulrich Drepper <drepper@gmail.com>
14436
14437 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
14438 for __FINITE_MATH_ONLY__ == 1.
14439
14440 2011-09-15 Andreas Schwab <schwab@redhat.com>
14441
14442 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
14443 __ieee754_sqrt instead of sqrt.
14444 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
14445 __ieee754_sqrtf instead of sqrtf.
14446 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
14447 __floorf instead of floorf.
14448 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
14449 __floorf, __truncf instead of floorf, truncf.
14450
14451 2011-09-14 Ulrich Drepper <drepper@gmail.com>
14452
14453 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
14454
14455 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
14456 __extern_always_inline.
14457 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
14458 32-bit.
14459
14460 2011-09-14 Andreas Schwab <schwab@redhat.com>
14461
14462 * elf/rtld.c (dl_main): Also relocate in dependency order when
14463 doing symbol dependency testing.
14464
14465 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
14466
14467 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14468 Always define `refsym'.
14469
14470 2011-09-13 Andreas Schwab <schwab@redhat.com>
14471
14472 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
14473 (__FD_ELT): Renamed from __FDELT.
14474 * misc/bits/select2.h (__FD_ELT): Likewise.
14475 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
14476 __FD_MASK instead of __FDELT, __FDMASK.
14477 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14478 Likewise.
14479 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
14480 Likewise.
14481
14482 * elf/Makefile (gen-ldd): Fix pattern.
14483
14484 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
14485 (init_tls): Likewise.
14486
14487 2011-09-12 Ulrich Drepper <drepper@gmail.com>
14488
14489 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
14490
14491 2011-09-12 Andreas Schwab <schwab@redhat.com>
14492
14493 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
14494 `struct cmsghdr *' instead of `void *'.
14495 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
14496 Likewise.
14497
14498 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14499
14500 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
14501 if non-absolute.
14502 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
14503 ldd_rewrite_script.
14504
14505 2011-09-11 Ulrich Drepper <drepper@gmail.com>
14506
14507 * configure.in: Remove --with-tls option.
14508 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
14509 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
14510 out in case it is missing.
14511 * sysdeps/ia64/elf/configure.in: Likewise.
14512 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
14513 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
14514 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
14515 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
14516 * sysdeps/sh/elf/configure.in: Likewise.
14517 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
14518 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
14519 * sysdeps/x86_64/elf/configure.in: Likewise.
14520 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
14521 * sysdeps/mach/hurd/tls.h: Likewise.
14522
14523 [BZ #13067]
14524 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
14525
14526 [BZ #13090]
14527 * configure.in: Fix use of AC_INIT.
14528
14529 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
14530
14531 2011-09-10 Ulrich Drepper <drepper@gmail.com>
14532
14533 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
14534 __set_errno.
14535 * malloc/hooks.c: Likewise.
14536
14537 [BZ #11929]
14538 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
14539 variables statically.
14540 (narenas): Initialize.
14541 (list_lock): Initialize.
14542 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
14543 initializtion of main_arena and list_lock. Small cleanups.
14544 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
14545 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
14546 Add initializers to main_arena and mp_.
14547 (malloc_state): Remove pagesize member. Change all users to use
14548 GLRO(dl_pagesize).
14549
14550 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
14551 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
14552 is always initialized.
14553
14554 * malloc/malloc.c: Removed unused configurations and dead code.
14555 * malloc/arena.c: Likewise.
14556 * malloc/hooks.c: Likewise.
14557 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
14558
14559 * include/tls.h: Removed. USE___THREAD must always be defined.
14560 * bits/libc-tsd.h: Don't handle !USE___THREAD.
14561 * elf/dl-libc.c: Likewise.
14562 * elf/dl-tsd.c: Likewise.
14563 * include/errno.h: Likewise.
14564 * include/netdb.h: Likewise.
14565 * include/resolv.h: Likewise.
14566 * inet/herrno-loc.c: Likewise.
14567 * inet/herrno.c: Likewise.
14568 * malloc/arena.c: Likewise.
14569 * malloc/hooks.c: Likewise.
14570 * malloc/malloc.c: Likewise.
14571 * resolv/res-state.c: Likewise.
14572 * resolv/res_libc.c: Likewise.
14573 * sysdeps/i386/dl-machine.h: Likewise.
14574 * sysdeps/ia64/dl-machine.h: Likewise.
14575 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14576 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14577 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14578 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14579 * sysdeps/sh/dl-machine.h: Likewise.
14580 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14581 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14582 * sysdeps/unix/i386/sysdep.S: Likewise.
14583 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14584 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14585 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14586 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14587 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14588 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14589 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14590 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14591 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14592 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14593 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14594 * sysdeps/x86_64/dl-machine.h: Likewise.
14595 * tls.make.c: Likewise.
14596
14597 * configure.in: Remove --with-__thread option. Make tests for
14598 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
14599 tls_model attribute fail if no support is available. Remove
14600 USE_IN_LIBIO.
14601 * Makeconfig: Adjust for dropped configure option. All features are
14602 now mandatory.
14603 * Makerules: Likewise.
14604 * Versions.def: Likewise.
14605 * argp/argp-fmtstream.c: Likewise.
14606 * argp/argp-fmtstream.h: Likewise.
14607 * argp/argp-help.c: Likewise.
14608 * assert/assert.c: Likewise.
14609 * config.h.in: Likewise.
14610 * config.make.in: Likewise.
14611 * configure: Likewise.
14612 * configure.in: Likewise.
14613 * csu/Versions: Likewise.
14614 * csu/init.c: Likewise.
14615 * elf/tst-audit2.c: Likewise.
14616 * elf/tst-tls10.c: Likewise.
14617 * elf/tst-tls10.h: Likewise.
14618 * elf/tst-tls11.c: Likewise.
14619 * elf/tst-tls12.c: Likewise.
14620 * elf/tst-tls14.c: Likewise.
14621 * elf/tst-tlsmod11.c: Likewise.
14622 * elf/tst-tlsmod12.c: Likewise.
14623 * elf/tst-tlsmod13.c: Likewise.
14624 * elf/tst-tlsmod13a.c: Likewise.
14625 * elf/tst-tlsmod14a.c: Likewise.
14626 * elf/tst-tlsmod15b.c: Likewise.
14627 * elf/tst-tlsmod16a.c: Likewise.
14628 * elf/tst-tlsmod16b.c: Likewise.
14629 * elf/tst-tlsmod7.c: Likewise.
14630 * elf/tst-tlsmod8.c: Likewise.
14631 * elf/tst-tlsmod9.c: Likewise.
14632 * gmon/gmon.c: Likewise.
14633 * grp/fgetgrent_r.c: Likewise.
14634 * grp/putgrent.c: Likewise.
14635 * hurd/fopenport.c: Likewise.
14636 * include/libc-symbols.h: Likewise.
14637 * include/tls.h: Likewise.
14638 * intl/gettextP.h: Likewise.
14639 * intl/loadinfo.h: Likewise.
14640 * locale/global-locale.c: Likewise.
14641 * locale/localeinfo.h: Likewise.
14642 * mach/devstream.c: Likewise.
14643 * malloc/arena.c: Likewise.
14644 * malloc/set-freeres.c: Likewise.
14645 * misc/err.c: Likewise.
14646 * misc/getttyent.c: Likewise.
14647 * misc/mntent_r.c: Likewise.
14648 * posix/getopt.c: Likewise.
14649 * posix/wordexp.c: Likewise.
14650 * pwd/fgetpwent_r.c: Likewise.
14651 * resolv/Versions: Likewise.
14652 * resolv/res_hconf.c: Likewise.
14653 * shadow/fgetspent_r.c: Likewise.
14654 * shadow/putspent.c: Likewise.
14655 * stdio-common/printf_fphex.c: Likewise.
14656 * stdio-common/tmpfile.c: Likewise.
14657 * stdlib/abort.c: Likewise.
14658 * stdlib/fmtmsg.c: Likewise.
14659 * sunrpc/auth_unix.c: Likewise.
14660 * sunrpc/clnt_perr.c: Likewise.
14661 * sunrpc/clnt_tcp.c: Likewise.
14662 * sunrpc/clnt_udp.c: Likewise.
14663 * sunrpc/clnt_unix.c: Likewise.
14664 * sunrpc/openchild.c: Likewise.
14665 * sunrpc/svc_simple.c: Likewise.
14666 * sunrpc/svc_tcp.c: Likewise.
14667 * sunrpc/svc_udp.c: Likewise.
14668 * sunrpc/svc_unix.c: Likewise.
14669 * sunrpc/xdr.c: Likewise.
14670 * sunrpc/xdr_array.c: Likewise.
14671 * sunrpc/xdr_rec.c: Likewise.
14672 * sunrpc/xdr_ref.c: Likewise.
14673 * sunrpc/xdr_stdio.c: Likewise.
14674
14675 2011-09-09 Ulrich Drepper <drepper@gmail.com>
14676
14677 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
14678
14679 2011-07-03 Andreas Jaeger <aj@suse.de>
14680
14681 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
14682 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
14683 regenerate with gen-libm-tests.pl.
14684
14685 2010-05-12 Petr Baudis <pasky@suse.cz>
14686
14687 [BZ #11589]
14688 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
14689 around j0() zero points by switching to j1().
14690 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14691 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14692 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14693 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14694
14695 2011-09-09 Ulrich Drepper <drepper@gmail.com>
14696
14697 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
14698 instead of 0.
14699 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
14700 instead of 0. .
14701 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14702 Patch in part by Pavel Roskin <proski@gnu.org>.
14703
14704 [BZ #13138]
14705 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
14706 realloc.
14707 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
14708 Free memory block if necessary.
14709
14710 [BZ #12847]
14711 * libio/genops.c (INTDEF): For string streams the _lock pointer can
14712 be NULL. Don't lock in this case.
14713
14714 2011-09-09 Roland McGrath <roland@hack.frob.com>
14715
14716 * elf/elf.h (ELFOSABI_GNU): New macro.
14717 (ELFOSABI_LINUX): Define to that.
14718
14719 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
14720
14721 * string/strncat.c (strncat): Undef the symbol in case it has been
14722 defined in bits/string.h.
14723
14724 2011-09-09 Ulrich Drepper <drepper@gmail.com>
14725
14726 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
14727
14728 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
14729 link map.
14730
14731 2011-08-17 Andreas Jaeger <aj@suse.de>
14732
14733 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
14734
14735 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14736 Ian Lance Taylor <iant@google.com>
14737
14738 * math/libm-test.inc (lround_test): New testcase.
14739 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
14740
14741 2011-09-08 Ulrich Drepper <drepper@gmail.com>
14742
14743 * Makefile: Remove support for automatic cvs check-ins.
14744 * Makerules: Likewise.
14745 * config.make.in: Likewise.
14746 * configure.in: Likewise.
14747 * intl/Makefile: Likewise.
14748 * locale/Makefile: Likewise.
14749 * po/Makefile: Likewise.
14750 * posix/Makefile: Likewise.
14751 * sysdeps/gnu/Makefile: Likewise.
14752 * sysdeps/mach/hurd/Makefile: Likewise.
14753 * sysdeps/sparc/sparc32/Makefile: Likewise.
14754
14755 [BZ #13118]
14756 * posix/Makefile (bug-regex32-ENV): Define.
14757 Patch by John Stanley <jpsinthemix@verizon.net>.
14758
14759 * misc/Makefile (headers): Add bits/select2.h.
14760 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
14761 * misc/bits/select2.h: New file.
14762 * include/bits/select2.h: New file.
14763 * debug/Makefile (routines): Add fdelt_chk.
14764 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
14765 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
14766 FD_ISSET.
14767 * debug/fdelt_chk.c: New file.
14768
14769 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
14770 * wcsmbs/test-wmemcmp.c: Likewise.
14771 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
14772 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
14773
14774 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14775
14776 * string/Makefile (strop-tests): Add memcmp.
14777 * string/test-wmemcmp.c: New file.
14778 * string/test-memcmp.c: Add wmemcmp support.
14779
14780 2011-09-08 Roland McGrath <roland@hack.frob.com>
14781
14782 [BZ #13153]
14783 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
14784 2011-07-19 change.
14785
14786 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
14787 garbage value in a __mach_port_mod_refs call in the cases of the
14788 task-self and thread-self ports.
14789
14790 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
14791
14792 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
14793
14794 2011-09-08 Andreas Schwab <schwab@redhat.com>
14795
14796 * elf/dl-load.c (lose): Check for non-null L.
14797
14798 2011-09-07 Ulrich Drepper <drepper@gmail.com>
14799
14800 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
14801
14802 * elf/dl-libc.c (dlerror_run): Pass back error code from
14803 dl_catch_error.
14804
14805 [BZ #13123]
14806 * elf/dl-load.c (lose): Free l_origin if it is valid.
14807
14808 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
14809 names.
14810 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
14811 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14812 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14813 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14814 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
14815 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
14816
14817 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14818
14819 * sysdeps/powerpc/fpu/e_hypot.c: New file.
14820 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
14821 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
14822 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
14823 * sysdeps/powerpc/fpu/k_cosf.c: New file.
14824 * sysdeps/powerpc/fpu/k_sinf.c: New file.
14825 * sysdeps/powerpc/fpu/s_cosf.c: New file.
14826 * sysdeps/powerpc/fpu/s_sinf.c: New file.
14827 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
14828 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
14829
14830 2011-08-15 Alan Modra <amodra@gmail.com>
14831
14832 [BZ #13092]
14833 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
14834 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
14835 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
14836 ppc_mcount to static-only-routines.
14837 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
14838 __mcount_internal.
14839 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
14840 __mcount_internal with usual JUMPTARGET. Remove useless nop.
14841
14842 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
14843
14844 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
14845 for finite and infinity parameters.
14846
14847 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
14848
14849 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
14850 and add nop instructions for throughput optimization.
14851 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14852
14853 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
14854
14855 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
14856 aligned copy for power7 with vector-scalar instructions.
14857 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14858
14859 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
14860
14861 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
14862 AVX check.
14863
14864 2011-09-07 Andreas Schwab <schwab@redhat.com>
14865
14866 [BZ #13144]
14867 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
14868 last change.
14869
14870 2011-09-07 Ulrich Drepper <drepper@gmail.com>
14871
14872 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14873 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
14874 syscall wrapper around clock_gettime in __vdso_clock_gettime.
14875 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
14876 clock_gettime.
14877
14878 2011-09-06 Ulrich Drepper <drepper@gmail.com>
14879
14880 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
14881 Forgot to demangle the pointer.
14882
14883 * sysdeps/i386/sysdep.h: Define atom_text_section.
14884 * sysdeps/x86_64/sysdep.h: Likewise.
14885 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
14886 section with atom_text_section.
14887 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
14888 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
14889 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14890 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14891 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
14892
14893 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
14894 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
14895 already be defined. Change to take two parameters and don't assign
14896 result to variable. Adjust all users.
14897 Define INTERNAL_GETTIME if not already defined.
14898 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
14899 call.
14900 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
14901 HAVE_CLOCK_GETTIME_VSYSCALL.
14902 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
14903
14904 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
14905 gettimeofday vsyscall, just use time.
14906
14907 2011-09-06 Andreas Schwab <schwab@redhat.com>
14908
14909 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
14910 <errno.h>.
14911
14912 2011-09-06 Ulrich Drepper <drepper@gmail.com>
14913
14914 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
14915 syscall on x86-64.
14916 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
14917 syscall.
14918 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
14919 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
14920 syscall if possible.
14921
14922 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14923
14924 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
14925 e_ident. Don't pass to find_mapsXX.
14926 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
14927
14928 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14929
14930 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14931 strchr-sse2-no-bsf strrchr-sse2-no-bsf
14932 * sysdeps/x86_64/multiarch/strchr.S: Update.
14933 Check bit_slow_BSF bit.
14934 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14935 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
14936 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
14937
14938 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14939
14940 [BZ #13134]
14941 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
14942 before glibc 2.15.
14943 (tryshell): Define.
14944 (__spawni): Change last parameter to be flag. Test
14945 SPAWN_XFLAGS_USE_PATH flag to use path or not.
14946 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
14947 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
14948 * posix/spawni.c: Likewise.
14949 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
14950 * posix/spawnp.c: Likewise. Change normal version to use
14951 SPAWN_XFLAGS_USE_PATH.
14952 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
14953 SPAWN_XFLAGS_TRY_SHELL.
14954
14955 [BZ #13150]
14956 * posix/glob.h: Remove gcc 1.x support.
14957
14958 [BZ #13068]
14959 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
14960
14961 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14962
14963 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14964 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
14965 strrchr-sse2-bsf
14966 * sysdeps/i386/i686/multiarch/strchr.S: New file.
14967 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
14968 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
14969 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
14970 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
14971 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
14972
14973 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14974
14975 * sysdeps/x86_64/wcscmp.S: New file.
14976
14977 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
14978 wcscmp-c wcscmp-sse2
14979 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
14980 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
14981 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
14982 * wcsmbs/wcscmp.c: Allow renaming.
14983
14984 2011-09-05 David S. Miller <davem@davemloft.net>
14985
14986 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
14987 stack slot, rather than the struct return pointer slot.
14988 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
14989 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
14990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
14991 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
14992
14993 2011-09-05 Ulrich Drepper <drepper@gmail.com>
14994
14995 * po/ja.po: Update from translation team.
14996
14997 [BZ #13144]
14998 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
14999 kernel in 64-bit binaries.
15000
15001 2011-09-01 David S. Miller <davem@davemloft.net>
15002
15003 * elf/elf.h (HWCAP_SPARC_*): Move to..
15004 * sysdeps/sparc/sysdep.h: this new file and add new values.
15005 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
15006 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
15007 _DL_HWCAP_COUNT to 24.
15008 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15009 entries.
15010 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
15011 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
15012 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
15013 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
15014 instead of magic constants.
15015 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15016
15017 2011-08-31 David S. Miller <davem@davemloft.net>
15018
15019 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
15020 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
15021 Reimplement to do errno handling inline.
15022 (SYSCALL_ERROR_HANDLER): New macro.
15023 (__SYSCALL_STRING): Do not do errno handling in asm.
15024 (__CLONE_SYSCALL_STRING): Delete.
15025 (__INTERNAL_SYSCALL_STRING): Delete.
15026 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
15027 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
15028 (PSEUDO): Reimplement to do errno handling inline.
15029 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
15030 (SYSCALL_ERROR_HANDLER): New macro.
15031 (__SYSCALL_STRING): Do not do errno handling in asm.
15032 (__CLONE_SYSCALL_STRING): Delete.
15033 (__INTERNAL_SYSCALL_STRING): Delete.
15034 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
15035 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
15036 i386.
15037 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
15038 (inline_syscall*): Add 'err' argument.
15039 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
15040 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
15041 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
15042 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
15043
15044 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
15045 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
15046
15047 2011-08-30 Andreas Schwab <schwab@redhat.com>
15048
15049 * elf/rtld.c (dl_main): Relocate objects in dependency order.
15050
15051 2011-08-29 Jiri Olsa <jolsa@redhat.com>
15052
15053 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
15054 directive.
15055
15056 2011-08-24 David S. Miller <davem@davemloft.net>
15057
15058 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
15059
15060 2011-08-24 Andreas Schwab <schwab@redhat.com>
15061
15062 * elf/Makefile: Add rules to build and run unload8 test.
15063 * elf/unload8.c: New file.
15064 * elf/unload8mod1.c: New file.
15065 * elf/unload8mod1x.c: New file.
15066 * elf/unload8mod2.c: New file.
15067 * elf/unload8mod3.c: New file.
15068
15069 * elf/dl-close.c (_dl_close_worker): Reset private search list if
15070 it wasn't used.
15071
15072 2011-08-23 David S. Miller <davem@davemloft.net>
15073
15074 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
15075 subtract stack bias.
15076 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
15077 %sp not %fp in calculations.
15078 (_JMPBUF_UNWINDS_ADJ): Likewise.
15079
15080 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
15081 (aio_suspend): Call it to force an exception region around the
15082 AIO_MISC_WAIT() invocation.
15083
15084 2011-08-23 Andreas Schwab <schwab@redhat.com>
15085
15086 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
15087 backslash.
15088
15089 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
15090
15091 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
15092 protection macro.
15093 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
15094 and <dl-machine.h>.
15095 (Elf64_FuncDesc): Remove.
15096
15097 2011-08-22 David S. Miller <davem@davemloft.net>
15098
15099 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
15100 sigaltstack check, add missing cfi directives.
15101 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
15102 missing cfi directives, and sigaltstack handling.
15103
15104 2011-08-16 Andreas Schwab <schwab@redhat.com>
15105
15106 [BZ #11724]
15107 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
15108 object is seen twice.
15109 * elf/dl-fini.c (_dl_sort_fini): Likewise.
15110
15111 * elf/Makefile (distribute): Add tst-initorder2.c.
15112 (tests): Add tst-initorder2.
15113 (modules-names): Add tst-initorder2a tst-initorder2b
15114 tst-initorder2c tst-initorder2d. Add rules to build them.
15115 ($(objpfx)tst-initorder2.out): New rule.
15116 * elf/tst-initorder2.c: New file.
15117 * elf/tst-initorder2.exp: New file.
15118
15119 2011-08-22 Andreas Schwab <schwab@redhat.com>
15120
15121 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
15122
15123 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
15124 dependencies back to end of function.
15125
15126 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15127 $(elfobjdir)/ld.so.
15128
15129 2011-08-21 Ulrich Drepper <drepper@gmail.com>
15130
15131 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
15132 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
15133 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
15134 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
15135 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
15136 of __vdso_gettimeofday.
15137 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
15138 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
15139 attribute_hidden.
15140 (_libc_vdso_platform_setup): Remove initialization of
15141 __vdso_gettimeofday and __vdso_time.
15142
15143 2011-08-20 Ulrich Drepper <drepper@gmail.com>
15144
15145 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
15146 and fgetc_unlocked.
15147 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
15148 getc_unlocked.
15149
15150 * elf/dl-open.c (add_to_global): Report additions to the global scope
15151 for LD_DEBUG=scopes.
15152 (dl_open_worker): Also print scope of newly loaded dependencies.
15153 (_dl_show_scope): Indicate if there is no scope.
15154
15155 [BZ #13114]
15156 * stdio-common/Makefile (tests): Add bug24.
15157 * stdio-common/bug24.c: New file.
15158
15159 2011-08-19 Andreas Jaeger <aj@suse.de>
15160
15161 [BZ #13114]
15162 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
15163 non-existant file when using close-on-exec mode.
15164
15165 2011-08-20 Ulrich Drepper <drepper@gmail.com>
15166
15167 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
15168 the very first instruction.
15169
15170 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
15171 the CFI state in the end.
15172 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
15173 inclusion of dl-trampoline.h.
15174 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
15175
15176 2011-08-19 Andreas Schwab <schwab@redhat.com>
15177
15178 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
15179 expectations for long double.
15180
15181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
15182 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
15183
15184 2011-08-14 David S. Miller <davem@davemloft.net>
15185
15186 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
15187 artificual limit depends upon the system page size.
15188
15189 2011-08-17 Ulrich Drepper <drepper@gmail.com>
15190
15191 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
15192 * resolv/Makefile: Define CFLAGS-libresolv.
15193
15194 2011-08-17 Andreas Schwab <schwab@redhat.com>
15195
15196 * nss/makedb.c (compute_tables): Make variables used in nested
15197 function static.
15198
15199 2011-08-17 Ulrich Drepper <drepper@gmail.com>
15200
15201 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
15202 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
15203 if buffer was too small.
15204
15205 * elf/pldd.c (main): Attach to all threads in the process.
15206 Rewrite /proc handling to use *at functions.
15207
15208 2011-08-16 Ulrich Drepper <drepper@gmail.com>
15209
15210 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
15211 specifies first scope to show.
15212 (dl_open_worker): Update callers. Move printing scope of new
15213 object to before the relocation.
15214 * elf/rtld.c (dl_main): Update _dl_show_scope call.
15215 * sysdeps/generic/ldsodefs.h: Update declaration.
15216
15217 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
15218 string for the scope number.
15219
15220 2011-08-14 Ulrich Drepper <drepper@gmail.com>
15221
15222 * nscd/servicescache.c (cache_addserv): Make sure written is always
15223 initialized.
15224
15225 2011-08-14 Roland McGrath <roland@hack.frob.com>
15226
15227 * sysdeps/i386/i486/bits/atomic.h
15228 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
15229 statement expression, so as to suppress "set but not used" warning.
15230 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
15231
15232 * string/strncat.c (STRNCAT): Use prototype definition.
15233
15234 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
15235 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
15236 -Iprograms here.
15237 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
15238 (localedef-modules): Add localedef.
15239 (locale-modules): Add locale.
15240
15241 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
15242 * elf/rtld.c (dl_main): Invert order of assignment in last change,
15243 to avoid a warning.
15244
15245 2011-08-14 David S. Miller <davem@davemloft.net>
15246
15247 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
15248 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
15249
15250 2011-08-13 Ulrich Drepper <drepper@gmail.com>
15251
15252 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
15253 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
15254 * elf/rtld.c (dl_main): Set l_name of vDSO.
15255 Call _dl_show_scope when DL_DEBUG_SCOPES.
15256 (process_dl_debug): Recognize scopes flag and also set it for all.
15257 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
15258 Declare _dl_show_scope.
15259
15260 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
15261 (do_dlopen): Pass caller_dlopen to dl_open.
15262 (__libc_dlopen_mode): Initialize caller_dlopen.
15263
15264 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
15265 of libc. Make tolower call locale-independent. Optimize a bit by
15266 using isdigit instead of isalnum.
15267 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
15268
15269 2011-08-12 Ulrich Drepper <drepper@gmail.com>
15270
15271 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
15272 was a dependency or dynamically loaded.
15273
15274 2011-08-11 Ulrich Drepper <drepper@gmail.com>
15275
15276 * intl/l10nflist.c: Allow architecture-specific pop function.
15277 * sysdeps/x86_64/l10nflist.c: New file.
15278
15279 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
15280 classification.
15281
15282 2011-08-10 Andreas Schwab <schwab@redhat.com>
15283
15284 * include/dirent.h: Add libc_hidden_proto for scandirat and
15285 scandirat64. Don't declare __scandirat64.
15286 * dirent/scandirat.c: Add libc_hidden_def.
15287 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
15288 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
15289
15290 2011-08-10 David S. Miller <davem@davemloft.net>
15291
15292 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
15293 enum.
15294 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15295 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15296 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15297
15298 2011-08-09 Ulrich Drepper <drepper@gmail.com>
15299
15300 * Versions.def [libc]: Add GLIBC_2.15.
15301 * dirent/Makefile (routines): Add scandirat and scandirat64.
15302 * dirent/Versions [libc]: Export scandirat and scandirat64 for
15303 GLIBC_2.15.
15304 * dirent/dirent.h: Declare scandirat and scandirat64.
15305 * dirent/scandirat.c: New file.
15306 * dirent/scandirat64.c: New file.
15307 * sysdeps/wordsize-64/scandirat.c: New file.
15308 * sysdeps/wordsize-64/scandirat64.c: New file.
15309 * dirent/opendir.c: Define opendirat.
15310 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
15311 using scandirat.
15312 * dirent/scandir64.c: Adjust for scandir.c change.
15313 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
15314 __scandirat64, and __scandir_cancel_handler.
15315 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
15316 additional parameter and use openat instead of open (outside of ld.so).
15317 Add new __opendir as wrapper around __opendirat.
15318 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
15319 here without requiring old scandirat implementation.
15320
15321 2011-08-08 Ulrich Drepper <drepper@gmail.com>
15322
15323 * dirent/scandir.c (cancel_handler): Renamed to
15324 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
15325 defined. Adjust users.
15326 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
15327 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15328
15329 2011-08-04 Ulrich Drepper <drepper@gmail.com>
15330
15331 * string/test-string.h (IMPL): Use __STRING to expand name and then
15332 stringify it.
15333
15334 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
15335 of cleanups.
15336
15337 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15338
15339 * string/Makefile: Update.
15340 (strop-tests): Append strncat.
15341 * string/test-wcscmp.c: New file.
15342 New comprehensive test for wcscmp.
15343 * string/test-strcmp.c: Update.
15344 (WIDE): New define.
15345
15346 2011-07-22 Andreas Schwab <schwab@redhat.com>
15347
15348 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
15349 line.
15350
15351 2011-07-26 Andreas Schwab <schwab@redhat.com>
15352
15353 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15354 encoding to ACE if AI_IDN.
15355
15356 2011-08-01 Jakub Jelinek <jakub@redhat.com>
15357
15358 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
15359 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
15360
15361 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15362
15363 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
15364 Fix overflow bug in strncat.
15365 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
15366
15367 * string/test-strncat.c: Update.
15368 Add new tests for checking overflow bugs.
15369
15370 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15371
15372 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15373 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
15374 * sysdeps/i386/i686/multiarch/strcat.S: New file.
15375 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
15376 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
15377 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
15378 * sysdeps/i386/i686/multiarch/strncat.S: New file.
15379 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
15380 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
15381
15382 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
15383 (USE_AS_STRCAT): Define.
15384 Add strcat and strncat support.
15385 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
15386
15387 2011-07-25 Andreas Schwab <schwab@redhat.com>
15388
15389 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
15390 __n bigger than INT_MAX+1.
15391 (__strncmp_g): Likewise.
15392
15393 2011-07-23 Ulrich Drepper <drepper@gmail.com>
15394
15395 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
15396 * libio/stido.h: Likewise.
15397
15398 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
15399 (AF_NFC): Define.
15400 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
15401 (AF_NFC): Define.
15402
15403 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
15404 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15405 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15406 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
15407 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15408
15409 [BZ #13021]
15410 * scripts/test-installation.pl: Don't expect libnss_test1 to be
15411 installed.
15412
15413 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
15414 typo.
15415 (_dl_x86_64_save_sse): Likewise.
15416
15417 2011-07-22 Ulrich Drepper <drepper@gmail.com>
15418
15419 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
15420 OSXSAVE.
15421 (_dl_x86_64_save_sse): Likewise.
15422
15423 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
15424
15425 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
15426
15427 2011-07-21 Andreas Schwab <schwab@redhat.com>
15428
15429 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
15430 change.
15431 (_dl_x86_64_save_sse): Use correct AVX check.
15432
15433 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15434
15435 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
15436 bug in strncpy/strncat.
15437 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
15438
15439 2011-07-21 Ulrich Drepper <drepper@gmail.com>
15440
15441 * string/tester.c (test_strcat): Add tests for different alignments
15442 of source and destination.
15443 (test_strncat): Likewise.
15444
15445 2011-07-20 Ulrich Drepper <drepper@gmail.com>
15446
15447 [BZ #12852]
15448 * posix/glob.c (glob): Check passed in values before using them in
15449 expressions to avoid some overflows.
15450 (glob_in_dir): Likewise.
15451
15452 [BZ #13007]
15453 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
15454 check for AVX enablement so that we don't crash with old kernels and
15455 new hardware.
15456 * elf/tst-audit4.c: Add same checks here.
15457 * elf/tst-audit6.c: Likewise.
15458
15459 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
15460
15461 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
15462
15463 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
15464
15465 2011-07-20 Ulrich Drepper <drepper@gmail.com>
15466
15467 * po/cs.po: Update from translation team.
15468 * po/bg.po: Likewise.
15469
15470 2011-07-12 Marek Polacek <mpolacek@redhat.com>
15471
15472 * misc/sys/cdefs.h: Add support for const attribute.
15473 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
15474 to gnu_dev_{major,minor,makedev} functions.
15475
15476 2011-07-20 Marek Polacek <mpolacek@redhat.com>
15477
15478 * intl/dcigettext.c (get_output_charset): Add missing bracket.
15479
15480 2011-07-20 Andreas Schwab <schwab@redhat.com>
15481
15482 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
15483 strlen results.
15484
15485 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15486
15487 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
15488 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
15489 register in order to avoid conflicts with the soft frame pointer
15490 being held in r11 when necessary.
15491 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
15492 (INTERNAL_VSYSCALL_NCS): Likewise.
15493
15494 2011-07-14 Marek Polacek <mpolacek@redhat.com>
15495
15496 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
15497 * elf/dl-fini.c (_dl_fini): Adjust caller.
15498 * elf/dl-close.c (_dl_close_worker): Likewise.
15499 * sysdeps/generic/ldsodefs.h: Adjust declaration.
15500
15501 2011-07-15 Marek Polacek <mpolacek@redhat.com>
15502
15503 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
15504 "aux_cache->nlibs < 0".
15505
15506 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
15507 in the reload-count case.
15508
15509 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
15510
15511 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15512 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
15513 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
15514 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
15515 * sysdeps/x86_64/multiarch/strcat.S: New file.
15516 * sysdeps/x86_64/multiarch/strncat.S: New file.
15517 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
15518 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
15519 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
15520 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
15521 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
15522 (USE_AS_STRCAT): Define.
15523 Add strcat and strncat support.
15524 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
15525 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15526 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
15527 * string/strncat.c: Update.
15528 (USE_AS_STRNCAT): Define.
15529 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15530 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
15531 and i7.
15532 * sysdeps/x86_64/multiarch/init-arch.h
15533 (bit_Prefer_PMINUB_for_stringop): New.
15534 (index_Prefer_PMINUB_for_stringop): Likewise.
15535 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
15536 bit_Prefer_PMINUB_for_stringop.
15537
15538 2011-07-19 Ulrich Drepper <drepper@gmail.com>
15539
15540 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
15541 buffer64.
15542 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
15543 of casting of buffer.
15544 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
15545 buffer32 and buffer64.
15546 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
15547 writes instead of casting of buffer.
15548 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
15549 buffer32.
15550 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
15551 casting of buffer.
15552
15553 2011-07-19 Andreas Schwab <schwab@redhat.com>
15554
15555 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
15556
15557 2011-07-19 Ulrich Drepper <drepper@gmail.com>
15558
15559 * nscd/nscd.c (termination_handler): Don't do anything for a database
15560 if it has not yet been initialized.
15561
15562 2011-07-18 Ulrich Drepper <drepper@gmail.com>
15563
15564 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15565
15566 2011-07-15 Marek Polacek <mpolacek@redhat.com>
15567
15568 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
15569
15570 2011-07-18 Ulrich Drepper <drepper@gmail.com>
15571
15572 * po/nl.po: Update from translation team.
15573 * po/sv.po: Likewise.
15574
15575 2011-07-16 Roland McGrath <roland@hack.frob.com>
15576
15577 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
15578 now disallowed by GCC.
15579
15580 * configure.in (use-default-link): Default to yes if a test -shared
15581 link meets our qualifications.
15582 * configure: Regenerated.
15583
15584 * config.make.in (output-format): New variable.
15585 * configure.in: Check for ld --print-output-format support.
15586 * configure: Regenerated.
15587 * Makerules ($(common-objpfx)format.lds)
15588 [$(output-format) != unknown]: Just use $(output-format),
15589 instead of the linker-script munging.
15590
15591 2011-07-14 Roland McGrath <roland@hack.frob.com>
15592
15593 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
15594 of $(common-objpfx)shlib.lds.
15595 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
15596
15597 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
15598 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
15599
15600 * configure.in (-z relro check): Adjust test code to add a large
15601 writable data section after it.
15602 * configure: Regenerated.
15603
15604 2011-07-11 Roland McGrath <roland@hack.frob.com>
15605
15606 * configure.in (-z relro check): Fix test code to make the variable
15607 truly const.
15608 * configure: Regenerated.
15609
15610 2011-07-11 Ulrich Drepper <drepper@gmail.com>
15611
15612 * nscd/nscd.h (struct traced_file): Define.
15613 (struct database_dyn): Remove inotify_descr, reset_res, and filename
15614 elements. Add traced_files.
15615 (inotify_fd): Declare.
15616 (register_traced_file): Declare.
15617 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
15618 (inotify_fd): Export.
15619 (resolv_conf_descr): Remove.
15620 (nscd_init): Move inotify descriptor creation to main.
15621 Don't register files for notification here.
15622 (register_traced_file): New function.
15623 (invalidate_cache): Don't use reset_res to determine whether to call
15624 res_init, go through the list of registered files.
15625 (main_loop_poll): The inotify descriptors are now stored in the
15626 structures for the traced files.
15627 (main_loop_epoll): Likewise
15628 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
15629 to __nss_disable_nscd.
15630 * nscd/cache.c (prune_cache): There is no single inotify descriptor
15631 for a database anymore. Check the records for all the registered
15632 files instead.
15633 * nss/Makefile (libnss_files-routines): Add files-init.
15634 (libnss_db-routines): Add db-init.
15635 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
15636 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
15637 * nss/nss_db/db-init.c: New file.
15638 * nss/nss_files/files-init.c: New file.
15639 * nss/nsswitch.c (nss_load_library): New function. Broken out of
15640 __nss_lookup_function.
15641 (__nss_lookup_function): Call nss_load_library.
15642 (nss_load_all_libraries): New function.
15643 (__nss_disable_nscd): Take parameter with callback function for files
15644 to register. Set is_nscd. Load all the DSOs for the NSS modules
15645 used for the cached services.
15646 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
15647 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
15648 options for features to all the files in nscd.
15649
15650 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
15651
15652 2011-07-10 Roland McGrath <roland@hack.frob.com>
15653
15654 * csu/elf-init.c (__libc_csu_init): Comment typo.
15655
15656 2011-07-09 Ulrich Drepper <drepper@gmail.com>
15657
15658 * po/pl.po: Update from translation team.
15659 * po/ja.po: Likewise.
15660 * po/ru.po: Likewise.
15661 * po/ko.po: Likewise.
15662 * po/fr.po: Likewise.
15663
15664 2011-07-09 Roland McGrath <roland@hack.frob.com>
15665
15666 * configure.in (.ctors/.dtors header and trailer check):
15667 Use an empirical test on a built program.
15668 * configure: Regenerated.
15669
15670 * configure.in (-z relro check): Use an empirical test on a built DSO.
15671 Detect, but do not require, on ia64.
15672 * configure: Regenerated.
15673
15674 * configure.in (READELF): Find it with AC_CHECK_TOOL.
15675 Update tests that use readelf to use $READELF instead.
15676 * configure: Regenerated.
15677
15678 2011-07-08 Ulrich Drepper <drepper@gmail.com>
15679
15680 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
15681 if the result is not used.
15682
15683 2011-07-05 Andreas Jaeger <aj@suse.de>
15684
15685 [BZ#9696]
15686 * stdlib/tst-strtod.c: Add testcase.
15687
15688 2011-07-07 Ulrich Drepper <drepper@gmail.com>
15689
15690 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
15691 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
15692 The latter has a higher limit. Take additional parameter to pass to
15693 the new function.
15694 (__pathconf): Pass file to __statfs_link_max.
15695 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
15696 __statfs_link_max.
15697 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
15698 __statfs_link_max.
15699
15700 [BZ #12868]
15701 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
15702 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15703 Handle Lustre.
15704 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
15705 (__statfs_filesize_max): Likewise.
15706 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
15707
15708 2011-07-05 Andreas Jaeger <aj@suse.de>
15709
15710 * resolv/res_comp.c (dn_skipname): Remove unused variable.
15711
15712 2011-07-06 Marek Polacek <mpolacek@redhat.com>
15713
15714 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
15715 `status' variable.
15716 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
15717 Likewise.
15718
15719 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
15720
15721 * Makefile (strop-tests): Add strncat.
15722 * string/test-strncat.c: New file.
15723
15724 2011-06-30 Marek Polacek <mpolacek@redhat.com>
15725
15726 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
15727
15728 2011-06-21 Andreas Jaeger <aj@suse.de>
15729
15730 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
15731 Copy rule from iconvdata/Makefile.
15732
15733 2011-07-06 Ulrich Drepper <drepper@gmail.com>
15734
15735 [BZ #12922]
15736 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
15737 but no long options are defined, just return 'W'.
15738
15739 2011-06-22 Marek Polacek <mpolacek@redhat.com>
15740
15741 [BZ #9696]
15742 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
15743
15744 2011-07-06 Ulrich Drepper <drepper@gmail.com>
15745
15746 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
15747 netgroups to read.
15748 (innetgr): Likewise.
15749
15750 2011-07-05 Roland McGrath <roland@hack.frob.com>
15751
15752 * config.make.in (install_root): Default to $(DESTDIR).
15753
15754 2011-07-05 Ulrich Drepper <drepper@gmail.com>
15755
15756 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
15757
15758 2011-07-02 Roland McGrath <roland@hack.frob.com>
15759
15760 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
15761
15762 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
15763 containing directory rather than embedding absolute directory names.
15764
15765 * scripts/check-local-headers.sh: Rewritten using awk.
15766 Match by word, not by line. Print error messages for matches.
15767 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
15768
15769 * Makerules [shlib-lds-flags empty]:
15770 ($(common-objpfx)libc_pic.opts): New target.
15771 ($(common-objpfx)libc_pic.os.clean): New target.
15772 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
15773
15774 * config.make.in (OBJCOPY): New variable.
15775 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
15776 * configure: Regenerated.
15777
15778 * config.make.in (use-default-link): New variable.
15779 * configure.in (use_default_link): Grok --with-default-link to set it.
15780 * configure: Regenerated.
15781 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
15782 (shlib-lds, shlib-lds-flags): Define to empty.
15783
15784 * Makerules (shlib-lds): New variable.
15785 (shlib-lds-flags): New variable.
15786 (build-shlib, build-moduile, build-module-asneeded): Use it.
15787 ($(common-objpfx)libc.so): Use $(shlib-lds).
15788 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
15789 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
15790
15791 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
15792 DT_FLAGS/DT_FLAGS_1 with zero flags.
15793
15794 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
15795 linker script munging.
15796
15797 2011-07-02 Ulrich Drepper <drepper@gmail.com>
15798
15799 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
15800 as 128-bit value.
15801 * crypt/sha512.c (sha512_process_block): Perform total addition using
15802 128-bit if possible.
15803 (__sha512_finish_ctx): Likewise.
15804 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
15805 as 64-bit value.
15806 * crypt/sha256.c (SWAP64): Define.
15807 (sha256_process_block): Perform total addition using 64-bit if
15808 possible.
15809 (__sha256_finish_ctx): Likewise.
15810
15811 2011-07-01 Ulrich Drepper <drepper@gmail.com>
15812
15813 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
15814 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15815 * nscd/hstcache.c (cache_addhst): Likewise.
15816 * nscd/grpcache.c (cache_addgr): Likewise.
15817 * nscd/aicache.c (addhstaiX): Likewise
15818 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
15819
15820 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
15821
15822 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
15823 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15824 * nscd/hstcache.c (cache_addhst): Likewise.
15825 * nscd/grpcache.c (cache_addgr): Likewise.
15826 * nscd/aicache.c (addhstaiX): Likewise
15827
15828 2011-07-01 Andreas Schwab <schwab@redhat.com>
15829
15830 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
15831 domain only when needed.
15832
15833 2011-06-30 Andreas Schwab <schwab@redhat.com>
15834
15835 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
15836 is always restored.
15837
15838 2011-06-29 Ulrich Drepper <drepper@gmail.com>
15839
15840 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
15841 are re-adding the entry.
15842 * nscd/servicescache.c (cache_addserv): Likewise.
15843
15844 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
15845
15846 * sysdeps/generic/dl-irel.h: fix protection against multiple
15847 inclusions.
15848 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
15849
15850 2011-06-28 Ulrich Drepper <drepper@gmail.com>
15851
15852 [BZ #12935]
15853 * malloc/memusage.sh: Fix quoting in message.
15854 * debug/xtrace.sh: Likewise.
15855
15856 * configure.in: Remove support for --experimental-malloc option, make
15857 it the default.
15858 * config.make.in: Likewise.
15859 * malloc/Makefile: Likewise.
15860
15861 2011-06-27 Andreas Schwab <schwab@redhat.com>
15862
15863 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
15864 two-byte characters.
15865
15866 2011-06-27 Roland McGrath <roland@hack.frob.com>
15867
15868 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
15869 AC_CACHE_CHECK invocation.
15870 * configure: Regenerated.
15871
15872 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
15873
15874 2011-06-27 Ulrich Drepper <drepper@gmail.com>
15875
15876 [BZ #12350]
15877 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
15878 bit from old_res_options.
15879
15880 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
15881
15882 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
15883 value type for setfct.
15884
15885 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
15886
15887 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15888 __gettimeofday instead of gettimeofday.
15889
15890 2011-06-26 Ulrich Drepper <drepper@gmail.com>
15891
15892 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
15893
15894 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
15895
15896 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
15897
15898 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
15899 info.
15900
15901 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15902
15903 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15904 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15905 strcpy-sse2-unaligned strncpy-sse2-unaligned
15906 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
15907 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
15908 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
15909 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
15910 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
15911 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
15912 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
15913 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
15914 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
15915 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
15916 (STRCPY): Support SSE2 and SSSE3 versions.
15917
15918 2011-06-24 Ulrich Drepper <drepper@gmail.com>
15919
15920 [BZ #12874]
15921 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
15922 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
15923 kernels which artificially limit size of requests.
15924
15925 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
15926
15927 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15928 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
15929 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
15930 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
15931 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
15932 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
15933 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
15934 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
15935 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
15936 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
15937 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
15938 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
15939 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
15940 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
15941 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
15942 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15943 Enable unaligned load optimization for Intel Core i3, i5 and i7
15944 processors.
15945 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
15946 Define.
15947 (index_Fast_Unaligned_Load): Define.
15948 (HAS_FAST_UNALIGNED_LOAD): Define.
15949
15950 2011-06-23 Marek Polacek <mpolacek@redhat.com>
15951
15952 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
15953
15954 2011-06-22 Ulrich Drepper <drepper@gmail.com>
15955
15956 [BZ #12907]
15957 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
15958 until it is clear that the information is realy needed.
15959 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
15960
15961 2011-06-22 Andreas Schwab <schwab@redhat.com>
15962
15963 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
15964
15965 2011-06-22 Ulrich Drepper <drepper@gmail.com>
15966
15967 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
15968 /sys/devices/system/cpu/online if it is usable.
15969
15970 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
15971 reading the information from the /proc filesystem to once a second.
15972
15973 2011-06-21 Andreas Jaeger <aj@suse.de>
15974
15975 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
15976 NULL after inclusion of kernel headers.
15977
15978 2011-06-21 Ulrich Drepper <drepper@gmail.com>
15979
15980 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
15981 calls to internal_setent.
15982
15983 [BZ #12885]
15984 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
15985 addresses using gethostbyname4_r ignore IPv4 addresses.
15986
15987 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
15988 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
15989
15990 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
15991
15992 2011-06-20 David S. Miller <davem@davemloft.net>
15993
15994 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
15995 inclusions.
15996 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
15997
15998 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
15999 (elf_irel): Use it.
16000 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
16001 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
16002 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
16003 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
16004 * sysdeps/x86_64/dl-irel.h: Likewise.
16005
16006 * elf/dl-runtime.c: Use elf_ifunc_invoke.
16007 * elf/dl-sym.c: Likewise.
16008
16009 2011-06-15 Ulrich Drepper <drepper@gmail.com>
16010
16011 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
16012 need to dereference resplen2.
16013
16014 2011-06-14 Andreas Schwab <schwab@redhat.com>
16015
16016 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
16017
16018 2011-06-15 Ulrich Drepper <drepper@gmail.com>
16019
16020 * Makeconfig: Define vardbdir and inst_vardbdir.
16021 * nss/Makefile: Add rules to install db-Makefile.
16022
16023 * nss/nss_db/db-XXX.c: Cleanup.
16024
16025 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
16026 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
16027 GLIBC_PRIVATE.
16028 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
16029 * nss/makedb.c: Implement -g option to specify that value strings
16030 are generated and should not be added to table iterated over for
16031 get*ent calls.
16032 * nss/nss_db/db-initgroups.c: New file.
16033
16034 * nss/getent.c: Add support for initgroups lookups through getgrouplist
16035 interface.
16036
16037 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
16038 (internal_getgrouplist): Adjust to name change.
16039 Update use_initgroups_entry if this is not the first call.
16040 * nss/databases.def: Add initgroups entry.
16041
16042 * nss/makedb.c (compute_tables): Check result of multiple hash table
16043 sizes to minimize maximum chain length.
16044
16045 2011-06-14 Ulrich Drepper <drepper@gmail.com>
16046
16047 * Versions.def: Add entry for libnss_db.
16048 * shlib-versions: Likewise.
16049 * nss/Makefile: Add rules to build libnss_db.
16050 * nss/Versions: Add libnss_db information. Organize libnss_files
16051 entries better.
16052 * nss/db-Makefile: Add gshadow support. Change rules for the new
16053 makedb progra. Some minor improvements to generate smaller files.
16054 * nss/nss_db/nss_db.h: Move NSS database header data structures to
16055 here from...
16056 * nss/makedb.c: ...here.
16057 Improve database format to be smaller and require less memory at
16058 runtime.
16059 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
16060 db anymore.
16061 * nss/nss_db/db-netgrp.c: Likewise.
16062 * nss/nss_db/db-open.c: Likewise.
16063 * nss/nss_files/flies-XXX.x: Adjust comments.
16064 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
16065 * nss/nss_files/files-grp.c: Likewise.
16066 * nss/nss_files/files-hosts.c: Likewise.
16067 * nss/nss_files/files-network.c: Likewise.
16068 * nss/nss_files/files-proto.c: Likewise.
16069 * nss/nss_files/files-pwd.c: Likewise.
16070 * nss/nss_files/files-rpc.c: Likewise.
16071 * nss/nss_files/files-service.c: Likewise.
16072 * nss/nss_files/files-sgrp.c: Likewise.
16073 * nss/nss_files/files-spwd.c: Likewise.
16074 * nss/nss_db/db-alias.c: Removed.
16075 * nss/nss_db/dummy-db.h: Removed.
16076
16077 2011-06-02 Ulrich Drepper <drepper@gmail.com>
16078
16079 * nss/makedb.c: Rewritten to not use database library.
16080 * nss/Makefile: Update to build new makedb program.
16081
16082 2011-06-14 Andreas Jaeger <aj@suse.de>
16083
16084 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
16085 memset declaration.
16086
16087 2011-06-10 Andreas Schwab <schwab@redhat.com>
16088
16089 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
16090 tmpbuf.
16091
16092 2011-06-10 Roland McGrath <roland@hack.frob.com>
16093
16094 * Makerules (shlib.lds): Fail if the linker script comes out empty.
16095 * elf/Makefile ($(objpfx)ld.so): Likewise.
16096
16097 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
16098 Don't list ld.so twice in dependencies.
16099
16100 * posix/bug-regex31.c: Include <stdlib.h>.
16101
16102 * nscd/hstcache.c (cache_addhst): Remove unused variable.
16103
16104 * nis/nss_compat/compat-spwd.c
16105 (getspent_next_nss_netgr): Remove unused variable.
16106 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
16107
16108 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
16109 nonmembers" output to use the right array.
16110
16111 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
16112
16113 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
16114
16115 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
16116 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
16117 * catgets/gencat.c (read_input_file): Likewise.
16118 * locale/programs/locarchive.c (enlarge_archive): Likewise.
16119
16120 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
16121 variable definition inside #if's controlling its use.
16122
16123 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
16124
16125 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
16126
16127 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
16128
16129 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
16130 unreachable code.
16131
16132 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
16133
16134 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
16135 * configure: Regenerated.
16136
16137 * Makerules: Revert last change.
16138 * elf/Makefile: Likewise.
16139
16140 2011-06-09 Roland McGrath <roland@hack.frob.com>
16141
16142 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
16143 * elf/Makefile ($(objpfx)librtld.os): Likewise.
16144 (reloc-link): Likewise.
16145
16146 2011-06-09 Ulrich Drepper <drepper@gmail.com>
16147
16148 * elf/Makefile: Add rules to build pldd.
16149 * elf/pldd.c: New file.
16150 * elf/pldd-xx.c: New file.
16151
16152 2011-06-07 Ulrich Drepper <drepper@gmail.com>
16153
16154 * version.h: Update for 2.15 development version.
16155
16156 2011-06-07 David S. Miller <davem@davemloft.net>
16157
16158 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
16159 ifuncs.
16160 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
16161 elf_machine_lazy_rel): Likewise.
16162 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16163 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
16164 elf_machine_lazy_rel): Likewise.
16165 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
16166 dl_hwcap via passed in argument.
16167 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
16168 Likewise.
16169
16170 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16171
16172 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
16173
16174 2011-06-06 Roland McGrath <roland@hack.frob.com>
16175
16176 [BZ #12849]
16177 * manual/fdl-1.1.texi: New file, verbatim from:
16178 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
16179 * manual/lgpl-2.1.texi: New file, verbatim from:
16180 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
16181 * manual/Makefile (licenses): New variable, list those new file names.
16182 (texis): Use it.
16183 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
16184
16185 * manual/fdl.texi: File removed.
16186 * manual/lesser.texi: File removed.
16187 * manual/libc.texinfo (Copying, Documentation License):
16188 Use new @include file names, put @appendix directive before @include.
16189
16190 2011-06-04 Jakub Jelinek <jakub@redhat.com>
16191
16192 [BZ #12841]
16193 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
16194 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
16195 (mq_open): Add __NTH.
16196
16197 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
16198
16199 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16200 Assume Intel Core i3/i5/i7 processor if AVX is available.
16201
16202 2011-05-31 Ulrich Drepper <drepper@gmail.com>
16203
16204 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
16205 typo.
16206
16207 2011-05-31 Andreas Schwab <schwab@redhat.com>
16208
16209 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
16210 memory. Use alloca_account. Fix memory leak when retrying.
16211
16212 2011-05-31 Ulrich Drepper <drepper@gmail.com>
16213
16214 * version.h (RELEASE): Bump for 2.14 release.
16215 * include/features.h (__GLIBC_MINOR__): Bump to 14.
16216
16217 * config.make.in (RANLIB): Remove entry.
16218
16219 2011-05-30 Ulrich Drepper <drepper@gmail.com>
16220
16221 * po/Makefile (po-sed-cmd): Add ksh to extensions.
16222 (libc.pot): Work around missing support for .ksh extension in xgettext.
16223
16224 [BZ #12684]
16225 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
16226 if both request failed.
16227 (send_dg): In case of server errors clear resplen or *resplen2.
16228
16229 [BZ #12454]
16230 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
16231 when there are multiple maps.
16232 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
16233 (_dl_fini): Remove test here.
16234
16235 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
16236
16237 2011-05-29 Ulrich Drepper <drepper@gmail.com>
16238
16239 [BZ #12350]
16240 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
16241 bit from old_res_options.
16242 (gaih_inet): Likewise.
16243
16244 [BZ #11099]
16245 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
16246 as signed.
16247
16248 * resolv/res_init.c (res_setoptions): Make the code more compact.
16249
16250 [BZ #11558]
16251 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
16252 set RES_USEVC.
16253
16254 [BZ #11634]
16255 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
16256
16257 * malloc/malloc.h: Mark malloc hook variables as deprecated.
16258
16259 [BZ #11781]
16260 * malloc/malloc.h: Declare malloc hook variables as volatile.
16261
16262 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
16263 in last patch.
16264
16265 [BZ #11799]
16266 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
16267 raise in the comment.
16268 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
16269 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16270 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
16271
16272 2011-05-28 Ulrich Drepper <drepper@gmail.com>
16273
16274 [BZ #12811]
16275 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
16276 grow the buffers more if it already has to be sufficient.
16277 (build_wcs_upper_buffer): Likewise.
16278 * posix/regexec.c (check_matching): Likewise.
16279 (clean_state_log_if_needed): Likewise.
16280 (extend_buffers): Don't enlarge buffers beyond size of the input
16281 buffer.
16282 Patches mostly by Emil Wojak <emil@wojak.eu>.
16283 * posix/bug-regex32.c: New file.
16284 * posix/Makefile (tests): Add bug-regex32.
16285
16286 * locale/findlocale.c (_nl_find_locale): Return right away if
16287 _nl_explode_name failed.
16288 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
16289
16290 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
16291
16292 * debug/xtrace.sh: Unify messages.
16293 * malloc/memusage.sh: Likewise.
16294
16295 [BZ #12813]
16296 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
16297 time symbol from vDSO. Substitute with vsyscall if not available.
16298 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
16299 __vdso_time.
16300
16301 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
16302 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
16303 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
16304 Add sendmmsg and internal_sendmmsg.
16305 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
16306 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
16307 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
16308
16309 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
16310 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
16311 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
16312
16313 2011-05-27 Ulrich Drepper <drepper@gmail.com>
16314
16315 [BZ #12813]
16316 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
16317 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
16318 available.
16319 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
16320 __vdso_getcpu.
16321
16322 [BZ #12814]
16323 * iconvdata/Makefile (tests): Add bug-iconv9.
16324 * iconvdata/bug-iconv9.c: New file.
16325
16326 2011-05-27 Andreas Schwab <schwab@redhat.com>
16327
16328 [BZ #12814]
16329 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
16330
16331 2011-05-25 Jakub Jelinek <jakub@redhat.com>
16332
16333 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16334 (struct user_regs_struct): Change intcs field back to cs.
16335
16336 2011-05-25 Ulrich Drepper <drepper@gmail.com>
16337
16338 * po/ja.po: Update from translation team.
16339
16340 2011-05-23 Ulrich Drepper <drepper@gmail.com>
16341
16342 [BZ #12795]
16343 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
16344 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
16345
16346 2011-05-20 Andreas Schwab <schwab@redhat.com>
16347
16348 * stdlib/longlong.h: Update from GCC.
16349
16350 2011-05-23 Andreas Schwab <schwab@redhat.com>
16351
16352 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
16353 parameter name.
16354 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
16355 Add parameter name.
16356 (__sysconf): Pass it down.
16357
16358 2011-05-22 Ulrich Drepper <drepper@gmail.com>
16359
16360 [BZ #12671]
16361 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
16362 some situations.
16363 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16364 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
16365 add in in __libc_use_alloca calls. Adjust callers.
16366 (glob): Use malloc in some situations.
16367
16368 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
16369 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
16370 pltexit.
16371
16372 2011-05-21 Ulrich Drepper <drepper@gmail.com>
16373
16374 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
16375 and CLOCK_BOOTTIME_ALARM.
16376
16377 [BZ #12782]
16378 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
16379 is returned.
16380
16381 * string/_strerror.c (__strerror_r): Print negative errors as signed
16382 numbers.
16383
16384 [BZ #12777]
16385 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
16386 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
16387 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
16388
16389 * configure.in: Fix typo in redirection and correct removal of test
16390 files in two cases.
16391
16392 [BZ #12788]
16393 * locale/setlocale.c (new_composite_name): Fix test to check for
16394 identical name of all categories.
16395
16396 [BZ #12792]
16397 * libio/filedoalloc.c (local_isatty): New function.
16398 (_IO_file_doallocate): Use local_isatty.
16399 * stdio-common/perror.c (perror): In case a new stream is used
16400 forward the stream error.
16401 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
16402 error flag.
16403
16404 2011-05-20 Ulrich Drepper <drepper@gmail.com>
16405
16406 [BZ #11869]
16407 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
16408 alloca.
16409 * include/alloca.h (extend_alloca_account): Define.
16410
16411 [BZ #11857]
16412 * posix/regex.h: Fix comments with documentation of user-accessible
16413 fields after compilation and describe correct free'ing of pattern
16414 after re_compile_pattern.
16415 Patch by Reuben Thomas <rrt@sc3d.org>.
16416
16417 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
16418
16419 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
16420 and -mno-altivec to prevent the compiler from using Altivec and/or
16421 VSX instructions when the corresponding registers are not available.
16422
16423 2011-05-19 Andreas Schwab <schwab@redhat.com>
16424
16425 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
16426
16427 2011-05-19 Ulrich Drepper <drepper@gmail.com>
16428
16429 * libio/freopen.c (freopen): Use __dup2, not dup2.
16430 * libio/freopen64.c (freopen64): Likewise.
16431
16432 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
16433
16434 [BZ #12775]
16435 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
16436 * math/Makefile (tests): Add test-powl.
16437 (CFLAGS-test-powl.c): Define.
16438 * math/test-powl.c: New file.
16439
16440 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
16441
16442 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
16443
16444 2011-05-17 Ulrich Drepper <drepper@gmail.com>
16445
16446 [BZ #11837]
16447 * iconvdata/gb18030.c: Update to GB18020-2005.
16448
16449 2011-05-16 Ulrich Drepper <drepper@gmail.com>
16450
16451 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
16452 RE_SYNTAX_POSIX_AWK): Update to match recent development.
16453 Patch by Aharon Robbins <arnold@skeeve.com>.
16454
16455 [BZ #11892]
16456 * stdlib/putenv.c (putenv): Don't always create copy of the variable
16457 on the stack.
16458
16459 [BZ #11895]
16460 * misc/pselect.c (__pselect): Handle timeout value errors hidden
16461 through underflows.
16462
16463 [BZ #12766]
16464 * misc/error.c (error_at_line): Ensure file_name and old_file_name
16465 point to strings before performing equality test for error_one_per_line
16466 mode.
16467
16468 [BZ #11697]
16469 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
16470
16471 [BZ #11820]
16472 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
16473 (struct user_fpregs_struct): Avoid __uint*_t types.
16474
16475 [BZ #6420]
16476 * malloc/mtrace.c (tr_where): Add additional parameter to point to
16477 symbol info. Use it instead of calling _dl_addr locally.
16478 (lock_and_info): New function.
16479 (tr_freehook): Call lock_and_info and pass symbol info as additional
16480 parameter to tr_where.
16481 (tr_mallochook): Likewise.
16482 (tr_reallochook): Likewise.
16483 (tr_memalignhook): Likewise.
16484
16485 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
16486 used and couldn't be at all thread-safe.
16487
16488 2011-05-15 Ulrich Drepper <drepper@gmail.com>
16489
16490 * libio/freopen.c (freopen): Don't close old file descriptor
16491 before the new one is opened. Instead dup the new file descriptor
16492 to the old one after the new stream is created.
16493 * libio/freopen64.c (freopen64): Likewise.
16494 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
16495 * libio/fileops.c (_IO_new_file_close_it): Handle new
16496 _IO_FLAGS2_NOCLOSE flag.
16497 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
16498 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
16499 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
16500 _IO_FLAGS2_NOCLOSE flag.
16501 * include/unistd.h: Add hidden_proto for dup3.
16502 Define __have_dup3.
16503 * io/dup3.c: Define hidden symbol.
16504 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
16505
16506 [BZ #7101]
16507 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
16508 when an incomplete long option is used.
16509 * posix/tst-getopt_long1.c: New file.
16510 * posix/Makefile (tests): Add tst-getopt_long1.
16511
16512 [BZ #10138]
16513 * scripts/config.guess: Update from autoconf-2.68.
16514 * scripts/config.sub: Likewise.
16515
16516 [BZ #10157]
16517 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
16518 tests into ...
16519 (has_cpuclock): ...this. New function.
16520 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
16521 macro here based on has_cpuclock code.
16522
16523 [BZ #10149]
16524 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16525 First byte (not low byte) is now always NUL.
16526 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
16527
16528 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16529 Use non-cancelable interfaces.
16530
16531 [BZ #9809]
16532 * locale/iso-639.def: Add entry for Sorani.
16533
16534 [BZ #11901]
16535 * include/stdlib.h: Move include protection to the right place.
16536 Define abort_msg_s. Declare __abort_msg with it.
16537 * stdlib/abort.c (__abort_msg): Adjust type.
16538 * assert/assert.c (__assert_fail_base): New function. Majority
16539 of code from __assert_fail. Allocate memory for __abort_msg with
16540 mmap.
16541 (__assert_fail): Now call __assert_fail_base.
16542 * assert/assert-perr.c: Remove bulk of implementation. Use
16543 __assert_fail_base.
16544 * include/assert.hL Declare __assert_fail_base.
16545 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
16546 mmap.
16547 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
16548
16549 2011-05-14 Ulrich Drepper <drepper@gmail.com>
16550
16551 [BZ #11952]
16552 [BZ #12453]
16553 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
16554 until all modules are registered in the DTV.
16555 * elf/Makefile: Add rules to build and run tst-tls19.
16556 * elf/tst-tls19.c: New file.
16557 * elf/tst-tls19mod1.c: New file.
16558 * elf/tst-tls19mod2.c: New file.
16559 * elf/tst-tls19mod3.c: New file.
16560 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
16561
16562 [BZ #12083]
16563 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
16564 correctly.
16565
16566 [BZ #12601]
16567 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
16568 two-byte sequence errors.
16569 * iconvdata/Makefile (tests): Add bug-iconv8.
16570 * iconvdata/bug-iconv8.c: New file.
16571
16572 [BZ #12626]
16573 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
16574 buf2 definition.
16575
16576 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
16577
16578 [BZ #12432]
16579 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
16580 (dummy_getcfa): New function.
16581 (init): Get _Unwind_GetCFA address, use dummy if not found.
16582 (backtrace_helper): In recursion check, also check whether CFA changes.
16583 (__backtrace): Completely initialize arg.
16584
16585 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
16586 storing incomplete byte sequence in state object. Avoid testing for
16587 guaranteed too small input if we know there is enough data available.
16588
16589 2011-05-11 Andreas Schwab <schwab@redhat.com>
16590
16591 * Makeconfig (+link-pie): Indent.
16592 * Rules (binaries-pie): Define if $(have-fpie) and
16593 $(build-shared).
16594 (binaries-shared): Also filter out $(binaries-pie).
16595 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
16596 * nscd/Makefile (others-pie): Add nscd.
16597 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
16598 ($(objpfx)nscd): Remove command override.
16599 * login/Makefile (others-pie): Add pt_chown.
16600 ($(objpfx)pt_chown): Remove command override.
16601 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
16602 remove command overrides.
16603
16604 2011-05-13 Ulrich Drepper <drepper@gmail.com>
16605
16606 * libio/tst_putwc.c: Fix error messages.
16607
16608 [BZ #12724]
16609 * libio/fileops.c (_IO_new_file_close_it): Always flush when
16610 currently writing and seek to current position when not.
16611 * libio/Makefile (tests): Add bug-fclose1.
16612 * libio/bug-fclose1.c: New file.
16613
16614 2011-05-12 Ulrich Drepper <drepper@gmail.com>
16615
16616 [BZ #12511]
16617 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
16618 don't set DF_1_NODELETE here.
16619 (do_lookup_x): When entering new entry test for copy relocation
16620 and if necessary set DF_1_NODELETE flag.
16621 * elf/tst-unique4.cc: New file.
16622 * elf/tst-unique4.h: New file.
16623 * elf/tst-unique4lib.cc: New file.
16624 * elf/Makefile: Add rules to build and run tst-unique4.
16625 Patch by Piotr Bury <pbury@goahead.com>.
16626
16627 2011-05-11 Ulrich Drepper <drepper@gmail.com>
16628
16629 [BZ #12052]
16630 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
16631
16632 [BZ #12625]
16633 * misc/mntent_r.c (addmntent): Flush the stream after the output
16634
16635 [BZ #12393]
16636 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
16637 (is_trusted_path_normalize): Skip initial colon. Append slash
16638 to empty buffer. Duplicate is_trusted_path code but allow
16639 constructed patch to be prefix.
16640 (is_dst): Allow $ORIGIN followed by /.
16641 (_dl_dst_substitute): Correct clearing of check_for_trusted.
16642 Correct testing of result of is_trusted_path_normalize
16643 (decompose_rpath): Fix warning.
16644
16645 2011-05-10 Ulrich Drepper <drepper@gmail.com>
16646
16647 [BZ #11257]
16648 * grp/initgroups.c (internal_getgrouplist): When we found the service
16649 list through the initgroups entry in nsswitch.conf do not always
16650 continue on a successful lookup. Don't always use the
16651 __nss_group_database value if it is set.
16652 * nss/nsswitch.conf (initgroups): Change action for successful db
16653 lookup to continue for compatibility.
16654
16655 2011-05-09 Ulrich Drepper <drepper@gmail.com>
16656
16657 [BZ #11532]
16658 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
16659 and CP774 modules.
16660 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
16661 and CP774 modules.
16662 * iconvdata/tst-tables.sh: Likewise.
16663 * iconvdata/cp770.c: New file.
16664 * iconvdata/cp771.c: New file.
16665 * iconvdata/cp772.c: New file.
16666 * iconvdata/cp773.c: New file.
16667 * iconvdata/cp774.c: New file.
16668 * iconvdata/testdata/CP770: New file.
16669 * iconvdata/testdata/CP770..UTF8: New file.
16670 * iconvdata/testdata/CP771: New file.
16671 * iconvdata/testdata/CP771..UTF8: New file.
16672 * iconvdata/testdata/CP772: New file.
16673 * iconvdata/testdata/CP772..UTF8: New file.
16674 * iconvdata/testdata/CP773: New file.
16675 * iconvdata/testdata/CP773..UTF8: New file.
16676 * iconvdata/testdata/CP774: New file.
16677 * iconvdata/testdata/CP774..UTF8: New file.
16678
16679 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
16680 END CHARMAP line.
16681 * iconvdata/gen-8bit-gap.sh: Likewise.
16682 * iconvdata/gen-8bit.sh: Likewise.
16683
16684 * locale/iso-639.def: Add ary entry.
16685
16686 [BZ #11258]
16687 * locale/C-translit.h.in: Add U20A1 transliteration.
16688
16689 [BZ #12178]
16690 * locale/iso-639.def: Add wae entry.
16691 Patch by Kevin Bortis <bortis@translate-wae.ch>.
16692
16693 [BZ #12545]
16694 * locale/programs/localedef.c (construct_output_path): Use ssize_t
16695 for n.
16696
16697 [BZ #12711]
16698 * locale/C-translit.h.in: Add entry for U20B9.
16699 Patch by pravin.d.s@gmail.com.
16700
16701 2011-05-08 Ulrich Drepper <drepper@gmail.com>
16702
16703 [BZ #12713]
16704 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
16705 ENAMETOOLONG use generic getcwd.
16706 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
16707 in rtld. Use *stat64.
16708 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
16709 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
16710 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
16711 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
16712 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
16713 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
16714 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
16715 __fstatat64 macros.
16716 * include/dirent.h: Add libc_hidden_proto for rewinddir.
16717 * dirent/rewinddir.c: Add libc_hidden_def.
16718 * sysdeps/mach/hurd/rewinddir.c: Likewise.
16719 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
16720
16721 * include/dirent.h (__alloc_dir): Add flags parameter.
16722 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
16723 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
16724 __alloc_dir.
16725 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
16726 from fdopendir if O_CLOEXEC is already set.
16727
16728 2011-03-15 Alan Modra <amodra@gmail.com>
16729
16730 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
16731 l_tls_firstbyte_offset non-zero. Save padding offset in
16732 l_tls_firstbyte_offset for later use.
16733 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
16734 freeing static tls block.
16735
16736 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
16737
16738 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
16739 where #ifdef was intended. The intent is to prevent ARG_MAX from
16740 being defined by the kernel headers.
16741
16742 2011-05-07 Ulrich Drepper <drepper@gmail.com>
16743
16744 [BZ #12734]
16745 * resolv/resolv.h: Define RES_NOTLDQUERY.
16746 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
16747 no-tld-query and set RES_NOTLDQUERY.
16748 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
16749 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
16750 modern BIND to search name as TLD unless forbidden.
16751
16752 2011-05-07 Petr Baudis <pasky@suse.cz>
16753 Ulrich Drepper <drepper@gmail.com>
16754
16755 [BZ #12393]
16756 * elf/dl-load.c (fillin_rpath): Move trusted path check...
16757 (is_trusted_path): ...to here.
16758 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
16759 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
16760 using is_trusted_path_normalize() in setuid scripts.
16761
16762 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16763
16764 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
16765 __BEGIN/__END_DECLS.
16766
16767 2011-05-06 Ulrich Drepper <drepper@gmail.com>
16768
16769 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
16770 NSS_STATUS_NOTFOUND if no record was found.
16771
16772 2011-05-05 Andreas Schwab <schwab@redhat.com>
16773
16774 * sunrpc/Makefile (headers): Add rpc/netdb.h.
16775 (headers-not-in-tirpc): Remove rpc/netdb.h
16776 * resolv/netdb.h: Revert last change.
16777
16778 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16779
16780 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
16781 circular dependency between libgcc.a and libc.a.
16782
16783 2011-05-05 Andreas Schwab <schwab@redhat.com>
16784
16785 * resolv/netdb.h: Don't include <rpc/netdb.h>.
16786 * nis/Makefile: Don't install rpcsvc/*.
16787 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
16788 instead of <rpc/types.h>.
16789 (MAXHOSTNAMELEN): Define.
16790
16791 2011-05-03 Andreas Schwab <schwab@redhat.com>
16792
16793 * elf/ldconfig.c (add_dir): Don't crash on empty path.
16794
16795 2011-04-28 Maciej Babinski <mbabinski@google.com>
16796
16797 [BZ #12714]
16798 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
16799 gethostbyname4_r when IPv6 results are possible.
16800
16801 2011-05-02 Ulrich Drepper <drepper@gmail.com>
16802
16803 [BZ #12723]
16804 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
16805 _PC_PIPE_BUF handling.
16806
16807 2011-04-30 Bruno Haible <bruno@clisp.org>
16808
16809 [BZ #12717]
16810 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
16811 * resolv/netdb.h (getnameinfo): Change type of flags parameter
16812 to 'int'.
16813 * inet/getnameinfo.c (getnameinfo): Likewise.
16814
16815 2011-04-29 Ulrich Drepper <drepper@gmail.com>
16816
16817 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
16818 to groups setting in database lookup.
16819 * nss/nsswitch.conf: Add initgroups entry.
16820
16821 2011-04-22 Ulrich Drepper <drepper@gmail.com>
16822
16823 [BZ #12685]
16824 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
16825 mode string.
16826 Patch by Eric Blake <eblake@redhat.com>.
16827
16828 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
16829
16830 * sunrpc/Makefile (need-export-routines): Add svc_run.
16831 (routines): Remove svc_run.
16832 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
16833 * sunrpc/clnt_perr.c (clnt_perrno): Export.
16834 * sunrpc/svc_run.c (svc_run): Likewise.
16835 * sunrpc/svc_udp.c (svcudp_create): Likewise.
16836
16837 2011-04-21 Ulrich Drepper <drepper@gmail.com>
16838
16839 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
16840 problem in reallocation in last patch.
16841
16842 2011-04-20 Ulrich Drepper <drepper@gmail.com>
16843
16844 * sunrpc/Makefile: Move inclusion of Rules.
16845
16846 2011-04-19 Ulrich Drepper <drepper@gmail.com>
16847
16848 * nss/nss_files/files-initgroups.c: New file.
16849 * nss/Makefile (libnss_files-routines): Add files-initgroups.
16850 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
16851 _nss_files_initgroups_dyn.
16852
16853 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
16854
16855 * elf/elf.h (R_ARM_IRELATIVE): Define.
16856
16857 2011-04-19 Ulrich Drepper <drepper@gmail.com>
16858
16859 * po/ru.po: Update from translation team.
16860
16861 2011-04-17 Ulrich Drepper <drepper@gmail.com>
16862
16863 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
16864 dependencies.
16865
16866 2011-02-06 Mike Frysinger <vapier@gentoo.org>
16867
16868 [BZ #12653]
16869 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
16870 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
16871 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16872 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16873 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16874
16875 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
16876
16877 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
16878 differing bytes.
16879 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16880 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16881 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16882
16883 2011-04-17 Ulrich Drepper <drepper@gmail.com>
16884
16885 [BZ #12420]
16886 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
16887 storing it.
16888 * stdlib/bug-getcontext.c: New file.
16889 * stdlib/Makefile: Add rules to build and run bug-getcontext.
16890
16891 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16892
16893 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
16894 instructions into .machine "z9-109".
16895 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16896 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16897
16898 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16899
16900 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
16901 between environment variables and auxiliary vector.
16902
16903 2011-04-16 Ulrich Drepper <drepper@gmail.com>
16904
16905 * Makefile: Add rules to build linkobj/libc.so.
16906 * include/libc-symbols.h: Define libc_hidden_nolink.
16907 * include/rpc/auth.h: Mark functions which are to be hidden.
16908 * include/rpc/auth_des.h: Likewise.
16909 * include/rpc/auth_unix.h: Likewise.
16910 * include/rpc/clnt.h: Likewise.
16911 * include/rpc/des_crypt.h: Likewise.
16912 * include/rpc/key_prot.h: Likewise.
16913 * include/rpc/pmap_clnt.h: Likewise.
16914 * include/rpc/pmap_prot.h: Likewise.
16915 * include/rpc/pmap_rmt.h: Likewise.
16916 * include/rpc/rpc_msg.h: Likewise.
16917 * include/rpc/svc.h: Likewise.
16918 * include/rpc/svc_auth.h: Likewise.
16919 * include/rpc/xdr.h: Likewise.
16920 * nis/Makefile: Link all DSOs against linkobj/libc.so.
16921 * nss/Makefile: Likewise.
16922 * sunrpc/Makefile: Don't install headers. Build library with normal
16923 entry points. Don't build rpcinfo. Link RPC tests appropriately.
16924 * sunrpc/auth_des.c: Hide exported symbols by default, export some
16925 for the compat linking library. Remove use of INTDEF/INTUSE.
16926 * sunrpc/auth_none.c: Likewise.
16927 * sunrpc/auth_unix.c: Likewise.
16928 * sunrpc/authdes_prot.c: Likewise.
16929 * sunrpc/authuxprot.c: Likewise.
16930 * sunrpc/clnt_gen.c: Likewise.
16931 * sunrpc/clnt_perr.c: Likewise.
16932 * sunrpc/clnt_raw.c: Likewise.
16933 * sunrpc/clnt_simp.c: Likewise.
16934 * sunrpc/clnt_tcp.c: Likewise.
16935 * sunrpc/clnt_udp.c: Likewise.
16936 * sunrpc/clnt_unix.c: Likewise.
16937 * sunrpc/des_crypt.c: Likewise.
16938 * sunrpc/des_soft.c: Likewise.
16939 * sunrpc/get_myaddr.c: Likewise.
16940 * sunrpc/key_call.c: Likewise.
16941 * sunrpc/key_prot.c: Likewise.
16942 * sunrpc/netname.c: Likewise.
16943 * sunrpc/pm_getmaps.c: Likewise.
16944 * sunrpc/pm_getport.c: Likewise.
16945 * sunrpc/pmap_clnt.c: Likewise.
16946 * sunrpc/pmap_prot.c: Likewise.
16947 * sunrpc/pmap_prot2.c: Likewise.
16948 * sunrpc/pmap_rmt.c: Likewise.
16949 * sunrpc/publickey.c: Likewise.
16950 * sunrpc/rpc_cmsg.c: Likewise.
16951 * sunrpc/rpc_common.c: Likewise.
16952 * sunrpc/rpc_dtable.c: Likewise.
16953 * sunrpc/rpc_prot.c: Likewise.
16954 * sunrpc/rpc_thread.c: Likewise.
16955 * sunrpc/rtime.c: Likewise.
16956 * sunrpc/svc.c: Likewise.
16957 * sunrpc/svc_auth.c: Likewise.
16958 * sunrpc/svc_authux.c: Likewise.
16959 * sunrpc/svc_raw.c: Likewise.
16960 * sunrpc/svc_run.c: Likewise.
16961 * sunrpc/svc_simple.c: Likewise.
16962 * sunrpc/svc_tcp.c: Likewise.
16963 * sunrpc/svc_udp.c: Likewise.
16964 * sunrpc/svc_unix.c: Likewise.
16965 * sunrpc/svcauth_des.c: Likewise.
16966 * sunrpc/xcrypt.c: Likewise.
16967 * sunrpc/xdr.c: Likewise.
16968 * sunrpc/xdr_array.c: Likewise.
16969 * sunrpc/xdr_float.c: Likewise.
16970 * sunrpc/xdr_intXX_t.c: Likewise.
16971 * sunrpc/xdr_mem.c: Likewise.
16972 * sunrpc/xdr_rec.c: Likewise.
16973 * sunrpc/xdr_ref.c: Likewise.
16974 * sunrpc/xdr_sizeof.c: Likewise.
16975 * sunrpc/xdr_stdio.c: Likewise.
16976
16977 2011-04-10 Ulrich Drepper <drepper@gmail.com>
16978
16979 [BZ #12650]
16980 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
16981 * sysdeps/ia64/dl-tls.h: Likewise.
16982 * sysdeps/powerpc/dl-tls.h: Likewise.
16983 * sysdeps/s390/dl-tls.h: Likewise.
16984 * sysdeps/sh/dl-tls.h: Likewise.
16985 * sysdeps/sparc/dl-tls.h: Likewise.
16986 * sysdeps/x86_64/dl-tls.h: Likewise.
16987 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
16988
16989 2011-03-14 Andreas Schwab <schwab@redhat.com>
16990
16991 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
16992 rpath element also skip the following colon.
16993 (expand_dynamic_string_token): Add is_path parameter and pass
16994 down to DL_DST_REQUIRED and _dl_dst_substitute.
16995 (decompose_rpath): Call expand_dynamic_string_token with
16996 non-zero is_path. Ignore empty rpaths.
16997 (_dl_map_object_from_fd): Call expand_dynamic_string_token
16998 with zero is_path.
16999
17000 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
17001
17002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
17003 Make cancelable.
17004
17005 2011-04-09 Ulrich Drepper <drepper@gmail.com>
17006
17007 [BZ #12655]
17008 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
17009 Patch by Filipe David Manana <fdmanana@apache.org>.
17010
17011 2011-04-07 Andreas Schwab <schwab@redhat.com>
17012
17013 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
17014 Maintain aligned stack.
17015 (CHECK_RSP): Remove unused macro.
17016
17017 2011-04-03 Ulrich Drepper <drepper@gmail.com>
17018
17019 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
17020 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
17021
17022 2011-04-02 Ulrich Drepper <drepper@gmail.com>
17023
17024 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
17025
17026 * include/features.h: Mention __USE_XOPEN2K8 in comment.
17027
17028 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
17029
17030 [BZ #12518]
17031 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
17032 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
17033 * sysdeps/x86_64/memmove.c: New file.
17034 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
17035 (memcpy): Renamed to ...
17036 (__new_memcpy): This.
17037 (memcpy): Provide GLIBC_2_14 memcpy.
17038 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
17039 (memcpy): Provide GLIBC_2_2_5 memcpy.
17040
17041 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17042
17043 [BZ #12631]
17044 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
17045
17046 2011-03-30 Andreas Schwab <schwab@redhat.com>
17047
17048 * misc/syncfs.c: New file.
17049 * misc/Makefile (routines): Add syncfs.
17050 * posix/unistd.h: Declare syncfs.
17051 * sysdeps/unix/syscalls.list: Add syncfs.
17052
17053 2011-04-01 Andreas Schwab <schwab@redhat.com>
17054
17055 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
17056 open_by_handle_at.
17057 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17058 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17059 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17060 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17061 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17062 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
17063 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17064
17065 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17066
17067 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
17068 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17069 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
17070 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17071 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17072 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17073 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17074
17075 * io/Makefile: Compile fallocate.c, fallocate64.c, and
17076 sync_file_range.c with -fexceptions.
17077 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
17078 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
17079 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17080 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17081 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
17082 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
17083 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
17084 sync_file_range as cancellation point
17085 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
17086 now a wrapper around __call_sync_file_range with cancellation handling.
17087 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
17088 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
17089 function name to __call_sync_file_range.
17090 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
17091 Add call_sync_file_range.
17092
17093 2011-04-01 Andreas Schwab <schwab@redhat.com>
17094
17095 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17096 bits/timex.h.
17097
17098 2011-04-01 Ulrich Drepper <drepper@gmail.com>
17099
17100 * iconv/iconv.h: Fix typo in comment.
17101 * io/fcntl.h: Likewise.
17102 * libio/stdio.h: Likewise.
17103 * posix/spawn.h: Likewise.
17104 * posix/unistd.h: Likewise.
17105 * stdlib/stdlib.h: Likewise.
17106 * time/time.h: Likewise.
17107 * wcsmbs/wchar.h: Likewise.
17108
17109 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
17110 open_by_handle): Add.
17111 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
17112 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
17113 Augment a few comments.
17114 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
17115 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17116 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17117 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17118 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17119 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
17120 open_by_handle.
17121
17122 * io/fcntl.h (AT_EMPTY_PATH): Define.
17123
17124 2011-03-30 Ulrich Drepper <drepper@gmail.com>
17125
17126 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
17127 * sysdeps/unix/sysv/linux/bits/time.h: New file.
17128 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
17129 to...
17130 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
17131 * Versions.def: Add GLIBC_2.14.
17132 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
17133 Export.
17134
17135 2011-03-22 Ulrich Drepper <drepper@gmail.com>
17136
17137 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
17138 round counter.
17139 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17140
17141 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
17142
17143 [BZ #12597]
17144 * string/test-strncmp.c (do_page_test): New function.
17145 (check2): Likewise.
17146 (test_main): Call check2.
17147 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
17148
17149 2011-03-20 Ulrich Drepper <drepper@gmail.com>
17150
17151 [BZ #12587]
17152 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
17153 Handle cache information in CPU leaf 4.
17154 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
17155
17156 2011-03-18 Ulrich Drepper <drepper@gmail.com>
17157
17158 [BZ #12583]
17159 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
17160 character representation.
17161 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
17162
17163 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
17164
17165 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
17166 END(__isnan) to END(__isnanf) to match function entry point/label
17167 EALIGN(__isnanf,...).
17168
17169 2011-03-10 Jakub Jelinek <jakub@redhat.com>
17170
17171 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
17172
17173 2011-03-10 Ulrich Drepper <drepper@gmail.com>
17174
17175 [BZ #12510]
17176 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
17177 copy from the symbol referenced in the relocation to initialize the
17178 used variable.
17179 Patch by Piotr Bury <pbury@goahead.com>.
17180 * elf/Makefile: Add rules to build and tst-unique3.
17181 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
17182 * elf/tst-unique3.cc: New file.
17183 * elf/tst-unique3.h: New file.
17184 * elf/tst-unique3lib.cc: New file.
17185 * elf/tst-unique3lib2.cc: New file.
17186
17187 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
17188
17189 2011-03-10 Mike Frysinger <vapier@gentoo.org>
17190
17191 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
17192 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
17193 to _start.
17194
17195 2011-03-06 Ulrich Drepper <drepper@gmail.com>
17196
17197 * elf/dl-load.c (_dl_map_object): If we are looking for the first
17198 to-be-loaded object along a path to loader is ld.so.
17199
17200 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17201 Ulrich Drepper <drepper@gmail.com>
17202
17203 * sysdeps/x86_64/memset.S: After aligning destination, code
17204 branches to different locations depending on the value of
17205 misalignment, when multiarch is enabled. Fix this.
17206
17207 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
17208
17209 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
17210 Set _x86_64_preferred_memory_instruction for AMD processsors.
17211 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17212 Set bit_Prefer_SSE_for_memop for AMD processors.
17213
17214 2011-03-04 Ulrich Drepper <drepper@gmail.com>
17215
17216 * libio/fmemopen.c (fmemopen): Optimize a bit.
17217
17218 2011-03-03 Andreas Schwab <schwab@redhat.com>
17219
17220 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
17221
17222 2011-03-03 Roland McGrath <roland@redhat.com>
17223
17224 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
17225
17226 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
17227
17228 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
17229 __bzero_ultra1 instead of __memset_ultra1.
17230
17231 2011-02-23 Andreas Schwab <schwab@redhat.com>
17232 Ulrich Drepper <drepper@gmail.com>
17233
17234 [BZ #12509]
17235 * include/link.h (struct link_map): Add l_orig_initfini.
17236 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
17237 returning unsuccessfully.
17238 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
17239 close of a file loaded at startup, restore the original l_initfini
17240 list.
17241 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
17242 list, store the pointer.
17243 * elf/Makefile ($(objpfx)noload-mem): New rule.
17244 (noload-ENV): Define.
17245 (tests): Add $(objpfx)noload-mem.
17246 * elf/noload.c: Include <memcheck.h>.
17247 (main): Call mtrace. Close all opened handles.
17248
17249 2011-02-17 Andreas Schwab <schwab@redhat.com>
17250
17251 [BZ #12454]
17252 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
17253 dependencies are missing.
17254
17255 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
17256
17257 Fix __if_freereq crash: Unlike the generic version which uses free,
17258 Hurd needs munmap.
17259 * sysdeps/mach/hurd/ifreq.h: New file.
17260
17261 2011-01-27 Petr Baudis <pasky@suse.cz>
17262 Ulrich Drepper <drepper@gmail.com>
17263
17264 [BZ 12445]#
17265 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
17266 to extend_alloca().
17267 * stdio-common/bug23.c: New file.
17268 * stdio-common/Makefile (tests): Add bug23.
17269
17270 2010-09-28 Andreas Schwab <schwab@redhat.com>
17271 Ulrich Drepper <drepper@gmail.com>
17272
17273 [BZ #12489]
17274 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
17275 before performing relro protection. At old place add assertion
17276 to make sure nothing changed.
17277
17278 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
17279 Glauber de Oliveira Costa <glommer@gmail.com>
17280
17281 * elf/elf.h: Add new ARM TLS relocs.
17282
17283 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
17284
17285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17286 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
17287 cast from r3.
17288 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
17289 'tests' variable.
17290 * sysdeps/wordsize-64/tst-writev.c: New file.
17291
17292 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
17293
17294 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
17295 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
17296 insns in _dl_start to prevent a TOC reference before relocs are
17297 resolved.
17298
17299 2011-02-15 Ulrich Drepper <drepper@gmail.com>
17300
17301 [BZ #12469]
17302 * Makeconfig: Remove RANLIB definition.
17303 * Makerules: Don't use RANLIB.
17304 * aclocal.m4: Remove ranlib test.
17305 * configure.in: No need to check for ranlib.
17306 * elf/rtld-Rules: Don't use RANLIB.
17307
17308 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17309
17310 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
17311 protection macro.
17312 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
17313 inclusion protection macro.
17314
17315 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
17316 SIGRTMIN and SIGRTMAX and print information in that case only when
17317 SIGRTMIN is defined.
17318
17319 2011-02-11 Jakub Jelinek <jakub@redhat.com>
17320
17321 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
17322 arginfo fn returning -1.
17323
17324 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
17325 and thousands string is zero terminated.
17326
17327 2011-02-03 Andreas Schwab <schwab@redhat.com>
17328
17329 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
17330 sysdeps/unix/sysv/linux/bits/socket.h.
17331
17332 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
17333
17334 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
17335 (__CPU_COUNT): Remove old macros.
17336 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
17337 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
17338 (__CPU_ALLOC, __CPU_FREE): Add macros.
17339 (__sched_cpualloc, __sched_cpufree): Add declarations.
17340
17341 2011-02-05 Ulrich Drepper <drepper@gmail.com>
17342
17343 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
17344 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
17345 * nscd/aicache.c (addhstaiX): Return timeout of added value.
17346 (readdhstai): Return value of addhstaiX call.
17347 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
17348 (addgrbyX): Return value returned by cache_addgr.
17349 (readdgrbyname): Return value returned by addgrbyX.
17350 (readdgrbygid): Likewise.
17351 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
17352 (addpwbyX): Return value returned by cache_addpw.
17353 (readdpwbyname): Return value returned by addhstbyX.
17354 (readdpwbyuid): Likewise.
17355 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
17356 (addservbyX): Return value returned by cache_addserv.
17357 (readdservbyname): Return value returned by addservbyX:
17358 (readdservbyport): Likewise.
17359 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
17360 (addhstbyX): Return value returned by cache_addhst.
17361 (readdhstbyname): Return value returned by addhstbyX.
17362 (readdhstbyaddr): Likewise.
17363 (readdhstbynamev6): Likewise.
17364 (readdhstbyaddrv6): Likewise.
17365 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
17366 (readdinitgroups): Return value returned by addinitgroupsX.
17367 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
17368 (prune_cache): Keep track of timeout value of re-added entries.
17369 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
17370 * nscd/nscd.h: Adjust prototypes of readd* functions.
17371
17372 2011-02-04 Roland McGrath <roland@redhat.com>
17373
17374 * nis/nis_server.c (nis_servstate): Use the right name for 0.
17375 (nis_stats): Likewise.
17376 * nis/nis_modify.c (nis_modify): Likewise.
17377 * nis/nis_remove.c (nis_remove): Likewise.
17378 * nis/nis_add.c (nis_add): Likewise.
17379
17380 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
17381
17382 * posix/fnmatch_loop.c: Add some consts.
17383
17384 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
17385
17386 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
17387
17388 [BZ #12460]
17389 * config.make.in (config-cflags-novzeroupper): Define.
17390 * configure.in: Substitute libc_cv_cc_novzeroupper.
17391 * elf/Makefile (AVX-CFLAGS): Define.
17392 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
17393 (CFLAGS-tst-auditmod4a.c): Likewise.
17394 (CFLAGS-tst-auditmod4b.c): Likewise.
17395 (CFLAGS-tst-auditmod6b.c): Likewise.
17396 (CFLAGS-tst-auditmod6c.c): Likewise.
17397 (CFLAGS-tst-auditmod7b.c): Likewise.
17398 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
17399
17400 2011-02-02 Ulrich Drepper <drepper@gmail.com>
17401
17402 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
17403 function to the callback.
17404 Patch partly by Jiri Olsa <jolsa@redhat.com>.
17405
17406 2011-02-02 Andreas Schwab <schwab@redhat.com>
17407
17408 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
17409 of errno.
17410
17411 2011-01-19 Ulrich Drepper <drepper@gmail.com>
17412
17413 [BZ #11724]
17414 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
17415 of constructors.
17416 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
17417 of destructors.
17418 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
17419
17420 [BZ #11724]
17421 * elf/Makefile: Add rules to build and run new test.
17422 * elf/tst-initorder.c: New file.
17423 * elf/tst-initorder.exp: New file.
17424 * elf/tst-initordera1.c: New file.
17425 * elf/tst-initordera2.c: New file.
17426 * elf/tst-initordera3.c: New file.
17427 * elf/tst-initordera4.c: New file.
17428 * elf/tst-initorderb1.c: New file.
17429 * elf/tst-initorderb2.c: New file.
17430 * elf/tst-order-a1.c: New file.
17431 * elf/tst-order-a2.c: New file.
17432 * elf/tst-order-a3.c: New file.
17433 * elf/tst-order-a4.c: New file.
17434 * elf/tst-order-b1.c: New file.
17435 * elf/tst-order-b2.c: New file.
17436 * elf/tst-order-main.c: New file.
17437 New test case by George Gensure <werkt0@gmail.com>.
17438
17439 2010-10-01 Andreas Schwab <schwab@redhat.com>
17440
17441 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
17442 decoding ACE if AI_CANONIDN.
17443
17444 2011-01-18 Ulrich Drepper <drepper@gmail.com>
17445
17446 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
17447
17448 2011-01-17 Ulrich Drepper <drepper@gmail.com>
17449
17450 * version.h (RELEASE): Bump for 2.13 release.
17451 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
17452
17453 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
17454
17455 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
17456 MADV_NOHUGEPAGE.
17457 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
17458 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
17459 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
17460 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
17461 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
17462 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17463
17464 * posix/getconf.c: Update copyright year.
17465 * catgets/gencat.c: Likewise.
17466 * csu/version.c: Likewise.
17467 * debug/catchsegv.sh: Likewise.
17468 * debug/xtrace.sh: Likewise.
17469 * elf/ldconfig.c: Likewise.
17470 * elf/ldd.bash.in: Likewise.
17471 * elf/sprof.c (print_version): Likewise.
17472 * iconv/iconv_prog.c: Likewise.
17473 * iconv/iconvconfig.c: Likewise.
17474 * locale/programs/locale.c: Likewise.
17475 * locale/programs/localedef.c: Likewise.
17476 * malloc/memusage.sh: Likewise.
17477 * malloc/mtrace.pl: Likewise.
17478 * nscd/nscd.c (print_version): Likewise.
17479 * nss/getent.c: Likewise.
17480
17481 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
17482 PF_CAIF, and PF_ALG.
17483 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17484
17485 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
17486
17487 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
17488 (modules-names): Use them.
17489 (ifunc-test-modules, ifunc-pie-tests): Define.
17490 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
17491 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
17492 (test-extras): Likewise.
17493 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
17494 $(compile-command.c).
17495 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
17496 (all-built-dso): Define.
17497 (check-textrel.out, check-execstack.out): Depend on it.
17498
17499 * configure.in: Don't override --enable-multi-arch.
17500
17501 2011-01-15 Ulrich Drepper <drepper@gmail.com>
17502
17503 [BZ #6812]
17504 * nscd/hstcache.c (tryagain): Define.
17505 (cache_addhst): Return tryagain not notfound for temporary errors.
17506 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
17507 failed.
17508
17509 2011-01-14 Ulrich Drepper <drepper@gmail.com>
17510
17511 [BZ #10563]
17512 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
17513 to make the syscall.
17514 * sysdeps/unix/sysv/linux/setgroups.c: New file.
17515
17516 [BZ #12378]
17517 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
17518 and fall back to matching as normal character if the string ends before
17519 the matching ']' is found. This is what POSIX requires.
17520 * posix/testfnm.c: Adjust test result.
17521 * posix/globtest.sh: Adjust test result. Add new test.
17522 * posix/tst-fnmatch.input: Likewise.
17523 * posix/tst-fnmatch2.c: Add new test.
17524
17525 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
17526
17527 * elf/Makefile (check-execstack): Revert last change. Depend on
17528 check-execstack.h.
17529 (check-execstack.h): New target.
17530 (generated): Add check-execstack.h.
17531 * elf/check-execstack.c: Include "check-execstack.h".
17532 (main): Revert last change.
17533 (handle_file): Return zero if GNU_STACK is absent and
17534 DEFAULT_STACK_PERMS doesn't include PF_X.
17535
17536 2011-01-13 Ulrich Drepper <drepper@gmail.com>
17537
17538 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
17539 in child fails because the descriptor is already closed.
17540 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
17541 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
17542 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
17543
17544 [BZ #12397]
17545 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
17546 syscall.
17547
17548 [BZ #10484]
17549 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
17550 temporary buffer used to handle multi lookups locally.
17551 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
17552
17553 2011-01-12 Ulrich Drepper <drepper@gmail.com>
17554
17555 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
17556 loader is ld.so.
17557
17558 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
17559
17560 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
17561 alignment for SSE2.
17562
17563 2011-01-12 Ulrich Drepper <drepper@gmail.com>
17564
17565 [BZ #12394]
17566 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
17567 characters. When rounding increased number of integer digits recompute
17568 number of groups.
17569 * stdio-common/tst-grouping.c: New file.
17570 * stdio-common/Makefile: Add rules to build and run tst-grouping.
17571
17572 2011-01-09 Ulrich Drepper <drepper@gmail.com>
17573
17574 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
17575 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
17576
17577 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
17578 void.
17579 * bits/select.h: Likewise.
17580
17581 2011-01-08 Ulrich Drepper <drepper@gmail.com>
17582
17583 * po/ja.po: Update from translation team.
17584
17585 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
17586
17587 [BZ #11155]
17588 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
17589 implementation just like for lxstat, fxstatat, et al.
17590
17591 2010-12-27 Jim Meyering <meyering@redhat.com>
17592
17593 [BZ #12348]
17594 * posix/regexec.c (build_trtable): Return failure indication upon
17595 calloc failure. Otherwise, re_search_internal could infloop on OOM.
17596
17597 2010-12-25 Ulrich Drepper <drepper@gmail.com>
17598
17599 [BZ #12201]
17600 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
17601 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
17602 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
17603 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
17604
17605 [BZ #12207]
17606 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
17607
17608 [BZ #12204]
17609 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
17610 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
17611
17612 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
17613
17614 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
17615 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
17616 script has SORT_BY_INIT_PRIORITY.
17617 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
17618 NO_CTORS_DTORS_SECTIONS is defined.
17619 * elf/soinit.c: Likewise.
17620 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
17621 NO_CTORS_DTORS_SECTIONS is defined.
17622 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
17623 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
17624 * sysdeps/sh/init-first.c: Likewise.
17625 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
17626
17627 2010-12-24 Ulrich Drepper <drepper@gmail.com>
17628
17629 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
17630 always use the slow path.
17631
17632 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
17633
17634 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
17635 similar rule which adds the sysdep directories to the header search in
17636 order to pick up the correct platform stackinfo.h.
17637 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
17638 perform test if it is, otherwise return successfully without testing.
17639 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
17640 DEFAULT_STACK_PERMS define in stackinfo.h.
17641 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
17642 defined in stackinfo.h.
17643 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
17644 DEFAULT_STACK_PERMS defined in stackinfo.h.
17645 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
17646 * sysdeps/ia64/stackinfo.h: Likewise.
17647 * sysdeps/s390/stackinfo.h: Likewise.
17648 * sysdeps/sh/stackinfo.h: Likewise.
17649 * sysdeps/sparc/stackinfo.h: Likewise.
17650 * sysdeps/x86_64/stackinfo.h: Likewise.
17651 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
17652 PF_X for powerpc64. Retain PF_X for powerpc32.
17653
17654 2010-12-19 Ulrich Drepper <drepper@gmail.com>
17655
17656 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
17657 accurately.
17658 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
17659 GETDENTS_64BIT_ALIGNED.
17660
17661 2010-12-14 Ulrich Drepper <dreper@gmail.com>
17662
17663 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
17664
17665 2010-12-10 Andreas Schwab <schwab@redhat.com>
17666
17667 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
17668 _GNU_SOURCE.
17669
17670 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
17671 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
17672 Remove __restrict.
17673 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
17674 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
17675
17676 2010-12-09 Ulrich Drepper <drepper@gmail.com>
17677
17678 [BZ #11655]
17679 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
17680 are initialized.
17681
17682 2010-12-09 Jakub Jelinek <jakub@redhat.com>
17683
17684 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
17685
17686 2010-12-03 Ulrich Drepper <drepper@gmail.com>
17687
17688 * po/it.po: Update from translation team.
17689
17690 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
17691
17692 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
17693 unused codes.
17694
17695 2010-11-30 Ulrich Drepper <drepper@gmail.com>
17696
17697 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
17698
17699 2010-11-24 Andreas Schwab <schwab@redhat.com>
17700
17701 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
17702 specially.
17703 (gaih_getanswer_slice): Likewise.
17704
17705 2010-10-20 Jakub Jelinek <jakub@redhat.com>
17706
17707 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
17708
17709 2010-05-31 Petr Baudis <pasky@suse.cz>
17710
17711 [BZ #11149]
17712 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
17713 silently even in the chroot mode.
17714
17715 2010-11-22 Ulrich Drepper <drepper@gmail.com>
17716
17717 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
17718 last patch a bit. Pretty printing
17719
17720 2010-05-31 Petr Baudis <pasky@suse.cz>
17721
17722 [BZ #10085]
17723 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
17724 initialization of skip_initgroups_dyn.
17725
17726 2010-11-19 Ulrich Drepper <drepper@gmail.com>
17727
17728 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
17729 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
17730
17731 2010-11-16 Ulrich Drepper <drepper@gmail.com>
17732
17733 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
17734
17735 2010-11-11 Andreas Schwab <schwab@redhat.com>
17736
17737 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
17738 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
17739 (tst-fnmatch-ENV): Set MALLOC_TRACE.
17740 ($(objpfx)tst-fnmatch-mem): New rule.
17741 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
17742 * posix/tst-fnmatch.c (main): Call mtrace.
17743
17744 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
17745
17746 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17747 Support Intel processor model 6 and model 0x2c.
17748
17749 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
17750
17751 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
17752 signed comparison.
17753
17754 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
17755
17756 [BZ #12205]
17757 * string/test-strncasecmp.c (check_result): New function.
17758 (do_one_test): Use it.
17759 (check1): New function.
17760 (test_main): Use it.
17761 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
17762 Support strcasecmp and strncasecmp.
17763
17764 2010-11-08 Ulrich Drepper <drepper@gmail.com>
17765
17766 [BZ #12194]
17767 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
17768 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17769
17770 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
17771
17772 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
17773 IFUNC support.
17774 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17775 memset-x86-64.
17776 * sysdeps/x86_64/multiarch/bzero.S: New file.
17777 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
17778 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
17779 * sysdeps/x86_64/multiarch/memset.S: New file.
17780 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
17781 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17782 Set bit_Prefer_SSE_for_memop for Intel processors.
17783 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
17784 Define.
17785 (index_Prefer_SSE_for_memop): Define.
17786 (HAS_PREFER_SSE_FOR_MEMOP): Define.
17787
17788 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
17789
17790 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
17791 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
17792
17793 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
17794
17795 [BZ #12191]
17796 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17797 (__x86_64_raw_data_cache_size_half): Likewise.
17798 (__x86_64_raw_shared_cache_size): Likewise.
17799 (__x86_64_raw_shared_cache_size_half): Likewise.
17800
17801 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
17802 (__x86_64_raw_data_cache_size_half): Likewise.
17803 (__x86_64_raw_shared_cache_size): Likewise.
17804 (__x86_64_raw_shared_cache_size_half): Likewise.
17805 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
17806 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
17807 and __x86_64_raw_shared_cache_size_half. Round
17808 __x86_64_data_cache_size_half, __x86_64_data_cache_size
17809 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
17810 to multiple of 256 bytes.
17811
17812 2010-11-03 Ulrich Drepper <drepper@gmail.com>
17813
17814 [BZ #12167]
17815 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
17816 of inacessible symlinks. Verify result of symlink before returning it.
17817 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17818 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
17819
17820 2010-10-28 Erich Ritz <erichritz@gmail.com>
17821
17822 * math/math.h (isinf): Fix typo in comment.
17823
17824 2010-11-01 Ulrich Drepper <drepper@gmail.com>
17825
17826 * po/da.po: Update from translation team.
17827
17828 2010-10-26 Ulrich Drepper <drepper@gmail.com>
17829
17830 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
17831 is added to the list.
17832
17833 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17834 Ulrich Drepper <drepper@gmail.com>
17835
17836 * elf/dl-object.c (_dl_new_object): Don't append the new object to
17837 the global list here. Move code to...
17838 (_dl_add_to_namespace_list): ...here. New function.
17839 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
17840 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
17841 * elf/dl-load.c (lose): Don't remove the element from the list.
17842 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
17843 (_dl_map_object): Likewise.
17844
17845 2010-10-25 Ulrich Drepper <drepper@gmail.com>
17846
17847 [BZ #12159]
17848 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
17849 into all bytes of SSE register.
17850 Patch by Richard Li <richardpku@gmail.com>.
17851
17852 2010-10-24 Ulrich Drepper <drepper@gmail.com>
17853
17854 [BZ #12140]
17855 * malloc/malloc.c (_int_free): Fill correct number of bytes when
17856 perturbing.
17857
17858 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
17859
17860 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
17861 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
17862 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
17863 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
17864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
17865 submachine.
17866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
17867
17868 2010-10-22 Andreas Schwab <schwab@redhat.com>
17869
17870 * include/dlfcn.h (__RTLD_SECURE): Define.
17871 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
17872 mode & __RTLD_SECURE instead.
17873 (open_path): Rename preloaded parameter to secure.
17874 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
17875 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
17876 * elf/dl-deps.c (openaux): Likewise.
17877 * elf/rtld.c (struct map_args): Remove is_preloaded.
17878 (map_doit): Don't use it.
17879 (dl_main): Likewise.
17880 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
17881 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
17882
17883 2010-09-09 Andreas Schwab <schwab@redhat.com>
17884
17885 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
17886 (sysd-rules-targets): Remove duplicates.
17887 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
17888 rtld-%.$o dependency.
17889
17890 2010-10-18 Andreas Schwab <schwab@redhat.com>
17891
17892 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
17893 _dl_map_object do it.
17894
17895 2010-10-19 Ulrich Drepper <drepper@gmail.com>
17896
17897 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
17898 fast fma builtins, define the macros in the C99 standard.
17899 (FP_FAST_FMAF): Likewise.
17900 (FP_FAST_FMAL): Likewise.
17901 * sysdeps/x86_64/bits/mathdef.h: Likewise.
17902
17903 * bits/mathdef.h: Update copyright year.
17904 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17905
17906 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
17907
17908 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
17909 builtins, define the macros in the C99 standard.
17910 (FP_FAST_FMAF): Likewise.
17911 (FP_FAST_FMAL): Likewise.
17912 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
17913 multiply/add.
17914 (FP_FAST_FMAF): Likewise.
17915
17916 2010-10-15 Jakub Jelinek <jakub@redhat.com>
17917
17918 [BZ #3268]
17919 * math/libm-test.inc (fma_test): Some new testcases.
17920 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
17921 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
17922 y and infinite z. Do multiplication by C already in long double.
17923 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
17924 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
17925 y and infinite z. Do bitwise or of inexact bit into u.d.
17926 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
17927 * sysdeps/i386/fpu/s_fmaf.S: Removed.
17928 * sysdeps/i386/fpu/s_fma.S: Removed.
17929 * sysdeps/i386/fpu/s_fmal.S: Removed.
17930
17931 2010-10-16 Jakub Jelinek <jakub@redhat.com>
17932
17933 [BZ #3268]
17934 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
17935 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
17936 computation is not scheduled after fetestexcept. Fix value
17937 of minimum denormal long double.
17938
17939 2010-10-14 Jakub Jelinek <jakub@redhat.com>
17940
17941 [BZ #3268]
17942 * math/libm-test.inc (fma_test): Add some more tests.
17943 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
17944 correctly.
17945
17946 2010-10-15 Andreas Schwab <schwab@redhat.com>
17947
17948 * scripts/data/localplt-s390-linux-gnu.data: New file.
17949 * scripts/data/localplt-s390x-linux-gnu.data: New file.
17950
17951 2010-10-13 Jakub Jelinek <jakub@redhat.com>
17952
17953 [BZ #3268]
17954 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
17955 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
17956 instead of dbl-64.
17957 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
17958 inlines.
17959 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
17960 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
17961 if one of x and y is very large and the other is subnormal.
17962 * sysdeps/s390/fpu/s_fmaf.c: New file.
17963 * sysdeps/s390/fpu/s_fma.c: New file.
17964 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
17965 * sysdeps/powerpc/fpu/s_fma.S: New file.
17966 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
17967 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
17968 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
17969
17970 2010-10-12 Jakub Jelinek <jakub@redhat.com>
17971
17972 [BZ #3268]
17973 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
17974 fma tests.
17975 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
17976 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
17977 * sysdeps/i386/i686/multiarch/s_fma.c: Include
17978 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
17979 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
17980 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
17981 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
17982
17983 2010-10-12 Ulrich Drepper <drepper@redhat.com>
17984
17985 [BZ #12078]
17986 * posix/regcomp.c (parse_branch): One more memory leak plugged.
17987 * posix/bug-regex31.input: Add test case.
17988
17989 2010-10-11 Ulrich Drepper <drepper@gmail.com>
17990
17991 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
17992 * posix/bug-regex31.input: New file.
17993
17994 [BZ #12078]
17995 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
17996 (parse_sub_exp): Fix last change, use postorder.
17997
17998 * posix/bug-regex31.c: New file.
17999 * posix/Makefile: Add rules to build and run bug-regex31.
18000
18001 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
18002
18003 [BZ #12078]
18004 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
18005
18006 [BZ #12108]
18007 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
18008 to have entries in sys_siglist.
18009
18010 [BZ #12093]
18011 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
18012 be NULL.
18013
18014 2010-10-07 Jakub Jelinek <jakub@redhat.com>
18015
18016 [BZ #3268]
18017 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
18018 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
18019 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
18020 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
18021 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18022 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
18023 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
18024 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
18025 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
18026 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
18027 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
18028 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
18029 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18030 * math/ftestexcept.c (fetestexcept): Likewise.
18031 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
18032 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
18033 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
18034 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
18035 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
18036 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
18037 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18038
18039 2010-10-11 Ulrich Drepper <drepper@gmail.com>
18040
18041 [BZ #12107]
18042 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
18043 newline.
18044
18045 2010-10-06 Ulrich Drepper <drepper@gmail.com>
18046
18047 * string/bug-strstr1.c: New file.
18048 * string/Makefile: Add rules to build and run bug-strstr1.
18049
18050 2010-10-05 Eric Blake <eblake@redhat.com>
18051
18052 [BZ #12092]
18053 * string/str-two-way.h (two_way_long_needle): Always clear memory
18054 when skipping input due to the shift table.
18055
18056 2010-10-03 Ulrich Drepper <drepper@gmail.com>
18057
18058 [BZ #12005]
18059 * malloc/mcheck.c: Handle large requests.
18060
18061 [BZ #12077]
18062 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
18063 for strncmp and strncasecmp.
18064 * string/stratcliff.c: Add tests for strcmp and strncmp.
18065 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
18066
18067 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18068
18069 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
18070 __set_fpscr.
18071
18072 2010-09-30 Andreas Jaeger <aj@suse.de>
18073
18074 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
18075 (CGROUP_SUPER_MAGIC): Define.
18076 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18077 Handle btrfs and cgroup file systems.
18078 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18079 Likewise.
18080
18081 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
18082
18083 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
18084 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
18085
18086 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18087
18088 [BZ #12067]
18089 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
18090 trying to locate the ELF header.
18091
18092 2010-09-27 Andreas Schwab <schwab@redhat.com>
18093
18094 [BZ #11611]
18095 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
18096 Mask out sign-bit copies when constructing f_fsid.
18097
18098 2010-09-24 Petr Baudis <pasky@suse.cz>
18099
18100 * debug/stack_chk_fail_local.c: Add missing licence exception.
18101 * debug/warning-nop.c: Likewise.
18102
18103 2010-09-15 Joseph Myers <joseph@codesourcery.com>
18104
18105 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
18106 implementing getdents64 using getdents syscall, set d_type if
18107 __ASSUME_GETDENTS32_D_TYPE.
18108
18109 2010-09-16 Andreas Schwab <schwab@redhat.com>
18110
18111 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
18112 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
18113
18114 2010-09-21 Ulrich Drepper <drepper@redhat.com>
18115
18116 [BZ #12037]
18117 * posix/unistd.h: Undo change of feature selection for ftruncate from
18118 2010-01-11.
18119
18120 2010-09-20 Ulrich Drepper <drepper@redhat.com>
18121
18122 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
18123 detection.
18124
18125 2010-09-20 Andreas Schwab <schwab@redhat.com>
18126
18127 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
18128 fanotify_mark.
18129 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18130
18131 2010-09-14 Andreas Schwab <schwab@redhat.com>
18132
18133 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
18134 variables after CHECK_SP call.
18135 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
18136
18137 2010-09-13 Andreas Schwab <schwab@redhat.com>
18138 Ulrich Drepper <drepper@redhat.com>
18139
18140 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
18141 re-relocationg ld.so.
18142 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
18143 _dl_init_paths call.
18144 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
18145 here anymore.
18146
18147 2010-09-14 Ulrich Drepper <drepper@redhat.com>
18148
18149 * resolv/res_init.c (__res_vinit): Count the default server we added.
18150
18151 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
18152 Ulrich Drepper <drepper@redhat.com>
18153
18154 [BZ #11968]
18155 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
18156 (____longjmp_chk): Use %ebx for saving value across system call.
18157 Add unwind info.
18158
18159 2010-09-06 Andreas Schwab <schwab@redhat.com>
18160
18161 * manual/Makefile: Don't mix pattern rules with normal rules.
18162
18163 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
18164
18165 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
18166 operation.
18167 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18168 * libio/iofopncook.c (_IO_cookie_init): Likewise.
18169 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18170 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18171 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
18172 Likewise.
18173
18174 2010-09-04 Ulrich Drepper <drepper@redhat.com>
18175
18176 [BZ #11979]
18177 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
18178 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
18179
18180 2010-09-02 Ulrich Drepper <drepper@redhat.com>
18181
18182 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
18183 * sysdeps/x86_64/addmul_1.S: Likewise.
18184 * sysdeps/x86_64/lshift.S: Likewise.
18185 * sysdeps/x86_64/mul_1.S: Likewise.
18186 * sysdeps/x86_64/rshift.S: Likewise.
18187 * sysdeps/x86_64/sub_n.S: Likewise.
18188 * sysdeps/x86_64/submul_1.S: Likewise.
18189
18190 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
18191
18192 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
18193 Define __sched_param instead of SCHED_* and sched_param when
18194 <bits/sched.h> is included with __need_schedparam defined.
18195 * bits/sched.h [__need_schedparam]
18196 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
18197 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
18198 (__defined_schedparam): Define to 1.
18199 (__sched_param): New structure, identical to sched_param.
18200 (__need_schedparam): Undefine.
18201
18202 2010-08-31 Mike Frysinger <vapier@gentoo.org>
18203
18204 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
18205 (epoll_create1): Declare.
18206
18207 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
18208
18209 2010-08-31 Andreas Schwab <schwab@redhat.com>
18210
18211 [BZ #7066]
18212 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
18213 shifting retval into place.
18214
18215 2010-09-01 Ulrich Drepper <drepper@redhat.com>
18216
18217 * nis/rpcsvc/nis.h: Update copyright notice.
18218 * nis/rpcsvc/nis.x: Likewise.
18219 * nis/rpcsvc/nis_callback.h: Likewise.
18220 * nis/rpcsvc/nis_callback.x: Likewise.
18221 * nis/rpcsvc/nis_object.x: Likewise.
18222 * nis/rpcsvc/nis_tags.h: Likewise.
18223 * nis/rpcsvc/yp.h: Likewise.
18224 * nis/rpcsvc/yp.x: Likewise.
18225 * nis/rpcsvc/ypupd.h: Likewise.
18226 * nis/yp_xdr.c: Likewise.
18227 * nis/ypupdate_xdr.c: Likewise.
18228
18229 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
18230 mainly the body of pmap_getport. Add parameters to specify timeouts.
18231 (pmap_getport): Use __libc_rpc_getport.
18232 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
18233 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
18234 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
18235
18236 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
18237
18238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
18239 fanotify_mark.
18240
18241 2010-08-27 Roland McGrath <roland@redhat.com>
18242
18243 * sysdeps/i386/i686/multiarch/Makefile
18244 (CFLAGS-varshift.c): New variable.
18245
18246 2010-08-27 Ulrich Drepper <drepper@redhat.com>
18247
18248 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
18249 * sysdeps/i386/i686/multiarch/varshift.c: New file.
18250
18251 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
18252
18253 * sysdeps/x86_64/strlen.S: Minimal code improvement.
18254
18255 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
18256
18257 * sysdeps/x86_64/strlen.S: Unroll the loop.
18258 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18259 strlen-sse2 strlen-sse2-bsf.
18260 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
18261 __strlen_no_bsf if bit_Slow_BSF is set.
18262 (__strlen_sse42): Removed.
18263 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
18264 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
18265
18266 2010-08-25 Roland McGrath <roland@redhat.com>
18267
18268 * sysdeps/x86_64/multiarch/varshift.S: File removed.
18269 * sysdeps/x86_64/multiarch/varshift.c: New file.
18270 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
18271 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
18272 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
18273 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18274
18275 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
18276
18277 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18278 strlen-sse2 strlen-sse2-bsf.
18279 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
18280 __strlen_sse2_bsf if bit_Slow_BSF is unset.
18281 (__strlen_sse2): Removed.
18282 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
18283 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
18284 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18285 bit_Slow_BSF for Atom.
18286 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
18287 (index_Slow_BSF): Define.
18288 (HAS_SLOW_BSF): Define.
18289
18290 2010-08-25 Ulrich Drepper <drepper@redhat.com>
18291
18292 [BZ #10851]
18293 * resolv/res_init.c (__res_vinit): When no server address at all
18294 is given default to loopback.
18295
18296 2010-08-24 Roland McGrath <roland@redhat.com>
18297
18298 * configure.in: Remove config-name.h generation.
18299 * configure: Regenerated.
18300 * config-name.in: File removed.
18301 * scripts/config-uname.sh: New file.
18302 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
18303 ($(objdir)config-name.h): New target.
18304
18305 * sunrpc/rpc_parse.h: Avoid nested comment.
18306
18307 2010-08-24 Richard Henderson <rth@redhat.com>
18308 Ulrich Drepper <drepper@redhat.com>
18309 H.J. Lu <hongjiu.lu@intel.com>
18310
18311 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
18312 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
18313 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
18314 Replace _mm_srli_si128 with __m128i_shift_right. Replace
18315 _mm_alignr_epi8 with _mm_loadu_si128.
18316 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
18317 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
18318 (__m128i_shift_right): Removed.
18319 * sysdeps/i386/i686/multiarch/varshift.h: New file.
18320 * sysdeps/i386/i686/multiarch/varshift.S: New file.
18321 * sysdeps/x86_64/multiarch/varshift.h: New file.
18322 * sysdeps/x86_64/multiarch/varshift.S: New file.
18323
18324 2010-08-21 Mike Frysinger <vapier@gentoo.org>
18325
18326 * configure.in: Move assembler checks to before sysdep dir checking.
18327
18328 2010-08-20 Petr Baudis <pasky@suse.cz>
18329
18330 * LICENSES: Sync the sunrpc license.
18331
18332 2010-08-19 Ulrich Drepper <drepper@redhat.com>
18333
18334 * sunrpc/auth_des.c: Update copyright notice once again.
18335 * sunrpc/auth_none.c: Likewise.
18336 * sunrpc/auth_unix.c: Likewise.
18337 * sunrpc/authdes_prot.c: Likewise.
18338 * sunrpc/authuxprot.c: Likewise.
18339 * sunrpc/bindrsvprt.c: Likewise.
18340 * sunrpc/clnt_gen.c: Likewise.
18341 * sunrpc/clnt_perr.c: Likewise.
18342 * sunrpc/clnt_raw.c: Likewise.
18343 * sunrpc/clnt_simp.c: Likewise.
18344 * sunrpc/clnt_tcp.c: Likewise.
18345 * sunrpc/clnt_udp.c: Likewise.
18346 * sunrpc/clnt_unix.c: Likewise.
18347 * sunrpc/des_crypt.c: Likewise.
18348 * sunrpc/des_soft.c: Likewise.
18349 * sunrpc/get_myaddr.c: Likewise.
18350 * sunrpc/getrpcport.c: Likewise.
18351 * sunrpc/key_call.c: Likewise.
18352 * sunrpc/key_prot.c: Likewise.
18353 * sunrpc/openchild.c: Likewise.
18354 * sunrpc/pm_getmaps.c: Likewise.
18355 * sunrpc/pm_getport.c: Likewise.
18356 * sunrpc/pmap_clnt.c: Likewise.
18357 * sunrpc/pmap_prot.c: Likewise.
18358 * sunrpc/pmap_prot2.c: Likewise.
18359 * sunrpc/pmap_rmt.c: Likewise.
18360 * sunrpc/rpc/auth.h: Likewise.
18361 * sunrpc/rpc/auth_unix.h: Likewise.
18362 * sunrpc/rpc/clnt.h: Likewise.
18363 * sunrpc/rpc/des_crypt.h: Likewise.
18364 * sunrpc/rpc/key_prot.h: Likewise.
18365 * sunrpc/rpc/netdb.h: Likewise.
18366 * sunrpc/rpc/pmap_clnt.h: Likewise.
18367 * sunrpc/rpc/pmap_prot.h: Likewise.
18368 * sunrpc/rpc/pmap_rmt.h: Likewise.
18369 * sunrpc/rpc/rpc.h: Likewise.
18370 * sunrpc/rpc/rpc_des.h: Likewise.
18371 * sunrpc/rpc/rpc_msg.h: Likewise.
18372 * sunrpc/rpc/svc.h: Likewise.
18373 * sunrpc/rpc/svc_auth.h: Likewise.
18374 * sunrpc/rpc/types.h: Likewise.
18375 * sunrpc/rpc/xdr.h: Likewise.
18376 * sunrpc/rpc_clntout.c: Likewise.
18377 * sunrpc/rpc_cmsg.c: Likewise.
18378 * sunrpc/rpc_common.c: Likewise.
18379 * sunrpc/rpc_cout.c: Likewise.
18380 * sunrpc/rpc_dtable.c: Likewise.
18381 * sunrpc/rpc_hout.c: Likewise.
18382 * sunrpc/rpc_main.c: Likewise.
18383 * sunrpc/rpc_parse.c: Likewise.
18384 * sunrpc/rpc_parse.h: Likewise.
18385 * sunrpc/rpc_prot.c: Likewise.
18386 * sunrpc/rpc_sample.c: Likewise.
18387 * sunrpc/rpc_scan.c: Likewise.
18388 * sunrpc/rpc_scan.h: Likewise.
18389 * sunrpc/rpc_svcout.c: Likewise.
18390 * sunrpc/rpc_tblout.c: Likewise.
18391 * sunrpc/rpc_util.c: Likewise.
18392 * sunrpc/rpc_util.h: Likewise.
18393 * sunrpc/rpcinfo.c: Likewise.
18394 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
18395 * sunrpc/rpcsvc/key_prot.x: Likewise.
18396 * sunrpc/rpcsvc/klm_prot.x: Likewise.
18397 * sunrpc/rpcsvc/mount.x: Likewise.
18398 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
18399 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
18400 * sunrpc/rpcsvc/rex.x: Likewise.
18401 * sunrpc/rpcsvc/rstat.x: Likewise.
18402 * sunrpc/rpcsvc/rusers.x: Likewise.
18403 * sunrpc/rpcsvc/sm_inter.x: Likewise.
18404 * sunrpc/rpcsvc/spray.x: Likewise.
18405 * sunrpc/rpcsvc/yppasswd.x: Likewise.
18406 * sunrpc/rtime.c: Likewise.
18407 * sunrpc/svc.c: Likewise.
18408 * sunrpc/svc_auth.c: Likewise.
18409 * sunrpc/svc_authux.c: Likewise.
18410 * sunrpc/svc_raw.c: Likewise.
18411 * sunrpc/svc_run.c: Likewise.
18412 * sunrpc/svc_simple.c: Likewise.
18413 * sunrpc/svc_tcp.c: Likewise.
18414 * sunrpc/svc_udp.c: Likewise.
18415 * sunrpc/svc_unix.c: Likewise.
18416 * sunrpc/svcauth_des.c: Likewise.
18417 * sunrpc/xcrypt.c: Likewise.
18418 * sunrpc/xdr.c: Likewise.
18419 * sunrpc/xdr_array.c: Likewise.
18420 * sunrpc/xdr_float.c: Likewise.
18421 * sunrpc/xdr_mem.c: Likewise.
18422 * sunrpc/xdr_rec.c: Likewise.
18423 * sunrpc/xdr_ref.c: Likewise.
18424 * sunrpc/xdr_sizeof.c: Likewise.
18425 * sunrpc/xdr_stdio.c: Likewise.
18426
18427 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
18428 handling.
18429
18430 2010-08-19 Andreas Schwab <schwab@redhat.com>
18431
18432 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
18433
18434 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
18435
18436 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
18437 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
18438 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
18439 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
18440 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
18441 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
18442 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
18443 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
18444 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
18445 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
18446 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
18447 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
18448 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
18449 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
18450
18451 2010-07-26 Anton Blanchard <anton@samba.org>
18452
18453 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
18454 * malloc/arena.c (heap_trim): Likewise.
18455
18456 2010-08-16 Ulrich Drepper <drepper@redhat.com>
18457
18458 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
18459 here. Not...
18460 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
18461 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
18462
18463 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
18464
18465 * sysdeps/i386/elf/Makefile: New file.
18466
18467 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18468
18469 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
18470 from fanotify_init.
18471 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
18472 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18473
18474 2010-08-15 Ulrich Drepper <drepper@redhat.com>
18475
18476 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
18477 of strncasecmp_l.
18478 * sysdeps/multiarch/strcmp.S: Likewise.
18479
18480 2010-08-14 Ulrich Drepper <drepper@redhat.com>
18481
18482 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18483 strncase_l-nonascii.
18484 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18485 Add strncase_l-ssse3.
18486 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
18487 * sysdeps/x86_64/strcmp.S: Likewise.
18488 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
18489 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
18490 * sysdeps/x86_64/strncase.S: New file.
18491 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
18492 * sysdeps/x86_64/strncase_l.S: New file.
18493 * string/Makefile (strop-tests): Add strncasecmp.
18494 * string/test-strncasecmp.c: New file.
18495
18496 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
18497 warning.
18498
18499 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
18500 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
18501
18502 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
18503
18504 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
18505
18506 2010-08-12 Ulrich Drepper <drepper@redhat.com>
18507
18508 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
18509 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
18510 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
18511
18512 2010-05-01 Alan Modra <amodra@gmail.com>
18513
18514 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
18515 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
18516 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
18517 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
18518 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
18519 tidying. Don't tail-call __sigjmp_save for static lib.
18520 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
18521 save location.
18522 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
18523 (CALL_MCOUNT): Add eh info, and nop after bl.
18524 (TAIL_CALL_SYSCALL_ERROR): New macro.
18525 (PSEUDO_RET): Use it.
18526 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18527 Correct save location of integer regs and cr.
18528 (_dl_profile_resolve): Correct cr save location. Delete nops
18529 after bl when SHARED. Reduce cfi size a little by better
18530 placement of cfi directives.
18531 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
18532 make a stack frame. Instead use parm save area as a temp.
18533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
18534 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
18535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18536 Don't make a stack frame for parent, use parm save area.
18537 Increase child stack frame to 112 bytes. Don't save unused reg,
18538 and adjust reg usage. Set up cfi on error recovery and
18539 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
18540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18541 (__makecontext): Add dummy nop after jump to exit.
18542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
18543 Use correct parm save area and cr save, reduce stack frame.
18544 Correct cfi for possible PSEUDO_RET frame setup.
18545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
18546 Branch to local label emitted by PSEUDO_RET rather than
18547 __syscall_error.
18548
18549 2010-08-12 Andreas Schwab <schwab@redhat.com>
18550
18551 [BZ #11904]
18552 * locale/programs/locale.c (print_assignment): New function.
18553 (show_locale_vars): Use it.
18554
18555 2010-08-11 Ulrich Drepper <drepper@redhat.com>
18556
18557 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
18558 field.
18559 (struct statfs64): Likewise.
18560 (_STATFS_F_FLAGS): Define.
18561 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
18562 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18563 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
18564 (ST_VALID): Define locally.
18565 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
18566 __statvfs_getflags, use the provided value.
18567 * sysdeps/unix/sysv/linux/kernel-features.h: Define
18568 __ASSUME_STATFS_F_FLAGS.
18569
18570 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
18571
18572 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
18573 Add sys/fanotify.h.
18574 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
18575 fanotify_mask for GLIBC_2.13.
18576 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
18577 fanotify_init and fanotify_mark.
18578 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
18579 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
18580
18581 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
18582 Add prlimit.
18583 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
18584 prlimit64 for GLIBC_2.13.
18585 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
18586 prlimit64.
18587 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
18588 syscall.
18589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
18590 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
18591 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
18592 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
18593 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
18594 add prlimit alias.
18595 * sysdeps/unix/sysv/linux/prlimit.c: New file.
18596
18597 [BZ #11903]
18598 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
18599 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
18600
18601 * nss/Makefile: Add rules to build and run tst-nss-test1.
18602 * shlib-versions: Add entry for libnss_test1.
18603 * nss/nss_test1.c: New file.
18604 * nss/tst-nss-test1.c: New file.
18605
18606 * nss/nsswitch.c (__nss_database_custom): Define new variable.
18607 (__nss_configure_lookup): Set appropriate entry in
18608 __nss_configure_lookup to true.
18609 * nss/nsswitch.h: Define enum with indeces of databases in
18610 databases and __nss_database_custom arrays. Declare
18611 __nss_database_custom.
18612 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
18613 to avoid using nscd when custom rules are installed.
18614 * nss/getXXbyYY_r.c: Likewise.
18615 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18616
18617 * nss/nss_files/files-parse.c: Whitespace fixes.
18618
18619 2010-08-09 Ulrich Drepper <drepper@redhat.com>
18620
18621 [BZ #11883]
18622 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
18623 * posix/fnmatch_loop.c: Likewise.
18624
18625 2010-07-17 Andi Kleen <ak@linux.intel.com>
18626
18627 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
18628 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
18629 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
18630 * Versions.def [GLIBC_2.13]: Add.
18631
18632 2010-08-06 Ulrich Drepper <drepper@redhat.com>
18633
18634 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18635 Also fail if tpwd after pwuid call is NULL.
18636
18637 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
18638
18639 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
18640 when converting to ms.
18641
18642 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
18643
18644 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
18645 EOPNOTSUPP errors with ENOTTY.
18646 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
18647 EOPNOTSUPP errors with ENOTTY.
18648
18649 2010-07-31 Ulrich Drepper <drepper@redhat.com>
18650
18651 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
18652 Add strcasecmp_l-ssse3.
18653 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
18654 strcasecmp.
18655 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
18656 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
18657 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
18658
18659 2010-07-30 Ulrich Drepper <drepper@redhat.com>
18660
18661 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
18662
18663 * string/Makefile (strop-tests): Add strcasecmp.
18664 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
18665 strcasecmp_l-nonascii.
18666 (gen-as-const-headers): Add locale-defines.sym.
18667 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
18668 * sysdeps/x86_64/strcasecmp.S: New file.
18669 * sysdeps/x86_64/strcasecmp_l.S: New file.
18670 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
18671 * sysdeps/x86_64/locale-defines.sym: New file.
18672 * string/test-strcasecmp.c: New file.
18673
18674 * string/test-strcasestr.c: Test both ends of the range of characters.
18675 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
18676
18677 2010-07-29 Roland McGrath <roland@redhat.com>
18678
18679 [BZ #11856]
18680 * manual/locale.texi (Yes-or-No Questions): Fix example code.
18681
18682 2010-07-27 Ulrich Drepper <drepper@redhat.com>
18683
18684 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
18685 for ld.so.
18686
18687 2010-07-27 Andreas Schwab <schwab@redhat.com>
18688
18689 * manual/memory.texi (Malloc Tunable Parameters): Document
18690 M_PERTURB.
18691
18692 2010-07-26 Roland McGrath <roland@redhat.com>
18693
18694 [BZ #11840]
18695 * configure.in (-fgnu89-inline check): Set and substitute
18696 gnu89_inline, not libc_cv_gnu89_inline.
18697 * configure: Regenerated.
18698 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
18699
18700 2010-07-26 Ulrich Drepper <drepper@redhat.com>
18701
18702 * string/test-strnlen.c: New file.
18703 * string/Makefile (strop-tests): Add strnlen.
18704 * string/tester.c (test_strnlen): Add a few more test cases.
18705 * string/tst-strlen.c: Better error reporting.
18706
18707 * sysdeps/x86_64/strnlen.S: New file.
18708
18709 2010-07-24 Ulrich Drepper <drepper@redhat.com>
18710
18711 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
18712 lower-latency instructions.
18713
18714 2010-07-23 Ulrich Drepper <drepper@redhat.com>
18715
18716 * string/test-strcasestr.c: New file.
18717 * string/test-strstr.c: New file.
18718 * string/Makefile (strop-tests): Add strstr and strcasestr.
18719 * string/str-two-way.h: Don't undefine MAX.
18720 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
18721
18722 2010-07-21 Andreas Schwab <schwab@redhat.com>
18723
18724 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18725 strcasestr-nonascii.
18726 (CFLAGS-strcasestr-nonascii.c): Define.
18727 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
18728 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
18729 Remove unused attribute.
18730
18731 2010-07-20 Roland McGrath <roland@redhat.com>
18732
18733 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
18734 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
18735 ld.so.cache was broken. With it, there is no way to disable dsocaps
18736 like LD_HWCAP_MASK can disable hwcaps.
18737
18738 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18739
18740 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
18741
18742 2010-07-16 Ulrich Drepper <drepper@redhat.com>
18743
18744 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
18745 call in strcasestr.
18746 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
18747 __strcasestr_sse42_nonascii.
18748 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
18749 strcasestr-nonascii.c.
18750 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
18751
18752 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
18753
18754 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
18755 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
18756 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
18757 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
18758
18759 2010-07-09 Ulrich Drepper <drepper@redhat.com>
18760
18761 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
18762 fcntl.
18763
18764 2010-07-06 Andreas Schwab <schwab@redhat.com>
18765
18766 [BZ #11577]
18767 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
18768 dl_signal_cerror.
18769
18770 2010-07-06 Ulrich Drepper <drepper@redhat.com>
18771
18772 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
18773 _PC_PIPE_BUF using F_GETPIPE_SZ.
18774
18775 2010-07-05 Roland McGrath <roland@redhat.com>
18776
18777 * manual/arith.texi (Rounding Functions): Fix rint description
18778 implicit in round description.
18779
18780 2010-07-02 Ulrich Drepper <drepper@redhat.com>
18781
18782 * elf/Makefile: Fix linking for a few tests to make recent linker
18783 happy.
18784
18785 2010-06-30 Andreas Schwab <schwab@redhat.com>
18786
18787 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
18788 $(common-objpfx)libc_nonshared.a.
18789
18790 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
18791
18792 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
18793 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
18794 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18795 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18796 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
18797 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
18798 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18799 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
18801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
18802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
18803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
18804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
18805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
18806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
18807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
18808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
18809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
18810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
18811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
18812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
18813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
18814 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
18815 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
18816 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
18817 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
18818 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
18819 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
18820 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
18821 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
18822 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
18823 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
18824 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
18825 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
18826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
18827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
18828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
18829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
18830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
18831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
18832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
18833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
18834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
18835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
18836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
18837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
18838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
18839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
18840
18841 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
18842
18843 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
18844 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
18845 * string/memmove.c (memmove): Renamed to ...
18846 (MEMMOVE): ...this. Default to memmove.
18847 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
18848 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
18849 (END_CHK): Define.
18850 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18851 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
18852 mempcpy-ssse3-back memmove-ssse3-back.
18853 * sysdeps/x86_64/multiarch/bcopy.S: New file .
18854 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
18855 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
18856 * sysdeps/x86_64/multiarch/memcpy.S: New file.
18857 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
18858 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
18859 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
18860 * sysdeps/x86_64/multiarch/memmove.c: New file.
18861 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
18862 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
18863 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
18864 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
18865 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
18866 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
18867 Define.
18868 (index_Fast_Copy_Backward): Define.
18869 (HAS_ARCH_FEATURE): Define.
18870 (HAS_FAST_REP_STRING): Define.
18871 (HAS_FAST_COPY_BACKWARD): Define.
18872
18873 2010-06-21 Andreas Schwab <schwab@redhat.com>
18874
18875 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18876 Restore proper fallback handling.
18877
18878 2010-06-19 Ulrich Drepper <drepper@redhat.com>
18879
18880 [BZ #11701]
18881 * posix/group_member.c (__group_member): Correct checking loop.
18882
18883 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
18884 OOM in getpwuid_r correctly. Return error number when the caller
18885 should return, otherwise -1.
18886 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
18887 call returning > 0 value.
18888 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
18889
18890 2010-06-07 Andreas Schwab <schwab@redhat.com>
18891
18892 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
18893 libc_nonshared.a from targets in modules-names.
18894
18895 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
18896
18897 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
18898 requires it.
18899
18900 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
18901
18902 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
18903 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
18904 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
18905 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
18906
18907 2010-06-02 Andreas Schwab <schwab@redhat.com>
18908
18909 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
18910
18911 2010-06-14 Ulrich Drepper <drepper@redhat.com>
18912
18913 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
18914 and F_GETPIPE_SZ.
18915 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
18916 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
18917 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
18918 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18919 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
18920 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
18921
18922 2010-06-14 Roland McGrath <roland@redhat.com>
18923
18924 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
18925
18926 2010-06-07 Jakub Jelinek <jakub@redhat.com>
18927
18928 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
18929 __REDIRECT followed by __THROW.
18930 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
18931 * posix/getopt.h (getopt): Likewise.
18932
18933 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
18934
18935 * hurd/lookup-at.c (__file_name_lookup_at): Accept
18936 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
18937 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
18938 in AT_FLAGS.
18939 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
18940 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
18941
18942 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
18943
18944 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
18945
18946 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
18947
18948 [BZ #11640]
18949 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18950 Properly check family and model.
18951
18952 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
18953
18954 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
18955
18956 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
18957
18958 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
18959
18960 2010-05-21 Ulrich Drepper <drepper@redhat.com>
18961
18962 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
18963 symbol reference.
18964
18965 2010-05-19 Andreas Schwab <schwab@redhat.com>
18966
18967 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
18968 symbol reference.
18969
18970 2010-05-21 Andreas Schwab <schwab@redhat.com>
18971
18972 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
18973 and internal_recvmmsg.
18974 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
18975 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
18976 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
18977 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
18978
18979 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
18980 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18981 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18982
18983 2010-05-20 Andreas Schwab <schwab@redhat.com>
18984
18985 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
18986
18987 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
18988
18989 POWER7 optimizations.
18990 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
18991 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
18992
18993 2010-05-19 Ulrich Drepper <drepper@redhat.com>
18994
18995 * version.h: Update for 2.13 development version.
18996
18997 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
18998
18999 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
19000 exceptions. Return 0.
19001
19002 2010-05-07 Roland McGrath <roland@redhat.com>
19003
19004 * elf/ldconfig.c (main): Add a const.
19005
19006 2010-05-06 Ulrich Drepper <drepper@redhat.com>
19007
19008 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
19009 (args_options): Add no-idn option.
19010 (ahosts_keys_int): Add idn_flags to ai_flags.
19011 (parse_option): Handle 'i' option to clear idn_flags.
19012
19013 * malloc/malloc.c (_int_free): Possible race in the most recently
19014 added check. Only act on the data if no current modification
19015 happened.
19016
19017 See ChangeLog.17 for earlier changes.