1 2013-01-07 Anton Blanchard <anton@samba.org>
3 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
6 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
10 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
25 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
27 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
28 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
29 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
32 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
34 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
37 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
41 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
42 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
43 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
44 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
47 2013-01-07 Joseph Myers <joseph@codesourcery.com>
49 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
50 (__MALLOC_PMT): Likewise.
51 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
52 [__GNUC__], only on [_LIBC].
53 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
54 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
55 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
56 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
58 (realloc_hook_ini): Likewise.
59 (memalign_hook_ini): Likewise.
60 (__libc_memalign): Do not use __MALLOC_PMT in variable
62 (__libc_valloc): Likewise.
63 (__libc_pvalloc): Likewise.
64 (__libc_calloc): Likewise.
65 (__posix_memalign): Likewise.
68 * math/s_casinh.c: Include <float.h>.
69 (__casinh): Do not do computation with squaring and square root
71 * math/s_casinhf.c: Include <float.h>.
72 (__casinhf): Do not do computation with squaring and square root
74 * math/s_casinhl.c: Include <float.h>.
75 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
76 (__casinhl): Do not do computation with squaring and square root
78 * math/libm-test.inc (casin_test): Add more tests.
79 (casinh_test): Likewise.
80 * sysdeps/i386/fpu/libm-test-ulps: Update.
81 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
85 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
86 (__x86_64_raw_data_cache_size): Likewise.
87 (__x86_64_data_cache_size_half): Likewise.
88 (__x86_64_raw_data_cache_size_half): Likewise.
89 (__x86_64_shared_cache_size): Likewise.
90 (__x86_64_raw_shared_cache_size): Likewise.
91 (__x86_64_shared_cache_size_half): Likewise.
92 (__x86_64_raw_shared_cache_size_half): Likewise.
93 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
95 (__x86_data_cache_size): This.
96 (__x86_64_raw_data_cache_size): Renamed to ...
97 (__x86_raw_data_cache_size): This.
98 (__x86_64_data_cache_size_half): Renamed to ...
99 (__x86_data_cache_size_half): This.
100 (__x86_64_raw_data_cache_size_half): Renamed to ...
101 (__x86_raw_data_cache_size_half): This.
102 (__x86_64_shared_cache_size): Renamed to ...
103 (__x86_shared_cache_size): This.
104 (__x86_64_raw_shared_cache_size): Renamed to ...
105 (__x86_raw_shared_cache_size): This.
106 (__x86_64_shared_cache_size_half): Renamed to ...
107 (__x86_shared_cache_size_half): This.
108 (__x86_64_raw_shared_cache_size_half): Renamed to ...
109 (__x86_raw_shared_cache_size_half): This.
110 * sysdeps/x86_64/memcpy.S: Updated.
111 * sysdeps/x86_64/memset.S: Likewise.
112 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
113 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
114 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
116 2013-01-04 David S. Miller <davem@davemloft.net>
118 * sysdeps/sparc/fpu/libm-test-ulps: Update.
120 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
122 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
123 1 to avoid redefinition warning.
124 (__USE_GNU): Don't define.
125 (init_signaling_nan): Protoize.
127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
129 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
131 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
132 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
134 (norm): Remove commented code.
136 (__mp_dbl): Likewise.
138 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
140 (norm): Remove commented code.
142 (__mp_dbl): Likewise.
145 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
146 mp_no value for 1.0 and 2.0.
147 (norm): Use RADIXI instead of radixi.d.
149 (__mul): Use 0.0 instead of zero.d.
150 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
151 mp_no value for 1.0 and 2.0.
152 (norm): Use RADIXI instead of radixi.d.
154 (__mul): Use 0.0 instead of zero.d.
156 2013-01-04 Joseph Myers <joseph@codesourcery.com>
159 * math/s_casinh.c (__casinh): Reduce finite argument to first
160 quadrant then set signs of results at the end.
161 * math/s_casinhf.c (__casinhf): Likewise.
162 * math/s_casinhl.c (__casinhl): Likewise.
163 * math/libm-test.inc (casin_test): Add more tests.
164 (casinh_test): Likewise.
165 * sysdeps/i386/fpu/libm-test-ulps: Update.
166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
168 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
170 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
172 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
174 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
177 (__mp_dbl): Likewise.
180 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
181 and adjust the header comment.
183 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
184 variable name from declaration.
186 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
188 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
189 Initialize COMMON_CPUID_INDEX_7 element.
190 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
191 (CPUID_RTM): Likewise.
193 (COMMON_CPUID_INDEX_7): New enum.
195 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
198 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
199 size is zero, record memory as freed.
201 2013-01-03 Andreas Jaeger <aj@suse.de>
203 * po/ia.po: Add new Interlingua translation.
205 2012-01-03 Allan McRae <allan@archlinux.org>
207 * locale/programs/localedef.c: Fix description of '--posix' flag.
209 2013-01-02 Joseph Myers <joseph@codesourcery.com>
211 * NEWS: Update dates in second copyright notice.
212 * README: Update copyright dates in example.
213 * manual/libc.texinfo: Update copyright dates.
214 * scripts/test-installation.pl: Update copyright date in --version
217 * hurd/ctty-input.c: Fix copyright notice formatting.
218 * hurd/ctty-output.c: Likewise.
219 * hurd/dtable.c: Likewise.
220 * hurd/hurd-raise.c: Likewise.
221 * hurd/hurdprio.c: Likewise.
222 * hurd/msgportdemux.c: Likewise.
223 * misc/sys/file.h: Likewise.
224 * misc/sys/ioctl.h: Likewise.
225 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
226 * sysdeps/mach/hurd/chdir.c: Likewise.
227 * sysdeps/mach/hurd/fchdir.c: Likewise.
228 * sysdeps/mach/hurd/rename.c: Likewise.
229 * sysdeps/mach/hurd/rmdir.c: Likewise.
230 * sysdeps/mach/hurd/seekdir.c: Likewise.
231 * sysdeps/mach/hurd/setsid.c: Likewise.
232 * sysdeps/posix/wait3.c: Likewise.
234 * All files with FSF copyright notices: Update copyright dates
235 using scripts/update-copyrights.
236 * intl/plural.c: Regenerated.
237 * locale/programs/charmap-kw.h: Likewise.
238 * locale/programs/locfile-kw.h: Likewise.
240 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
242 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
245 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
246 calculation loop and add branch prediction.
248 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
249 check access beyond bounds of m1np.
251 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
253 (__inv): Remove local variable MPTWO to use the global
255 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
256 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
258 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
259 MP3HALFS static const.
261 2013-01-01 David S. Miller <davem@davemloft.net>
263 * po/ca.po: Update from translation team.
265 2013-01-01 Joseph Myers <joseph@codesourcery.com>
267 * scripts/update-copyrights: New file.
268 * Makeconfig: Reformat copyright notice.
269 * ctype/ctype.h: Likewise.
270 * debug/swprintf_chk.c: Likewise.
271 * elf/dl-cache.c: Likewise.
272 * elf/dl-debug.c: Likewise.
273 * elf/dl-object.c: Likewise.
274 * grp/initgroups.c: Likewise.
275 * hurd/Makefile: Likewise.
276 * hurd/hurd/signal.h: Likewise.
277 * hurd/hurdfault.c: Likewise.
278 * hurd/hurdioctl.c: Likewise.
279 * hurd/hurdlookup.c: Likewise.
280 * hurd/intr-msg.c: Likewise.
281 * iconv/gconv_open.c: Likewise.
282 * libio/swprintf.c: Likewise.
283 * locale/lc-ctype.c: Likewise.
284 * locale/nl_langinfo.c: Likewise.
285 * mach/Machrules: Likewise.
286 * mach/Makefile: Likewise.
287 * malloc/obstack.h: Likewise.
288 * manual/Makefile: Likewise.
289 * manual/tsort.awk: Likewise.
290 * misc/bits/stab.def: Likewise.
291 * nis/nis_print_group_entry.c: Likewise.
292 * nis/nis_table.c: Likewise.
293 * nis/nss_compat/compat-pwd.c: Likewise.
294 * nis/nss_compat/compat-spwd.c: Likewise.
295 * po/Makefile: Likewise.
296 * posix/fnmatch.c: Likewise.
297 * posix/regex.h: Likewise.
298 * resolv/Makefile: Likewise.
299 * resolv/nss_dns/dns-network.c: Likewise.
300 * resolv/res_hconf.c: Likewise.
301 * scripts/gen-sorted.awk: Likewise.
302 * soft-fp/soft-fp.h: Likewise.
303 * stdio-common/printf.h: Likewise.
304 * stdlib/monetary.h: Likewise.
305 * stdlib/random.c: Likewise.
306 * stdlib/random_r.c: Likewise.
307 * sysdeps/generic/Makefile: Likewise.
308 * sysdeps/gnu/Makefile: Likewise.
309 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
310 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
311 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
312 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
313 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
314 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
315 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
316 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
317 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
318 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
319 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
320 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
321 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
322 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
323 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
324 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
325 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
326 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
327 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
328 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
329 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
330 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
331 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
332 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
333 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
334 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
335 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
336 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
337 * sysdeps/mach/hurd/errnos.awk: Likewise.
338 * sysdeps/mach/hurd/fork.c: Likewise.
339 * sysdeps/mach/hurd/getcwd.c: Likewise.
340 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
341 * sysdeps/mach/hurd/mmap.c: Likewise.
342 * sysdeps/mach/hurd/utimes.c: Likewise.
343 * sysdeps/mach/hurd/xmknod.c: Likewise.
344 * sysdeps/posix/profil.c: Likewise.
345 * sysdeps/posix/readdir_r.c: Likewise.
346 * sysdeps/powerpc/bits/mathdef.h: Likewise.
347 * sysdeps/powerpc/bits/setjmp.h: Likewise.
348 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
349 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
350 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
351 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
352 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
353 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
354 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
355 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
356 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
357 * sysdeps/pthread/lio_listio.c: Likewise.
358 * sysdeps/sparc/dl-procinfo.h: Likewise.
359 * sysdeps/unix/i386/sysdep.S: Likewise.
360 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
361 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
362 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
363 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
365 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
366 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
367 * sysdeps/unix/sysv/linux/speed.c: Likewise.
368 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
369 * sysdeps/wordsize-32/divdi3.c: Likewise.
370 * time/sys/time.h: Likewise.
371 * wcsmbs/Makefile: Likewise.
373 2013-01-01 David S. Miller <davem@davemloft.net>
375 * po/fr.po: Update from translation team.
377 * catgets/gencat.c: Update copyright year.
378 * csu/version.c: Likewise.
379 * debug/catchsegv.sh: Likewise.
380 * debug/pcprofiledump.c: Likewise.
381 * debug/xtrace.sh: Likewise.
382 * elf/ldconfig.c: Likewise.
383 * elf/ldd.bash.in: Likewise.
384 * elf/pldd.c: Likewise.
385 * elf/sotruss.ksh: Likewise.
386 * elf/sprof.c: Likewise.
387 * iconv/iconv_prog.c: Likewise.
388 * iconv/iconvconfig.c: Likewise.
389 * locale/programs/locale.c: Likewise.
390 * locale/programs/localedef.c: Likewise.
391 * login/programs/pt_chown.c: Likewise.
392 * malloc/memusage.sh: Likewise.
393 * malloc/memusagestat.c: Likewise.
394 * malloc/mtrace.pl: Likewise.
395 * nscd/nscd.c: Likewise.
396 * nss/getent.c: Likewise.
397 * nss/makedb.c: Likewise.
398 * posix/getconf.c: Likewise.
400 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
402 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
405 2012-12-30 Mike Frysinger <vapier@gentoo.org>
407 * math/bits/mathcalls.h (modf): Use __nonnull.
409 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
411 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
412 (split): Use macro CN instead of the bare value.
413 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
415 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
416 instead of the bare value.
419 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
421 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
423 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
425 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
427 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
428 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
429 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
430 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
432 2012-12-28 Andreas Jaeger <aj@suse.de>
434 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
435 values are from Linux 3.7.
437 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
438 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
440 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
442 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
445 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
447 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
448 variables with preprocessor constants.
449 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
450 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
451 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
453 2012-12-27 Bruno Haible <bruno@clisp.org>
456 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
459 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
461 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
462 and use variable directly.
463 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
465 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
467 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
468 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
470 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
471 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
472 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
473 include directive. Remove local variable MPONE.
474 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
475 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
476 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
478 2012-12-25 David S. Miller <davem@davemloft.net>
480 * version.h (RELEASE): Set to "development".
481 (VERSION): Set to "2.17.90".
482 * NEWS: Add 2.18 section.
484 2012-12-21 David S. Miller <davem@davemloft.net>
486 * po/hr.po: Update from translation team.
488 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
490 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
492 2012-12-19 Steve Ellcey <sellcey@mips.com>
494 * NEWS: Mention new memcpy for MIPS.
496 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
498 * manual/contrib.texi (Contributors): Spelling correction.
500 2012-12-15 David S. Miller <davem@davemloft.net>
502 * po/ru.po: Update from translation team.
504 2012-12-13 David S. Miller <davem@davemloft.net>
506 * NEWS: Mention IFUNC testsuite enhancements.
508 * po/pl.po: Update from translation team.
509 * po/bg.po: Likewise.
511 * manual/contrib.texi (Contributors): Update entries for Hongjiu
512 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
514 2012-12-11 David S. Miller <davem@davemloft.net>
516 * po/sv.po: Update from translation team.
518 * po/vi.po: Update from translation team.
520 * po/cs.po: Update from translation team.
522 * po/de.po: Update from translation team.
523 * po/eo.po: Likewise.
524 * po/nl.po: Likewise.
526 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
529 * manual/argp.texi (Argp Helper Functions): Move node to follow
533 * manual/conf.texi (Limits on File System Capacity): Mention if
534 terminating null is included in the max size.
536 2012-12-10 Andreas Jaeger <aj@suse.de>
538 * po/cs.po: Update from translation team.
540 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
542 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
543 void pointer and cast to uintptr_t.
544 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
546 * sysdeps/s390/s390-64/memcpy.S: Likewise.
547 * sysdeps/s390/s390-64/memset.S: Likewise.
549 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
552 * menual/message.texi (Message Translation): Fix typos.
553 (Helper programs for gettext): Likewise.
555 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
558 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
561 2012-12-07 David S. Miller <davem@davemloft.net>
563 * po/libc.pot: Update.
565 2012-12-07 Richard Henderson <rth@redhat.com>
568 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
569 normal/normal case to before the switch.
572 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
573 Mike Frysinger <vapier@gentoo.org>
575 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
576 check for __NR_fadvise64_64.
578 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
580 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
581 0, not just to plain "0" as a statement.
582 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
585 2012-12-06 Joseph Myers <joseph@codesourcery.com>
587 * NEWS: Use sourceware.org in Bugzilla URL.
589 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
592 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
594 * stdio-common/tst-put-error.c (do_test): Add newline to the
595 padded test to ensure flush.
597 2012-12-05 Jeff Law <law@redhat.com>
599 * sunrpc/etc.rpc (fedfs_admin): Add entry.
601 2012-12-05 Joseph Myers <joseph@codesourcery.com>
603 * README: Don't refer to ports add-on as distributed separately.
604 Mention AArch64 in list of systems supported in the ports add-on.
606 * LICENSES: Add more non-FSF copyright and license notices.
608 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
611 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
613 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
614 10000 as width of padded output.
616 2012-12-04 Joseph Myers <joseph@codesourcery.com>
618 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
620 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
621 variable LX with __attribute__ ((unused)).
622 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
624 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
625 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
626 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
627 with __attribute__ ((unused)).
629 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
631 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
633 2012-12-04 Joseph Myers <joseph@codesourcery.com>
635 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
636 (CFLAGS-nldbl-acos.c): New variable.
637 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
638 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
639 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
640 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
641 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
642 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
643 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
644 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
645 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
646 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
647 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
648 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
649 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
650 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
651 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
652 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
653 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
654 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
655 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
656 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
657 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
658 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
659 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
660 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
661 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
662 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
663 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
664 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
665 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
666 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
667 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
668 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
669 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
670 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
671 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
672 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
673 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
674 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
675 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
676 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
677 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
678 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
679 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
680 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
681 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
682 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
683 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
684 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
685 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
686 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
687 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
688 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
689 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
690 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
691 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
692 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
693 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
694 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
695 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
696 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
697 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
698 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
699 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
700 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
701 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
702 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
703 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
704 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
705 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
706 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
707 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
708 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
709 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
710 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
711 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
712 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
713 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
714 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
715 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
716 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
717 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
718 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
719 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
720 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
721 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
722 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
723 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
724 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
725 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
726 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
727 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
728 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
729 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
730 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
731 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
732 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
733 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
736 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
739 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
740 whole low double instead of just low 47 bits when splitting values
743 2012-12-03 Allan McRae <allan@archlinux.org>
745 * manual/stdio.texi (Predefined Printf Handlers): Remove
746 @hsep and @vsep usage.
748 2012-12-03 Mike Frysinger <vapier@gentoo.org>
750 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
751 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
753 2012-12-03 Jeff Law <law@redhat.com>
755 * time/sys/time.h (settimeofday): Do not mark TV argument
758 2012-12-01 Mike Frysinger <vapier@gentoo.org>
760 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
761 when currently writing and seek to current position when not.
762 * libio/Makefile (tests): Remove bug-fclose1.
763 * libio/bug-fclose1.c: Delete.
765 2012-12-01 Joseph Myers <joseph@codesourcery.com>
767 * manual/arith.texi (feenableexcept): Fix typo.
768 (fedisableexcept): Likewise.
770 2012-11-30 Roland McGrath <roland@hack.frob.com>
772 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
773 second, differently-typed declaration, rather than a cast.
775 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
777 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
778 * include/rpc/svc.h: ... here.
780 2012-11-30 Aurelien Jarno <aurel32@debian.org>
783 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
784 depending n and resplen2 to catch cases where answer
787 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
789 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
790 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
792 2012-11-29 Mike Frysinger <vapier@gentoo.org>
794 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
796 2012-11-29 Roland McGrath <roland@hack.frob.com>
798 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
800 2012-11-28 Jeff Law <law@redhat.com>
803 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
804 dataset_temporary. Track alloca usage into alloca_used.
805 If dataset is large allocate and release it via malloc/free.
807 2012-06-04 Florian Weimer <fweimer@redhat.com>
810 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
812 2012-11-28 David S. Miller <davem@davemloft.net>
814 * sysdeps/sparc/fpu/libm-test-ulps: Update.
816 2012-11-28 Joseph Myers <joseph@codesourcery.com>
819 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
820 of pi/2 rounded to nearest to 64 bits.
821 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
823 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
826 2012-11-28 Jeff Law <law@redhat.com>
827 Martin Osvald <mosvald@redhat.com>
830 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
831 * sunrpc/svc.c: Include time.h.
832 (__svc_accept_failed): New function.
833 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
834 any reason other than EINTR, call __svc_accept_failed.
835 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
836 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
838 2012-11-28 Andreas Schwab <schwab@suse.de>
840 * scripts/abilist.awk: Also handle indirect functions in .opd
843 2012-11-28 Joseph Myers <joseph@codesourcery.com>
846 * sysdeps/x86/fpu/powl_helper.c: New file.
847 * sysdeps/x86/fpu/Makefile: Likewise.
848 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
850 (__ieee754_powl): Use __powl_helper for finite arguments except
851 integer exponents below 8.
852 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
854 (__ieee754_powl): Use __powl_helper for finite arguments except
855 integer exponents below 8.
856 * math/libm-test.inc (pow_test): Add more tests and enable some
857 previously disabled tests.
858 * sysdeps/i386/fpu/libm-test-ulps: Update.
859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
861 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
862 Carlos O'Donell <carlos_odonell@mentor.com>
864 * nss/makedb.c (is_prime): Assert that input is odd and greater
865 than 4. Note that fact in a comment too.
866 (next_prime): Add 4 to input.
868 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
871 * libio/Makefile (tests): Add test case tst-fwrite-error.
872 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
873 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
874 * libio/tst-fwrite-error.c: New test case.
876 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
878 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
879 before casting to void *.
880 * include/libc-internal.h (__pointer_type): New macro.
881 (__integer_if_pointer_type_sub): Likewise.
882 (__integer_if_pointer_type): Likewise.
883 (cast_to_integer): Likewise.
884 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
885 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
886 before casting to atomic64_t.
887 (atomic_exchange_acq): Likewise.
888 (__arch_exchange_and_add_body): Likewise.
889 (__arch_add_body): Likewise.
890 (atomic_add_negative): Likewise.
891 (atomic_add_zero): Likewise.
893 2012-11-26 Joseph Myers <joseph@codesourcery.com>
895 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
896 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
897 (add_fdes): Likewise.
898 (linear_search_fdes): Likewise.
899 (binary_search_unencoded_fdes): Likewise.
901 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
903 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
905 2012-11-24 Adam Conrad <adconrad@0c3.net>
907 * configure.in: Autodetect C++ header directories.
908 * configure: Regenerated.
910 2012-11-23 Mike Frysinger <vapier@gentoo.org>
912 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
914 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
916 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
918 2012-11-22 Joseph Myers <joseph@codesourcery.com>
920 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
921 LDBL_MANT_DIG == 106]: Disable some tests.
922 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
924 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
928 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
929 input for small inputs. Return +/- pi/2 for large inputs.
930 * math/libm-test.inc (atan_test): Add more tests.
932 * sysdeps/generic/unwind-dw2-fde-glibc.c
933 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
934 __attribute__ ((unused)).
937 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
938 x * y if x and y are nonzero and z is zero.
941 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
942 nonzero exponents with absolute value below 0x1p-117 to +/-
946 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
947 up arguments below 2**-450, not just those below 2**-500.
948 * math/libm-test.inc (hypot_test): Add another test.
951 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
952 Return a+b for ratio over 2**120, not 2**60.
953 * math/libm-test.inc (hypot_test): Add another test.
955 * math/libm-test.inc (clog_test): Use
956 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
957 (clog10_test): Likewise.
960 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
962 2012-11-22 Andreas Schwab <schwab@suse.de>
964 * sysdeps/i386/fpu/libm-test-ulps: Update.
966 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
968 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
969 printf output with newline.
971 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
974 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
975 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
976 -z nodlopen, -z initfirst and -z execstack support.
977 * configure: Regenerated.
979 * elf/elf.h (DF_1_NODIRECT): New macro.
980 (DF_1_IGNMULDEF): Likewise.
981 (DF_1_NOKSYMS): Likewise.
982 (DF_1_NOHDR): Likewise.
983 (DF_1_EDITED): Likewise.
984 (DF_1_NORELOC): Likewise.
985 (DF_1_SYMINTPOSE): Likewise.
986 (DF_1_GLOBAUDIT): Likewise.
987 (DF_1_SINGLETON): Likewise.
988 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
989 DT_1_SUPPORTED_MASK bits.
990 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
992 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
994 * sysdeps/unix/make-syscalls.sh: Document prefixes.
996 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
998 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
1001 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
1002 (sendmmsg): Move declarations...
1003 * socket/sys/socket.h: ... here.
1004 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
1005 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
1007 * socket/recvmmsg.c: ... this new file.
1008 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
1009 (sendmmsg): Rename to __sendmmsg, create weak alias and make
1010 definition of __sendmmsg hidden.
1011 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1012 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
1013 Move ENOSYS stub into and include it from...
1014 * socket/sendmmsg.c: ... this new file.
1015 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
1016 (sysdep_routines): Move recvmmsg and sendmmsg...
1017 * socket/Makefile (routines): ... here.
1018 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
1019 (GLIBC_PRIVATE): Add __sendmmsg.
1020 * include/sys/socket.h (__sendmmsg): Add declarations.
1021 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
1024 2012-11-20 Joseph Myers <joseph@codesourcery.com>
1026 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
1027 variable I1 with __attribute__ ((unused)).
1028 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1030 2012-11-19 Joseph Myers <joseph@codesourcery.com>
1032 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
1033 DUMMY variables with __attribute__ ((unused)).
1035 * bits/byteswap.h: Include <bits/types.h>.
1036 (__bswap_64): Use __uint64_t instead of unsigned long long int.
1038 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1040 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
1041 string_t. Do not manually set errno.
1042 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
1043 length with __strnlen. Make sure to both set errno and return it on
1046 2012-11-19 David S. Miller <davem@davemloft.net>
1048 With help from Joseph Myers.
1049 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
1050 very large arguments properly.
1051 * math/libm-test.inc (atan_test): New tests.
1052 (atan2_test): New tests.
1053 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1054 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1056 2012-11-19 Joseph Myers <joseph@codesourcery.com>
1059 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
1062 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
1063 [POSIX] (EADDRNOTAVAIL): Likewise.
1064 [POSIX] (EAFNOSUPPORT): Likewise.
1065 [POSIX] (EALREADY): Likewise.
1066 [POSIX] (ECONNABORTED): Likewise.
1067 [POSIX] (ECONNREFUSED): Likewise.
1068 [POSIX] (ECONNRESET): Likewise.
1069 [POSIX] (EDESTADDRREQ): Likewise.
1070 [POSIX] (EDQUOT): Likewise.
1071 [POSIX] (EHOSTUNREACH): Likewise.
1072 [POSIX] (EIDRM): Likewise.
1073 [POSIX] (EISCONN): Likewise.
1074 [POSIX] (ELOOP): Likewise.
1075 [POSIX] (EMULTIHOP): Likewise.
1076 [POSIX] (ENETDOWN): Likewise.
1077 [POSIX] (ENETUNREACH): Likewise.
1078 [POSIX] (ENOBUFS): Likewise.
1079 [POSIX] (ENODATA): Likewise.
1080 [POSIX] (ENOLINK): Likewise.
1081 [POSIX] (ENOMSG): Likewise.
1082 [POSIX] (ENOPROTOOPT): Likewise.
1083 [POSIX] (ENOSR): Likewise.
1084 [POSIX] (ENOSTR): Likewise.
1085 [POSIX] (ENOTCONN): Likewise.
1086 [POSIX] (ENOTSOCK): Likewise.
1087 [POSIX] (EOPNOTSUPP): Likewise.
1088 [POSIX] (EOVERFLOW): Likewise.
1089 [POSIX] (EPROTO): Likewise.
1090 [POSIX] (EPROTONOSUPPORT): Likewise.
1091 [POSIX] (EPROTOTYPE): Likewise.
1092 [POSIX] (ESTALE): Likewise.
1093 [POSIX] (ETIME): Likewise.
1094 [POSIX] (ETXTBSY): Likewise.
1095 [POSIX] (EWOULDBLOCK): Likewise.
1096 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
1097 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
1098 [POSIX] (SEEK_CUR): Likewise.
1099 [POSIX] (SEEK_END): Likewise.
1100 [POSIX || UNIX98] (mode_t): Do not require.
1101 [POSIX] (off_t): Likewise.
1102 [POSIX] (pid_t): Likewise.
1103 [POSIX] (sys/stat.h): Do not allow header.
1104 [POSIX] (unistd.h): Likewise.
1105 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
1106 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
1107 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
1108 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
1110 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
1111 sigevent): Specify elements.
1112 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
1114 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
1115 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
1117 * conform/data/cpio.h-data [POSIX]: Disable whole file.
1118 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
1119 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
1120 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
1121 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
1122 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
1123 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
1124 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
1125 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
1126 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
1127 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
1128 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
1129 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
1130 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
1132 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
1134 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
1136 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
1138 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
1139 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
1140 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
1141 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
1142 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
1143 Specify lower bound on value.
1144 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
1145 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
1146 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
1147 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
1148 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
1149 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
1150 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
1151 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
1153 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
1155 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
1156 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
1157 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
1158 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
1159 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
1160 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
1161 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
1162 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
1163 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
1164 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
1165 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
1166 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
1167 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
1168 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
1169 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
1170 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
1172 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
1174 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
1175 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
1176 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
1177 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
1178 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
1179 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
1181 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
1182 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
1183 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
1184 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
1185 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
1186 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
1187 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
1189 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
1190 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
1191 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
1192 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
1193 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
1194 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
1195 specify as optional.
1196 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
1197 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
1198 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
1199 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
1200 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
1201 [XPG3] (NL_LANGMAX): Likewise.
1202 [POSIX || XPG3] (NL_MSGMAX): Likewise.
1203 [POSIX || XPG3] (NL_NMAX): Likewise.
1204 [POSIX || XPG3] (NL_SETMAX): Likewise.
1205 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
1206 [XPG3] (NZERO): Likewise.
1207 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
1208 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
1209 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
1210 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
1211 (REG_ERANGE): Expect.
1212 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
1214 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
1215 Use (void) in prototype.
1216 [POSIX] (*_t): Allow.
1217 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
1218 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
1219 (WRDE_BADVAL): Expect.
1221 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
1223 [XPG3 || XPG4] (O_RSYNC): Likewise.
1224 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
1226 [XPG3 || XPG4] (pthread_sigmask): Likewise.
1227 [XPG3 || XPG4] (sigqueue): Likewise.
1228 [XPG3 || XPG4] (sigtimedwait): Likewise.
1229 [XPG3 || XPG4] (sigwaitinfo): Likewise.
1230 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
1231 [XPG3 || XPG4] (vsnprintf): Likewise.
1232 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
1234 [XPG3 || XPG4] (blksize_t): Likewise.
1235 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
1237 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
1238 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1239 [XPG3 || XPG4] (struct itimerspec): Likewise.
1240 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
1241 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
1242 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
1243 [XPG3 || XPG4] (clockid_t): Likewise.
1244 [XPG3 || XPG4] (timer_t): Likewise.
1245 [XPG3 || XPG4] (clock_getres): Likewise.
1246 [XPG3 || XPG4] (clock_gettime): Likewise.
1247 [XPG3 || XPG4] (clock_settime): Likewise.
1248 [XPG3 || XPG4] (nanosleep): Likewise.
1249 [XPG3 || XPG4] (timer_create): Likewise.
1250 [XPG3 || XPG4] (timer_delete): Likewise.
1251 [XPG3 || XPG4] (timer_gettime): Likewise.
1252 [XPG3 || XPG4] (timer_getoverrun): Likewise.
1253 [XPG3 || XPG4] (timer_settime): Likewise.
1254 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
1255 [XPG3 || XPG4] (getlogin_r): Likewise.
1256 [XPG3 || XPG4] (pread): Likewise.
1257 [XPG3 || XPG4] (pthread_atfork): Likewise.
1258 [XPG3 || XPG4] (pwrite): Likewise.
1261 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
1264 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1266 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
1267 finalizing MALLSTREAM.
1269 * sysdeps/mach/hurd/syncfs.c: New file.
1271 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1274 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
1275 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
1276 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
1277 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
1278 (_nss_dns_gethostbyname4_r): Likewise.
1279 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
1280 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
1282 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
1285 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
1287 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
1289 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
1290 * elf/cache.c (print_entry): Print ",AArch64" for
1293 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
1294 * elf/cache.c (print_entry): Print ",hard-float" for
1297 2012-11-18 David S. Miller <davem@davemloft.net>
1299 With help from Joseph Myers.
1300 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
1302 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
1304 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
1305 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
1307 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1308 * math/libm-test.inc (y0_test): New tests.
1309 (y1_test): New tests.
1310 * sysdeps/i386/fpu/libm-test-ulps: Update.
1311 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1312 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1314 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
1316 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
1318 * configure: Regenerated.
1320 2012-11-17 David S. Miller <davem@davemloft.net>
1323 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
1324 nonzero exponents with absolute value below 0x1p-128 to +/-
1327 2012-11-17 Joseph Myers <joseph@codesourcery.com>
1329 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
1331 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
1333 * posix/getconf-speclist.c: New file.
1334 * posix/posix-envs.def: Likewise.
1335 * posix/confstr.c (START_ENV_GROUP): New macro.
1336 (END_ENV_GROUP): Likewise.
1337 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1338 (KNOWN_PRESENT_ENV_STRING): Likewise.
1339 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1340 (UNKNOWN_ENVIRONMENT): Likewise.
1341 (confstr): Include posix-envs.def instead of handling
1342 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
1343 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
1344 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
1345 (END_ENV_GROUP): Likewise.
1346 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1347 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1348 (UNKNOWN_ENVIRONMENT): Likewise.
1349 (__sysconf): Include posix-envs.def instead of handling associated
1350 cases directly here.
1351 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
1352 preprocessing getconf-speclist.c rather than running getconf or
1353 generating empty file.
1355 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
1357 * scripts/check-local-headers.sh: Ignore 'mach' headers.
1359 2012-11-16 Andrej Lajovic <natrij@gmail.com>
1362 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
1364 2012-11-16 David S. Miller <davem@davemloft.net>
1366 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
1367 smaller than LDBL_EPSILON/2.0L, just return xm1.
1369 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
1371 * elf/tst-array1.c (init): Set constructor priority to 1000.
1372 (fini): Set destructor priority to 1000.
1373 * elf/tst-array2dep.c: Likewise.
1375 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1378 * libio/fileops.c (_IO_new_file_write): Correctly return error.
1379 (_IO_new_file_xsputn): Also return EOF if none of the input
1380 data was written when overflow failed.
1381 * libio/iopadn.c (_IO_padn): Likewise.
1382 * libio/iowpadn.c (_IO_wpadn): Likewise.
1383 * stdio-common/tst-put-error.c: Add copyright notice.
1384 (do_test): Add case for printing padded string.
1385 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
1386 _IO_padn returned error.
1387 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
1388 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
1391 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1393 * libio/libioP.h: Add comment note that the references to C++
1394 bits are now obsolete.
1396 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1398 * math/libm-test.inc (check_complex): Use asprintf.
1400 2012-11-14 Joseph Myers <joseph@codesourcery.com>
1402 * debug/pcprofiledump.c (print_version): Update copyright year.
1403 * malloc/memusagestat.c (print_version): Likewise.
1405 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1408 * elf/Makefile (tests): Add tst-audit8.
1409 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
1410 ($(objpfx)tst-audit8.out): New target.
1411 (tst-audit8-ENV): New variable.
1412 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
1413 audit if l_reloc_result is NULL.
1414 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
1415 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
1416 * elf/tst-audit8.c: New file.
1418 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1420 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
1421 * misc/Makefile (CFLAGS-select.c): Define.
1422 * posix/Makefile (CFLAGS-pause.c): Define.
1424 2012-11-13 David S. Miller <davem@davemloft.net>
1426 * crypt/Makefile: Move test targets after toplevel Rules
1427 inclusion. Grab any necessary sysdep routines when linking.
1428 * crypt/md5.c (md5_process_block): Remove define, we will always
1429 name it __md5_process_block.
1430 (md5_finish_ctx): Update md5_process_block call.
1431 (md5_stream): Likewise.
1432 (md5_process_bytes): Likewise.
1433 (md5_process_block): Rename to __md5_process_block and move to ...
1434 * crypt/md5-block.c: ... here.
1435 * crypt/sha256.c (sha256_process_block): Move to ...
1436 * crypt/sha256-block.c: ... here.
1437 * crypt/sha512.c (sha512_process_block): Move to ...
1438 * crypt/sha512-block.c: ... here.
1439 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
1441 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
1442 * sysdeps/sparc/sparc64/multiarch/Makefile
1443 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
1445 (localedef-aux): Add md5 crypto assembler when in locale subdir.
1446 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
1448 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
1449 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
1450 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
1451 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
1452 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
1453 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
1454 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
1455 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
1456 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
1458 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
1459 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
1461 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
1463 2012-11-13 Joseph Myers <joseph@codesourcery.com>
1465 * timezone/tzselect.ksh: Update from tzcode git revision
1466 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
1467 * timezone/zdump.c: Likewise.
1468 * timezone/zic.c: Likewise.
1469 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
1470 in TZVERSION setting, not $(PKGVERSION).
1471 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
1472 REPORT_BUGS_TO settings.
1475 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
1478 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1480 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
1481 detection to immediately after _FP_ROUND().
1482 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
1485 2012-11-11 David S. Miller <davem@davemloft.net>
1487 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
1489 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
1490 __close rather than their public counterparts.
1492 2012-11-10 Joseph Myers <joseph@codesourcery.com>
1494 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
1496 [UNIX98] (sem_timedwait): Do not expect.
1497 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
1498 [XPG4 || UNIX98] (sockatmark): Do not expect.
1499 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
1500 (clock_getcpuclockid): Do not expect.
1501 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
1502 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
1504 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
1505 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
1506 [UNIX98] (vwscanf): Likewise.
1507 [UNIX98] (vswscanf): Likewise.
1509 2012-11-09 Joseph Myers <joseph@codesourcery.com>
1511 * timezone/version.h: Remove file.
1512 * timezone/README: Do not refer to version.h.
1513 * timezone/Makefile ($(objpfx)zic.o): New dependency on
1515 ($(objpfx)zdump.o): Likewise.
1516 ($(objpfx)version.h): New target.
1518 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
1520 * timezone/README: Don't mention modification to tzselect.ksh.
1521 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
1522 work on unmodified tzselect.ksh. Substitute version numbers in
1525 * Makefile (format-me): Remove.
1526 (INSTALL): Adjust indentation. Use commands directly instead of
1529 * aclocal.m4 (ACX_PKGVERSION): New macro.
1530 (ACX_BUGURL): Likewise.
1531 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
1532 (PKGVERSION): New AC_DEFINE_UNQUOTED.
1533 (REPORT_BUGS_TO): Likewise.
1534 * configure: Regenerated.
1535 * config.h.in (PKGVERSION): New macro.
1536 (REPORT_BUGS_TO): Likewise.
1537 * config.make.in (PKGVERSION): New variable.
1538 (PKGVERSION_TEXI): Likewise.
1539 (REPORT_BUGS_TO): Likewise.
1540 (REPORT_BUGS_TEXI): Likewise.
1541 * Makefile (format-me): Use -I$(common-objpfx)manual.
1542 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
1543 ($(common-objpfx)manual/%): New target.
1544 (manual/%): Remove target.
1545 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
1546 (print_version): Use PKGVERSION.
1547 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
1548 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
1550 ($(objpfx)xtrace): Likewise.
1551 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
1552 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
1553 (print_version): Use PKGVERSION.
1554 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
1555 (do_version): Use PKGVERSION.
1556 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
1558 (common-ldd-rewrite): Likewise.
1559 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
1560 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
1561 (print_version): Use PKGVERSION.
1562 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
1563 * elf/pldd.c (argp_program_bug_address): Remove variable.
1564 (more_help): New function.
1565 (argp): Use more_help.
1566 (print_version): Use PKGVERSION.
1567 * elf/sln.c (main): Use PKGVERSION.
1568 (usage): Use REPORT_BUGS_TO.
1569 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
1570 (top level): Use PKGVERSION.
1571 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
1572 (print_version): Use PKGVERSION.
1573 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
1574 (print_version): Use PKGVERSION.
1575 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
1576 (print_version): Use PKGVERSION.
1577 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
1578 (print_version): Use PKGVERSION.
1579 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
1580 (print_version): Use PKGVERSION.
1581 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
1582 (print_version): Use PKGVERSION.
1583 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
1585 ($(objpfx)memusage): Likewise.
1586 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
1587 (do_version): Use PKGVERSION.
1588 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
1589 (print_version): Use PKGVERSION.
1590 * malloc/mtrace.pl ($PACKAGE): Remove variable.
1591 ($PKGVERSION): New variable.
1592 ($REPORT_BUGS_TO): Likewise.
1593 (usage): Use $REPORT_BUGS_TO.
1594 (top level): Use $PKGVERSION.
1595 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1596 ($(objpfx)pkgvers.texi): New rule.
1597 ($(objpfx)stamp-pkgvers): Likewise.
1598 * manual/install.texi: Include pkgvers.texi.
1599 (--with-pkgversion): Document new configure option.
1600 (--with-bugurl): Likewise.
1601 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1602 than necessarily for this particular distribution. Use
1603 REPORT_BUGS_TO for where to report bugs.
1604 * INSTALL: Regenerated.
1605 * manual/libc.texinfo: Include pkgvers.texi.
1606 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
1607 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
1608 (print_version): Use PKGVERSION.
1609 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
1610 (print_version): Use PKGVERSION.
1611 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
1612 (print_version): Use PKGVERSION.
1613 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
1614 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
1616 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
1617 (print_version): Use PKGVERSION.
1618 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
1619 (print_version): Use PKGVERSION.
1620 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
1623 * timezone/checktab.awk: Update from tzcode 2012i.
1624 * timezone/ialloc.c: Likewise.
1625 * timezone/private.h: Likewise.
1626 * timezone/scheck.c: Likewise.
1627 * timezone/tzfile.h: Likewise.
1628 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1629 (TZVERSION): Hardcode tzcode version number.
1630 * timezone/zdump.c: Update from tzcode 2012i.
1631 * timezone/zic.c: Likewise.
1632 * timezone/version.h: New file.
1633 * timezone/README: Describe version.h. Update upstream location.
1636 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1637 (mktemp): Enable declaration.
1638 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1639 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1640 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1641 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1643 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1645 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1647 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
1649 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
1651 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
1655 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
1656 offset in buffer as u_int32_t not u_long. Consistently use memcpy
1657 for copies of such integer values.
1658 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1659 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1661 2012-11-09 Andreas Jaeger <aj@suse.de>
1663 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
1664 definitions and declarations that are provided by
1665 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1667 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1669 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
1670 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
1671 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
1674 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1676 * elf/elf.h: Update comment before AArch64 relocations.
1678 2012-11-07 David S. Miller <davem@davemloft.net>
1680 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
1681 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1682 (__start_context): Declare.
1683 (__makecontext_ret): Delete.
1684 (__makecontext): Hook up __start_context instead of
1686 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1687 (sysdep_routines): Add __start_context when in stdlib.
1689 2012-11-07 Joseph Myers <joseph@codesourcery.com>
1691 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
1692 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
1693 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
1695 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
1696 (READELF): New variable. Use it instead of hardcoded "readelf".
1698 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
1700 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
1701 * sysdeps/x86/Makefile: Here.
1702 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
1703 * sysdeps/x86/tst-xmmymm.sh: This.
1705 2012-11-07 Joseph Myers <joseph@codesourcery.com>
1707 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
1709 [UNIX98] (pthread_barrier_t): Do not expect.
1710 [UNIX98] (pthread_barrierattr_t): Likewise.
1711 [UNIX98] (pthread_spinlock_t): Likewise.
1712 [UNIX98] (pthread_barrier_destroy): Likewise.
1713 [UNIX98] (pthread_barrier_init): Likewise.
1714 [UNIX98] (pthread_barrier_wait): Likewise.
1715 [UNIX98] (pthread_barrierattr_destroy): Likewise.
1716 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
1717 [UNIX98] (pthread_barrierattr_init): Likewise.
1718 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
1719 [UNIX98] (pthread_getcpuclockid): Likewise.
1720 [UNIX98] (pthread_mutex_timedlock): Likewise.
1721 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
1722 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
1723 [UNIX98] (pthread_sigmask): Likewise.
1724 [UNIX98] (pthread_spin_destroy): Likewise.
1725 [UNIX98] (pthread_spin_init): Likewise.
1726 [UNIX98] (pthread_spin_lock): Likewise.
1727 [UNIX98] (pthread_spin_trylock): Likewise.
1728 [UNIX98] (pthread_spin_unlock): Likewise.
1729 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
1731 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
1732 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
1733 [XPG3 || XPG4] (pthread_cond_t): Likewise.
1734 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
1735 [XPG3 || XPG4] (pthread_key_t): Likewise.
1736 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
1737 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
1738 [XPG3 || XPG4] (pthread_once_t): Likewise.
1739 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
1740 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
1741 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
1742 [XPG3 || XPG4] (pthread_t): Likewise.
1744 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
1746 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1748 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1749 Change function return type to int.
1751 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1752 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1753 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1754 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1755 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1756 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1757 [!POSIX] (posix_madvise): Likewise.
1758 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1760 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1761 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1763 (posix_mem_offset): Likewise.
1764 (posix_typed_mem_get_info): Likewise.
1765 (posix_typed_mem_open): Likewise.
1767 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1768 Change condition to [XOPEN2K8].
1770 * conform/conformtest.pl: Preprocess allow-header data with -x c
1771 instead of from stdin.
1772 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1773 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1774 [C99-based standards] (cerfc): Likewise.
1775 [C99-based standards] (cexp2): Likewise.
1776 [C99-based standards] (cexpm1): Likewise.
1777 [C99-based standards] (clog10): Likewise.
1778 [C99-based standards] (clog1p): Likewise.
1779 [C99-based standards] (clog2): Likewise.
1780 [C99-based standards] (clgamma): Likewise.
1781 [C99-based standards] (ctgamma): Likewise.
1782 [C99-based standards] (cerff): Likewise.
1783 [C99-based standards] (cerfcf): Likewise.
1784 [C99-based standards] (cexp2f): Likewise.
1785 [C99-based standards] (cexpm1f): Likewise.
1786 [C99-based standards] (clog10f): Likewise.
1787 [C99-based standards] (clog1pf): Likewise.
1788 [C99-based standards] (clog2f): Likewise.
1789 [C99-based standards] (clgammaf): Likewise.
1790 [C99-based standards] (ctgammaf): Likewise.
1791 [C99-based standards] (cerfl): Likewise.
1792 [C99-based standards] (cerfcl): Likewise.
1793 [C99-based standards] (cexp2l): Likewise.
1794 [C99-based standards] (cexpm1l): Likewise.
1795 [C99-based standards] (clog10l): Likewise.
1796 [C99-based standards] (clog1pl): Likewise.
1797 [C99-based standards] (clog2l): Likewise.
1798 [C99-based standards] (clgammal): Likewise.
1799 [C99-based standards] (ctgammal): Likewise.
1800 * conform/data/inttypes.h-data [C99-based standards]: Include
1801 stdint.h-data. Remove all expectations for stdint.h contents.
1802 [C99-based standards] (PRI*): Do not allow.
1803 [C99-based standards] (SCN*): Likewise.
1804 [C99-based standards] (*_t): Likewise.
1805 [C99-based-standards] (PRId8): Expect macro.
1806 [C99-based-standards] (PRIi8): Likewise.
1807 [C99-based-standards] (PRIo8): Likewise.
1808 [C99-based-standards] (PRIu8): Likewise.
1809 [C99-based-standards] (PRIx8): Likewise.
1810 [C99-based-standards] (PRIX8): Likewise.
1811 [C99-based-standards] (SCNd8): Likewise.
1812 [C99-based-standards] (SCNi8): Likewise.
1813 [C99-based-standards] (SCNo8): Likewise.
1814 [C99-based-standards] (SCNu8): Likewise.
1815 [C99-based-standards] (SCNx8): Likewise.
1816 [C99-based-standards] (PRIdLEAST8): Likewise.
1817 [C99-based-standards] (PRIiLEAST8): Likewise.
1818 [C99-based-standards] (PRIoLEAST8): Likewise.
1819 [C99-based-standards] (PRIuLEAST8): Likewise.
1820 [C99-based-standards] (PRIxLEAST8): Likewise.
1821 [C99-based-standards] (PRIXLEAST8): Likewise.
1822 [C99-based-standards] (SCNdLEAST8): Likewise.
1823 [C99-based-standards] (SCNiLEAST8): Likewise.
1824 [C99-based-standards] (SCNoLEAST8): Likewise.
1825 [C99-based-standards] (SCNuLEAST8): Likewise.
1826 [C99-based-standards] (SCNxLEAST8): Likewise.
1827 [C99-based-standards] (PRIdFAST8): Likewise.
1828 [C99-based-standards] (PRIiFAST8): Likewise.
1829 [C99-based-standards] (PRIoFAST8): Likewise.
1830 [C99-based-standards] (PRIuFAST8): Likewise.
1831 [C99-based-standards] (PRIxFAST8): Likewise.
1832 [C99-based-standards] (PRIXFAST8): Likewise.
1833 [C99-based-standards] (SCNdFAST8): Likewise.
1834 [C99-based-standards] (SCNiFAST8): Likewise.
1835 [C99-based-standards] (SCNoFAST8): Likewise.
1836 [C99-based-standards] (SCNuFAST8): Likewise.
1837 [C99-based-standards] (SCNxFAST8): Likewise.
1838 [C99-based-standards] (PRId16): Likewise.
1839 [C99-based-standards] (PRIi16): Likewise.
1840 [C99-based-standards] (PRIo16): Likewise.
1841 [C99-based-standards] (PRIu16): Likewise.
1842 [C99-based-standards] (PRIx16): Likewise.
1843 [C99-based-standards] (PRIX16): Likewise.
1844 [C99-based-standards] (SCNd16): Likewise.
1845 [C99-based-standards] (SCNi16): Likewise.
1846 [C99-based-standards] (SCNo16): Likewise.
1847 [C99-based-standards] (SCNu16): Likewise.
1848 [C99-based-standards] (SCNx16): Likewise.
1849 [C99-based-standards] (PRIdLEAST16): Likewise.
1850 [C99-based-standards] (PRIiLEAST16): Likewise.
1851 [C99-based-standards] (PRIoLEAST16): Likewise.
1852 [C99-based-standards] (PRIuLEAST16): Likewise.
1853 [C99-based-standards] (PRIxLEAST16): Likewise.
1854 [C99-based-standards] (PRIXLEAST16): Likewise.
1855 [C99-based-standards] (SCNdLEAST16): Likewise.
1856 [C99-based-standards] (SCNiLEAST16): Likewise.
1857 [C99-based-standards] (SCNoLEAST16): Likewise.
1858 [C99-based-standards] (SCNuLEAST16): Likewise.
1859 [C99-based-standards] (SCNxLEAST16): Likewise.
1860 [C99-based-standards] (PRIdFAST16): Likewise.
1861 [C99-based-standards] (PRIiFAST16): Likewise.
1862 [C99-based-standards] (PRIoFAST16): Likewise.
1863 [C99-based-standards] (PRIuFAST16): Likewise.
1864 [C99-based-standards] (PRIxFAST16): Likewise.
1865 [C99-based-standards] (PRIXFAST16): Likewise.
1866 [C99-based-standards] (SCNdFAST16): Likewise.
1867 [C99-based-standards] (SCNiFAST16): Likewise.
1868 [C99-based-standards] (SCNoFAST16): Likewise.
1869 [C99-based-standards] (SCNuFAST16): Likewise.
1870 [C99-based-standards] (SCNxFAST16): Likewise.
1871 [C99-based-standards] (PRId32): Likewise.
1872 [C99-based-standards] (PRIi32): Likewise.
1873 [C99-based-standards] (PRIo32): Likewise.
1874 [C99-based-standards] (PRIu32): Likewise.
1875 [C99-based-standards] (PRIx32): Likewise.
1876 [C99-based-standards] (PRIX32): Likewise.
1877 [C99-based-standards] (SCNd32): Likewise.
1878 [C99-based-standards] (SCNi32): Likewise.
1879 [C99-based-standards] (SCNo32): Likewise.
1880 [C99-based-standards] (SCNu32): Likewise.
1881 [C99-based-standards] (SCNx32): Likewise.
1882 [C99-based-standards] (PRIdLEAST32): Likewise.
1883 [C99-based-standards] (PRIiLEAST32): Likewise.
1884 [C99-based-standards] (PRIoLEAST32): Likewise.
1885 [C99-based-standards] (PRIuLEAST32): Likewise.
1886 [C99-based-standards] (PRIxLEAST32): Likewise.
1887 [C99-based-standards] (PRIXLEAST32): Likewise.
1888 [C99-based-standards] (SCNdLEAST32): Likewise.
1889 [C99-based-standards] (SCNiLEAST32): Likewise.
1890 [C99-based-standards] (SCNoLEAST32): Likewise.
1891 [C99-based-standards] (SCNuLEAST32): Likewise.
1892 [C99-based-standards] (SCNxLEAST32): Likewise.
1893 [C99-based-standards] (PRIdFAST32): Likewise.
1894 [C99-based-standards] (PRIiFAST32): Likewise.
1895 [C99-based-standards] (PRIoFAST32): Likewise.
1896 [C99-based-standards] (PRIuFAST32): Likewise.
1897 [C99-based-standards] (PRIxFAST32): Likewise.
1898 [C99-based-standards] (PRIXFAST32): Likewise.
1899 [C99-based-standards] (SCNdFAST32): Likewise.
1900 [C99-based-standards] (SCNiFAST32): Likewise.
1901 [C99-based-standards] (SCNoFAST32): Likewise.
1902 [C99-based-standards] (SCNuFAST32): Likewise.
1903 [C99-based-standards] (SCNxFAST32): Likewise.
1904 [C99-based-standards] (PRId64): Likewise.
1905 [C99-based-standards] (PRIi64): Likewise.
1906 [C99-based-standards] (PRIo64): Likewise.
1907 [C99-based-standards] (PRIu64): Likewise.
1908 [C99-based-standards] (PRIx64): Likewise.
1909 [C99-based-standards] (PRIX64): Likewise.
1910 [C99-based-standards] (SCNd64): Likewise.
1911 [C99-based-standards] (SCNi64): Likewise.
1912 [C99-based-standards] (SCNo64): Likewise.
1913 [C99-based-standards] (SCNu64): Likewise.
1914 [C99-based-standards] (SCNx64): Likewise.
1915 [C99-based-standards] (PRIdLEAST64): Likewise.
1916 [C99-based-standards] (PRIiLEAST64): Likewise.
1917 [C99-based-standards] (PRIoLEAST64): Likewise.
1918 [C99-based-standards] (PRIuLEAST64): Likewise.
1919 [C99-based-standards] (PRIxLEAST64): Likewise.
1920 [C99-based-standards] (PRIXLEAST64): Likewise.
1921 [C99-based-standards] (SCNdLEAST64): Likewise.
1922 [C99-based-standards] (SCNiLEAST64): Likewise.
1923 [C99-based-standards] (SCNoLEAST64): Likewise.
1924 [C99-based-standards] (SCNuLEAST64): Likewise.
1925 [C99-based-standards] (SCNxLEAST64): Likewise.
1926 [C99-based-standards] (PRIdFAST64): Likewise.
1927 [C99-based-standards] (PRIiFAST64): Likewise.
1928 [C99-based-standards] (PRIoFAST64): Likewise.
1929 [C99-based-standards] (PRIuFAST64): Likewise.
1930 [C99-based-standards] (PRIxFAST64): Likewise.
1931 [C99-based-standards] (PRIXFAST64): Likewise.
1932 [C99-based-standards] (SCNdFAST64): Likewise.
1933 [C99-based-standards] (SCNiFAST64): Likewise.
1934 [C99-based-standards] (SCNoFAST64): Likewise.
1935 [C99-based-standards] (SCNuFAST64): Likewise.
1936 [C99-based-standards] (SCNxFAST64): Likewise.
1937 [C99-based-standards] (PRIdMAX): Likewise.
1938 [C99-based-standards] (PRIiMAX): Likewise.
1939 [C99-based-standards] (PRIoMAX): Likewise.
1940 [C99-based-standards] (PRIuMAX): Likewise.
1941 [C99-based-standards] (PRIxMAX): Likewise.
1942 [C99-based-standards] (PRIXMAX): Likewise.
1943 [C99-based-standards] (SCNdMAX): Likewise.
1944 [C99-based-standards] (SCNiMAX): Likewise.
1945 [C99-based-standards] (SCNoMAX): Likewise.
1946 [C99-based-standards] (SCNuMAX): Likewise.
1947 [C99-based-standards] (SCNxMAX): Likewise.
1948 [C99-based-standards] (PRIdPTR): Likewise.
1949 [C99-based-standards] (PRIiPTR): Likewise.
1950 [C99-based-standards] (PRIoPTR): Likewise.
1951 [C99-based-standards] (PRIuPTR): Likewise.
1952 [C99-based-standards] (PRIxPTR): Likewise.
1953 [C99-based-standards] (PRIXPTR): Likewise.
1954 [C99-based-standards] (SCNdPTR): Likewise.
1955 [C99-based-standards] (SCNiPTR): Likewise.
1956 [C99-based-standards] (SCNoPTR): Likewise.
1957 [C99-based-standards] (SCNuPTR): Likewise.
1958 [C99-based-standards] (SCNxPTR): Likewise.
1959 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
1961 * conform/data/stdint.h-data: Update comments to clarify
1963 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
1965 [C99-based standards] (INT8_MAX): Likewise.
1966 [C99-based standards] (INT16_MIN): Likewise.
1967 [C99-based standards] (INT16_MAX): Likewise.
1968 [C99-based standards] (INT32_MIN): Likewise.
1969 [C99-based standards] (INT32_MAX): Likewise.
1970 [C99-based standards] (INT64_MIN): Likewise.
1971 [C99-based standards] (INT64_MAX): Likewise.
1972 [C99-based standards] (UINT8_MAX): Likewise.
1973 [C99-based standards] (UINT16_MAX): Likewise.
1974 [C99-based standards] (UINT32_MAX): Likewise.
1975 [C99-based standards] (UINT64_MAX): Likewise.
1976 [C99-based standards] (INT_LEAST8_MIN): Likewise.
1977 [C99-based standards] (INT_LEAST8_MAX): Likewise.
1978 [C99-based standards] (INT_LEAST16_MIN): Likewise.
1979 [C99-based standards] (INT_LEAST16_MAX): Likewise.
1980 [C99-based standards] (INT_LEAST32_MIN): Likewise.
1981 [C99-based standards] (INT_LEAST32_MAX): Likewise.
1982 [C99-based standards] (INT_LEAST64_MIN): Likewise.
1983 [C99-based standards] (INT_LEAST64_MAX): Likewise.
1984 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
1985 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
1986 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
1987 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
1988 [C99-based standards] (INT_FAST8_MIN): Likewise.
1989 [C99-based standards] (INT_FAST8_MAX): Likewise.
1990 [C99-based standards] (INT_FAST16_MIN): Likewise.
1991 [C99-based standards] (INT_FAST16_MAX): Likewise.
1992 [C99-based standards] (INT_FAST32_MIN): Likewise.
1993 [C99-based standards] (INT_FAST32_MAX): Likewise.
1994 [C99-based standards] (INT_FAST64_MIN): Likewise.
1995 [C99-based standards] (INT_FAST64_MAX): Likewise.
1996 [C99-based standards] (UINT_FAST8_MAX): Likewise.
1997 [C99-based standards] (UINT_FAST16_MAX): Likewise.
1998 [C99-based standards] (UINT_FAST32_MAX): Likewise.
1999 [C99-based standards] (UINT_FAST64_MAX): Likewise.
2000 [C99-based standards] (INTPTR_MIN): Likewise.
2001 [C99-based standards] (INTPTR_MAX): Likewise.
2002 [C99-based standards] (UINTPTR_MAX): Likewise.
2003 [C99-based standards] (INTMAX_MIN): Likewise.
2004 [C99-based standards] (INTMAX_MAX): Likewise.
2005 [C99-based standards] (UINTMAX_MAX): Likewise.
2006 [C99-based standards] (PTRDIFF_MIN): Likewise.
2007 [C99-based standards] (PTRDIFF_MAX): Likewise.
2008 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
2009 [C99-based standards] (SIZE_MAX): Likewise.
2010 [C99-based standards] (WCHAR_MAX): Likewise.
2011 [C99-based standards] (WINT_MAX): Likewise.
2012 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
2013 constraint on value.
2014 [C99-based standards] (WCHAR_MIN): Likewise.
2015 [C99-based standards] (WINT_MIN): Likewise.
2016 [C99-based standards] (*_t): Allow.
2017 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
2018 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
2019 Include math.h-data and complex.h-data. Remove all expectations
2020 of math.h and complex.h contents.
2021 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
2023 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
2024 (struct tm): Expect tag.
2025 [C99-based-standards] (wcstof): Expect function.
2026 [C99-based-standards] (wcstold): Likewise.
2027 [C99-based-standards] (wcstoll): Likewise.
2028 [C99-based-standards] (wcstoull): Likewise.
2029 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
2030 macro-int-constant. Specify type.
2031 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
2032 constraint on value.
2033 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2035 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
2037 [ISO C standards]: Do not allow headers.
2038 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
2039 wcs[abcdefghijklmnopqrstuvwxyz]*.
2040 [ISO C standards] (*_t): Do not allow.
2041 * conform/data/wctype.h-data [C99-based standards] (iswblank):
2043 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
2044 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2046 [ISO C standards]: Do not allow headers.
2047 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
2048 is[abcdefghijklmnopqrstuvwxyz]*.
2049 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
2050 to[abcdefghijklmnopqrstuvwxyz]*.
2051 [ISO C standards] (*_t): Do not allow.
2052 * conform/data/stdalign.h-data: New file.
2053 * conform/data/stdbool.h-data: Likewise.
2054 * conform/data/stdnoreturn.h-data: Likewise.
2056 2012-11-07 Roland McGrath <roland@hack.frob.com>
2059 * manual/filesys.texi (Directory Entries): Typo fix.
2060 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
2062 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2064 * elf/elf.h (EM_AARCH64): New macro.
2065 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
2066 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
2067 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
2068 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
2069 (R_AARCH64_TLSDESC): Likewise.
2070 (NT_ARM_TLS): Likewise.
2071 (NT_ARM_HW_BREAK): Likewise.
2072 (NT_ARM_HW_WATCH): Likewise.
2074 2012-11-07 Joseph Myers <joseph@codesourcery.com>
2077 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
2078 (__ieee754_powl): Saturate nonzero exponents with absolute value
2079 below 0x1p-79 to +/- 0x1p-79.
2080 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
2081 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
2082 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
2083 nonzero exponents with absolute value below 0x1p-32 to +/-
2085 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
2086 (__ieee754_powl): Saturate nonzero exponents with absolute value
2087 below 0x1p-79 to +/- 0x1p-79.
2088 * math/libm-test.inc (pow_test): Add more tests.
2090 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2092 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
2093 _dl_s390_cap_flags with kernel. Increase string length.
2094 (_dl_s390_platforms): Add z196 and zEC12.
2096 2012-11-07 Joseph Myers <joseph@codesourcery.com>
2098 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
2099 Change XOPEN21K to XOPEN2K.
2101 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
2103 * string/memmove.c: Use memcpy when possible.
2105 2012-11-06 Andreas Jaeger <aj@suse.de>
2107 * po/eo.po: Update from translation team.
2109 2012-11-06 Joseph Myers <joseph@codesourcery.com>
2112 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
2113 exponent and small x and y exponents, scale x or y up. Increase
2114 by 2 the exponent used in scaling up.
2115 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2116 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2117 * math/libm-test.inc (fma_test): Add more tests.
2118 (fma_test_towardzero): Likewise.
2119 (fma_test_downward): Likewise.
2120 (fma_test_upward): Likewise.
2122 2012-11-05 Joseph Myers <joseph@codesourcery.com>
2125 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
2129 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
2130 namespace for names of struct fields.
2131 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
2133 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2134 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
2136 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2139 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
2141 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2143 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
2147 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
2150 2012-11-04 Joseph Myers <joseph@codesourcery.com>
2153 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
2154 definitely overflow as x * y not x * y + z.
2155 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2156 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2157 * math/libm-test.inc (fma_test): Add more tests.
2158 (fma_test_towardzero): Likewise.
2159 (fma_test_downward): Likewise.
2160 (fma_test_upward): Likewise.
2162 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2166 * include/stub-tag.h: Remove file.
2167 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
2169 * manual/maint.texi (Porting): Don't reference it.
2170 * Makerules ($(objpfx)stubs): Likewise.
2171 * dirent/closedir.c: Don't include <stub-tag.h>.
2172 * dirent/dirfd.c: Likewise.
2173 * dirent/fdopendir.c: Likewise.
2174 * dirent/getdents.c: Likewise.
2175 * dirent/getdents64.c: Likewise.
2176 * dirent/opendir.c: Likewise.
2177 * dirent/readdir.c: Likewise.
2178 * dirent/readdir64.c: Likewise.
2179 * dirent/readdir64_r.c: Likewise.
2180 * dirent/readdir_r.c: Likewise.
2181 * dirent/rewinddir.c: Likewise.
2182 * dirent/seekdir.c: Likewise.
2183 * dirent/telldir.c: Likewise.
2184 * gmon/profil.c: Likewise.
2185 * grp/setgroups.c: Likewise.
2186 * inet/if_index.c: Likewise.
2187 * io/access.c: Likewise.
2188 * io/chdir.c: Likewise.
2189 * io/chmod.c: Likewise.
2190 * io/chown.c: Likewise.
2191 * io/close.c: Likewise.
2192 * io/dup.c: Likewise.
2193 * io/dup2.c: Likewise.
2194 * io/dup3.c: Likewise.
2195 * io/euidaccess.c: Likewise.
2196 * io/faccessat.c: Likewise.
2197 * io/fchdir.c: Likewise.
2198 * io/fchmod.c: Likewise.
2199 * io/fchmodat.c: Likewise.
2200 * io/fchown.c: Likewise.
2201 * io/fchownat.c: Likewise.
2202 * io/fcntl.c: Likewise.
2203 * io/flock.c: Likewise.
2204 * io/fstatfs.c: Likewise.
2205 * io/fstatfs64.c: Likewise.
2206 * io/fstatvfs.c: Likewise.
2207 * io/fstatvfs64.c: Likewise.
2208 * io/futimens.c: Likewise.
2209 * io/fxstat.c: Likewise.
2210 * io/fxstat64.c: Likewise.
2211 * io/fxstatat.c: Likewise.
2212 * io/fxstatat64.c: Likewise.
2213 * io/getcwd.c: Likewise.
2214 * io/isatty.c: Likewise.
2215 * io/lchmod.c: Likewise.
2216 * io/lchown.c: Likewise.
2217 * io/link.c: Likewise.
2218 * io/linkat.c: Likewise.
2219 * io/lseek.c: Likewise.
2220 * io/lseek64.c: Likewise.
2221 * io/lxstat64.c: Likewise.
2222 * io/mkdir.c: Likewise.
2223 * io/mkdirat.c: Likewise.
2224 * io/mkfifo.c: Likewise.
2225 * io/mkfifoat.c: Likewise.
2226 * io/open.c: Likewise.
2227 * io/open64.c: Likewise.
2228 * io/openat.c: Likewise.
2229 * io/openat64.c: Likewise.
2230 * io/pipe.c: Likewise.
2231 * io/pipe2.c: Likewise.
2232 * io/poll.c: Likewise.
2233 * io/posix_fadvise.c: Likewise.
2234 * io/posix_fadvise64.c: Likewise.
2235 * io/posix_fallocate.c: Likewise.
2236 * io/posix_fallocate64.c: Likewise.
2237 * io/read.c: Likewise.
2238 * io/readlink.c: Likewise.
2239 * io/readlinkat.c: Likewise.
2240 * io/rmdir.c: Likewise.
2241 * io/sendfile.c: Likewise.
2242 * io/sendfile64.c: Likewise.
2243 * io/statfs.c: Likewise.
2244 * io/statfs64.c: Likewise.
2245 * io/statvfs.c: Likewise.
2246 * io/statvfs64.c: Likewise.
2247 * io/symlink.c: Likewise.
2248 * io/symlinkat.c: Likewise.
2249 * io/ttyname.c: Likewise.
2250 * io/ttyname_r.c: Likewise.
2251 * io/umask.c: Likewise.
2252 * io/unlink.c: Likewise.
2253 * io/unlinkat.c: Likewise.
2254 * io/utime.c: Likewise.
2255 * io/utimensat.c: Likewise.
2256 * io/write.c: Likewise.
2257 * io/xmknod.c: Likewise.
2258 * io/xmknodat.c: Likewise.
2259 * io/xstat.c: Likewise.
2260 * io/xstat64.c: Likewise.
2261 * login/getpt.c: Likewise.
2262 * login/grantpt.c: Likewise.
2263 * login/unlockpt.c: Likewise.
2264 * math/e_acoshl.c: Likewise.
2265 * math/e_acosl.c: Likewise.
2266 * math/e_asinl.c: Likewise.
2267 * math/e_atan2l.c: Likewise.
2268 * math/e_atanhl.c: Likewise.
2269 * math/e_coshl.c: Likewise.
2270 * math/e_expl.c: Likewise.
2271 * math/e_fmodl.c: Likewise.
2272 * math/e_gammal_r.c: Likewise.
2273 * math/e_hypotl.c: Likewise.
2274 * math/e_j0l.c: Likewise.
2275 * math/e_j1l.c: Likewise.
2276 * math/e_jnl.c: Likewise.
2277 * math/e_lgammal_r.c: Likewise.
2278 * math/e_log10l.c: Likewise.
2279 * math/e_log2l.c: Likewise.
2280 * math/e_logl.c: Likewise.
2281 * math/e_powl.c: Likewise.
2282 * math/e_rem_pio2l.c: Likewise.
2283 * math/e_sinhl.c: Likewise.
2284 * math/e_sqrtl.c: Likewise.
2285 * math/fclrexcpt.c: Likewise.
2286 * math/fedisblxcpt.c: Likewise.
2287 * math/feenablxcpt.c: Likewise.
2288 * math/fegetenv.c: Likewise.
2289 * math/fegetexcept.c: Likewise.
2290 * math/fegetround.c: Likewise.
2291 * math/feholdexcpt.c: Likewise.
2292 * math/fesetenv.c: Likewise.
2293 * math/fesetround.c: Likewise.
2294 * math/feupdateenv.c: Likewise.
2295 * math/fgetexcptflg.c: Likewise.
2296 * math/fraiseexcpt.c: Likewise.
2297 * math/fsetexcptflg.c: Likewise.
2298 * math/ftestexcept.c: Likewise.
2299 * math/k_cosl.c: Likewise.
2300 * math/k_rem_pio2l.c: Likewise.
2301 * math/k_sinl.c: Likewise.
2302 * math/k_tanl.c: Likewise.
2303 * math/s_asinhl.c: Likewise.
2304 * math/s_atanl.c: Likewise.
2305 * math/s_cbrtl.c: Likewise.
2306 * math/s_erfl.c: Likewise.
2307 * math/s_expm1l.c: Likewise.
2308 * math/s_log1pl.c: Likewise.
2309 * math/s_tanhl.c: Likewise.
2310 * misc/acct.c: Likewise.
2311 * misc/brk.c: Likewise.
2312 * misc/chflags.c: Likewise.
2313 * misc/chroot.c: Likewise.
2314 * misc/fchflags.c: Likewise.
2315 * misc/fgetxattr.c: Likewise.
2316 * misc/flistxattr.c: Likewise.
2317 * misc/fremovexattr.c: Likewise.
2318 * misc/fsetxattr.c: Likewise.
2319 * misc/fsync.c: Likewise.
2320 * misc/ftruncate.c: Likewise.
2321 * misc/futimes.c: Likewise.
2322 * misc/futimesat.c: Likewise.
2323 * misc/getdomain.c: Likewise.
2324 * misc/getdtsz.c: Likewise.
2325 * misc/gethostid.c: Likewise.
2326 * misc/gethostname.c: Likewise.
2327 * misc/getloadavg.c: Likewise.
2328 * misc/getpagesize.c: Likewise.
2329 * misc/getsysstats.c: Likewise.
2330 * misc/getxattr.c: Likewise.
2331 * misc/gtty.c: Likewise.
2332 * misc/ioctl.c: Likewise.
2333 * misc/lgetxattr.c: Likewise.
2334 * misc/listxattr.c: Likewise.
2335 * misc/llistxattr.c: Likewise.
2336 * misc/lremovexattr.c: Likewise.
2337 * misc/lsetxattr.c: Likewise.
2338 * misc/lutimes.c: Likewise.
2339 * misc/madvise.c: Likewise.
2340 * misc/mincore.c: Likewise.
2341 * misc/mlock.c: Likewise.
2342 * misc/mlockall.c: Likewise.
2343 * misc/mmap.c: Likewise.
2344 * misc/mprotect.c: Likewise.
2345 * misc/msync.c: Likewise.
2346 * misc/munlock.c: Likewise.
2347 * misc/munlockall.c: Likewise.
2348 * misc/munmap.c: Likewise.
2349 * misc/preadv.c: Likewise.
2350 * misc/preadv64.c: Likewise.
2351 * misc/ptrace.c: Likewise.
2352 * misc/pwritev.c: Likewise.
2353 * misc/pwritev64.c: Likewise.
2354 * misc/readv.c: Likewise.
2355 * misc/reboot.c: Likewise.
2356 * misc/remap_file_pages.c: Likewise.
2357 * misc/removexattr.c: Likewise.
2358 * misc/revoke.c: Likewise.
2359 * misc/select.c: Likewise.
2360 * misc/setdomain.c: Likewise.
2361 * misc/setegid.c: Likewise.
2362 * misc/seteuid.c: Likewise.
2363 * misc/sethostid.c: Likewise.
2364 * misc/sethostname.c: Likewise.
2365 * misc/setregid.c: Likewise.
2366 * misc/setreuid.c: Likewise.
2367 * misc/setxattr.c: Likewise.
2368 * misc/sstk.c: Likewise.
2369 * misc/stty.c: Likewise.
2370 * misc/swapoff.c: Likewise.
2371 * misc/swapon.c: Likewise.
2372 * misc/sync.c: Likewise.
2373 * misc/syncfs.c: Likewise.
2374 * misc/syscall.c: Likewise.
2375 * misc/truncate.c: Likewise.
2376 * misc/ualarm.c: Likewise.
2377 * misc/usleep.c: Likewise.
2378 * misc/ustat.c: Likewise.
2379 * misc/utimes.c: Likewise.
2380 * misc/vhangup.c: Likewise.
2381 * misc/writev.c: Likewise.
2382 * posix/_exit.c: Likewise.
2383 * posix/alarm.c: Likewise.
2384 * posix/execve.c: Likewise.
2385 * posix/fexecve.c: Likewise.
2386 * posix/fork.c: Likewise.
2387 * posix/fpathconf.c: Likewise.
2388 * posix/getaddrinfo.c: Likewise.
2389 * posix/getegid.c: Likewise.
2390 * posix/geteuid.c: Likewise.
2391 * posix/getgid.c: Likewise.
2392 * posix/getgroups.c: Likewise.
2393 * posix/getlogin.c: Likewise.
2394 * posix/getlogin_r.c: Likewise.
2395 * posix/getpgid.c: Likewise.
2396 * posix/getpid.c: Likewise.
2397 * posix/getppid.c: Likewise.
2398 * posix/getresgid.c: Likewise.
2399 * posix/getresuid.c: Likewise.
2400 * posix/getsid.c: Likewise.
2401 * posix/getuid.c: Likewise.
2402 * posix/glob64.c: Likewise.
2403 * posix/nanosleep.c: Likewise.
2404 * posix/pathconf.c: Likewise.
2405 * posix/pause.c: Likewise.
2406 * posix/posix_madvise.c: Likewise.
2407 * posix/pread.c: Likewise.
2408 * posix/pread64.c: Likewise.
2409 * posix/pwrite.c: Likewise.
2410 * posix/pwrite64.c: Likewise.
2411 * posix/sched_getaffinity.c: Likewise.
2412 * posix/sched_getp.c: Likewise.
2413 * posix/sched_gets.c: Likewise.
2414 * posix/sched_primax.c: Likewise.
2415 * posix/sched_primin.c: Likewise.
2416 * posix/sched_rr_gi.c: Likewise.
2417 * posix/sched_setaffinity.c: Likewise.
2418 * posix/sched_setp.c: Likewise.
2419 * posix/sched_sets.c: Likewise.
2420 * posix/sched_yield.c: Likewise.
2421 * posix/setgid.c: Likewise.
2422 * posix/setlogin.c: Likewise.
2423 * posix/setpgid.c: Likewise.
2424 * posix/setresgid.c: Likewise.
2425 * posix/setresuid.c: Likewise.
2426 * posix/setsid.c: Likewise.
2427 * posix/setuid.c: Likewise.
2428 * posix/sleep.c: Likewise.
2429 * posix/spawni.c: Likewise.
2430 * posix/sysconf.c: Likewise.
2431 * posix/times.c: Likewise.
2432 * posix/wait.c: Likewise.
2433 * posix/wait3.c: Likewise.
2434 * posix/wait4.c: Likewise.
2435 * posix/waitpid.c: Likewise.
2436 * resolv/gai_sigqueue.c: Likewise.
2437 * resource/getpriority.c: Likewise.
2438 * resource/getrlimit.c: Likewise.
2439 * resource/getrusage.c: Likewise.
2440 * resource/nice.c: Likewise.
2441 * resource/setpriority.c: Likewise.
2442 * resource/setrlimit.c: Likewise.
2443 * resource/ulimit.c: Likewise.
2444 * rt/aio_cancel.c: Likewise.
2445 * rt/aio_fsync.c: Likewise.
2446 * rt/aio_read.c: Likewise.
2447 * rt/aio_sigqueue.c: Likewise.
2448 * rt/aio_suspend.c: Likewise.
2449 * rt/aio_write.c: Likewise.
2450 * rt/clock_getres.c: Likewise.
2451 * rt/clock_gettime.c: Likewise.
2452 * rt/clock_nanosleep.c: Likewise.
2453 * rt/clock_settime.c: Likewise.
2454 * rt/lio_listio.c: Likewise.
2455 * rt/mq_close.c: Likewise.
2456 * rt/mq_getattr.c: Likewise.
2457 * rt/mq_notify.c: Likewise.
2458 * rt/mq_open.c: Likewise.
2459 * rt/mq_receive.c: Likewise.
2460 * rt/mq_send.c: Likewise.
2461 * rt/mq_setattr.c: Likewise.
2462 * rt/mq_timedreceive.c: Likewise.
2463 * rt/mq_timedsend.c: Likewise.
2464 * rt/mq_unlink.c: Likewise.
2465 * rt/shm_open.c: Likewise.
2466 * rt/shm_unlink.c: Likewise.
2467 * rt/timer_create.c: Likewise.
2468 * rt/timer_delete.c: Likewise.
2469 * rt/timer_getoverr.c: Likewise.
2470 * rt/timer_gettime.c: Likewise.
2471 * rt/timer_settime.c: Likewise.
2472 * setjmp/__longjmp.c: Likewise.
2473 * setjmp/setjmp.c: Likewise.
2474 * signal/kill.c: Likewise.
2475 * signal/killpg.c: Likewise.
2476 * signal/raise.c: Likewise.
2477 * signal/sigaction.c: Likewise.
2478 * signal/sigaltstack.c: Likewise.
2479 * signal/sigblock.c: Likewise.
2480 * signal/sigignore.c: Likewise.
2481 * signal/sigintr.c: Likewise.
2482 * signal/signal.c: Likewise.
2483 * signal/sigpause.c: Likewise.
2484 * signal/sigpending.c: Likewise.
2485 * signal/sigqueue.c: Likewise.
2486 * signal/sigreturn.c: Likewise.
2487 * signal/sigset.c: Likewise.
2488 * signal/sigsetmask.c: Likewise.
2489 * signal/sigstack.c: Likewise.
2490 * signal/sigsuspend.c: Likewise.
2491 * signal/sigtimedwait.c: Likewise.
2492 * signal/sigvec.c: Likewise.
2493 * signal/sigwait.c: Likewise.
2494 * signal/sigwaitinfo.c: Likewise.
2495 * signal/sysv_signal.c: Likewise.
2496 * socket/accept.c: Likewise.
2497 * socket/accept4.c: Likewise.
2498 * socket/bind.c: Likewise.
2499 * socket/connect.c: Likewise.
2500 * socket/getpeername.c: Likewise.
2501 * socket/getsockname.c: Likewise.
2502 * socket/getsockopt.c: Likewise.
2503 * socket/isfdtype.c: Likewise.
2504 * socket/listen.c: Likewise.
2505 * socket/recv.c: Likewise.
2506 * socket/recvfrom.c: Likewise.
2507 * socket/recvmsg.c: Likewise.
2508 * socket/send.c: Likewise.
2509 * socket/sendmsg.c: Likewise.
2510 * socket/sendto.c: Likewise.
2511 * socket/setsockopt.c: Likewise.
2512 * socket/shutdown.c: Likewise.
2513 * socket/sockatmark.c: Likewise.
2514 * socket/socket.c: Likewise.
2515 * socket/socketpair.c: Likewise.
2516 * stdio-common/ctermid.c: Likewise.
2517 * stdio-common/cuserid.c: Likewise.
2518 * stdio-common/remove.c: Likewise.
2519 * stdio-common/rename.c: Likewise.
2520 * stdio-common/renameat.c: Likewise.
2521 * stdio-common/tempname.c: Likewise.
2522 * stdlib/getcontext.c: Likewise.
2523 * stdlib/makecontext.c: Likewise.
2524 * stdlib/setcontext.c: Likewise.
2525 * stdlib/swapcontext.c: Likewise.
2526 * stdlib/system.c: Likewise.
2527 * streams/fattach.c: Likewise.
2528 * streams/fdetach.c: Likewise.
2529 * streams/getmsg.c: Likewise.
2530 * streams/getpmsg.c: Likewise.
2531 * streams/putmsg.c: Likewise.
2532 * streams/putpmsg.c: Likewise.
2533 * sysdeps/unix/bsd/getpt.c: Likewise.
2534 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
2535 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
2536 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2539 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
2540 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2541 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2542 * sysvipc/msgctl.c: Likewise.
2543 * sysvipc/msgget.c: Likewise.
2544 * sysvipc/msgrcv.c: Likewise.
2545 * sysvipc/msgsnd.c: Likewise.
2546 * sysvipc/semctl.c: Likewise.
2547 * sysvipc/semget.c: Likewise.
2548 * sysvipc/semop.c: Likewise.
2549 * sysvipc/semtimedop.c: Likewise.
2550 * sysvipc/shmat.c: Likewise.
2551 * sysvipc/shmctl.c: Likewise.
2552 * sysvipc/shmdt.c: Likewise.
2553 * sysvipc/shmget.c: Likewise.
2554 * termios/tcdrain.c: Likewise.
2555 * termios/tcflow.c: Likewise.
2556 * termios/tcflush.c: Likewise.
2557 * termios/tcgetattr.c: Likewise.
2558 * termios/tcgetpgrp.c: Likewise.
2559 * termios/tcsendbrk.c: Likewise.
2560 * termios/tcsetattr.c: Likewise.
2561 * termios/tcsetpgrp.c: Likewise.
2562 * time/adjtime.c: Likewise.
2563 * time/clock.c: Likewise.
2564 * time/getitimer.c: Likewise.
2565 * time/gettimeofday.c: Likewise.
2566 * time/setitimer.c: Likewise.
2567 * time/settimeofday.c: Likewise.
2568 * time/stime.c: Likewise.
2569 * time/time.c: Likewise.
2571 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
2573 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
2576 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
2578 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
2580 2012-11-03 Joseph Myers <joseph@codesourcery.com>
2583 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
2584 FE_TONEAREST before applying Dekker multiplication and Knuth
2585 addition. Clear inexact exceptions and check for exact zero
2587 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2588 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2589 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2590 * math/libm-test.inc (fma_test): Add more tests.
2591 (fma_test_towardzero): Likewise.
2592 (fma_test_downward): Likewise.
2593 (fma_test_upward): Likewise.
2594 * sysdeps/generic/math_private.h (default_libc_fesetround): New
2596 (libc_fesetround): New macro.
2597 (libc_fesetroundf): Likewise.
2598 (libc_fesetroundl): Likewise.
2599 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2601 (libc_fesetround_387): Likewise.
2602 (libc_fesetroundf): New macro.
2603 (libc_fesetround): Likewise.
2604 (libc_fesetroundl): Likewise.
2605 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
2607 (libc_fesetroundf): New macro.
2608 (libc_fesetround): Likewise.
2609 (libc_fesetroundl): Likewise.
2610 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
2611 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
2612 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
2614 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
2615 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
2617 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
2618 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
2620 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
2624 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
2625 integer constant usable in #if and use that to give value to enum
2627 (FE_DIVBYZERO): Likewise.
2628 (FE_UNDERFLOW): Likewise.
2629 (FE_OVERFLOW): Likewise.
2630 (FE_INVALID): Likewise.
2631 (FE_INVALID_SNAN): Likewise.
2632 (FE_INVALID_ISI): Likewise.
2633 (FE_INVALID_IDI): Likewise.
2634 (FE_INVALID_ZDZ): Likewise.
2635 (FE_INVALID_IMZ): Likewise.
2636 (FE_INVALID_COMPARE): Likewise.
2637 (FE_INVALID_SOFTWARE): Likewise.
2638 (FE_INVALID_SQRT): Likewise.
2639 (FE_INVALID_INTEGER_CONVERSION): Likewise.
2640 (FE_TONEAREST): Likewise.
2641 (FE_TOWARDZERO): Likewise.
2642 (FE_UPWARD): Likewise.
2643 (FE_DOWNWARD): Likewise.
2644 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2645 (FE_DIVBYZERO): Likewise.
2646 (FE_OVERFLOW): Likewise.
2647 (FE_UNDERFLOW): Likewise.
2648 (FE_INEXACT): Likewise.
2649 (FE_TONEAREST): Likewise.
2650 (FE_DOWNWARD): Likewise.
2651 (FE_UPWARD): Likewise.
2652 (FE_TOWARDZERO): Likewise.
2653 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
2654 (FE_UNDERFLOW): Likewise.
2655 (FE_OVERFLOW): Likewise.
2656 (FE_DIVBYZERO): Likewise.
2657 (FE_INVALID): Likewise.
2658 (FE_TONEAREST): Likewise.
2659 (FE_TOWARDZERO): Likewise.
2660 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
2661 (FE_OVERFLOW): Likewise.
2662 (FE_UNDERFLOW): Likewise.
2663 (FE_DIVBYZERO): Likewise.
2664 (FE_INEXACT): Likewise.
2665 (FE_TONEAREST): Likewise.
2666 (FE_TOWARDZERO): Likewise.
2667 (FE_UPWARD): Likewise.
2668 (FE_DOWNWARD): Likewise.
2669 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
2670 (FE_DIVBYZERO): Likewise.
2671 (FE_OVERFLOW): Likewise.
2672 (FE_UNDERFLOW): Likewise.
2673 (FE_INEXACT): Likewise.
2674 (FE_TONEAREST): Likewise.
2675 (FE_DOWNWARD): Likewise.
2676 (FE_UPWARD): Likewise.
2677 (FE_TOWARDZERO): Likewise.
2679 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
2681 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
2683 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
2685 * scripts/cross-test-ssh.sh (command): Use newlines to separate
2686 commands. Quote $PWD.
2687 (blacklist_exports): Don't use remove_newlines. Replace "declare
2689 (remove_newlines): Remove.
2691 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
2693 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
2694 * stdlib/stdlib.h (atof): Moved to ...
2695 * include/bits/stdlib-float.h: Here. New file.
2696 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
2697 * stdlib/bits/stdlib-float.h: New file.
2698 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
2700 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
2703 2012-11-02 Joseph Myers <joseph@codesourcery.com>
2705 * conform/conformtest.pl (@headers): Add fenv.h.
2706 * conform/data/fenv.h-data: New file.
2707 * include/fenv.h [_ISOMAC]: Disable all contents of file except
2708 include of <math/fenv.h>.
2710 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
2711 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
2712 && !UNIX98]. Enables tests for XOPEN2K8.
2713 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
2714 POSIX2008]: Likewise.
2716 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
2717 (struct rusage): Do not expect type or its members.
2720 * math/math.h (FP_NAN): Define macro to integer constant usable in
2721 #if and use that to give value to enum constant.
2722 (FP_INFINITE): Likewise.
2723 (FP_ZERO): Likewise.
2724 (FP_SUBNORMAL): Likewise.
2725 (FP_NORMAL): Likewise.
2727 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
2729 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
2730 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
2733 2012-11-02 Roland McGrath <roland@hack.frob.com>
2735 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
2736 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
2737 autoconf-time if not.
2738 * configure.in: Remove AC_PREREQ.
2740 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2742 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
2743 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
2744 of the internal implementation.
2746 2012-11-02 Joseph Myers <joseph@codesourcery.com>
2748 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2749 except include of <misc/sys/syslog.h>.
2751 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2754 function returns with a NULL context exit with zero.
2756 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2758 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2760 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
2762 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2763 (run_program_cmd): This.
2764 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2765 (tst_langinfo): New variable. Use it.
2767 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
2769 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2770 floating point opcodes.
2772 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2774 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2777 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2779 * sysdeps/mach/hurd/powerpc: Remove directory.
2780 * sysdeps/mach/powerpc: Likewise.
2782 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2784 * scripts/check-local-headers.sh: Ignore c++ headers.
2786 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2788 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2789 __libc_cleanup_region_start argument.
2791 2012-11-01 Joseph Myers <joseph@codesourcery.com>
2795 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2796 x * y using scaling, not as x * y + z.
2797 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2798 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2799 * math/libm-test.inc (fma_test): Add more tests.
2800 (fma_test_towardzero): Likewise.
2801 (fma_test_downward): Likewise.
2802 (fma_test_upward): Likewise.
2804 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2806 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2808 2012-10-31 Joseph Myers <joseph@codesourcery.com>
2810 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2813 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
2815 * rt/tst-shm.c (worker): Correct checking for mmap failure.
2817 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2824 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2827 Fix the order of the list for glibc 2.17.
2828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2831 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2833 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2835 2012-10-31 Joseph Myers <joseph@codesourcery.com>
2838 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2839 for low part of x being zero before using __atanl (y).
2840 * math/libm-test.inc (atan2_test): Add another test.
2842 * manual/install.texi (Configuring and compiling): Document
2843 general use of test-wrapper and test-wrapper-env.
2844 * INSTALL: Regenerated.
2846 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2847 (__fma): Do not extract and scale down low bits on after-rounding
2848 systems when result rounded to normal precision would have normal
2850 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
2851 (__fmal): Do not extract and scale down low bits on after-rounding
2852 systems when result rounded to normal precision would have normal
2854 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2855 (__fmal): Do not extract and scale down low bits on after-rounding
2856 systems when result rounded to normal precision would have normal
2858 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2860 (fma_test): Add more tests.
2861 (fma_test_towardzero): Likewise.
2862 (fma_test_downward): Likewise.
2863 (fma_test_upward): Likewise.
2865 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
2867 * sysdeps/i386/tininess.h: Renamed to ...
2868 * sysdeps/x86/tininess.h: This.
2869 * sysdeps/x86_64/tininess.h: Removed.
2871 2012-10-30 Joseph Myers <joseph@codesourcery.com>
2873 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2874 input. Use $(build-program-cmd).
2875 ($(objpfx)tst-array1-static.out): Likewise.
2876 ($(objpfx)tst-array2.out): Likewise.
2877 ($(objpfx)tst-array3.out): Likewise.
2878 ($(objpfx)tst-array4.out): Likewise.
2879 ($(objpfx)tst-array5.out): Likewise.
2880 ($(objpfx)tst-array5-static.out): Likewise.
2882 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
2884 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2887 * nss/nsswitch.h (nss_interface_function): Provide new
2888 macro for use with NSS functions.
2889 * grp/initgroups.c: Use new macro.
2890 * nss/getXXbyYY.c: Likewise.
2891 * nss/getXXbyYY_r.c: Likewise.
2892 * nss/getXXent.c: Likewise.
2893 * nss/getXXent_r.c: Likewise.
2894 * sysdeps/posix/getaddrinfo.c: Likewise.
2896 2012-10-30 Andreas Jaeger <aj@suse.de>
2898 * po/ru.po: Update Russion translation from translation project.
2900 2012-10-30 Joseph Myers <joseph@codesourcery.com>
2904 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2905 result and shift together with sticky bit instead of replicating
2906 round-to-nearest rounding.
2907 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2908 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2909 * math/libm-test.inc (fma_test): Add more tests. Do not permit
2910 missing underflow exceptions.
2911 (fma_test_towardzero): Add more tests.
2912 (fma_test_downward): Likewise.
2913 (fma_test_upward): Likewise.
2916 * sysdeps/generic/tininess.h: New file.
2917 * sysdeps/i386/tininess.h: Likewise.
2918 * sysdeps/sh/tininess.h: Likewise.
2919 * sysdeps/x86_64/tininess.h: Likewise.
2920 * stdlib/tst-strtod-underflow.c: Likewise.
2921 * stdlib/tst-tininess.c: Likewise.
2922 * stdlib/strtod_l.c: Include <tininess.h>.
2923 (round_and_return): Do not set errno for exact underflow cases.
2924 Force an underflow exception when setting errno for underflow.
2925 Determine underflow based on rounding to normal precision if
2926 TININESS_AFTER_ROUNDING.
2927 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2928 ERANGE for exact underflow cases.
2929 * stdlib/Makefile (tests): Add tst-tininess and
2930 tst-strtod-underflow.
2931 ($(objpfx)tst-tininess): Use $(link-libm).
2932 ($(objpfx)tst-strtod-underflow): Likewise.
2934 2012-10-30 Andreas Jaeger <aj@suse.de>
2937 * elf/Makefile (tests): Remove conditional for have-initfini-array
2938 since this is now always required and the variable does not exist
2940 (tests-static): Likewise.
2941 (modules-names): Likewise.
2943 * po/eo.po: Add Esperanto translation from translation project.
2945 * elf/tst-array1.c (fini_array): Make writeable so that it can be
2946 merged with constructor/destructor.
2947 (init_array): Likewise.
2948 * elf/tst-array2dep.c (fini_array): Likewise.
2949 (init_array): Likewise.
2951 2012-10-29 Mike Frysinger <vapier@gentoo.org>
2953 * manual/message.texi: Delete @cartouche tags.
2955 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
2957 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
2959 * sysdeps/mach/hurd/fsync.c: Likewise.
2961 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
2962 [_POSIX_REALTIME_SIGNALS]: Change condition to
2963 [_POSIX_REALTIME_SIGNALS > 0].
2965 2012-10-27 Andreas Jaeger <aj@suse.de>
2967 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
2968 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
2969 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
2970 [__WORDSIZE != 64]: Likewise.
2972 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
2974 * iconvdata/tst-table.sh: Remove ${SHELL}.
2975 * iconvdata/tst-tables.sh: Likewise.
2977 2012-10-25 David S. Miller <davem@davemloft.net>
2979 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2980 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
2983 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
2985 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2986 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
2987 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
2990 2012-10-25 Roland McGrath <roland@hack.frob.com>
2992 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2993 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
2996 2012-10-25 Joseph Myers <joseph@codesourcery.com>
2997 Jim Blandy <jimb@codesourcery.com>
2999 * scripts/cross-test-ssh.sh: New file.
3000 * manual/install.texi (Configuring and compiling): Document use of
3002 * INSTALL: Regenerated.
3004 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
3006 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
3009 2012-10-25 Joseph Myers <joseph@codesourcery.com>
3011 * Makeconfig (run-program-prefix): Fix comment.
3013 2012-10-24 Joseph Myers <joseph@codesourcery.com>
3014 Jim Blandy <jimb@codesourcery.com>
3016 * Makeconfig (test-wrapper): New variable,
3017 (test-wrapper-env): Likewise.
3018 [$(cross-compiling) = yes && $(test-wrapper) != ""]
3019 (run-built-tests): Define to yes.
3020 (run-program-prefix): Use $(test-wrapper).
3021 (built-program-cmd): Likewise.
3022 * Rules (make-test-out): Use $(test-wrapper-env) and
3023 $(host-built-program-cmd).
3024 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
3025 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
3027 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
3028 $(test-wrapper-env) to tst-rtld-load-self.sh.
3029 ($(objpfx)order2.out): Use $(test-wrapper).
3030 ($(objpfx)tst-initorder.out): Likewise.
3031 ($(objpfx)tst-initorder2.out): Likewise.
3032 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
3033 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
3034 (test_wrapper_env): New variable. Use it to run ld.so.
3035 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
3036 Use it to run ld.so.
3037 (test_wrapper_env): Likewise.
3038 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
3039 $(test-wrapper) to run-iconv-test.sh.
3040 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
3041 (ICONV): Use $test_wrapper.
3042 * posix/Makefile ($(objpfx)globtest.out): Pass
3043 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
3044 globtest.sh, not $(run-program-prefix).
3045 * posix/globtest.sh (run_via_rtld_prefix): New variable.
3046 (test_wrapper): Likewise.
3047 (test_wrapper_env): Likewise. Use it to run globtest with HOME
3048 set together with run_via_rtld_prefix.
3049 (run_program_prefix): Define in terms of test_wrapper and
3050 run_via_rtld_prefix.
3052 2012-10-24 Roland McGrath <roland@hack.frob.com>
3054 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
3055 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
3059 * include/time.h: Remove librt_hidden_proto (clock_gettime).
3060 Declare __clock_getres, __clock_gettime, __clock_settime,
3061 __clock_nanosleep, and __clock_getcpuclockid.
3062 * rt/clock_gettime.c: Define __clock_gettime as an alias.
3063 Remove librt_hidden_def (clock_gettime).
3064 * sysdeps/unix/clock_gettime.c: Likewise.
3065 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
3066 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3067 * rt/clock_getres.c: Define __clock_getres as an alias.
3068 * sysdeps/posix/clock_getres.c: Likewise.
3069 * rt/clock_settime.c: Define __clock_settime as an alias.
3070 * sysdeps/unix/clock_settime.c: Likewise.
3071 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
3072 * sysdeps/unix/clock_nanosleep.c: Likewise.
3073 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3074 * rt/clock-compat.c: New file.
3075 * rt/Makefile (librt-routines): Add clock-compat and move
3076 $(clock-routines) to ...
3077 (routines): ... here, new variable.
3078 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
3079 Don't add get_clockfreq here.
3080 * rt/Versions (libc: GLIBC_2.17): New version set.
3081 Add clock_* symbols here.
3082 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
3083 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
3084 (GLIBC_2.17): Add clock_* symbols.
3085 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3086 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3087 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3092 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3093 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3095 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3096 * NEWS: Mention the move.
3098 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3099 Use __open, __read, __close rather than their public counterparts.
3100 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3101 (__get_clockfreq_via_cpuinfo): Likewise.
3102 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
3103 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
3105 * config.h.in (HAVE_IFUNC): New #undef.
3106 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
3108 * configure: Regenerated.
3110 2012-10-24 Mike Frysinger <vapier@gentoo.org>
3112 * configure.in: Move READELF check to start of file.
3113 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
3114 libc_cv_asm_gnu_indirect_function in the process.
3115 * configure: Regenerated.
3117 2012-10-24 Mike Frysinger <vapier@gentoo.org>
3119 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
3120 send the output to /dev/null.
3121 (libc_cv_cc_with_libunwind): Likewise.
3122 (libc_cv_as_noexecstack): Likewise.
3123 * configure: Regenerate.
3125 2012-10-24 Joseph Myers <joseph@codesourcery.com>
3127 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
3129 * posix/globtest.sh (TMPDIR): Do not set.
3130 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
3131 (testout): Likewise.
3133 2012-10-24 Andreas Jaeger <aj@suse.de>
3135 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
3136 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
3137 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
3138 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
3139 posix_fadvise64, posix_fallocate64.
3141 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
3142 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
3143 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
3145 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
3147 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
3149 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
3150 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
3151 <bits/fcntl-linux.h>.
3152 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
3154 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
3155 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
3156 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
3157 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
3158 [__WORDSIZE != 64]: Likewise.
3160 2012-10-23 Joseph Myers <joseph@codesourcery.com>
3162 * Makeconfig (run-built-tests): New variable.
3163 * Rules [$(cross-compiling) = yes]: Change condition to
3164 [$(run-built-tests) = no].
3165 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
3166 to [$(run-built-tests) = yes].
3167 * elf/Makefile [$(cross-compiling) = no]: Likewise
3168 * grp/Makefile [$(cross-compiling) = no]: Likewise.
3169 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
3170 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
3171 * intl/Makefile [$(cross-compiling) = no]: Likewise.
3172 * io/Makefile [$(cross-compiling) = no]: Likewise.
3173 * libio/Makefile [$(cross-compiling) = no]: Likewise.
3174 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
3175 * misc/Makefile [$(cross-compiling) = no]: Likewise.
3176 * posix/Makefile [$(cross-compiling) = no]: Likewise.
3177 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
3178 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
3179 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
3180 * string/Makefile [$(cross-compiling) = no]: Likewise.
3182 * posix/Makefile ($(objpfx)globtest.out): Pass
3183 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
3184 $(rtld-installed-name).
3185 * posix/globtest.sh (elf_objpfx): Remove variable.
3186 (rtld_installed_name): Likewise.
3187 (library_path): Likewise.
3188 (run_program_prefix): New variable. Use for running globtest
3191 2012-10-23 Jim Blandy <jimb@codesourcery.com>
3192 Joseph Myers <joseph@codesourcery.com>
3194 * Makeconfig (host-built-program-cmd): New variable.
3195 * elf/Makefile (tst-stackguard1-ARGS): Use
3196 $(host-built-program-cmd).
3197 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
3198 (tst-spawn-ARGS): Likewise.
3199 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
3201 2012-10-23 Joseph Myers <joseph@codesourcery.com>
3202 Jim Blandy <jimb@codesourcery.com>
3204 * Makeconfig (run-via-rtld-prefix): New variable.
3205 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
3206 (built-program-cmd): Likewise.
3208 2012-10-22 Andreas Jaeger <aj@suse.de>
3210 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
3211 __O_RSYNC if it exists, otherwise to O_SYNC.
3213 2012-10-22 Jim Blandy <jimb@codesourcery.com>
3214 Joseph Myers <joseph@codesourcery.com>
3216 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
3218 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
3220 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
3223 2012-10-22 Andreas Jaeger <aj@suse.de>
3225 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
3227 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
3229 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3232 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
3233 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
3235 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
3237 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
3240 2012-10-21 Jim Blandy <jimb@codesourcery.com>
3241 Joseph Myers <joseph@codesourcery.com>
3243 * config.make.in (NM): New variable.
3245 2012-10-21 Andreas Jaeger <aj@suse.de>
3247 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
3248 definitions and declarations that are provided by
3249 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3251 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3254 * elf/Makefile (tests-static): Add tst-leaks1-static.
3255 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
3256 ($(objpfx)tst-leaks1-static): New rule.
3257 ($(objpfx)tst-leaks1-static-mem): Likewise.
3258 (tst-leaks1-static-ENV): New macro.
3259 * elf/dl-open.c (dl_open_worker): Check the main application
3260 only if SHARED is defined.
3261 * elf/tst-leaks1-static.c: New file.
3263 2012-10-20 Andreas Jaeger <aj@suse.de>
3265 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
3266 generic values for Linux.
3267 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
3268 and declarations that are provided by <bits/fcntl-linux.h> and
3269 include <bits/fcntl-linux.h>.
3270 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3271 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3273 2012-10-20 Roland McGrath <roland@hack.frob.com>
3275 * io/fcntl.h: Move include of <bits/types.h> to the top and
3276 include it unconditionally.
3278 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3280 * wcsmbs/Makefile (tests-ifunc): New variable.
3281 (tests): Add $(tests-ifunc).
3282 * wcsmbs/test-wcschr-ifunc.c: New file.
3283 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3284 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3285 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3286 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3287 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3289 * string/Makefile (tests-ifunc): New variable.
3290 (tests): Add $(tests-ifunc).
3291 * string/test-memccpy.c (TEST_NAME): New macro.
3292 * string/test-memchr.c (TEST_NAME): Likewise.
3293 * string/test-memcmp.c (TEST_NAME): Likewise.
3294 * string/test-memcpy.c (TEST_NAME): Likewise.
3295 * string/test-memmem.c (TEST_NAME): Likewise.
3296 * string/test-memmove.c (TEST_NAME): Likewise.
3297 * string/test-memset.c (TEST_NAME): Likewise.
3298 * string/test-rawmemchr.c (TEST_NAME): Likewise.
3299 * string/test-stpcpy.c (TEST_NAME): Likewise.
3300 * string/test-stpncpy.c (TEST_NAME): Likewise.
3301 * string/test-strcasecmp.c (TEST_NAME): Likewise.
3302 * string/test-strcasestr.c (TEST_NAME): Likewise.
3303 * string/test-strcat.c (TEST_NAME): Likewise.
3304 * string/test-strchr.c (TEST_NAME): Likewise.
3305 * string/test-strcmp.c(TEST_NAME): Likewise.
3306 * string/test-strcpy.c (TEST_NAME): Likewise.
3307 * string/test-strcspn.c (TEST_NAME): Likewise.
3308 * string/test-strlen.c (TEST_NAME): Likewise.
3309 * string/test-strncasecmp.c (TEST_NAME): Likewise.
3310 * string/test-strncmp.c (TEST_NAME): Likewise.
3311 * string/test-strncpy.c (TEST_NAME): Likewise.
3312 * string/test-strnlen.c (TEST_NAME): Likewise.
3313 * string/test-strpbrk.c (TEST_NAME): Likewise.
3314 * string/test-strrchr.c (TEST_NAME): Likewise.
3315 * string/test-strspn.c (TEST_NAME): Likewise.
3316 * string/test-strstr.c (TEST_NAME): Likewise.
3317 * string/test-bcopy-ifunc.c: New file.
3318 * string/test-bzero-ifunc.c: Likewise.
3319 * string/test-memccpy-ifunc.c: Likewise.
3320 * string/test-memchr-ifunc.c: Likewise.
3321 * string/test-memcmp-ifunc.c: Likewise.
3322 * string/test-memcpy-ifunc.c: Likewise.
3323 * string/test-memmem-ifunc.c: Likewise.
3324 * string/test-memmove-ifunc.c: Likewise.
3325 * string/test-mempcpy-ifunc.c: Likewise.
3326 * string/test-memset-ifunc.c: Likewise.
3327 * string/test-rawmemchr-ifunc.c: Likewise.
3328 * string/test-stpcpy-ifunc.c: Likewise.
3329 * string/test-stpncpy-ifunc.c: Likewise.
3330 * string/test-strcasecmp-ifunc.c: Likewise.
3331 * string/test-strcasestr-ifunc.c: Likewise.
3332 * string/test-strcat-ifunc.c: Likewise.
3333 * string/test-strchr-ifunc.c: Likewise.
3334 * string/test-strchrnul-ifunc.c: Likewise.
3335 * string/test-strcmp-ifunc.c: Likewise.
3336 * string/test-strcpy-ifunc.c: Likewise.
3337 * string/test-strcspn-ifunc.c: Likewise.
3338 * string/test-strlen-ifunc.c: Likewise.
3339 * string/test-strncasecmp-ifunc.c: Likewise.
3340 * string/test-strncat-ifunc.c: Likewise.
3341 * string/test-strncmp-ifunc.c: Likewise.
3342 * string/test-strncpy-ifunc.c: Likewise.
3343 * string/test-strnlen-ifunc.c: Likewise.
3344 * string/test-strpbrk-ifunc.c: Likewise.
3345 * string/test-strrchr-ifunc.c: Likewise.
3346 * string/test-strspn-ifunc.c: Likewise.
3347 * string/test-strstr-ifunc.c: Likewise.
3349 * debug/Makefile (tests-ifunc): New variable.
3350 (tests): Add $(tests-ifunc).
3351 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
3352 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
3353 * debug/test-stpcpy_chk-ifunc.c: New file.
3354 * debug/test-strcpy_chk-ifunc.c: Likewise.
3356 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3359 * elf/dl-load.c (open_verify): Retry read if the entire ELF
3360 header is not read in.
3362 2012-10-19 Joseph Myers <joseph@codesourcery.com>
3364 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
3365 script to $(SHELL) as $<. Pass $(common-objpfx) to script
3366 directly. Pass built executable to script as
3367 $(built-program-cmd).
3368 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
3369 $testprogram without using LD_LIBRARY_PATH and $ldso.
3371 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
3372 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
3373 $(rtld-installed-name).
3374 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
3375 (rtld_installed_name): Likewise.
3376 (library_path): Likewise.
3377 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
3378 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
3379 $(run-program-prefix) to tst-tables.sh.
3380 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
3381 it to run tst-table-from and tst-table-to.
3382 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
3383 Pass it to tst-table.sh.
3384 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
3385 $(run-program-prefix) to tst-gettext.sh.
3386 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
3388 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
3390 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
3392 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
3393 to run tst-gettext2.
3394 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
3395 to run tst-translit.
3396 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
3397 $(run-program-prefix) to tst-mtrace.sh.
3398 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
3400 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
3401 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
3402 $(rtld-installed-name).
3403 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
3404 (rtld_installed_name): Likewise.
3405 (run_program_prefix): New variable. Use it to run wordexp-test.
3407 * Makeconfig (ARCH): Remove all definitions.
3408 (machine): Likewise.
3409 [ARCH]: Remove conditional code.
3410 [!objdir]: Give error.
3411 [!objdir] (objpfx): Remove.
3412 [!objdir] (common-objpfx): Likewise.
3413 [!objdir] (common-objdir): Likewise.
3414 * configure.in (config_makefile): Remove. Hardcode Makefile in
3415 AC_CONFIG_FILES call.
3416 * configure: Regenerated.
3419 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
3421 (testout): Likewise.
3423 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
3424 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
3425 $(rtld-installed-name).
3426 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
3427 (rtld_installed_name): Likwise.
3428 (runit): Remove function.
3429 (run_getconf): New variable, Use it for running getconf binary.
3431 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
3434 * string/test-memmem.c (check_result): New function.
3435 (do_one_test): Use it.
3436 (check1): New function.
3437 (test_main): Use it.
3439 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
3441 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
3443 2012-10-18 Joseph Myers <joseph@codesourcery.com>
3445 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
3446 (_G_LSEEK64): Likewise.
3447 (_G_MMAP64): Likewise.
3448 (_G_FSTAT64): Likewise.
3449 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
3450 (_G_LSEEK64): Likewise.
3451 (_G_MMAP64): Likewise.
3452 (_G_FSTAT64): Likewise.
3453 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
3454 unconditional. Call __mmap64 directly.
3455 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
3456 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
3458 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
3459 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
3461 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
3462 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
3464 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
3465 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
3467 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
3468 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
3470 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
3471 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
3472 __fxstat64 directly.
3473 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
3474 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
3476 (freopen64) [!_G_OPEN64]: Remove conditional code.
3477 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
3479 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
3480 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
3482 (ftello64) [!_G_LSEEK64]: Remove conditional code.
3483 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
3485 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3486 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
3488 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
3489 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
3491 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3492 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
3494 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3495 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
3497 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3499 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3502 * manual/memory.texi (Malloc Tunable Parameters): Add note
3503 about free list pointers overwriting some perturb bytes.
3504 Wording suggested by Roland McGrath.
3506 2012-10-17 Joseph Myers <joseph@codesourcery.com>
3508 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
3509 (lgamma_test): Likewise.
3510 (tgamma_test): Likewise.
3512 2012-10-16 Florian Weimer <fweimer@redhat.com>
3515 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
3516 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
3518 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
3520 * NEWS: Mention BZ #14716.
3521 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
3522 when removing AVAILABLE1_USES_J macro.
3524 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
3526 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
3527 (__bswap_64): __uint64_t for unsigned 64-bit int.
3529 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
3531 * include/string.h (memmem): Declare libc hidden alias.
3532 * string/memmem.c (memmem): Define libc hidden alias.
3533 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
3534 __read, __close instead of open, read, close.
3536 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3538 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
3539 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
3541 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
3542 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
3543 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
3545 (__rawmemchr_sse2): Likewise.
3546 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
3547 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
3548 (__strchr_sse2): Likewise.
3549 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
3550 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
3551 (__strcasecmp_sse2): Likewise.
3552 (__strncasecmp_sse2): Likewise.
3553 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
3554 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
3555 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
3556 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
3557 (__strrchr_sse2): Likewise.
3558 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
3560 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3561 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3562 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3563 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3564 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3565 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3566 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3567 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3568 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
3569 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
3570 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3571 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
3572 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
3573 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3574 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3575 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3576 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3577 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3578 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
3579 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
3580 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
3581 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
3582 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3583 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3584 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
3585 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3586 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3587 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3588 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3589 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3591 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
3593 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
3594 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
3595 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3596 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3598 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3600 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3601 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3602 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3603 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3605 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3606 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3607 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3608 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3609 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3610 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3611 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3612 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3613 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3614 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3615 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3616 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3617 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3618 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3619 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3620 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3621 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3622 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
3623 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3624 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3625 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3626 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3627 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3628 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3629 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3630 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3631 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3632 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3633 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3634 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3635 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3636 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3637 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3638 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3639 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3640 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3641 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3642 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3643 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3644 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3645 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
3647 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
3648 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
3649 * include/ifunc-impl-list.h: New file.
3650 * misc/ifunc-impl-list.c: Likewise.
3651 * misc/Makefile (routines): Add ifunc-impl-list.
3652 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
3653 * string/test-string.h: Include <ifunc-impl-list.h>.
3654 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
3655 impl_array): New variables.
3656 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
3658 (test_init): Call __libc_ifunc_impl_list to initialize
3659 func_list if TEST_IFUNC and TEST_NAME are defined.
3661 * string/Makefile (strop-tests): Add bcopy and bzero.
3662 * string/test-bcopy.c: New file.
3663 * string/test-bzero.c: Likewise.
3664 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
3666 * string/test-memset.c: Support bzero test if TEST_BZERO is
3668 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
3670 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
3672 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
3675 2012-10-10 Joseph Myers <joseph@codesourcery.com>
3677 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
3678 * configure: Regenerated.
3680 * Makeconfig (+link-static-before-libc): Don't include
3681 $(link-static-libc).
3683 * libio/libio.h (_IO_pos_t): Remove.
3685 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
3687 * NEWS: Add note about FIPS mode. Wording suggested by Roland
3690 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
3692 * crypt/crypt-entry.c: Include fips-private.h.
3693 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
3694 * crypt/md5c-test.c (main): Tolerate disabled MD5.
3695 * sysdeps/unix/sysv/linux/fips-private.h: New file.
3696 * sysdeps/generic/fips-private.h: New file, dummy fallback.
3698 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
3700 * crypt/crypt-private.h: Include stdbool.h.
3701 (_ufc_setup_salt_r): Return bool.
3702 * crypt/crypt-entry.c: Include errno.h.
3703 (__crypt_r): Return NULL with EINVAL for bad salt.
3704 * crypt/crypt_util.c (bad_for_salt): New.
3705 (_ufc_setup_salt_r): Check that salt is long enough and within
3706 the specified alphabet.
3707 * crypt/badsalttest.c: New file.
3708 * crypt/Makefile (tests): Add it.
3709 ($(objpfx)badsalttest): New.
3711 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
3713 * NEWS: Add entry for BZ #14602.
3715 2012-10-09 Joseph Myers <joseph@codesourcery.com>
3717 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
3719 * math/libm-test.inc: Update comment listing what functions and
3721 (isgreater_test): New function.
3722 (isgreaterequal_test): Likewise.
3723 (isless_test): Likewise.
3724 (islessequal_test): Likewise.
3725 (islessgreater_test): Likewise.
3726 (isunordered_test): Likewise.
3727 (main): Call the new functions.
3729 2012-10-09 Roland McGrath <roland@hack.frob.com>
3731 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
3732 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
3733 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
3734 * sysdeps/i386/configure: Regenerated.
3735 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
3736 * sysdeps/mach/configure: Regenerated.
3737 * sysdeps/mach/hurd/configure: Regenerated.
3738 * sysdeps/powerpc/configure: Regenerated.
3739 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3740 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3741 * sysdeps/s390/s390-32/configure: Regenerated.
3742 * sysdeps/s390/s390-64/configure: Regenerated.
3743 * sysdeps/sh/configure: Regenerated.
3744 * sysdeps/sparc/configure: Regenerated.
3745 * sysdeps/unix/sysv/linux/configure: Regenerated.
3746 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3747 * sysdeps/x86_64/configure: Regenerated.
3749 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3750 defined. Don't check if MAP is NULL.
3752 2012-10-09 Joseph Myers <joseph@codesourcery.com>
3754 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3755 (_G_stat64): Likewise.
3756 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3757 (_G_stat64): Likewise.
3758 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3759 instead of struct _G_stat64.
3760 * libio/fileops.c (mmap_remap_check): Likewise.
3761 (decide_maybe_mmap): Likewise.
3762 (_IO_new_file_seekoff): Likewise.
3763 (_IO_file_stat): Likewise.
3764 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3766 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3767 instead of struct _G_stat64.
3768 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3770 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
3773 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3775 (CHECK_EOL): New macro.
3776 (two_way_short_needle): Check beginning of haystack for EOL. Use
3778 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3779 Replace with CHECK_EOL.
3780 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3781 Replace with CHECK_EOL.
3783 2012-10-08 Joseph Myers <joseph@codesourcery.com>
3785 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3787 * math/libm-test.inc: Update comment listing what functions and
3789 (finite_test): New function.
3790 (isinf_test): Likewise.
3791 (isnan_test): Likewise.
3792 (fpclassify_test): Test subnormal input.
3793 (isfinite_test): Likewise.
3794 (isnormal_test): Likewise.
3795 (main): Call the new functions.
3797 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
3800 * Makerules (%.dynsym): Force C locale when running
3801 $(OBJDUMP) --dynamic-syms.
3803 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
3805 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3808 2012-10-06 David S. Miller <davem@davemloft.net>
3810 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3811 upper 32-bits of the length value in %o2 since we use branch-on-register
3812 tests which consider the entire 64-bit register.
3814 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
3816 * string/test-strstr.c (check2): Add a test for page boundary.
3818 2012-10-05 David S. Miller <davem@davemloft.net>
3820 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3821 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3823 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3825 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3826 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3827 and bzero when HWCAP_SPARC_CRYPTO is present.
3829 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
3832 * string/test-strstr.c (check2): New function.
3833 (test_main): Call check2.
3835 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3837 * string/bug-strcasestr1.c (do_test): Moved to ...
3838 * string/test-strcasestr.c (check1): Here. New function.
3839 (do_one_test): Break out result checking code into ...
3840 (check_result): This. New function.
3841 (do_one_test): Call check_result.
3842 (test_main): Call check1.
3843 * string/bug-strchr1.c (do_test): Moved to ...
3844 * string/test-strchr.c (check1): Here. New function.
3845 (do_one_test): Break out result checking code into ...
3846 (check_result): This. New function.
3847 (do_one_test): Call check_result.
3848 (test_main): Call check1.
3849 * string/bug-strstr1.c (main): Moved to ...
3850 * string/test-strchr.c (check1): Here. New function.
3851 (do_one_test): Break out result checking code into ...
3852 (check_result): This. New function.
3853 (do_one_test): Call check_result.
3854 (test_main): Call check1.
3855 * string/bug-strcasestr1.c: Removed.
3856 * string/bug-strchr1.c: Likewise.
3857 * string/bug-strstr1.c: Likewise.
3859 * elf/Makefile (dl-routines): Add hwcaps.
3860 * elf/dl-support.c (_dl_important_hwcaps): Removed.
3861 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3862 (_dl_important_hwcaps): Moved to ...
3863 * elf/dl-hwcaps.c: Here. New file.
3864 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3867 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3868 if IS_IN_rtld isn't defined.
3870 * elf/dl-support.c (_dl_sysinfo_map): New.
3871 Include "get-dynamic-info.h" and "setup-vdso.h".
3872 (_dl_non_dynamic_init): Call setup_vdso.
3873 * elf/dynamic-link.h: Don't include <assert.h>.
3874 (elf_get_dynamic_info): Moved to ...
3875 * elf/get-dynamic-info.h: Here. New file.
3876 * elf/dynamic-link.h: Include "get-dynamic-info.h".
3877 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3878 * elf/setup-vdso.h: Here. New file.
3879 * elf/rtld.c: Include "setup-vdso.h".
3880 (dl_main): Call setup_vdso.
3882 2012-10-05 Joseph Myers <joseph@codesourcery.com>
3884 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3885 creal in comment listing functions tested. List finite, isinf,
3886 isnan, isless, islessequal, isgreater, isgreaterequal,
3887 islessgreater, isunordered, lgamma_r and pow10 as functions and
3888 macros not tested. Mention which functions not tested are aliases
3889 for other functions. Fix typo. Note that signs of NaNs are not
3892 * scripts/config.guess: Update from config.git.
3893 * scripts/config.sub: Likewise.
3895 2012-10-04 Roland McGrath <roland@hack.frob.com>
3897 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3898 * misc/madvise.c (madvise): Renamed to __madvise.
3899 Make madvise a weak alias.
3900 * include/sys/mman.h: Declare __madvise.
3901 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3902 * sysdeps/unix/syscalls.list
3903 (madvise): Make __madvise the strong name, and madvise a weak alias.
3904 * sysdeps/unix/sysv/linux/syscalls.list
3905 (madvise, mmap): Remove redundant entries.
3906 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3907 * malloc/malloc.c (mtrim): Likewise.
3908 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3910 2012-10-03 Roland McGrath <roland@hack.frob.com>
3912 * sysdeps/mach/hurd/dl-cache.c: File removed.
3913 * config.h.in (USE_LDCONFIG): New #undef.
3914 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3915 * configure: Regenerated.
3916 * elf/Makefile (dl-routines): Add dl-cache only under
3917 [$(use-ldconfig) = yes].
3918 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3919 cache on [USE_LDCONFIG].
3920 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3922 * elf/rtld.c (dl_main): Likewise.
3924 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
3926 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3927 _SC_LEVEL4_CACHE_LINESIZE.
3929 2012-10-03 Roland McGrath <roland@hack.frob.com>
3931 * sysdeps/unix/bsd/confstr.h: File removed.
3933 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
3935 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
3938 2012-10-02 Roland McGrath <roland@hack.frob.com>
3940 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
3941 Make 'mapoff' field ElfW(Off) rather than off_t.
3943 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
3945 * nscd/Makefile: Remove nscd-cflags and all its users.
3946 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
3947 (CFLAGS-nonlib): Add compiler flags for nscd modules.
3950 * malloc.c (malloc_printerr): Clarify error message.
3952 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
3955 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3956 Set bit_FMA_Usable if FMA is supported.
3957 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
3959 (bit_FMA4_Usable): Updated.
3960 (index_FMA_Usable): New macro.
3961 (CPUID_FMA): Likewise
3962 (HAS_FMA): Defined with bit_FMA_Usable.
3964 2012-10-01 Roland McGrath <roland@hack.frob.com>
3966 * bits/types.h (__swblk_t): Type removed.
3967 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
3968 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
3969 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3970 (__SWBLK_T_TYPE): Likewise.
3971 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
3972 (__SWBLK_T_TYPE): Likewise.
3973 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3974 (__SWBLK_T_TYPE): Likewise.
3975 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3976 (__SWBLK_T_TYPE): Likewise.
3978 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
3979 Honza Horak <hhorak@redhat.com>
3981 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
3982 (xdr_mapname): Use YPMAXMAP as maxsize.
3983 (xdr_peername): Use YPMAXPEER as maxsize.
3984 (xdr_keydat): Use YPAXRECORD as maxsize.
3985 (xdr_valdat): Use YPMAXRECORD as maxsize.
3987 2012-10-01 Roland McGrath <roland@hack.frob.com>
3989 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
3991 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
3992 * csu/init-first.c: ... here.
3993 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
3994 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3995 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3996 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3997 * sysdeps/i386/init-first.c: File removed.
3998 * sysdeps/sh/init-first.c: File removed.
4000 2012-10-01 Joseph Myers <joseph@codesourcery.com>
4003 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
4004 if x * y might underflow to zero and z is zero.
4005 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4006 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4007 * math/libm-test.inc (min_subnorm_value): New variable.
4008 (fma_test): Add more tests.
4009 (fma_test_towardzero): Likewise.
4010 (fma_test_downward): Likewise
4011 (fma_test_upward): Likewise.
4012 (initialize): Set min_subnorm_value.
4014 2012-09-29 Joseph Myers <joseph@codesourcery.com>
4017 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
4019 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
4020 mode for addition resulting in exact zero.
4021 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
4022 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
4024 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4025 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4026 * math/libm-test.inc (fma_test): Add more tests.
4027 (fma_test_towardzero): New function.
4028 (fma_test_downward): Likewise.
4029 (fma_test_upward): Likewise.
4030 (main): Call the new functions.
4032 2012-09-28 David S. Miller <davem@davemloft.net>
4034 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
4036 2012-09-28 Roland McGrath <roland@hack.frob.com>
4038 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
4041 * sysdeps/gnu/_G_config.h: Moved to ...
4042 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
4043 * sysdeps/mach/hurd/_G_config.h: Moved to ...
4044 * sysdeps/generic/_G_config.h: ... here.
4046 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
4048 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
4050 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
4051 Conditionalize target on [libnss_test1.so-version].
4053 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
4055 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
4056 (elfobjdir): Move out of conditionals.
4058 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
4059 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
4060 (__nss_lookup_function): Conditionalize label remove_from_tree on
4061 [!DO_STATIC_NSS || SHARED], matching its only use.
4063 2012-09-28 David S. Miller <davem@davemloft.net>
4065 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
4066 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
4068 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4070 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4071 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
4072 when HWCAP_SPARC_CRYPTO is present.
4074 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4076 * io/tst-mknodat.c: Create a FIFO instead of a socket.
4078 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
4081 * stdio-common/vfprintf.c (process_string_arg): Revert
4084 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
4086 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
4088 * stdio-common/tst-sprintf.c: Include <locale.h>
4089 (main): Test sprintf's handling of incomplete multibyte
4092 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
4094 * elf/dl-runtime.c (VERSYMIDX): Removed.
4095 * elf/dl-version.c (VERSYMIDX): Likewise.
4096 * elf/do-rel.h (VERSYMIDX): Likewise.
4098 * elf/dynamic-link.h (VERSYMIDX): Likewise.
4099 * elf/rtld.c (VALIDX): Likewise.
4100 (ADDRIDX): Likewise.
4101 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
4102 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
4103 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
4104 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
4106 (ADDRIDX): Likewise.
4108 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4110 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
4112 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
4115 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
4117 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
4118 addresses are in the same scope as 192.0.2/24.
4119 * posix/gai.conf: Document new scope table defaults.
4121 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4124 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
4125 for ftell. Compute offsets from write pointers instead.
4126 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4128 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4131 * libio/Makefile (tests): New test case tst-fseek.
4132 * libio/tst-fseek.c: New test case to verify that fseek/ftell
4133 combination works in wide mode.
4134 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
4135 state when the external buffer state changes.
4137 2012-09-27 David S. Miller <davem@davemloft.net>
4140 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
4141 pass reloc->r_addend in as the 'high' argument to
4142 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
4144 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4146 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4148 * rt/tst-aio2.c: Include <pthread.h>.
4149 * rt/tst-aio3.c: Likewise.
4151 2012-09-27 Steve Ellcey <sellcey@mips.com>
4153 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
4155 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
4157 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
4158 contents on [SHARED].
4160 2012-09-26 Marek Polacek <polacek@redhat.com>
4164 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
4165 for C++ and GCC <4.3 as well as for non GCC compilers.
4167 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4169 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4171 2012-09-25 Roland McGrath <roland@hack.frob.com>
4173 * Makefile.in (all, install): Declare with .PHONY.
4174 Reported by Michael Hope <michael.hope@linaro.org>.
4176 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4178 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
4179 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
4181 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
4183 (sydep_routines): Add the new and the internal functions.
4184 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
4185 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
4186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
4187 (GLIBC_2.17): Add the new function.
4188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4189 (GLIBC_2.17): Likewise.
4190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4191 (GLIBC_2.17): Likewise.
4192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
4193 (GLIBC_2.17): Likewise.
4194 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
4196 2012-09-25 Alan Modra <amodra@gmail.com>
4198 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
4199 Add release barrier before setting once_control to say
4200 initialisation is done. Add hints on lwarx. Use macro in
4202 (clear_once_control): Add release barrier.
4204 2012-09-25 Joseph Myers <joseph@codesourcery.com>
4207 * math/s_clog.c (__clog): Handle more values close to |z| = 1
4209 * math/s_clog10.c (__clog10): Likewise.
4210 * math/s_clog10f.c (__clog10f): Likewise.
4211 * math/s_clog10l.c (__clog10l): Likewise.
4212 * math/s_clogf.c (__clogf): Likewise.
4213 * math/s_clogl.c (__clogl): Likewise.
4214 * math/Makefile (libm-calls): Add x2y2m1.
4215 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
4216 (__x2y2m1): Likewise.
4217 (__x2y2m1l): Likewise.
4218 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
4219 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
4220 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4221 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4222 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4223 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
4224 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
4225 * sysdeps/i386/fpu/libm-test-ulps: Update.
4226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4229 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
4230 int as type of variable DEPTH.
4231 (glob): Use size_t instead of int as type of variables NEWCOUNT
4234 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4236 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4238 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
4239 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
4240 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
4241 macros for using routine as __sincosf_ia32.
4242 Use macro for function declaration and weak_alias.
4243 * sysdeps/i386/fpu/libm-test-ulps: Update.
4245 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
4246 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4248 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
4250 * math/s_cexpf.c (__cexpf): Likewise.
4251 * math/s_csinf.c (__csinf): Likewise.
4252 * math/s_csinhf.c (__csinhf): Likewise.
4253 * math/s_ctanf.c (__ctanf): Likewise.
4254 * math/s_ctanhf.c (__ctanhf): Likewise.
4255 * math/s_ccosh.c (__ccoshf): Likewise.
4256 * math/s_cexp.c (__cexpl): Likewise.
4257 * math/s_csin.c (__csin): Likewise.
4258 * math/s_csinh.c (__csinh): Likewise.
4259 * math/s_ctan.c (__ctan): Likewise.
4260 * math/s_ctanh.c (ctanh): Likewise.
4261 * math/s_ccoshl.c (__ccoshl): Likewise.
4262 * math/s_cexpl.c (__cexpl): Likewise.
4263 * math/s_csinl.c (__csinl): Likewise.
4264 * math/s_csinhl.c (__csinhl): Likewise.
4265 * math/s_ctanl.c (__ctanl): Likewise.
4266 * math/s_ctanhl.c (__ctanhl): Likewise.
4268 2012-09-25 Joseph Myers <joseph@codesourcery.com>
4270 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
4271 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
4272 (_IO_off_t): Define to __off_t, not _G_off_t.
4273 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
4274 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
4275 (_IO_wint_t): Define to wint_t, not _G_wint_t.
4276 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
4277 type of __dummy and __dummy2 fields.
4278 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
4279 (_G_ssize_t): Likewise.
4280 (_G_off_t): Likewise.
4281 (_G_pid_t): Likewise.
4282 (_G_uid_t): Likewise.
4283 (_G_wchar_t): Likewise.
4284 (_G_wint_t): Likewise.
4285 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
4286 (_G_ssize_t): Likewise.
4287 (_G_off_t): Likewise.
4288 (_G_pid_t): Likewise.
4289 (_G_uid_t): Likewise.
4290 (_G_wchar_t): Likewise.
4291 (_G_wint_t): Likewise.
4292 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
4293 (_G_ssize_t): Likewise.
4294 (_G_off_t): Likewise.
4295 (_G_pid_t): Likewise.
4296 (_G_uid_t): Likewise.
4297 (_G_wchar_t): Likewise.
4298 (_G_wint_t): Likewise.
4300 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4302 * malloc/arena.c: Include malloc-sysdep.h.
4303 (shrink_heap): Use check_may_shrink_heap to decide if madvise
4304 is sufficient to shrink the heap or an unmap is needed.
4305 * sysdeps/generic/malloc-sysdep.h: New file. Define
4306 new function check_may_shrink_heap.
4307 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
4308 new function check_may_shrink_heap.
4310 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4312 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
4315 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
4317 * catgets/test-gencat.sh: Add "set -e".
4318 * elf/tst-pathopt.sh: Likewise.
4319 * grp/tst_fgetgrent.sh: Likewise.
4320 * iconvdata/run-iconv-test.sh: Likewise.
4321 * intl/tst-gettext.sh: Likewise.
4322 * intl/tst-gettext2.sh: Likewise.
4323 * intl/tst-gettext4.sh: Likewise.
4324 * intl/tst-gettext6.sh: Likewise.
4325 * intl/tst-translit.sh: Likewise.
4326 * io/ftwtest-sh: Likewise.
4327 * libio/test-freopen.sh: Likewise.
4328 * malloc/tst-mtrace.sh: Likewise.
4329 * posix/globtest.sh: Likewise.
4330 * posix/tst-getconf.sh: Likewise.
4331 * posix/wordexp-tst.sh: Likewise.
4332 * stdio-common/tst-printf.sh: Likewise.
4333 * stdio-common/tst-unbputc.sh: Likewise.
4334 * stdlib/tst-fmtmsg.sh: Likewise.
4335 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4336 * catgets/Makefile: Do not specify -e option when running
4337 testsuite shell scripts.
4338 * elf/Makefile: Likewise.
4339 * grp/Makefile: Likewise.
4340 * iconvdata/Makefile: Likewise.
4341 * intl/Makefile: Likewise.
4342 * io/Makefile: Likewise.
4343 * libio/Makefile: Likewise.
4344 * malloc/Makefile: Likewise.
4345 * posix/Makefile: Likewise.
4346 * stdio-common/Makefile: Likewise.
4347 * stdlib/Makefile: Likewise.
4348 * sysdeps/x86_64/Makefile: Likewise.
4350 * io/ftwtest-sh: Add copyright header.
4351 * posix/globtest.sh: Likewise.
4352 * posix/tst-getconf.sh: Likewise.
4353 * posix/wordexp-tst.sh: Likewise.
4354 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4356 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
4359 * Makeconfig (+link): Defined as $(+link-static) if
4360 $(build-shared) isn't yes.
4361 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
4363 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
4365 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
4368 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
4369 new chunk size with MALLOC_ALIGN_MASK.
4371 2012-09-24 Joseph Myers <joseph@codesourcery.com>
4374 * stdio-common/printf_fphex.c: Include <stdbool.h> and
4376 (__printf_fphex): Determine rounding using get_rounding_mode and
4378 * stdio-common/tst-printf-round.c (struct hex_test): New
4380 (hex_tests): New variable.
4381 (test_hex_in_one_mode): New function.
4382 (do_test): Also run tests for hex float output.
4384 2012-09-21 Joseph Myers <joseph@codesourcery.com>
4386 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4387 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4388 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
4389 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4390 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4391 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
4392 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4393 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4395 2012-09-20 Joseph Myers <joseph@codesourcery.com>
4397 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
4398 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
4399 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
4400 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
4402 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
4405 * elf/rtld.c (dl_main): Limit the check for self loading to normal
4407 * elf/tst-rtld-load-self.sh: New test.
4408 * elf/Makefile: Run it.
4410 2012-09-18 Joseph Myers <joseph@codesourcery.com>
4412 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
4413 (tst-writev-ENV): Remove.
4414 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
4416 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
4418 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
4420 2012-09-17 Joseph Myers <joseph@codesourcery.com>
4422 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
4424 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
4426 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
4427 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
4428 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
4431 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
4434 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
4435 * config.make.in (have-cpp-asm-debuginfo): Removed.
4436 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
4437 * configure: Regenerated.
4439 2012-09-14 Joseph Myers <joseph@codesourcery.com>
4442 * stdio-common/printf_fp.c: Include <stdbool.h> and
4444 (___printf_fp): Determine rounding using get_rounding_mode and
4446 * stdio-common/tst-printf-round.c: New file.
4447 * stdio-common/Makefile (tests): Add tst-printf-round.
4448 (link-libm): New variable.
4449 ($(objpfx)tst-printf-round): Depend in $(link-libm).
4451 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
4454 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
4455 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
4457 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
4460 2012-09-13 Joseph Myers <joseph@codesourcery.com>
4462 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
4463 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4464 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4465 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4467 2012-09-12 Joseph Myers <joseph@codesourcery.com>
4470 * include/rounding-mode.h: New file.
4471 * sysdeps/generic/get-rounding-mode.h: Likewise.
4472 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
4473 * stdlib/strtod_l.c: Include <rounding-mode.h>.
4474 (MAX_VALUE): New macro.
4475 (MIN_VALUE): Likewise.
4476 (overflow_value): New function.
4477 (underflow_value): Likewise.
4478 (round_and_return): Use overflow_value and underflow_value to
4479 determine return values in overflow and underflow cases. Use
4480 round_away to determine rounding depending on rounding mode.
4481 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
4482 determine return values in overflow and underflow cases.
4483 * stdlib/tst-strtod-round.c: Include <fenv.h>.
4484 (struct test_results): New structure.
4485 (struct test): Use struct test_results to store expected results
4486 for all rounding modes.
4487 (TEST): Include expected results for all rounding modes.
4488 (test_in_one_mode): New function.
4489 (do_test): Use test_in_one_mode to compute and check results.
4490 Check results for all rounding modes.
4491 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
4494 2012-12-09 Allan McRae <allan@archlinux.org>
4496 * sysdeps/i386/fpu/libm-test-ulps: Update
4498 2012-09-11 Joseph Myers <joseph@codesourcery.com>
4500 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
4501 (_G_int32_t): Likewise.
4502 (_G_uint16_t): Likewise.
4503 (_G_uint32_t): Likewise.
4504 (_G_HAVE_BOOL): Likewise.
4505 (_G_HAVE_ATEXIT): Likewise.
4506 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4507 (_G_HAVE_IO_FILE_OPEN): Likewise.
4508 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
4509 (_G_int32_t): Likewise.
4510 (_G_uint16_t): Likewise.
4511 (_G_uint32_t): Likewise.
4512 (_G_HAVE_BOOL): Likewise.
4513 (_G_HAVE_ATEXIT): Likewise.
4514 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4515 (_G_HAVE_IO_FILE_OPEN): Likewise.
4516 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
4517 (_G_int32_t): Likewise.
4518 (_G_uint16_t): Likewise.
4519 (_G_uint32_t): Likewise.
4520 (_G_HAVE_BOOL): Likewise.
4521 (_G_HAVE_ATEXIT): Likewise.
4522 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4523 (_G_HAVE_IO_FILE_OPEN): Likewise.
4525 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
4527 * csu/libc-tls.c: Update copyright years.
4529 2012-09-10 Joseph Myers <joseph@codesourcery.com>
4531 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
4532 [!_G_USING_THUNKS]: Remove conditional code.
4533 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
4534 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
4536 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
4537 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
4538 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4539 (_G_VTABLE_LABEL_PREFIX): Likewise.
4540 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4541 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4542 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4543 (_G_VTABLE_LABEL_PREFIX): Likewise.
4544 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4545 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4546 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4547 (_G_VTABLE_LABEL_PREFIX): Likewise.
4548 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4550 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
4552 * libio/Makefile: Include ../Makeconfig before tests.
4553 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
4554 only if $(build-shared) is yes.
4556 * iconv/gconv_db.c: Update copyright years.
4558 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4560 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
4561 unwind info if defined PIC. Fix special cases description.
4562 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
4564 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
4566 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
4568 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
4570 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
4572 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4575 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4576 (LDLIBS-tst-chk4): This.
4577 (LDFLAGS-tst-chk5): Renamed to ...
4578 (LDLIBS-tst-chk5): This.
4579 (LDFLAGS-tst-chk6): Renamed to ...
4580 (LDLIBS-tst-chk6): This.
4581 (LDFLAGS-tst-lfschk4): Renamed to ...
4582 (LDLIBS-tst-lfschk4): This.
4583 (LDFLAGS-tst-lfschk5): Renamed to ...
4584 (LDLIBS-tst-lfschk5): This.
4585 (LDFLAGS-tst-lfschk6): Renamed to ...
4586 (LDLIBS-tst-lfschk6): This.
4588 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4589 on $(common-objpfx)soversions.mk.
4591 2012-09-07 Joseph Myers <joseph@codesourcery.com>
4594 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
4597 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4599 * malloc/arena.c (arena_get_retry): New function that gets
4600 another arena for the caller to try its request on.
4601 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4602 current arena cannot fulfill the request.
4603 (__libc_memalign): Likewise.
4604 (__libc_memalign): Likewise.
4605 (__libc_pvalloc): Likewise.
4606 (__libc_calloc): Likewise.
4608 2012-09-05 John Tobey <john.tobey@gmail.com>
4611 * manual/arith.texi (Operations on Complex): Fix description
4614 2012-09-06 Joseph Myers <joseph@codesourcery.com>
4617 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
4621 * manual/memory.texi (Memory): Make order of menu items match
4624 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4626 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
4627 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
4628 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4630 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4632 * csu/libc-tls.c (static_dtv): Renamed to ...
4633 (_dl_static_dtv): This. Make it global.
4634 (_dl_initial_dtv): Removed.
4635 (__libc_setup_tls): Updated.
4636 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4637 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4640 2012-09-06 Petr Machata <pmachata@redhat.com>
4642 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4643 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4644 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4645 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
4647 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4650 * csu/libc-tls.c (_dl_initial_dtv): New variable.
4651 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
4654 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4657 * Makeconfig (link-static-before-libc): Replace $(+prector)
4659 (link-static-after-libc): Replace $(+postctor) with
4661 (link-bounded): Replace $(+prector)/$(+postctor) with
4662 $(+prectorT)/$(+postctorT).
4663 (+prectorT): New macro.
4664 (+postctorT): Likewise.
4666 2012-09-06 Joseph Myers <joseph@codesourcery.com>
4668 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
4669 (round_str): Handle values above the maximum for IBM long double
4671 * stdlib/tst-strtod-round.c (tests): Regenerated.
4673 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4675 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
4677 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
4678 zarch_nohighgprs around the zarch optimized routines.
4679 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4680 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4681 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
4684 2012-09-05 David S. Miller <davem@davemloft.net>
4686 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4688 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
4689 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
4690 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
4691 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4694 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4696 * malloc/arena.c: Fold copyright years.
4697 * malloc/mcheck.c, malloc/memusage.c: Likewise.
4699 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4701 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
4703 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4705 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
4707 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4709 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
4710 change internal state upon failure.
4712 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4714 * malloc/mcheck.c (mcheck_check_all): Fix typo.
4715 * malloc/memusage.c (mmap): Likewise.
4716 (mmap64, mremap): Likewise. Adjust name in comment.
4718 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4720 * libio/fileops.c: Fix typos in comments.
4721 * libio/oldfileops.c: Likewise.
4722 * libio/wfileops.c: Likewise.
4724 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4727 * malloc/Makefile (tests): Add tst-malloc-usable test case.
4728 (tst-malloc-usable-ENV): Set environment for test case.
4729 * malloc/hooks.c (malloc_check_get_size): New function to get
4731 * malloc/malloc.c (musable): Use malloc_check_get_size.
4732 * malloc/tst-malloc-usable.c: New test case.
4734 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4736 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
4738 2012-09-05 Allan McRae <allan@archlinux.org>
4741 * configure.in (CXX_SYSINCLUDES): Use compiler output to
4742 determine header location.
4743 * configure: Regenerated.
4745 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4747 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4749 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
4750 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4754 2012-09-04 David S. Miller <davem@davemloft.net>
4756 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4757 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4758 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4760 2012-09-04 Florian Weimer <fweimer@redhat.com>
4762 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4765 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4767 2012-09-04 Joseph Myers <joseph@codesourcery.com>
4770 * libio/iogetdelim.c: Include <limits.h>.
4771 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4772 + len + 1 would overflow.
4774 2012-09-03 Andreas Jaeger <aj@suse.de>
4776 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4777 * sysdeps/i386/fpu/libm-test-ulps: Update.
4779 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4781 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4782 Add s_sinf-sse2, s_conf-sse2.
4784 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4785 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4786 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4787 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4789 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4790 for using routine as __sinf_ia32.
4791 Use macro for function declaration and weak_alias.
4792 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4793 for using routine as __cosf_ia32.
4794 Use macro for function declaration and weak_alias.
4796 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4797 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4799 * sysdeps/x86_64/fpu/s_sinf.S: New file.
4800 * sysdeps/x86_64/fpu/s_cosf.S: New file.
4801 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4803 * math/libm-test.inc (cos_test): Add more test cases.
4804 (sin_test): Likewise.
4805 (sincos_test): Likewise.
4807 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4809 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4810 (IFUNC_RESOLVE): Make pointers to the specialized implementations
4812 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4814 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
4817 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4818 first element of the GOT.
4819 (elf_machine_load_address): Return the difference between
4820 the runtime address of _DYNAMIC and elf_machine_dynamic ().
4822 2012-09-01 Allan McRae <allan@archlinux.org>
4825 * configure.in (AWK): Require gawk version 3.0 or later.
4826 * configure: Regenerated.
4828 2012-09-01 Joseph Myers <joseph@codesourcery.com>
4830 * sysdeps/unix/sysv/linux/kernel-features.h
4831 (__ASSUME_POSIX_CPU_TIMERS): Remove.
4832 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4833 [__NR_clock_getres]: Make code unconditional.
4834 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4835 (clock_getcpuclockid): Remove code left unreachable by removal of
4837 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4839 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4840 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4841 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4842 Make code unconditional.
4843 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4844 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4845 * sysdeps/unix/sysv/linux/clock_settime.c
4846 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4848 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4849 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4851 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
4854 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4855 scripts/test-installation.pl.
4857 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4858 and $ld_so_version if it is set.
4860 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4863 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4864 failure if reading from procfs failed.
4865 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4867 2012-08-27 Joseph Myers <joseph@codesourcery.com>
4869 * sysdeps/unix/sysv/linux/kernel-features.h
4870 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4871 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4872 Remove conditional code.
4873 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4874 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4875 Remove conditional code.
4876 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4877 * sysdeps/unix/sysv/linux/i386/fxstat.c
4878 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4879 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4880 * sysdeps/unix/sysv/linux/i386/fxstatat.c
4881 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4882 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4883 * sysdeps/unix/sysv/linux/i386/lxstat.c
4884 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4885 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4886 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4887 Remove conditional code.
4888 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4889 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4890 Remove conditional code.
4891 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4892 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4893 <kernel-features.h>.
4894 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4896 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4897 Remove conditional code.
4898 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4899 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4902 2012-08-27 Mike Frysinger <vapier@gentoo.org>
4905 * NEWS: Add fixed bug number.
4907 2012-08-27 Joseph Myers <joseph@codesourcery.com>
4910 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4911 underflowing exponent in case of negative sign.
4912 * stdlib/tst-strtod-round-data: Add more tests.
4913 * stdlib/tst-strtod-round.c (tests): Regenerated.
4916 * stdlib/strtod_l.c (NDIG): Remove.
4917 (HEXNDIG): Likewise.
4918 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4919 smallest representable value.
4920 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4921 lie within an exact representation of 1/2 ulp of the result.
4922 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4924 (TENS_P9_IDX): Define unconditionally.
4925 (TENS_P9_SIZE): Likewise.
4926 (TENS_P10_IDX): Likewise.
4927 (TENS_P10_SIZE): Likewise.
4928 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4929 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4930 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4931 entries for 10^2^13 and 10^2^14.
4932 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
4933 (TENS_P13_IDX): Define.
4934 (TENS_P13_SIZE): Likewise.
4935 (TENS_P14_IDX): Likewise.
4936 (TENS_P14_SIZE): Likewise.
4937 (_fpioconst_pow10): Change array size to
4938 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
4940 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
4941 1024]: Add entries for 10^2^13 and 10^2^14.
4942 [LAST_POW10 > _LAST_POW10]: Remove #error.
4943 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
4944 (_fpioconst_pow10): Change array size to
4945 FPIOCONST_POW10_ARRAY_SIZE.
4946 * stdlib/gen-fpioconst.c: New file.
4947 * stdlib/gen-tst-strtod-round.c: Likewise.
4948 * stdlib/tst-strtod-round-data: Likewise.
4949 * stdlib/tst-strtod-round.c: Likewise.
4950 * stdlib/Makefile (tests): Add tst-strtod-round.
4953 * stdlib/strtod_l.c: Include <stdint.h>.
4954 (NDEBUG): Do not define.
4955 (round_and_return): Change EXPONENT parameter to type intmax_t.
4956 Rearrange calculations to avoid internal overflow possibilities.
4957 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
4958 Rearrange calculations to avoid internal overflow possibilities.
4959 Assert that number fits inside MPNSIZE limbs.
4960 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
4961 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
4962 calculations and add assertions to avoid internal overflow
4963 possibilities. Add casts to avoid signed/unsigned operations.
4964 * stdlib/tst-strtod-overflow.c: New file.
4965 * stdlib/Makefile (tests): Add tst-strtod-overflow.
4967 2012-08-25 Marek Polacek <polacek@redhat.com>
4969 * time/time.h: Fix some typos in comments.
4971 2012-08-23 Roland McGrath <roland@hack.frob.com>
4973 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
4974 * posix/tst-rfc3484-2.c: Likewise.
4975 * posix/tst-rfc3484-3.c: Likewise.
4977 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
4979 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
4980 (EF_ARM_ABI_FLOAT_HARD): Likewise.
4982 2012-08-23 Joseph Myers <joseph@codesourcery.com>
4984 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
4985 #include of fxstatat64.c.
4987 2012-08-22 Roland McGrath <roland@hack.frob.com>
4989 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
4990 * shadow/getspent_r.c: Likewise.
4991 * shadow/getspnam.c: Likewise.
4992 * shadow/getspnam_r.c: Likewise.
4993 * gshadow/getsgent.c: Likewise.
4994 * gshadow/getsgent_r.c: Likewise.
4995 * gshadow/getsgnam.c: Likewise.
4996 * gshadow/getsgnam_r.c: Likewise.
4997 * inet/getnetbyad.c: Likewise.
4998 * inet/getnetbyad_r.c: Likewise.
4999 * inet/getnetbynm.c: Likewise.
5000 * inet/getnetbynm_r.c: Likewise.
5001 * inet/getnetent.c: Likewise.
5002 * inet/getnetent_r.c: Likewise.
5003 * inet/getproto.c: Likewise.
5004 * inet/getproto_r.c: Likewise.
5005 * inet/getprtent.c: Likewise.
5006 * inet/getprtent_r.c: Likewise.
5007 * inet/getprtname.c: Likewise.
5008 * inet/getprtname_r.c: Likewise.
5009 * inet/getrpcbyname.c: Likewise.
5010 * inet/getrpcbyname_r.c: Likewise.
5011 * inet/getrpcbynumber.c: Likewise.
5012 * inet/getrpcbynumber_r.c: Likewise.
5013 * inet/getrpcent.c: Likewise.
5014 * inet/getrpcent_r.c: Likewise.
5015 * inet/getaliasent.c: Likewise.
5016 * inet/getaliasent_r.c: Likewise.
5017 * inet/getaliasname.c: Likewise.
5018 * inet/getaliasname_r.c: Likewise.
5019 * nscd/getgrgid_r.c: Likewise.
5020 * nscd/getgrnam_r.c: Likewise.
5021 * nscd/gethstbyad_r.c: Likewise.
5022 * nscd/gethstbynm3_r.c: Likewise.
5023 * nscd/getpwnam_r.c: Likewise.
5024 * nscd/getpwuid_r.c: Likewise.
5025 * nscd/getsrvbynm_r.c: Likewise.
5026 * nscd/getsrvbypt_r.c: Likewise.
5027 * nscd/gai.c: Likewise.
5029 * configure.in (build_nscd): New substituted variable, set
5030 by --disable-build-nscd and defaults to $use_nscd.
5031 * configure: Regenerated.
5032 * config.make.in (build-nscd): New substituted variable.
5033 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
5034 Change conditional to require [$(build-nscd) = yes] as well.
5035 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
5038 * configure.in (use_nscd): New substituted variable, set by
5039 --disable-nscd. If enabled, define USE_NSCD.
5040 * configure: Regenerated.
5041 * config.h.in: Add USE_NSCD.
5042 * config.make.in (use-nscd): New substituted variable.
5043 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
5044 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
5045 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
5046 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
5047 (CFLAGS-getgrnam_r.c): Likewise.
5048 (CFLAGS-initgroups.c): Likewise.
5049 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
5050 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
5052 * inet/getnetgrent_r.c
5053 (nscd_setnetgrent): New function, broken out of ...
5054 (setnetgrent): ... here. Call it.
5055 (innetgr): Conditionalize nscd bits on [USE_NSCD].
5056 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
5057 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
5058 * nscd/Makefile (routines, aux): Move definitions after include of
5059 Makeconfig. Conditionalize on [$(use-nscd) != no].
5060 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
5061 Conditionalize on [USE_NSCD].
5062 (is_nscd, nscd_init_cb): Likewise.
5063 (nss_load_library): Conditionalize init callback on [USE_NSCD].
5064 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
5065 * nss/nss_db/db-init.c: Likewise.
5066 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
5068 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
5069 (make_request): Use it.
5070 (cache_valid_p): New function.
5071 (__check_pf): Use it.
5072 * NEWS: Add item for --disable-nscd.
5074 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
5076 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
5077 to support sed >= 4.2.1-20-ga9bf076.
5078 * configure: Regenerated.
5080 2012-08-22 Roland McGrath <roland@hack.frob.com>
5082 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
5083 Conditionalize whole body on [IREL].
5085 2012-08-22 Jeff Law <law@redhat.com>
5088 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
5089 if the family is PF_UNSPEC.
5091 2012-08-22 Mike Frysinger <vapier@gentoo.org>
5093 * Makerules (lib-version): Rename from V.
5094 (install-lib-nosubdir): Change V to lib-version.
5096 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
5099 * powerpc32/power6/wcschr.c: New file.
5100 * powerpc32/power6/wcscpy.c: New file.
5101 * powerpc32/power6/wcsrchr.c: New file.
5102 * powerpc64/power6/wcschr.c: New file.
5103 * powerpc64/power6/wcscpy.c: New file.
5104 * powerpc64/power6/wcsrchr.c: New file.
5106 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5108 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
5109 (two_way_short_needle): Use it.
5110 * string/strstr.c (AVAILABLE1_USES_J): Define.
5111 * string/strcasestr.c: Likewise.
5113 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
5115 * string/strcasestr.c (TOLOWER): Make side-effect safe.
5118 * NEWS: Add an entry.
5119 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
5120 define their defaults.
5121 (two_way_short_needle): Detect end-of-string on-the-fly.
5122 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
5123 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
5124 * string/bug-strcasestr1.c: New test.
5125 * string/Makefile: Run it.
5127 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5130 * string/str-two-way.h (two_way_short_needle): Optimize matching of
5131 the first character.
5133 2012-08-21 Roland McGrath <roland@hack.frob.com>
5135 * csu/elf-init.c (__libc_csu_irel): Function removed.
5136 * csu/libc-start.c (apply_irel): New function.
5137 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
5139 2012-08-21 Joseph Myers <joseph@codesourcery.com>
5141 * sysdeps/unix/sysv/linux/kernel-features.h
5142 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
5143 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5144 <kernel-features.h>.
5145 [__NR_fadvise64_64]: Make code unconditional.
5146 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
5147 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5148 !__NR_fadvise64_64)]: Likewise.
5149 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5150 !__NR_fadvise64_64))]: Likewise.
5151 [__NR_fadvise64]: Make code unconditional.
5152 [!__NR_fadvise64]: Remove conditional code.
5153 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
5154 <kernel-features.h>.
5155 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5157 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
5160 not include <kernel-features.h>.
5161 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5163 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5165 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
5166 include <kernel-features.h>.
5167 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5169 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5172 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5174 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
5175 slight instruction rearrangements per scrollpipe analysis.
5176 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5178 2012-08-20 Roland McGrath <roland@hack.frob.com>
5180 * manual/syslog.texi (syslog; vsyslog, closelog):
5181 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
5182 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
5184 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
5185 DSOCAPS to match condition on defining it.
5187 2012-08-20 Joseph Myers <joseph@codesourcery.com>
5189 * sysdeps/unix/sysv/linux/kernel-features.h
5190 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
5191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
5192 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5193 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
5195 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5196 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
5198 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5199 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5201 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
5202 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
5204 * sysdeps/unix/sysv/linux/kernel-features.h
5205 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
5206 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
5208 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5209 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
5210 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5211 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5212 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
5213 Make code unconditional.
5214 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5215 (__mmap64) [!__NR_mmap2]: Likewise.
5216 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
5217 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5218 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5219 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
5220 [__NR_mmap2]: Make code unconditional.
5221 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5222 (__mmap64) [!__NR_mmap2]: Likewise.
5224 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5226 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
5228 2012-08-18 Andreas Jaeger <aj@suse.de>
5230 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
5232 2012-08-18 Mike Frysinger <vapier@gentoo.org>
5234 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
5235 * include/unistd.h (__have_sock_cloexec): Likewise.
5236 (__have_pipe2): Likewise.
5237 (__have_dup3): Likewise.
5239 2012-08-18 Mike Frysinger <vapier@gentoo.org>
5242 * include/unistd.h (__have_pipe2): Change define into an extern int.
5243 (__have_dup3): Likewise.
5244 * socket/have_sock_cloexec.c: Include fcntl.h.
5245 (__have_pipe2): New variable.
5246 (__have_dup3): Likewise.
5248 2012-08-17 Mike Frysinger <vapier@gentoo.org>
5250 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
5252 2012-08-17 Marek Polacek <polacek@redhat.com>
5254 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
5255 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
5257 2012-08-17 Roland McGrath <roland@hack.frob.com>
5259 * configure.in: Add AC_SUBST for sysheaders.
5260 * configure: Regenerated.
5261 * config.make.in (sysheaders): New substituted variable.
5263 * sysdeps/unix/mkfifo.c: Moved ...
5264 * sysdeps/posix/mkfifo.c: ... here.
5265 * sysdeps/unix/mkfifoat.c: Moved ...
5266 * sysdeps/posix/mkfifoat.c: ... here.
5268 * sysdeps/unix/utime.c: Moved ...
5269 * sysdeps/posix/utime.c: ... here.
5271 * sysdeps/unix/time.c: Moved ...
5272 * sysdeps/posix/time.c: ... here.
5273 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
5274 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
5276 * sysdeps/unix/nice.c: Moved ...
5277 * sysdeps/posix/nice.c: ... here.
5279 * sysdeps/unix/alarm.c: Moved ...
5280 * sysdeps/posix/alarm.c: ... here.
5282 * intl/Makefile ($(codeset_mo)): Depend on the input file.
5284 2012-08-17 Jeff Law <law@redhat.com>
5286 * intl/Makefile (codeset_mo): New variable.
5287 ($(codeset_mo)): New target.
5288 (tst-codeset.out): Depend on that. Remove explicit rule.
5289 (tst-gettext3.out, tst-gettext5.out): Likewise.
5290 (LOCPATH-ENV, tst-codeset-ENV): New variables.
5291 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
5292 * intl/tst-codeset.sh: Remove.
5293 * intl/tst-gettext3.sh: Likewise.
5294 * intl/tst-gettext5.sh: Likewise.
5296 2012-08-17 Roland McGrath <roland@hack.frob.com>
5298 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
5299 * sysdeps/unix/syscalls.list: ... here.
5301 * sysdeps/posix/getaddrinfo.c
5302 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
5303 (gaiconf_init, gaiconf_reload): Use them.
5305 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
5306 Define using time_t rather than struct timespec.
5308 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
5309 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
5311 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
5313 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
5314 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
5317 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
5318 __libc_cleanup_push argument.
5320 * bits/param.h: New file.
5321 * misc/sys/param.h: New file.
5322 * include/sys/param.h: New file.
5323 * misc/Makefile (headers): Add bits/param.h.
5324 * sysdeps/generic/sys/param.h: File removed.
5325 * sysdeps/unix/sysv/linux/bits/param.h: New file.
5326 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
5327 * sysdeps/mach/hurd/bits/param.h: New file.
5328 * sysdeps/mach/hurd/sys/param.h: File removed.
5330 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
5333 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
5335 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
5336 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
5339 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
5340 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
5341 rather than -D_IO_MTSAFE_IO conditionally.
5342 * stdio-common/Makefile (CPPFLAGS): Likewise.
5343 * wcsmbs/Makefile (CPPFLAGS): Likewise.
5344 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
5345 Use $(libio-mtsafe).
5346 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
5348 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
5349 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
5350 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
5351 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
5352 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
5353 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
5354 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
5355 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
5356 (CFLAGS-fread_u_chk.c): Likewise.
5357 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
5358 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
5359 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
5360 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
5361 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
5362 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
5363 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
5364 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
5365 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
5367 * libio/Makefile: Test [$(libc-reentrant) = yes]
5368 instead of [$(filter %REENTRANT, $(defines)) nonempty].
5371 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
5372 * sysdeps/pthread/configure: File removed.
5373 * sysdeps/pthread/Makeconfig: New file.
5374 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
5375 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
5377 2012-08-16 Gary Benson <gbenson@redhat.com>
5379 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
5380 unmapping the first object in a namespace.
5382 2012-08-16 Roland McGrath <roland@hack.frob.com>
5384 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
5385 (__internal_setnetgrent): ... this. Add internal_function to
5386 definition. Add libc_hidden_def.
5387 (setnetgrent): Update caller.
5388 (internal_endnetgrent): Renamed to ...
5389 (__internal_endnetgrent): ... this. Add internal_function to
5390 definition. Add libc_hidden_def.
5391 (endnetgrent): Update caller.
5392 (internal_getnetgrent_r): Renamed to ...
5393 (__internal_getnetgrent_r): ... this. Add internal_function to
5394 definition. Add libc_hidden_def.
5395 (__getnetgrent_r): Update caller.
5396 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
5398 2012-08-16 Joseph Myers <joseph@codesourcery.com>
5400 * stdlib/longlong.h: Update from GCC.
5402 2012-08-16 Roland McGrath <roland@hack.frob.com>
5404 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
5405 on _QL, which is set by umul_ppmm but never used.
5406 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
5407 variables, which are set by GMP macros but never used.
5408 * stdio-common/_itowa.c (_itowa): Likewise.
5409 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
5410 * stdlib/mod_1.c (mpn_mod_1): Likewise.
5412 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
5414 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
5415 struct La_sh_regs is not constant.
5416 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
5417 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
5418 and struct La_sparc64_regs are not constant.
5420 2012-08-16 Joseph Myers <joseph@codesourcery.com>
5422 * sysdeps/unix/sysv/linux/kernel-features.h
5423 (__ASSUME_POSIX_TIMERS): Remove.
5424 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5425 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5426 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
5427 Make code unconditional.
5428 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5429 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
5430 Make code unconditional.
5431 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5432 * sysdeps/unix/sysv/linux/clock_nanosleep.c
5433 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
5434 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5435 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
5436 Make code unconditional.
5437 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5438 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
5439 (__libc_missing_posix_timers): Remove.
5441 2012-08-15 Roland McGrath <roland@hack.frob.com>
5443 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
5444 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
5446 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
5448 * elf/dl-sym.c: Include <stdlib.h>.
5450 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
5451 constants, which avoids warnings in 32-bit builds.
5453 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
5454 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
5456 * misc/lseek.c: File moved to ...
5457 * io/lseek.c: ... here.
5459 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
5461 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
5462 shifting LEN more than 31 bits at once.
5464 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5467 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
5468 segmentation fault for a case of two empty input strings.
5469 * string/test-strncasecmp.c (check1): Renamed to...
5471 (bz14195): Add new testcase for two empty input strings and N > 0.
5472 (test_main): Call new testcase, adapt for renamed function.
5474 2012-08-15 Andreas Jaeger <aj@suse.de>
5477 * crypt/md5test2.c: New test, based on test supplied by Serge
5478 Belyshev <belyshev@depni.sinp.msu.ru>.
5479 * crypt/Makefile (xtests): Add md5test-giant..
5480 * crypt/Makefile ($(objpfx)md5test-giant): Add.
5482 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
5485 * crypt/md5.c (md5_process_block): Don't assume the buffer
5486 length is less than 2**32.
5487 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
5488 length is less than 2**64.
5490 2012-08-15 Roland McGrath <roland@hack.frob.com>
5492 * string/str-two-way.h: Include <sys/param.h>.
5493 (MAX): Macro removed.
5495 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
5496 Move #define and #undef of memmove to just before and after
5497 including <string.h>.
5499 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
5500 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
5501 and after including <string.h>. Move declarations of
5502 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
5503 to before #include "string/memmove.c".
5505 * include/dirent.h: Declare __getdirentries.
5507 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
5508 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
5510 2012-08-14 Mike Frysinger <vapier@gentoo.org>
5512 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
5513 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
5514 * sysdeps/i386/configure: Regenerated.
5515 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
5516 STABS_CURRENT_FILE, and STABS_FUN.
5517 (END): Remove call to STABS_FUN_END.
5518 (STABS_CURRENT_FILE1): Delete.
5519 (STABS_CURRENT_FILE): Likewise.
5520 (STABS_FUN): Likewise.
5521 (STABS_FUN_END): Likewise.
5522 (STABS_FUN2): Likewise.
5523 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
5524 * sysdeps/x86_64/configure: Regenerated.
5526 2012-08-14 Roland McGrath <roland@hack.frob.com>
5528 * elf/dl-open.c: Include <atomic.h>.
5529 * elf/dl-lookup.c: Likewise.
5531 2012-08-14 Joseph Myers <joseph@codesourcery.com>
5533 * sysdeps/unix/sysv/linux/kernel-features.h
5534 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
5535 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
5537 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
5539 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
5540 condition on __ASSUME_CLONE_THREAD_FLAGS.
5542 2012-08-14 Andreas Jaeger <aj@suse.de>
5544 * sysdeps/i386/fpu/libm-test-ulps: Update.
5546 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
5548 * include/atomic.h (atomic_exchange_and_add): Split into ...
5549 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
5552 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
5554 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5556 2012-08-13 Jeff Law <law@redhat.com>
5558 * manual/stdio.texi (snprintf): Clarify handling of the trailing
5559 null byte in the output string.
5561 2012-08-10 Joseph Myers <joseph@codesourcery.com>
5563 * sysdeps/unix/sysv/linux/kernel-features.h
5564 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5565 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
5566 (__ASSUME_ARG_MAX_STACK_BASED): Define.
5567 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5568 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
5569 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
5570 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
5572 2012-08-09 Jeff Law <law@redhat.com>
5575 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5576 When avoid_arena is set, don't retry in the that arena. Pick the
5577 next one, whatever it might be.
5578 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
5579 (arena_lock): Pass in new parameter to arena_get2.
5580 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
5582 (__libc_malloc): Unify retrying after main arena failure with
5583 __libc_memalign version.
5584 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
5586 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
5589 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5590 to __redirect_strstr.
5591 (__strstr_sse42): Use typeof __redirect_strstr.
5592 (__strstr_ia32): Likewise.
5593 (__libc_strstr): New prototype.
5594 (strstr): Renamed to ...
5595 (__libc_strstr): This.
5596 (strstr): New strong alias of __libc_strstr.
5597 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5598 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5601 (__libc_time): New prototype.
5602 (time_ifunc): Replace time with __libc_time.
5603 (time): New strong alias and hidden definition of __libc_time.
5604 (__GI_time): Remove strong alias.
5605 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
5607 (memmove): Redefined to __redirect_memmove.
5608 (__memmove_sse2): Use typeof __redirect_memmove.
5609 (__memmove_ssse3): Likewise.
5610 (__memmove_ssse3_back): Likewise.
5611 (__libc_memmove): New prototype.
5612 (memmove): Renamed to ...
5613 (__libc_memmove): This.
5614 (memmove): New strong alias of __libc_memmove.
5616 2012-08-08 Mark Salter <msalter@redhat.com>
5619 (R_MN10300_TLS_GD): Define.
5620 (R_MN10300_TLS_LD): Likewise.
5621 (R_MN10300_TLS_LDO): Likewise.
5622 (R_MN10300_TLS_GOTIE): Likewise.
5623 (R_MN10300_TLS_IE): Likewise.
5624 (R_MN10300_TLS_LE): Likewise.
5625 (R_MN10300_TLS_DTPMOD): Likewise.
5626 (R_MN10300_TLS_DTPOFF): Likewise.
5627 (R_MN10300_TLS_TPOFF): Likewise.
5628 (R_MN10300_SYM_DIFF): Likewise.
5629 (R_MN10300_ALIGN): Likewise.
5630 (R_MN10300_NUM): Update.
5632 2012-08-08 Joseph Myers <joseph@codesourcery.com>
5634 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5637 2012-08-08 Roland McGrath <roland@hack.frob.com>
5639 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5641 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5642 sysdeps/unix -> sysdeps/posix move.
5643 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5645 2012-08-07 Allan McRae <allan@archlinux.org>
5648 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
5649 (SUNOS_CPP): Likewise.
5650 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
5652 (open_input): Call CPP using execvp.
5654 2012-08-07 Joseph Myers <joseph@codesourcery.com>
5656 * sysdeps/unix/sysv/linux/kernel-features.h
5657 (__ASSUME_PROT_GROWSUPDOWN): Remove.
5658 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5659 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5660 (__ASSUME_WAITID_SYSCALL): Likewise.
5661 * sysdeps/unix/sysv/linux/dl-execstack.c
5662 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
5664 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
5666 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
5667 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
5668 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
5670 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
5672 [__ASSUME_WAITID_SYSCALL]: Likewise.
5673 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
5675 2012-08-07 Roland McGrath <roland@hack.frob.com>
5677 * sysdeps/unix/closedir.c: Renamed to ...
5678 * sysdeps/posix/closedir.c: ... here.
5679 * sysdeps/unix/dirfd.c: Renamed to ...
5680 * sysdeps/posix/dirfd.c: ... here.
5681 * sysdeps/unix/dirstream.h: Renamed to ...
5682 * sysdeps/posix/dirstream.h: ... here.
5683 * sysdeps/unix/fdopendir.c: Renamed to ...
5684 * sysdeps/posix/fdopendir.c: ... here.
5685 * sysdeps/unix/opendir.c: Renamed to ...
5686 * sysdeps/posix/opendir.c: ... here.
5687 * sysdeps/unix/readdir.c: Renamed to ...
5688 * sysdeps/posix/readdir.c: ... here.
5689 * sysdeps/unix/readdir_r.c: Renamed to ...
5690 * sysdeps/posix/readdir_r.c: ... here.
5691 * sysdeps/unix/rewinddir.c: Renamed to ...
5692 * sysdeps/posix/rewinddir.c: ... here.
5693 * sysdeps/unix/seekdir.c: Renamed to ...
5694 * sysdeps/posix/seekdir.c: ... here.
5695 * sysdeps/unix/telldir.c: Renamed to ...
5696 * sysdeps/posix/telldir.c: ... here.
5697 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
5698 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5699 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5700 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
5702 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
5703 * bits/fcntl.h: ... here.
5705 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
5707 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
5708 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
5709 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
5710 (struct flock): Move l_start, l_len to the beginning.
5711 Use __pid_t for l_pid.
5712 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
5713 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
5714 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
5715 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
5716 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
5717 [__USE_LARGEFILE64] (struct flock64): New type.
5718 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
5720 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
5721 * bits/dirent.h: ... here.
5723 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
5724 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
5726 2012-08-07 Joseph Myers <joseph@codesourcery.com>
5728 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5729 Change from 2.6.0 to 2.6.16.
5730 * sysdeps/unix/sysv/linux/configure: Regenerated.
5731 * sysdeps/unix/sysv/linux/kernel-features.h
5732 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
5733 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
5735 (__ASSUME_UTIMES): Likewise.
5736 (__ASSUME_CLONE_STOPPED): Remove.
5737 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
5738 architectures, not kernel version.
5739 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
5740 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5741 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5742 (__ASSUME_WAITID_SYSCALL): Likewise.
5743 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
5744 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
5745 * README: State 2.6.16 as minimum Linux kernel version. Do not
5746 refer to older versions.
5748 2012-08-06 Roland McGrath <roland@hack.frob.com>
5750 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5751 Define alphasort64 as an alias.
5752 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5753 Define versionsort64 as an alias.
5754 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5755 Define scandir64 as an alias.
5756 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5757 Define scandirat64 as an alias.
5758 * dirent/alphasort64.c (alphasort64):
5759 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5760 * dirent/versionsort64.c: Likewise.
5761 * dirent/scandir64.c: Likewise.
5762 * dirent/scandirat64.c: Likewise.
5763 * sysdeps/wordsize-64/alphasort.c: File removed.
5764 * sysdeps/wordsize-64/alphasort64.c: File removed.
5765 * sysdeps/wordsize-64/scandir.c: File removed.
5766 * sysdeps/wordsize-64/scandir64.c: File removed.
5767 * sysdeps/wordsize-64/scandirat.c: File removed.
5768 * sysdeps/wordsize-64/scandirat64.c: File removed.
5769 * sysdeps/wordsize-64/versionsort.c: File removed.
5770 * sysdeps/wordsize-64/versionsort64.c: File removed.
5771 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5772 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5773 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5774 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5775 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5776 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5777 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5778 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5780 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5781 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5782 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5783 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5784 [defined __arch64__ || defined __sparcv9]
5785 (__INO_T_MATCHES_INO64_T): New macro.
5786 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5787 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5788 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5789 * sysdeps/unix/sysv/linux/bits/dirent.h
5790 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5791 (_DIRENT_MATCHES_DIRENT64): New macro.
5793 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5794 Define lockf64 as an alias.
5795 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5796 Define fseeko64 as an alias.
5797 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5798 Define ftello64 as an alias.
5799 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5800 Define _IO_fgetpos64 and fgetpos64 as aliases.
5801 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5802 Define _IO_fsetpos64 and fsetpos64 as aliases.
5803 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5804 Conditionalize body on this.
5805 * libio/fseeko64.c: Likewise.
5806 * libio/ftello64.c: Likewise.
5807 * libio/iofgetpos64.c: Likewise.
5808 * libio/iofsetpos64.c: Likewise.
5809 * sysdeps/wordsize-64/lockf.c: File removed.
5810 * sysdeps/wordsize-64/lockf64.c: File removed.
5811 * sysdeps/wordsize-64/fseeko.c: File removed.
5812 * sysdeps/wordsize-64/fseeko64.c: File removed.
5813 * sysdeps/wordsize-64/ftello.c: File removed.
5814 * sysdeps/wordsize-64/ftello64.c: File removed.
5815 * sysdeps/wordsize-64/iofgetpos.c: File removed.
5816 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5817 * sysdeps/wordsize-64/iofsetpos.c: File removed.
5818 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5819 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5820 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5821 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5822 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5823 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5824 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5825 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5826 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5827 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5828 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5830 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5831 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5832 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5833 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5834 [defined __arch64__ || defined __sparcv9]
5835 (__OFF_T_MATCHES_OFF64_T): New macro.
5836 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5837 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5838 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5839 (__OFF_T_MATCHES_OFF64_T): New macro.
5841 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5843 * stdlib/secure-getenv.c (__secure_getenv): Replace
5844 GLIBC_2_16 with GLIBC_2_17.
5846 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5848 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5849 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5851 2012-08-03 David S. Miller <davem@davemloft.net>
5853 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5855 2012-08-03 Joseph Myers <joseph@codesourcery.com>
5857 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5859 (__ASSUME_CORRECT_SI_PID): Likewise.
5860 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5861 (__ASSUME_TMPFS_NAME): Likewise.
5862 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5863 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5864 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5865 (HAVE_AUX_SECURE): Make definition unconditional.
5866 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5867 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5869 2012-08-03 Roland McGrath <roland@hack.frob.com>
5871 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5872 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5873 * sysdeps/mach/hurd/eloop-threshold.h: New file.
5874 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5875 __eloop_threshold instead of SYMLOOP_MAX.
5877 * sysdeps/generic/eloop-threshold.h: New file.
5878 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5880 * elf/chroot_canon.c (chroot_canon): Likewise.
5882 2012-08-03 Joseph Myers <joseph@codesourcery.com>
5885 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5886 Change to 2.6.0 everywhere.
5887 * sysdeps/unix/sysv/linux/configure: Regenerated.
5888 * sysdeps/unix/sysv/linux/kernel-features.h
5889 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5890 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5892 (__ASSUME_POSIX_TIMERS): Define unconditionally.
5893 (__ASSUME_FUTEX_REQUEUE): Remove.
5894 (__ASSUME_STATFS64): Define unconditionally.
5895 (__ASSUME_AT_SECURE): Likewise.
5896 (__ASSUME_CORRECT_SI_PID): Likewise.
5897 (__ASSUME_TGKILL): Define without depending on kernel version for
5899 (__ASSUME_UTIMES): Likewise.
5900 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5902 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5903 (__ASSUME_TMPFS_NAME): Likewise.
5904 * README: Update reference to Linux kernel versions.
5906 2012-08-02 Marek Polacek <polacek@redhat.com>
5909 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
5910 libc_cv_asm_type_prefix with %.
5911 * configure: Regenerated.
5912 * include/libc-symbols.h: Remove comment about
5913 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5914 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5915 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5916 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5917 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5918 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5919 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5920 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5921 * elf/tst-unique2mod1.c: Likewise.
5922 * elf/tst-unique1mod2.c: Likewise.
5923 * elf/tst-unique1mod1.c: Likewise.
5924 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5925 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5926 Replace ASM_TYPE_DIRECTIVE with .type.
5927 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5928 * sysdeps/i386/sysdep.h: Likewise.
5929 * sysdeps/x86_64/sysdep.h: Likewise.
5930 * sysdeps/sh/sysdep.h: Likewise.
5931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5932 Do not define ASM_TYPE_DIRECTIVE.
5933 * sysdeps/powerpc/sysdep.h: Likewise.
5934 * sysdeps/powerpc/powerpc32/sysdep.h:
5935 Replace ASM_TYPE_DIRECTIVE with .type.
5936 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
5937 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5938 * sysdeps/i386/fpu/e_powf.S: Likewise.
5939 * sysdeps/i386/fpu/e_expl.S: Likewise.
5940 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5941 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5942 * sysdeps/i386/fpu/e_pow.S: Likewise.
5943 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5944 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5945 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5946 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5947 * sysdeps/i386/fpu/e_log2.S: Likewise.
5948 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5949 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5950 * sysdeps/i386/fpu/e_powl.S: Likewise.
5951 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5952 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5953 * sysdeps/i386/fpu/e_logl.S: Likewise.
5954 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5955 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5956 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5957 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5958 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5959 * sysdeps/i386/fpu/e_log.S: Likewise.
5960 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5961 * sysdeps/i386/fpu/e_logf.S: Likewise.
5962 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5963 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5964 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5965 * sysdeps/i386/fpu/e_log10.S: Likewise.
5966 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5967 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5968 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5969 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5970 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5971 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
5972 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5973 * sysdeps/i386/i686/strtok.S: Likewise.
5974 * sysdeps/i386/i386-mcount.S: Likewise.
5975 * sysdeps/i386/strtok.S: Likewise.
5976 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
5977 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5978 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5979 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5980 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
5981 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5982 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5983 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5984 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5985 * sysdeps/x86_64/_mcount.S: Likewise.
5986 * sysdeps/x86_64/strtok.S: Likewise.
5987 * sysdeps/sh/_mcount.S: Likewise.
5989 2012-08-01 Roland McGrath <roland@hack.frob.com>
5991 * libio/iofopen.c: Include <fcntl.h>.
5992 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5993 (_IO_fopen64, fopen64): Define as aliases.
5994 * libio/iofopen64.c: Include <fcntl.h>.
5995 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
5996 Conditionalize body on this.
5997 * sysdeps/wordsize-64/iofopen.c: File removed.
5998 * sysdeps/wordsize-64/iofopen64.c: File removed.
6000 2012-08-01 Marek Polacek <polacek@redhat.com>
6002 * libc/Makeconfig: Use elf in place of binfmt-subdir.
6003 Use dlfcn directly instead of a variable.
6004 (binfmt-subdir): Do not define.
6007 2012-08-01 Joseph Myers <joseph@codesourcery.com>
6009 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
6010 Remove all definitions.
6011 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
6012 <kernel-features.h>.
6013 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6014 (miss_F_GETOWN_EX): Remove all definitions.
6015 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
6017 [!__ASSUME_FCNTL64]: Remove conditional code.
6018 [__ASSUME_FCNTL64]: Make code unconditional.
6019 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
6020 <kernel-features.h>.
6021 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6022 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
6023 (lockf64) [__NR_fcntl64]: Make code unconditional.
6024 (lockf64) [__ASSUME_FCNTL64]: Likewise.
6026 * sysdeps/unix/sysv/linux/kernel-features.h
6027 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
6028 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
6029 Make code unconditional.
6030 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6031 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
6033 [__NR_vfork]: Make code unconditional.
6034 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6035 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
6037 [__NR_vfork]: Make code unconditional.
6038 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6039 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6041 2012-08-01 Roland McGrath <roland@hack.frob.com>
6043 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
6044 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
6046 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6047 Define mkstemp64 as an alias.
6048 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6049 Define mkstemps64 as an alias.
6050 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6051 Define mkostemp64 as an alias.
6052 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6053 Define mkostemps64 as an alias.
6054 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
6055 Conditionalize body on this.
6056 * misc/mkostemp64.c: Likewise.
6057 * misc/mkostemps64.c: Likewise.
6058 * misc/mkstemps64.c: Likewise.
6059 * sysdeps/wordsize-64/mkstemp64.c: File removed.
6060 * sysdeps/wordsize-64/mkostemp64.c: File removed.
6061 * sysdeps/wordsize-64/mkostemp.c: File removed.
6062 * sysdeps/wordsize-64/mkstemp.c: File removed.
6063 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
6064 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
6065 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
6066 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
6069 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
6070 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
6071 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
6072 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
6074 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
6075 compat_symbol macros from <shlib-compat.h> rather than the underlying
6076 default_symbol_version and symbol_version macros, so that DEFAULT
6077 lines in shlib-versions are respected.
6078 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
6080 2012-08-01 Florian Weimer <fweimer@redhat.com>
6082 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
6083 Declare with warn_unused_result.
6084 (setgid, setregid, setegid, setresgid): Likewise.
6085 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
6087 * WUR-REPORT: Remove set*id functions.
6089 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
6091 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
6093 2012-07-31 Roland McGrath <roland@hack.frob.com>
6095 * include/sys/socket.h (__libc_accept, __libc_accept4):
6096 Add attribute_hidden.
6097 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
6099 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
6101 * inet/getnetgrent_r.c (setup): Likewise.
6103 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
6105 2012-07-31 David S. Miller <davem@davemloft.net>
6107 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6109 2012-07-31 Joseph Myers <joseph@codesourcery.com>
6112 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
6113 value between 1.0 and 2.0 and smaller part has absolute value less
6115 * math/s_clog10.c (__clog10): Likewise.
6116 * math/s_clog10f.c (__clog10f): Likewise.
6117 * math/s_clog10l.c (__clog10l): Likewise.
6118 * math/s_clogf.c (__clogf): Likewise.
6119 * math/s_clogl.c (__clogl): Likewise.
6120 * math/libm-test.inc (clog_test): Add more tests.
6121 (clog10_test): Likewise.
6122 * sysdeps/i386/fpu/libm-test-ulps: Update.
6123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6125 2012-07-31 Florian Weimer <fweimer@redhat.com>
6127 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
6128 Exit with zero in case no suitable GID is found, and write a
6129 message to standard error.
6131 2012-07-30 Roland McGrath <roland@hack.frob.com>
6133 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
6135 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
6136 (MAXPATHLEN): Removed.
6137 (NOGROUP, NODEV): New macros.
6138 (setbit, clrbit, isset, isclr): New macros.
6139 (howmany, roundup, powerof2): New macros.
6140 (DEV_BSIZE): New macro.
6142 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
6143 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
6145 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
6146 definition on [!__NO_LONG_DOUBLE_MATH].
6148 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
6149 PTR_MANGLE and PTR_DEMANGLE.
6151 * socket/accept4.c (accept4): Rename to __libc_accept4.
6152 Define accept4 as a weak alias.
6154 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
6155 on [_DIRENT_HAVE_D_TYPE].
6156 * io/ftw.c (ftw_dir): Likewise.
6158 * io/xmknod.c (__xmknod): Don't check PATH for being null.
6160 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
6162 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
6163 Use the BSD numbers rather than the arbitrary ones we had.
6164 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
6165 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
6166 (SIGXCPU, SIGXFSZ): New macros.
6169 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
6170 initializer on [_LIBC_REENTRANT].
6172 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
6173 definitions inside [_POSIX_MAPPED_FILES].
6175 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
6177 * dirent/opendir.c: Include <fcntl.h>.
6179 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
6180 (__libc_getspecific): Likewise.
6181 (__libc_key_create): Likewise.
6183 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
6184 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
6185 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
6186 (tmpfile64): Define as alias.
6187 * sysdeps/wordsize-64/tmpfile.c: File removed.
6188 * sysdeps/wordsize-64/tmpfile64.c: File removed.
6189 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
6190 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
6192 * stdio-common/vfscanf.c: Include <stdbool.h>.
6193 * nss/makedb.c: Likewise.
6194 * stdio-common/_i18n_number.h: Likewise.
6195 * argp/argp-help.c: Likewise.
6196 * posix/wordexp.c: Likewise.
6197 * sysdeps/posix/spawni.c: Likewise.
6198 * nss/nss_files/files-initgroups.c: Likewise.
6199 * stdio-common/reg-modifier.c: Include <stdlib.h>.
6200 * nss/nss_files/files-initgroups.c: Likewise.
6201 * nss/nss_db/db-netgrp.c: Likewise.
6202 * nss/nss_db/db-initgroups.c: Likewise.
6203 * io/fchmodat.c: Include <sys/stat.h>.
6205 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
6206 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
6208 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
6211 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
6212 Add multiple inclusion protection.
6214 2012-07-27 David S. Miller <davem@davemloft.net>
6216 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6218 2012-07-27 Gary Benson <gbenson@redhat.com>
6221 * elf/rtld.c: Include <stap-probe.h>.
6222 (dl_main): Added static probes "init_start" and "init_complete".
6223 * elf/dl-load.c: Include <stap-probe.h>.
6224 (lose): Take new parameter "nsid".
6225 Added static probe "map_failed".
6226 (_dl_map_object_from_fd): Pass namespace id to lose.
6227 Added static probe "map_start".
6228 (open_verify): Pass namespace id to lose.
6229 * elf/dl-open.c: Include <stap-probe.h>.
6230 (dl_open_worker) Added static probes "map_complete", "reloc_start"
6231 and "reloc_complete".
6232 * elf/dl-close.c: Include <stap-probe.h>.
6233 (_dl_close_worker): Added static probes "unmap_start" and
6235 * elf/rtld-debugger-interface.txt: New file documenting the above.
6237 2012-07-26 Roland McGrath <roland@hack.frob.com>
6239 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
6240 rather than a string variable.
6241 * sunrpc/rpc_main.c (h_output): Likewise.
6242 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
6244 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
6246 * inet/check_native.c: New file.
6248 2012-07-26 Joseph Myers <joseph@codesourcery.com>
6251 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
6252 if larger part has absolute value 1.0.
6253 * math/s_clog10.c (__clog10): Likewise.
6254 * math/s_clog10f.c (__clog10f): Likewise.
6255 * math/s_clog10l.c (__clog10l): Likewise.
6256 * math/s_clogf.c (__clogf): Likewise.
6257 * math/s_clogl.c (__clogl): Likewise.
6258 * math/libm-test.inc (clog_test): Add more tests.
6259 (clog10_test): Likewise.
6260 * sysdeps/i386/fpu/libm-test-ulps: Update.
6261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6263 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
6264 (pltexit): Likewise.
6265 (La_regs): Likewise.
6266 (La_retval): Likewise.
6267 (int_retval): Likewise.
6268 Update #error for removed macros to refer only to definitions in
6270 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
6272 (pltexit): Likewise.
6273 (La_regs): Likewise.
6274 (La_retval): Likewise.
6275 (int_retval): Likewise.
6276 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
6278 (pltexit): Likewise.
6279 (La_regs): Likewise.
6280 (La_retval): Likewise.
6281 (int_retval): Likewise.
6282 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
6284 (pltexit): Likewise.
6285 (La_regs): Likewise.
6286 (La_retval): Likewise.
6287 (int_retval): Likewise.
6288 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
6290 (pltexit): Likewise.
6291 (La_regs): Likewise.
6292 (La_retval): Likewise.
6293 (int_retval): Likewise.
6294 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
6296 (pltexit): Likewise.
6297 (La_regs): Likewise.
6298 (La_retval): Likewise.
6299 (int_retval): Likewise.
6300 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
6302 (pltexit): Likewise.
6303 (La_regs): Likewise.
6304 (La_retval): Likewise.
6305 (int_retval): Likewise.
6306 * sysdeps/generic/tst-audit.h: Update comment to refer only to
6307 macro definitions in tst-audit.h.
6308 * sysdeps/i386/tst-audit.h: New file.
6309 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
6310 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
6311 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
6312 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
6313 * sysdeps/sh/tst-audit.h: Likewise.
6314 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
6315 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
6316 * sysdeps/x86_64/tst-audit.h: Likewise.
6318 2012-07-26 Andreas Jaeger <aj@suse.de>
6320 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
6323 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
6324 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
6325 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
6327 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
6328 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
6329 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
6331 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
6334 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
6336 (si_call_addr, si_syscall, si_arch): Define new macro.
6337 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
6339 (si_call_addr, si_syscall, si_arch): Define new marcro.
6340 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
6342 (si_call_addr, si_syscall, si_arch): Define new macro.
6343 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
6345 (si_call_addr, si_syscall, si_arch): Define new macro.
6347 2012-07-25 Joseph Myers <joseph@codesourcery.com>
6350 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6351 Change to 2.4.21 where previously 2.4.1.
6352 * sysdeps/unix/sysv/linux/configure: Regenerated.
6353 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
6354 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
6355 Linux kernel version.
6356 (__ASSUME_STD_AUXV): Remove.
6357 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
6359 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
6360 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
6361 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
6362 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
6363 (__ASSUME_NETLINK_SUPPORT): Likewise.
6364 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
6365 (__no_netlink_support): Remove conditional definition.
6366 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
6368 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6369 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
6370 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
6371 (if_nameindex_ioctl): Remove.
6372 (if_nameindex_netlink): Do not handle __no_netlink_support.
6373 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6375 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
6376 Remove conditional code.
6377 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6379 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
6381 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6382 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
6383 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
6385 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
6386 [!__ASSUME_STD_AUXV]: Remove conditional code.
6387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
6388 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
6389 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
6390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
6391 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
6392 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6394 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6396 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
6397 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6399 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
6401 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6404 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
6407 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6409 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6411 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6413 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6416 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6418 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6421 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6423 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6425 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6427 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6430 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6432 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6434 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6436 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6439 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
6441 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
6442 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
6443 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6444 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
6445 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
6446 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6447 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6448 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6449 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
6450 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6451 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
6452 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
6453 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
6454 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6455 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6456 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
6457 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
6458 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
6459 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
6460 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
6461 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
6462 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6463 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6465 2012-07-25 Florian Weimer <fweimer@redhat.com>
6467 * Versions.def: Add GLIBC_2.17.
6468 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
6469 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
6470 Introduce __libc_secure_getenv.
6471 * stdlib/Versions (2.17): Add secure_getenv
6472 (GLIBC_PRIVATE): Add __libc_secure_getenv.
6473 * stdlib/secure-getenv.c: Rename __secure_getenv to
6474 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
6475 symbol __secure_getenv for GLIBC_2.0.
6476 * stdlib/tst-secure-getenv.c: New.
6477 * stdlib/Makefile (tests): Add testcase.
6478 * manual/startup.texi (Environment Access): Document
6480 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
6481 __libc_secure_getenv.
6482 * inet/ruserpass.c (ruserpass): Likewise.
6483 * malloc/mtrace.c (mtrace): Likewise.
6484 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
6485 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
6486 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
6487 * sysdeps/posix/tempname.c: Likewise. Evaluate
6489 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
6490 __secure_getenv to __libc_secure_getenv.
6491 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
6492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6496 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6498 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6499 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6500 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6501 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6502 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6504 2012-07-25 Joseph Myers <joseph@codesourcery.com>
6506 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
6507 (struct La_i86_retval): Likewise.
6508 (struct La_x86_64_regs): Likewise.
6509 (struct La_x86_64_retval): Likewise.
6510 (struct La_x32_regs): Likewise.
6511 (struct La_x32_retval): Likewise.
6512 (struct La_ppc32_regs): Likewise.
6513 (struct La_ppc32_retval): Likewise.
6514 (struct La_ppc64_regs): Likewise.
6515 (struct La_ppc64_retval): Likewise.
6516 (struct La_sh_regs): Likewise.
6517 (struct La_sh_retval): Likewise.
6518 (struct La_s390_32_regs): Likewise.
6519 (struct La_s390_32_retval): Likewise.
6520 (struct La_s390_64_regs): Likewise.
6521 (struct La_s390_64_retval): Likewise.
6522 (struct La_sparc32_regs): Likewise.
6523 (struct La_sparc32_retval): Likewise.
6524 (struct La_sparc64_regs): Likewise.
6525 (struct La_sparc64_retval): Likewise.
6526 (struct audit_ifaces): Remove architecture-specific pltenter and
6528 * sysdeps/i386/ldsodefs.h: New file.
6529 * sysdeps/powerpc/ldsodefs.h: Likewise.
6530 * sysdeps/s390/ldsodefs.h: Likewise.
6531 * sysdeps/sh/ldsodefs.h: Likewise.
6532 * sysdeps/sparc/ldsodefs.h: Likewise.
6533 * sysdeps/x86_64/ldsodefs.h: Likewise.
6535 2012-07-25 Marek Polacek <polacek@redhat.com>
6538 * math/libm-test.inc (yn_test): Add another test.
6539 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
6540 to ERANGE when the result is +-Inf.
6541 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6542 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
6543 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
6544 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
6546 2012-07-24 Joseph Myers <joseph@codesourcery.com>
6548 * conform/data/time.h-data (NULL): Use macro-constant. Require
6550 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
6552 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
6554 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
6556 * configure.in <sysdeps resolving>: Correct printing
6558 * configure: Regenerate.
6560 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
6562 * math/w_ilogb.c: Include <limits.h>.
6563 * math/w_ilogbl.c: Likewise.
6565 2012-07-20 Joseph Myers <joseph@codesourcery.com>
6567 * manual/lang.texi (__va_copy): Document primarily as ISO C99
6568 va_copy. Document allowing for unavailable va_copy only as
6569 pre-C99 compatibility.
6570 * manual/string.texi (Copying and Concatenation): Use va_copy
6571 instead of __va_copy in concat example.
6573 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
6575 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
6576 (__sendto): Use create_address_port. Initialize APORT and deallocate
6579 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
6580 with O_NOLINK passed to __file_name_lookup.
6582 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
6583 with O_NOLINK passed to __file_name_lookup.
6585 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
6586 negative N or less than NGIDS.
6588 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
6589 type to string_t. Set ERANGE as errno and return it if NAME is not big
6590 enough. Use memcpy instead of strncpy.
6592 2012-07-20 Joseph Myers <joseph@codesourcery.com>
6594 * elf/Makefile (check-data): Remove.
6595 (localplt.data): New vpath directive.
6596 ($(objpfx)check-localplt.out): Use localplt.data from vpath
6597 instead of $(check-data).
6598 * scripts/data/localplt-generic.data: Move to ...
6599 * sysdeps/generic/localplt.data: ... here.
6600 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6601 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6602 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6605 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6608 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
6609 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
6611 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
6612 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6614 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
6615 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
6617 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
6618 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
6621 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6623 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
6624 PPC32 and PPC64 files.
6625 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
6626 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
6628 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6630 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6631 __makecontext_ret to ...
6632 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6633 ... here and call exit if uc_link is NULL. New file.
6634 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6635 __makecontext_ret.S.
6636 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6637 __makecontext_ret to ...
6638 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6639 ... here and call exit if uc_link is NULL. New file.
6640 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6641 __makecontext_ret.S.
6643 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6645 * elf/elf.h (R_390_IRELATIVE): New definition.
6646 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
6647 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
6648 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
6649 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6650 (elf_machine_lazy_rel): Likewise.
6651 * sysdeps/s390/dl-irel.h: New file.
6652 * sysdeps/s390/s390-64/memcpy.S: New asm code.
6653 * sysdeps/s390/s390-64/memset.S: New asm code.
6654 * sysdeps/s390/s390-64/memcmp.S: New asm code.
6655 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
6656 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
6657 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
6658 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
6659 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
6660 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
6661 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
6662 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
6663 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
6664 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
6665 * sysdeps/s390/s390-32/memcpy.S: New asm code.
6666 * sysdeps/s390/s390-32/memset.S: New asm code.
6667 * sysdeps/s390/s390-32/memcmp.S: New asm code.
6669 2012-07-17 Marek Polacek <polacek@redhat.com>
6672 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
6673 * sysdeps/s390/s390-64/configure.in: Likewise.
6674 * sysdeps/sparc/configure.in: Likewise.
6675 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
6676 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
6677 * sysdeps/i386/configure.in: Likewise.
6678 * sysdeps/x86_64/configure.in: Likewise.
6679 * sysdeps/sh/configure.in: Likewise.
6680 * sysdeps/s390/s390-32/configure: Regenerated.
6681 * sysdeps/s390/s390-64/configure: Likewise.
6682 * sysdeps/x86_64/configure: Likewise.
6683 * sysdeps/sh/configure: Likewise.
6684 * sysdeps/powerpc/powerpc64/configure: Likewise.
6685 * sysdeps/powerpc/powerpc32/configure: Likewise.
6686 * sysdeps/sparc/configure: Likwise.
6687 * sysdeps/i386/configure: Likewise.
6689 * elf/dl-open.c: Comment fixes.
6691 2012-07-17 Joseph Myers <joseph@codesourcery.com>
6693 * Makefile [CXX] (check-data): Remove.
6694 [CXX] (c++-types.data): New vpath directive.
6695 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
6696 vpath. Do not allow for C++ type data being missing.
6697 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
6698 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
6699 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
6700 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
6701 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
6702 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
6703 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
6704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6706 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
6707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6709 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
6710 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
6712 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
6713 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
6715 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
6716 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
6718 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
6719 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
6721 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
6722 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
6724 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
6725 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
6727 * elf/tls-macros.h (TLS_LE): Move architecture-specific
6728 definitions to architecture-specific files.
6732 * sysdeps/i386/tls-macros.h: New file.
6733 * sysdeps/powerpc/tls-macros.h: Likewise.
6734 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6735 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6736 * sysdeps/sh/tls-macros.h: Likewise.
6737 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
6738 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
6739 * sysdeps/x86_64/tls-macros.h: Likewise.
6741 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6743 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
6744 zero value for regular exit case.
6746 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6747 (__start_context): Preserve zero value for regular exit case.
6749 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6750 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6752 * manual/setjmp.texi (setcontext): Clarify normal process
6753 termination when uc_link is the null pointer.
6754 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6757 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
6759 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6760 preprocessor. Test for each exception mask separately.
6762 2012-07-16 Andreas Jaeger <aj@suse.de>
6764 * po/ru.po: Update from translation team.
6766 2012-07-15 Joseph Myers <joseph@codesourcery.com>
6768 * conform/data/string.h-data (NULL): Use macro-constant. Require
6770 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6771 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6772 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6773 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6774 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6776 2012-07-13 Andreas Jaeger <aj@suse.de>
6778 * po/fr.po: Update from translation team.
6780 2012-07-12 Marek Polacek <polacek@redhat.com>
6783 * math/libm-test.inc (yn_test): Add test for BZ #14173.
6784 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6787 2012-07-12 Joseph Myers <joseph@codesourcery.com>
6790 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6791 Change to 2.4.1 where previously 2.4.0.
6792 * sysdeps/unix/sysv/linux/configure: Regenerated.
6793 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6794 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6796 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6797 (__ASSUME_AT_CLKTCK): Remove.
6798 (__ASSUME_AT_PAGESIZE): Likewise.
6799 (__ASSUME_AT_XID): Likewise.
6800 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6801 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6802 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6804 (HAVE_AUX_PAGESIZE): Likewise.
6805 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6806 [__ASSUME_AT_CLKTCK]: Make code unconditional.
6807 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6809 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
6812 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6813 the temporary buffer used to invoke __gethostbyname2_r,
6814 __gethostbyaddr_r and gethostbyname4_r to make room for struct
6815 host_data / struct gaih_addrtuple.
6816 * resolv/nss_dns/dns-host.c (global scope): Move definition of
6817 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6818 header file nss/nsswitch.h.
6819 * nss/nsswitch.h (global scope): Add definition of implementation
6820 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6821 resolv/nss_dns/dns-host.c).
6823 2012-07-11 Andreas Jaeger <aj@suse.de>
6825 * po/fr.po: Update from translation team.
6827 * po/sv.po: Update from translation team
6828 * po/fr.po: Another update from translation team.
6830 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6832 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6833 for subnormals or multiply small sinh result by itself.
6834 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6835 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6837 2012-07-11 David S. Miller <davem@davemloft.net>
6839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6841 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
6844 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6845 (INTERNAL_MARK): Shift it here.
6847 2012-07-10 Marek Polacek <polacek@redhat.com>
6850 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
6851 libc_cv_asm_global_directive with .globl.
6852 * configure: Regenerated.
6853 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6855 * sysdeps/i386/configure: Regenerated.
6856 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6858 * sysdeps/x86_64/configure: Regenerated.
6859 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6860 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6861 * elf/tst-unique2mod2.c: Likewise.
6862 * elf/tst-unique2mod1.c: Likewise.
6863 * elf/tst-unique1mod2.c: Likewise.
6864 * elf/tst-unique1mod1.c: Likewise.
6865 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6866 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6867 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6868 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6869 * sysdeps/mach/sysdep.h: Likewise.
6870 * sysdeps/i386/sysdep.h: Likewise.
6871 * sysdeps/i386/i386-mcount.S: Likewise.
6872 * sysdeps/x86_64/_mcount.S: Likewise.
6873 * sysdeps/x86_64/sysdep.h: Likewise.
6874 * sysdeps/sh/_mcount.S: Likewise.
6875 * sysdeps/sh/sysdep.h: Likewise.
6876 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6877 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6878 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6879 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6880 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6881 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6882 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6883 * locale/localeinfo.h: Likewise.
6884 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6885 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6887 2012-07-09 Roland McGrath <roland@hack.frob.com>
6890 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6892 * manual/message.texi (The Uniforum approach): Likewise.
6893 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6894 (glibc iconv Implementation): Likewise.
6896 2012-07-09 Joseph Myers <joseph@codesourcery.com>
6899 * math/s_clog.c (__clog): Avoid scaling a value down where that
6900 could result in underflow.
6901 * math/s_clog10.c (__clog10): Likewise.
6902 * math/s_clog10f.c (__clog10f): Likewise.
6903 * math/s_clog10l.c (__clog10l): Likewise.
6904 * math/s_clogf.c (__clogf): Likewise.
6905 * math/s_clogl.c (__clogl): Likewise.
6906 * math/libm-test.inc (clog_test): Add more tests.
6907 (clog10_test): Likewise.
6908 * sysdeps/i386/fpu/libm-test-ulps: Update.
6909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6911 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6914 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6915 by 7 not 8 to examine high bit of fractional part.
6918 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6919 for call to __mcount_internal.
6920 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6921 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6922 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6924 2012-07-06 Joseph Myers <joseph@codesourcery.com>
6927 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6928 approximation for values within 0x1p-13f of an odd multiple of
6930 * math/libm-test.inc (tan_test): Do not allow spurious underflow
6931 exception. Add more tests.
6932 * sysdeps/i386/fpu/libm-test-ulps: Update.
6935 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
6936 inputs and return -1 for them. Do not check for +Inf in case not
6938 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6939 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
6940 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6941 and return -1 for them. Do not check for +Inf in case not
6943 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
6945 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
6946 and return -1 for them. Do not check for +Inf in case not
6948 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
6950 * sysdeps/i386/fpu/libm-test-ulps: Update.
6951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6953 2012-07-06 Mike Frysinger <vapier@gentoo.org>
6955 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
6957 2012-07-05 Joseph Myers <joseph@codesourcery.com>
6961 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
6962 could result in spurious underflow. Scale down values above
6963 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
6964 * math/s_csqrtf.c (__csqrtf): Likewise.
6965 * math/s_csqrtl.c (__csqrtl): Likewise.
6966 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
6968 * sysdeps/i386/fpu/libm-test-ulps: Update.
6969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6971 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
6973 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
6975 * catgets/xopen-msg.awk: New file.
6976 * catgets/xopen-msg.sed: Removed.
6978 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
6980 * intl/po2test.awk: New file.
6981 * intl/po2test.sed: Removed.
6983 2012-07-04 Joseph Myers <joseph@codesourcery.com>
6986 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
6987 or multiply small sinh result by itself.
6988 * math/s_ctanf.c (__ctanf): Likewise.
6989 * math/s_ctanh.c (__ctanh): Likewise.
6990 * math/s_ctanhf.c (__ctanhf): Likewise.
6991 * math/s_ctanhl.c (__ctanhl): Likewise.
6992 * math/s_ctanl.c (__ctanl): Likewise.
6993 * math/libm-test.inc (ctan_test_tonearest): New function.
6994 (ctan_test_towardzero): Likewise.
6995 (ctan_test_downward): Likewise.
6996 (ctan_test_upward): Likewise.
6997 (ctanh_test_tonearest): Likewise.
6998 (ctanh_test_towardzero): Likewise.
6999 (ctanh_test_downward): Likewise.
7000 (ctanh_test_upward): Likewise.
7001 (main): Call these new functions.
7002 * sysdeps/i386/fpu/libm-test-ulps: Update.
7003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7005 2012-07-03 Mike Frysinger <vapier@gentoo.org>
7007 * .gitignore: Delete /ports entry.
7009 2012-07-03 Andreas Jaeger <aj@suse.de>
7011 * po/bg.po: Update from translation team.
7012 * po/cs.po: Likewise.
7013 * po/de.po: Likewise.
7014 * po/hr.po: Likewise.
7015 * po/nl.pl: Likewise.
7016 * po/pl.po: Likewise.
7017 * po/vi.po: Likewise.
7019 2012-07-03 Joseph Myers <joseph@codesourcery.com>
7021 * Makeconfig [!+link] (+link-before-libc): New variable.
7022 [!+link] (+link-after-libc): Likewise.
7023 [!+link] (+link-tests): Likewise.
7024 [!+link] (+link): Define in terms of $(+link-before-libc) and
7025 $(+link-after-libc).
7026 [!+link-static] (+link-static-before-libc): New variable.
7027 [!+link-static] (+link-static-after-libc): Likewise.
7028 [!+link-static] (+link-static-tests): Likewise.
7029 [!+link-static] (+link-static): Define in terms of
7030 $(+link-static-before-libc) and $(+link-static-after-libc).
7031 [build-shared] (link-libc-before-gnulib): New variable.
7032 [build-shared] (link-libc-tests): Likewise.
7033 [build-shared] (link-libc): Define in terms of
7034 $(link-libc-before-gnulib).
7035 [!build-shared] (link-libc-tests): New variable.
7036 (link-libc-static-tests): New variable.
7037 [!gnulib] (gnulib-arch): New variable.
7038 [!gnulib] (gnulib-tests): Likewise.
7039 [!gnulib] (static-gnulib-arch): Likewise.
7040 [!gnulib] (static-gnulib-tests): Likewise.
7041 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
7042 Define with "=" instead of ":=".
7043 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
7044 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
7045 * Rules (binaries-all-notests): New variable.
7046 (binaries-all-tests): Likewise.
7047 (binaries-static-notests): Likewise.
7048 (binaries-static-tests): Likewise.
7049 (binaries-all): Define using $(binaries-all-notests) and
7050 $(binaries-all-tests).
7051 (binaries-static): Define using $(binaries-static-notests) and
7052 $(binaries-static-tests).
7053 (binaries-shared-tests): New variable.
7054 (binaries-shared-notests): Likewise.
7055 (binaries-shared): Remove variable.
7056 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
7057 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
7058 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
7059 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
7060 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
7061 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
7062 * elf/Makefile (sln-modules): New variable.
7063 (extra-objs): Add $(sln-modules:=.o).
7064 (ldconfig-modules): Add static-stubs.
7065 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
7066 * elf/static-stubs.c: New file.
7069 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
7070 by 7 not 8 to examine high bit of fractional part. Use volatile
7071 variables when splitting into final array of floats if
7072 __FLT_EVAL_METHOD__ != 0.
7073 * math/libm-test.inc (cos_test): Add another test.
7074 (sin_test): Likewise.
7075 * sysdeps/i386/fpu/libm-test-ulps: Update.
7078 * math/libm-test.inc (cosh_test): Add more tests.
7080 * version.h (RELEASE): Set to "development".
7081 (VERSION): Set to "2.16.90".
7083 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
7085 * NEWS: Update copyright. Remove last-updated date.
7086 Mention math library bug fixes and timezone data changes.
7087 * README: Mention GNU/Hurd, x32, and HPPA support status.
7089 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
7091 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
7093 2012-06-27 Andreas Jaeger <aj@suse.de>
7095 * manual/contrib.texi (Contributors): Add Samuel Thibault.
7097 2012-06-25 Andreas Jaeger <aj@suse.de>
7099 * sysdeps/s390/fpu/libm-test-ulps: Update.
7101 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
7102 Thomas Schwinge <thomas@codesourcery.com>
7104 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
7105 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
7106 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
7109 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
7111 * sysdeps/mach/start.c: Remove file.
7112 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
7113 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
7114 * sysdeps/sh/init-first.c: Likewise.
7116 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
7117 registers for frame unwinding purposes, add CFI directives.
7118 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7119 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
7120 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
7123 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
7124 __fortify_fail returning.
7125 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7127 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
7128 sysdeps/sh/____longjmp_chk.S.
7129 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
7130 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
7131 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
7132 (gen-as-const-headers): Append sigaltstack-offsets.sym.
7134 * sysdeps/sh/abort-instr.h: New file.
7135 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
7136 process in case exit returns.
7138 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
7139 initialize the GOT register before use.
7141 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
7142 calculation of ARGC > 4.
7144 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
7145 meaningful names to some local labels.
7147 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7148 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7150 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
7151 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
7152 (__arch_compare_and_exchange_val_16_acq): Likewise.
7153 (__arch_compare_and_exchange_val_32_acq): Likewise.
7154 (atomic_exchange_and_add): Fix gUSA sequence.
7155 (atomic_add): Likewise.
7156 (atomic_add_negative): Likewise.
7157 (atomic_add_zero): Likewise.
7158 (atomic_bit_test_set): Likewise.
7160 2012-06-22 Andreas Schwab <schwab@redhat.com>
7163 * include/link.h (struct link_map): Add l_free_initfini.
7164 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
7166 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
7167 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
7168 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
7171 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
7173 * configure.in: Use AC_LANG_SOURCE.
7174 * configure: Regenerate.
7176 2012-06-22 Roland McGrath <roland@hack.frob.com>
7178 * configure.in (libc_cv_localstatedir): New substituted variable.
7179 * configure: Regenerated.
7180 * config.make.in (localstatedir): New variable, substituted from
7181 libc_cv_localstatedir.
7182 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
7183 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
7184 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
7185 * sysdeps/gnu/configure: Regenerated.
7187 2012-06-21 Jeff Law <law@redhat.com>
7190 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
7191 free. Simplify list management for _LIBC case.
7193 2012-06-21 Joseph Myers <joseph@codesourcery.com>
7196 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
7197 Clear sign bit of 64-bit integer value before comparing against
7200 * sysdeps/mach/configure: Regenerated.
7202 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
7205 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
7207 2012-06-21 Jeff Law <law@redhat.com>
7210 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
7211 uint16_t for elements in the "seen" array to avoid char overflows.
7212 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7213 * elf/dl-open.c (dl_open_worker): Likewise.
7215 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
7217 * scripts/list-sources.sh: Scan PORTS for translations.
7218 * po/libc.pot: Regenerated.
7220 2012-06-21 Andreas Jaeger <aj@suse.de>
7223 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
7225 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
7226 * bits/byteswap-16.h (__bswap_16): Likewise.
7227 * bits/byteswap.h (__bswap_constant_16): Likewise.
7229 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
7232 * sysdeps/i386/fpu_control.h: Removed.
7233 * sysdeps/x86_64/fpu_control.h: Moved to ...
7234 * sysdeps/x86/fpu_control.h: Here.
7236 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
7237 (_FPU_SETCW): Likewise.
7239 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
7242 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
7243 * sysdeps/x86/fpu/bits/mathinline.h: This.
7244 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
7248 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
7249 functions if __x86_64__ is defined.
7251 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
7253 * string/endian.h: Add !__ASSEMBLER__ condition for including
7254 conversion interfaces.
7256 2012-06-15 Joseph Myers <joseph@codesourcery.com>
7259 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
7260 of ABS(x) in calculating zero to negative powers other than odd
7262 * math/libm-test.inc (pow_test): Add more tests.
7264 2012-06-15 Andreas Jaeger <aj@suse.de>
7266 * manual/contrib.texi (Contributors): Update entry of Liubov
7267 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
7270 2012-06-15 Cyril Hrubis <metan@ucw.cz>
7272 * string/string.h: Add __wur to GNU version of strerror_r.
7274 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
7277 * string/Makefile (tests): Add tst-strtok_r.
7278 * string/tst-strtok_r.c: New file.
7279 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
7280 RAX_LP/RDX_LP on SAVE_PTR.
7282 2012-06-14 Roland McGrath <roland@hack.frob.com>
7284 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
7286 2012-06-14 Joseph Myers <joseph@codesourcery.com>
7288 * libm_test.inc (csqrt_test): Allow more spurious underflow
7290 (j0_test): Likewise.
7291 (j1_test): Likewise.
7292 (y0_test): Likewise.
7293 (y1_test): Likewise.
7295 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
7297 * po/Makefile (libc.pot): Use UTF-8 charset.
7299 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
7302 Suppress sign-conversion warning from FD_SET.
7303 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
7304 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
7305 not unsigned long int.
7306 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
7308 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
7312 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
7313 __extern_always_inline instead of __extern_inline.
7314 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
7315 (__signbit): Likewise.
7316 (__signbitl): Support C++ namespace.
7317 (lrintf): New inline function.
7319 (llrintf): Likewise.
7331 (nearbyint): Likewise.
7332 (nearbyintf): Likewise.
7334 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
7336 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
7337 non-default versions.
7339 2012-06-11 Roland McGrath <roland@hack.frob.com>
7342 * manual/argp.texi (Argp): Reword argp_parse description slightly.
7344 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
7346 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
7347 (FE_UPWARD, FE_DOWNWARD): Don't define.
7348 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
7349 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7351 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
7353 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7354 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7356 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7358 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7359 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
7360 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
7361 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
7363 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
7366 * sysdeps/i386/fpu/bits/fenv.h: Removed.
7367 * sysdeps/i386/fpu/Implies: New file.
7368 * sysdeps/x86_64/fpu/Implies: Likewise.
7369 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
7370 * sysdeps/x86/fpu/bits/fenv.h: This.
7372 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
7375 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7378 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
7379 character 0xffff that matches the last element of the
7382 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7384 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
7387 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7389 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
7390 values higher than 25.6283.
7392 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7394 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
7395 subnormal exponent extraction and add some __builtin_expect.
7396 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
7397 Fix for subnormal mantissa calculation.
7399 2012-06-04 Mike Frysinger <vapier@gentoo.org>
7401 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
7402 cpu2 is -1 and errno is not ENOSYS.
7404 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
7407 * sysdeps/i386/i486/bits/string.h: Renamed to ...
7408 * sysdeps/x86/bits/string.h: This.
7409 * sysdeps/x86_64/bits/string.h: Removed.
7411 * sysdeps/i386/i486/bits/string.h: Define inline functions only
7412 if not compiling for x86-64, but compiling for >= i486.
7414 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
7415 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
7417 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
7418 New macro from Linux kernel 3.4.0.
7419 (FP_XSTATE_MAGIC2): Likewise.
7420 (FP_XSTATE_MAGIC2_SIZE): Likewise.
7421 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
7422 (struct _fpx_sw_bytes): New struct.
7423 (struct _xsave_hdr): Likewise.
7424 (struct _ymmh_state): Likewise.
7425 (struct _xstate): Likewise.
7427 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
7428 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
7429 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
7430 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
7431 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
7432 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
7434 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
7435 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
7436 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
7437 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
7438 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
7439 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
7441 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7444 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
7445 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
7446 (sysdep_headers): Include sys/platform/ppc.h.
7447 * sysdeps/powerpc/test-gettimebase.c: Test for
7448 __ppc_get_timebase() to catch future ISA opcode/insn changes.
7449 * manual/Makefile (appendices): Include platform.texi.
7450 * manual/contrib.texi (Contributors): Update @node pointers.
7451 * manual/maint.texi (Maintenance): Likewise.
7452 (Platform): New node.
7453 * manual/platform.texi: New file. Document the new features.
7455 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7456 Jakub Jelinek <jakub@redhat.com>
7459 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
7460 where __builtin_expect is unavailable.
7462 2012-06-03 David S. Miller <davem@davemloft.net>
7464 * stdlib/longlong.h: Updated from GCC.
7466 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
7469 * sysdeps/powerpc/powerpc32/mcount.c: New file.
7470 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
7472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7473 (GLIBC_2.16): Likewise.
7475 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7477 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
7479 2012-06-01 Joseph Myers <joseph@codesourcery.com>
7481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7482 (default-abi): New variable.
7483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
7484 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
7486 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
7488 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
7490 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
7493 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
7494 definition. Document in comment.
7496 2012-06-01 David S. Miller <davem@davemloft.net>
7498 * stdlib/longlong.h: Updated from GCC.
7500 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7503 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
7504 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
7505 sys/debugreg.h sys/io.h here.
7506 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
7507 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
7509 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
7510 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
7511 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
7512 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
7513 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
7514 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
7516 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
7517 Define only if __x86_64__ is defined.
7519 2012-06-01 Joseph Myers <joseph@codesourcery.com>
7522 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
7523 Use int64_t for variable i.
7524 * math/libm-test.inc (fmod_test): Add more tests.
7526 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
7527 z computation is not scheduled after fetestexcept.
7528 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
7529 Use math_force_eval instead of asm to ensure calculation scheduled
7530 before exception test.
7531 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
7532 Ensure a1 + u.d computation is not scheduled after fetestexcept.
7534 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
7536 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
7537 computation is not scheduled after fetestexcept.
7539 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7542 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
7543 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
7545 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7547 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
7548 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7550 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7553 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
7555 (__WCHAR_MIN): Support __WORDSIZE == 64.
7556 (__WCHAR_MAX): Likewise.
7558 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
7559 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
7562 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
7563 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
7566 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
7567 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
7569 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
7570 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
7572 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
7573 Defined to 1 if __x86_64__ isn't defined.
7574 (_STAT_VER_LINUX_OLD): New.
7575 (st_atime): Remove duplicate.
7576 (st_mtime): Likewise.
7577 (st_ctime): Likewise.
7579 2012-05-31 David S. Miller <davem@davemloft.net>
7581 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
7584 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
7586 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
7590 * elf/dl-reloc.c: Include <_itoa.h>.
7591 (_dl_reloc_bad_type): Remove use of INTUSE.
7592 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
7593 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
7594 * stdio-common/psiginfo.c (psiginfo): Likewise.
7595 * stdio-common/psignal.c (psignal): Likewise.
7596 * string/strsignal.c (strsignal): Likewise.
7597 * include/signal.h (_sys_siglist): Declare hidden proto.
7598 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
7599 INTVARDEF with libc_hidden_data_def.
7600 * stdio-common/itoa-udigits.c: Likewise.
7601 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7602 (_itoa_lower_digits_internal): Remove declaration.
7603 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7604 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7605 (_sys_sigabbrev_internal): Remove aliases.
7606 (_sys_siglist): Define hidden alias.
7608 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
7610 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7613 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7616 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
7617 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
7619 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
7620 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
7621 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
7622 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
7623 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
7624 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
7626 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
7627 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7628 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7630 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7638 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7639 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7640 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7642 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7643 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7644 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7645 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7646 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
7647 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
7649 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
7650 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
7652 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
7653 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
7655 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
7656 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
7657 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
7659 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
7660 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
7662 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
7664 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
7665 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
7666 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
7668 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
7670 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
7672 2012-05-31 Joseph Myers <joseph@codesourcery.com>
7674 * math/math.h (M_El): Use two more decimal places.
7675 (M_LOG2El): Likewise.
7676 (M_LOG10El): Likewise.
7678 (M_LN10l): Likewise.
7680 (M_PI_2l): Likewise.
7681 (M_PI_4l): Likewise.
7682 (M_1_PIl): Likewise.
7683 (M_2_PIl): Likewise.
7684 (M_2_SQRTPIl): Likewise.
7685 (M_SQRT2l): Likewise.
7686 (M_SQRT1_2l): Likewise.
7688 2012-05-31 David S. Miller <davem@davemloft.net>
7690 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
7691 values between float registers.
7692 * sysdeps/sparc/sparc64/memset.S: Likewise.
7693 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7695 2012-05-31 Mike Frysinger <vapier@gentoo.org>
7697 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
7698 -D_FORTIFY_SOURCE=1.
7699 (CPPFLAGS-tst-longjmp_chk.c): Define.
7700 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
7701 (CPPFLAGS-tst-longjmp_chk2.c): Define.
7702 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
7703 CFLAGS-tst-wchar-h.c.
7705 2012-05-31 Marek Polacek <polacek@redhat.com>
7708 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
7709 __endmntent_internal): Remove declaration.
7710 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
7711 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
7712 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
7714 2012-05-30 David S. Miller <davem@davemloft.net>
7716 * sysdeps/sparc/sparc32/soft-fp/q_util.c
7717 (___Q_simulate_exceptions): Use real FP ops rather than writing
7719 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
7722 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7725 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
7726 * sysdeps/x86/bits/xtitypes.h: This.
7728 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
7729 * sysdeps/x86/bits/wordsize.h: This.
7731 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
7732 * sysdeps/x86/bits/huge_vall.h: This.
7734 * sysdeps/i386/bits/select.h: Removed.
7735 * sysdeps/x86_64/bits/select.h: Renamed to ...
7736 * sysdeps/x86/bits/select.h: This.
7738 * sysdeps/i386/bits/setjmp.h: Removed.
7739 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
7740 * sysdeps/x86/bits/setjmp.h: This.
7742 * sysdeps/i386/bits/mathdef.h: Removed.
7743 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
7744 * sysdeps/x86/bits/mathdef.h: This.
7746 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
7749 * include/sys/socket.h (__connect_internal)
7750 (__libc_sa_len_internal): Remove declaration.
7751 (__connect, __libc_sa_len): Declare hidden_proto.
7752 (SA_LEN): Remove use of INTUSE.
7753 * socket/connect.c: Add libc_hidden_def.
7754 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7755 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7756 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7758 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7759 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7760 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7761 of adding _internal alias.
7763 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7766 * sysdeps/i386/bits/link.h: Removed.
7767 * sysdeps/i386/bits/linkmap.h: Likewise.
7768 * sysdeps/x86_64/bits/link.h: Renamed to ...
7769 * sysdeps/x86/bits/link.h: This.
7770 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7771 * sysdeps/x86/bits/linkmap.h: This.
7773 * sysdeps/i386/bits/endian.h: Removed.
7774 * sysdeps/x86_64/bits/endian.h: Renamed to ...
7775 * sysdeps/x86/bits/endian.h: This.
7777 * sysdeps/i386/bits/byteswap.h: Removed.
7778 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7779 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7780 * sysdeps/x86/bits/byteswap.h: This.
7781 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7782 * sysdeps/x86/bits/byteswap-16.h: This.
7783 * sysdeps/i386/Implies: Add x86.
7784 * sysdeps/x86_64/Implies: Likewise.
7786 2012-05-30 David S. Miller <davem@davemloft.net>
7788 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7789 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7790 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7791 (FP_TRAPPING_EXCEPTIONS): Define.
7792 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7793 (FP_TRAPPING_EXCEPTIONS): Define.
7794 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7795 subnormals only when inexact has been signalled or underflow
7796 exceptions are enabled.
7797 (_FP_PACK_CANONICAL): Likewise.
7799 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7802 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7803 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7805 2012-05-30 Richard Henderson <rth@twiddle.net>
7807 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7808 with #ifndef NOT_IN_libc.
7810 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
7811 marked to avoid plt entry.
7813 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7816 * Makeconfig (default-abi): New macro.
7817 (abi-includes): Likewise.
7818 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
7819 $(abi-$(default-abi)-lib-soname) for soname if defined.
7820 ($(common-objpfx)gnu/lib-names.stmp): Generate from
7822 * Makefile (installed-stubs): Likewise.
7823 * include/stubs-biarch.h: Removed.
7824 * scripts/lib-names.awk: Only handle one library at a time.
7825 * scripts/soversions.awk: Remove WORDSIZE support.
7826 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7828 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7830 (syscall-list-default-condition): Likewise.
7831 (syscall-list-default-condition): Likewise.
7832 (syscall-list-includes): Likewise.
7833 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7834 syscall-list-* with abi-*. Handle undefined abi-variants.
7835 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7836 * sysdeps/unix/sysv/linux/i386/Implies: New file.
7837 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7838 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7839 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7840 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7842 (syscall-list-32-options): Likewise.
7843 (syscall-list-32-condition): Likewise.
7844 (syscall-list-64-options): Likewise.
7845 (syscall-list-64-condition): Likewise.
7846 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7848 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7851 (abi-64-ld-soname): New macro.
7852 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7853 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7856 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7857 * sysdeps/x86_64/x32/shlib-versions: Likewise.
7859 2012-05-30 Joseph Myers <joseph@codesourcery.com>
7861 * sysdeps/unix/sysv/linux/kernel-features.h
7862 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7863 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7864 include <kernel-features.h>.
7865 [!__NR_ftruncate64]: Remove conditional code.
7866 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7867 [__NR_ftruncate64]: Make code unconditional.
7868 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7869 * sysdeps/unix/sysv/linux/truncate64.c: Do not
7870 include <kernel-features.h>.
7871 [!__NR_ftruncate64]: Remove conditional code.
7872 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7873 [__NR_ftruncate64]: Make code unconditional.
7874 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
7876 include <kernel-features.h>.
7877 [!__NR_ftruncate64]: Remove conditional code.
7878 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7879 [__NR_ftruncate64]: Make code unconditional.
7880 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7882 include <kernel-features.h>.
7883 [!__NR_ftruncate64]: Remove conditional code.
7884 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7885 [__NR_ftruncate64]: Make code unconditional.
7886 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7888 * configure.in (libc_cv_fpie): Weaken to a compile test using
7890 * configure: Regenerated.
7892 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7894 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7895 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7897 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7902 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7903 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7904 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7907 2012-05-27 David S. Miller <davem@davemloft.net>
7909 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7911 (__Q_simulate_exceptions): Return void. Change to simulate
7912 exceptions by writing into the %fsr.
7913 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7914 (__Qp_handle_exceptions): Likewise.
7916 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7917 __Qp_handle_exceptions.
7918 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7919 __Qp_handle_exceptions.
7920 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7921 as unused and give dummy FP_RND_NEAREST initializer.
7922 (FP_INHIBIT_RESULTS): Define.
7923 (___Q_simulate_exceptions): Update declaration.
7924 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7926 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7927 as unused and give dummy FP_RND_NEAREST initializer.
7928 (__Qp_handle_exceptions): Update declaration.
7929 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
7932 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
7934 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
7935 the temporary FPU control word.
7936 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
7937 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7938 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7939 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7940 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7941 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
7942 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
7943 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7944 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7945 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
7946 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7948 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7950 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
7953 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
7955 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
7956 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
7957 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
7958 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
7960 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
7961 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
7964 2012-05-27 Ulrich Drepper <drepper@gmail.com>
7966 * po/h.po: Update from translation team.
7968 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
7970 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
7972 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
7973 handling of denormals.
7974 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7975 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7976 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
7977 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
7978 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7979 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
7980 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
7983 2012-05-26 Marek Polacek <polacek@redhat.com>
7986 * math/libm-test.inc (fma_test): Don't always expect underflow
7989 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7992 * elf/tst-execstack.c: Include stackinfo.h.
7993 (do_test): Adjust test case to ensure that pthread_getattr_np
7994 behaviour remains the same after marking stack executable.
7996 2012-05-25 Joseph Myers <joseph@codesourcery.com>
7998 * sysdeps/unix/sysv/linux/kernel-features.h
7999 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
8000 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
8002 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8003 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8004 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
8006 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8007 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8009 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
8011 * configure.in: Define the default includes to being none.
8012 * configure: Regenerated.
8014 2012-05-25 Roland McGrath <roland@hack.frob.com>
8016 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
8017 * sysdeps/x86_64/setjmp.S: Likewise.
8018 * sysdeps/i386/bsd-setjmp.S: Likewise.
8019 * sysdeps/i386/bsd-_setjmp.S: Likewise.
8020 * sysdeps/i386/setjmp.S: Likewise.
8021 * sysdeps/i386/__longjmp.S: Likewise.
8022 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8023 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
8025 * include/stap-probe.h: New file.
8026 * configure.in: Handle --enable-systemtap.
8027 * configure: Regenerated.
8028 * config.h.in (USE_STAP_PROBE): New #undef.
8029 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
8030 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
8031 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8033 2012-05-25 Joseph Myers <joseph@codesourcery.com>
8036 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8037 to 2.4.0 where earlier.
8038 * sysdeps/unix/sysv/linux/configure: Regenerated.
8039 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8040 <kernel-features.h>.
8041 [__ASSUME_32BITUIDS]: Make code unconditional.
8042 [!__ASSUME_32BITUIDS]: Remove conditional code.
8043 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
8044 <kernel-features.h>.
8045 [__ASSUME_32BITUIDS]: Make code unconditional.
8046 [!__ASSUME_32BITUIDS]: Remove conditional code.
8047 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
8048 [__ASSUME_32BITUIDS]: Make code unconditional.
8049 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
8050 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
8051 <kernel-features.h>.
8052 [__ASSUME_32BITUIDS]: Make code unconditional.
8053 [!__ASSUME_32BITUIDS]: Remove conditional code.
8054 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
8055 <kernel-features.h>.
8056 [__ASSUME_32BITUIDS]: Make code unconditional.
8057 [!__ASSUME_32BITUIDS]: Remove conditional code.
8058 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
8059 <kernel-features.h>.
8060 [__ASSUME_32BITUIDS]: Make code unconditional.
8061 [!__ASSUME_32BITUIDS]: Remove conditional code.
8062 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
8063 <kernel-features.h>.
8064 [__ASSUME_32BITUIDS]: Make code unconditional.
8065 [!__ASSUME_32BITUIDS]: Remove conditional code.
8066 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8067 <kernel-features.h>.
8068 [__ASSUME_32BITUIDS]: Make code unconditional.
8069 [!__ASSUME_32BITUIDS]: Remove conditional code.
8070 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8071 <kernel-features.h>.
8072 [__ASSUME_32BITUIDS]: Make code unconditional.
8073 [!__ASSUME_32BITUIDS]: Remove conditional code.
8074 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
8075 <kernel-features.h>.
8076 [__ASSUME_32BITUIDS]: Make code unconditional.
8077 [!__ASSUME_32BITUIDS]: Remove conditional code.
8078 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8079 <kernel-features.h>.
8080 [__ASSUME_32BITUIDS]: Make code unconditional.
8081 [!__ASSUME_32BITUIDS]: Remove conditional code.
8082 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8083 <kernel-features.h>.
8084 [__ASSUME_32BITUIDS]: Make code unconditional.
8085 [!__ASSUME_32BITUIDS]: Remove conditional code.
8086 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
8087 <kernel-features.h>.
8088 [__ASSUME_32BITUIDS]: Make code unconditional.
8089 [!__ASSUME_32BITUIDS]: Remove conditional code.
8090 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
8091 <kernel-features.h>.
8092 [__NR_setresgid] (__setresgid): Do not declare.
8093 [__ASSUME_32BITUIDS]: Make code unconditional.
8094 [!__ASSUME_32BITUIDS]: Remove conditional code.
8095 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
8096 <kernel-features.h>.
8097 [__NR_setresuid] (__setresuid): Do not declare.
8098 [__ASSUME_32BITUIDS]: Make code unconditional.
8099 [!__ASSUME_32BITUIDS]: Remove conditional code.
8100 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
8101 <kernel-features.h>.
8102 [__ASSUME_32BITUIDS]: Make code unconditional.
8103 [!__ASSUME_32BITUIDS]: Remove conditional code.
8104 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
8105 <kernel-features.h>.
8106 [__ASSUME_32BITUIDS]: Make code unconditional.
8107 [!__ASSUME_32BITUIDS]: Remove conditional code.
8108 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
8109 <kernel-features.h>.
8110 [__ASSUME_32BITUIDS]: Make code unconditional.
8111 [!__ASSUME_32BITUIDS]: Remove conditional code.
8112 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
8113 <kernel-features.h>.
8114 [__ASSUME_32BITUIDS]: Make code unconditional.
8115 [!__ASSUME_32BITUIDS]: Remove conditional code.
8116 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
8117 <kernel-features.h>.
8118 [__ASSUME_32BITUIDS]: Make code unconditional.
8119 [!__ASSUME_32BITUIDS]: Remove conditional code.
8120 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
8121 <kernel-features.h>.
8122 [__ASSUME_32BITUIDS]: Make code unconditional.
8123 [!__ASSUME_32BITUIDS]: Remove conditional code.
8124 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
8125 <kernel-features.h>.
8126 [__ASSUME_32BITUIDS]: Make code unconditional.
8127 [!__ASSUME_32BITUIDS]: Remove conditional code.
8128 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
8129 <kernel-features.h>.
8130 [__ASSUME_32BITUIDS]: Make code unconditional.
8131 [!__ASSUME_32BITUIDS]: Remove conditional code.
8132 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
8133 <kernel-features.h>.
8134 [__ASSUME_32BITUIDS]: Make code unconditional.
8135 [!__ASSUME_32BITUIDS]: Remove conditional code.
8136 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8137 <kernel-features.h>.
8138 [__ASSUME_32BITUIDS]: Make code unconditional.
8139 [!__ASSUME_32BITUIDS]: Remove conditional code.
8140 * sysdeps/unix/sysv/linux/kernel-features.h
8141 (__ASSUME_SETRESUID_SYSCALL): Remove.
8142 (__ASSUME_SETRESGID_SYSCALL): Likewise.
8143 (__ASSUME_32BITUIDS): Likewise.
8144 (__ASSUME_LDT_WORKS): Likewise.
8145 (__ASSUME_O_DIRECTORY): Likewise.
8146 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
8147 architecture but not kernel version.
8148 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8149 (__ASSUME_MMAP2_SYSCALL): Likewise.
8150 (__ASSUME_STAT64_SYSCALL): Likewise.
8151 (__ASSUME_IPC64): Likewise.
8152 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
8153 <kernel-features.h>.
8154 [__ASSUME_32BITUIDS]: Make code unconditional.
8155 [!__ASSUME_32BITUIDS]: Remove conditional code.
8156 * sysdeps/unix/sysv/linux/opendir.c: Do not include
8157 <kernel-features.h>.
8158 [__ASSUME_O_DIRECTORY]: Make code unconditional.
8159 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
8160 132096]: Remove conditional code.
8161 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
8162 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8163 <kernel-features.h>.
8164 [__ASSUME_32BITUIDS]: Make code unconditional.
8165 [!__ASSUME_32BITUIDS]: Remove conditional code.
8166 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8167 <kernel-features.h>.
8168 [__ASSUME_32BITUIDS]: Make code unconditional.
8169 [!__ASSUME_32BITUIDS]: Remove conditional code.
8170 * sysdeps/unix/sysv/linux/setegid.c: Do not include
8171 <kernel-features.h>.
8172 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
8174 (__setresgid): Do not declare.
8175 [__ASSUME_32BITUIDS]: Make code unconditional.
8176 [!__ASSUME_32BITUIDS]: Remove conditional code.
8177 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
8178 <kernel-features.h>.
8179 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
8181 (__setresuid): Do not declare.
8182 [__ASSUME_32BITUIDS]: Make code unconditional.
8183 [!__ASSUME_32BITUIDS]: Remove conditional code.
8184 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8185 <kernel-features.h>.
8186 [__ASSUME_32BITUIDS]: Make code unconditional.
8187 [!__ASSUME_32BITUIDS]: Remove conditional code.
8188 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
8189 <kernel-features.h>.
8190 [__ASSUME_32BITUIDS]: Make code unconditional.
8191 [!__ASSUME_32BITUIDS]: Remove conditional code.
8193 2012-05-25 Richard Henderson <rth@twiddle.net>
8195 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
8196 dl_hwcap to ifunc resolver.
8197 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
8199 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
8200 dl_hwcap to ifunc resolver.
8201 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
8203 2012-05-24 Joseph Myers <joseph@codesourcery.com>
8206 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
8207 for |x| <= 2**-26, not 2**-57.
8208 * math/libm-test.inc (acos_test): Do not allow spurious underflow
8211 2012-05-24 Jeff Law <law@redhat.com>
8213 * stdio-common/Makefile (tests): Add bug25.
8214 * stdio-common/bug25.c: New test.
8216 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8219 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
8220 multiple of MALLOC_ALIGNMENT in size.
8221 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
8223 2012-05-24 Joseph Myers <joseph@codesourcery.com>
8225 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
8227 (FILENAME_MAX): Use macro-int-constant.
8228 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
8229 (_IOFBF): Use macro-int-constant.
8232 (SEEK_CUR): Likewise.
8233 (SEEK_END): Likewise.
8234 (SEEK_SET): Likewise.
8235 (TMP_MAX): Likewise.
8236 (EOF): Use macro-int-constant. Require < 0.
8237 (NULL): Use macro-constant. Require == 0.
8238 (stdin): Require type to be FILE *.
8241 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
8243 (EXIT_SUCCESS): Likewise.
8244 (NULL): Use macro-constant. Require == 0.
8245 (RAND_MAX): Use macro-int-constant.
8246 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
8247 [C99-based standards] (strtof): Require function.
8248 [C99-based standards] (strtold): Likewise.
8249 [C99-based standards] (strtoll): Likewise.
8250 [C99-based standards] (strtoull): Likewise.
8251 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8252 [ISO || ISO99 || ISO11] (limits.h): Likewise.
8253 [ISO || ISO99 || ISO11] (math.h): Likewise.
8254 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
8255 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8256 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8258 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
8261 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
8262 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
8263 * intl/dgettext.c (DCGETTEXT): Likewise.
8264 * intl/gettext.c (DCGETTEXT): Likewise.
8265 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
8266 * posix/regex_internal.h (gettext): Likewise.
8267 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
8269 * include/argz.h (__argz_count_internal)
8270 (__argz_stringify_internal): Remove declaration.
8271 (__argz_count, __argz_stringify): Declare hidden proto.
8272 * intl/dcgettext.c: Remove use of INTDEF.
8273 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
8274 * string/argz-stringify.c: Likewise.
8275 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8276 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8277 Declare hidden proto.
8278 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8279 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8280 Declare hidden proto.
8281 * include/stdio.h (__asprintf_internal): Don't declare.
8282 (__asprintf): Don't define as macro. Declare hidden proto.
8283 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
8284 (__fsetlocking): Declare hidden proto.
8285 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
8286 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
8288 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
8289 (_IO_setlinebuf): Remove use of INTUSE.
8290 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
8291 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
8292 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
8294 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
8295 (_IO_do_flush): Remove use of INTUSE.
8296 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
8297 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
8298 (_IO_adjust_column, _IO_least_wmarker)
8299 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
8300 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
8301 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
8302 (_IO_default_doallocate, _IO_wdefault_doallocate)
8303 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
8304 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
8305 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
8306 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
8307 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
8308 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
8309 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
8310 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
8311 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
8312 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
8313 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
8314 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
8315 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
8317 (_IO_flush_all_internal, _IO_adjust_column_internal)
8318 (_IO_default_uflow_internal, _IO_default_finish_internal)
8319 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
8320 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
8321 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
8322 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
8323 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
8324 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
8325 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
8326 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
8327 (_IO_file_close_internal, _IO_file_close_it_internal)
8328 (_IO_file_underflow_internal, _IO_file_overflow_internal)
8329 (_IO_file_init_internal, _IO_file_attach_internal)
8330 (_IO_file_fopen_internal, _IO_file_read_internal)
8331 (_IO_file_sync_internal, _IO_file_seek_internal)
8332 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
8333 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
8334 (_IO_str_underflow_internal, _IO_str_overflow_internal)
8335 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
8336 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
8337 (_IO_list_all_internal, _IO_link_in_internal)
8338 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
8339 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
8340 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
8341 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
8342 (_IO_do_write_internal, _IO_padn_internal)
8343 (_IO_getline_info_internal, _IO_getline_internal)
8344 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
8345 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
8346 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
8347 (_IO_vfscanf_internal, _IO_vfprintf_internal)
8348 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
8349 (_IO_init_internal, _IO_un_link_internal): Don't declare.
8350 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
8351 with libc_hidden_ver, remove use of INTUSE.
8352 * libio/genops.c: Likewise.
8353 * libio/freopen.c: Likewise.
8354 * libio/freopen64.c: Likewise.
8355 * libio/iofclose.c: Likewise.
8356 * libio/iofdopen.c: Likewise.
8357 * libio/iofflush.c: Likewise.
8358 * libio/iofflush_u.c: Likewise.
8359 * libio/iofgets.c: Likewise.
8360 * libio/iofgets_u.c: Likewise.
8361 * libio/iofopen.c: Likewise.
8362 * libio/iofopncook.c: Likewise.
8363 * libio/iofread.c: Likewise.
8364 * libio/iofread_u.c: Likewise.
8365 * libio/ioftell.c: Likewise.
8366 * libio/iofwrite.c: Likewise.
8367 * libio/iogetline.c: Likewise.
8368 * libio/iogets.c: Likewise.
8369 * libio/iogetwline.c: Likewise.
8370 * libio/iopadn.c: Likewise.
8371 * libio/iopopen.c: Likewise.
8372 * libio/ioseekoff.c: Likewise.
8373 * libio/ioseekpos.c: Likewise.
8374 * libio/iosetbuffer.c: Likewise.
8375 * libio/iosetvbuf.c: Likewise.
8376 * libio/ioungetc.c: Likewise.
8377 * libio/ioungetwc.c: Likewise.
8378 * libio/iovdprintf.c: Likewise.
8379 * libio/iovsprintf.c: Likewise.
8380 * libio/iovsscanf.c: Likewise.
8381 * libio/memstream.c: Likewise.
8382 * libio/obprintf.c: Likewise.
8383 * libio/oldfileops.c: Likewise.
8384 * libio/oldiofclose.c: Likewise.
8385 * libio/oldiofdopen.c: Likewise.
8386 * libio/oldiofopen.c: Likewise.
8387 * libio/oldiopopen.c: Likewise.
8388 * libio/oldstdfiles.c: Likewise.
8389 * libio/putc.c: Likewise.
8390 * libio/setbuf.c: Likewise.
8391 * libio/setlinebuf.c: Likewise.
8392 * libio/stdfiles.c: Likewise.
8393 * libio/strops.c: Likewise.
8394 * libio/vasprintf.c: Likewise.
8395 * libio/vscanf.c: Likewise.
8396 * libio/vsnprintf.c: Likewise.
8397 * libio/vswprintf.c: Likewise.
8398 * libio/wfiledoalloc.c: Likewise.
8399 * libio/wfileops.c: Likewise.
8400 * libio/wgenops.c: Likewise.
8401 * libio/wmemstream.c: Likewise.
8402 * libio/wstrops.c: Likewise.
8403 * libio/__fpurge.c: Likewise.
8404 * libio/__fsetlocking.c: Likewise.
8405 * assert/assert.c: Likewise.
8406 * debug/fgets_chk.c: Likewise.
8407 * debug/fgets_u_chk.c: Likewise.
8408 * debug/fread_chk.c: Likewise.
8409 * debug/fread_u_chk.c: Likewise.
8410 * debug/gets_chk.c: Likewise.
8411 * debug/obprintf_chk.c: Likewise.
8412 * debug/vasprintf_chk.c: Likewise.
8413 * debug/vdprintf_chk.c: Likewise.
8414 * debug/vsnprintf_chk.c: Likewise.
8415 * debug/vsprintf_chk.c: Likewise.
8416 * malloc/mtrace.c: Likewise.
8417 * misc/error.c: Likewise.
8418 * misc/syslog.c: Likewise.
8419 * stdio-common/asprintf.c: Likewise.
8420 * stdio-common/fxprintf.c: Likewise.
8421 * stdio-common/getw.c: Likewise.
8422 * stdio-common/isoc99_fscanf.c: Likewise.
8423 * stdio-common/isoc99_scanf.c: Likewise.
8424 * stdio-common/isoc99_vfscanf.c: Likewise.
8425 * stdio-common/isoc99_vscanf.c: Likewise.
8426 * stdio-common/isoc99_vsscanf.c: Likewise.
8427 * stdio-common/printf-prs.c: Likewise.
8428 * stdio-common/printf_fp.c: Likewise.
8429 * stdio-common/printf_fphex.c: Likewise.
8430 * stdio-common/printf_size.c: Likewise.
8431 * stdio-common/putw.c: Likewise.
8432 * stdio-common/scanf.c: Likewise.
8433 * stdio-common/sprintf.c: Likewise.
8434 * stdio-common/tmpfile.c: Likewise.
8435 * stdio-common/vfprintf.c: Likewise.
8436 * stdio-common/vfscanf.c: Likewise.
8437 * stdlib/strfmon_l.c: Likewise.
8438 * sunrpc/openchild.c: Likewise.
8439 * sunrpc/xdr_stdio.c: Likewise.
8440 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8441 * sysdeps/mach/hurd/tmpfile.c: Likewise.
8443 2012-05-24 Roland McGrath <roland@hack.frob.com>
8445 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8447 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
8448 in the third column, to generate for the shared library an IFUNC
8449 that uses _dl_vdso_vsym.
8450 * Makerules (COMPILE.c, compile-stdin.c): New variables.
8451 * Makeconfig (object-suffixes-noshared): New variable.
8453 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
8454 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
8455 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
8456 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
8459 * include/sys/time.h (__gettimeofday): Remove macro.
8460 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
8461 * time/gettimeofday.c (__gettimeofday): Remove #undef.
8463 (__gettimeofday): Add libc_hidden_def.
8464 (gettimeofday): Add libc_hidden_weak.
8465 * sysdeps/mach/gettimeofday.c: Likewise.
8466 * sysdeps/posix/gettimeofday.c: Likewise.
8467 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8468 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
8469 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
8470 (__gettimeofday_internal): Remove strong_alias.
8471 (__gettimeofday): Add libc_hidden_def.
8472 (gettimeofday): Add libc_hidden_weak.
8473 * sysdeps/unix/syscalls.list (gettimeofday):
8474 Remove __gettimeofday_internal alias.
8476 2012-05-24 Daniel Jacobowitz <drow@false.org>
8477 H.J. Lu <hongjiu.lu@intel.com>
8480 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
8481 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
8482 (largebin_index_32_big): New.
8483 (largebin_index): Use it for 16-byte alignment.
8484 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
8485 correction with front_misalign.
8487 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8489 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
8490 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8492 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
8494 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8496 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
8498 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
8500 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
8502 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
8504 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8506 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
8508 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
8510 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8512 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
8515 * scripts/data/c++-types-x32-linux-gnu.data: New file.
8516 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
8518 2012-05-24 Joseph Myers <joseph@codesourcery.com>
8522 * math/libm-test.inc (exp_test): Add test from bug 14036.
8523 (pow_test): Add test from bug 10846.
8525 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
8527 (special_function): Do not include flags in test name.
8528 (parse_args): Likewise.
8529 * sysdeps/i386/fpu/libm-test-ulps: Update.
8530 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8531 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8532 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8535 * math/gen-libm-test.pl (%beautify): Add entries for underflow
8537 * math/libm-test.inc ("Philosophy"): Update comment about
8539 (UNDERFLOW_EXCEPTION): New macro.
8540 (UNDERFLOW_EXCEPTION_OK): Likewise.
8541 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8542 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8543 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8544 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8545 (INVALID_EXCEPTION_OK): Update value.
8546 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8547 (OVERFLOW_EXCEPTION_OK): Likewise.
8548 (IGNORE_ZERO_INF_SIGN): Likewise.
8549 (test_exceptions): Handle underflow exceptions.
8550 (acos_test): Update for underflow exception expectations.
8551 (cexp_test): Likewise.
8552 (clog_test): Likewise.
8553 (clog10_test): Likewise.
8554 (csqrt_test): Likewise.
8555 (ctan_test): Likewise.
8556 (ctanh_test): Likewise.
8557 (exp_test): Likewise.
8558 (exp10_test): Likewise.
8559 (exp2_test): Likewise.
8560 (expm1_test): Likewise.
8561 (fma_test): Likewise.
8562 (j0_test): Likewise.
8563 (jn_test): Likewise.
8564 (nexttoward_test): Likewise.
8565 (pow_test): Likewise.
8566 (scalbn_test): Likewise.
8567 (scalbln_test): Likewise.
8568 (tan_test): Likewise.
8569 (y1_test): Likewise.
8570 * sysdeps/i386/fpu/libm-test-ulps: Update.
8571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8573 2012-05-23 David S. Miller <davem@davemloft.net>
8575 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8576 (__libc_sigaction): Remove unused local variables.
8578 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8580 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
8582 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
8584 mktime: avoid signed integer overflow
8585 * time/mktime.c (__mktime_internal): Do not mishandle the case
8586 where diff == INT_MIN.
8588 mktime: simplify computation of average
8589 * time/mktime.c (ranged_convert): Use new time_t_avg function
8590 instead of rolling our own (probably-slower) code.
8592 mktime: do not assume signed right shift propagates sign bit
8593 * time/mktime.c (isdst_differ): New static function.
8594 (__mktime_internal): No need to normalize tm_isdst now.
8595 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8598 mktime: merge another wrapv change from gnulib
8599 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8600 from some compilers.
8602 mktime: remove incorrect attempt at unusual arithmetics
8603 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8604 The code didn't really work on such machines anyway.
8605 (TYPE_MINIMUM): Assume two's complement.
8606 (twos_complement_arithmetic): Verify that long_int and time_t
8607 are two's complement (or unsigned, in the latter case).
8609 mktime: check signed shifts on long_int and time_t, too
8610 * time/mktime.c (SHR): Check that shifts work as desired
8611 on the types long_int and time_t too, as SHR is used on
8614 mktime: do not assume 'long' is wide enough
8615 * time/mktime.c (verify): Move decl up.
8616 (long_int): New type.
8617 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
8618 to remove assumption in the code that 'long' is wide enough to
8619 store year values. This assumption is not true on x32 and on
8620 some non-glibc platforms.
8622 mktime: merge wrapv change from gnulib
8623 * time/mktime.c (WRAPV): New macro.
8624 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
8625 (guess_time_tm, __mktime_internal): Do not assume that signed
8626 integer overflow wraps around; modern compilers generate code
8627 where this assumption is no longer valid.
8629 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8631 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8632 Replace "jmp L(pseudo_end)" with "ret".
8633 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8636 2012-05-23 Andreas Jaeger <aj@suse.de>
8638 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8639 * sysdeps/unix/sysv/linux/poll.c: Remove file.
8641 2012-05-23 Andreas Jaeger <aj@suse.de>
8642 Maximilian Attems <max@stro.at>
8644 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8647 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8649 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
8650 code so that pseudo_end is just ret and the stack pointer is
8651 correct also for static library in error case.
8653 2012-05-23 Joseph Myers <joseph@codesourcery.com>
8655 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
8656 move to syscalls.list.
8657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8662 * manual/install.texi (Running make install): Do not mention Linux
8663 kernel version for which pt_chown is not needed.
8664 (Linux): Do not mention problems with nscd with 2.0 kernels.
8665 * INSTALL: Regenerated.
8667 2012-05-23 Andreas Jaeger <aj@suse.de>
8669 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
8670 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
8672 * sysdeps/unix/sysv/linux/s390/bits/mman.h
8673 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8674 * sysdeps/unix/sysv/linux/sh/bits/mman.h
8675 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8676 * sysdeps/unix/sysv/linux/i386/bits/mman.h
8677 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8678 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
8679 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8680 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
8681 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8682 * sysdeps/unix/sysv/linux/bits/in.h
8683 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
8685 2012-05-22 Roland McGrath <roland@hack.frob.com>
8687 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
8688 (PREPARE_VERSION): Just use assert instead, it will be elided
8689 under [NDEBUG] anyway.
8691 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8693 * sysdeps/unix/sysv/linux/Makefile: Include
8694 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
8695 (sysdep_routines): Remove sysctl.
8696 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
8697 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
8698 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
8699 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
8700 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
8702 2012-05-22 Andreas Jaeger <aj@suse.de>
8704 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
8705 that pseudo_end is just ret and the stack pointer is correct also
8706 for static library in error case.
8708 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8711 * nss/nsswitch.c (defconfig_entries): New variable.
8712 (__nss_database_lookup): Don't leak defconfig entries.
8713 (nss_parse_service_list): Don't leak on error paths.
8714 (free_database_entries): New function.
8715 (free_defconfig): New function.
8716 (free_mem): Move common code to free_database_entries.
8718 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8720 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
8722 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
8724 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8725 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
8726 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
8728 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8729 (INTERNAL_SYSCALL_TYPES): Likewise.
8730 (LOAD_ARGS_TYPES_[1-6]): Likewise.
8731 (LOAD_REGS_TYPES_[1-6]): Likewise.
8732 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
8733 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
8735 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8737 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
8738 copysignl for GLIBC_2_0.
8739 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
8740 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
8741 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
8742 logbl for GLIBC_2_0.
8743 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8744 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8746 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8748 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8749 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8751 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8754 * time/mktime.c: Update copyright years.
8756 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
8758 mktime: merge comment-quoting-style change from gnulib
8759 * time/mktime.c: Quote 'like this' in comments.
8760 The GNU coding standards suggest that we no longer quote `like this',
8761 as "`" and "'" are typically rendered asymmetrically nowadays.
8762 The typical gnulib style is to quote 'like this' when quoting
8763 code, and "like this" when quoting English.
8765 * time/mktime.c (compile-command): Add "-I.".
8767 mktime: merge mktime-internal.h change from gnulib
8768 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8770 mktime: merge time_r change from gnulib
8771 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8773 mktime: merge DEBUG change from gnulib
8774 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8775 case system <time.h> has a #define.
8777 mktime: merge <sys/types.h> change from gnulib
8778 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8779 since <time.t> is now guaranteed to define time_t.
8781 mktime: merge HAVE_CONFIG_H change from gnulib
8782 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8784 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8786 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8789 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8791 (struct rusage): Use anonymous union to pad each field to
8794 2012-05-21 David S. Miller <davem@davemloft.net>
8796 * Makefules (o-iterator): Remove .s cases.
8797 (compile-command.s): Delete.
8798 (COMPILE.s): Delete.
8799 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8801 2012-05-21 Joseph Myers <joseph@codesourcery.com>
8803 * configure.in (libc_cv_predef_stack_protector): Only consider
8804 "foobar" and "__stack_chk_fail" lines in libc_undefs.
8805 * configure: Regenerated.
8807 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8809 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8810 New macro. Use R*LP on int and pointer.
8811 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
8812 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8813 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
8814 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8816 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8817 [__WORDSIZE_TIME64_COMPAT32] instead of
8818 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8819 (struct utmp): Likewise.
8820 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8821 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8823 (__WORDSIZE_TIME64_COMPAT32): This.
8824 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8825 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8826 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8827 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8828 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8829 (__WORDSIZE_TIME64_COMPAT32): New macro.
8831 2012-05-21 Andreas Jaeger <aj@suse.de>
8833 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8834 only if [SHARED]. Add prototype for __wcschr_ia32.
8836 2012-05-21 Roland McGrath <roland@hack.frob.com>
8838 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8839 of %rbp unmolested in the jmp_buf while mangling the low bits.
8840 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8841 unmolested high bits of %rbp while demangling the low bits.
8842 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8844 2012-05-21 Andreas Jaeger <aj@suse.de>
8846 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8847 * sunrpc/svc_simple.c: Use it for registerrpc.
8848 * sunrpc/xcrypt.c: Use it for passwd2des.
8850 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8852 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8854 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8855 Don't define if [__SYSCALL_WORDSIZE != 32].
8856 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8859 2012-05-21 Bruno Haible <bruno@clisp.org>
8860 Andreas Jaeger <aj@suse.de>
8862 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8863 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8864 inptr and inend for must_buffer_ch.
8865 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8866 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8867 * stdio-common/Makefile (tests): Remove bug15.
8868 (bug15-ENV): Remove macro.
8869 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8872 2012-05-19 Andreas Jaeger <aj@suse.de>
8873 Roland McGrath <roland@hack.frob.com>
8875 * manual/contrib.texi: Completely rewritten. It contains now an
8876 alphabetical list of contributors and their contributions.
8878 2012-05-21 Richard Henderson <rth@twiddle.net>
8880 * misc/getauxval.c (__getauxval): Use unsigned long int.
8881 * misc/sys/auxv.h: Include <sys/cdefs.h>.
8882 (getauxval): Use unsigned long int.
8884 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8886 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8888 2012-05-21 Roland McGrath <roland@hack.frob.com>
8890 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8891 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8892 __alignof__ (long double).
8894 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8896 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8898 2012-05-20 Richard Henderson <rth@twiddle.net>
8900 * misc/getauxval.c: New file.
8901 * misc/sys/auxv.h: New file.
8902 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8903 (routines): Add getauxval.
8904 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8905 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8906 * elf/dl-sysdep.c (_dl_auxv): Remove.
8907 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8908 * elf/dl-support.c (_dl_auxv): New variable.
8909 (_dl_aux_init): Initialize it.
8910 * manual/startup.texi (Auxiliary Vector): New node.
8911 * sysdeps/generic/bits/hwcap.h: New file.
8912 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8913 * sysdeps/powerpc/sysdep.h: ... here. Include it.
8914 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8915 * sysdeps/sparc/sysdep.h: ... here. Include it.
8916 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8917 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
8918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8921 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8923 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8924 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8925 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8926 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8927 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8929 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8931 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8933 2012-05-19 David S. Miller <davem@davemloft.net>
8935 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8937 2012-05-19 Joseph Myers <joseph@codesourcery.com>
8940 * math/s_ccosh.c: Include <float.h>
8941 (__ccosh): Avoid internal overflow calculating sinh and cosh
8942 values before multiplying by sin and cos values.
8943 * math/s_ccoshf.c: Likewise.
8944 * math/s_ccoshl.c: Likewise.
8945 * math/s_csin.c: Likewise.
8946 * math/s_csinf.c: Likewise.
8947 * math/s_csinl.c: Likewise.
8948 * math/s_csinh.c: Likewise.
8949 * math/s_csinhf.c: Likewise.
8950 * math/s_csinhl.c: Likewise.
8951 * math/libm-test.inc (ccos_test): Add more tests.
8952 (ccosh_test): Likewise.
8953 (csin_test): Likewise.
8954 (csinh_test): Likewise.
8955 * sysdeps/i386/fpu/libm-test-ulps: Update.
8956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8958 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
8960 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
8961 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
8963 * sysdeps/x86_64/x32/_itoa.h: Add comment.
8965 2012-05-19 Joseph Myers <joseph@codesourcery.com>
8967 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
8968 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
8969 * sysdeps/powerpc/soft-fp/Versions: Likewise.
8970 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
8971 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
8972 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
8973 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
8974 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
8975 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
8976 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
8977 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
8978 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
8979 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
8980 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
8981 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
8982 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
8983 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
8984 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
8985 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
8986 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
8987 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
8988 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
8989 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
8990 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
8991 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
8992 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
8993 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
8994 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
8995 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
8996 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
8997 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
8999 2012-05-18 Andreas Jaeger <aj@suse.de>
9001 * csu/.gitignore: Delete.
9003 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9005 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
9006 (timex): Use __syscall_slong_t.
9008 2012-05-18 Andreas Jaeger <aj@suse.de>
9009 Carlos O'Donell <carlos_odonell@mentor.com>
9011 * manual/install.texi (Configuring and compiling): Update
9012 description about files modified in the source directory.
9013 * INSTALL: Regenerated.
9015 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9017 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
9018 value. Use "or" to set return value to -1.
9019 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
9020 negate return value.
9022 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9024 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
9025 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
9026 failure if the compiler has Graphite support disabled.
9027 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
9029 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
9030 CFLAGS-memmove.c): Likewise.
9031 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
9034 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9036 * sysdeps/x86_64/x32/_itoa.h: New file.
9038 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
9039 getdents system call only if kernel and user dirents have the
9040 same d_ino and d_off.
9042 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9043 LLONG_MAX != LONG_MAX.
9044 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9045 (_fitoa_word): Likewise.
9047 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
9049 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
9050 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
9051 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
9053 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
9054 include <bits/wordsize.h>. Check __x86_64__ instead of
9056 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
9057 if __x86_64__ is defined. Use anonymous union on fpstate.
9059 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
9062 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
9064 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9065 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
9066 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
9067 Refer to _rtld_local_ro instead of _rtld_global_ro.
9068 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
9070 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
9072 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
9074 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
9075 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
9076 of _rtld_global, and rtld_progname instead of _dl_argv[0].
9078 * sysdeps/powerpc/powerpc32/dl-machine.c
9079 (__elf_machine_runtime_setup) [PROF]: Don't reference
9082 2012-05-18 Andreas Jaeger <aj@suse.de>
9084 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
9085 function only available for GCCs before 3.4 since GCC 3.4
9086 introduced a builtin.
9088 (llrintf): Likewise.
9096 (nearbyint): Likewise.
9097 (nearbyintf): Likewise.
9103 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9105 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
9106 on both fields and cast pointer to __syscall_ulong_t.
9108 * bits/types.h (__fsword_t): New type.
9109 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
9110 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
9111 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9112 (__FSWORD_T_TYPE): Likewise.
9113 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9114 (__FSWORD_T_TYPE): Likewise.
9115 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9116 (__FSWORD_T_TYPE): Likewise.
9117 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
9118 (__FSWORD_T_TYPE): Likewise.
9119 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
9120 __SWORD_TYPE with __fsword_t.
9121 (statfs64): Likewise.
9123 2012-05-17 David S. Miller <davem@davemloft.net>
9125 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
9127 2012-05-17 Andreas Jaeger <aj@suse.de>
9129 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
9132 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9134 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
9136 2012-05-17 Andreas Jaeger <aj@suse.de>
9138 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
9141 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9143 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
9145 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9147 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
9148 * sysdeps/x86_64/tst-mallocalign1.c: New file.
9150 2012-05-17 Andreas Jaeger <aj@suse.de>
9151 Carlos O'Donell <carlos_odonell@mentor.com>
9154 * sysdeps/x86_64/multiarch/init-arch.h
9155 (bit_YMM_Usable): Rename to...
9156 (bit_AVX_Usable): ... this.
9157 (bit_FMA4_Usable): New macro.
9158 (bit_XMM_state): New macro.
9159 (bit_YMM_state): New macro.
9160 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
9161 [__ASSEMBLER__] (index_AVX_Usable): ... this.
9162 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
9163 (CPUID_OSXSAVE): New macro.
9164 (CPUID_AVX): New macro.
9165 (CPUID_FMA4): New macro.
9166 (index_YMM_Usable): Rename to...
9167 (index_AVX_Usable): ... this.
9168 (HAS_AVX): Use HAS_ARCH_FEATURE.
9169 (HAS_FMA4): Likewise.
9170 (HAS_YMM_USABLE): Remove.
9171 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9172 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
9174 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
9175 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
9176 * sysdeps/x86_64/multiarch/Makefile: Likewise.
9177 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
9178 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
9180 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9182 * math/libm-test.c: Support platforms without multiple rounding modes.
9183 * math/bug-nextafter.c: Support platforms without FP exceptions.
9184 * math/bug-nexttoward.c: Likewise.
9185 * math/test-fenv.c: Likewise.
9186 * math/test-misc.c: Likewise.
9187 * stdlib/bug-getcontext.c: Likewise.
9189 2012-05-17 Andreas Jaeger <aj@suse.de>
9191 * manual/examples/search.c (critter_cmp): Change signature to
9193 * manual/string.texi (Collation Functions): Likewise.
9195 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9197 * bits/types.h: Fold copyright years.
9198 * bits/typesizes.h: Likewise.
9199 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
9200 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9201 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
9202 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
9203 * time/time.h: Likewise.
9205 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9208 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
9209 in instead of returning them. Return void.
9210 (__libc_mallinfo): Accumulate over all arenas.
9211 (__malloc_stats): Adjust for change in int_mallinfo interface.
9213 2012-05-16 Roland McGrath <roland@hack.frob.com>
9216 * configure.in (NM): Add AC_CHECK_TOOL for it.
9217 (libc_extra_cflags): New substituted variable.
9218 Check for -fstack-protector being used implicitly.
9219 * configure: Regenerated.
9220 * config.make.in (config-extra-cflags): New variable,
9221 gets @libc_extra_cflags@.
9222 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
9225 * configure.in: Check for _FORTIFY_SOURCE being predefined.
9226 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
9227 * configure: Regenerated.
9228 * config.make.in (CPPUNDEFS): New substituted variable.
9229 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
9230 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
9231 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
9233 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9235 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
9236 (mq_attr): Use __syscall_slong_t.
9238 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9240 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
9241 Check __x86_64__ instead of __WORDSIZE.
9242 (_STAT_VER_LINUX): Likewise.
9243 (stat): Check __x86_64__ instead of __WORDSIZE. Use
9244 __syscall_ulong_t and __syscall_slong_t.
9247 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9249 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
9251 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9253 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
9255 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9257 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
9260 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
9261 include <bits/wordsize.h>. Check __x86_64__ instead of
9263 (greg_t): Use "__extension__ long long int" if __x86_64__ is
9265 (mcontext_t): Replace "unsigned long" with "unsigned long long".
9267 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
9268 include <bits/wordsize.h>. Check __x86_64__ instead of
9270 (user_regs_struct): Use "__extension__ unsigned long long"
9271 instead of "unsigned long" if __x86_64__ is defined.
9272 (user): Likewise. Pad after pointer field if __ILP32__ is
9275 2012-05-16 Joseph Myers <joseph@codesourcery.com>
9277 * configure.in (makeinfo): Require version 4.5 or later. Allow
9279 * configure: Regenerated.
9280 * manual/install.texi (texinfo): Increase version requirement to
9282 * INSTALL: Regenerated.
9284 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
9286 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9288 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
9290 * sysdeps/x86_64/x32/ffs.c: New file.
9292 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
9294 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
9295 defined. Use __syscall_ulong_t.
9296 (shminfo): Use __syscall_ulong_t.
9297 (shm_info): Likewise.
9299 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
9302 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
9304 (msgqnum_t): Use __syscall_ulong_t.
9305 (msglen_t): Likewise.
9306 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
9309 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
9310 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9312 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
9314 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
9315 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
9317 * sysvipc/sys/msg.h (msgbuf): Replace long int with
9320 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
9321 include <bits/wordsize.h>. Check __x86_64__ instead of
9324 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
9325 "unsigned long long int" if __x86_64__ is defined.
9326 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
9328 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
9329 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9330 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
9332 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
9334 (GET_PC): Cast to uintptr_t first.
9335 (GET_FRAME): Likewise.
9336 (GET_STACK): Likewise.
9338 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
9339 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
9340 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
9341 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
9342 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
9343 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
9344 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
9345 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
9346 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
9347 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
9348 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
9349 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
9350 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9351 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
9352 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
9353 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
9354 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
9355 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
9356 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
9357 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
9358 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
9359 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
9360 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
9361 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
9362 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
9363 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
9364 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
9365 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
9366 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
9368 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
9370 * Makerules (+depfiles): Also collect depfiles from .oS in
9372 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
9373 .oS, $(libnldbl-routines)).
9375 * Makerules (native-compile-mkdep-flags): Define.
9376 * sunrpc/Makefile (extra-objs): Add $(addprefix
9377 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
9378 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
9379 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
9380 calling $(make-target-directory).
9382 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9384 * bits/types.h (__snseconds_t): Removed.
9385 * time/time.h (struct timespec): Replace __snseconds_t with
9387 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
9388 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
9390 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9391 (__SNSECONDS_T_TYPE): Likewise.
9392 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9393 (__SNSECONDS_T_TYPE): Likewise.
9394 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9395 (__SNSECONDS_T_TYPE): Likewise.
9397 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9399 * sysdeps/mach/hurd/bits/typesizes.h
9400 (__SYSCALL_SLONG_TYPE): New macro.
9401 (__SYSCALL_ULONG_TYPE): Likewise.
9403 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9405 * bits/types.h (__syscall_slong_t): New type.
9406 (__syscall_ulong_t): Likewise.
9408 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
9409 (__SYSCALL_ULONG_TYPE): Likewise.
9410 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9411 (__SYSCALL_SLONG_TYPE): Likewise.
9412 (__SYSCALL_ULONG_TYPE): Likewise.
9413 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9414 (__SYSCALL_SLONG_TYPE): Likewise.
9415 (__SYSCALL_ULONG_TYPE): Likewise.
9416 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9417 (__SYSCALL_SLONG_TYPE): Likewise.
9418 (__SYSCALL_ULONG_TYPE): Likewise.
9420 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9422 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
9423 Add sigaltstack-offsets.sym.
9424 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9425 <sigaltstack-offsets.h>.
9426 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
9427 longjmp_msg pointer.
9428 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
9429 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
9431 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
9433 2012-05-15 Joseph Myers <joseph@codesourcery.com>
9435 * elf/stackguard-macros.h: Remove file.
9436 * sysdeps/generic/stackguard-macros.h: New file.
9437 * sysdeps/i386/stackguard-macros.h: Likewise.
9438 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9439 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9440 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9441 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9442 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9443 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9444 * sysdeps/x86_64/stackguard-macros.h: Likewise.
9445 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
9446 <elf/stackguard-macros.h>.
9449 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
9450 __aligned__ in attribute.
9451 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
9452 (gregset_t): Likewise.
9454 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9456 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
9457 * sysdeps/x86_64/64/Implies-after: Here. New file.
9458 * sysdeps/x86_64/x32/Implies-after: New file.
9460 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9462 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
9463 and access return value for _dl_profile_fixup. Use R10_LP to
9466 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9468 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
9470 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9472 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
9473 * sysdeps/x86_64/x32/sysdep.h: New file.
9475 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9477 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
9478 * sysdeps/x86_64/setjmp.S: Likewise.
9480 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9482 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
9483 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
9484 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
9485 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
9486 remove unused global constant.
9488 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
9490 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
9491 include of <not-cancel.h>.
9493 2012-05-15 Roland McGrath <roland@hack.frob.com>
9495 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
9497 2012-05-15 Jeff Law <law@redhat.com>
9498 Andreas Jaeger <aj@suse.de>
9501 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
9503 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
9504 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
9505 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
9506 code changing __hst_map_handle.map.
9508 2012-05-15 Roland McGrath <roland@hack.frob.com>
9510 * configure.in (sysnames): Look for Implies-before and Implies-after
9512 * configure: Regenerated.
9514 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9516 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
9517 8-byte data alignment with LP_SIZE alignment.
9519 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9521 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
9524 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9526 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
9528 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9530 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
9531 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
9532 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
9534 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9536 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9538 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
9539 (stackinfo_sub_sp): Likewise.
9541 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9543 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
9546 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9548 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
9551 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9553 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
9556 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9558 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
9560 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9562 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
9563 into R11_LP and load __x86_64_shared_cache_size_half into
9566 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9568 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
9571 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9573 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
9575 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
9577 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
9579 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
9580 powerpc32/power7/fpu/s_logb.c via #include.
9581 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
9582 powerpc32/power7/fpu/s_logbf.c via #include.
9583 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
9584 powerpc32/power7/fpu/s_logbl.c via #include.
9586 2012-05-15 Joseph Myers <joseph@codesourcery.com>
9588 * README.libm: Remove file.
9590 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9592 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
9593 count for x32. Use R*_LP and omit operand-size suffix.
9595 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9597 * shlib-versions: Move x86_64-.*-linux.* entries to ...
9598 * sysdeps/x86_64/64/shlib-versions: Here. New file.
9599 * sysdeps/x86_64/x32/shlib-versions: New file.
9601 2012-05-14 Roland McGrath <roland@hack.frob.com>
9603 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9604 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9605 Use _dl_fatal_printf instead.
9607 2012-05-14 Joseph Myers <joseph@codesourcery.com>
9609 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
9610 set if not set by the user. Do not allow for being unset.
9611 * sysdeps/unix/sysv/linux/configure: Regenerated.
9613 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9615 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
9616 the `q' suffix from lea and replace .quad with ASM_ADDR.
9618 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9620 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9621 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
9623 (PTR_DEMANGLE): Likewise.
9625 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9627 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9629 (ASM_ADDR): Likewise.
9647 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9649 * sysdeps/x86_64/x32/dl-machine.h: New file.
9651 2012-05-14 Andreas Jaeger <aj@suse.de>
9653 * manual/Makefile (subdir): Remove export of subdir.
9654 (all): Remove target.
9655 (.PHONY): Remove all from list.
9656 (mkinstalldirs): Remove.
9657 (.PHONY): Remove installdirs from list.
9658 ($(inst_infodir)/libc.info): Use make-target-directory.
9659 (installdirs): Remove.
9661 (glibc-targets): Remove.
9664 ($(objpfx)stubs ../po/manual.pot): Remove.
9665 ($(objpfx)stamp%): Remove.
9666 (make-target-directory): Remove.
9667 (subdir_install): Remove.
9675 * manual/.gitignore: Remove, it's not needed anymore.
9676 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
9678 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
9680 (texis): Renamed to $(objpfx)texis.
9681 (texis-path): New, contains path to generated files.
9682 (chapters.%): Use texis-path for complete path, add extra argument
9684 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
9685 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
9686 (summary,texi, stamp-summary): Use complete path of
9687 files. Generate files in build dir.
9688 (dir-add.texi): Build in build dir.
9689 (libm-err.texi,stamp-libm-err): Likewise.
9690 (version.texi, stamp-version): Likewise.
9691 (.%c.texi): Likewise.
9692 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
9693 (mostlyclean): Remove target.
9694 (realclean): Remove target.
9695 (generated): Add new variable with contents from mostlyclean and
9696 realclean, remove entries duplicated in common-mostlyclean, add
9697 stamp-libm-err and stamp-version.
9698 (generated-dirs): Add libc directory.
9699 ($(inst_infodir)/libc.info): Install files from build dir.
9701 * manual/install.texi (Configuring and compiling): Adjust since
9702 the info files are not part of the tar ball anymore.
9704 2012-05-14 Andreas Jaeger <aj@suse.de>
9706 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
9709 2012-05-14 Joseph Myers <joseph@codesourcery.com>
9712 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9713 to 2.2.0 where earlier.
9714 * sysdeps/unix/sysv/linux/configure: Regenerated.
9715 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
9716 Remove conditional code.
9717 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
9718 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
9719 Remove conditional code.
9720 [!__NR_lchown]: Likewise.
9721 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9722 [__NR_lchown]: Likewise.
9723 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
9724 comment referencing __ASSUME_LCHOWN_SYSCALL.
9725 * sysdeps/unix/sysv/linux/i386/sigaction.c
9726 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9727 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9728 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
9729 Remove conditional code.
9730 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
9731 (__protocol_available): Remove #if 0 code.
9732 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
9734 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
9735 * sysdeps/unix/sysv/linux/kernel-features.h
9736 (__ASSUME_GETCWD_SYSCALL): Don't define.
9737 (__ASSUME_REALTIME_SIGNALS): Likewise.
9738 (__ASSUME_PREAD_SYSCALL): Likewise.
9739 (__ASSUME_PWRITE_SYSCALL): Likewise.
9740 (__ASSUME_POLL_SYSCALL): Likewise.
9741 (__ASSUME_LCHOWN_SYSCALL): Likewise.
9742 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
9744 (__ASSUME_SIOCGIFNAME): Don't define.
9745 (__ASSUME_MSG_NOSIGNAL): Likewise.
9746 (__ASSUME_SENDFILE): Define unconditionally.
9747 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9748 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9750 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9751 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9752 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9753 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9754 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9755 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9756 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9758 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9759 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9761 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9762 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9764 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9765 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9767 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9768 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9770 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9771 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9773 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9774 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9776 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9777 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9779 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9780 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9781 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9782 Remove conditional code.
9783 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9784 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9785 Remove conditional code.
9786 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9787 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9788 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9789 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9790 Remove conditional code.
9791 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9792 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9793 Remove conditional code.
9794 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9795 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9796 Remove conditional code.
9797 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9798 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9799 Remove conditional code.
9800 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9801 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9802 Remove conditional code.
9803 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9804 * sysdeps/unix/sysv/linux/sh/pwrite64.c
9805 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9806 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9807 * sysdeps/unix/sysv/linux/sigaction.c
9808 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9809 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9810 * sysdeps/unix/sysv/linux/sigpending.c
9811 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9812 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9813 * sysdeps/unix/sysv/linux/sigprocmask.c
9814 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9815 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9816 * sysdeps/unix/sysv/linux/sigsuspend.c
9817 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9818 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9819 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9820 (__libc_missing_rt_sigs): Remove.
9821 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9822 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9823 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9824 Remove conditional code.
9825 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9826 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9828 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9829 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9830 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9831 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9833 2012-05-14 Andreas Jaeger <aj@suse.de>
9835 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9836 it's not used in glibc.
9837 (__coshm1): Likewise.
9838 (__acosh1p): Likewise.
9841 * manual/string.texi (Copying and Concatenation): Add missing
9842 variable in concat example.
9843 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9845 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9848 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9849 __builtin_clzl with __builtin_clzll.
9851 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9854 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9857 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9859 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9860 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9861 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9862 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9864 2012-05-14 Mike Frysinger <vapier@gentoo.org>
9866 * NEWS: Update ia64 info.
9868 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
9870 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9873 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
9875 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9876 * sysdeps/unix/syscalls.list (dup3): Likewise.
9877 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9878 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9880 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9882 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9883 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9885 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9887 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9889 (TLS_IE): Use mov/add instead of movq/addq to load thread
9891 (TLS_GD_PREFIX): New.
9894 2012-05-11 David S. Miller <davem@davemloft.net>
9896 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9897 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9898 (_FPU_SETCW): Likewise.
9900 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9902 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9905 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
9908 * iconvdata/gb18030.c: Update tables.
9909 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
9910 characters specially.
9911 (BODY for TO_LOOP): Add encoding of missing ranges.
9913 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
9916 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9917 * sysdeps/mach/hurd/dup3.c: Likewise.
9918 * sysdeps/mach/hurd/readlinkat.c: Likewise.
9919 * sysdeps/powerpc/memmove.c:: Likewise.
9921 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9923 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9924 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9926 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9928 * elf/elf.h (R_X86_64_RELATIVE64): New.
9929 (R_X86_64_NUM): Updated.
9930 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9931 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
9932 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
9933 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
9934 tst-quad1pie tst-quad2pie
9935 (modules-names): Add tst-quadmod1 tst-quadmod2.
9936 ($(objpfx)tst-quad1): New dependency.
9937 ($(objpfx)tst-quad2): Likewise.
9938 ($(objpfx)tst-quad1pie): Likewise.
9939 ($(objpfx)tst-quad2pie): Likewise.
9940 * sysdeps/x86_64/tst-quad1.c: New file.
9941 * sysdeps/x86_64/tst-quad1pie.c: New file.
9942 * sysdeps/x86_64/tst-quad2.c: Likewise.
9943 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
9944 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
9945 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
9946 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
9947 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
9949 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9951 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
9952 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
9953 * streams/stropts.h (t_scalar_t): Define type.
9955 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
9956 (_PATH_PRESERVE): Set to "/var/lib".
9957 (_PATH_RWHODIR): Set to "/var/spool/rwho".
9959 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
9962 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
9963 if __dir_mkfile succeeded.
9965 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
9966 checking for _hurd_dtablesize. Unlock it right after having
9967 finished _hurd_dtable allocation.
9969 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
9971 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
9972 * sysdeps/mach/hurd/configure: Regenerated.
9973 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
9974 special-casing to...
9975 * sysdeps/gnu/configure.in: ... this new file.
9976 * sysdeps/unix/sysv/linux/configure: Regenerated.
9977 * sysdeps/gnu/configure: New generated file.
9979 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
9980 for Linux: use nsec instead of usec, as well as:
9981 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
9982 members of type struct timespec.
9983 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
9985 (struct stat64): Likewise.
9986 (_STATBUF_ST_NSEC): New macro.
9987 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
9989 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9990 __strtoul_internal rather than strtoul.
9992 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
9994 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
9997 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
9999 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
10000 which preserves existing values.
10001 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
10003 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10005 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
10006 TIMEOUT values. Return EINVAL for NFDS values either negative or
10007 greater than FD_SETSIZE.
10009 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10011 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
10012 allocated, call __vm_protect to finish enabling the existing space, and
10013 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
10014 allocate the remainder.
10016 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10018 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
10019 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
10021 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10023 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
10024 sysdeps/mach/hurd/readlink.c.
10026 * posix/tst-sysconf.c (posix_options): Only use
10027 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
10028 _POSIX_SYNCHRONIZED_IO when they are defined
10029 * sysdeps/mach/hurd/bits/posix_opt.h:
10030 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
10031 (_XOPEN_REALTIME): Undefine macro.
10032 (_XOPEN_REALTIME_THREADS): Undefine macro.
10033 (_XOPEN_SHM): Undefine macro.
10034 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
10036 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
10038 (_POSIX_ASYNC_IO): Undefine macro.
10039 (_POSIX_PRIORITIZED_IO): Undefine macro.
10040 (_POSIX_SPIN_LOCKS): Define macro to -1.
10042 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
10043 SA_NODEFER, SA_RESETHAND.
10044 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
10045 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
10048 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10050 * elf/Makefile (pldd-modules): Define unconditionally.
10052 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10054 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
10056 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10058 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
10059 Return ENOENT when name is empty.
10060 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
10062 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10064 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
10066 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
10068 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10070 Fix mlock in all cases except non-readable pages.
10071 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
10072 instead of VM_PROT_ALL as parameter to __vm_wire function.
10074 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
10075 (__mkdir): When path is `/', just fail with EEXIST.
10076 * sysdeps/mach/hurd/mkdirat.c: Likewise.
10078 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10080 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
10081 <sys/uio.h> (for writev).
10082 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
10083 and <sys/param.h> (for MIN).
10085 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10087 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
10088 REQUESTED_TIME. Properly set the remaining time and return EINTR
10091 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10093 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
10094 Depend on against $(link-rpcuserlibs).
10096 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10098 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
10099 (__libc_stack_end): Do not use attribute_relro.
10100 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
10101 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
10102 to libthread-provided value.
10103 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
10106 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10109 * bits/libc-lock.h (__libc_once_get): New macro.
10110 * sysdeps/mach/bits/libc-lock.h: Likewise.
10111 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
10112 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
10113 instead of using implementation details.
10115 * libio/fileops.c: Unconditionally include <kernel-features.h>.
10116 * libio/freopen.c: Likewise.
10117 * libio/freopen64.c: Likewise.
10118 * misc/syslog.c: Likewise.
10119 * nscd/connections.c: Likewise.
10120 * nscd/netgroupcache.c: Likewise.
10121 * sysdeps/posix/getcwd.c: Likewise.
10123 2012-05-10 Roland McGrath <roland@hack.frob.com>
10125 * math/w_ilogbf.c: Add #include <limits.h>.
10127 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10129 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
10130 path instead of returning without unlocking.
10132 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
10133 immediate-write ioctls.
10134 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
10136 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10138 * sysdeps/mach/hurd/i386/init-first.c (init): Use
10139 __builtin_frame_address instead of making assumptions about the
10140 location of the return address relative to DATA. Force early load of
10141 the return address.
10142 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
10143 __builtin_frame_address.
10146 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
10147 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
10148 implement dup3 and do some further code clean-ups.
10149 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
10150 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
10152 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10154 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
10156 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
10157 HURD_CRITICAL_END around holding _hurd_dtable_lock.
10158 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
10159 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
10160 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
10163 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
10164 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
10165 when handler == SIG_ERR, not when handler != SIG_ERR.
10167 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10169 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
10170 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
10173 accept4 for GNU Hurd.
10174 * include/sys/socket.h (__libc_accept4): New prototype.
10175 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
10176 to implement __libc_accept4.
10177 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
10179 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
10181 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
10182 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
10183 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
10184 signal-defines.sym.
10186 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10188 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
10190 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10192 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
10193 assertion on O_CLOEXEC flag.
10194 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
10195 * hurd/intern-fd.c: Likewise.
10196 * hurd/port2fd.c: Likewise.
10198 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10201 * bits/in.h (IPV6_PKTINFO): Define new macro.
10202 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
10204 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10209 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
10210 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10211 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
10212 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10213 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10214 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10215 * math/libm-test.inc (logb_test) : Additional logb tests.
10217 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
10218 Andreas Jaeger <aj@suse.de>
10220 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
10221 * configure: Regenerated.
10222 * config.h.in (LINK_OBSOLETE_RPC): New macro.
10223 * config.make.in (link-obsolete-rpc): New substituted variable.
10224 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
10225 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
10226 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10227 (shared-only-routines): Don't set it under [link-obsolete-rpc],
10228 so that libc.a contains the symbols.
10229 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10230 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
10231 * sunrpc/auth_none.c: Likewise.
10232 * sunrpc/auth_unix.c: Likewise.
10233 * sunrpc/authdes_prot.c: Likewise.
10234 * sunrpc/authuxprot.c: Likewise.
10235 * sunrpc/clnt_gen.c: Likewise.
10236 * sunrpc/clnt_perr.c: Likewise.
10237 * sunrpc/clnt_raw.c: Likewise.
10238 * sunrpc/clnt_simp.c: Likewise.
10239 * sunrpc/clnt_tcp.c: Likewise.
10240 * sunrpc/clnt_udp.c: Likewise.
10241 * sunrpc/clnt_unix.c: Likewise.
10242 * sunrpc/des_crypt.c: Likewise.
10243 * sunrpc/des_soft.c: Likewise.
10244 * sunrpc/get_myaddr.c: Likewise.
10245 * sunrpc/key_call.c: Likewise.
10246 * sunrpc/key_prot.c: Likewise.
10247 * sunrpc/netname.c: Likewise.
10248 * sunrpc/pm_getmaps.c: Likewise.
10249 * sunrpc/pm_getport.c: Likewise.
10250 * sunrpc/pmap_clnt.c: Likewise.
10251 * sunrpc/pmap_prot.c: Likewise.
10252 * sunrpc/pmap_prot2.c: Likewise.
10253 * sunrpc/pmap_rmt.c: Likewise.
10254 * sunrpc/publickey.c: Likewise.
10255 * sunrpc/rpc_cmsg.c: Likewise.
10256 * sunrpc/rpc_common.c: Likewise.
10257 * sunrpc/rpc_dtable.c: Likewise.
10258 * sunrpc/rpc_prot.c: Likewise.
10259 * sunrpc/rpc_thread.c: Likewise.
10260 * sunrpc/rtime.c: Likewise.
10261 * sunrpc/svc.c: Likewise.
10262 * sunrpc/svc_auth.c: Likewise.
10263 * sunrpc/svc_raw.c: Likewise.
10264 * sunrpc/svc_run.c: Likewise.
10265 * sunrpc/svc_tcp.c: Likewise.
10266 * sunrpc/svc_udp.c: Likewise.
10267 * sunrpc/svc_unix.c: Likewise.
10268 * sunrpc/svcauth_des.c: Likewise.
10269 * sunrpc/xcrypt.c: Likewise.
10270 * sunrpc/xdr.c: Likewise.
10271 * sunrpc/xdr_array.c: Likewise.
10272 * sunrpc/xdr_float.c: Likewise.
10273 * sunrpc/xdr_intXX_t.c: Likewise.
10274 * sunrpc/xdr_mem.c: Likewise.
10275 * sunrpc/xdr_rec.c: Likewise.
10276 * sunrpc/xdr_ref.c: Likewise.
10277 * sunrpc/xdr_sizeof.c: Likewise.
10278 * sunrpc/xdr_stdio.c: Likewise.
10280 2012-05-10 Roland McGrath <roland@hack.frob.com>
10282 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
10283 change. Update copyright years.
10285 2012-05-10 Joseph Myers <joseph@codesourcery.com>
10287 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
10289 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
10290 Joseph Myers <joseph@codesourcery.com>
10291 Paul Pluzhnikov <ppluzhnikov@google.com>
10294 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
10296 [cross-compiling] (extra-libs): Likewise.
10297 [cross-compiling] (extra-libs-others): Likewise.
10298 [cross-compiling] (librpcsvc-routines): Likewise.
10299 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
10300 [cross-compiling] (omit-deps): Likewise.
10301 (sunrpc-CPPFLAGS): New variable.
10302 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
10303 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
10304 (cross-rpcgen-objs): New variable.
10305 (extra-objs): Append $(cross-rpcgen-objs).
10306 ($(cross-rpcgen-objs)): New rule.
10307 ($(objpfx)cross-rpcgen): Likewise.
10308 (rpcgen-cmd): Define to use $(built-program-file). Expand
10310 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
10311 ($(objpfx)x%.stmp): Likewise.
10312 * sunrpc/proto.h [IS_IN_build] (_): Define.
10313 [IS_IN_build] (_libc_intl_domainname): Likewise.
10315 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10317 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
10318 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
10319 and R_X86_64_TPOFF64.
10321 2012-05-10 Joseph Myers <joseph@codesourcery.com>
10323 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
10324 sysdeps/unix/sysv/syscalls.list.
10327 * sysdeps/unix/sysv/syscalls.list: Remove file.
10329 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
10332 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
10333 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
10334 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
10335 (__LC_IDENTIFICATION): Make these macros useful in #if
10336 expressions, as required by C99.
10338 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
10340 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
10341 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
10344 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
10346 * stdlib/longlong.h: Updated from GCC.
10348 2012-05-09 Andreas Jaeger <aj@suse.de>
10350 * nscd/nscd.c (run_modes): Make named enum, reorder so that
10351 default is first entry.
10352 (run_mode): Set type.
10353 (main): Remove informal message about syslog.
10354 (options): Fix typo.
10357 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
10360 (llrintf): Likewise.
10361 (llrint): Likewise.
10364 (nearbyint): Likewise.
10365 (nearbyintf): Likewise.
10367 2012-05-09 Andreas Jaeger <aj@suse.de>
10368 Pedro Alves <palves@redhat.com>
10370 * nscd/nscd.c (run_mode): Use enum.
10371 (main): Cleanup coding style issue.
10373 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
10374 Andreas Jaeger <aj@suse.de>
10376 * nscd/nscd.c (go_background): Replaced with...
10377 (run_mode): ... this.
10378 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
10379 (options): Add -F --foreground.
10380 (main): Implement it.
10381 (parse_opt): Parse it.
10383 2012-05-09 Andreas Jaeger <aj@suse.de>
10386 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
10387 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
10388 -Wconversion warning.
10389 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
10392 2012-05-09 Joseph Myers <joseph@codesourcery.com>
10394 * conform/data/locale.h-data (NULL): Use macro-constant. Require
10396 (LC_ALL): Use macro-int-constant.
10397 (LC_COLLATE): Likewise.
10398 (LC_CTYPE): Likewise.
10399 (LC_MESSAGES): Likewise.
10400 (LC_MONETARY): Likewise.
10401 (LC_NUMERIC): Likewise.
10402 (LC_TIME): Likewise.
10403 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
10404 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10405 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10406 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
10408 [C99-based standards] (float_t): Expect type.
10409 [C99-based standards] (double_t): Expect type.
10410 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
10412 [C99-based standards] (HUGE_VALL): Likewise.
10413 [C99-based standards] (INFINITY): Likewise.
10414 [C99-based standards] (NAN): Likewise.
10415 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
10416 [C99-based standards] (FP_NAN): Likewise.
10417 [C99-based standards] (FP_NORMAL): Likewise.
10418 [C99-based standards] (FP_SUBNORMAL): Likewise.
10419 [C99-based standards] (FP_ZERO): Likewise.
10420 [C99-based standards] (FP_FAST_FMA): Use
10421 optional-macro-int-constant. Specify type. Require == 1.
10422 [C99-based standards] (FP_FAST_FMAF): Likewise.
10423 [C99-based standards] (FP_FAST_FMAL): Likewise.
10424 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
10425 [C99-based standards] (FP_ILOGBNAN): Likewise.
10426 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
10428 [C99-based standards] (MATH_ERREXCEPT): Likewise.
10429 [C99-based standards] (math_errhandling): Specify type.
10430 [ISO99 || ISO11] (signgam): Do not allow.
10431 [non-C99-based standards] (copysignf): Do not allow.
10432 [non-C99-based standards] (exp2f): Likewise.
10433 [non-C99-based standards] (log2f): Likewise.
10434 [non-C99-based standards] (modff): Allow.
10435 [non-C99-based standards] (erff): Do not allow.
10436 [non-C99-based standards] (erfcf): Likewise.
10437 [non-C99-based standards] (gammaf): Likewise.
10438 [non-C99-based standards] (hypotf): Likewise.
10439 [non-C99-based standards] (j0f): Likewise.
10440 [non-C99-based standards] (j1f): Likewise.
10441 [non-C99-based standards] (jnf): Likewise.
10442 [non-C99-based standards] (lgammaf): Likewise.
10443 [non-C99-based standards] (tgammaf): Likewise.
10444 [non-C99-based standards] (y0f): Likewise.
10445 [non-C99-based standards] (y1f): Likewise.
10446 [non-C99-based standards] (ynf): Likewise.
10447 [non-C99-based standards] (isnanf): Likewise.
10448 [non-C99-based standards] (acoshf): Likewise.
10449 [non-C99-based standards] (asinhf): Likewise.
10450 [non-C99-based standards] (atanhf): Likewise.
10451 [non-C99-based standards] (cbrtf): Likewise.
10452 [non-C99-based standards] (expm1f): Likewise.
10453 [non-C99-based standards] (ilogbf): Likewise.
10454 [non-C99-based standards] (log1pf): Likewise.
10455 [non-C99-based standards] (logbf): Likewise.
10456 [non-C99-based standards] (nextafterf): Likewise.
10457 [non-C99-based standards] (remainderf): Likewise.
10458 [non-C99-based standards] (rintf): Likewise.
10459 [non-C99-based standards] (scalbf): Likewise.
10460 [non-C99-based standards] (copysignl): Likewise.
10461 [non-C99-based standards] (exp2l): Likewise.
10462 [non-C99-based standards] (log2l): Likewise.
10463 [non-C99-based standards] (modfl): Allow.
10464 [non-C99-based standards] (erfl): Do not allow.
10465 [non-C99-based standards] (erfcl): Likewise.
10466 [non-C99-based standards] (gammal): Likewise.
10467 [non-C99-based standards] (hypotl): Likewise.
10468 [non-C99-based standards] (j0l): Likewise.
10469 [non-C99-based standards] (j1l): Likewise.
10470 [non-C99-based standards] (jnl): Likewise.
10471 [non-C99-based standards] (lgammal): Likewise.
10472 [non-C99-based standards] (tgammal): Likewise.
10473 [non-C99-based standards] (y0l): Likewise.
10474 [non-C99-based standards] (y1l): Likewise.
10475 [non-C99-based standards] (ynl): Likewise.
10476 [non-C99-based standards] (isnanl): Likewise.
10477 [non-C99-based standards] (acoshl): Likewise.
10478 [non-C99-based standards] (asinhl): Likewise.
10479 [non-C99-based standards] (atanhl): Likewise.
10480 [non-C99-based standards] (cbrtl): Likewise.
10481 [non-C99-based standards] (expm1l): Likewise.
10482 [non-C99-based standards] (ilogbl): Likewise.
10483 [non-C99-based standards] (log1pl): Likewise.
10484 [non-C99-based standards] (logbl): Likewise.
10485 [non-C99-based standards] (nextafterl): Likewise.
10486 [non-C99-based standards] (remainderl): Likewise.
10487 [non-C99-based standards] (rintl): Likewise.
10488 [non-C99-based standards] (scalbl): Likewise.
10489 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10490 [non-C99-based standards] (FP_*): Do not allow.
10491 [C99-based standards] (FP_*): Change to
10492 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10493 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10495 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
10496 (SIG_ERR): Likewise.
10497 [X/Open-based standards] (SIG_HOLD): Likewise.
10498 (SIG_IGN): Likewise.
10499 (SIGABRT): Use macro-int-constant. Specify type. Require
10501 (SIGFPE): Likewise.
10502 (SIGILL): Likewise.
10503 (SIGINT): Likewise.
10504 (SIGSEGV): Likewise.
10505 (SIGTER): Likewise.
10506 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
10507 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
10508 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
10509 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
10510 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
10511 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
10512 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
10513 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
10514 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
10515 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
10516 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
10517 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
10518 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
10519 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
10520 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
10521 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
10522 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
10523 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
10524 [X/Open-based standards] (SIGTRAP): Likewise.
10525 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
10526 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
10527 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
10528 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
10529 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10532 2012-05-08 Ian Wienand <ianw@vmware.com>
10535 * time/tzset.c (__tzset_parse_tz): Update default rules for
10536 daylight time changes in the Energy Policy Act of 2005.
10538 2012-05-09 Andreas Jaeger <aj@suse.de>
10541 * elf/ldconfig.c (parse_conf): Change string to make clear that
10542 ldconfig only issued a warning if ld.so.conf does not exist.
10544 2012-05-08 David S. Miller <davem@davemloft.net>
10546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
10547 movxtod instead of popping the value on the stack.
10549 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10551 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
10553 * config.h.in: Add HAVE_ARM_PCS_VFP.
10555 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
10558 * include/features.h: Warn if user requests __FORTIFY_SOURCE
10559 checking but the checks are disabled for any reason.
10561 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
10563 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
10564 and ELF64_R_TYPE with ELFW(R_TYPE).
10566 2012-05-08 Joseph Myers <joseph@codesourcery.com>
10568 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
10569 (ulimit): Likewise.
10571 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
10572 (settimeofday): Likewise.
10574 2012-05-08 Mike Frysinger <vapier@gentoo.org>
10576 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
10577 a struct th_u2 inside the union, and move tu_block/tu_code into
10578 a new th_u3 union of tu_block/tu_code inside of that. Move
10579 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
10580 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
10581 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
10582 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
10583 (th_stuff): Change to th_u1.tu_stuff.
10585 (th_msg): Change to th_u1.th_u2.tu_data.
10587 2012-05-07 David S. Miller <davem@davemloft.net>
10589 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10592 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
10593 (SETUP_PIC_REG): Use it.
10594 (SETUP_PIC_REG_LEAF): Use it.
10596 2012-05-07 Joseph Myers <joseph@codesourcery.com>
10600 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10602 (EXPL_FINITE): Likewise.
10603 (FLDLOG): Likewise.
10604 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10605 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10607 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10609 (EXPL_FINITE): Likewise.
10610 (FLDLOG): Likewise.
10611 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10612 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10614 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
10615 test of -max_value argument for long double.
10616 * sysdeps/i386/fpu/libm-test-ulps: Update.
10617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10619 2012-05-06 David S. Miller <davem@davemloft.net>
10621 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
10622 quad soft-float symbols whose references which are compiler
10624 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10626 2012-05-06 Joseph Myers <joseph@codesourcery.com>
10630 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10632 (EXPL_FINITE): Likewise.
10633 (FLDLOG): Likewise.
10636 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10637 Adjust comments for base varying.
10638 (__expl_finite): Change alias to EXPL_FINITE.
10639 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10641 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10642 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10643 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10644 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10645 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10647 (EXPL_FINITE): Likewise.
10648 (FLDLOG): Likewise.
10651 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10652 Adjust comments for base varying.
10653 (__expl_finite): Change alias to EXPL_FINITE.
10654 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
10656 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10659 * math/libm-test.inc (check_float_internal): Correct ulp
10660 calculation for subnormal expected results.
10662 2012-05-06 Andreas Jaeger <aj@suse.de>
10664 * Makeconfig (+math-flags): New, set to -frounding-math.
10665 (+cflags): Add +math-flags so that all of glibc gets compiled with
10668 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
10670 2012-05-05 Joseph Myers <joseph@codesourcery.com>
10672 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
10678 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
10679 (__ieee754_expl): Allow for and saturate large arguments.
10680 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
10681 (u_threshold): Likewise.
10682 (__exp): Call __ieee754_exp before checking for overflow and
10684 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
10685 (u_threshold): Likewise.
10686 (__expf): Call __ieee754_expf before checking for overflow and
10688 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
10689 (u_threshold): Likewise.
10690 (__expl): Call __ieee754_expl before checking for overflow and
10692 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
10693 (__ieee754_expl): Allow for and saturate large arguments.
10694 * math/libm-test.inc (exp_test): Add another test. Do not allow
10695 missing overflow exception on overflow.
10696 (expm1_test): Do not allow missing overflow exception on overflow.
10698 * sysdeps/i386/fpu/e_expl.c: Move to ...
10699 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
10700 rather than using inline asm.
10701 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
10702 * sysdeps/x86_64/fpu/e_expl.S: Copy from
10703 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
10705 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
10708 (signal): Likewise.
10712 2012-05-04 Joseph Myers <joseph@codesourcery.com>
10714 * sysdeps/unix/syscalls.list (adjtime): Add entry from
10715 sysdeps/unix/common/syscalls.list.
10716 (fchmod): Likewise.
10717 (fchown): Likewise.
10718 (ftruncate): Likewise.
10719 (getrusage): Likewise.
10720 (gettimeofday): Likewise.
10721 (setpgid): Likewise.
10722 (setregid): Likewise.
10723 (setreuid): Likewise.
10724 (sigaction): Likewise.
10725 (truncate): Likewise.
10726 (vhangup): Likewise.
10727 * sysdeps/unix/common/syscalls.list: Remove file.
10728 * sysdeps/unix/bsd/Implies: Don't include unix/common.
10729 * sysdeps/unix/sysv/linux/Implies: Likewise.
10731 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
10733 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
10734 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
10735 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
10737 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10739 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10741 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
10742 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
10744 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
10745 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
10747 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10748 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10750 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10751 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10753 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10754 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10756 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10757 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10759 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10761 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10763 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10765 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10767 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10768 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10770 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10772 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10774 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10776 2012-05-04 Joseph Myers <joseph@codesourcery.com>
10778 * sysdeps/unix/common/bits/dirent.h: Remove file.
10779 * sysdeps/unix/common/bits/fcntl.h: Likewise.
10781 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10782 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10783 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10784 * sysdeps/unix/bsd/isatty.c: Likewise.
10785 * sysdeps/unix/bsd/tcdrain.c: Likewise.
10786 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10787 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10789 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10792 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10793 long double comparison inaccuracies.
10794 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10795 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10797 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
10799 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10800 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10802 2012-05-04 Joseph Myers <joseph@codesourcery.com>
10805 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10806 nonzero digits before rounding a hex value.
10807 * stdlib/tst-strtod.c (tests): Add another test.
10809 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10811 * sysdeps/s390/fpu/libm-test-ulps: Update.
10813 2012-05-03 Andreas Jaeger <aj@suse.de>
10815 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10816 does not get optimized out.
10817 (malloc_opt_barrier): New.
10819 2012-05-03 Andreas Jaeger <aj@suse.de>
10820 Roland McGrath <roland@hack.frob.com>
10822 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
10823 intermediate file deletion.
10824 (generated): Add .symlist files.
10826 2012-05-03 Joseph Myers <joseph@codesourcery.com>
10829 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10830 Redirect under this condition.
10831 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10832 [__USE_GNU] (__dprintf_chk): Not under this condition.
10833 [__USE_GNU] (__vdprintf_chk): Likewise.
10834 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10835 under this condition.
10836 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10837 [__USE_XOPEN2K8] (dprintf): Define under this condition.
10838 [__USE_XOPEN2K8] (vdprintf): Likewise.
10839 [__USE_GNU] (__dprintf_chk): Not under this condition.
10840 [__USE_GNU] (__vdprintf_chk): Likewise.
10841 [__USE_GNU] (dprintf): Likewise.
10842 [__USE_GNU] (vdprintf): Likewise.
10844 2012-05-03 Roland McGrath <roland@hack.frob.com>
10846 * elf/Makefile (common-generated): Set this instead of generated for
10847 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
10848 $(all-built-dso)-derived lists.
10850 2012-05-03 Andreas Jaeger <aj@suse.de>
10852 * sysdeps/i386/fpu/libm-test-ulps: Update.
10855 * FAQ.in: Likewise.
10856 * scripts/gen-FAQ.pl: Likewise.
10857 * manual/install.texi (Installation): Point to online location of
10859 * Makefile (files-for-dist): Remove FAQ.
10862 2012-05-02 Allan McRae <allan@archlinux.org>
10864 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10865 (LDFLAGS-reldepmod5.so): Likewise.
10866 (LDFLAGS-reldep6mod1.so): Likewise.
10867 (LDFLAGS-reldep6mod4.so): Likewise.
10868 (LDFLAGS-reldep8mod3.so): Likewise.
10869 (LDFLAGS-unload4mod1.so): Likewise.
10870 (LDFLAGS-unload4mod2.so): Likewise.
10871 (LDFLAGS-tst-initorder): Likewise.
10872 (LDFLAGS-tst-initordera2.so): Likewise.
10873 (LDFLAGS-tst-initordera3.so): Likewise.
10874 (LDFLAGS-tst-initordera4.so): Likewise.
10875 (LDFLAGS-tst-initorderb2.so): Likewise.
10876 (LDFLAGS-noload): Likewise.
10877 (LDFLAGS-next): Likewise.
10878 (LDFLAGS-order2mod1.so): Likewise.
10879 (LDFLAGS-order2mod2.so): Likewise.
10880 (LDFLAGS-tst-initorder2): Likewise.
10881 (LDFLAGS-tst-initorder2a.so): Likewise.
10882 (LDFLAGS-tst-initorder2b.so): Likewise.
10883 (LDFLAGS-tst-initorder2c.so): Likewise.
10884 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10886 2012-05-02 David S. Miller <davem@davemloft.net>
10888 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10890 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
10893 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10895 2012-05-02 Andreas Jaeger <aj@suse.de>
10897 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10898 since we manipulate rounding mode.
10899 (CPPFLAGS-test-idouble.c): Likewise.
10900 (CPPFLAGS-test-ifloat.c): Likewise.
10901 (CFLAGS-test-ldouble.c): Likewise.
10902 (CFLAGS-test-double.c): Likewise.
10903 (CFLAGS-test-float.c): Likewise.
10904 (CFLAGS-test-misc.c): Likewise.
10905 (CFLAGS-test-test-fenv.c): Likewise.
10907 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10911 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10912 comparisons to determine direction to adjust input.
10914 2012-05-01 Roland McGrath <roland@hack.frob.com>
10916 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10917 output to the target.
10919 * scripts/localplt.awk: New file.
10920 * elf/Makefile ($(objpfx)check-localplt): Target removed.
10921 (check-localplt-CFLAGS): Variable removed.
10922 ($(all-built-dso:=.jmprel)): New static pattern rule.
10923 (generated): Add those targets.
10924 (localplt-built-dso): New variable.
10925 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10927 * elf/check-localplt.c: File removed.
10929 * scripts/check-execstack.awk: New file.
10930 * elf/Makefile ($(objpfx)check-execstack): Target removed.
10931 (check-execstack-CFLAGS): Variable removed.
10932 ($(objpfx)check-execstack.h): Target removed.
10933 ($(objpfx)execstack-default): New target.
10934 (generated): Add that instead of check-execstack.h.
10935 ($(all-built-dso:=.phdr)): New static pattern rule.
10936 (generated): Add those targets.
10937 * elf/check-execstack.c: File removed.
10939 * scripts/check-textrel.awk: New file.
10940 * elf/Makefile ($(objpfx)check-textrel): Target removed.
10941 (check-textrel-CFLAGS): Variable removed.
10942 (all-built-dso): Use := to define.o
10943 ($(all-built-dso:=.dyn)): New static pattern rule.
10944 (generated): Add those targets.
10945 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
10946 * config.make.in (READELF): New substituted variable.
10947 * elf/check-textrel.c: File removed.
10949 2012-05-01 Joseph Myers <joseph@codesourcery.com>
10951 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10953 * conform/data/ctype.h-data [C99-based standards] (isblank):
10955 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
10956 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
10957 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10958 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
10959 Specify type. Require positive value.
10960 (EILSEQ): Likewise.
10961 (ERANGE): Likewise.
10962 [ISO || POSIX] (EILSEQ): Do not expect.
10963 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
10964 Specify type. Require positive value.
10965 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
10966 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
10967 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
10968 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
10969 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
10970 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
10971 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
10972 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
10973 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
10974 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
10975 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
10976 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
10977 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
10978 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
10979 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
10980 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
10981 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
10982 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
10983 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
10984 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
10985 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
10986 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
10987 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
10988 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
10989 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
10990 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
10991 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
10992 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
10993 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
10994 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
10995 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
10996 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
10997 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
10998 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
10999 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
11000 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
11001 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
11002 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
11003 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
11004 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
11005 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
11006 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
11007 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
11008 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
11009 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
11010 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
11011 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
11012 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
11013 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
11014 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
11015 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
11016 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
11017 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
11018 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
11019 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
11020 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
11021 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
11022 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
11023 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
11024 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
11025 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
11026 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
11027 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
11028 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
11029 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
11030 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
11031 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
11032 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
11033 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
11034 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
11035 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
11036 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
11037 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
11038 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
11039 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
11040 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
11041 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
11043 (FLT_ROUNDS): Expect as macro, not constant.
11044 (FLT_MANT_DIG): Use macro-int-constant.
11045 (DBL_MANT_DIG): Likewise.
11046 (LDBL_MANT_DIG): Likewise.
11047 (FLT_DIG): Likewise.
11048 (DBL_DIG): Likewise.
11049 (LDBL_DIG): Likewise.
11050 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
11051 (DBL_MIN_EXP): Likewise.
11052 (LDBL_MIN_EXP): Likewise.
11053 (FLT_MAX_EXP): Use macro-int-constant.
11054 (DBL_MAX_EXP): Likewise.
11055 (LDBL_MAX_EXP): Likewise.
11056 (FLT_MAX_10_EXP): Likewise.
11057 (DBL_MAX_10_EXP): Likewise.
11058 (LDBL_MAX_10_EXP): Likewise.
11059 (FLT_MAX): Use macro-constant.
11060 (DBL_MAX): Likewise.
11061 (LDBL_MAX): Likewise.
11062 (FLT_EPSILON): Use macro-constant. Give upper bound.
11063 (DBL_EPSILON): Likewise.
11064 (LDBL_EPSILON): Likewise.
11065 (FLT_MIN): Likewise.
11066 (DBL_MIN): Likewise.
11067 (LDBL_MIN): Likewise.
11068 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
11069 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
11070 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
11071 [ISO11] (FLT_HAS_SUBNORM): Likewise.
11072 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
11073 [ISO11] (DBL_DECIMAL_DIG): Likewise.
11074 [ISO11] (FLT_DECIMAL_DIG): Likewise.
11075 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
11076 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
11077 [ISO11] (FLT_TRUE_MIN): Likewise.
11078 [ISO11] (LDBL_TRUE_MIN): Likewise.
11079 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11080 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
11081 (SCHAR_MIN): Use macro-int-constant. Specify type.
11082 (SCHAR_MAX): Likewise.
11083 (UCHAR_MAX): Likewise.
11084 (CHAR_MIN): Likewise.
11085 (CHAR_MAX): Likewise.
11086 (MB_LEN_MAX): Use macro-int-constant.
11087 (SHRT_MIN): Use macro-int-constant. Specify type.
11088 (SHRT_MAX): Likewise.
11089 (USHRT_MAX): Likewise.
11090 (INT_MAX): Likewise.
11091 (INT_MIN): Use macro-int-constant. Specify type. Make upper
11093 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
11095 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11097 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
11098 bound negative. Suffix upper bound with "L".
11099 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11101 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
11103 [C99-based standards] (LLONG_MAX): Likewise.
11104 [C99-based standards] (ULLONG_MAX): Likewise.
11105 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
11107 [ISO11] (max_align_t): Require type.
11108 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11110 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
11111 from $CFLAGS, without defining away __attribute__ calls.
11112 (checknamespace): Use $CFLAGS_namespace.
11114 * conform/conformtest.pl (@keywords): Only include C99 keywords
11115 for standards based on C99 or C11.
11117 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
11119 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
11122 * conform/conformtest.pl: Handle "macro-int-constant" and test for
11123 usability of symbols in #if.
11125 * conform/conformtest.pl: If macro or constant types start
11126 "promoted:", expect the symbol to be of the following type
11127 promoted by the integer promotions.
11129 * conform/conformtest.pl: Parse all "constant" and "macro" lines
11130 in one place. Also handle "macro-constant".
11132 * conform/conformtest.pl: Only accept expected macro values with
11133 "==". Parse all "macro" lines in one place.
11134 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
11136 * conform/conformtest.pl: Handle braced types on "constant" lines
11137 instead of handling "typed-constant".
11138 * conform/data/signal.h-data: Use "constant" instead of
11141 * conform/conformtest.pl: Handle "optional-" at start of lines in
11142 one place rather than duplicating several cases. Handle each
11143 format of "macro" line with initial "optional-".
11145 * conform/conformtest.pl: Only accept expected constant or
11146 optional-constant values with "==". Parse all "constant" lines in
11147 one place. Parse all "optional-constant" lines in one place.
11148 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
11149 * conform/data/fmtmsg.h-data: Likewise.
11150 * conform/data/netinet/in.h-data: Likewise.
11151 * conform/data/tar.h-data: Likewise.
11152 * conform/data/limits.h-data: Use "==" form on "constant" and
11153 "optional-constant" lines.
11155 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
11156 Use -std=c99 for XOPEN2K.
11157 (@knownproblems): Remove.
11158 (newtoken): Don't check %isknown.
11160 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
11161 Do not expect macro.
11162 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
11163 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
11164 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
11165 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
11166 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
11167 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
11168 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
11169 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
11170 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
11171 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
11172 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
11173 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
11174 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
11175 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
11176 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
11177 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
11178 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
11179 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
11180 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
11181 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
11182 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
11183 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
11184 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
11185 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
11186 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
11187 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
11188 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
11189 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
11190 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
11191 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
11192 [XPG3] (acosh): Likewise.
11193 [XPG3] (asinh): Likewise.
11194 [XPG3] (atanh): Likewise.
11195 [XPG3] (cbrt): Likewise.
11196 [XPG3] (expm1): Likewise.
11197 [XPG3] (ilogb): Likewise.
11198 [XPG3] (log1p): Likewise.
11199 [XPG3] (logb): Likewise.
11200 [XPG3] (nextafter): Likewise.
11201 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
11202 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
11203 [XPG3] (remainder): Likewise.
11204 [XPG3] (rint): Likewise.
11205 [XPG3 || XPG4 || UNIX98] (round): Likewise.
11206 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
11207 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
11208 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
11209 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
11210 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
11211 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
11212 [UNIX98 || XOPEN2K] (scalb): Expect.
11213 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
11214 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
11215 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
11216 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
11217 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
11218 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
11219 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
11220 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
11221 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
11222 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
11223 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
11224 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
11225 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
11226 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
11227 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
11228 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
11229 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
11230 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
11231 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
11232 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
11233 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
11234 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
11235 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
11236 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
11237 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
11238 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
11239 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
11240 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
11241 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
11242 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
11243 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
11244 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
11245 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
11246 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
11247 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
11248 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
11249 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
11250 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
11251 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
11252 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
11253 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
11254 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
11255 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
11256 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
11257 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
11258 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
11259 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
11260 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
11261 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
11262 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
11263 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
11264 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
11265 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
11266 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
11267 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
11268 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
11269 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
11270 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
11271 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
11272 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
11273 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
11274 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
11275 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
11276 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
11277 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
11278 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
11279 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
11280 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
11281 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
11282 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
11283 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
11284 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
11285 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
11286 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
11287 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
11288 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
11289 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
11290 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
11291 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
11292 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
11293 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
11294 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
11295 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
11296 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
11297 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
11298 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
11299 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
11300 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
11301 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
11302 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
11303 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
11304 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
11305 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
11306 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
11307 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
11308 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
11309 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
11310 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
11311 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
11312 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
11313 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
11314 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
11315 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
11316 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
11317 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
11318 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
11319 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
11320 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
11321 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
11322 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
11323 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
11324 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
11325 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
11326 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
11327 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
11328 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
11329 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
11330 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
11331 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
11332 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
11333 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
11334 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
11335 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
11336 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
11337 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
11338 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
11339 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
11340 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
11341 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
11342 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
11343 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
11344 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
11345 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
11346 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
11347 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
11348 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
11349 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
11351 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
11352 _XOPEN_SOURCE_EXTENDED for XPG4.
11354 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
11356 * Makeconfig (localtime): Remove variable.
11357 (inst_localtime-file): Likewise.
11359 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
11373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
11377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11380 2012-05-01 Joseph Myers <joseph@codesourcery.com>
11384 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
11385 comparisons to determine direction to adjust input.
11386 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11387 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
11388 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11390 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11392 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11394 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11395 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11397 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11399 * math/libm-test.inc (nexttoward_test): Add more tests.
11401 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11404 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
11405 in version GLIBC_2.1, not GLIBC_2.0.
11406 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
11409 2012-04-30 Joseph Myers <joseph@codesourcery.com>
11412 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
11414 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11415 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
11416 * math/libm-test.inc (acos_test): Add more tests.
11417 (asin_test): Likewise.
11418 * sysdeps/i386/fpu/libm-test-ulps: Update.
11419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11422 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
11424 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
11425 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11426 * math/libm-test.inc (acos_test_tonearest): New function.
11427 (acos_test_towardzero): Likewise.
11428 (acos_test_downward): Likewise.
11429 (acos_test_upward): Likewise.
11430 (asin_test_tonearest): Likewise.
11431 (asin_test_towardzero): Likewise.
11432 (asin_test_downward): Likewise.
11433 (asin_test_upward): Likewise.
11434 (main): Call the new functions.
11435 * sysdeps/i386/fpu/libm-test-ulps: Update.
11436 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11440 * math/e_exp10.c: Include <float.h>.
11441 (__ieee754_exp10): Handle underflow here rather than multiplying
11442 large negative argument by M_LN10.
11443 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
11445 * math/e_exp10l.c: Include <float.h>.
11446 (__ieee754_exp10l): Handle underflow here rather than multiplying
11447 large negative argument by M_LN10l.
11448 * math/libm-test.inc (exp10_test): Add another test. Do not allow
11449 spurious overflow exception on underflow.
11451 2012-04-29 Marek Polacek <polacek@redhat.com>
11453 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
11454 (__fortify_function): New macro.
11455 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
11456 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
11457 __extern_always_inline.
11458 * libio/bits/stdio2.h: Likewise.
11459 * libio/bits/stdio.h: Likewise.
11460 * string/string.h: Likewise.
11461 * string/bits/string3.h: Likewise.
11462 * include/stdio.h: Likewise.
11463 * stdlib/bits/stdlib.h: Likewise.
11464 * stdlib/stdlib.h: Likewise.
11465 * rt/bits/mqueue2.h: Likewise.
11466 * rt/mqueue.h: Likewise.
11467 * posix/bits/unistd.h: Likewise.
11468 * posix/unistd.h: Likewise.
11469 * io/bits/poll2.h: Likewise.
11470 * io/bits/fcntl2.h: Likewise.
11471 * io/fcntl.h: Likewise.
11472 * io/sys/poll.h: Likewise.
11473 * misc/bits/syslog.h: Likewise.
11474 * misc/bits/syslog-ldbl.h: Likewise.
11475 * misc/sys/syslog.h: Likewise.
11476 * socket/bits/socket2.h: Likewise.
11477 * socket/sys/socket.h: Likewise.
11478 * debug/tst-chk1.c: Likewise.
11479 * wcsmbs/bits/wchar2.h: Likewise.
11480 * wcsmbs/bits/wchar-ldbl.h: Likewise.
11481 * wcsmbs/wchar.h: Likewise.
11483 2012-04-29 Andreas Jaeger <aj@suse.de>
11485 * Makerules (tests): Remove enable-check-abi protection.
11486 (check-abi-warn): Remove.
11487 (check-abi-%): Remove check-abi-warn usage.
11489 * configure.in: Remove check-abi configure option.
11490 * configure: Regenerated.
11491 * config.make.in (enable-check-abi): Remove.
11493 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
11496 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
11497 double functions to double *_finite functions.
11500 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
11501 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
11503 * stdio-common/Makefile (tests): Add tst-sprintf3.
11504 * stdio-common/tst-sprintf3.c: New file.
11506 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
11507 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
11509 2012-04-28 Joseph Myers <joseph@codesourcery.com>
11511 * conform/conformtest.pl: Remove duplicate typed-constant
11514 2012-04-28 David S. Miller <davem@davemloft.net>
11516 * Makerules (%.abilist): Add vpath on sysdep_dirs.
11517 (check-abi-%): Remove AWK script prerequisite and explicit
11519 (check-abi): Rewrite to just diff the symlist with the abilist.
11520 (config-tls, config-abi-config): Delete, no longer used.
11521 (update-abi-%): Remove AWK script and explicit abilist directory.
11522 (update-abi): Rewrite to simply compare and conditionally copy the
11523 symlist and the sysdep abilist file. Remove update-abi-config
11525 * abilist/ld.abilist: Remove.
11526 * abilist/libBrokenLocale.abilist: Remove.
11527 * abilist/libanl.abilist: Remove.
11528 * abilist/libcrypt.abilist: Remove.
11529 * abilist/libdl.abilist: Remove.
11530 * abilist/librt.abilist: Remove.
11531 * abilist/libthread_db.abilist: Remove.
11532 * abilist/libutil.abilist: Remove.
11533 * scripts/extract-abilist.awk: Remove.
11534 * scripts/merge-abilist.awk: Remove.
11535 * sysdeps/generic/libcidn.abilist: New file.
11536 * sysdeps/generic/libnss_compat.abilist: New file.
11537 * sysdeps/generic/libnss_db.abilist: New file.
11538 * sysdeps/generic/libnss_dns.abilist: New file.
11539 * sysdeps/generic/libnss_files.abilist: New file.
11540 * sysdeps/generic/libnss_hesiod.abilist: New file.
11541 * sysdeps/generic/libnss_nis.abilist: New file.
11542 * sysdeps/generic/libnss_nisplus.abilist: New file.
11543 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
11544 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
11545 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
11547 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
11548 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
11549 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
11550 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
11551 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
11552 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
11553 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
11554 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
11555 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
11557 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
11558 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
11559 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
11560 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
11562 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
11563 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
11564 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
11565 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
11566 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
11567 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
11569 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
11570 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
11571 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
11573 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
11574 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
11576 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
11578 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
11580 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
11582 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
11584 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
11586 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
11588 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
11590 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
11592 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
11594 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
11596 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11598 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
11608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
11614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
11627 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11629 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11631 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11633 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11635 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11637 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
11651 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
11652 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
11654 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
11658 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
11660 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
11662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
11664 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
11666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11668 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
11670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
11672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11674 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
11676 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11677 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
11678 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
11680 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
11681 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
11682 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
11683 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
11684 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
11685 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
11686 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
11687 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
11688 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
11689 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
11690 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
11691 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
11693 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11695 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
11697 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
11699 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
11701 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
11703 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
11705 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11707 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11709 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
11711 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11713 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
11715 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
11716 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
11718 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11720 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
11722 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
11724 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
11726 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
11728 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
11730 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11732 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
11736 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11738 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
11741 2012-04-28 Joseph Myers <joseph@codesourcery.com>
11743 * conform/conformtest.pl: Fix typo in handling typed-constant from
11746 2012-04-27 Joseph Myers <joseph@codesourcery.com>
11748 * README: Cut down references to pre-2.6 Linux kernels and
11749 Linuxthreads. Update lists of configurations in libc and ports
11750 and sort alphabetically. Say "or newer" with Linux kernel version
11753 * config.h.in [IS_IN_build]: Allow compiling without optimization.
11755 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11758 * math/libm-test.inc (logb_test_downward): New test to expose
11759 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11762 2012-04-27 Joseph Myers <joseph@codesourcery.com>
11765 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11767 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11768 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11770 2012-04-26 Joseph Myers <joseph@codesourcery.com>
11772 * sysdeps/unix/i386/brk.S: Remove file.
11773 * sysdeps/unix/i386/dl-brk.S: Likewise.
11774 * sysdeps/unix/i386/pipe.S: Likewise.
11775 * sysdeps/unix/i386/sigreturn.S: Likewise.
11776 * sysdeps/unix/i386/syscall.S: Likewise.
11777 * sysdeps/unix/i386/vfork.S: Likewise.
11778 * sysdeps/unix/i386/wait.S: Likewise.
11780 * sysdeps/unix/common/tcsendbrk.c: Move to ...
11781 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11783 * configure.in (arm*-none*): Do not allow without
11784 --enable-hacker-mode.
11785 (netbsd*): Remove case setting base_os.
11786 (386bsd*): Likewise.
11787 (freebsd*): Likewise.
11790 (sunos*): Likewise.
11791 (ultrix*): Likewise.
11792 (newsos*): Likewise.
11793 (dynix*): Likewise.
11799 (minix*): Likewise.
11800 (irix4*): Likewise.
11801 (irix6*): Likewise.
11802 (solaris[2-9]*): Likewise.
11804 * configure: Regenerated.
11806 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11809 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11810 overflow or cancellation in calculating denominator.
11811 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11812 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11813 down expression to avoid unexpected rounding in newer GCCs.
11814 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11816 2012-04-26 David S. Miller <davem@davemloft.net>
11818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11819 long-double compat symbols.
11820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11827 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11834 2012-04-25 David S. Miller <davem@davemloft.net>
11836 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11837 HWCAP_* values only after the memory barriers have been defined.
11838 (atomic_full_barrier): Define.
11839 (atomic_read_barrier): Define.
11840 (atomic_write_barrier): Define.
11842 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11844 * shlib-versions: Add libgcc_s version information.
11845 * sysdeps/generic/libgcc_s.h: Remove.
11846 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11848 * sysdeps/gnu/unwind-resume.c: Likewise.
11849 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11851 2012-04-25 David S. Miller <davem@davemloft.net>
11853 * sysdeps/unix/sparc/brk.S: Delete.
11854 * sysdeps/unix/sparc/dl-brk.S: Delete.
11855 * sysdeps/unix/sparc/pipe.S: Delete.
11856 * sysdeps/unix/sparc/sysdep.S: Delete.
11857 * sysdeps/unix/sparc/sysdep.h: Delete.
11858 * sysdeps/unix/sparc/vfork.S: Delete.
11859 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11860 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11861 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11862 ret_ERRVAL, r0, r1, MOVE): Define.
11863 (JUMPTARGET): Remove.
11864 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11865 sysdeps/unix/sparc/sysdep.h
11866 (ENTRY, END): Remove.
11867 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11869 2012-04-25 Joseph Myers <joseph@codesourcery.com>
11871 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11872 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11875 * timezone/README: Update upstream location and email address for
11877 * timezone/zdump.c: Update from tzcode 2012b.
11878 * timezone/zic.c: Likewise.
11880 * configure.in (libc_cv_as_needed): Remove test.
11881 * configure: Regenerated.
11882 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11883 conditional definition.
11884 [$(have-as-needed) != yes] (no-as-needed): Likewise.
11885 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11886 * config.make.in (have-as-needed): Remove variable.
11888 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11889 Paul Pluzhnikov <ppluzhnikov@google.com>
11891 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11894 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11896 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11897 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11898 * sysdeps/sh/strlen.S: Likewise.
11900 2012-04-24 Joseph Myers <joseph@codesourcery.com>
11902 * sysdeps/unix/fork.S: Remove file.
11903 * sysdeps/unix/i386/fork.S: Likewise.
11904 * sysdeps/unix/sparc/fork.S: Likewise.
11906 * sysdeps/unix/system.c: Remove file.
11907 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11909 * sysdeps/unix/getegid.S: Remove file.
11910 * sysdeps/unix/geteuid.S: Likewise.
11912 2012-04-24 Roland McGrath <roland@hack.frob.com>
11914 * scripts/check-localplt.awk: New file.
11915 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11917 * scripts/data/localplt-generic.data: Add a comment.
11919 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11920 NODE when __dir_mkfile failed.
11921 * sysdeps/mach/hurd/symlinkat.c: Likewise.
11922 Reported by Ludovic Courtès <ludo@gnu.org>.
11924 2012-04-24 Andreas Jaeger <aj@suse.de>
11926 * Makerules (common-clean): Also remove gen-as-const-headers
11929 2012-04-24 Joseph Myers <joseph@codesourcery.com>
11931 * Makerules (native-compile): Do not change working directory for
11932 build. Use $(OUTPUT_OPTION) in command.
11933 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
11935 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11938 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
11939 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
11940 * math/libm-test.inc (floor_test): Add more tests.
11941 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
11943 2012-04-24 Joseph Myers <joseph@codesourcery.com>
11945 * sysdeps/unix/getdents.c: Remove file.
11946 * sysdeps/unix/sysv/getdents.c: Likewise.
11947 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
11949 * sysdeps/unix/syscalls.list (madvise): Add syscall from
11950 sysdeps/unix/mman/syscalls.list.
11952 (mprotect): Likewise.
11954 (munmap): Likewise.
11955 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
11956 * sysdeps/unix/mman/syscalls.list: Remove.
11957 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
11959 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
11960 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
11961 * configure: Regenerated.
11962 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
11963 $(libgcc_s_suffix).
11964 * config.make.in (libgcc_s_suffix): Remove variable.
11966 2012-04-23 Joseph Myers <joseph@codesourcery.com>
11968 * sysdeps/unix/sysv/gethostname.c: Move to ...
11969 * sysdeps/posix/gethostname.c: ... here.
11971 * sysdeps/unix/execve.S: Remove file.
11973 * sysdeps/unix/_exit.S: Remove file.
11975 2012-04-23 Andreas Jaeger <aj@suse.de>
11978 * manual/Makefile: Remove make dist support, there's no
11979 need for a stand-alone documentation tar ball.
11980 (TEXI2DVI): Define always, it's not in Makeconfig.
11983 (edition): Removed.
11984 (glibc-doc-$(edition).tar): Removed
11988 (ETAGS): Remove, it's in Makeconfig.
11989 (move-if-change): Remove, it's in Makeconfig.
11991 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
11994 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
11995 (strtod, strtof, strtold, strtol, strtoul, strtoq)
11996 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
11997 (strtod_l, strtof_l, strtold_l): Remove __wur.
11998 It is not necessarily an error to ignore strtol's return value.
11999 One can reliably look at the stored endptr to decide whether
12000 the number had valid syntax.
12002 2012-04-21 Andreas Jaeger <aj@suse.de>
12005 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
12007 2012-04-21 Joseph Myers <joseph@codesourcery.com>
12009 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
12010 * sysdeps/unix/sysv/Versions: Remove file.
12012 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
12015 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12017 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
12020 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
12021 version from __vm86.
12023 2012-04-20 Joseph Myers <joseph@codesourcery.com>
12025 * sysdeps/unix/common/lxstat.c: Remove file.
12026 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
12028 * sysdeps/unix/sysv/Makefile: Remove file.
12030 * sysdeps/unix/sysv/direct.h: Remove file.
12032 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
12033 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
12034 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
12035 * sysdeps/unix/sysv/bits/signum.h: Likewise.
12036 * sysdeps/unix/sysv/bits/stat.h: Likewise.
12037 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
12038 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
12040 * sysdeps/unix/sysv/setrlimit.c: Remove file.
12042 * sysdeps/unix/xmknod.c: Remove file.
12043 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
12045 * sysdeps/unix/sysv/settimeofday.c: Remove file.
12047 * sysdeps/unix/sysv/i386/time.S: Remove file.
12049 * sysdeps/unix/fxstat.c: Remove file.
12050 * sysdeps/unix/xstat.c: Likewise.
12051 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
12053 * sysdeps/unix/sysv/sigaction.c: Remove file.
12055 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
12056 (sysdep_headers): Remove variable.
12057 [termio.h not in sysdep_headers] (generated): Likewise.
12058 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
12059 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
12060 * sysdeps/unix/sysv/tcdrain.c: Likewise.
12061 * sysdeps/unix/sysv/tcflow.c: Likewise.
12062 * sysdeps/unix/sysv/tcflush.c: Likewise.
12063 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
12064 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
12065 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
12066 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
12067 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
12069 * sysdeps/unix/siglist.c: Remove file.
12071 * sysdeps/unix/getppid.S: Remove file.
12073 * sysdeps/unix/mkdir.c: Remove file.
12074 * sysdeps/unix/rmdir.c: Likewise.
12076 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
12078 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
12080 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
12081 errlist-compat value.
12083 2012-04-18 David S. Miller <davem@davemloft.net>
12085 * sysdeps/generic/memcopy.h (reg_char): Delete.
12086 * debug/strcat_chk.c: Use char, not reg_char.
12087 * debug/strcpy_chk.c: Likewise.
12088 * debug/strncat_chk.c: Likewise.
12089 * debug/strncpy_chk.c: Likewise.
12090 * string/memchr.c: Likewise.
12091 * string/memrchr.c: Likewise.
12092 * string/rawmemchr.c: Likewise.
12093 * string/strcat.c: Likewise.
12094 * string/strchr.c: Likewise.
12095 * string/strchrnul.c: Likewise.
12096 * string/strcmp.c: Likewise.
12097 * string/strcpy.c: Likewise.
12098 * string/strncat.c: Likewise.
12099 * string/strncmp.c: Likewise.
12100 * string/strncpy.c: Likewise.
12102 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12104 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
12105 __builtin_memcopy is called when src and dest ranges are known to not
12108 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12110 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
12111 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
12112 fwd_align_merge macro call.
12113 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
12114 bwd_align_merge macro call.
12115 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12117 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12119 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
12120 bwd_align_merge macros.
12121 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
12122 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
12123 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12125 2012-04-18 David S. Miller <davem@davemloft.net>
12127 * sysdeps/sparc/sparc64/memcopy.h: Delete.
12129 2012-04-18 Andreas Jaeger <aj@suse.de>
12132 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
12133 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
12134 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12136 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
12137 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
12138 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12140 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
12141 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
12142 Adjust for changed ldbl-128 files.
12144 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
12145 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
12146 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12148 2012-04-17 David S. Miller <davem@davemloft.net>
12150 * sysdeps/sparc/sparc32/memcopy.h: Delete.
12152 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
12154 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
12155 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
12156 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
12157 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
12158 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12159 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
12161 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12164 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
12165 * math/libm-test.inc: Add ilogb errno and exception tests.
12166 * math/w_ilogb.c: New file: ilogb wrapper.
12167 * math/w_ilogbf.c: New file: ilogbf wrapper.
12168 * math/w_ilogbl.c: New file: ilogbl wrapper.
12169 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
12170 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
12171 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
12172 exception being thrown with 0.0 as argument.
12173 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
12174 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
12175 exception being thrown with 0.0 as argument.
12176 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
12177 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12178 exception being thrown with 0.0 as argument.
12179 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
12180 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12181 exception being thrown with 0.0 as argument.
12182 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
12183 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
12184 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
12185 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
12186 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
12187 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
12188 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
12189 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
12190 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
12192 2012-04-17 Petr Baudis <pasky@ucw.cz>
12194 * include/sys/uio.h: Change __vector to __iovec to avoid clash
12197 2012-04-16 Marek Polacek <polacek@redhat.com>
12199 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
12201 2012-04-16 Marek Polacek <polacek@redhat.com>
12203 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
12204 operands of fdivp instruction.
12206 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12208 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
12209 * elf/tst-auditmod3b.c: Likewise.
12210 * elf/tst-auditmod4b.c: Likewise.
12211 * elf/tst-auditmod5b.c: Likewise.
12212 * elf/tst-auditmod6b.c: Likewise.
12213 * elf/tst-auditmod6c.c: Likewise.
12214 * elf/tst-auditmod7b.c: Likewise.
12215 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
12216 * sysdeps/x86_64/preconfigure.in: Likewise.
12217 * sysdeps/x86_64/preconfigure: Regenerated.
12219 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12221 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
12224 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
12226 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12227 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
12229 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
12232 * locale/iso-639.def: Fix gl language name. Spotted by
12235 2012-04-12 Roland McGrath <roland@hack.frob.com>
12238 * libio/libio.h (__io_write_fn): Update comment.
12240 2012-04-12 Petr Baudis <pasky@ucw.cz>
12243 * stdio.texi (Hook Functions): The user provided writer function
12244 is not allowed to return -1.
12246 2012-04-11 David S. Miller <davem@davemloft.net>
12248 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12250 2012-04-11 Mike Frysinger <vapier@gentoo.org>
12252 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
12253 Add a leading slash to rtkaio.
12255 2012-04-11 Jim Meyering <meyering@redhat.com>
12258 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
12259 It is not necessarily an error to ignore fwrite's return
12260 value. One can reliably use ferror to test for errors after
12263 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12265 * bits/types.h (__snseconds_t): New type.
12266 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
12268 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
12269 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12270 (__SNSECONDS_T_TYPE): Likewise.
12271 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12272 (__SNSECONDS_T_TYPE): Likewise.
12273 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12274 (__SNSECONDS_T_TYPE): Likewise.
12276 2012-04-10 Andreas Jaeger <aj@suse.de>
12279 * manual/time.texi (Processor Time): Return type of times is
12280 elapsed real time since an arbitrary point in the past.
12281 (CPU Time): Move CLK_TCK from here...
12282 (Processor Time): ...to here. Correct description.
12283 * manual/conf.texi (Constants for Sysconf): Correct description of
12286 2012-04-10 David S. Miller <davem@davemloft.net>
12289 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
12290 where the is a gap between DT_REL(A) and DT_JMPREL.
12292 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12294 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
12295 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12296 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12298 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12300 * elf/dl-support.c (_dl_inhibit_cache): New variable.
12301 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
12302 (dl_main): Handle --inhibit-cache.
12303 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
12305 * elf/dl-load.c (_dl_map_object): Use it.
12306 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
12308 2012-04-09 Joseph Myers <joseph@codesourcery.com>
12311 * sysdeps/i386/fpu/e_powl.S (p78): New object.
12312 (__ieee754_powl): Saturate large exponents rather than testing for
12313 overflow of y*log2(x).
12314 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12315 * math/libm-test.inc (pow_test): Do not permit spurious overflow
12319 * math/s_ctan.c: Include <float.h>.
12320 (__ctan): Avoid internal overflow or cancellation in calculating
12322 * math/s_ctanf.c: Likewise.
12323 * math/s_ctanl.c: Likewise.
12324 * math/s_ctanh.c: Likewise.
12325 * math/s_ctanhf.c: Likewise.
12326 * math/s_ctanhl.c: Likewise.
12327 * math/libm-test.inc (ctan_test): Add more tests.
12328 (ctanh_test): Likewise.
12329 * sysdeps/i386/fpu/libm-test-ulps: Update.
12330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12332 2012-04-09 Andreas Jaeger <aj@suse.de>
12335 * manual/filesys.texi (Directory Entries): Mention that d_namlen
12336 is an optional BSD extension.
12339 * manual/stdio.texi (Opening Streams): Document additional fopen
12342 2012-04-09 Roland McGrath <roland@hack.frob.com>
12344 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
12345 %eax without telling the compiler.
12347 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
12350 * manual/install.texi: Use sourceware.org.
12352 2012-04-09 Joseph Myers <joseph@codesourcery.com>
12355 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
12356 (__ieee754_pow): Generate overflow and underflow using huge*huge
12357 and tiny*tiny rather than just returning constant infinity or zero
12358 for large exponents.
12359 * math/libm-test.inc (pow_test): Require overflow exceptions for
12360 applicable cases of large exponents.
12363 * sysdeps/i386/fpu/e_pow.S (p10): New object.
12364 (__ieee754_pow): Use iterative multiplication algorithm only for
12365 integer exponents with absolute value below 1024. Check for odd
12366 integer exponents when using algorithm for real exponents.
12367 * math/libm-test.inc (pow_test): Add more tests.
12368 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12370 2012-04-08 Joseph Myers <joseph@codesourcery.com>
12373 * math/libm-test.inc (exp_test): Do not allow overflow exception
12376 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
12379 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
12380 instead of __kernel_standard_f.
12382 2012-04-08 Mike Frysinger <vapier@gentoo.org>
12384 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
12385 * sysdeps/x86_64/memset_chk.S: Likewise.
12387 2012-04-08 Andreas Jaeger <aj@suse.de>
12390 * manual/startup.texi (Environment Access): Describe return value
12391 for putenv and setenv.
12394 * manual/filesys.texi (Directory Entries): Add description for
12398 * manual/filesys.texi (Directory Entries): Clarify that it's file
12399 system not operating system in the description of DT_UNKNOWN.
12402 * manual/syslog.texi (closelog): Fix reference, it's openlog.
12404 2012-04-08 Stephen Compall <s11@member.fsf.org>
12407 * manual/llio.texi (Opening and Closing Files): Add cross
12408 reference to explain mode argument.
12410 2012-04-07 Mike Frysinger <vapier@gentoo.org>
12412 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
12413 * sysdeps/x86_64/memset_chk.S: Likewise.
12415 2012-04-07 David S. Miller <davem@davemloft.net>
12417 * elf/elf.h (R_SPARC_WDISP10): Define.
12418 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
12420 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
12421 R_SPARC_SIZE64 and R_SPARC_H34.
12423 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
12425 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
12426 conditions and remove no longer applicable assertion.
12428 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12430 * bits/byteswap.h: Include <features.h>.
12431 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12432 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12434 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12436 * bits/byteswap.h (__bswap_16): Removed.
12437 Include <bits/byteswap-16.h> to get __bswap_16.
12438 * sysdeps/i386/bits/byteswap.h: Likewise.
12439 * sysdeps/s390/bits/byteswap.h: Likewise.
12440 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12441 * bits/byteswap-16.h: New file.
12442 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12443 * sysdeps/s390/bits/byteswap-16.h: Likewise.
12444 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
12445 * string/Makefile (headers): Add bits/byteswap-16.h.
12447 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12450 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
12452 * nss/Makefile (tests-static, tests): Add tst-nss-static.
12453 * nss/tst-nss-static.c: New.
12455 2012-04-06 Robert Millan <rmh@gnu.org>
12458 * manual/llio.texi (File Position Primitive): lseek
12459 refers to WHENCE when it really means OFFSET.
12461 2012-04-06 Andreas Jaeger <aj@suse.de>
12463 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
12464 strncmp declarations.
12466 * abilist/libc.abilist: Add __poll and __ppoll.
12468 2012-04-05 David S. Miller <davem@davemloft.net>
12470 * scripts/check-local-headers.sh: Accept a host triplet in the
12471 path matched by the exclude regexp.
12473 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
12475 * sysdeps/powerpc/powerpc32/dl-machine.h
12476 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
12477 * sysdeps/s390/s390-32/dl-machine.h
12478 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12479 * sysdeps/sparc/sparc32/dl-machine.h
12480 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12481 * sysdeps/sparc/sparc64/dl-machine.h
12482 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12484 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
12486 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
12487 undefined symbol errors.
12489 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
12492 2012-04-05 Michael Matz <matz@suse.de>
12495 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
12497 2012-04-05 Andreas Jaeger <aj@suse.de>
12500 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
12503 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12505 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
12506 which ROUND is no valid rounding mode.
12508 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12510 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
12512 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
12514 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12516 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
12517 an exception using FPU order intentionally.
12519 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12521 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
12522 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
12523 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
12524 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
12526 2012-04-05 Simon Josefsson <simon@josefsson.org>
12529 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
12530 EINVAL when BUFLEN is too smal.
12532 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
12535 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
12536 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
12538 2012-04-03 Andreas Jaeger <aj@suse.de>
12541 * manual/setjmp.texi (System V contexts): Fix sentence.
12544 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
12545 New macro for this case.
12546 [!__GNUC__] (__bswap_64): New inline function for this case.
12547 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12548 * bits/byteswap.h: Likewise.
12549 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
12550 ull, guard with __GLIBC_HAVE_LONG_LONG.
12552 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
12553 __GLIBC_HAVE_LONG_LONG.
12555 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
12556 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
12558 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12561 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
12562 inptr and inend, rather than using last_ch.
12564 2012-04-02 David S. Miller <davem@davemloft.net>
12566 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
12567 * stdio-common/printf-parse.h (read_int): Change return type to
12568 'int', return -1 on INT_MAX overflow.
12569 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
12570 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
12571 overflows INT_MAX. Check for overflow of in-format-string precision
12572 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
12573 SIZE_MAX not INT_MAX for integer overflow test.
12574 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12575 skip the construct in the format string but do not record anything.
12576 * stdio-common/bug22.c: Adjust to test both width/prevision
12577 INT_MAX overflow as well as total length INT_MAX overflow. Check
12578 explicitly for proper errno values.
12580 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
12582 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
12584 * string/test-strcmp.c [! WIDE]: Likewise.
12585 * time/tst-mktime2.c: Likewise for INT_MAX.
12586 * string/test-string.h: #include <sys/param.h> for MIN.
12588 * csu/init-first.c (__libc_init_first): Call __ctype_init.
12589 * sysdeps/i386/init-first.c (init): Likewise.
12590 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
12591 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
12592 * sysdeps/sh/init-first.c (init): Likewise.
12594 2012-04-01 Ulrich Drepper <drepper@gmail.com>
12596 * po/ru.po: Update from translation team.
12597 * po/vi.po: Likewise.
12599 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12601 * resolv/nss_dns/dns-host.c: Merge copyright years.
12603 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12605 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12606 Optimize memcpy with prefetch if
12607 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
12608 src, dst pointers have unequal 16 byte alignments.
12610 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12613 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
12614 from a CNAME entry and return the minimum ttl for the query.
12615 (gaih_getanswer_slice): Likewise.
12617 2012-03-30 Jeff Law <law@redhat.com>
12619 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
12621 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12622 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12624 * resolv/nss_dns/dns-host.c: Update copyright year.
12626 2012-03-30 Ulrich Drepper <drepper@gmail.com>
12628 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
12629 requests to save a system call. Fix check that all bytes are sent.
12631 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12632 comments for sendmmsg.
12634 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12637 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12638 with only 1 character between 0x0041 and 0x01b0.
12639 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12640 * wcsmbs/tst-mbsnrtowcs.c: New file.
12642 2012-03-29 David S. Miller <davem@davemloft.net>
12644 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12645 small copies by hand.
12647 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12650 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
12651 _nss_compat_initgroups_dyn): Fall back to malloc/free
12652 for large group memberships.
12654 2012-03-28 David S. Miller <davem@davemloft.net>
12656 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
12657 that branches into memcpy.
12658 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12659 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12660 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12661 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12662 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
12664 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
12665 implementation too.
12666 * sysdeps/sparc/mempcpy.S: New file.
12668 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
12669 the IFUNC routine in the libc case.
12670 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12672 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
12673 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
12674 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
12675 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
12676 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
12677 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
12678 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
12679 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
12681 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
12682 loop to 256 bytes instead of 64 bytes and fix test signedness.
12684 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
12685 * sysdeps/sparc/sparc32/Makefile: rather than here...
12686 * sysdeps/sparc/sparc64/Makefile: and here.
12688 2012-03-28 Ulrich Drepper <drepper@gmail.com>
12690 * malloc/mallocbug.c: Avoid warnings about unused variables.
12692 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12695 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
12696 in the right place. Discard and retry query if response is
12697 larger than input buffer size.
12699 2012-03-28 Joseph Myers <joseph@codesourcery.com>
12704 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
12705 x for large integer exponent.
12706 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12707 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
12708 sign of result as needed afterwards.
12709 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12710 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
12711 result for underflowing pow the same as for overflow.
12712 (__kernel_standard_l): Handle powl overflow and underflow here
12713 rather than calling __kernel_standard.
12714 * math/libm-test.inc (pow_test): Add more tests.
12729 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
12730 * sysdeps/ieee754/k_standard.c: Include <float.h>.
12731 (__kernel_standard_l): New function.
12732 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
12734 * math/w_acosl.c (__acosl): Likewise.
12735 * math/w_asinl.c (__asinl): Likewise.
12736 * math/w_atan2l.c (__atan2l): Likewise.
12737 * math/w_atanhl.c (__atanhl): Likewise.
12738 * math/w_coshl.c (__coshl): Likewise.
12739 * math/w_exp10l.c (__exp10l): Likewise.
12740 * math/w_exp2l.c (__exp2l): Likewise.
12741 * math/w_fmodl.c (__fmodl): Likewise.
12742 * math/w_hypotl.c (__hypotl): Likewise.
12743 * math/w_j0l.c (__j0l, __y0l): Likewise.
12744 * math/w_j1l.c (__j1l, __y1l): Likewise.
12745 * math/w_jnl.c (__jnl, __ynl): Likewise.
12746 * math/w_lgammal.c (__lgammal): Likewise.
12747 * math/w_log10l.c (__log10l): Likewise.
12748 * math/w_log2l.c (__log2l): Likewise.
12749 * math/w_logl.c (__logl): Likewise.
12750 * math/w_powl.c (__powl): Likewise.
12751 * math/w_remainderl.c (__remainderl): Likewise.
12752 * math/w_scalbl.c (sysv_scalbl): Likewise.
12753 * math/w_sinhl.c (__sinhl): Likewise.
12754 * math/w_sqrtl.c (__sqrtl): Likewise.
12755 * math/w_tgammal.c (__tgammal): Likewise.
12756 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12757 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12758 * math/libm-test.inc (acos_test): Add more tests.
12759 (acosh_test): Likewise.
12760 (asin_test): Likewise.
12761 (atanh_test): Likewise.
12762 (exp_test): Likewise.
12763 (exp10_test): Likewise.
12764 (exp2_test): Likewise.
12765 (expm1_test): Likewise.
12766 (lgamma_test): Likewise.
12767 (log_test): Likewise.
12768 (log10_test): Likewise.
12769 (log1p_test): Likewise.
12770 (log2_test): Likewise.
12771 (pow_test): Do not allow some spurious overflow exceptions.
12772 (sqrt_test): Add more tests.
12773 (tgamma_test): Likewise.
12774 (y0_test): Likewise.
12775 (y1_test): Likewise.
12776 (yn_test): Likewise.
12778 2012-03-27 Anton Blanchard <anton@samba.org>
12780 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12782 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12783 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12784 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12786 2012-03-27 David S. Miller <davem@davemloft.net>
12788 * conform/Makefile: Run run-conformtest.sh using $(BASH).
12790 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12791 have-as-vis3 check.
12793 2012-03-27 Andreas Jaeger <aj@suse.de>
12795 * sysdeps/x86_64/elf/configure.in: Moved to ...
12796 * sysdeps/x86_64/configure.in: ... here.
12797 * sysdeps/x86_64/elf/start.S: Moved to ...
12798 * sysdeps/x86_64/start.S: ... here.
12799 * sysdeps/x86_64/elf/configure: Delete.
12801 * sysdeps/x86_64/configure.in: Merge contents from
12802 sysdeps/i386/configure.in (without i686 check).
12804 * sysdeps/i386/elf/Versions: Merge into ...
12805 * sysdeps/i386/Versions: ... this.
12806 * sysdeps/i386/elf/Versions: Delete file.
12807 * sysdeps/i386/elf/start.S: Moved to ...
12808 * sysdeps/i386/start.S: ...here.
12809 * sysdeps/i386/elf/configure.in: Merge into...
12810 * sysdeps/i386/configure.in: ...here.
12811 * sysdeps/i386/elf/configure.in: Delete file.
12812 * sysdeps/i386/elf/configure: Delete file.
12814 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12815 * debug/backtracesyms.c: ... here.
12816 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12817 * debug/backtracesymsfd.c: ... here.
12818 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12819 * sysdeps/generic/ifunc-sel.h: ... here.
12821 * sysdeps/unix/i386/start.c: Delete file.
12822 * sysdeps/unix/sparc/start.c: Delete file.
12823 * sysdeps/unix/start.c: Delete file.
12825 * sysdeps/sh/elf/configure.in: Moved to ...
12826 * sysdeps/sh/configure.in: ... here.
12827 * sysdeps/sh/elf/start.S: Moved to ...
12828 * sysdeps/sh/start.S: ... here.
12829 * sysdeps/sh/elf/configure: Delete file.
12831 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12832 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12833 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12834 * sysdeps/powerpc/powerpc64/entry.h: ... here.
12835 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12836 * sysdeps/powerpc/powerpc64/start.S: here.
12837 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12838 * sysdeps/powerpc/powerpc64/Makefile: ... this.
12839 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12840 * sysdeps/powerpc/powerpc64/configure.in: ... this.
12841 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12843 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12844 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12845 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12846 * sysdeps/powerpc/powerpc32/start.S: ... here.
12847 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12848 * sysdeps/powerpc/powerpc32/configure.in: ... this.
12849 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12851 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12852 * sysdeps/powerpc/ifunc-sel.h: ... here.
12853 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12854 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12856 * sysdeps/sparc/elf/configure.in: Moved to ...
12857 * sysdeps/sparc/configure.in: ... here.
12858 * sysdeps/sparc/elf/configure: Delete file.
12859 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12860 * sysdeps/sparc/sparc32/start.S: ... here.
12861 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12862 * sysdeps/sparc/sparc64/start.S: ... here.
12863 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12864 * sysdeps/sparc/sparc32/Makefile: ... this.
12865 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12866 * sysdeps/sparc/sparc64/Makefile: ... this.
12868 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12869 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12870 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12871 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12872 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12873 * sysdeps/s390/s390-32/setjmp.S: ... here.
12874 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12875 * sysdeps/s390/s390-32/configure.in: ... here.
12876 * sysdeps/s390/s390-32/elf/configure: Delete file.
12877 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12878 * sysdeps/s390/s390-32/start.S: ... here.
12880 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12881 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12882 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12883 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12884 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12885 * sysdeps/s390/s390-64/setjmp.S: ... here.
12886 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12887 * sysdeps/s390/s390-64/configure.in: ... here
12888 * sysdeps/s390/s390-64/elf/configure: Delete file.
12889 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12890 * sysdeps/s390/s390-64/start.S: ... here.
12891 * sysdeps/s390/s390-64/elf/configure: Delete.
12893 * configure.in: Remove support for elf directories in sysdeps.
12895 * configure: Regenerated.
12896 * sysdeps/i386/configure: Regenerated.
12897 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12898 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12899 * sysdeps/s390/s390-32/configure: Regenerated.
12900 * sysdeps/s390/s390-64/configure: Regenerated.
12901 * sysdeps/sh/configure: Regenerated.
12902 * sysdeps/sparc/configure: Regenerated.
12903 * sysdeps/x86_64/configure: Regenerated.
12905 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
12907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12909 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12910 denormal result into account.
12912 2012-03-25 Roland McGrath <roland@hack.frob.com>
12914 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12915 Reported by Allan McRae <allan@archlinux.org>.
12917 2012-03-23 Jeff Law <law@redhat.com>
12919 * nss/getnssent.c (__nss_getent): Fix typo.
12921 2012-03-23 David S. Miller <davem@davemloft.net>
12923 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12925 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
12927 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12928 to pad to uint64_t for each field.
12929 (dl_tls_index): Replace unsigned long with uint64_t.
12931 2012-03-23 Daniel Jacobowitz <dmj@google.com>
12932 Paul Pluzhnikov <ppluzhnikov@google.com>
12935 * grp/Makefile (otherlibs): Don't set it.
12936 * inet/Makefile (otherlibs): Likewise.
12937 * login/Makefile (otherlibs): Likewise.
12938 * nscd/Makefile (otherlibs): Likewise.
12939 * posix/Makefile (otherlibs): Likewise.
12940 * pwd/Makefile (otherlibs): Likewise.
12941 * rt/Makefile (otherlibs): Likewise.
12942 * sunrpc/Makefile (otherlibs): Likewise.
12943 * nss/Makefile (otherlibs): Likewise.
12944 Add libnss_files to routines and static-only-routines.
12945 ($(objpfx)getent): Remove rule.
12946 * resolv/Makefile: Add libnss_dns and libresolv to routines and
12947 static-only-routines.
12949 2012-03-22 Joseph Myers <joseph@codesourcery.com>
12952 * math/s_cexp.c: Include <float.h>.
12953 (__cexp): Handle exp result overflowing not necessarily
12954 overflowing both real and imaginary parts of result.
12955 * math/s_cexpf.c: Likewise.
12956 * math/s_cexpl.c: Likewise.
12957 * math/libm-test.inc (cexp_test): Add more tests.
12958 * sysdeps/i386/fpu/libm-test-ulps: Update.
12959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12961 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12963 * include/link.h (ELFW): New macro.
12964 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
12965 Replace ELF64_R_TYPE with ELFW(R_TYPE).
12967 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12969 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
12972 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12974 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
12976 (struct La_x32_retval): Likewise.
12978 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
12980 * sysdeps/x86_64/preconfigure.in: New file.
12981 * sysdeps/x86_64/preconfigure: New generated file.
12983 2012-03-22 Joseph Myers <joseph@codesourcery.com>
12986 * math/e_exp2l.c: Include <float.h>.
12987 (__ieee754_exp2l): Handle overflow and underflow cases
12988 separately. Only pass fractional part of argument to
12990 * math/libm-test.inc (exp2_test): Add more tests.
12992 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
12993 negating x to take absolute value.
12994 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
12996 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
12997 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
12999 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
13000 computing low part if x was negated.
13001 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13003 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13005 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
13006 la_x32_gnu_pltexit.
13007 (pltexit): Cast int_retval to ptrdiff_t.
13008 * elf/tst-auditmod3b.c: Likewise.
13009 * elf/tst-auditmod4b.c: Likewise.
13010 * elf/tst-auditmod5b.c: Likewise.
13011 * elf/tst-auditmod6b.c: Likewise.
13012 * elf/tst-auditmod6c.c: Likewise.
13013 * elf/tst-auditmod7b.c: Likewise.
13015 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
13016 and x32_gnu_pltexit.
13018 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
13019 __ELF_NATIVE_CLASS.
13020 (La_x32_regs): New macro.
13021 (La_x32_retval): Likewise.
13022 (la_x32_gnu_pltenter): New function prototype.
13023 (la_x32_gnu_pltexit): Likewise.
13025 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
13027 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
13030 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13032 * configure.in (libc_cv_cc_nofma): Check for option to disable
13033 generation of FMA instructions.
13034 * configure: Regenerate.
13035 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
13036 * sysdeps/ieee754/dbl-64/Makefile: New file.
13037 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
13038 Remove brandred-fma4.
13039 (CFLAGS-brandred-fma4.c): Remove.
13040 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
13041 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
13043 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
13046 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13048 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13049 LLONG_MAX != LONG_MAX.
13050 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13051 (_fitoa_word): Likewise.
13052 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
13053 LLONG_MAX != LONG_MAX.
13054 * stdio-common/_itowa.h: Include <_itoa.h>.
13055 (_itowa_word): Use _ITOA_WORD_TYPE on value.
13056 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
13057 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
13058 only if not defined.
13059 (_ITOA_WORD_TYPE): Likewise.
13060 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13061 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
13063 2012-03-21 David S. Miller <davem@davemloft.net>
13065 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13067 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13069 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
13070 of x86_64 when setting libc_cv_slibdir, libdir and
13072 * sysdeps/unix/sysv/linux/configure: Regenerated.
13074 2012-03-21 Joseph Myers <joseph@codesourcery.com>
13076 * manual/lang.texi (Old Varargs): Remove section.
13077 (How Variadic): Update menu.
13078 (va_start): Do not mention varargs.h.
13080 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13081 Joseph Myers <joseph@codesourcery.com>
13083 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
13085 * configure: Regenerated.
13087 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13089 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
13090 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
13093 2012-03-21 Joseph Myers <joseph@codesourcery.com>
13096 * Makefile (files-for-dist): Remove NOTES.
13097 (NOTES): Remove rule.
13098 * README: Don't refer to NOTES.
13099 * manual/creature.texi: Don't include macros.texi.
13100 * manual/intro.texi (creature.texi): Remove comment referring to
13103 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
13104 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
13105 * configure: Regenerated.
13106 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
13107 LIBC_TRY_CC_OPTION.
13108 (libc_cv_as_i686): Likewise.
13109 (libc_cv_cc_avx): Likewise.
13110 (libc_cv_cc_sse2avx): Likewise.
13111 (libc_cv_cc_fma4): Likewise.
13112 (libc_cv_cc_novzeroupper): Likewise.
13113 * sysdeps/i386/configure: Regenerated.
13116 * sysdeps/i386/fpu/s_cexp.S: Remove.
13117 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13118 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13119 * math/libm-test.inc (cexp_test): Add more tests.
13120 * sysdeps/i386/fpu/libm-test-ulps: Update.
13121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13123 2012-03-21 Allan McRae <allan@archlinux.org>
13125 * timezone/Makefile: Do not install iso3166.tab and zone.tab
13127 2012-03-21 Joseph Myers <joseph@codesourcery.com>
13130 * math/w_exp2.c: Do not include <float.h>.
13131 (o_threshold, u_threshold): Remove.
13132 (__exp2): Calculate result before checking finiteness and calling
13134 * math/w_exp2f.c: Likewise.
13135 * math/w_exp2l.c: Likewise.
13136 * math/libm-test.inc (exp2_test): Require overflow exception for
13140 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
13141 range of signed 64-bit integers before using fistpll. Remove
13142 checks for whether integers fit in mantissa bits.
13143 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
13144 the range of signed 32-bit integers before using fistpl. Remove
13145 checks for whether integers fit in mantissa bits.
13146 * sysdeps/i386/fpu/e_powl.S (p64): New object.
13147 (__ieee754_powl): Test for y outside the range of signed 64-bit
13148 integers before using fistpll. Reduce 64-bit values to 63-bit
13150 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
13151 divide-by-zero is raised for zero to large negative powers.
13152 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
13153 (__ieee754_powl): Test for y outside the range of signed 64-bit
13154 integers before using fistpll. Reduce 64-bit values to 63-bit
13156 * math/libm-test.inc (pow_test): Add more tests.
13158 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13160 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
13161 <stdio-common/_itoa.h>.
13162 * debug/segfault.c: Likewise.
13163 * elf/dl-cache.c: Likewise.
13164 * elf/dl-minimal.c: Likewise.
13165 * elf/dl-misc.c: Likewise.
13166 * elf/dl-sysdep.c: Likewise.
13167 * elf/dl-version.c: Likewise.
13168 * elf/rtld.c: Likewise.
13169 * hurd/hurdsock.c: Likewise.
13170 * hurd/lookup-retry.c: Likewise.
13171 * malloc/malloc.c: Likewise.
13172 * malloc/mtrace.c: Likewise.
13173 * nscd/nscd_getgr_r.c: Likewise.
13174 * nscd/nscd_getpw_r.c: Likewise.
13175 * nscd/nscd_getserv_r.c: Likewise.
13176 * posix/getopt_init.c: Likewise.
13177 * posix/wordexp.c: Likewise.
13178 * stdio-common/_itoa.c: Likewise.
13179 * stdio-common/printf_fphex.c: Likewise.
13180 * stdio-common/vfprintf.c: Likewise.
13181 * string/_strerror.c: Likewise.
13182 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
13183 * sysdeps/i386/i686/hp-timing.h: Likewise.
13184 * sysdeps/mach/_strerror.c: Likewise.
13185 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
13186 * sysdeps/mach/hurd/sethostid.c: Likewise.
13187 * sysdeps/mach/hurd/xmknodat.c: Likewise.
13188 * sysdeps/mach/xpg-strerror.c: Likewise.
13189 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13190 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13191 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
13192 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
13193 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13194 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
13195 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13196 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13197 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
13198 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
13199 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
13200 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13201 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
13202 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13203 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13204 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
13205 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
13206 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
13207 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13208 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13209 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
13211 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
13213 * stdio-common/_itoa.h: Moved to ...
13214 * sysdeps/generic/_itoa.h: Here.
13216 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
13218 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
13219 instead of "_itoa.h" and "_itowa.h".
13220 * stdio-common/vfprintf.: Likewise.
13222 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13224 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
13226 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
13227 (__signbit): Likwise.
13228 (llrintf): Likwise.
13231 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13233 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
13236 2012-03-20 Joseph Myers <joseph@codesourcery.com>
13238 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
13239 OVERFLOW_EXCEPTION_OK.
13240 * math/libm-test.inc ("Philosophy"): Update comment about
13242 (OVERFLOW_EXCEPTION): Define.
13243 (OVERFLOW_EXCEPTION_OK): Likewise.
13244 (INVALID_EXCEPTION_OK): Renumber.
13245 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13246 (IGNORE_ZERO_INF_SIGN): Likewise.
13247 (test_exceptions): Handle FE_OVERFLOW.
13248 (exp10_test): Expect overflow exceptions.
13249 (exp2_test): Likewise.
13250 (expm1_test): Likewise.
13251 (nextafter_test): Likewise.
13252 (pow_test): Likewise.
13253 (scalbn_test): Likewise.
13254 (scalbln_test): Likewise.
13256 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13258 * sysdeps/x86_64/bits/atomic.h
13259 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
13261 (atomic_exchange_acq): Likewise.
13262 (__arch_exchange_and_add_body): Likewise.
13263 (__arch_add_body): Likewise.
13264 (atomic_add_negative): Likewise.
13265 (atomic_add_zero): Likewise.
13267 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13269 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
13270 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
13272 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13274 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
13275 Check __x86_64__ instead of __WORDSIZE.
13277 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13279 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
13281 2012-03-19 David S. Miller <davem@davemloft.net>
13283 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13285 * sysdeps/sparc/fpu/fenv_private.h: New file.
13286 * sysdeps/sparc/fpu/math_private.h: Use it.
13287 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
13289 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
13290 (libc_feholdexcept_setroundl): Remove.
13291 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
13293 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
13294 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
13296 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13298 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
13299 int64_t instead of long int.
13300 (INSERT_WORDS64): Likwise.
13302 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13304 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
13305 _Unwind_GetCFA return to _Unwind_Ptr first.
13307 2012-03-19 Joseph Myers <joseph@codesourcery.com>
13310 * math/s_clog.c: Include <float.h>.
13311 (__clog): Scale large or subnormal inputs.
13312 * math/s_clogf.c: Likewise.
13313 * math/s_clogl.c: Likewise.
13314 * math/s_clog10.c: Include <float.h>.
13315 (M_LOG10_2): Define.
13316 (__clog10): Scale large or subnormal inputs.
13317 * math/s_clog10f.c: Likewise.
13318 * math/s_clog10l.c: Likewise.
13319 * math/libm-test.inc (clog_test): Add more tests.
13320 (clog10_test): Likewise.
13321 * sysdeps/i386/fpu/libm-test-ulps: Update.
13322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13325 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
13327 * math/libm-test.inc (atan2_test): Add another test.
13329 * Makerules (common-objdir-compile): Remove.
13330 * sysdeps/unix/Makefile (config-generated): Do not add
13331 $(unix-generated) to variable.
13332 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
13333 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
13335 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
13337 [generic bits/local_lim.h] (before-compile): Do not append to
13339 [generic bits/local_lim.h] (common-generated): Likewise.
13340 [generic sys/param.h] (before-compile): Do not append to variable.
13341 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
13342 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
13343 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
13344 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
13346 [generic sys/param.h] (sys/param.h-includes): Remove variable.
13347 [generic sys/param.h] (sys/param.h-includes): Remove rule.
13348 [generic sys/param.h] ($(addprefix
13349 $(common-objpfx),$(sys/param.h-includes))): Likewise.
13350 [generic sys/param.h] (common-generated): Do not append to
13352 [generic sys/param.h] (sysdep_headers): Likewise.
13353 [generic bits/errno.h] (before-compile): Do not append to
13355 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
13357 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
13358 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
13359 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
13360 [generic bits/errno.h] (common-generated): Do not append to
13362 [generic bits/ioctls.h] (before-compile): Do not append to
13364 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
13366 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
13367 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
13368 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
13370 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
13371 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
13372 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
13373 [generic bits/ioctls.h] (common-generated): Do not append to
13375 [generic sys/syscall.h] (syscall.h): Remove variable.
13376 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
13378 [generic sys/syscall.h] (before-compile): Do not append to
13380 [generic sys/syscall.h] (common-generated): Likewise.
13381 * sysdeps/unix/errnos-tmpl.c: Remove file.
13382 * sysdeps/unix/errnos.awk: Likewise.
13383 * sysdeps/unix/ioctls-tmpl.c: Likewise.
13384 * sysdeps/unix/ioctls.awk: Likewise.
13385 * sysdeps/unix/mk-local_lim.c: Likewise.
13386 * sysdeps/unix/snarf-ioctls: Likewise.
13388 2012-03-19 Richard Henderson <rth@twiddle.net>
13390 * sysdeps/i386/fpu/fenv_private.h: New file.
13391 * sysdeps/i386/fpu/math_private.h: Use it.
13392 (math_opt_barrier, math_force_eval): Remove.
13393 (libc_feholdexcept_setround_53bit): Remove.
13394 (libc_feupdateenv_53bit): Remove.
13395 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13396 (math_opt_barrier, math_force_eval): Remove.
13397 (libc_feholdexcept): Remove.
13398 (libc_feholdexcept_setround): Remove.
13399 (libc_fetestexcept, libc_fesetenv): Remove.
13400 (libc_feupdateenv_test): Remove.
13401 (libc_feupdateenv, libc_feholdsetround): Remove.
13402 (libc_feresetround): Remove.
13404 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
13405 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13407 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
13408 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
13409 (libc_feupdateenv_testl): New.
13410 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
13411 (libc_feupdateenv_testf): New.
13412 (libc_feupdateenv): Use libc_feupdateenv_test.
13413 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
13414 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
13416 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
13417 (libc_feholdsetroundf, libc_feholdsetroundl): New.
13418 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
13419 (libc_feresetround_noex): New.
13420 (libc_feresetround_noexf): New.
13421 (libc_feresetround_noexl): New.
13422 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
13423 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
13424 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
13425 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
13427 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13428 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
13430 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
13431 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13432 SET_RESTORE_ROUND_NOEX.
13433 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
13434 SET_RESTORE_ROUND_NOEXF.
13435 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
13436 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
13437 (libc_feholdsetroundf): New.
13438 (libc_feresetround, libc_feresetroundf): New.
13440 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
13441 (libc_feholdexcept_setround_53bit): Convert from macro to function.
13442 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
13444 * sysdeps/generic/math_private.h: Include <fenv.h>.
13445 (default_libc_feholdexcept): New.
13446 (default_libc_feholdexcept_setround): New.
13447 (default_libc_fesetenv, default_libc_feupdateenv): New.
13448 (libc_feholdexcept): Only define if undefined.
13449 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
13450 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
13451 (libc_feholdexcept_setroundl): Likewise.
13452 (libc_feholdexcept_setround_53bit): Likewise.
13453 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
13454 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
13455 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
13456 (libc_feupdateenv_53bit): Likewise.
13457 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
13458 (libc_feholdexcept): Convert from macro to inline function.
13459 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
13460 (libc_fesetenv, libc_feupdateenv): Likewise.
13462 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
13463 not previously defined.
13464 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
13465 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
13466 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
13467 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
13468 * sysdeps/ieee754/flt-32/math_private.h: New file.
13469 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
13470 math_private.h below SET_FLOAT_WORD.
13471 (__isnan, __isinf_ns, __finite): Remove.
13472 (__isnanf, __isinf_nsf, __finitef): Remove.
13474 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
13476 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13478 2012-03-17 David S. Miller <davem@davemloft.net>
13481 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
13484 2012-03-16 David S. Miller <davem@davemloft.net>
13486 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
13490 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
13492 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
13493 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
13494 sysdep_routines when subdir is sysvipc.
13495 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
13496 __getshmlba helper.
13498 * sysdeps/sparc/fpu/libm-test/ulps: Update.
13500 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13502 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
13505 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13507 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
13508 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
13509 (__lround): Renamed to ...
13510 (__llround): This. Replace long int with long long int.
13511 Define lround functions as aliases of llround functions.
13512 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
13514 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13516 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
13517 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
13518 adresses to uintptr_t. Replace "long int" and "unsigned long
13519 int" with "greg_t" on va_arg.
13521 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13523 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
13524 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
13526 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
13527 Move e_machine check before EI_CLASS check. Handle x32
13528 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
13529 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
13530 SKIP_EM_IA_64 and include
13531 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
13533 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
13534 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
13535 (add_system_dir): New macro.
13537 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
13538 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
13540 2012-03-16 Joseph Myers <joseph@codesourcery.com>
13551 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
13553 * math/w_j0f.c (j0f): Likewise.
13555 * math/w_j0l.c (__j0l): Likewise.
13557 * math/w_j1.c (j1): Likewise.
13559 * math/w_j1f.c (j1f): Likewise.
13561 * math/w_j1l.c (__j1l): Likewise.
13563 * math/w_jn.c (jn): Likewise.
13565 * math/w_jnf.c (jnf): Likewise.
13567 * math/w_jnl.c (__jnl): Likewise.
13569 * math/libm-test.inc (j0_test): Add more tests.
13570 (j1_test): Likewise.
13571 (jn_test): Likewise. Add trailing semicolon to existing test.
13572 (y0_test): Likewise.
13573 (y1_test): Likewise.
13574 * sysdeps/i386/fpu/libm-test-ulps: Update.
13575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13579 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13580 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
13581 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
13582 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
13583 (__tanl): Set errno for infinite argument.
13584 * sysdeps/i386/fpu/mptan.c: Remove.
13585 * sysdeps/i386/fpu/s_tan.S: Likewise.
13586 * sysdeps/i386/fpu/s_tanl.S: Likewise.
13587 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
13588 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
13589 * math/libm-test.inc (tan_test): Add more tests and enable more
13590 tests for double and long double.
13591 * sysdeps/i386/fpu/libm-test-ulps: Update.
13592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13594 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13596 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13597 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13599 2012-03-16 Roland McGrath <roland@hack.frob.com>
13601 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13602 * configure.in: Use it for both main tree and add-ons.
13603 * configure: Regenerated.
13605 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13607 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
13609 2012-03-16 Joseph Myers <joseph@codesourcery.com>
13611 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
13615 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
13616 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
13617 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13618 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
13619 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
13621 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
13622 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
13623 != 0 for prec == 2.
13624 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
13625 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
13626 * sysdeps/i386/fpu/s_cosl.S: Likewise.
13627 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13628 * sysdeps/i386/fpu/s_sinl.S: Likewise.
13629 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13630 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13631 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13632 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13633 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13634 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13635 * math/libm-test.inc (cos_test): Add more tests and enable more
13636 tests for long double.
13637 (sin_test): Likewise.
13638 (sincos_test): Likewise.
13639 * sysdeps/i386/fpu/libm-test-ulps: Update.
13640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13642 2012-03-16 David S. Miller <davem@davemloft.net>
13644 * sysdeps/sparc/fpu/math_private.h: New file.
13646 2012-03-15 David S. Miller <davem@davemloft.net>
13648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
13650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
13651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
13653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
13654 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
13655 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
13656 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
13657 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
13658 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
13660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13662 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
13663 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
13665 * sysdeps/sparc/sparc-ifunc.h: New file.
13666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
13668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
13673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
13674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
13675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
13680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
13682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
13684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
13686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
13688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
13689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
13690 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13691 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13692 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
13693 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
13694 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13695 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13696 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
13697 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
13698 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
13699 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
13700 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
13701 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
13702 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
13703 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
13704 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
13705 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
13706 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
13707 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
13708 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
13709 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
13711 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13713 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
13715 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13717 2012-03-15 Andreas Jaeger <aj@suse.de>
13720 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
13721 ieee754/flt-32 implementation for sin, cos and sincos.
13722 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
13723 * sysdeps/i386/fpu/s_cosf.S: Likewise.
13724 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
13725 * sysdeps/i386/fpu/s_sinf.S: Likewise.
13726 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
13727 ieee754/flt-32 implementation for tan.
13729 * math/libm-test.inc (cos_test): Enable some large input tests for
13731 (sin_test): Likewise.
13732 (sincos_test): Likewise.
13733 (tan_test): Add tests for large input.
13735 * sysdeps/i386/fpu/libm-test-ulps: Update.
13737 2012-03-15 Andreas Jaeger <aj@suse.de>
13740 * math/libm-test.inc (cos_test): Add more test cases.
13741 (sin_test): Likewise.
13742 (sincos_test): Likewise.
13744 2012-03-15 Andreas Jaeger <aj@suse.de>
13747 * math/libm-test.inc (cos_test): Add a test case for large input
13749 (sin_test): Likewise.
13750 (sincos_test): Likewise.
13752 2012-03-15 Andreas Jaeger <aj@suse.de>,
13753 Joseph Myers <joseph@codesourcery.com>
13756 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
13757 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13758 * sysdeps/i386/fpu/branred.c: Likewise.
13759 * sysdeps/i386/fpu/dosincos.c: Likewise.
13760 * sysdeps/i386/fpu/mpa.c: Likewise.
13761 * sysdeps/i386/fpu/s_cos.S: Likewise.
13762 * sysdeps/i386/fpu/s_sin.S: Likewise.
13763 * sysdeps/i386/fpu/s_sincos.S: Likewise.
13764 * sysdeps/i386/fpu/sincos32.c: Likewise.
13766 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13768 (libc_feupdateenv_53bit): Define.
13769 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13771 (libc_feupdateenv_53bit): Define.
13773 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13774 53 bit (without extend i386 double precision).
13776 * math/libm-test.inc (sincos_test): Add tests for large input.
13780 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13782 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13784 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13786 2012-03-15 David S. Miller <davem@davemloft.net>
13788 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13789 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13790 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13791 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13796 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13797 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13798 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13799 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13800 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13801 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13802 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
13803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
13806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
13809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
13812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13815 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13816 fmin/fmax sysdep routines.
13817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13819 2012-03-14 David S. Miller <davem@davemloft.net>
13821 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13822 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13823 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13824 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13825 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13826 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13827 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13828 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13829 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13830 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13831 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13832 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13833 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13834 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13835 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13836 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13837 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13838 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13839 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13840 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13841 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13842 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13843 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13844 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13845 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13846 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13847 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13848 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
13849 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
13854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
13857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
13860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
13863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
13866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
13881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
13884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
13887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
13890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13893 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13896 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13898 * sysdeps/sparc/configure.in: New file.
13899 * sysdeps/sparc/configure: Generate.
13900 * configure.in (libc_cv_sparc_as_vis3): Substitute.
13901 * configure: Regenerate.
13902 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13903 * config.make.in (have-as-vis3): New.
13904 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13905 available use -Av9d instead of -Av9a.
13906 * sysdeps/sparc/sparc64/Makefile: Likewise.
13907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
13908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13916 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13917 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13918 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13919 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13920 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13922 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13923 fzeros/fnegs to load 0x80000000 into a float register instead of
13925 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13927 2012-03-14 Joseph Myers <joseph@codesourcery.com>
13929 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13931 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
13932 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
13933 ($(inst_includedir)/bits/syscall.h): Remove rule.
13934 ($(objpfx)bits/syscall.d): Include instead of
13935 $(objpfx)syscall-list.d.
13936 (generated): Change syscall-list.h and syscall-list.d to
13937 bits/syscall.h and bits/syscall.d.
13939 2012-03-14 Roland McGrath <roland@hack.frob.com>
13942 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
13944 2012-03-14 Joseph Myers <joseph@codesourcery.com>
13947 * math/s_csqrt.c: Include <float.h>.
13948 (__csqrt): Scale large or subnormal inputs.
13949 * math/s_csqrtf.c: Likewise.
13950 * math/s_csqrtl.c: Likewise.
13951 * math/libm-test.inc (csqrt_test): Add more tests.
13952 * sysdeps/i386/fpu/libm-test-ulps: Update.
13953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13956 * math/libm-test.inc (hypot_test): Add more tests.
13958 2012-03-13 David S. Miller <davem@davemloft.net>
13961 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
13962 double-precision for the calculation instead of scaling.
13964 2012-03-13 Joseph Myers <joseph@codesourcery.com>
13966 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
13967 manipulate bits before adding and subtracting TWO52[sx].
13968 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
13969 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
13971 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
13973 2012-03-13 David S. Miller <davem@davemloft.net>
13975 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
13976 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
13977 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
13978 rtld-global-offsets.h
13979 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13981 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
13984 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
13986 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
13987 'err' in the ifdef scope in which it is actually used.
13989 * nss/nss_db/db-init.c: Include string.h
13991 2012-03-12 David S. Miller <davem@davemloft.net>
13993 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13994 masking out of the most significant byte of random value used.
13995 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13996 Fix coding style in previous change.
13998 * sysdeps/unix/sysv/linux/kernel-features.h
13999 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
14000 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
14002 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
14005 2012-03-11 David S. Miller <davem@davemloft.net>
14007 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14008 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
14009 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
14010 for 'resultvar' otherwise things get truncated on 64-bit.
14012 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14013 Fix masking out of the most significant byte of random value used.
14015 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14017 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
14019 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14021 2012-03-09 David S. Miller <davem@davemloft.net>
14023 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
14024 variables with appropriate CPP guards.
14025 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
14026 frame pointer, not the stack pointer. Correct layout comments. Fix test
14027 on resulting framesize and the management of the outregs buffer for pltexit.
14028 Preserve floating point return values across _dl_call_pltexit call.
14029 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
14030 framesize and the management of the outregs buffer for pltexit.
14031 Preserve floating point return values across _dl_call_pltexit
14033 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
14034 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
14035 (print_exit): Fix format string for return register value.
14037 2012-03-10 Joseph Myers <joseph@codesourcery.com>
14039 * sunrpc/Makefile (others): Add rpcgen.
14040 ($(objpfx)rpcgen): Remove special build rule and dependency on
14042 * sunrpc/rpcgen.c: New file.
14044 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
14047 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
14048 * stdio-common/bug-vfprintf-nargs.c: Likewise.
14049 * sysdeps/i386/crti.S: Likewise.
14050 * sysdeps/i386/crtn.S: Likewise.
14051 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
14052 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
14053 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
14054 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
14055 * sysdeps/sh/crti.S: Likewise.
14056 * sysdeps/sh/crtn.S: Likewise.
14057 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14060 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
14062 * locale/programs/locfile-kw.gperf: Likewise.
14063 * locale/programs/charmap-kw.h: Regenerated.
14064 * locale/programs/locfile-kw.h: Likewise.
14067 * intl/plural.y: Replace FSF snail mail address with URL.
14068 * intl/plural.c: Regenerated.
14070 2012-03-09 Richard Henderson <rth@twiddle.net>
14072 * include/math_private.h: Remove file.
14073 * math/math_private.h: Move file ...
14074 * sysdeps/generic/math_private.h: ... here.
14076 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
14077 * sysdeps/powerpc/fpu/math_private.h: Likewise.
14078 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14080 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
14081 and <math_private.h>.
14082 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14083 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14084 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14085 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14086 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14087 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
14088 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14089 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14090 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14091 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14092 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14093 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14094 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14095 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14096 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14097 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14098 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14099 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14100 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14101 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14102 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14103 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14104 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14105 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14106 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14107 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14108 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14109 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14110 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14111 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14112 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14113 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14114 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14115 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14116 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14117 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14118 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14119 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14120 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14121 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14122 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
14123 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14124 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14125 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14126 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14127 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14128 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14129 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14130 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14131 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14132 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14133 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
14134 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14135 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14136 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14137 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14138 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14139 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14140 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14141 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
14142 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14143 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14144 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14145 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14146 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
14147 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14148 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14149 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14150 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
14151 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
14152 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14153 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14154 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14155 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14156 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
14157 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
14158 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
14159 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14160 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
14161 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
14162 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14163 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14164 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14165 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14166 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14167 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14168 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
14169 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
14170 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14171 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14172 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14173 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14174 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14175 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14176 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14177 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14178 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14179 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14180 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14181 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14182 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14183 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14184 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14185 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14186 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14187 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14188 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14189 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14190 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14191 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14192 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14193 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14194 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14195 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14196 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
14197 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14198 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14199 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14200 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14201 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14202 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14203 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14204 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14205 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
14206 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14207 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14208 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14209 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
14210 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14211 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14212 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
14213 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14214 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14215 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14216 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
14217 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14218 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14219 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14220 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
14221 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14222 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14223 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14224 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14225 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
14226 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
14227 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14228 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14229 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14230 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
14231 * sysdeps/ieee754/k_standard.c: Likewise.
14232 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14233 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14234 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14235 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14236 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14237 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14238 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14239 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14240 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14241 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14242 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14243 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14244 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14245 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14246 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14247 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14248 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14249 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14250 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14251 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14252 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14253 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14254 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14255 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14256 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14257 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14258 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14259 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14260 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14261 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14262 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14263 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14264 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14265 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14266 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14267 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14268 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14269 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
14270 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
14271 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14272 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14273 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14274 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14275 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14276 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14277 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14278 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14279 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14280 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14281 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14282 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14283 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14284 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14285 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
14286 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14287 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14288 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
14289 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14290 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14291 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14292 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14293 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14294 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14295 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14296 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14297 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14298 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14299 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14300 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14301 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14302 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14303 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14304 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14305 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14306 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14307 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14308 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
14309 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14310 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14311 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14312 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14313 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14314 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14315 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14316 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14317 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14318 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14319 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14320 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14321 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14322 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
14323 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14324 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
14325 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14326 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14327 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14328 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
14329 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
14330 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
14331 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
14332 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14333 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14334 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14335 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14336 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
14337 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14338 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14339 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
14340 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
14341 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14342 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14343 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14344 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14345 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14346 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14347 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14348 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14349 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14350 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14351 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14352 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14353 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14354 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14355 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14356 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14357 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
14358 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14359 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14360 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14361 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14362 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14363 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14364 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14365 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14366 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14367 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14368 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
14369 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14370 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14371 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
14372 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
14373 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14374 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
14375 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
14376 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14377 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14378 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14379 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14380 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14381 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
14382 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14383 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14384 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14385 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14386 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
14387 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
14388 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14389 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14390 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14391 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14392 * sysdeps/ieee754/s_lib_version.c: Likewise.
14393 * sysdeps/ieee754/s_matherr.c: Likewise.
14394 * sysdeps/ieee754/s_signgam.c: Likewise.
14395 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14396 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14397 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
14398 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
14399 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
14400 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14401 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
14402 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
14403 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
14404 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
14405 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14406 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
14407 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14408 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14409 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
14410 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14411 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14412 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14413 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14414 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14415 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14417 2012-03-09 Joseph Myers <joseph@codesourcery.com>
14419 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
14420 * sunrpc/rpc_main.c: Likewise.
14421 * sunrpc/rpc_svcout.c: Likewise.
14423 2012-03-09 David S. Miller <davem@davemloft.net>
14425 * include/math_private.h: New file.
14427 2012-03-09 Joseph Myers <joseph@codesourcery.com>
14429 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
14430 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
14431 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
14432 from <bits/socket_type.h>.
14433 (enum __socket_type): Don't define here.
14434 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
14435 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14436 bits/socket_type.h.
14439 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
14440 checking __USE_GNU.
14442 * Makerules ($(inst_includedir)/%.h): New rule.
14443 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
14444 (install-others): Remove variable setting.
14445 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
14447 2012-03-08 Richard Henderson <rth@twiddle.net>
14449 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
14450 from macro to inline function; merge with the
14451 !__LIBC_INTERNAL_MATH_INLINES version.
14452 (__ieee754_sqrtf): Likewise.
14454 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
14455 to inline function.
14456 (__rintf, __floor, __floorf): Likewise.
14458 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
14459 macro to inline function.
14460 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
14462 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
14463 not <math/math_private.h>.
14465 2012-03-08 David S. Miller <davem@davemloft.net>
14467 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
14469 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14471 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
14473 * resolv/gai_misc.c (handle_requests): Fix struct timespec
14475 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
14476 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
14478 2012-03-08 Ulrich Drepper <drepper@gmail.com>
14480 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
14481 be defined individually, they must be defined as a block. Define
14482 S for printing a string instead of hidint the different by using a
14483 macro for adding the 'l'.
14484 * stdio-common/tst-fphex-wide.c: Adjust.
14486 2012-03-07 Marek Polacek <polacek@redhat.com>
14488 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
14490 2012-03-08 Marek Polacek <polacek@redhat.com>
14493 * stdio-common/Makefile (tests): Add tst-fphex-wide.
14494 * stdio-common/tst-fphex.c: Define a few macros to make the
14495 test reusable. Use them.
14496 * stdio-common/tst-fphex-wide.c: New file.
14498 2012-03-08 Joseph Myers <joseph@codesourcery.com>
14501 * manual/macros.texi (gnusystems): New macro.
14502 (nongnusystems): Likewise.
14503 (gnulinuxhurdsystems): Likewise.
14504 (gnuhurdsystems): Likewise..
14505 (gnulinuxsystems): Likewise.
14506 * manual/charset.texi: Use new macros or @theglibc{} to refer to
14507 variants of the GNU system, not "GNU system".
14508 * manual/conf.texi: Likewise.
14509 * manual/errno.texi: Likewise. Update example of errno macro
14511 * manual/filesys.texi: Likewise.
14512 (getumask): Document as specific to GNU/Hurd.
14513 * manual/install.texi: Likewise. Reword some references to
14515 * manual/intro.texi: Likewise.
14516 * manual/io.texi: Likewise.
14517 (File Name Portability): Detail which constraints are inapplicable
14518 to all GNU systems and which are only inapplicable to GNU/Hurd.
14519 * manual/job.texi: Likewise.
14520 * manual/llio.texi: Likewise.
14521 (O_NOCTTY): Document as present on GNU/Linux.
14522 * manual/maint.texi: Likewise.
14523 * manual/memory.texi: Likewise.
14524 * manual/pattern.texi: Likewise.
14525 * manual/pipe.texi: Likewise.
14526 * manual/process.texi: Likewise.
14527 * manual/resource.texi: Likewise.
14528 (RUSAGE_CHILDREN): Remove statement about specifying a particular
14530 * manual/setjmp.texi: Likewise.
14531 * manual/signal.texi: Likewise.
14532 * manual/startup.texi: Likewise.
14533 * manual/stdio.texi: Likewise.
14534 * manual/terminal.texi: Likewise.
14535 (ONLCR): Document as POSIX.
14536 (OXTABS): Document availability on GNU/Linux as XTABS.
14537 (ONOEOT): Document availability separately from other bits.
14538 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
14539 * manual/time.texi: Likewise.
14540 * manual/users.texi: Likewise.
14541 * INSTALL: Regenerated.
14542 * sysdeps/gnu/errlist.c: Regenerated.
14544 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
14545 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
14546 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
14548 * configure: Regenerated.
14550 2012-03-07 Joseph Myers <joseph@codesourcery.com>
14552 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
14553 default includes instead of AC_HEADER_CHECK.
14554 * sysdeps/i386/configure: Regenerated.
14557 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
14558 * math/s_cacoshf.c (__cacoshf): Likewise.
14559 * math/s_cacoshl.c (__cacoshl): Likewise.
14560 * math/s_casinh.c (__casinh): Set signs of result from argument.
14561 * math/s_casinhf.c (__casinhf): Likewise.
14562 * math/s_casinhl.c (__casinhl): Likewise.
14563 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
14564 (casinh_test): Add more tests.
14565 * sysdeps/i386/fpu/libm-test-ulps: Update.
14566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14568 2012-03-07 Ulrich Drepper <drepper@gmail.com>
14570 * po/zh_TW.po: Update from translation team.
14572 * login/Makefile (distribute): Remove variable.
14573 * catgets/Makefile: Likewise.
14574 * mach/Makefile: Likewise.
14575 * malloc/Makefile: Likewise.
14576 * misc/Makefile: Likewise.
14577 * iconv/Makefile: Likewise.
14578 * nscd/Makefile: Likewise.
14579 * hurd/Makefile: Likewise.
14580 * manual/Makefile: Likewise.
14581 * locale/Makefile: Likewise.
14582 * intl/Makefile: Likewise.
14583 * conform/Makefile: Likewise.
14584 * nss/Makefile: Likewise.
14585 * time/Makefile: Likewise.
14586 * soft-fp/Makefile: Likewise.
14587 * dirent/Makefile: Likewise.
14588 * gmon/Makefile: Likewise.
14589 * po/Makefile: Likewise.
14590 * rt/Makefile: Likewise.
14591 * socket/Makefile: Likewise.
14592 * math/Makefile: Likewise.
14593 * signal/Makefile: Likewise.
14594 * debug/Makefile: Likewise.
14595 * elf/Makefile: Likewise.
14596 * timezone/Makefile: Likewise.
14597 * stdlib/Makefile: Likewise.
14598 * iconvdata/Makefile: Likewise.
14599 * sunrpc/Makefile: Likewise.
14600 * io/Makefile: Likewise.
14601 * argp/Makefile: Likewise.
14602 * inet/Makefile: Likewise.
14603 * hesiod/Makefile: Likewise.
14604 * grp/Makefile: Likewise.
14605 * csu/Makefile: Likewise.
14606 * wctype/Makefile: Likewise.
14607 * crypt/Makefile: Likewise.
14608 * libio/Makefile: Likewise.
14609 * string/Makefile: Likewise.
14610 * nis/Makefile: Likewise.
14611 * resolv/Makefile: Likewise.
14612 * stdio-common/Makefile: Likewise.
14613 * wcsmbs/Makefile: Likewise.
14614 * dlfcn/Makefile: Likewise.
14615 * posix/Makefile: Likewise.
14618 * timezone/Makefile: Don't install timezone files, just the programs
14621 2012-03-06 Ulrich Drepper <drepper@gmail.com>
14623 * nss/databases.def: Add missing gshadow entry.
14625 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
14627 2012-03-06 Marek Polacek <polacek@redhat.com>
14630 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14631 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14632 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14633 * stdio-common/tst-long-dbl-fphex.c: New file.
14635 2012-03-06 David S. Miller <davem@davemloft.net>
14637 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14638 (set_obp_int): New function.
14639 (get_obp_int): New function.
14640 (__get_clockfreq_via_dev_openprom): Likewise.
14641 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14642 Avoid unused variable warnings on 'val' and use builtin_expect.
14643 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14645 (INLINE_CLONE_SYSCALL): Likewise.
14647 2012-03-05 David S. Miller <davem@davemloft.net>
14649 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14651 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
14653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14655 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
14656 only for |x| >= 40.
14657 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14659 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
14661 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
14662 Replace gettimeofday with __vdso_gettimeofday.
14664 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14665 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
14666 __vdso_clock_gettime and __vdso_getcpu.
14668 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
14669 time with __vdso_time.
14671 2012-03-05 Joseph Myers <joseph@codesourcery.com>
14673 * manual/lang.texi (size_t): Note types to which size_t may be
14674 equivalent with the GNU C Library, but do not describe when
14675 differences between them are significant.
14677 2012-03-05 Andreas Jaeger <aj@suse.de>
14679 * sysdeps/i386/fpu/libm-test-ulps: Update.
14681 2012-03-05 Joseph Myers <joseph@codesourcery.com>
14684 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
14685 (__ieee754_pow): Save and restore rounding mode and use
14686 round-to-nearest for main computations.
14687 * math/libm-test.inc (pow_test_tonearest): New function.
14688 (pow_test_towardzero): Likewise.
14689 (pow_test_downward): Likewise.
14690 (pow_test_upward): Likewise.
14691 (main): Call the new functions.
14692 * sysdeps/i386/fpu/libm-test-ulps: Update.
14693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14696 * math/libm-test.inc (cosh_test_tonearest): New function.
14697 (cosh_test_towardzero): Likewise.
14698 (cosh_test_downward): Likewise.
14699 (cosh_test_upward): Likewise.
14700 (sinh_test_tonearest): Likewise.
14701 (sinh_test_towardzero): Likewise.
14702 (sinh_test_downward): Likewise.
14703 (sinh_test_upward): Likewise.
14704 (main): Call the new functions.
14705 * sysdeps/i386/fpu/libm-test-ulps: Update.
14706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14708 2012-03-05 Tom de Vries <tom@codesourcery.com>
14710 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
14711 default stack guard is set in last bytes.
14712 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
14714 2012-03-05 Kees Cook <keescook@chromium.org>
14716 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
14719 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
14720 possibly allocate from heap instead of stack.
14721 * stdio-common/bug-vfprintf-nargs.c: New file.
14722 * stdio-common/Makefile (tests): Add nargs overflow test.
14724 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
14726 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14728 2012-03-03 Marek Polacek <polacek@redhat.com>
14730 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
14731 * math/math_private.h: Likewise.
14732 * stdlib/tst-strtod.c: Likewise.
14733 * sysdeps/i386/i486/bits/atomic.h: Likewise.
14734 * sysdeps/x86_64/bits/atomic.h: Likewise.
14736 2012-03-02 David S. Miller <davem@davemloft.net>
14738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
14739 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
14740 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
14742 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
14743 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
14744 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
14745 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
14747 2012-03-02 Roland McGrath <roland@hack.frob.com>
14750 * manual/examples/README: New file, says the example source files
14751 can be used under GPL>=2.
14752 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14753 line containing just "*/".
14754 * manual/examples/add.c: Add copyright header (GPL>=2).
14755 * manual/examples/argp-ex1.c: Likewise.
14756 * manual/examples/argp-ex2.c: Likewise.
14757 * manual/examples/argp-ex3.c: Likewise.
14758 * manual/examples/argp-ex4.c: Likewise.
14759 * manual/examples/atexit.c: Likewise.
14760 * manual/examples/db.c: Likewise.
14761 * manual/examples/dir.c: Likewise.
14762 * manual/examples/dir2.c: Likewise.
14763 * manual/examples/execinfo.c: Likewise.
14764 * manual/examples/filecli.c: Likewise.
14765 * manual/examples/filesrv.c: Likewise.
14766 * manual/examples/fmtmsgexpl.c: Likewise.
14767 * manual/examples/genpass.c: Likewise.
14768 * manual/examples/inetcli.c: Likewise.
14769 * manual/examples/inetsrv.c: Likewise.
14770 * manual/examples/isockad.c: Likewise.
14771 * manual/examples/longopt.c: Likewise.
14772 * manual/examples/memopen.c: Likewise.
14773 * manual/examples/memstrm.c: Likewise.
14774 * manual/examples/mkfsock.c: Likewise.
14775 * manual/examples/mkisock.c: Likewise.
14776 * manual/examples/mygetpass.c: Likewise.
14777 * manual/examples/pipe.c: Likewise.
14778 * manual/examples/popen.c: Likewise.
14779 * manual/examples/rprintf.c: Likewise.
14780 * manual/examples/search.c: Likewise.
14781 * manual/examples/select.c: Likewise.
14782 * manual/examples/setjmp.c: Likewise.
14783 * manual/examples/sigh1.c: Likewise.
14784 * manual/examples/sigusr.c: Likewise.
14785 * manual/examples/stpcpy.c: Likewise.
14786 * manual/examples/strdupa.c: Likewise.
14787 * manual/examples/strftim.c: Likewise.
14788 * manual/examples/strncat.c: Likewise.
14789 * manual/examples/subopt.c: Likewise.
14790 * manual/examples/swapcontext.c: Likewise.
14791 * manual/examples/termios.c: Likewise.
14792 * manual/examples/testopt.c: Likewise.
14793 * manual/examples/testpass.c: Likewise.
14794 * manual/examples/timeval_subtract.c: Likewise.
14797 * manual/time.texi (Elapsed Time): Move timeval_subtract example
14799 * manual/timeval_subtract.c.texi: ... here, new file.
14801 2012-03-02 David S. Miller <davem@davemloft.net>
14803 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14805 2012-03-02 Joseph Myers <joseph@codesourcery.com>
14808 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14809 (__sin): Save and restore rounding mode and use round-to-nearest
14810 for all computations.
14811 (__cos): Save and restore rounding mode and use round-to-nearest
14812 for all computations.
14813 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14815 (tan): Save and restore rounding mode and use round-to-nearest for
14817 * math/libm-test.inc (cos_test_tonearest): New function.
14818 (cos_test_towardzero): Likewise.
14819 (cos_test_downward): Likewise.
14820 (cos_test_upward): Likewise.
14821 (sin_test_tonearest): Likewise.
14822 (sin_test_towardzero): Likewise.
14823 (sin_test_downward): Likewise.
14824 (sin_test_upward): Likewise.
14825 (tan_test_tonearest): Likewise.
14826 (tan_test_towardzero): Likewise.
14827 (tan_test_downward): Likewise.
14828 (tan_test_upward): Likewise.
14829 (main): Call the new functions.
14830 * sysdeps/i386/fpu/libm-test-ulps: Update.
14831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14834 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14835 small n, then large n, before computing and testing k+n.
14836 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14837 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14839 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14841 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14842 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14843 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14844 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14845 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14846 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14847 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14848 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14849 * math/libm-test.inc (scalbn_test): Add more tests.
14850 (scalbln_test): Likewise.
14852 * manual/filesys.texi (mode_t): Describe constraints on size and
14853 signedness, not exact equivalence to a particular type.
14855 (ino64_t): Likewise.
14857 (nlink_t): Likewise.
14858 (blkcnt_t): Likewise.
14859 (blkcnt64_t): Likewise.
14860 * manual/llio.texi (off_t): Likewise.
14863 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14864 (__ieee754_exp): Save and restore rounding mode and use
14865 round-to-nearest for all computations.
14866 * math/libm-test.inc (exp_test_tonearest): New function.
14867 (exp_test_towardzero): Likewise.
14868 (exp_test_downward): Likewise.
14869 (exp_test_upward): Likewise.
14870 (main): Call the new functions.
14871 * sysdeps/i386/fpu/libm-test-ulps: Update.
14872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14874 2012-03-01 Chris Demetriou <cgd@google.com>
14876 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14877 have predictable order.
14879 2012-03-01 David S. Miller <davem@davemloft.net>
14881 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14883 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14884 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14885 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14886 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14888 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14889 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14890 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14892 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14893 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14894 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14895 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14896 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14898 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14900 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14901 * sysdeps/sparc/fpu/libm-test-ulps: to here.
14902 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14904 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14905 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14906 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14907 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14908 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14909 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14910 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14911 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14912 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14913 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14914 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14915 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14916 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14917 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14918 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14919 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14920 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14921 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14922 * sysdeps/sparc/elf/configure: Regenerated.
14924 2012-03-01 Joseph Myers <joseph@codesourcery.com>
14926 * configure.in (AS, LD): Require binutils 2.20 or later.
14927 * configure: Regenerated.
14928 * manual/install.texi (Tools for Compilation): Give binutils 2.20
14929 as required minimum version.
14930 * INSTALL: Regenerated.
14934 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
14935 before squaring exponent.
14936 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
14937 bottom long double and 27 bits of top long double before squaring
14939 * math/libm-test.inc (erfc_test): Add more tests.
14940 * sysdeps/i386/fpu/libm-test-ulps: Update.
14941 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14944 2012-03-01 Kai Tietz <ktietz@redhat.com>
14946 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
14947 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
14948 containing bit-fields.
14949 * soft-fp/extended.h (_FP_UNION_E): Likewise.
14950 * soft-fp/single.h (_FP_UNION_S): Likewise.
14951 * soft-fp/double.h (_FP_UNION_D): Likewise.
14953 2012-02-29 Joseph Myers <joseph@codesourcery.com>
14956 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
14957 not include ../strcmp.S.
14958 [USE_AS_STRNCASECMP_L]: Likewise.
14959 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
14960 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
14961 * sysdeps/i386/i686/multiarch/strncase_l-c.c
14962 (__strncasecmp_l_ia32): Define as alias to
14963 __strncasecmp_l_nonascii.
14966 * math/libm-test.inc (expm1_test): Add test for bug 5794.
14967 * sysdeps/i386/fpu/libm-test-ulps: Update.
14968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14970 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
14971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14973 2012-02-29 Jeff Law <law@redhat.com>
14975 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
14976 out of bounds read.
14978 2012-02-29 Marek Polacek <polacek@redhat.com>
14981 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
14982 * elf/Makefile: Add rules to run tst-unused-dep.out.
14984 2012-02-28 David S. Miller <davem@davemloft.net>
14986 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
14987 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
14988 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
14989 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
14990 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
14991 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
14993 2012-02-29 Joseph Myers <joseph@codesourcery.com>
14995 * math/libm-test.inc (llround_test): Move one test from
14996 lround_test. Use TEST_f_L in moved test.
14997 (lround_test): Move misplaced test to llround_test. Add testcase
15000 2012-02-28 Ulrich Drepper <drepper@gmail.com>
15002 * sysdeps/x86_64/fpu/e_expf.S: New file.
15003 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
15005 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
15008 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
15009 of remain_len that may cause incomplete multi-byte character and
15011 * posix/bug-regex33.c: New file.
15012 * posix/Makefile (tests): Add bug-regex33.
15014 2012-02-28 Joseph Myers <joseph@codesourcery.com>
15016 * manual/macros.texi: New file.
15017 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
15018 * manual/libc.texinfo: Include macros.texi.
15019 * manual/creatute.texi: Likewise.
15020 * manual/install.texi: Likewise.
15021 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
15022 @glibcadj{} in references to the GNU C Library.
15023 * manual/charset.texi: Likewise.
15024 * manual/conf.texi: Likewise.
15025 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
15026 when not using those macros.
15027 * manual/creature.texi: Likewise.
15028 * manual/crypt.texi: Likewise.
15029 * manual/errno.texi: Likewise.
15030 * manual/filesys.texi: Likewise.
15031 * manual/header.texi: Likewise.
15032 * manual/install.texi: Likewise.
15033 * manual/intro.texi: Likewise.
15034 * manual/io.texi: Likewise.
15035 * manual/job.texi: Likewise.
15036 * manual/lang.texi: Likewise.
15037 * manual/libc.texiinfo: Likewise.
15038 * manual/llio.texi: Likewise.
15039 * manual/locale.texi: Likewise.
15040 * manual/maint.texi: Likewise.
15041 * manual/math.texi: Likewise.
15042 * manual/memory.texi: Likewise.
15043 * manual/message.texi: Likewise.
15044 * manual/nss.texi: Likewise.
15045 * manual/pattern.texi: Likewise.
15046 * manual/process.texi: Likewise.
15047 * manual/resource.texi: Likewise.
15048 * manual/search.texi: Likewise.
15049 * manual/setjmp.texi: Likewise.
15050 * manual/signal.texi: Likewise.
15051 * manual/socket.texi: Likewise.
15052 * manual/startup.texi: Likewise.
15053 * manual/stdio.texi: Likewise.
15054 * manual/string.texi: Likewise.
15055 * manual/sysinfo.texi: Likewise.
15056 * manual/syslog.texi: Likewise.
15057 * manual/terminal.texi: Likewise.
15058 * manual/time.texi: Likewise.
15059 * manual/users.texi: Likewise.
15060 * INSTALL: Regenerated.
15061 * NOTES: Regenerated.
15062 * sysdeps/gnu/errlist.c: Regenerated.
15064 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
15066 * include/dirent.h: Include <dirstream.h> before
15069 2012-02-28 David S. Miller <davem@davemloft.net>
15071 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
15072 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
15073 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
15074 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
15076 2012-02-27 David S. Miller <davem@davemloft.net>
15078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
15079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
15080 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
15081 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
15083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
15084 frame pointer instead of stack pointer relative arg slot.
15085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15086 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15087 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15089 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
15092 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
15094 2012-02-27 David S. Miller <davem@davemloft.net>
15096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
15097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
15100 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15101 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15102 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
15103 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
15105 2012-02-27 Joseph Myers <joseph@codesourcery.com>
15107 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
15108 later. Allow versions 5-9.
15109 * configure: Regenerated.
15110 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
15111 required minimum version and 4.6 as recommended version. Do not
15112 mention bugs in GCC 2.7 and 2.8.
15113 * INSTALL: Regenerated.
15115 2012-02-27 David S. Miller <davem@davemloft.net>
15117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
15118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
15119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
15120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
15121 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
15122 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
15123 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
15124 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
15126 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
15127 manipulate bits before adding and subtracting TWO112[sx].
15128 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15130 2012-02-27 Roland McGrath <roland@hack.frob.com>
15133 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
15134 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
15135 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
15136 being in POSIX, because they are in 1003.1-2008.
15138 * rt/tst-aio.c: Include <fcntl.h>.
15139 * rt/tst-aio7.c: Likewise.
15140 * rt/tst-aio64.c: Likewise.
15142 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
15144 2012-02-27 Joseph Myers <joseph@codesourcery.com>
15146 * manual/install.texi (--with-headers): Describe headers as
15147 interface headers, not private headers.
15148 (Specific advice for GNU/Linux systems): Describe use of headers
15149 from "make headers_install", not private headers from older
15151 * INSTALL: Regenerated.
15152 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
15154 * sysdeps/unix/sysv/linux/configure: Regenerated.
15156 * manual/llio.texi (fclean): Remove documentation.
15158 * manual/Makefile (libc-texi-generated): New variable. Include
15160 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
15161 $(libc-texi-generated), not duplicated list of files.
15162 (version.texi, stamp-version): New rules.
15163 (realclean): Remove $(libc-texi-generated), not individual files
15164 from that list. Do not remove dir-add.texinfo.
15165 * manual/libc.texinfo: Comment out uses of edition numbers and
15166 references to printed manual. Remove last-updated dates.
15167 (EDITION): Comment out.
15169 (VERSION, UPDATED): Remove.
15170 (version.texi): Include.
15172 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
15174 * sysdeps/posix/spawni.c: Include <signal.h>.
15175 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
15176 * sysdeps/pthread/aio_fsync.c: Likewise.
15178 2012-02-26 Ulrich Drepper <drepper@gmail.com>
15180 * conform/Makefile (tests): Run only when not cross-compiling and
15181 when fast-check is not defined.
15183 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
15184 * conform/data/limits.h-data: Fixes for POSIX2008.
15185 * conform/run-conformtest.sh: Run all tests.
15186 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
15188 * include/bits/dlfcn.h: Likewise.
15189 * include/langinfo.h: Likewise.
15190 * include/monetary.h: Likewise.
15191 * include/sys/poll.h: Likewise.
15193 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
15195 * posix/spawn.h: Define __need_sigset_t.
15196 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
15197 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
15198 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
15199 to get sigevent_t only.
15200 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
15201 only for __USE_GNU.
15202 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15203 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15204 process_vm_writev only for __USE_GNU.
15205 * termios/termios.h: Declare tcgetsid also for POSIX2008.
15207 * conform/Makefile: For now ignore errors from run-conformtest.
15208 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
15209 POSIX to avoid namespace pollution. Don't prepend headers.
15210 * conform/data/aio.h-data: Fixes for POSIX testing.
15211 * conform/data/fcntl.h-data: Likewise.
15212 * conform/data/glob.h-data: Likewise.
15213 * conform/data/grp.h-data: Likewise.
15214 * conform/data/pthread.h-data: Likewise.
15215 * conform/data/pwd.h-data: Likewise.
15216 * conform/data/signal.h-data: Likewise.
15217 * conform/data/spawn.h-data: Likewise.
15218 * conform/data/stdio.h-data: Likewise.
15219 * conform/data/stdlib.h-data: Likewise.
15220 * conform/data/stropts.h-data: Likewise.
15221 * conform/data/sys/mman.h-data: Likewise.
15222 * conform/data/sys/stat.h-data: Likewise.
15223 * conform/data/sys/types.h-data: Likewise.
15224 * conform/data/sys/wait.h-data: Likewise.
15225 * conform/data/time.h-data: Likewise.
15226 * conform/data/unistd.h-data: Likewise.
15227 * conform/data/utime.h-data: Likewise.
15229 * io/sys/stat.h: fchmod was always in POSIX.
15230 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
15231 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
15232 * rt/aio.h: Define __need_timespec before including <time.h>.
15233 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
15234 struct. Add forward declaration of pthread_attr_t and use it in
15236 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15237 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15238 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
15239 always remove CLK_TCK definition.
15241 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
15243 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
15245 2012-02-25 Ulrich Drepper <drepper@gmail.com>
15247 * conform/run-conformtest.sh: New file.
15248 * conform/Makefile: Run run-conformtest for tests.
15249 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
15252 * conform/data/uchar.h-data: New file.
15253 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
15254 * conform/data/arpa/inet.h-data: Likewise.
15255 * conform/data/assert.h-data: Likewise.
15256 * conform/data/complex.h-data: Likewise.
15257 * conform/data/cpio.h-data: Likewise.
15258 * conform/data/ctype.h-data: Likewise.
15259 * conform/data/dirent.h-data: Likewise.
15260 * conform/data/dlfcn.h-data: Likewise.
15261 * conform/data/errno.h-data: Likewise.
15262 * conform/data/fcntl.h-data: Likewise.
15263 * conform/data/float.h-data: Likewise.
15264 * conform/data/fmtmsg.h-data: Likewise.
15265 * conform/data/fnmatch.h-data: Likewise.
15266 * conform/data/ftw.h-data: Likewise.
15267 * conform/data/glob.h-data: Likewise.
15268 * conform/data/grp.h-data: Likewise.
15269 * conform/data/iconv.h-data: Likewise.
15270 * conform/data/inttypes.h-data: Likewise.
15271 * conform/data/langinfo.h-data: Likewise.
15272 * conform/data/libgen.h-data: Likewise.
15273 * conform/data/limits.h-data: Likewise.
15274 * conform/data/locale.h-data: Likewise.
15275 * conform/data/math.h-data: Likewise.
15276 * conform/data/monetary.h-data: Likewise.
15277 * conform/data/mqueue.h-data: Likewise.
15278 * conform/data/ndbm.h-data: Likewise.
15279 * conform/data/net/if.h-data: Likewise.
15280 * conform/data/netdb.h-data: Likewise.
15281 * conform/data/netinet/in.h-data: Likewise.
15282 * conform/data/nl_types.h-data: Likewise.
15283 * conform/data/poll.h-data: Likewise.
15284 * conform/data/pthread.h-data: Likewise.
15285 * conform/data/pwd.h-data: Likewise.
15286 * conform/data/regex.h-data: Likewise.
15287 * conform/data/sched.h-data: Likewise.
15288 * conform/data/search.h-data: Likewise.
15289 * conform/data/semaphore.h-data: Likewise.
15290 * conform/data/setjmp.h-data: Likewise.
15291 * conform/data/signal.h-data: Likewise.
15292 * conform/data/spawn.h-data: Likewise.
15293 * conform/data/stdarg.h-data: Likewise.
15294 * conform/data/stdio.h-data: Likewise.
15295 * conform/data/stdlib.h-data: Likewise.
15296 * conform/data/string.h-data: Likewise.
15297 * conform/data/strings.h-data: Likewise.
15298 * conform/data/stropts.h-data: Likewise.
15299 * conform/data/sys/ipc.h-data: Likewise.
15300 * conform/data/sys/mman.h-data: Likewise.
15301 * conform/data/sys/msg.h-data: Likewise.
15302 * conform/data/sys/resource.h-data: Likewise.
15303 * conform/data/sys/select.h-data: Likewise.
15304 * conform/data/sys/sem.h-data: Likewise.
15305 * conform/data/sys/shm.h-data: Likewise.
15306 * conform/data/sys/socket.h-data: Likewise.
15307 * conform/data/sys/stat.h-data: Likewise.
15308 * conform/data/sys/statvfs.h-data: Likewise.
15309 * conform/data/sys/time.h-data: Likewise.
15310 * conform/data/sys/timeb.h-data: Likewise.
15311 * conform/data/sys/times.h-data: Likewise.
15312 * conform/data/sys/types.h-data: Likewise.
15313 * conform/data/sys/uio.h-data: Likewise.
15314 * conform/data/sys/un.h-data: Likewise.
15315 * conform/data/sys/utsname.h-data: Likewise.
15316 * conform/data/sys/wait.h-data: Likewise.
15317 * conform/data/syslog.h-data: Likewise.
15318 * conform/data/tar.h-data: Likewise.
15319 * conform/data/termios.h-data: Likewise.
15320 * conform/data/utime.h-data: Likewise.
15321 * conform/data/utmpx.h-data: Likewise.
15322 * conform/data/varargs.h-data: Likewise.
15323 * conform/data/wchar.h-data: Likewise.
15324 * conform/data/wctype.h-data: Likewise.
15325 * conform/data/wordexp.h-data: Likewise.
15327 * include/stropts.h: New file.
15328 * include/uchar.h: New file.
15329 * include/aio.h: Changes to allow conformtest.pl to use the headers.
15330 * include/assert.h: Likewise.
15331 * include/ctype.h: Likewise.
15332 * include/dirent.h: Likewise.
15333 * include/dlfcn.h: Likewise.
15334 * include/fcntl.h: Likewise.
15335 * include/fnmatch.h: Likewise.
15336 * include/glob.h: Likewise.
15337 * include/grp.h: Likewise.
15338 * include/libio.h: Likewise.
15339 * include/locale.h: Likewise.
15340 * include/math.h: Likewise.
15341 * include/net/if.h: Likewise.
15342 * include/netdb.h: Likewise.
15343 * include/netinet/in.h: Likewise.
15344 * include/pthread.h: Likewise.
15345 * include/pwd.h: Likewise.
15346 * include/regex.h: Likewise.
15347 * include/sched.h: Likewise.
15348 * include/search.h: Likewise.
15349 * include/setjmp.h: Likewise.
15350 * include/signal.h: Likewise.
15351 * include/stdio.h: Likewise.
15352 * include/stdlib.h: Likewise.
15353 * include/string.h: Likewise.
15354 * include/sys/cdefs.h: Likewise.
15355 * include/sys/mman.h: Likewise.
15356 * include/sys/msg.h: Likewise.
15357 * include/sys/resource.h: Likewise.
15358 * include/sys/select.h: Likewise.
15359 * include/sys/socket.h: Likewise.
15360 * include/sys/stat.h: Likewise.
15361 * include/sys/statvfs.h: Likewise.
15362 * include/sys/time.h: Likewise.
15363 * include/sys/times.h: Likewise.
15364 * include/sys/uio.h: Likewise.
15365 * include/sys/utsname.h: Likewise.
15366 * include/sys/wait.h: Likewise.
15367 * include/termios.h: Likewise.
15368 * include/time.h: Likewise.
15369 * include/ulimit.h: Likewise.
15370 * include/unistd.h: Likewise.
15371 * include/utime.h: Likewise.
15372 * include/wchar.h: Likewise.
15373 * include/wctype.h: Likewise.
15374 * include/wordexp.h: Likewise.
15376 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
15378 * time/time.h: TIME_UTC must be a macro.
15379 Make timespec_get available for ISO C11 only as well.
15381 2012-02-24 Ulrich Drepper <drepper@gmail.com>
15383 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
15384 Reported by Peng Haitao <penght@cn.fujitsu.com>.
15386 2012-02-24 Joseph Myers <joseph@codesourcery.com>
15388 * configure.in: Use -o not -a in test for unsupported multi-arch.
15390 2012-02-24 Joseph Myers <joseph@codesourcery.com>
15392 * manual/texinfo.tex: Update to version 2012-01-19.16.
15394 2012-02-24 Joseph Myers <joseph@codesourcery.com>
15396 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
15398 2012-02-24 Roland McGrath <roland@hack.frob.com>
15401 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
15402 * manual/fdl-1.3.texi: New file.
15403 * manual/fdl-1.1.texi: File removed.
15406 * manual/libc.texinfo (FDL_VERSION): New @set.
15407 Use it for mention of FDL in cover text.
15408 (Documentation License): Use it in @include file name.
15410 2012-02-22 Joseph Myers <joseph@codesourcery.com>
15411 Roland McGrath <roland@hack.frob.com>
15414 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
15415 not LONG_LONG_MAX and LONG_LONG_MIN.
15416 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
15417 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
15419 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
15421 2012-02-22 Joseph Myers <joseph@codesourcery.com>
15425 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
15426 manipulate bits before adding and subtracting TWO23[sx].
15427 * math/libm-test.inc (nearbyint_test): Add more tests.
15429 2012-02-22 Joseph Myers <joseph@codesourcery.com>
15432 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
15433 bits before adding and subtracting TWO23[sx].
15434 * math/libm-test.inc (rint_test): Add more tests.
15435 (rint_test_tonearest): Likewise.
15436 (rint_test_towardzero): Likewise.
15437 (rint_test_downward): Likewise.
15438 (rint_test_upward: Likewise.
15440 2012-02-22 Joseph Myers <joseph@codesourcery.com>
15443 * include/stdc-predef.h: New file. Extracted from features.h.
15444 * include/features.h: Include stdc-predef.h.
15445 * Makefile (headers): Add stdc-predef.h.
15446 * CONFORMANCE (Compiler limitations): Update.
15448 2012-02-22 Joseph Myers <joseph@codesourcery.com>
15450 * manual/libc.texinfo (VERSION, UPDATED): Revert.
15452 2012-02-21 David S. Miller <davem@davemloft.net>
15454 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
15455 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15457 2012-02-20 David S. Miller <davem@davemloft.net>
15459 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
15460 using a normal save/restore sequence, rather than allocating a
15461 dummy stack frame just to store a frame pointer and restore.
15462 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15464 2012-02-21 Joseph Myers <joseph@codesourcery.com>
15466 * manual/install.texi: Fix stray word in line-wrapped comment.
15468 2012-02-20 David S. Miller <davem@davemloft.net>
15470 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
15471 both binutils and gcc support GOTDATA.
15473 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
15474 "rd %pc" in the PIC register setup sequences.
15476 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
15477 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
15478 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15479 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
15480 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15481 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15482 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15483 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15484 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
15485 (SYSCALL_ERROR_HANDLER): Likewise.
15486 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15487 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15488 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
15489 (SYSCALL_ERROR_HANDLER): Likewise.
15491 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
15492 (HAVE_GCC_GOTDATA): New.
15493 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
15494 relocation support in both binutils and gcc.
15495 * sysdeps/sparc/elf/configure: Regenerate.
15497 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
15498 * sysdeps/sparc/sparc32/elf/configure: Delete.
15499 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
15500 * sysdeps/sparc/sparc64/elf/configure: Delete.
15501 * sysdeps/sparc/elf/configure.in: New file.
15502 * sysdeps/sparc/elf/configure: Generate.
15504 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
15505 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
15506 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15507 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
15508 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
15510 2012-02-21 Joseph Myers <joseph@codesourcery.com>
15512 * manual/install.texi: Do not mention specific glibc version
15514 * manual/libc.texinfo (VERSION, UPDATED): Update.
15515 (@copying): Use @copyright{} and range of years.
15517 2012-02-21 Joseph Myers <joseph@codesourcery.com>
15520 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
15521 [crti.S not in sysdirs] (generated): Do not append.
15522 [crti.S not in sysdirs] (omit-deps): Likewise.
15523 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
15524 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
15525 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
15526 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
15527 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
15529 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
15530 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
15531 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
15532 * csu/defs.awk: Remove file.
15533 * sysdeps/generic/initfini.c: Likewise.
15534 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
15536 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
15539 2012-02-20 Joseph Myers <joseph@codesourcery.com>
15541 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
15542 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
15543 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
15544 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
15545 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15546 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
15548 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
15549 (__EPOLL_PACKED): Define to empty if not defined by
15551 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
15552 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15555 2012-02-20 Joseph Myers <joseph@codesourcery.com>
15557 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
15558 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
15559 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
15560 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
15562 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
15563 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15566 2012-02-20 Joseph Myers <joseph@codesourcery.com>
15568 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
15570 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15571 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15572 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
15573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15575 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
15577 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15578 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15580 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
15582 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
15583 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
15585 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
15587 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
15590 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
15592 * math/w_acos.c: Use non-signaling floating-point comparisons.
15593 * math/w_acosf.c: Likewise.
15594 * math/w_acosh.c: Likewise.
15595 * math/w_acoshf.c: Likewise.
15596 * math/w_acoshl.c: Likewise.
15597 * math/w_acosl.c: Likewise.
15598 * math/w_asin.c: Likewise.
15599 * math/w_asinf.c: Likewise.
15600 * math/w_asinl.c: Likewise.
15601 * math/w_atanh.c: Likewise.
15602 * math/w_atanhf.c: Likewise.
15603 * math/w_atanhl.c: Likewise.
15604 * math/w_exp2.c: Likewise.
15605 * math/w_exp2f.c: Likewise.
15606 * math/w_exp2l.c: Likewise.
15607 * math/w_j0.c: Likewise.
15608 * math/w_j0f.c: Likewise.
15609 * math/w_j0l.c: Likewise.
15610 * math/w_j1.c: Likewise.
15611 * math/w_j1f.c: Likewise.
15612 * math/w_j1l.c: Likewise.
15613 * math/w_jn.c: Likewise.
15614 * math/w_jnf.c: Likewise.
15615 * math/w_log.c: Likewise.
15616 * math/w_log10.c: Likewise.
15617 * math/w_log10f.c: Likewise.
15618 * math/w_log10l.c: Likewise.
15619 * math/w_log2.c: Likewise.
15620 * math/w_log2f.c: Likewise.
15621 * math/w_log2l.c: Likewise.
15622 * math/w_logf.c: Likewise.
15623 * math/w_logl.c: Likewise.
15624 * math/w_sqrt.c: Likewise.
15625 * math/w_sqrtf.c: Likewise.
15626 * math/w_sqrtl.c: Likewise.
15627 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15628 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15629 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15630 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15631 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15633 2012-02-19 Joseph Myers <joseph@codesourcery.com>
15636 * manual/string.texi (strnlen): Use correct parameter name in
15637 equivalent expression.
15639 2012-02-19 Joseph Myers <joseph@codesourcery.com>
15642 * manual/users.texi (seteuid): Consistently use neweuid for
15645 2012-02-19 Joseph Myers <joseph@codesourcery.com>
15648 * manual/nss.texi (Services in the NSS configuration): Correct
15649 list of services in example configuration file.
15651 2012-02-19 Nick Bowler <nbowler@draconx.ca>
15654 * manual/arith.texi: Remove statements about negative zero
15655 behaving identically to zero.
15657 2012-02-18 Joseph Myers <joseph@codesourcery.com>
15660 * manual/install.texi: Do not document upgrading from libc5.
15662 2012-02-18 Joseph Myers <joseph@codesourcery.com>
15665 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
15667 2012-02-18 David S. Miller <davem@davemloft.net>
15669 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
15670 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
15671 %o7 across the call.
15672 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
15674 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
15675 SETUP_PIC_REG_LEAF.
15676 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15677 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
15678 * sysdeps/sparc/crtn.S: Likewise.
15680 2012-02-17 Ulrich Drepper <drepper@gmail.com>
15682 * aout/Makefile: Remove.
15684 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
15687 * manual/examples/argp-ex1.c (main): Format definition in GNU
15689 * manual/examples/argp-ex2.c (main): Likewise.
15690 * manual/examples/argp-ex3.c (main): Likewise.
15691 * manual/examples/argp-ex4.c (main): Likewise.
15692 * manual/examples/longopt.c (main): Use new-style prototype
15694 * manual/examples/strncat.c (main): Specify return type and use
15695 (void) for arguments.
15696 * manual/examples/subopt.c (main): Use char **argv argument.
15698 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15701 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
15704 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
15707 * manual/string.texi (strchr): Change when strchrnul is
15710 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
15713 * manual/locale.texi (setlocale): Document LOCPATH.
15715 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15718 * manual/process.texi (execle): Move @dots{} before last argument.
15720 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
15723 * manual/charset.texi (Generic Charset Conversion): Fix typo
15724 (LC_TYPE -> LC_CTYPE).
15726 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
15729 * manual/arith.texi (scalbn): Use @var{} on parameter names.
15730 (scalbnf): Likewise.
15731 (scalbnl): Likewise.
15732 (scalbln): Likewise.
15733 (scalblnf): Likewise.
15734 (scalblnl): Likewise.
15735 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
15736 (vwarnx): Likewise.
15739 * manual/filesys.texi (telldir): Use braces around return type.
15740 * manual/llio.texi (mmap): Add space after comma.
15741 (mmap64): Likewise.
15742 * manual/math.texi (jn): Use @var{} on parameter names.
15748 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15750 * manual/resource.texi (ulimit): Use @dots{} instead of literal
15752 (sched_get_priority_min): Remove semicolon on @deftypefun line.
15753 (sched_get_priority_max): Likewise.
15754 * manual/signal.texi (sigvec): Add space after comma.
15755 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15757 (if_indextoname): Likewise.
15758 (if_freenameindex): Likewise.
15759 (sendto): Use ',' instead of '.' in prototype.
15760 * manual/startup.texi (syscall): Use @dots{} instead of literal
15762 * manual/stdio.texi (__fpending): Separate initial words of
15763 paragraph from @deftypefun line.
15764 * manual/syslog.texi (syslog): Use @dots{} instead of literal
15766 (vsyslog): Use @var{} on parameter names.
15767 * manual/terminal.texi (stty): Use @var{} on parameter names.
15768 * manual/users.texi (getutmp): Use @var{} on parameter names.
15769 (getutmpx): Likewise.
15771 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15774 * manual/stdio.texi (fopen): Fix typos in description of
15777 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
15780 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15781 get clock_id definition.
15783 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
15786 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15787 (madvise): Cast every argument to void on its own.
15789 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15792 * manual/startup.texi (Exit Status): Fix typo.
15794 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15797 * manual/examples/argp-ex1.c: Include <stdlib.h>.
15798 * manual/examples/argp-ex2.c: Likewise.
15799 * manual/examples/argp-ex3.c: Likewise.
15801 2012-02-16 Richard Henderson <rth@redhat.com>
15803 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15804 * sysdeps/s390/s390-32/initfini.c: Remove.
15805 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15806 * sysdeps/s390/s390-64/initfini.c: Remove.
15808 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15810 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15811 compiler output for sysdeps/generic/initfini.c.
15812 * sysdeps/sh/elf/initfini.c: Remove file.
15814 2012-02-16 David S. Miller <davem@davemloft.net>
15817 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15819 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15820 * sysdeps/sparc/crti.S: New file.
15821 * sysdeps/sparc/crtn.S: New file.
15822 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15823 * sysdeps/sparc/sparc64/Makefile: Likewise.
15825 2012-02-15 Mike Frysinger <vapier@gentoo.org>
15828 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15830 2012-02-15 Roland McGrath <roland@hack.frob.com>
15833 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15835 * mach/devstream.c (cookie_io_functions_t): Macro removed.
15836 (write, read, close): Likewise.
15837 Patch by Aurelien Jarno <aurelien@aurel32.net>.
15839 2012-02-15 Joseph Myers <joseph@codesourcery.com>
15841 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15842 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15843 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15844 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15846 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15847 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15850 2012-02-14 Marek Polacek <polacek@redhat.com>
15852 * sysdeps/x86_64/crti.S: New file.
15853 * sysdeps/x86_64/crtn.S: New file.
15854 * sysdeps/x86_64/elf/initfini.c: Remove file.
15856 2012-02-13 Joseph Myers <joseph@codesourcery.com>
15858 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15859 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15860 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15861 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15863 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15864 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15867 2012-02-13 Joseph Myers <joseph@codesourcery.com>
15869 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15870 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15871 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15872 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15874 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15875 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15878 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
15880 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15881 __feraiseexcept instead of feraiseexcept.
15883 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15884 nanosleep invocations.
15885 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15886 strings, and add error checking for a nanosleep invocations.
15888 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
15890 Replace FSF snail mail address with URLs, as per GNU coding standards.
15891 Most of the snail mail addresses were wrong anyway, and omitting
15892 them makes the source code easier to maintain. Almost all of the
15893 changes are to license notices and to locale LC_IDENTIFICATION
15894 addresses, except for this one:
15895 * manual/libc.texinfo: In "Published by", give the FSF's URL,
15896 not its snail mail address.
15898 2012-02-09 Richard Henderson <rth@twiddle.net>
15900 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15901 of kernel-features.h.
15903 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15905 2012-02-08 Marek Polacek <polacek@redhat.com>
15907 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15908 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15909 * sysdeps/gnu/_G_config.h: Likewise.
15910 * sysdeps/generic/_G_config.h: Likewise.
15912 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
15914 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15918 * sysdeps/powerpc/powerpc32/crti.S: New file.
15919 * sysdeps/powerpc/powerpc32/crtn.S: New file.
15920 * sysdeps/powerpc/powerpc64/crti.S: New file.
15921 * sysdeps/powerpc/powerpc64/crtn.S: New file.
15923 * Makeconfig (have-initfini): Don't set.
15924 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15925 * configure.in (nopic_initfini): Don't substitute.
15926 * config.h.in (HAVE_INITFINI): Don't #undef.
15927 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15928 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15930 2012-02-08 Joseph Myers <joseph@codesourcery.com>
15932 Support crti.S and crtn.S provided directly by architectures.
15933 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
15934 [crti.S in sysdirs] (omit-deps): Likewise.
15935 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
15936 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
15937 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
15938 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
15939 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
15940 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
15941 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
15942 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
15943 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
15944 compiler output for sysdeps/generic/initfini.c.
15945 * sysdeps/i386/elf/Makefile: Remove file.
15946 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
15948 2012-02-07 Marek Polacek <polacek@redhat.com>
15950 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
15951 * sysdeps/gnu/_G_config.h: Likewise.
15952 * sysdeps/mach/hurd/_G_config.h: Likewise.
15954 2012-02-07 Marek Polacek <polacek@redhat.com>
15956 * math/Makefile (tests): Add tst-CMPLX2.
15957 * math/tst-CMPLX2.c: New file.
15959 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
15961 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15963 * math/libm-test.inc (jn_test): Add missing L suffix.
15965 2012-02-06 Marek Polacek <polacek@redhat.com>
15967 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
15968 * sysdeps/i386/fpu/e_powf.S: Likewise.
15969 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15970 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
15971 * sysdeps/i386/fpu/e_acosh.S: Likewise.
15972 * sysdeps/i386/fpu/e_pow.S: Likewise.
15973 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15974 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15975 * sysdeps/i386/fpu/s_expm1.S: Likewise.
15976 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15977 * sysdeps/i386/fpu/e_log2.S: Likewise.
15978 * sysdeps/i386/fpu/e_log2l.S: Likewise.
15979 * sysdeps/i386/fpu/e_scalb.S: Likewise.
15980 * sysdeps/i386/fpu/e_powl.S: Likewise.
15981 * sysdeps/i386/fpu/s_log1p.S: Likewise.
15982 * sysdeps/i386/fpu/e_log10f.S: Likewise.
15983 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15984 * sysdeps/i386/fpu/e_logl.S: Likewise.
15985 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15986 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
15987 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15988 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15989 * sysdeps/i386/fpu/e_log2f.S: Likewise.
15990 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15991 * sysdeps/i386/fpu/e_log.S: Likewise.
15992 * sysdeps/i386/fpu/s_cexp.S: Likewise.
15993 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15994 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
15995 * sysdeps/i386/fpu/e_logf.S: Likewise.
15996 * sysdeps/i386/fpu/e_log10l.S: Likewise.
15997 * sysdeps/i386/fpu/e_atanh.S: Likewise.
15998 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
15999 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16000 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16001 * sysdeps/i386/fpu/e_log10.S: Likewise.
16002 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16003 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16004 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16005 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16006 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16007 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16008 * sysdeps/i386/asm-syntax.h: Likewise.
16009 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16010 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16011 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16012 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
16013 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
16014 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16015 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16016 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16017 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16018 * sysdeps/powerpc/sysdep.h: Likewise.
16019 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
16020 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16022 2012-02-06 Joseph Myers <joseph@codesourcery.com>
16025 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
16027 2012-02-06 Joseph Myers <joseph@codesourcery.com>
16029 * sysdeps/i386/sysdep.h: Include <features.h>.
16030 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
16033 2012-02-05 Joseph Myers <joseph@codesourcery.com>
16035 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
16037 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
16040 2012-02-03 Joseph Myers <joseph@codesourcery.com>
16042 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
16043 (SETUP_PIC_REG): Use GET_PC_THUNK.
16044 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
16047 2012-02-03 Joseph Myers <joseph@codesourcery.com>
16049 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
16050 for non-PIC compilation.
16051 (SETUP_PIC_REG): Add .p2align directive.
16052 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
16053 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
16054 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16055 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16056 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16057 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16058 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
16059 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16060 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16061 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16062 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16063 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16064 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16065 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16066 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16067 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16068 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16069 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16070 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16071 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16072 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16073 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16074 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16075 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16076 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16077 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16078 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16079 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16080 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16081 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16082 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16083 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16084 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16085 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16086 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16087 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16088 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16089 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16090 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16091 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16092 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16094 2012-02-03 Joseph Myers <joseph@codesourcery.com>
16096 * math/tst-CMPLX.c: Include <stdio.h>.
16098 2012-01-31 Joseph Myers <joseph@codesourcery.com>
16100 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
16102 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16103 * sysdeps/sparc/bits/mathdef.h: Likewise.
16105 2012-01-31 Marek Polacek <polacek@redhat.com>
16107 * libio/libio.h: Don't define _PARAMS.
16108 * locale/programs/config.h: Don't define PARAMS.
16109 * stdlib/strtol_l.c: Likewise.
16110 (__strtol_l): Remove PARAMS from the prototype.
16112 2012-01-31 Ulrich Drepper <drepper@gmail.com>
16114 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
16115 names. Just use the correct names. Remove unnecessary wrapper
16117 * malloc/arena.c: Likewise.
16118 * malloc/hooks.c: Likewise.
16120 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
16121 ARENA_TEST says not to. Simplify test for creation of a new arena.
16122 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
16124 2012-01-30 Ulrich Drepper <drepper@gmail.com>
16126 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
16128 (update_get_addr): New function.
16129 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
16130 GET_ADDR_MODULE parameter.
16132 2012-01-30 Joseph Myers <joseph@codesourcery.com>
16134 * crypt/cert.c: Remove __STDC__ conditionals.
16135 * crypt/crypt-entry.c: Likewise.
16136 * crypt/crypt_util.c: Likewise.
16137 * libio/filedoalloc.c: Likewise.
16138 * libio/fileops.c: Likewise.
16139 * libio/genops.c: Likewise.
16140 * libio/iofclose.c: Likewise.
16141 * libio/iofdopen.c: Likewise.
16142 * libio/iofopen.c: Likewise.
16143 * libio/iofopen64.c: Likewise.
16144 * libio/iogetdelim.c: Likewise.
16145 * libio/iopopen.c: Likewise.
16146 * libio/obprintf.c: Likewise.
16147 * libio/oldfileops.c: Likewise.
16148 * libio/oldiofclose.c: Likewise.
16149 * libio/oldiofdopen.c: Likewise.
16150 * libio/oldiofopen.c: Likewise.
16151 * libio/oldiopopen.c: Likewise.
16152 * libio/wfiledoalloc.c: Likewise.
16153 * libio/wgenops.c: Likewise.
16154 * locale/programs/xmalloc.c: Likewise.
16155 * misc/syslog.c: Likewise.
16156 * stdio-common/xbug.c: Likewise.
16157 * string/memchr.c: Likewise.
16158 * string/memcmp.c: Likewise.
16159 * string/memrchr.c: Likewise.
16160 * string/rawmemchr.c: Likewise.
16161 * sysdeps/posix/getcwd.c: Likewise.
16162 * time/strftime_l.c: Likewise.
16164 2012-01-30 Joseph Myers <joseph@codesourcery.com>
16166 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
16167 * config.make.in (config-cflags-sse2avx): Define.
16168 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
16171 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
16173 * scripts/config.guess: Update from upstream config git repository.
16174 * scripts/config.sub: Likewise.
16176 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
16178 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
16180 (R_TILEPRO_*, R_TILEGX_*): New macros.
16182 * scripts/firstversions.awk: Fix bug in version range handling.
16184 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
16186 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
16188 * include/sys/epoll.h: New file.
16189 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
16192 2012-01-28 Ulrich Drepper <drepper@gmail.com>
16194 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
16195 Avoid unnecessary __WORDSIZE == 64 test.
16196 (fmaxf): Use VEX format if possible.
16201 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
16202 * math/math_private.h: Remove libc_fegetround* and
16204 * sysdeps/i386/configure.in: Check for -msse2avx.
16205 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
16206 also if SSE2AVX is defined.
16207 Remove libc_fegetround* and libc_fesetround*.
16208 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
16209 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
16210 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
16212 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16213 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16214 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16215 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16216 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16218 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
16220 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16222 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
16224 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16226 2012-01-27 Ulrich Drepper <drepper@gmail.com>
16229 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
16231 * Makeconfig (libm): Define.
16232 * elf/Makefile: Add rules to build and run tst-relsort1.
16233 * elf/tst-relsort1.c: New file.
16234 * elf/tst-relsort1mod1.c: New file.
16235 * elf/tst-relsort1mod2.c: New file.
16237 2012-01-27 Joseph Myers <joseph@codesourcery.com>
16239 * math/s_ldexp.c: Remove __STDC__ conditionals.
16240 * math/s_ldexpf.c: Likewise.
16241 * math/s_ldexpl.c: Likewise.
16242 * math/s_nextafter.c: Likewise.
16243 * math/s_nexttowardf.c: Likewise.
16244 * math/s_significand.c: Likewise.
16245 * math/s_significandf.c: Likewise.
16246 * math/s_significandl.c: Likewise.
16247 * math/w_jnl.c: Likewise.
16248 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16249 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16250 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16251 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16252 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16253 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16254 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
16255 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16256 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16257 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16258 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16259 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16260 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16261 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16262 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16263 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16264 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16265 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16266 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16267 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16268 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16269 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16270 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16271 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16272 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16273 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16274 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16275 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16276 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16277 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16278 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16279 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16280 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16281 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16282 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16283 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16284 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16285 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16286 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16287 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16288 * sysdeps/ieee754/k_standard.c: Likewise.
16289 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16290 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16291 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16292 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16293 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16294 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16295 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16296 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16297 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16298 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16299 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16300 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16301 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16302 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16303 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16304 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16305 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16306 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16307 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16308 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16309 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16310 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16311 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16312 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16313 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16314 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16315 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16316 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16317 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16318 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16319 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16320 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
16321 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16322 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16323 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16324 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16325 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
16326 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16327 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16328 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
16329 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
16330 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16331 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
16332 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
16333 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16334 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16335 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16336 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16337 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16338 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16339 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
16340 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16341 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16342 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16343 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16344 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16345 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
16346 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16347 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16348 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16349 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16350 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16351 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16352 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16353 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16354 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16355 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16356 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16357 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16358 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16359 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16360 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16361 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16362 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16363 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16364 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16365 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16366 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16367 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16368 * sysdeps/ieee754/s_matherr.c: Likewise.
16369 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16370 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16371 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16372 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16374 2012-01-26 Joseph Myers <joseph@codesourcery.com>
16376 * crypt/md5.h: Remove __STDC__ conditionals.
16377 * libio/libioP.h: Likewise.
16378 * locale/programs/config.h: Likewise.
16379 * sysdeps/generic/sysdep.h: Likewise.
16380 * sysdeps/i386/asm-syntax.h: Likewise.
16381 * sysdeps/s390/asm-syntax.h: Likewise.
16382 * sysdeps/unix/sysdep.h: Likewise.
16383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16386 2012-01-26 Joseph Myers <joseph@codesourcery.com>
16388 * libio/libio.h: Remove __STDC__ conditionals.
16389 * malloc/obstack.h: Likewise.
16390 * math/complex.h: Likewise.
16391 * math/math.h: Likewise.
16392 * sysdeps/generic/_G_config.h: Likewise.
16393 * sysdeps/gnu/_G_config.h: Likewise.
16394 * sysdeps/mach/hurd/_G_config.h: Likewise.
16395 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16396 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16397 * sysdeps/sparc/bits/mathdef.h: Likewise.
16399 2012-01-26 Ulrich Drepper <drepper@gmail.com>
16402 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
16403 Clean up HAS_* macros.
16404 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
16405 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
16407 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
16409 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16410 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16411 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16412 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16413 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16415 2012-01-25 Joseph Myers <joseph@codesourcery.com>
16417 * elf/tst-unique3.cc (gets): Remove declaration.
16418 * elf/tst-unique3lib.cc (gets): Likewise.
16419 * elf/tst-unique3lib2.cc (gets): Likewise.
16420 * elf/tst-unique4.cc (gets): Likewise.
16422 2012-01-24 Ulrich Drepper <drepper@gmail.com>
16424 * include/stdio.h: Add C++ protection. Add gets declarations and
16426 * debug/tst-chk1.c: Don't declare gets here.
16427 * stdio-common/tst-gets.c: Likewise.
16429 2012-01-24 Joseph Myers <joseph@codesourcery.com>
16431 * posix/glob: Remove directory.
16433 2012-01-24 Joseph Myers <joseph@codesourcery.com>
16435 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
16437 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
16439 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
16440 of the non-standard EPFNOSUPPORT.
16442 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
16444 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
16445 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
16446 ANYWHERE set to 1 only on KERN_NO_SPACE error.
16448 2012-01-21 Ulrich Drepper <drepper@gmail.com>
16450 * wcsmbs/uchar.h: Test __STDC_VERSION__.
16452 2012-01-20 Ulrich Drepper <drepper@gmail.com>
16454 * nscd/aicache.c (addhstaiX): Do not cache negative results of
16456 * nscd/grpcache.c (cache_addgr): Likewise.
16457 * nscd/hstcache.c (cache_addhst): Likewise.
16458 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16459 * nscd/pwdcache.c (cache_addpw): Likewise.
16460 * nscd/servicescache.c (cache_addserv): Likewise.
16462 2012-01-16 Ulrich Drepper <drepper@gmail.com>
16464 * malloc/malloc.c: Various cleanups.
16465 * malloc/hooks.c: Likewise.
16467 * stdlib/Makefile (tests): Add bug-fmtmsg1.
16468 * stdlib/bug-fmtmsg1.c: New file.
16470 * stdlib/fmtmsg.c (init): Add missing unlock.
16471 Patch by Peng Haitao <penght@cn.fujitsu.com>.
16473 2012-01-12 Marek Polacek <polacek@redhat.com>
16475 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
16478 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16480 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
16481 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
16482 macro to ensure uniqueness of label name.
16483 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16484 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16486 2012-01-11 Ulrich Drepper <drepper@gmail.com>
16488 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
16490 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
16491 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16492 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16493 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
16495 2012-01-10 Ulrich Drepper <drepper@gmail.com>
16497 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
16499 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
16500 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16501 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16503 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
16505 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
16506 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16507 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16508 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
16510 * math/bits/math-finite.h: Add ldexp support.
16512 2012-01-10 Marek Polacek <polacek@redhat.com>
16514 * locale/programs/localedef.h (show_archive_content): Add noreturn
16517 2012-01-09 Ulrich Drepper <drepper@gmail.com>
16519 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
16521 2012-01-08 Ulrich Drepper <drepper@gmail.com>
16523 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
16525 * io/Makefile (headers): Add bits/poll2.h.
16527 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
16529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
16530 typo #include statement.
16532 2012-01-08 Ulrich Drepper <drepper@gmail.com>
16534 * include/sys/cdefs.h: Define __attribute_alloc_size.
16535 * catgets/gencat.c: Add alloc_size attribute and apply consistently
16536 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
16537 * elf/pldd.c: Likewise.
16538 * iconv/iconv_charmap.c: Likewise.
16539 * iconv/iconvconfig.c: Likewise.
16540 * iconv/strtab.c: Likewise.
16541 * locale/programs/locale.c: Likewise.
16542 * locale/programs/localedef.h: Likewise.
16543 * locale/programs/simple-hash.c: Likewise.
16544 * nscd/nscd.h: Likewise.
16545 * nss/makedb.c: Likewise.
16546 * sysdeps/generic/ldconfig.h: Likewise.
16547 * locale/programs/localedef.c: Remove xmalloc prototype.
16548 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
16550 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16552 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
16555 2012-01-08 Ulrich Drepper <drepper@gmail.com>
16557 * math/Makefile (tests): Add tst-CMPLX.
16558 * math/tst-CMPLX.c: New file.
16560 * math/complex.h (CMPLXL): Fix typo.
16562 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
16563 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
16565 * debug/tst-chk1.c: Add poll and ppoll tests.
16566 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
16567 * include/sys/poll.h: Add hidden proto for ppoll.
16568 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
16569 * sysdeps/mach/hurd/ppoll.c: Likewise.
16570 * io/ppoll.c: Likewise.
16571 * debug/poll_chk.c: New file.
16572 * debug/ppoll_chk.c: New file.
16573 * include/bits/poll2.h: New file.
16574 * io/bits/poll2.h: New file.
16577 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
16579 * configure.in: static is always set to yes. Remove.
16580 * config.make.in: Don't set build-static.
16581 * Makeconfig: Remove use of build-static.
16582 * dlfcn/Makefile: Likewise.
16583 * elf/Makefile: Likewise.
16584 * math/Makefile: Likewise.
16585 * misc/Makefile: Likewise.
16586 * nptl/Makefile: Likewise.
16587 * sysdeps/mach/hurd/Makefile: Likewise.
16589 * configure.in: PWD_P is not used anymore.
16590 * config.make.in: Remove PWD_P entry.
16592 * configure.in: Remove last remnants of RANLIB.
16593 No need to check for signed size_t anymore.
16594 Don't set libc_commonpagesize and libc_relro_required here for Alpha
16596 Remove __builtin_expect test because we require at least gcc 3.4.
16597 * aclocal.m4: Likewise.
16599 * wcsmbs/mbrtoc16.c: Implement using towc function.
16600 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16601 * wcsmbs/wcsmbsload.c: Likewise.
16602 * iconv/gconv_simple.c: Likewise.
16603 * iconv/gconv_int.h: Likewise.
16604 * iconv/gconv_builtin.h: Likewise.
16605 * iconv/iconv_prog.c: Remove CHAR16 handling.
16607 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
16609 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
16611 * configure.in: Remove --with-elf and --enable-bounded options.
16612 Dont set base_machine for ia64. More non-ELF conditions removed.
16613 Remove testing and setting of leading underscore information.
16614 * config.make.in (build-bounded): Set to no.
16615 * config.h.in: Remove NO_UNDERSCORES entry.
16616 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
16618 * csu/start.c: Remove !NO_UNDERSCORE code.
16619 * locale/localeinfo.h: Likewise.
16620 * sysdeps/generic/machine-gmon.h: Likewise.
16621 * sysdeps/generic/sysdep.h: Likewise.
16622 * sysdeps/i386/sysdep.h: Likewise.
16623 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16624 * sysdeps/mach/sysdep.h: Likewise.
16625 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16626 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16627 * sysdeps/sh/sysdep.h: Likewise.
16628 * sysdeps/sparc/sparc32/alloca.S: Likewise.
16629 * sysdeps/unix/i386/sysdep.S: Likewise.
16630 * sysdeps/unix/sparc/start.c: Likewise.
16631 * sysdeps/unix/sparc/sysdep.S: Likewise.
16632 * sysdeps/unix/sparc/sysdep.h: Likewise.
16633 * sysdeps/unix/start.c: Likewise.
16634 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16635 * sysdeps/x86_64/sysdep.h: Likewise.
16637 2012-01-07 Ulrich Drepper <drepper@gmail.com>
16640 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16642 * argp/argp-fmtstream.h: Use const instead __const.
16643 * argp/argp.h: Likewise.
16644 * assert/assert.h: Likewise.
16645 * bits/fenv.h: Likewise.
16646 * bits/sched.h: Likewise.
16647 * bits/sigset.h: Likewise.
16648 * bits/sigthread.h: Likewise.
16649 * catgets/nl_types.h: Likewise.
16650 * conform/data/pthread.h-data: Likewise.
16651 * crypt/crypt-private.h: Likewise.
16652 * crypt/crypt.h: Likewise.
16653 * crypt/crypt_util.c: Likewise.
16654 * ctype/ctype.h: Likewise.
16655 * debug/execinfo.h: Likewise.
16656 * debug/mbsnrtowcs_chk.c: Likewise.
16657 * debug/mbsrtowcs_chk.c: Likewise.
16658 * debug/wcsnrtombs_chk.c: Likewise.
16659 * debug/wcsrtombs_chk.c: Likewise.
16660 * debug/wcstombs_chk.c: Likewise.
16661 * dirent/dirent.h: Likewise.
16662 * dlfcn/dlfcn.h: Likewise.
16663 * elf/neededtest4.c: Likewise.
16664 * grp/grp.h: Likewise.
16665 * gshadow/gshadow.h: Likewise.
16666 * iconv/gconv.h: Likewise.
16667 * iconv/gconv_int.h: Likewise.
16668 * iconv/gconv_simple.c: Likewise.
16669 * iconv/iconv.h: Likewise.
16670 * iconv/loop.c: Likewise.
16671 * iconv/skeleton.c: Likewise.
16672 * include/aio.h: Likewise.
16673 * include/aliases.h: Likewise.
16674 * include/argz.h: Likewise.
16675 * include/arpa/inet.h: Likewise.
16676 * include/assert.h: Likewise.
16677 * include/dirent.h: Likewise.
16678 * include/dlfcn.h: Likewise.
16679 * include/execinfo.h: Likewise.
16680 * include/fcntl.h: Likewise.
16681 * include/fenv.h: Likewise.
16682 * include/glob.h: Likewise.
16683 * include/grp.h: Likewise.
16684 * include/libintl.h: Likewise.
16685 * include/mntent.h: Likewise.
16686 * include/netdb.h: Likewise.
16687 * include/pwd.h: Likewise.
16688 * include/rpc/netdb.h: Likewise.
16689 * include/sched.h: Likewise.
16690 * include/search.h: Likewise.
16691 * include/shadow.h: Likewise.
16692 * include/signal.h: Likewise.
16693 * include/stdio.h: Likewise.
16694 * include/stdlib.h: Likewise.
16695 * include/string.h: Likewise.
16696 * include/sys/socket.h: Likewise.
16697 * include/sys/stat.h: Likewise.
16698 * include/sys/statfs.h: Likewise.
16699 * include/sys/statvfs.h: Likewise.
16700 * include/sys/syslog.h: Likewise.
16701 * include/sys/time.h: Likewise.
16702 * include/sys/uio.h: Likewise.
16703 * include/time.h: Likewise.
16704 * include/unistd.h: Likewise.
16705 * include/utmp.h: Likewise.
16706 * include/wchar.h: Likewise.
16707 * include/wctype.h: Likewise.
16708 * inet/aliases.h: Likewise.
16709 * inet/arpa/inet.h: Likewise.
16710 * inet/netinet/ether.h: Likewise.
16711 * inet/netinet/in.h: Likewise.
16712 * intl/libintl.h: Likewise.
16713 * io/bits/fcntl2.h: Likewise.
16714 * io/fcntl.h: Likewise.
16715 * io/ftw.h: Likewise.
16716 * io/sys/poll.h: Likewise.
16717 * io/sys/stat.h: Likewise.
16718 * io/sys/statfs.h: Likewise.
16719 * io/sys/statvfs.h: Likewise.
16720 * io/utime.h: Likewise.
16721 * libio/bits/stdio.h: Likewise.
16722 * libio/bits/stdio2.h: Likewise.
16723 * libio/libio.h: Likewise.
16724 * libio/libioP.h: Likewise.
16725 * libio/stdio.h: Likewise.
16726 * locale/lc-ctype.c: Likewise.
16727 * locale/locale.h: Likewise.
16728 * login/utmp.h: Likewise.
16729 * malloc/arena.c: Likewise.
16730 * malloc/malloc.c: Likewise.
16731 * malloc/malloc.h: Likewise.
16732 * malloc/mcheck.c: Likewise.
16733 * malloc/mtrace.c: Likewise.
16734 * math/bits/mathcalls.h: Likewise.
16735 * math/fenv.h: Likewise.
16736 * math/math_private.h: Likewise.
16737 * misc/bits/error.h: Likewise.
16738 * misc/bits/syslog.h: Likewise.
16739 * misc/err.h: Likewise.
16740 * misc/error.h: Likewise.
16741 * misc/fstab.h: Likewise.
16742 * misc/mntent.h: Likewise.
16743 * misc/regexp.h: Likewise.
16744 * misc/search.h: Likewise.
16745 * misc/sgtty.h: Likewise.
16746 * misc/sys/mman.h: Likewise.
16747 * misc/sys/syslog.h: Likewise.
16748 * misc/sys/uio.h: Likewise.
16749 * misc/sys/xattr.h: Likewise.
16750 * misc/ttyent.h: Likewise.
16751 * nis/rpcsvc/ypclnt.h: Likewise.
16752 * nss/nss.h: Likewise.
16753 * posix/bits/unistd.h: Likewise.
16754 * posix/fnmatch.h: Likewise.
16755 * posix/glob.h: Likewise.
16756 * posix/sched.h: Likewise.
16757 * posix/spawn.h: Likewise.
16758 * posix/sys/wait.h: Likewise.
16759 * posix/unistd.h: Likewise.
16760 * posix/wordexp.h: Likewise.
16761 * pwd/pwd.h: Likewise.
16762 * resolv/netdb.h: Likewise.
16763 * resource/sys/resource.h: Likewise.
16764 * rt/aio.h: Likewise.
16765 * rt/bits/mqueue2.h: Likewise.
16766 * rt/mqueue.h: Likewise.
16767 * shadow/shadow.h: Likewise.
16768 * signal/signal.h: Likewise.
16769 * socket/send.c: Likewise.
16770 * socket/sendto.c: Likewise.
16771 * socket/sys/socket.h: Likewise.
16772 * stdio-common/printf.h: Likewise.
16773 * stdlib/bits/stdlib.h: Likewise.
16774 * stdlib/fmtmsg.h: Likewise.
16775 * stdlib/monetary.h: Likewise.
16776 * stdlib/stdlib.h: Likewise.
16777 * stdlib/ucontext.h: Likewise.
16778 * streams/stropts.h: Likewise.
16779 * string/argz.h: Likewise.
16780 * string/bits/string2.h: Likewise.
16781 * string/string.h: Likewise.
16782 * string/strings.h: Likewise.
16783 * sunrpc/rpc/auth.h: Likewise.
16784 * sunrpc/rpc/auth_des.h: Likewise.
16785 * sunrpc/rpc/clnt.h: Likewise.
16786 * sunrpc/rpc/netdb.h: Likewise.
16787 * sunrpc/rpc/pmap_clnt.h: Likewise.
16788 * sunrpc/rpc/xdr.h: Likewise.
16789 * sysdeps/generic/inttypes.h: Likewise.
16790 * sysdeps/generic/net/if.h: Likewise.
16791 * sysdeps/generic/sys/swap.h: Likewise.
16792 * sysdeps/gnu/net/if.h: Likewise.
16793 * sysdeps/gnu/utmpx.h: Likewise.
16794 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16795 * sysdeps/i386/i486/bits/string.h: Likewise.
16796 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16797 * sysdeps/s390/bits/string.h: Likewise.
16798 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16799 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16800 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16801 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16802 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16803 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16804 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16805 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16806 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16807 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16808 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16809 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16810 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16811 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16812 * sysdeps/unix/sysv/linux/readv.c: Likewise.
16813 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16814 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16815 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16816 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16817 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16818 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16819 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16820 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16821 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16822 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16823 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16824 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16825 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16826 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16827 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16828 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16829 * sysvipc/sys/ipc.h: Likewise.
16830 * sysvipc/sys/msg.h: Likewise.
16831 * sysvipc/sys/sem.h: Likewise.
16832 * sysvipc/sys/shm.h: Likewise.
16833 * termios/termios.h: Likewise.
16834 * time/sys/time.h: Likewise.
16835 * time/time.h: Likewise.
16836 * wcsmbs/bits/wchar2.h: Likewise.
16837 * wcsmbs/uchar.h: Likewise.
16838 * wcsmbs/wchar.h: Likewise.
16839 * wctype/wctype.h: Likewise.
16842 * Makeconfig: Remove all but ELF support including AIX support.
16843 * Makerules: Likewise.
16844 * config.h.in: Likewise.
16845 * config.make.in: Likewise.
16846 * configure: Likewise.
16847 * configure.in: Likewise.
16848 * csu/Makefile: Likewise.
16849 * csu/version.c: Likewise.
16850 * debug/Makefile: Likewise.
16851 * dlfcn/Makefile: Likewise.
16852 * elf/Makefile: Likewise.
16853 * extra-lib.mk: Likewise.
16854 * iconv/Makefile: Likewise.
16855 * include/libc-symbols.h: Likewise.
16856 * include/shlib-compat.h: Likewise.
16857 * resolv/Makefile: Likewise.
16858 * resolv/res_libc.c: Likewise.
16859 * rt/Makefile: Likewise.
16860 * sysdeps/i386/asm-syntax.h: Likewise.
16861 * sysdeps/i386/sysdep.h: Likewise.
16862 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16863 * sysdeps/mach/sysdep.h: Likewise.
16864 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16865 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16866 * sysdeps/s390/asm-syntax.h: Likewise.
16867 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16868 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16869 * sysdeps/sh/sysdep.h: Likewise.
16870 * sysdeps/unix/sparc/sysdep.h: Likewise.
16871 * sysdeps/wordsize-32/divdi3.c: Likewise.
16872 * sysdeps/x86_64/sysdep.h: Likewise.
16874 * argp/Versions: Remove _argp_unlock_xxx.
16877 * abilist/ld.abilist: Update. Adjust for removal of tls option.
16878 * abilist/libBrokenLocale.abilist: Likewise.
16879 * abilist/libanl.abilist: Likewise.
16880 * abilist/libc.abilist: Likewise.
16881 * abilist/libcrypt.abilist: Likewise.
16882 * abilist/libdl.abilist: Likewise.
16883 * abilist/libm.abilist: Likewise.
16884 * abilist/libnsl.abilist: Likewise.
16885 * abilist/libpthread.abilist: Likewise.
16886 * abilist/libresolv.abilist: Likewise.
16887 * abilist/librt.abilist: Likewise.
16888 * abilist/libthread_db.abilist: Likewise.
16889 * abilist/libutil.abilist: Likewise.
16890 * abilist/libnss_db.abilist: New file.
16892 * scripts/abilist.awk: Add support for indirect functions.
16894 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16896 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16898 * shlib-versions: Remove entries for ports architectures.
16900 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
16902 * elf/stackguard-macros.h: Remove support for IA-64.
16903 * elf/tst-auditmod1.c: Likewise.
16904 * sysdeps/generic/ldsodefs.h: Likewise.
16906 * sysdeps/unix/sysv/linux/configure.in: Ports should define
16907 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16911 * configure.in: Remove --enable-omitfp support.
16913 * config.make.in: Likewise.
16914 * Makeconfig: Likewise.
16915 * manual/install.texi: Likewise.
16917 In case anyone cares, the IA-64 architecture could move to ports.
16918 * sysdeps/ia64/*: Removed.
16919 * sysdeps/unix/sysv/linux/ia64/*: Removed.
16920 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
16923 * configure.in: Remove entries for unsupported architectures.
16926 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16927 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
16929 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16930 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16931 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
16932 fall back to using wcrtomb.
16933 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
16934 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
16936 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
16937 * wcsmbs/tst-c16c32-1.c: New file.
16939 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
16942 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
16944 * elf/tst-unique3.cc: Add explicit declaration of gets.
16945 * elf/tst-unique3lib.cc: Likewise.
16946 * elf/tst-unique3lib2.cc: Likewise.
16947 * elf/tst-unique4.cc: Likewise.
16949 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
16951 2012-01-06 Joseph Myers <joseph@codesourcery.com>
16954 * assert/assert.h (static_assert): Don't define for C++.
16955 * libio/stdio.h (gets): Do declare for C++ <= C++11.
16956 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
16958 2012-01-03 Ulrich Drepper <drepper@gmail.com>
16960 * iconv/loop.c (single loop): Fix assertion in storing of
16963 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
16965 2012-01-01 Ulrich Drepper <drepper@gmail.com>
16967 * posix/getconf.c: Update copyright year.
16968 * nss/getent.c: Likewise.
16969 * nss/makedb.c: Likewise.
16970 * iconv/iconvconfig.c: Likewise.
16971 * iconv/iconv_prog.c: Likewise.
16972 * elf/ldconfig.c: Likewise.
16973 * elf/pldd.c: Likewise.
16974 * elf/sotruss.ksh: Likewise.
16975 * catgets/gencat.c: Likewise.
16976 * csu/version.c: Likewise.
16977 * elf/ldd.bash.in: Likewise.
16978 * elf/sprof.c (print_version): Likewise.
16979 * locale/programs/locale.c: Likewise.
16980 * locale/programs/localedef.c: Likewise.
16981 * login/programs/pt_chown.c: Likewise.
16982 * nscd/nscd.c (print_version): Likewise.
16983 * debug/xtrace.sh: Likewise.
16984 * malloc/memusage.sh: Likewise.
16985 * malloc/mtrace.pl: Likewise.
16986 * debug/catchsegv.sh: Likewise.
16988 2011-12-30 Jakub Jelinek <jakub@redhat.com>
16990 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
16993 2011-12-24 Ulrich Drepper <drepper@gmail.com>
16996 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
16997 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
16999 * iconv/gconv_int.h: Likewise.
17000 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
17001 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
17002 from libc for GLIBC_2.16.
17003 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
17004 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
17005 * wcsmbs/uchar.h: Really define mbstate_t.
17006 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
17007 * wcsmbs/c16rtomb.c: New file.
17008 * wcsmbs/mbrtoc16.c: New file.
17009 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
17010 for C/POSIX locale.
17011 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
17012 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
17014 * wcsmbs/wchar.h: Add missing __restrict.
17016 2011-12-23 Ulrich Drepper <drepper@gmail.com>
17019 * time/Makefile (routines): Add timespec_get.
17020 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
17021 * time/time.h: Define TIME_UTC and declare timespec_get. Define
17022 timespec for ISO C11.
17023 * time/timespec_get.c: New file.
17024 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
17025 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
17028 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
17029 * stdlib/stdlib.h: Declare aligned_alloc.
17030 * Versions.def: Add GLIBC_2.16 for libc.
17031 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
17034 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
17037 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
17041 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
17044 * assert/assert.h (static_assert): Define.
17046 * version.h: Update for 2.16 development version.
17049 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
17052 * version.h (RELEASE): Bump for 2.15 release.
17053 * include/features.h (__GLIBC_MINOR__): Bump to 15.
17055 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
17056 Patch by Marek Polacek <mpolacek@redhat.com>.
17058 * bits/byteswap.h: Protect long long constants with __extension__.
17059 * sysdeps/i386/bits/byteswap.h: Likewise.
17060 * sysdeps/ia64/bits/byteswap.h: Likewise.
17061 * sysdeps/s390/bits/byteswap.h: Likewise.
17062 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17064 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17067 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
17068 destination buffer.
17069 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
17071 2011-12-23 Marek Polacek <polacek@redhat.com>
17073 * elf/dl-addr.c (determine_info): Add inline keyword.
17074 * elf/tst-auditmod4b.c (check_avx): Likewise.
17075 * elf/tst-auditmod6b.c (check_avx): Likewise.
17076 * elf/tst-auditmod6c.c (check_avx): Likewise.
17077 * elf/tst-auditmod7b.c (check_avx): Likewise.
17079 2011-12-23 Ulrich Drepper <drepper@gmail.com>
17081 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
17084 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17087 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
17088 processing for last bytes.
17090 2011-08-06 Bruno Haible <bruno@clisp.org>
17093 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
17094 U+0385, not to U+1FEE.
17097 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
17098 entry for U+00A5 U+0301.
17100 2011-12-22 Ulrich Drepper <drepper@gmail.com>
17103 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
17104 buffer for the output is too small.
17106 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
17110 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
17111 SSE flags if possible.
17113 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17116 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
17117 processing for last bytes.
17119 2011-12-22 Joseph Myers <joseph@codesourcery.com>
17121 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
17122 (syscall-list-default-options, syscall-list-default-condition)
17123 (syscall-list-includes): Define.
17124 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
17125 list of ABIs and options and #if conditions for each ABI. Do not
17126 handle common syscalls between ABIs specially.
17127 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
17129 (syscall-list-variants, syscall-list-32bit-options)
17130 (syscall-list-32bit-condition, syscall-list-64bit-options)
17131 (syscall-list-64bit-condition): Define.
17132 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
17133 (syscall-list-variants, syscall-list-32bit-options)
17134 (syscall-list-32bit-condition, syscall-list-64bit-options)
17135 (syscall-list-64bit-condition): Define.
17136 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
17138 (syscall-list-variants, syscall-list-32bit-options)
17139 (syscall-list-32bit-condition, syscall-list-64bit-options)
17140 (syscall-list-64bit-condition): Define.
17141 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
17143 (syscall-list-variants, syscall-list-32bit-options)
17144 (syscall-list-32bit-condition, syscall-list-64bit-options)
17145 (syscall-list-64bit-condition): Define.
17147 2011-12-22 Ulrich Drepper <drepper@gmail.com>
17149 * locale/iso-639.def: Add brx entry.
17152 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
17153 Proposed by Mariusz_Cukr <marcukr@op.pl>.
17155 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
17156 __feraiseexcept_renamed.
17158 2011-12-21 Ulrich Drepper <drepper@gmail.com>
17161 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
17162 EPOLLET with unsigned values.
17163 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17164 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17166 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
17167 to large cancellation.
17168 * math/s_cacoshf.c: Likewise.
17169 * math/s_cacoshl.c: Likewise.
17171 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
17175 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
17176 * math/s_cacoshf.c: Likewise.
17177 * math/s_cacoshl.c: Likewise.
17179 2011-12-21 Ulrich Drepper <drepper@gmail.com>
17182 * iconv/gconv.h: Define __GCONV_SWAP.
17183 * iconvdata/unicode.c: The swap bit must be stored in __flags.
17184 * iconvdata/utf-16.c: Likewise.
17185 * iconvdata/utf-32.c: Likewise.
17187 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
17190 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
17191 numerator after shifting it by one limb.
17193 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
17195 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
17196 under [__USE_EXTERN_INLINES].
17198 2011-12-17 Ulrich Drepper <drepper@gmail.com>
17201 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
17203 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17205 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
17206 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
17208 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
17209 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
17210 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
17211 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
17212 for strncasecmp/strncasecmp_l compilation.
17213 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
17214 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
17216 2011-12-08 Marek Polacek <mpolacek@redhat.com>
17219 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
17222 2011-12-17 Ulrich Drepper <drepper@gmail.com>
17225 * time/tzfile.c (__tzfile_read): Check values from file header.
17227 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17229 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
17230 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
17231 * powerpc/powerpc32/dl-start.S: Likewise.
17232 * powerpc/powerpc32/elf/start.S: Likewise.
17233 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17234 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
17235 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
17236 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
17237 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17238 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
17239 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
17240 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17241 * powerpc/powerpc32/fpu/s_round.S: Likewise.
17242 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17243 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17244 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17245 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17246 * powerpc/powerpc32/memset.S: Likewise.
17247 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17248 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17249 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17250 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17251 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17252 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17253 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17254 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17255 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
17256 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
17257 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
17258 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17259 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17261 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17263 * math/libm-test.inc: Added more nearbyint tests.
17264 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
17265 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
17266 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
17267 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
17269 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
17271 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
17274 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17276 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
17277 Add wcscpy-ssse3 wcscpy-c.
17278 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
17279 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
17280 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
17281 * sysdeps/x86_64/wcschr.S: New file.
17282 * sysdeps/x86_64/wcsrchr.S: New file.
17283 * string/test-strcmp.c: Remove checking of wcscmp function for
17285 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
17286 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
17287 wcsrchr-sse2 wcsrchr-c.
17288 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
17289 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
17290 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
17291 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
17292 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
17293 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
17294 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
17295 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
17296 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
17297 * wcsmbc/wcschr.c (WCSCHR): New macro.
17299 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17301 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
17302 * wcsmbs/test-wcsrchr.c: New file.
17303 * string/test-strrchr.c: Add wcsrchr support.
17305 * wcsmbs/test-wcscpy.c: New file.
17306 * string/test-strcpy.c: Add wcscpy support.
17309 2011-12-10 Ulrich Drepper <drepper@gmail.com>
17311 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
17314 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
17317 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
17319 2011-12-04 Ulrich Drepper <drepper@gmail.com>
17321 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
17322 Minor optimizations.
17324 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
17325 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
17326 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
17328 2011-12-03 Ulrich Drepper <drepper@gmail.com>
17330 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
17331 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
17332 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
17333 for gcc to avoid warnings.
17334 * inet/Makefile (tests): Add tst-checks.
17335 * inet/tst-checks.c: New file.
17337 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
17340 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
17343 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
17344 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
17346 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
17348 2011-12-02 Ulrich Drepper <drepper@gmail.com>
17350 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
17353 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
17355 2011-11-29 Joseph Myers <joseph@codesourcery.com>
17357 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
17358 conditional on GCC version.
17359 (__arch_compare_and_exchange_val_8_acq)
17360 (__arch_compare_and_exchange_val_16_acq)
17361 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
17362 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
17363 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
17365 2011-12-02 Joseph Myers <joseph@codesourcery.com>
17367 * sysdeps/sh/backtrace.c: New file.
17369 2011-12-02 Andreas Schwab <schwab@redhat.com>
17371 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
17374 2011-12-01 Andreas Schwab <schwab@redhat.com>
17376 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
17377 falling back to utime.
17379 2011-11-30 Andreas Schwab <schwab@redhat.com>
17381 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
17382 expectations for float.
17384 2011-11-29 Andreas Schwab <schwab@redhat.com>
17386 * locale/weight.h (findidx): Add parameter len.
17387 * locale/weightwc.h (findidx): Likewise.
17388 * posix/fnmatch_loop.c (FCT): Adjust caller.
17389 * posix/regcomp.c (build_equiv_class): Likewise.
17390 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
17391 * posix/regexec.c (check_node_accept_bytes): Likewise.
17392 * string/strcoll_l.c (STRCOLL): Likewise.
17393 * string/strxfrm_l.c (STRXFRM): Likewise.
17395 2011-11-17 Ulrich Drepper <drepper@gmail.com>
17397 * Makefile.in: Remove CVSOPT handling.
17398 * configure.in: Remove use of AC_REVISION.
17399 * iconvdata/Makefile (distribute): No need to filter out CVS.
17400 * scripts/list-sources.sh: Remove CVS, subversion and monotone
17403 2011-11-16 Andreas Schwab <schwab@redhat.com>
17405 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
17406 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
17407 [USE_AS_STRNCASECMP_L]: Likewise.
17408 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
17409 NO_TLS_DIRECT_SEG_REFS.
17410 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
17411 Fix argument offsets for non-PIC.
17412 [USE_AS_STRNCASECMP_L]: Likewise.
17413 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
17414 NO_TLS_DIRECT_SEG_REFS.
17416 2011-11-15 Ulrich Drepper <drepper@gmail.com>
17418 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
17420 * locale/loadlocale.c (_nl_load_locale): Likewise.
17422 2011-11-15 Andreas Schwab <schwab@redhat.com>
17424 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
17425 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
17426 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
17427 (SYSCALL_GETTIME): Set errno on error.
17429 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
17430 count references to noai6ai_cached.
17432 2011-11-15 Ulrich Drepper <drepper@gmail.com>
17434 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
17436 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
17437 FD_CLOEXEC for /proc/self/maps.
17439 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
17440 FD_CLOEXEC for /proc/meminfo.
17442 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
17445 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
17446 FD_CLOEXEC for given file.
17448 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
17450 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
17451 FD_CLOEXEC for /etc/hosts.
17452 (_gethtent): Likewise.
17454 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
17456 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
17457 cancellation and set FD_CLOEXEC for /etc/netgroup.
17459 * nss/nss_files/files-key.c (search): Don't allow cancellation when
17460 reading /etc/publickey.
17462 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
17463 allow cancellation when reading /etc/group.
17465 * nss/nss_files/files-alias.c (internal_setent): Don't allow
17467 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
17469 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
17470 when using data file.
17472 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
17474 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
17475 (write_nis_obj): Use "c" and "e" in fopen.
17477 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
17479 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
17481 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
17483 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
17485 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
17488 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
17490 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
17492 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
17494 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
17495 file parsing and set FD_CLOEXEC.
17497 2011-11-14 Ulrich Drepper <drepper@gmail.com>
17499 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
17501 2011-11-14 Andreas Schwab <schwab@redhat.com>
17503 * malloc/arena.c (arena_get2): Don't call reused_arena when
17504 _int_new_arena failed.
17506 2011-11-14 Ulrich Drepper <drepper@gmail.com>
17508 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
17509 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
17510 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
17511 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17512 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17513 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
17514 to compile strcasecmp and strncasecmp.
17515 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
17516 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
17518 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
17520 2011-11-13 Ulrich Drepper <drepper@gmail.com>
17522 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
17523 locale-defines.sym to gen-as-const-headers.
17524 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
17525 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
17526 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
17527 to compile strcasecmp and strncasecmp.
17528 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
17529 strcasecmp_l and strncasecmp_l.
17530 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
17531 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
17532 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
17533 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
17534 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
17535 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
17536 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
17537 * sysdeps/i386/i686/multiarch/strncase.S: New file.
17538 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
17539 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
17540 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
17542 2011-11-12 Ulrich Drepper <drepper@gmail.com>
17544 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
17545 result of SYSDEP_GETTIME_CPU to retval.
17546 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
17547 parameter list to macro. Remove trailing semicolon. Adjust users.
17549 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
17552 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
17554 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17556 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
17557 from unused variable.
17559 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
17561 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
17564 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
17567 * sunrpc/rpc_prot.c (rejected): Fix case value.
17569 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
17570 unsigned long long int to avoid warnings in shift.
17572 * posix/regex_internal.c (re_string_reconstruct): Actually use result
17574 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
17577 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
17578 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17579 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17581 * nis/nis_table.c (nis_list): Use variable of correct type for
17582 result of __follow_path call.
17584 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17586 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
17587 of math functions ceil, trunc, floor, round, and sqrt, when
17588 avaliable on the platform.
17589 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
17591 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17592 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17593 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17595 2011-10-30 Marek Polacek <mpolacek@redhat.com>
17597 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17598 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17600 2011-11-11 Roland McGrath <roland@hack.frob.com>
17602 * include/unistd.h: Fix __readlink return type.
17603 Reported by Chris Metcalf <cmetcalf@tilera.com>.
17605 2011-11-11 Ulrich Drepper <drepper@gmail.com>
17607 * stdlib/ucontext.h: Undo last change for makecontext.
17609 2011-11-11 Andreas Schwab <schwab@redhat.com>
17611 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
17613 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
17614 * setjmp/setjmp.h: Mark functions as non-leaf.
17615 * setjmp/bits/setjmp2.h: Likewise.
17616 * stdlib/ucontext.h: Likewise.
17618 2011-11-10 Andreas Schwab <schwab@redhat.com>
17620 * malloc/arena.c (_int_new_arena): Don't increment narenas.
17621 (reused_arena): Don't check arena limit.
17622 (arena_get2): Atomically check arena limit.
17624 2011-11-08 Ulrich Drepper <drepper@gmail.com>
17626 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
17627 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17629 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17632 2011-11-07 Andreas Schwab <schwab@redhat.com>
17634 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17635 handler when locking.
17637 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17638 Fix size of allocated buffer.
17640 2011-11-04 Andreas Schwab <schwab@redhat.com>
17643 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17644 declarations for long double functions.
17645 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
17647 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
17649 2011-11-03 Andreas Schwab <schwab@redhat.com>
17651 * nscd/nscd.c (main): Don't start AVC thread until credentials are
17654 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
17657 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17659 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
17661 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
17663 * include/alloca.h (stackinfo_alloca_round): Define.
17664 (extend_alloca): Use it.
17665 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
17666 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
17669 * scripts/check-local-headers.sh: Ignore libaudit.h.
17671 * nscd/Makefile (extra-objs): Make recursively expanded.
17673 2011-11-01 Ulrich Drepper <drepper@gmail.com>
17675 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
17676 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17678 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
17679 * posix/tst-rfc3484-2.c: Likewise.
17680 * posix/tst-rfc3484-3.c: Likewise.
17682 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17684 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
17686 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
17687 process_vm_writev from libc using GLIBC_2.15 version.
17689 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
17691 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
17693 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
17696 2011-10-31 Ulrich Drepper <drepper@gmail.com>
17699 * nss/getent.c (initgroups_keys): Show error message in case no group
17702 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
17703 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
17704 __bump_nl_timestamp.
17705 * nscd/connections (nscd_init): When host database is served open
17706 netlink socket and request notification about configuration changes.
17707 (main_loop_poll): Track netlink file descriptor and bump timestamp
17708 in case data becomes available.
17709 (main_loop_epoll): Likewise.
17710 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
17711 (database_pers_head): Add extra_data fileds.
17712 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
17713 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
17714 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
17716 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
17717 in6ai data, call __free_in6ai.
17718 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
17719 Add -DHAVE_NETLINK.
17720 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
17721 interface information. Reuse previous data if netlink timestamp
17723 (__bump_nl_timestamp): New function.
17724 (__free_in6ai): New function.
17726 2011-10-30 Ulrich Drepper <drepper@gmail.com>
17728 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
17729 close_not_cancel_no_status here.
17730 (__check_pf): Reorganize code a bit to not call close twice if OOM.
17732 2011-10-29 Ulrich Drepper <drepper@gmail.com>
17735 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
17738 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
17739 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
17740 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
17742 2011-07-03 Andreas Jaeger <aj@suse.de>
17745 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
17746 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17747 * math/libm-test.inc (sin_test): Add test case.
17749 2011-10-29 Ulrich Drepper <drepper@gmail.com>
17752 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17753 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17755 * elf/chroot_canon.c (chroot_canon): Cleanups.
17757 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17760 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17761 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17763 * string/test-strchr.c: Make usable for strchrnul testing.
17764 * string/test-strchrnul.c: New file.
17765 * string/Makefile (strop-tests): Add strchrnul.
17767 * po/it.po: Update from translation team.
17768 * po/es.po: Likewise.
17770 2011-10-28 Ulrich Drepper <drepper@gmail.com>
17772 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17773 the three constants needed as parameters. Drop the others.
17774 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17775 __m128i_strloadu_tolower.
17776 Create and initialize variable zero and use it in all the places
17777 where _mm_setzero_si128 was used.
17779 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17780 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17781 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17782 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17784 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17785 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17786 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17787 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17788 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17789 __mpranred, __mptan.
17790 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17791 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17792 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17793 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17794 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17795 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17796 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17797 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17798 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17800 2011-10-28 Andreas Schwab <schwab@redhat.com>
17802 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17803 redefine if SHARED.
17804 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17806 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17807 wide char related routines to wcsmbs subdir.
17809 2011-10-27 Andreas Schwab <schwab@redhat.com>
17812 * misc/sys/cdefs.h (__THROWNL): Define.
17813 * posix/unistd.h: Use __THREADNL instead of __THREAD
17814 for memory synchronization functions.
17816 2011-10-26 Roland McGrath <roland@hack.frob.com>
17819 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17821 * manual/stdio.texi (Obstack Streams): Node removed.
17823 2011-10-26 Andreas Schwab <schwab@redhat.com>
17825 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17826 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17827 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17829 * math/math_private.h (math_force_eval): Allow non-addressable
17831 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17833 2011-10-25 Ulrich Drepper <drepper@gmail.com>
17835 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17836 file is not needed.
17838 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17839 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17840 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17841 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17842 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17843 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17844 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17845 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17847 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17848 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17849 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17850 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17851 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17852 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17853 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17854 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17855 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17856 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17857 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17858 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17859 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17860 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17861 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17862 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17863 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17864 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17865 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17867 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17868 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
17870 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17871 place. Use VEX encoding when compiling for AVX.
17873 2011-10-25 Andreas Schwab <schwab@redhat.com>
17875 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17876 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17878 * string/test-strchr.c (do_test): Don't generate NUL bytes.
17880 2011-10-25 Ulrich Drepper <drepper@gmail.com>
17882 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
17883 useless if() expression.
17884 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17885 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17886 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17887 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17888 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17889 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17890 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17891 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17892 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17893 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17894 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17895 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17896 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17897 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17898 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17899 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17900 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17901 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17902 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17904 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17906 2011-10-25 Andreas Schwab <schwab@redhat.com>
17908 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17910 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17912 2011-10-25 Ulrich Drepper <drepper@gmail.com>
17914 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17915 .text section. Avoid duplicate constants.
17916 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17917 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17918 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17919 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17920 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17921 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17922 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17923 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17924 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17925 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17926 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17927 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17928 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17929 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17930 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17931 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17932 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17933 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17934 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17935 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17936 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17937 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17938 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17939 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
17940 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
17941 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
17942 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
17943 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
17944 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
17945 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17946 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
17947 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
17948 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17949 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
17950 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
17951 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17952 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17953 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
17954 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
17955 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
17956 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
17957 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
17958 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
17959 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
17960 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
17962 2011-10-24 Ulrich Drepper <drepper@gmail.com>
17964 * sysdeps/x86_64/dla.h: Move to ...
17965 * sysdeps/x86_64/fpu/dla.h: ...here.
17966 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
17967 situations. Use __builtin_fma only for gcc 4.6 and up.
17969 * config.make.in: Add have-mfma4 entry.
17970 * configure.in: Substitute libc_cv_cc_fma4.
17971 * math/Makefile (dbl-only-routines): Add sincostab.
17972 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
17973 Use __sincostab not sincos.
17974 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
17976 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17977 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17978 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17979 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
17981 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
17982 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
17983 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
17984 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
17986 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
17987 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
17989 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
17990 define aliases when function name is a macro.
17991 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
17992 sysdeps/ieee754/dbl-64/sincos.tbl.
17993 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
17994 fma4-enabled routines.
17995 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
17996 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
17997 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
17998 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
17999 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
18000 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
18001 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
18002 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
18003 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
18004 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
18005 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
18006 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
18007 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
18008 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
18009 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
18010 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
18011 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
18012 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
18013 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
18014 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
18015 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
18016 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
18017 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
18018 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
18019 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
18020 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
18021 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
18022 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
18023 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
18024 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
18026 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
18028 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18029 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18030 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18031 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18032 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18033 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18034 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18035 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18037 2011-10-24 Andreas Schwab <schwab@redhat.com>
18039 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
18041 2011-10-23 Ulrich Drepper <drepper@gmail.com>
18043 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
18045 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
18047 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
18049 * string/strnlen.c: Don't define STRNLEN, reverse logic.
18050 Remove unused variable magic_bits.
18051 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
18053 * string/strnlen.c: Define and use STRNLEN macro.
18054 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
18055 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
18056 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
18057 * wcsmbs/wcslen.c: Define and use WCSLEN.
18058 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
18059 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
18060 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
18061 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
18062 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
18063 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
18064 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18066 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18068 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18069 strnlen-sse2-no-bsf.
18070 Rename strlen-no-bsf to strlen-sse2-no-bsf.
18071 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
18072 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
18073 Add strnlen support.
18074 (USE_AS_STRNLEN): New macro.
18075 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
18076 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
18077 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
18078 * sysdeps/x86_64/wcslen.S: New file.
18080 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
18082 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18083 XMM-moves are used for copying on small sizes.
18085 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18087 * wcsmbs/Makefile (strop-tests): Add wcschr.
18088 * wcsmbs/test-wcschr.c: New file.
18089 * string/test-strchr.c: Update.
18090 Add wcschr support.
18093 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18095 * wcsmbs/Makefile (strop-tests): Add wcslen.
18096 * wcsmbs/test-wcslen.c: New file.
18097 * string/test-strlen.c: Update.
18098 Add wcslen support.
18101 2011-10-23 Ulrich Drepper <drepper@gmail.com>
18103 * po/it.po: Update from translation team.
18105 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18107 * sysdeps/x86_64/wcscmp.S: Update.
18108 Fix wrong comparison semantics.
18109 wcscmp shall use signed comparison not unsigned.
18110 Don't use substraction to avoid overflow bug.
18111 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
18112 * wcsmbc/wcscmp.c: Likewise.
18113 * string/test-strcmp.c: Likewise.
18114 Add new tests to check cases with negative values.
18116 2011-10-23 Ulrich Drepper <drepper@gmail.com>
18118 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
18119 * sysdeps/x86_64/dla.h: ...here. New file.
18120 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
18121 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18122 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18123 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18124 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18125 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18126 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18127 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18128 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18130 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
18132 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
18133 __ynl_finite aliases.
18135 2011-10-22 Ulrich Drepper <drepper@gmail.com>
18137 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18139 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
18141 [DLA_FMA] (EMULV): Use DLA_FMA.
18142 [DLA_FMA] (MUL12): Use EMULV.
18143 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
18144 that are not needed.
18145 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18146 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18147 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18148 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18149 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18150 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18151 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18153 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
18155 * math/s_nan.c: Undef __nan.
18156 * math/s_nanf.c: Undef __nanf.
18157 * math/s_nanl.c: Undef __nanl.
18158 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
18161 2011-10-22 Ulrich Drepper <drepper@gmail.com>
18163 * math/s_catan.c: Add branch predictions.
18164 * math/s_catanf.c: Likewise.
18165 * math/s_catanh.c: Likewise.
18166 * math/s_catanhf.c: Likewise.
18167 * math/s_catanhl.c: Likewise.
18168 * math/s_catanl.c: Likewise.
18169 * math/s_cexp.c: Likewise.
18170 * math/s_cexpf.c: Likewise.
18171 * math/s_cexpl.c: Likewise.
18172 * math/s_clog.c: Likewise.
18173 * math/s_clog10.c: Likewise.
18174 * math/s_clog10f.c: Likewise.
18175 * math/s_clog10l.c: Likewise.
18176 * math/s_clogf.c: Likewise.
18177 * math/s_clogl.c: Likewise.
18178 * math/s_csqrt.c: Likewise.
18179 * math/s_csqrtf.c: Likewise.
18180 * math/s_csqrtl.c: Likewise.
18181 * math/s_ctanf.c: Likewise.
18182 * math/s_ctanh.c: Likewise.
18183 * math/s_ctanhf.c: Likewise.
18184 * math/s_ctanhl.c: Likewise.
18185 * math/s_ctanl.c: Likewise.
18187 * math/math_private.h: Define __nan, __nanf, __nanl.
18188 * math/s_cacosh.c: Include <math_private.h>.
18189 * math/s_cacoshl.c: Likewise.
18190 * math/s_casinh.c: Likewise.
18191 * math/s_casinhf.c: Likewise.
18192 * math/s_casinhl.c: Likewise.
18193 * math/s_ccos.c: Rely entire on ccosh.
18194 * math/s_ccosf.c: Rely entire on ccoshf.
18195 * math/s_ccosl.c: Rely entirely on ccoshl.
18196 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
18197 Remove tests for FE_INVALID.
18198 * math/s_ccoshf.c: Likewise.
18199 * math/s_ccoshl.c: Likewise.
18200 * math/s_csin.c: Likewise.
18201 * math/s_csinf.c: Likewise.
18202 * math/s_csinh.c Likewise.
18203 * math/s_csinhf.c: Likewise.
18204 * math/s_csinhl.c: Likewise.
18205 * math/s_csinl.c: Likewise.
18206 * math/s_ctan.c: Likewise.
18207 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
18208 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
18209 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
18211 2011-10-21 Ulrich Drepper <drepper@gmail.com>
18213 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
18214 compilation problems.
18216 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
18219 2011-10-20 Ulrich Drepper <drepper@gmail.com>
18221 * sysdeps/i386/configure.in: Test for -mfma4 option.
18222 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
18223 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
18224 COMMON_CPUID_INDEX_80000001.
18225 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
18226 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
18227 use it if FMA3 is not supported.
18228 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
18230 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
18231 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18233 2011-10-20 Andreas Schwab <schwab@redhat.com>
18236 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
18237 it would create a cycle with a link time dependency.
18239 2011-10-19 Ulrich Drepper <drepper@gmail.com>
18241 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
18243 * string/Makefile (strop-tests): Add rawmemchr.
18244 * string/test-rawmemchr.c: New file.
18246 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
18247 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
18248 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
18249 when compiling str{,n}casecmp and when AVX is available. Hook up
18250 new optimized code in initializers.
18252 2011-10-19 Andreas Schwab <schwab@redhat.com>
18254 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
18255 __feraiseexcept instead of feraiseexcept.
18257 2011-10-18 Ulrich Drepper <drepper@gmail.com>
18259 * math/math_private.h: Define defaults for libc_fetestexcept and
18261 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
18262 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
18263 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18264 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18265 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18266 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18267 libc_fetestexcept and libc_feupdateenv.
18269 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
18270 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
18271 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
18272 * sysdeps/x86_64/fpu/math_private.h: Define special version of
18273 libc_feholdexcept_setround.
18275 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
18276 Add s_nearbyint-c and s_nearbyintf-c.
18277 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
18278 nearbyintf inlines.
18279 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
18280 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
18281 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
18282 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
18284 * math/math_private.h: Define defaults for libc_fegetround,
18285 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
18286 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
18287 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
18288 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
18289 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
18290 standard functions.
18291 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18292 Remove comments and hacks for old compiler versions.
18293 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18294 libc_fegetround, libc_fesetround, libc_feholdexcept, and
18295 libc_feholdexceptl.
18297 2011-10-18 Andreas Schwab <schwab@redhat.com>
18299 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
18300 (__feraiseexcept_renamed): Add __NTH.
18301 (feraiseexcept): Add __NTH. Rename local variables to fix
18302 namespace violations.
18304 2011-10-17 Ulrich Drepper <drepper@gmail.com>
18306 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
18308 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
18310 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
18311 recently added interfaces.
18312 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
18314 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
18315 about macro parameter expansion.
18317 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
18318 __NO_MATH_INLINES is defined. Cleanups.
18320 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
18321 and __floorf is target has SSE4.1.
18322 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
18323 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
18324 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
18325 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
18327 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
18329 (floorf): Likewise.
18331 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
18333 2011-10-17 Andreas Schwab <schwab@redhat.com>
18335 * misc/sys/cdefs.h: Fix last change.
18337 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
18340 2011-10-16 Ulrich Drepper <drepper@gmail.com>
18342 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
18344 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
18345 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18346 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18347 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18348 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18349 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18350 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18351 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18352 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18353 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
18354 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
18355 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
18356 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
18357 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
18358 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
18359 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
18360 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
18361 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
18362 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
18363 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
18364 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
18365 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
18367 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
18368 ceil, ceilf, floor, floorf.
18370 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
18371 Perform IRELATIVE relocations last.
18373 * elf/do-rel.h: Add another parameter nrelative, replacing the
18374 local variable with the same name. Change name of the function
18375 to end in Rel or Rela (uppercase).
18376 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
18377 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
18378 elf_dynamic_do_##reloc function.
18380 2011-10-15 Ulrich Drepper <drepper@gmail.com>
18382 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
18383 is sufficient, at least on modern CPUs.
18385 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
18387 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
18388 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
18390 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
18392 * math/bits/math-finite.h: Add entries for exp.
18393 * math/e_expl.c: Add __*_finite alias.
18394 * sysdeps/i386/fpu/e_exp.S: Likewise.
18395 * sysdeps/i386/fpu/e_expf.S: Likewise.
18396 * sysdeps/i386/fpu/e_expl.c: Likewise.
18397 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18398 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18399 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18400 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18401 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
18402 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18403 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18405 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
18406 is sufficient, at least on modern CPUs.
18408 * ctype/ctype-info.c (__ctype_init): Define.
18409 * include/ctype.h (__ctype_init): Declare.
18410 (__ctype_b_loc): The variable is always initialized.
18411 (__ctype_toupper_loc): Likewise.
18412 (__ctype_tolower_loc): Likewise.
18413 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
18414 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
18416 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
18418 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
18420 * configure.in: Also look in $cxxmachine/include for C++ system
18423 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18425 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
18426 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
18427 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
18428 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
18429 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
18430 (USE_AS_WMEMCMP): New macro.
18432 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
18433 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
18434 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
18435 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
18436 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18437 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
18438 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
18439 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
18440 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
18441 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
18442 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
18443 (USE_AS_WMEMCMP): New macro.
18444 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
18445 * sysdeps/string/test-memcmp.c: Update.
18446 Fix simple_wmemcmp.
18448 * wcsmbs/wmemcmp.c: Update.
18449 (WMEMCMP): New macro.
18452 2011-10-12 Andreas Jaeger <aj@suse.de>
18455 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
18457 2011-10-15 Ulrich Drepper <drepper@gmail.com>
18459 * libio/iofwide.c (do_length): Avoid warning.
18461 * ctype/ctype.h (__isctype_f): Add missing __THROW.
18463 2011-10-14 Ulrich Drepper <drepper@gmail.com>
18465 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
18467 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
18468 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
18469 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
18470 * sysdeps/i386/i686/fpu/e_log.S: New file.
18471 * sysdeps/i386/i686/fpu/e_logf.S: New file.
18472 * sysdeps/i386/i686/fpu/e_logl.S: New file.
18474 * ctype/ctype.h: Add support for inlined isXXX functions when
18475 compiling C++ code.
18477 2011-10-14 Andreas Schwab <schwab@redhat.com>
18479 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18481 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
18483 2011-10-13 Roland McGrath <roland@hack.frob.com>
18486 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
18488 2011-10-13 Andreas Schwab <schwab@redhat.com>
18490 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
18491 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
18494 * sysdeps/x86_64/memrchr.S: Check for zero size.
18496 * string/stratcliff.c: Add memrchr tests.
18498 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18500 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18501 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
18502 rawmemchr-sse2 rawmemchr-sse2-bsf.
18503 * sysdeps/i386/i686/multiarch/memchr.S: New file.
18504 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
18505 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
18506 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
18507 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
18508 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
18509 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
18510 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
18511 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
18512 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
18513 * string/memrchr.c (MEMRCHR): New macro.
18515 2011-10-12 Ulrich Drepper <drepper@gmail.com>
18517 Add integration with gcc's -ffinite-math-only and optimize wrapper
18519 * Versions.def: Define GLIBC_2.15 version for libm.
18520 * math/Makefile (headers): Add bits/math-finite.h.
18521 * math/bits/math-finite.h: New file.
18522 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
18523 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
18524 * math/e_acoshl.c: Add __*_finite alias.
18525 * math/e_acosl.c: Likewise.
18526 * math/e_asinl.c: Likewise.
18527 * math/e_atan2l.c: Likewise.
18528 * math/e_atanhl.c: Likewise.
18529 * math/e_coshl.c: Likewise.
18530 * math/e_exp10.c: Likewise.
18531 * math/e_exp10f.c: Likewise.
18532 * math/e_exp10l.c: Likewise.
18533 * math/e_exp2l.c: Likewise.
18534 * math/e_fmodl.c: Likewise.
18535 * math/e_gammal_r.c: Likewise.
18536 * math/e_hypotl.c: Likewise.
18537 * math/e_j0l.c: Likewise.
18538 * math/e_j1l.c: Likewise.
18539 * math/e_jnl.c: Likewise.
18540 * math/e_lgammal_r.c: Likewise.
18541 * math/e_log10l.c: Likewise.
18542 * math/e_log2l.c: Likewise.
18543 * math/e_logl.c: Likewise.
18544 * math/e_powl.c: Likewise.
18545 * math/e_sinhl.c: Likewise.
18546 * math/e_sqrtl.c: Likewise.
18547 * math/e_scalb.c: Completely rewritten and optimized.
18548 * math/e_scalbf.c: Likewise.
18549 * math/e_scalbl.c: Likewise.
18550 * math/w_acos.c: Likewise.
18551 * math/w_acosf.c: Likewise.
18552 * math/w_acosl.c: Likewise.
18553 * math/w_acosh.c: Likewise.
18554 * math/w_acoshf.c: Likewise.
18555 * math/w_acoshl.c: Likewise.
18556 * math/w_asin.c: Likewise.
18557 * math/w_asinf.c: Likewise.
18558 * math/w_asinl.c: Likewise.
18559 * math/w_atan2.c: Likewise.
18560 * math/w_atan2f.c: Likewise.
18561 * math/w_atan2l.c: Likewise.
18562 * math/w_atanh.c: Likewise.
18563 * math/w_atanhf.c: Likewise.
18564 * math/w_atanhl.c: Likewise.
18565 * math/w_exp10.c: Likewise.
18566 * math/w_exp10f.c: Likewise.
18567 * math/w_exp10l.c: Likewise.
18568 * math/w_fmod.c: Likewise.
18569 * math/w_fmodf.c: Likewise.
18570 * math/w_fmodl.c: Likewise.
18571 * math/w_j0.c: Likewise.
18572 * math/w_j0f.c: Likewise.
18573 * math/w_j0l.c: Likewise.
18574 * math/w_j1.c: Likewise.
18575 * math/w_j1f.c: Likewise.
18576 * math/w_j1l.c: Likewise.
18577 * math/w_jn.c: Likewise.
18578 * math/w_jnf.c: Likewise.
18579 * math/w_log.c: Likewise.
18580 * math/w_logf.c: Likewise.
18581 * math/w_logl.c: Likewise.
18582 * math/w_log10.c: Likewise.
18583 * math/w_log10f.c: Likewise.
18584 * math/w_log10l.c: Likewise.
18585 * math/w_log2.c: Likewise.
18586 * math/w_log2f.c: Likewise.
18587 * math/w_log2l.c: Likewise.
18588 * math/w_pow.c: Likewise.
18589 * math/w_powf.c: Likewise.
18590 * math/w_powl.c: Likewise.
18591 * math/w_remainder.c: Likewise.
18592 * math/w_remainderf.c: Likewise.
18593 * math/w_remainderl.c: Likewise.
18594 * math/w_scalb.c: Likewise.
18595 * math/w_scalbf.c: Likewise.
18596 * math/w_scalbl.c: Likewise.
18597 * math/w_sqrt.c: Likewise.
18598 * math/w_sqrtf.c: Likewise.
18599 * math/w_sqrtl.c: Likewise.
18600 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18601 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
18603 * math/math_private.h: Declare __kernel_standard_f.
18604 * math/w_cosh.c: Remove cruft and optimize a bit.
18605 * math/w_coshf.c: Likewise.
18606 * math/w_coshl.c: Likewise.
18607 * math/w_exp2.c: Likewise.
18608 * math/w_exp2f.c: Likewise.
18609 * math/w_exp2l.c: Likewise.
18610 * math/w_hypot.c: Likewise.
18611 * math/w_hypotf.c: Likewise.
18612 * math/w_hypotl.c: Likewise.
18613 * math/w_lgamma.c: Likewise.
18614 * math/w_lgamma_r.c: Likewise.
18615 * math/w_lgammaf.c: Likewise.
18616 * math/w_lgammaf_r.c: Likewise.
18617 * math/w_lgammal.c: Likewise.
18618 * math/w_lgammal_r.c: Likewise.
18619 * math/w_sinh.c: Likewise.
18620 * math/w_sinhf.c: Likewise.
18621 * math/w_sinhl.c: Likewise.
18622 * math/w_tgamma.c: Likewise.
18623 * math/w_tgammaf.c: Likewise.
18624 * math/w_tgammal.c: Likewise.
18625 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18626 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18627 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18628 Minor optimizations. Pretty printing. Remove cruft.
18629 * sysdeps/i386/fpu/e_acosf.S: Likewise.
18630 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18631 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18632 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18633 * sysdeps/i386/fpu/e_acosl.c: Likewise.
18634 * sysdeps/i386/fpu/e_asin.S: Likewise.
18635 * sysdeps/i386/fpu/e_asinf.S: Likewise.
18636 * sysdeps/i386/fpu/e_atan2.S: Likewise.
18637 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18638 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18639 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18640 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18641 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18642 * sysdeps/i386/fpu/e_exp10.S: Likewise.
18643 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18644 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18645 * sysdeps/i386/fpu/e_exp2.S: Likewise.
18646 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
18647 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
18648 * sysdeps/i386/fpu/e_fmod.S: Likewise.
18649 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
18650 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
18651 * sysdeps/i386/fpu/e_hypot.S: Likewise.
18652 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
18653 * sysdeps/i386/fpu/e_log.S: Likewise.
18654 * sysdeps/i386/fpu/e_log10.S: Likewise.
18655 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18656 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18657 * sysdeps/i386/fpu/e_log2.S: Likewise.
18658 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18659 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18660 * sysdeps/i386/fpu/e_logf.S: Likewise.
18661 * sysdeps/i386/fpu/e_logl.S: Likewise.
18662 * sysdeps/i386/fpu/e_pow.S: Likewise.
18663 * sysdeps/i386/fpu/e_powf.S: Likewise.
18664 * sysdeps/i386/fpu/e_powl.S: Likewise.
18665 * sysdeps/i386/fpu/e_remainder.S: Likewise.
18666 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
18667 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
18668 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18669 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18670 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18671 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
18672 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
18673 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
18674 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18675 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18676 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18677 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18678 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18679 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18680 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18681 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18682 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18683 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18684 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18685 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18686 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18687 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18688 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18689 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18690 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18691 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18692 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18693 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18694 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18695 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18696 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18697 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18698 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18699 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18700 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18701 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18702 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18703 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18704 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18705 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18706 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18707 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18708 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18709 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18710 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18711 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18712 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18713 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18714 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18715 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18716 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18717 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18718 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18719 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18720 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18721 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18722 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18723 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18724 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18725 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18726 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18727 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18728 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18729 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18730 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18731 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18732 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18733 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18734 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18735 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18736 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18737 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18738 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18739 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18740 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18741 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18742 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18743 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18744 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18745 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18746 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18747 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18748 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18749 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18750 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18751 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18752 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18753 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18754 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18755 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18756 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18757 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18758 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18759 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18760 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18761 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18762 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18763 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18764 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18765 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18766 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18767 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18768 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18769 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18770 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18771 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18772 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18773 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18774 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18775 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18776 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18777 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18778 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18779 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18780 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18781 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18782 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18783 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18784 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
18785 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18786 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18787 (__isnanf): Likewise.
18788 (__isinf_ns): Likewise.
18789 (__isinf_nsf): Likewise.
18790 (__finite): Likewise.
18791 (__finitef): Likewise.
18792 (__ieee754_sqrt): Define as macro.
18793 (__ieee754_sqrtf): Define as macro.
18794 (__ieee754_sqrtl): Define as macro.
18795 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18797 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18798 __FINITE_MATH_ONLY__ consistent.
18799 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18801 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
18803 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18806 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18808 2011-10-09 Ulrich Drepper <drepper@gmail.com>
18810 * po/ja.po: Update from translation team.
18812 2011-10-08 Roland McGrath <roland@hack.frob.com>
18814 * locale/programs/locarchive.c (prepare_address_space): New function.
18815 (create_archive, enlarge_archive, open_archive): Use it.
18817 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18818 inside [SHARED], where it is used.
18820 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18822 * nss/getent.c (netgroup_keys): Remove unused variable.
18823 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18825 2011-10-08 Ulrich Drepper <drepper@gmail.com>
18827 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18828 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18829 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18830 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18831 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18832 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18833 * math/Makefile (libm-calls): Add s_isinf_ns.
18834 * math/divtc3.c: Use __isinf_nsl instead of isinf.
18835 * math/multc3.c: Likewise.
18836 * math/s_casin.c: Likewise.
18837 * math/s_casinf.c: Likewise.
18838 * math/s_casinl.c: Likewise.
18839 * math/s_ccos.c: Likewise.
18840 * math/s_ccosf.c: Likewise.
18841 * math/s_ccosl.c: Likewise.
18842 * math/s_ctan.c: Likewise.
18843 * math/s_ctanf.c: Likewise.
18844 * math/s_ctanh.c: Likewise.
18845 * math/s_ctanhf.c: Likewise.
18846 * math/s_ctanhl.c: Likewise.
18847 * math/s_ctanl.c: Likewise.
18848 * math/w_fmod.c: Likewise.
18849 * math/w_fmodf.c: Likewise.
18850 * math/w_fmodl.c: Likewise.
18851 * math/w_remainder.c: Likewise.
18852 * math/w_remainderf.c: Likewise.
18853 * math/w_remainderl.c: Likewise.
18854 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18855 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18856 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18857 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18858 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18859 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18860 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18861 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18863 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18865 * stdio-common/printf_fphex.c: Likewise.
18866 * stdio-common/printf_size.c: Likewise.
18868 * math/e_exp10.c: Include math_private.h using <...> not "...".
18869 * math/e_exp10f.c: Likewise.
18870 * math/e_exp10l.c: Likewise.
18871 * math/e_exp2l.c: Likewise.
18872 * math/e_j0l.c: Likewise.
18873 * math/e_j1l.c: Likewise.
18874 * math/e_jnl.c: Likewise.
18875 * math/e_lgammal_r.c: Likewise.
18876 * math/e_rem_pio2l.c: Likewise.
18877 * math/e_scalb.c: Likewise.
18878 * math/e_scalbf.c: Likewise.
18879 * math/e_scalbl.c: Likewise.
18880 * math/k_cosl.c: Likewise.
18881 * math/k_sinl.c: Likewise.
18882 * math/k_tanl.c: Likewise.
18883 * math/s_cacoshf.c: Likewise.
18884 * math/s_catan.c: Likewise.
18885 * math/s_catanf.c: Likewise.
18886 * math/s_catanh.c: Likewise.
18887 * math/s_catanhf.c: Likewise.
18888 * math/s_catanhl.c: Likewise.
18889 * math/s_catanl.c: Likewise.
18890 * math/s_ccosh.c: Likewise.
18891 * math/s_ccoshf.c: Likewise.
18892 * math/s_ccoshl.c: Likewise.
18893 * math/s_cexp.c: Likewise.
18894 * math/s_cexpf.c: Likewise.
18895 * math/s_cexpl.c: Likewise.
18896 * math/s_clog.c: Likewise.
18897 * math/s_clog10.c: Likewise.
18898 * math/s_clog10f.c: Likewise.
18899 * math/s_clog10l.c: Likewise.
18900 * math/s_clogf.c: Likewise.
18901 * math/s_clogl.c: Likewise.
18902 * math/s_csin.c: Likewise.
18903 * math/s_csinf.c: Likewise.
18904 * math/s_csinh.c: Likewise.
18905 * math/s_csinhf.c: Likewise.
18906 * math/s_csinhl.c: Likewise.
18907 * math/s_csinl.c: Likewise.
18908 * math/s_csqrt.c: Likewise.
18909 * math/s_csqrtf.c: Likewise.
18910 * math/s_csqrtl.c: Likewise.
18911 * math/s_ctan.c: Likewise.
18912 * math/s_ctanf.c: Likewise.
18913 * math/s_ctanh.c: Likewise.
18914 * math/s_ctanhf.c: Likewise.
18915 * math/s_ctanhl.c: Likewise.
18916 * math/s_ctanl.c: Likewise.
18917 * math/s_ldexp.c: Likewise.
18918 * math/s_ldexpf.c: Likewise.
18919 * math/s_ldexpl.c: Likewise.
18920 * math/s_significand.c: Likewise.
18921 * math/s_significandf.c: Likewise.
18922 * math/s_significandl.c: Likewise.
18923 * math/w_acos.c: Likewise.
18924 * math/w_acosf.c: Likewise.
18925 * math/w_acosh.c: Likewise.
18926 * math/w_acoshf.c: Likewise.
18927 * math/w_acoshl.c: Likewise.
18928 * math/w_acosl.c: Likewise.
18929 * math/w_asin.c: Likewise.
18930 * math/w_asinf.c: Likewise.
18931 * math/w_asinl.c: Likewise.
18932 * math/w_atan2.c: Likewise.
18933 * math/w_atan2f.c: Likewise.
18934 * math/w_atan2l.c: Likewise.
18935 * math/w_atanh.c: Likewise.
18936 * math/w_atanhf.c: Likewise.
18937 * math/w_atanhl.c: Likewise.
18938 * math/w_cosh.c: Likewise.
18939 * math/w_coshf.c: Likewise.
18940 * math/w_coshl.c: Likewise.
18941 * math/w_dremf.c: Likewise.
18942 * math/w_exp10.c: Likewise.
18943 * math/w_exp10f.c: Likewise.
18944 * math/w_exp10l.c: Likewise.
18945 * math/w_exp2.c: Likewise.
18946 * math/w_exp2f.c: Likewise.
18947 * math/w_fmod.c: Likewise.
18948 * math/w_fmodf.c: Likewise.
18949 * math/w_fmodl.c: Likewise.
18950 * math/w_hypot.c: Likewise.
18951 * math/w_hypotf.c: Likewise.
18952 * math/w_hypotl.c: Likewise.
18953 * math/w_j0.c: Likewise.
18954 * math/w_j0f.c: Likewise.
18955 * math/w_j0l.c: Likewise.
18956 * math/w_j1.c: Likewise.
18957 * math/w_j1f.c: Likewise.
18958 * math/w_j1l.c: Likewise.
18959 * math/w_jn.c: Likewise.
18960 * math/w_jnf.c: Likewise.
18961 * math/w_jnl.c: Likewise.
18962 * math/w_lgamma.c: Likewise.
18963 * math/w_lgamma_r.c: Likewise.
18964 * math/w_lgammaf.c: Likewise.
18965 * math/w_lgammaf_r.c: Likewise.
18966 * math/w_lgammal.c: Likewise.
18967 * math/w_lgammal_r.c: Likewise.
18968 * math/w_log.c: Likewise.
18969 * math/w_log10.c: Likewise.
18970 * math/w_log10f.c: Likewise.
18971 * math/w_log10l.c: Likewise.
18972 * math/w_log2.c: Likewise.
18973 * math/w_log2f.c: Likewise.
18974 * math/w_log2l.c: Likewise.
18975 * math/w_logf.c: Likewise.
18976 * math/w_logl.c: Likewise.
18977 * math/w_pow.c: Likewise.
18978 * math/w_powf.c: Likewise.
18979 * math/w_powl.c: Likewise.
18980 * math/w_remainder.c: Likewise.
18981 * math/w_remainderf.c: Likewise.
18982 * math/w_remainderl.c: Likewise.
18983 * math/w_scalb.c: Likewise.
18984 * math/w_scalbf.c: Likewise.
18985 * math/w_scalbl.c: Likewise.
18986 * math/w_sinh.c: Likewise.
18987 * math/w_sinhf.c: Likewise.
18988 * math/w_sinhl.c: Likewise.
18989 * math/w_sqrt.c: Likewise.
18990 * math/w_sqrtf.c: Likewise.
18991 * math/w_sqrtl.c: Likewise.
18992 * math/w_tgamma.c: Likewise.
18993 * math/w_tgammaf.c: Likewise.
18994 * math/w_tgammal.c: Likewise.
18996 * po/ja.po: Update from translation team.
18998 2011-09-29 Andreas Jaeger <aj@suse.de>
19001 * sunrpc/netname.c (netname2host): Fix logic.
19005 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
19007 * math/w_remainder.c (__remainder): Likewise.
19008 * math/w_remainderf.c (__remainderf): Likewise.
19009 * math/libm-test.inc (remainder_test): Add test cases.
19011 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19013 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
19016 2011-10-07 Ulrich Drepper <drepper@gmail.com>
19018 * string/test-memcmp.c: Avoid unncessary #defines.
19019 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19021 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19023 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
19024 Use new sse2 version for core i3 - i7 as it's faster
19025 than sse42 version.
19026 (bit_Prefer_PMINUB_for_stringop): New.
19027 * sysdeps/x86_64/rawmemchr.S: Update.
19028 Replace with faster SSE2 version.
19029 * sysdeps/x86_64/memrchr.S: New file.
19030 * sysdeps/x86_64/memchr.S: Update.
19031 Replace with faster SSE2 version.
19033 2011-09-12 Marek Polacek <mpolacek@redhat.com>
19035 * elf/dl-load.c (lose): Add cast to avoid warning.
19037 2011-10-07 Ulrich Drepper <drepper@gmail.com>
19039 * po/ca.po: Update from translation team.
19041 * inet/getnetgrent_r.c: Hook up nscd.
19042 * nscd/Makefile (routines): Add nscd_netgroup.
19043 (nscd-modules): Add netgroupcache.
19044 (CFLAGS-netgroupcache.c): Define.
19045 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
19046 (cache_search): Add const to second parameter.
19047 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
19049 (dbs): Add netgrdb entry.
19050 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
19051 (verify_persistent_db): Handle netgrdb.
19052 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
19053 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
19055 (netgroup_response_header): Define.
19056 (innetgroup_response_header): Define.
19057 (datahead): Add netgroup_response_header and innetgroup_response_header
19059 * nscd/nscd.conf: Add entries for netgroup cache.
19060 * nscd/nscd.h (dbtype): Add netgrdb.
19061 (_PATH_NSCD_NETGROUP_DB): Define.
19062 (netgroup_iov_disabled): Declare.
19063 (xmalloc, xcalloc, xrealloc): Move declarations here.
19064 (cache_search): Adjust prototype.
19065 Add netgroup-related prototypes.
19066 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
19067 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
19068 (__nscd_innetgr): Declare.
19069 * nscd/selinux.c (perms): Use access_vector_t as element type and
19070 add netgroup-related initializers.
19071 * nscd/netgroupcache.c: New file.
19072 * nscd/nscd_netgroup.c: New file.
19073 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
19074 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
19075 For four parameters use innetgr.
19076 * nss/nss_files/files-init.c: Add definition and callback for netgr.
19077 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
19078 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
19079 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
19081 * nscd/connections.c (register_traced_file): Don't register file
19082 for disabled databases.
19084 2011-10-06 Ulrich Drepper <drepper@gmail.com>
19086 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
19088 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
19089 from tree and freeing node.
19091 2011-09-25 Jiri Olsa <jolsa@redhat.com>
19093 * nss/nsswitch.c (__nss_database_lookup): Handle
19094 nss_parse_service_list out of memory case.
19096 2011-09-15 Jiri Olsa <jolsa@redhat.com>
19098 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
19099 out of memory case.
19101 2011-10-04 Andreas Schwab <schwab@redhat.com>
19103 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
19104 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
19106 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
19107 elf_machine_rela, elf_machine_lazy_rel.
19108 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
19109 (ELF_DYNAMIC_DO_REL): Likewise.
19110 (ELF_DYNAMIC_DO_RELA): Likewise.
19111 (ELF_DYNAMIC_RELOCATE): Likewise.
19112 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
19113 to ELF_DYNAMIC_DO_REL.
19114 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
19115 (dl_main): In trace mode always set __RTLD_NOIFUNC.
19116 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
19118 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
19119 skip_ifunc, don't call ifunc function if non-zero.
19120 (elf_machine_rela): Likewise.
19121 (elf_machine_lazy_rel): Likewise.
19122 (elf_machine_lazy_rela): Likewise.
19123 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
19124 (elf_machine_lazy_rel): Likewise.
19125 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
19127 (elf_machine_lazy_rel): Likewise.
19128 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19130 (elf_machine_lazy_rel): Likewise.
19131 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
19132 (elf_machine_lazy_rel): Likewise.
19133 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
19134 (elf_machine_lazy_rel): Likewise.
19135 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19136 (elf_machine_lazy_rel): Likewise.
19137 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
19138 (elf_machine_lazy_rel): Likewise.
19139 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
19140 (elf_machine_lazy_rel): Likewise.
19141 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19142 (elf_machine_lazy_rel): Likewise.
19144 2011-09-28 Ulrich Drepper <drepper@gmail.com>
19146 * nss/nss_files/files-init.c (_nss_files_init): Use static
19147 initialization for all the *_traced_file variables.
19149 2011-09-28 Andreas Schwab <schwab@redhat.com>
19151 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19153 2011-09-27 Roland McGrath <roland@hack.frob.com>
19156 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
19158 2011-09-27 Andreas Schwab <schwab@redhat.com>
19160 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19161 Reread the line before reparsing it.
19163 2011-09-26 Andreas Schwab <schwab@redhat.com>
19165 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
19167 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
19168 Maxim Kuvyrkov <maxim@codesourcery.com>
19169 Joseph Myers <joseph@codesourcery.com>
19171 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
19172 if needed for __stack_chk_guard.
19174 2011-09-19 Roland McGrath <roland@hack.frob.com>
19176 * sysdeps/posix/spawni.c (script_execute): Always define it.
19177 It will be optimized away if unused.
19178 (maybe_script_execute): New function.
19179 (__spawni): Call it.
19181 * Makerules: Don't include tls.make.
19182 (config-tls): Always set to thread.
19183 * tls.make.c: File removed.
19185 2011-09-19 Mike Frysinger <vapier@gentoo.org>
19187 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
19188 * config.make.in (CPPFLAGS-config): New substituted variable.
19190 2011-09-15 Ulrich Drepper <drepper@gmail.com>
19192 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
19195 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
19196 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
19198 2011-09-15 Roland McGrath <roland@hack.frob.com>
19200 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
19201 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
19202 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19203 (CALL_FAIL): Likewise.
19204 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
19205 (CALL_FAIL): Macro removed.
19206 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
19208 2011-09-15 Ulrich Drepper <drepper@gmail.com>
19210 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
19211 for __FINITE_MATH_ONLY__ == 1.
19213 2011-09-15 Andreas Schwab <schwab@redhat.com>
19215 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
19216 __ieee754_sqrt instead of sqrt.
19217 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
19218 __ieee754_sqrtf instead of sqrtf.
19219 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
19220 __floorf instead of floorf.
19221 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
19222 __floorf, __truncf instead of floorf, truncf.
19224 2011-09-14 Ulrich Drepper <drepper@gmail.com>
19226 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
19228 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
19229 __extern_always_inline.
19230 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
19233 2011-09-14 Andreas Schwab <schwab@redhat.com>
19235 * elf/rtld.c (dl_main): Also relocate in dependency order when
19236 doing symbol dependency testing.
19238 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
19240 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19241 Always define `refsym'.
19243 2011-09-13 Andreas Schwab <schwab@redhat.com>
19245 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
19246 (__FD_ELT): Renamed from __FDELT.
19247 * misc/bits/select2.h (__FD_ELT): Likewise.
19248 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
19249 __FD_MASK instead of __FDELT, __FDMASK.
19250 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19252 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19255 * elf/Makefile (gen-ldd): Fix pattern.
19257 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
19258 (init_tls): Likewise.
19260 2011-09-12 Ulrich Drepper <drepper@gmail.com>
19262 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
19264 2011-09-12 Andreas Schwab <schwab@redhat.com>
19266 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
19267 `struct cmsghdr *' instead of `void *'.
19268 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
19271 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19273 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
19275 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
19276 ldd_rewrite_script.
19278 2011-09-11 Ulrich Drepper <drepper@gmail.com>
19280 * configure.in: Remove --with-tls option.
19281 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
19282 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
19283 out in case it is missing.
19284 * sysdeps/ia64/elf/configure.in: Likewise.
19285 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
19286 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
19287 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
19288 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
19289 * sysdeps/sh/elf/configure.in: Likewise.
19290 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
19291 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19292 * sysdeps/x86_64/elf/configure.in: Likewise.
19293 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
19294 * sysdeps/mach/hurd/tls.h: Likewise.
19297 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
19300 * configure.in: Fix use of AC_INIT.
19302 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
19304 2011-09-10 Ulrich Drepper <drepper@gmail.com>
19306 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
19308 * malloc/hooks.c: Likewise.
19311 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
19312 variables statically.
19313 (narenas): Initialize.
19314 (list_lock): Initialize.
19315 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
19316 initializtion of main_arena and list_lock. Small cleanups.
19317 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
19318 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
19319 Add initializers to main_arena and mp_.
19320 (malloc_state): Remove pagesize member. Change all users to use
19323 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
19324 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
19325 is always initialized.
19327 * malloc/malloc.c: Removed unused configurations and dead code.
19328 * malloc/arena.c: Likewise.
19329 * malloc/hooks.c: Likewise.
19330 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
19332 * include/tls.h: Removed. USE___THREAD must always be defined.
19333 * bits/libc-tsd.h: Don't handle !USE___THREAD.
19334 * elf/dl-libc.c: Likewise.
19335 * elf/dl-tsd.c: Likewise.
19336 * include/errno.h: Likewise.
19337 * include/netdb.h: Likewise.
19338 * include/resolv.h: Likewise.
19339 * inet/herrno-loc.c: Likewise.
19340 * inet/herrno.c: Likewise.
19341 * malloc/arena.c: Likewise.
19342 * malloc/hooks.c: Likewise.
19343 * malloc/malloc.c: Likewise.
19344 * resolv/res-state.c: Likewise.
19345 * resolv/res_libc.c: Likewise.
19346 * sysdeps/i386/dl-machine.h: Likewise.
19347 * sysdeps/ia64/dl-machine.h: Likewise.
19348 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
19349 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19350 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
19351 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19352 * sysdeps/sh/dl-machine.h: Likewise.
19353 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19354 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19355 * sysdeps/unix/i386/sysdep.S: Likewise.
19356 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19357 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19358 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
19359 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19360 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
19361 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19362 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19363 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19364 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19365 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19366 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19367 * sysdeps/x86_64/dl-machine.h: Likewise.
19368 * tls.make.c: Likewise.
19370 * configure.in: Remove --with-__thread option. Make tests for
19371 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
19372 tls_model attribute fail if no support is available. Remove
19374 * Makeconfig: Adjust for dropped configure option. All features are
19376 * Makerules: Likewise.
19377 * Versions.def: Likewise.
19378 * argp/argp-fmtstream.c: Likewise.
19379 * argp/argp-fmtstream.h: Likewise.
19380 * argp/argp-help.c: Likewise.
19381 * assert/assert.c: Likewise.
19382 * config.h.in: Likewise.
19383 * config.make.in: Likewise.
19384 * configure: Likewise.
19385 * configure.in: Likewise.
19386 * csu/Versions: Likewise.
19387 * csu/init.c: Likewise.
19388 * elf/tst-audit2.c: Likewise.
19389 * elf/tst-tls10.c: Likewise.
19390 * elf/tst-tls10.h: Likewise.
19391 * elf/tst-tls11.c: Likewise.
19392 * elf/tst-tls12.c: Likewise.
19393 * elf/tst-tls14.c: Likewise.
19394 * elf/tst-tlsmod11.c: Likewise.
19395 * elf/tst-tlsmod12.c: Likewise.
19396 * elf/tst-tlsmod13.c: Likewise.
19397 * elf/tst-tlsmod13a.c: Likewise.
19398 * elf/tst-tlsmod14a.c: Likewise.
19399 * elf/tst-tlsmod15b.c: Likewise.
19400 * elf/tst-tlsmod16a.c: Likewise.
19401 * elf/tst-tlsmod16b.c: Likewise.
19402 * elf/tst-tlsmod7.c: Likewise.
19403 * elf/tst-tlsmod8.c: Likewise.
19404 * elf/tst-tlsmod9.c: Likewise.
19405 * gmon/gmon.c: Likewise.
19406 * grp/fgetgrent_r.c: Likewise.
19407 * grp/putgrent.c: Likewise.
19408 * hurd/fopenport.c: Likewise.
19409 * include/libc-symbols.h: Likewise.
19410 * include/tls.h: Likewise.
19411 * intl/gettextP.h: Likewise.
19412 * intl/loadinfo.h: Likewise.
19413 * locale/global-locale.c: Likewise.
19414 * locale/localeinfo.h: Likewise.
19415 * mach/devstream.c: Likewise.
19416 * malloc/arena.c: Likewise.
19417 * malloc/set-freeres.c: Likewise.
19418 * misc/err.c: Likewise.
19419 * misc/getttyent.c: Likewise.
19420 * misc/mntent_r.c: Likewise.
19421 * posix/getopt.c: Likewise.
19422 * posix/wordexp.c: Likewise.
19423 * pwd/fgetpwent_r.c: Likewise.
19424 * resolv/Versions: Likewise.
19425 * resolv/res_hconf.c: Likewise.
19426 * shadow/fgetspent_r.c: Likewise.
19427 * shadow/putspent.c: Likewise.
19428 * stdio-common/printf_fphex.c: Likewise.
19429 * stdio-common/tmpfile.c: Likewise.
19430 * stdlib/abort.c: Likewise.
19431 * stdlib/fmtmsg.c: Likewise.
19432 * sunrpc/auth_unix.c: Likewise.
19433 * sunrpc/clnt_perr.c: Likewise.
19434 * sunrpc/clnt_tcp.c: Likewise.
19435 * sunrpc/clnt_udp.c: Likewise.
19436 * sunrpc/clnt_unix.c: Likewise.
19437 * sunrpc/openchild.c: Likewise.
19438 * sunrpc/svc_simple.c: Likewise.
19439 * sunrpc/svc_tcp.c: Likewise.
19440 * sunrpc/svc_udp.c: Likewise.
19441 * sunrpc/svc_unix.c: Likewise.
19442 * sunrpc/xdr.c: Likewise.
19443 * sunrpc/xdr_array.c: Likewise.
19444 * sunrpc/xdr_rec.c: Likewise.
19445 * sunrpc/xdr_ref.c: Likewise.
19446 * sunrpc/xdr_stdio.c: Likewise.
19448 2011-09-09 Ulrich Drepper <drepper@gmail.com>
19450 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19452 2011-07-03 Andreas Jaeger <aj@suse.de>
19454 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
19455 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
19456 regenerate with gen-libm-tests.pl.
19458 2010-05-12 Petr Baudis <pasky@suse.cz>
19461 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
19462 around j0() zero points by switching to j1().
19463 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19464 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19465 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19466 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19468 2011-09-09 Ulrich Drepper <drepper@gmail.com>
19470 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
19472 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
19474 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19475 Patch in part by Pavel Roskin <proski@gnu.org>.
19478 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
19480 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
19481 Free memory block if necessary.
19484 * libio/genops.c (INTDEF): For string streams the _lock pointer can
19485 be NULL. Don't lock in this case.
19487 2011-09-09 Roland McGrath <roland@hack.frob.com>
19489 * elf/elf.h (ELFOSABI_GNU): New macro.
19490 (ELFOSABI_LINUX): Define to that.
19492 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
19494 * string/strncat.c (strncat): Undef the symbol in case it has been
19495 defined in bits/string.h.
19497 2011-09-09 Ulrich Drepper <drepper@gmail.com>
19499 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
19501 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
19504 2011-08-17 Andreas Jaeger <aj@suse.de>
19506 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
19508 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
19509 Ian Lance Taylor <iant@google.com>
19511 * math/libm-test.inc (lround_test): New testcase.
19512 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
19514 2011-09-08 Ulrich Drepper <drepper@gmail.com>
19516 * Makefile: Remove support for automatic cvs check-ins.
19517 * Makerules: Likewise.
19518 * config.make.in: Likewise.
19519 * configure.in: Likewise.
19520 * intl/Makefile: Likewise.
19521 * locale/Makefile: Likewise.
19522 * po/Makefile: Likewise.
19523 * posix/Makefile: Likewise.
19524 * sysdeps/gnu/Makefile: Likewise.
19525 * sysdeps/mach/hurd/Makefile: Likewise.
19526 * sysdeps/sparc/sparc32/Makefile: Likewise.
19529 * posix/Makefile (bug-regex32-ENV): Define.
19530 Patch by John Stanley <jpsinthemix@verizon.net>.
19532 * misc/Makefile (headers): Add bits/select2.h.
19533 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
19534 * misc/bits/select2.h: New file.
19535 * include/bits/select2.h: New file.
19536 * debug/Makefile (routines): Add fdelt_chk.
19537 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
19538 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
19540 * debug/fdelt_chk.c: New file.
19542 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
19543 * wcsmbs/test-wmemcmp.c: Likewise.
19544 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
19545 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
19547 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19549 * string/Makefile (strop-tests): Add memcmp.
19550 * string/test-wmemcmp.c: New file.
19551 * string/test-memcmp.c: Add wmemcmp support.
19553 2011-09-08 Roland McGrath <roland@hack.frob.com>
19556 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
19559 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
19560 garbage value in a __mach_port_mod_refs call in the cases of the
19561 task-self and thread-self ports.
19563 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19565 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
19567 2011-09-08 Andreas Schwab <schwab@redhat.com>
19569 * elf/dl-load.c (lose): Check for non-null L.
19571 2011-09-07 Ulrich Drepper <drepper@gmail.com>
19573 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
19575 * elf/dl-libc.c (dlerror_run): Pass back error code from
19579 * elf/dl-load.c (lose): Free l_origin if it is valid.
19581 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
19583 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19584 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19585 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19586 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19587 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19588 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
19590 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19592 * sysdeps/powerpc/fpu/e_hypot.c: New file.
19593 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
19594 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
19595 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19596 * sysdeps/powerpc/fpu/k_cosf.c: New file.
19597 * sysdeps/powerpc/fpu/k_sinf.c: New file.
19598 * sysdeps/powerpc/fpu/s_cosf.c: New file.
19599 * sysdeps/powerpc/fpu/s_sinf.c: New file.
19600 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19601 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19603 2011-08-15 Alan Modra <amodra@gmail.com>
19606 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
19607 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
19608 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
19609 ppc_mcount to static-only-routines.
19610 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
19612 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
19613 __mcount_internal with usual JUMPTARGET. Remove useless nop.
19615 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
19617 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
19618 for finite and infinity parameters.
19620 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19622 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
19623 and add nop instructions for throughput optimization.
19624 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19626 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
19628 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19629 aligned copy for power7 with vector-scalar instructions.
19630 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19632 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
19634 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19637 2011-09-07 Andreas Schwab <schwab@redhat.com>
19640 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19643 2011-09-07 Ulrich Drepper <drepper@gmail.com>
19645 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19646 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
19647 syscall wrapper around clock_gettime in __vdso_clock_gettime.
19648 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
19651 2011-09-06 Ulrich Drepper <drepper@gmail.com>
19653 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
19654 Forgot to demangle the pointer.
19656 * sysdeps/i386/sysdep.h: Define atom_text_section.
19657 * sysdeps/x86_64/sysdep.h: Likewise.
19658 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
19659 section with atom_text_section.
19660 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19661 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19662 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19663 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19664 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
19666 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
19667 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
19668 already be defined. Change to take two parameters and don't assign
19669 result to variable. Adjust all users.
19670 Define INTERNAL_GETTIME if not already defined.
19671 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
19673 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
19674 HAVE_CLOCK_GETTIME_VSYSCALL.
19675 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
19677 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
19678 gettimeofday vsyscall, just use time.
19680 2011-09-06 Andreas Schwab <schwab@redhat.com>
19682 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
19685 2011-09-06 Ulrich Drepper <drepper@gmail.com>
19687 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
19689 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
19691 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19692 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
19693 syscall if possible.
19695 2011-09-05 Ulrich Drepper <drepper@gmail.com>
19697 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
19698 e_ident. Don't pass to find_mapsXX.
19699 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
19701 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19703 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19704 strchr-sse2-no-bsf strrchr-sse2-no-bsf
19705 * sysdeps/x86_64/multiarch/strchr.S: Update.
19706 Check bit_slow_BSF bit.
19707 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19708 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
19709 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
19711 2011-09-05 Ulrich Drepper <drepper@gmail.com>
19714 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
19716 (tryshell): Define.
19717 (__spawni): Change last parameter to be flag. Test
19718 SPAWN_XFLAGS_USE_PATH flag to use path or not.
19719 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
19720 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
19721 * posix/spawni.c: Likewise.
19722 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
19723 * posix/spawnp.c: Likewise. Change normal version to use
19724 SPAWN_XFLAGS_USE_PATH.
19725 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
19726 SPAWN_XFLAGS_TRY_SHELL.
19729 * posix/glob.h: Remove gcc 1.x support.
19732 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
19734 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19736 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19737 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
19739 * sysdeps/i386/i686/multiarch/strchr.S: New file.
19740 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
19741 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
19742 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
19743 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
19744 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
19746 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19748 * sysdeps/x86_64/wcscmp.S: New file.
19750 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19751 wcscmp-c wcscmp-sse2
19752 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19753 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19754 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19755 * wcsmbs/wcscmp.c: Allow renaming.
19757 2011-09-05 David S. Miller <davem@davemloft.net>
19759 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19760 stack slot, rather than the struct return pointer slot.
19761 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19762 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19764 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19766 2011-09-05 Ulrich Drepper <drepper@gmail.com>
19768 * po/ja.po: Update from translation team.
19771 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19772 kernel in 64-bit binaries.
19774 2011-09-01 David S. Miller <davem@davemloft.net>
19776 * elf/elf.h (HWCAP_SPARC_*): Move to..
19777 * sysdeps/sparc/sysdep.h: this new file and add new values.
19778 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19779 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19780 _DL_HWCAP_COUNT to 24.
19781 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19783 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19784 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19785 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19786 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19787 instead of magic constants.
19788 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19790 2011-08-31 David S. Miller <davem@davemloft.net>
19792 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19793 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19794 Reimplement to do errno handling inline.
19795 (SYSCALL_ERROR_HANDLER): New macro.
19796 (__SYSCALL_STRING): Do not do errno handling in asm.
19797 (__CLONE_SYSCALL_STRING): Delete.
19798 (__INTERNAL_SYSCALL_STRING): Delete.
19799 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19800 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19801 (PSEUDO): Reimplement to do errno handling inline.
19802 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19803 (SYSCALL_ERROR_HANDLER): New macro.
19804 (__SYSCALL_STRING): Do not do errno handling in asm.
19805 (__CLONE_SYSCALL_STRING): Delete.
19806 (__INTERNAL_SYSCALL_STRING): Delete.
19807 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19808 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19810 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19811 (inline_syscall*): Add 'err' argument.
19812 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19813 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19814 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19815 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19817 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19818 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19820 2011-08-30 Andreas Schwab <schwab@redhat.com>
19822 * elf/rtld.c (dl_main): Relocate objects in dependency order.
19824 2011-08-29 Jiri Olsa <jolsa@redhat.com>
19826 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19829 2011-08-24 David S. Miller <davem@davemloft.net>
19831 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19833 2011-08-24 Andreas Schwab <schwab@redhat.com>
19835 * elf/Makefile: Add rules to build and run unload8 test.
19836 * elf/unload8.c: New file.
19837 * elf/unload8mod1.c: New file.
19838 * elf/unload8mod1x.c: New file.
19839 * elf/unload8mod2.c: New file.
19840 * elf/unload8mod3.c: New file.
19842 * elf/dl-close.c (_dl_close_worker): Reset private search list if
19845 2011-08-23 David S. Miller <davem@davemloft.net>
19847 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19848 subtract stack bias.
19849 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19850 %sp not %fp in calculations.
19851 (_JMPBUF_UNWINDS_ADJ): Likewise.
19853 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19854 (aio_suspend): Call it to force an exception region around the
19855 AIO_MISC_WAIT() invocation.
19857 2011-08-23 Andreas Schwab <schwab@redhat.com>
19859 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19862 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
19864 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19866 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19867 and <dl-machine.h>.
19868 (Elf64_FuncDesc): Remove.
19870 2011-08-22 David S. Miller <davem@davemloft.net>
19872 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19873 sigaltstack check, add missing cfi directives.
19874 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19875 missing cfi directives, and sigaltstack handling.
19877 2011-08-16 Andreas Schwab <schwab@redhat.com>
19880 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19881 object is seen twice.
19882 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19884 * elf/Makefile (distribute): Add tst-initorder2.c.
19885 (tests): Add tst-initorder2.
19886 (modules-names): Add tst-initorder2a tst-initorder2b
19887 tst-initorder2c tst-initorder2d. Add rules to build them.
19888 ($(objpfx)tst-initorder2.out): New rule.
19889 * elf/tst-initorder2.c: New file.
19890 * elf/tst-initorder2.exp: New file.
19892 2011-08-22 Andreas Schwab <schwab@redhat.com>
19894 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19896 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19897 dependencies back to end of function.
19899 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19900 $(elfobjdir)/ld.so.
19902 2011-08-21 Ulrich Drepper <drepper@gmail.com>
19904 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19905 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19906 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19907 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19908 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19909 of __vdso_gettimeofday.
19910 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19911 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
19913 (_libc_vdso_platform_setup): Remove initialization of
19914 __vdso_gettimeofday and __vdso_time.
19916 2011-08-20 Ulrich Drepper <drepper@gmail.com>
19918 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19919 and fgetc_unlocked.
19920 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19923 * elf/dl-open.c (add_to_global): Report additions to the global scope
19924 for LD_DEBUG=scopes.
19925 (dl_open_worker): Also print scope of newly loaded dependencies.
19926 (_dl_show_scope): Indicate if there is no scope.
19929 * stdio-common/Makefile (tests): Add bug24.
19930 * stdio-common/bug24.c: New file.
19932 2011-08-19 Andreas Jaeger <aj@suse.de>
19935 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
19936 non-existant file when using close-on-exec mode.
19938 2011-08-20 Ulrich Drepper <drepper@gmail.com>
19940 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
19941 the very first instruction.
19943 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
19944 the CFI state in the end.
19945 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
19946 inclusion of dl-trampoline.h.
19947 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
19949 2011-08-19 Andreas Schwab <schwab@redhat.com>
19951 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
19952 expectations for long double.
19954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
19955 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
19957 2011-08-14 David S. Miller <davem@davemloft.net>
19959 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
19960 artificual limit depends upon the system page size.
19962 2011-08-17 Ulrich Drepper <drepper@gmail.com>
19964 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
19965 * resolv/Makefile: Define CFLAGS-libresolv.
19967 2011-08-17 Andreas Schwab <schwab@redhat.com>
19969 * nss/makedb.c (compute_tables): Make variables used in nested
19972 2011-08-17 Ulrich Drepper <drepper@gmail.com>
19974 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
19975 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
19976 if buffer was too small.
19978 * elf/pldd.c (main): Attach to all threads in the process.
19979 Rewrite /proc handling to use *at functions.
19981 2011-08-16 Ulrich Drepper <drepper@gmail.com>
19983 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
19984 specifies first scope to show.
19985 (dl_open_worker): Update callers. Move printing scope of new
19986 object to before the relocation.
19987 * elf/rtld.c (dl_main): Update _dl_show_scope call.
19988 * sysdeps/generic/ldsodefs.h: Update declaration.
19990 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
19991 string for the scope number.
19993 2011-08-14 Ulrich Drepper <drepper@gmail.com>
19995 * nscd/servicescache.c (cache_addserv): Make sure written is always
19998 2011-08-14 Roland McGrath <roland@hack.frob.com>
20000 * sysdeps/i386/i486/bits/atomic.h
20001 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
20002 statement expression, so as to suppress "set but not used" warning.
20003 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
20005 * string/strncat.c (STRNCAT): Use prototype definition.
20007 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
20008 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
20010 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
20011 (localedef-modules): Add localedef.
20012 (locale-modules): Add locale.
20014 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
20015 * elf/rtld.c (dl_main): Invert order of assignment in last change,
20016 to avoid a warning.
20018 2011-08-14 David S. Miller <davem@davemloft.net>
20020 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
20021 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
20023 2011-08-13 Ulrich Drepper <drepper@gmail.com>
20025 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
20026 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
20027 * elf/rtld.c (dl_main): Set l_name of vDSO.
20028 Call _dl_show_scope when DL_DEBUG_SCOPES.
20029 (process_dl_debug): Recognize scopes flag and also set it for all.
20030 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
20031 Declare _dl_show_scope.
20033 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
20034 (do_dlopen): Pass caller_dlopen to dl_open.
20035 (__libc_dlopen_mode): Initialize caller_dlopen.
20037 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
20038 of libc. Make tolower call locale-independent. Optimize a bit by
20039 using isdigit instead of isalnum.
20040 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
20042 2011-08-12 Ulrich Drepper <drepper@gmail.com>
20044 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
20045 was a dependency or dynamically loaded.
20047 2011-08-11 Ulrich Drepper <drepper@gmail.com>
20049 * intl/l10nflist.c: Allow architecture-specific pop function.
20050 * sysdeps/x86_64/l10nflist.c: New file.
20052 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
20055 2011-08-10 Andreas Schwab <schwab@redhat.com>
20057 * include/dirent.h: Add libc_hidden_proto for scandirat and
20058 scandirat64. Don't declare __scandirat64.
20059 * dirent/scandirat.c: Add libc_hidden_def.
20060 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
20061 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
20063 2011-08-10 David S. Miller <davem@davemloft.net>
20065 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
20067 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20068 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20069 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20071 2011-08-09 Ulrich Drepper <drepper@gmail.com>
20073 * Versions.def [libc]: Add GLIBC_2.15.
20074 * dirent/Makefile (routines): Add scandirat and scandirat64.
20075 * dirent/Versions [libc]: Export scandirat and scandirat64 for
20077 * dirent/dirent.h: Declare scandirat and scandirat64.
20078 * dirent/scandirat.c: New file.
20079 * dirent/scandirat64.c: New file.
20080 * sysdeps/wordsize-64/scandirat.c: New file.
20081 * sysdeps/wordsize-64/scandirat64.c: New file.
20082 * dirent/opendir.c: Define opendirat.
20083 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
20085 * dirent/scandir64.c: Adjust for scandir.c change.
20086 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
20087 __scandirat64, and __scandir_cancel_handler.
20088 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
20089 additional parameter and use openat instead of open (outside of ld.so).
20090 Add new __opendir as wrapper around __opendirat.
20091 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
20092 here without requiring old scandirat implementation.
20094 2011-08-08 Ulrich Drepper <drepper@gmail.com>
20096 * dirent/scandir.c (cancel_handler): Renamed to
20097 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
20098 defined. Adjust users.
20099 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
20100 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
20102 2011-08-04 Ulrich Drepper <drepper@gmail.com>
20104 * string/test-string.h (IMPL): Use __STRING to expand name and then
20107 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
20110 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20112 * string/Makefile: Update.
20113 (strop-tests): Append strncat.
20114 * string/test-wcscmp.c: New file.
20115 New comprehensive test for wcscmp.
20116 * string/test-strcmp.c: Update.
20117 (WIDE): New define.
20119 2011-07-22 Andreas Schwab <schwab@redhat.com>
20121 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
20124 2011-07-26 Andreas Schwab <schwab@redhat.com>
20126 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20127 encoding to ACE if AI_IDN.
20129 2011-08-01 Jakub Jelinek <jakub@redhat.com>
20131 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
20132 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
20134 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20136 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
20137 Fix overflow bug in strncat.
20138 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
20140 * string/test-strncat.c: Update.
20141 Add new tests for checking overflow bugs.
20143 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20145 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20146 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
20147 * sysdeps/i386/i686/multiarch/strcat.S: New file.
20148 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
20149 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
20150 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
20151 * sysdeps/i386/i686/multiarch/strncat.S: New file.
20152 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
20153 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
20155 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
20156 (USE_AS_STRCAT): Define.
20157 Add strcat and strncat support.
20158 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20160 2011-07-25 Andreas Schwab <schwab@redhat.com>
20162 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
20163 __n bigger than INT_MAX+1.
20164 (__strncmp_g): Likewise.
20166 2011-07-23 Ulrich Drepper <drepper@gmail.com>
20168 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
20169 * libio/stido.h: Likewise.
20171 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
20173 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
20176 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
20177 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20178 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20179 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20180 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20183 * scripts/test-installation.pl: Don't expect libnss_test1 to be
20186 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
20188 (_dl_x86_64_save_sse): Likewise.
20190 2011-07-22 Ulrich Drepper <drepper@gmail.com>
20192 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
20194 (_dl_x86_64_save_sse): Likewise.
20196 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
20198 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
20200 2011-07-21 Andreas Schwab <schwab@redhat.com>
20202 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
20204 (_dl_x86_64_save_sse): Use correct AVX check.
20206 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20208 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
20209 bug in strncpy/strncat.
20210 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20212 2011-07-21 Ulrich Drepper <drepper@gmail.com>
20214 * string/tester.c (test_strcat): Add tests for different alignments
20215 of source and destination.
20216 (test_strncat): Likewise.
20218 2011-07-20 Ulrich Drepper <drepper@gmail.com>
20221 * posix/glob.c (glob): Check passed in values before using them in
20222 expressions to avoid some overflows.
20223 (glob_in_dir): Likewise.
20226 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
20227 check for AVX enablement so that we don't crash with old kernels and
20229 * elf/tst-audit4.c: Add same checks here.
20230 * elf/tst-audit6.c: Likewise.
20232 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
20234 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
20236 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
20238 2011-07-20 Ulrich Drepper <drepper@gmail.com>
20240 * po/cs.po: Update from translation team.
20241 * po/bg.po: Likewise.
20243 2011-07-12 Marek Polacek <mpolacek@redhat.com>
20245 * misc/sys/cdefs.h: Add support for const attribute.
20246 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
20247 to gnu_dev_{major,minor,makedev} functions.
20249 2011-07-20 Marek Polacek <mpolacek@redhat.com>
20251 * intl/dcigettext.c (get_output_charset): Add missing bracket.
20253 2011-07-20 Andreas Schwab <schwab@redhat.com>
20255 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
20258 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20260 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20261 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
20262 register in order to avoid conflicts with the soft frame pointer
20263 being held in r11 when necessary.
20264 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20265 (INTERNAL_VSYSCALL_NCS): Likewise.
20267 2011-07-14 Marek Polacek <mpolacek@redhat.com>
20269 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
20270 * elf/dl-fini.c (_dl_fini): Adjust caller.
20271 * elf/dl-close.c (_dl_close_worker): Likewise.
20272 * sysdeps/generic/ldsodefs.h: Adjust declaration.
20274 2011-07-15 Marek Polacek <mpolacek@redhat.com>
20276 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
20277 "aux_cache->nlibs < 0".
20279 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
20280 in the reload-count case.
20282 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20284 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20285 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
20286 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
20287 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
20288 * sysdeps/x86_64/multiarch/strcat.S: New file.
20289 * sysdeps/x86_64/multiarch/strncat.S: New file.
20290 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
20291 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
20292 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
20293 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
20294 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
20295 (USE_AS_STRCAT): Define.
20296 Add strcat and strncat support.
20297 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20298 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20299 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
20300 * string/strncat.c: Update.
20301 (USE_AS_STRNCAT): Define.
20302 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20303 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
20305 * sysdeps/x86_64/multiarch/init-arch.h
20306 (bit_Prefer_PMINUB_for_stringop): New.
20307 (index_Prefer_PMINUB_for_stringop): Likewise.
20308 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
20309 bit_Prefer_PMINUB_for_stringop.
20311 2011-07-19 Ulrich Drepper <drepper@gmail.com>
20313 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
20315 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
20316 of casting of buffer.
20317 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
20318 buffer32 and buffer64.
20319 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
20320 writes instead of casting of buffer.
20321 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
20323 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
20326 2011-07-19 Andreas Schwab <schwab@redhat.com>
20328 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
20330 2011-07-19 Ulrich Drepper <drepper@gmail.com>
20332 * nscd/nscd.c (termination_handler): Don't do anything for a database
20333 if it has not yet been initialized.
20335 2011-07-18 Ulrich Drepper <drepper@gmail.com>
20337 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20339 2011-07-15 Marek Polacek <mpolacek@redhat.com>
20341 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20343 2011-07-18 Ulrich Drepper <drepper@gmail.com>
20345 * po/nl.po: Update from translation team.
20346 * po/sv.po: Likewise.
20348 2011-07-16 Roland McGrath <roland@hack.frob.com>
20350 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
20351 now disallowed by GCC.
20353 * configure.in (use-default-link): Default to yes if a test -shared
20354 link meets our qualifications.
20355 * configure: Regenerated.
20357 * config.make.in (output-format): New variable.
20358 * configure.in: Check for ld --print-output-format support.
20359 * configure: Regenerated.
20360 * Makerules ($(common-objpfx)format.lds)
20361 [$(output-format) != unknown]: Just use $(output-format),
20362 instead of the linker-script munging.
20364 2011-07-14 Roland McGrath <roland@hack.frob.com>
20366 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
20367 of $(common-objpfx)shlib.lds.
20368 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
20370 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
20371 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
20373 * configure.in (-z relro check): Adjust test code to add a large
20374 writable data section after it.
20375 * configure: Regenerated.
20377 2011-07-11 Roland McGrath <roland@hack.frob.com>
20379 * configure.in (-z relro check): Fix test code to make the variable
20381 * configure: Regenerated.
20383 2011-07-11 Ulrich Drepper <drepper@gmail.com>
20385 * nscd/nscd.h (struct traced_file): Define.
20386 (struct database_dyn): Remove inotify_descr, reset_res, and filename
20387 elements. Add traced_files.
20388 (inotify_fd): Declare.
20389 (register_traced_file): Declare.
20390 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
20391 (inotify_fd): Export.
20392 (resolv_conf_descr): Remove.
20393 (nscd_init): Move inotify descriptor creation to main.
20394 Don't register files for notification here.
20395 (register_traced_file): New function.
20396 (invalidate_cache): Don't use reset_res to determine whether to call
20397 res_init, go through the list of registered files.
20398 (main_loop_poll): The inotify descriptors are now stored in the
20399 structures for the traced files.
20400 (main_loop_epoll): Likewise
20401 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
20402 to __nss_disable_nscd.
20403 * nscd/cache.c (prune_cache): There is no single inotify descriptor
20404 for a database anymore. Check the records for all the registered
20406 * nss/Makefile (libnss_files-routines): Add files-init.
20407 (libnss_db-routines): Add db-init.
20408 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
20409 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
20410 * nss/nss_db/db-init.c: New file.
20411 * nss/nss_files/files-init.c: New file.
20412 * nss/nsswitch.c (nss_load_library): New function. Broken out of
20413 __nss_lookup_function.
20414 (__nss_lookup_function): Call nss_load_library.
20415 (nss_load_all_libraries): New function.
20416 (__nss_disable_nscd): Take parameter with callback function for files
20417 to register. Set is_nscd. Load all the DSOs for the NSS modules
20418 used for the cached services.
20419 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
20420 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
20421 options for features to all the files in nscd.
20423 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
20425 2011-07-10 Roland McGrath <roland@hack.frob.com>
20427 * csu/elf-init.c (__libc_csu_init): Comment typo.
20429 2011-07-09 Ulrich Drepper <drepper@gmail.com>
20431 * po/pl.po: Update from translation team.
20432 * po/ja.po: Likewise.
20433 * po/ru.po: Likewise.
20434 * po/ko.po: Likewise.
20435 * po/fr.po: Likewise.
20437 2011-07-09 Roland McGrath <roland@hack.frob.com>
20439 * configure.in (.ctors/.dtors header and trailer check):
20440 Use an empirical test on a built program.
20441 * configure: Regenerated.
20443 * configure.in (-z relro check): Use an empirical test on a built DSO.
20444 Detect, but do not require, on ia64.
20445 * configure: Regenerated.
20447 * configure.in (READELF): Find it with AC_CHECK_TOOL.
20448 Update tests that use readelf to use $READELF instead.
20449 * configure: Regenerated.
20451 2011-07-08 Ulrich Drepper <drepper@gmail.com>
20453 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
20454 if the result is not used.
20456 2011-07-05 Andreas Jaeger <aj@suse.de>
20459 * stdlib/tst-strtod.c: Add testcase.
20461 2011-07-07 Ulrich Drepper <drepper@gmail.com>
20463 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
20464 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
20465 The latter has a higher limit. Take additional parameter to pass to
20467 (__pathconf): Pass file to __statfs_link_max.
20468 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
20470 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
20474 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
20475 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20477 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
20478 (__statfs_filesize_max): Likewise.
20479 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
20481 2011-07-05 Andreas Jaeger <aj@suse.de>
20483 * resolv/res_comp.c (dn_skipname): Remove unused variable.
20485 2011-07-06 Marek Polacek <mpolacek@redhat.com>
20487 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
20489 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
20492 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
20494 * Makefile (strop-tests): Add strncat.
20495 * string/test-strncat.c: New file.
20497 2011-06-30 Marek Polacek <mpolacek@redhat.com>
20499 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
20501 2011-06-21 Andreas Jaeger <aj@suse.de>
20503 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
20504 Copy rule from iconvdata/Makefile.
20506 2011-07-06 Ulrich Drepper <drepper@gmail.com>
20509 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
20510 but no long options are defined, just return 'W'.
20512 2011-06-22 Marek Polacek <mpolacek@redhat.com>
20515 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
20517 2011-07-06 Ulrich Drepper <drepper@gmail.com>
20519 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
20521 (innetgr): Likewise.
20523 2011-07-05 Roland McGrath <roland@hack.frob.com>
20525 * config.make.in (install_root): Default to $(DESTDIR).
20527 2011-07-05 Ulrich Drepper <drepper@gmail.com>
20529 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
20531 2011-07-02 Roland McGrath <roland@hack.frob.com>
20533 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
20535 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
20536 containing directory rather than embedding absolute directory names.
20538 * scripts/check-local-headers.sh: Rewritten using awk.
20539 Match by word, not by line. Print error messages for matches.
20540 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
20542 * Makerules [shlib-lds-flags empty]:
20543 ($(common-objpfx)libc_pic.opts): New target.
20544 ($(common-objpfx)libc_pic.os.clean): New target.
20545 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
20547 * config.make.in (OBJCOPY): New variable.
20548 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
20549 * configure: Regenerated.
20551 * config.make.in (use-default-link): New variable.
20552 * configure.in (use_default_link): Grok --with-default-link to set it.
20553 * configure: Regenerated.
20554 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
20555 (shlib-lds, shlib-lds-flags): Define to empty.
20557 * Makerules (shlib-lds): New variable.
20558 (shlib-lds-flags): New variable.
20559 (build-shlib, build-moduile, build-module-asneeded): Use it.
20560 ($(common-objpfx)libc.so): Use $(shlib-lds).
20561 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
20562 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
20564 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
20565 DT_FLAGS/DT_FLAGS_1 with zero flags.
20567 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
20568 linker script munging.
20570 2011-07-02 Ulrich Drepper <drepper@gmail.com>
20572 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
20574 * crypt/sha512.c (sha512_process_block): Perform total addition using
20575 128-bit if possible.
20576 (__sha512_finish_ctx): Likewise.
20577 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
20579 * crypt/sha256.c (SWAP64): Define.
20580 (sha256_process_block): Perform total addition using 64-bit if
20582 (__sha256_finish_ctx): Likewise.
20584 2011-07-01 Ulrich Drepper <drepper@gmail.com>
20586 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
20587 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20588 * nscd/hstcache.c (cache_addhst): Likewise.
20589 * nscd/grpcache.c (cache_addgr): Likewise.
20590 * nscd/aicache.c (addhstaiX): Likewise
20591 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
20593 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
20595 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20596 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20597 * nscd/hstcache.c (cache_addhst): Likewise.
20598 * nscd/grpcache.c (cache_addgr): Likewise.
20599 * nscd/aicache.c (addhstaiX): Likewise
20601 2011-07-01 Andreas Schwab <schwab@redhat.com>
20603 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20604 domain only when needed.
20606 2011-06-30 Andreas Schwab <schwab@redhat.com>
20608 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
20609 is always restored.
20611 2011-06-29 Ulrich Drepper <drepper@gmail.com>
20613 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
20614 are re-adding the entry.
20615 * nscd/servicescache.c (cache_addserv): Likewise.
20617 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
20619 * sysdeps/generic/dl-irel.h: fix protection against multiple
20621 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
20623 2011-06-28 Ulrich Drepper <drepper@gmail.com>
20626 * malloc/memusage.sh: Fix quoting in message.
20627 * debug/xtrace.sh: Likewise.
20629 * configure.in: Remove support for --experimental-malloc option, make
20631 * config.make.in: Likewise.
20632 * malloc/Makefile: Likewise.
20634 2011-06-27 Andreas Schwab <schwab@redhat.com>
20636 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20637 two-byte characters.
20639 2011-06-27 Roland McGrath <roland@hack.frob.com>
20641 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20642 AC_CACHE_CHECK invocation.
20643 * configure: Regenerated.
20645 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
20647 2011-06-27 Ulrich Drepper <drepper@gmail.com>
20650 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
20651 bit from old_res_options.
20653 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
20655 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
20656 value type for setfct.
20658 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
20660 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20661 __gettimeofday instead of gettimeofday.
20663 2011-06-26 Ulrich Drepper <drepper@gmail.com>
20665 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
20667 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
20669 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
20671 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
20674 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20676 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20677 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20678 strcpy-sse2-unaligned strncpy-sse2-unaligned
20679 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
20680 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
20681 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
20682 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
20683 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
20684 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
20685 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
20686 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
20687 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
20688 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
20689 (STRCPY): Support SSE2 and SSSE3 versions.
20691 2011-06-24 Ulrich Drepper <drepper@gmail.com>
20694 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
20695 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
20696 kernels which artificially limit size of requests.
20698 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20700 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20701 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20702 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
20703 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
20704 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
20705 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
20706 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
20707 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
20708 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
20709 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
20710 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
20711 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
20712 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
20713 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
20714 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
20715 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20716 Enable unaligned load optimization for Intel Core i3, i5 and i7
20718 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
20720 (index_Fast_Unaligned_Load): Define.
20721 (HAS_FAST_UNALIGNED_LOAD): Define.
20723 2011-06-23 Marek Polacek <mpolacek@redhat.com>
20725 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
20727 2011-06-22 Ulrich Drepper <drepper@gmail.com>
20730 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
20731 until it is clear that the information is realy needed.
20732 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
20734 2011-06-22 Andreas Schwab <schwab@redhat.com>
20736 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
20738 2011-06-22 Ulrich Drepper <drepper@gmail.com>
20740 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20741 /sys/devices/system/cpu/online if it is usable.
20743 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
20744 reading the information from the /proc filesystem to once a second.
20746 2011-06-21 Andreas Jaeger <aj@suse.de>
20748 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20749 NULL after inclusion of kernel headers.
20751 2011-06-21 Ulrich Drepper <drepper@gmail.com>
20753 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20754 calls to internal_setent.
20757 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20758 addresses using gethostbyname4_r ignore IPv4 addresses.
20760 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20761 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
20763 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20765 2011-06-20 David S. Miller <davem@davemloft.net>
20767 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20769 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20771 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20772 (elf_irel): Use it.
20773 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20774 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20775 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20776 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20777 * sysdeps/x86_64/dl-irel.h: Likewise.
20779 * elf/dl-runtime.c: Use elf_ifunc_invoke.
20780 * elf/dl-sym.c: Likewise.
20782 2011-06-15 Ulrich Drepper <drepper@gmail.com>
20784 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
20785 need to dereference resplen2.
20787 2011-06-14 Andreas Schwab <schwab@redhat.com>
20789 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20791 2011-06-15 Ulrich Drepper <drepper@gmail.com>
20793 * Makeconfig: Define vardbdir and inst_vardbdir.
20794 * nss/Makefile: Add rules to install db-Makefile.
20796 * nss/nss_db/db-XXX.c: Cleanup.
20798 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20799 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20801 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20802 * nss/makedb.c: Implement -g option to specify that value strings
20803 are generated and should not be added to table iterated over for
20805 * nss/nss_db/db-initgroups.c: New file.
20807 * nss/getent.c: Add support for initgroups lookups through getgrouplist
20810 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20811 (internal_getgrouplist): Adjust to name change.
20812 Update use_initgroups_entry if this is not the first call.
20813 * nss/databases.def: Add initgroups entry.
20815 * nss/makedb.c (compute_tables): Check result of multiple hash table
20816 sizes to minimize maximum chain length.
20818 2011-06-14 Ulrich Drepper <drepper@gmail.com>
20820 * Versions.def: Add entry for libnss_db.
20821 * shlib-versions: Likewise.
20822 * nss/Makefile: Add rules to build libnss_db.
20823 * nss/Versions: Add libnss_db information. Organize libnss_files
20825 * nss/db-Makefile: Add gshadow support. Change rules for the new
20826 makedb progra. Some minor improvements to generate smaller files.
20827 * nss/nss_db/nss_db.h: Move NSS database header data structures to
20829 * nss/makedb.c: ...here.
20830 Improve database format to be smaller and require less memory at
20832 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
20834 * nss/nss_db/db-netgrp.c: Likewise.
20835 * nss/nss_db/db-open.c: Likewise.
20836 * nss/nss_files/flies-XXX.x: Adjust comments.
20837 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20838 * nss/nss_files/files-grp.c: Likewise.
20839 * nss/nss_files/files-hosts.c: Likewise.
20840 * nss/nss_files/files-network.c: Likewise.
20841 * nss/nss_files/files-proto.c: Likewise.
20842 * nss/nss_files/files-pwd.c: Likewise.
20843 * nss/nss_files/files-rpc.c: Likewise.
20844 * nss/nss_files/files-service.c: Likewise.
20845 * nss/nss_files/files-sgrp.c: Likewise.
20846 * nss/nss_files/files-spwd.c: Likewise.
20847 * nss/nss_db/db-alias.c: Removed.
20848 * nss/nss_db/dummy-db.h: Removed.
20850 2011-06-02 Ulrich Drepper <drepper@gmail.com>
20852 * nss/makedb.c: Rewritten to not use database library.
20853 * nss/Makefile: Update to build new makedb program.
20855 2011-06-14 Andreas Jaeger <aj@suse.de>
20857 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20858 memset declaration.
20860 2011-06-10 Andreas Schwab <schwab@redhat.com>
20862 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20865 2011-06-10 Roland McGrath <roland@hack.frob.com>
20867 * Makerules (shlib.lds): Fail if the linker script comes out empty.
20868 * elf/Makefile ($(objpfx)ld.so): Likewise.
20870 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20871 Don't list ld.so twice in dependencies.
20873 * posix/bug-regex31.c: Include <stdlib.h>.
20875 * nscd/hstcache.c (cache_addhst): Remove unused variable.
20877 * nis/nss_compat/compat-spwd.c
20878 (getspent_next_nss_netgr): Remove unused variable.
20879 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20881 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20882 nonmembers" output to use the right array.
20884 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20886 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20888 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20889 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20890 * catgets/gencat.c (read_input_file): Likewise.
20891 * locale/programs/locarchive.c (enlarge_archive): Likewise.
20893 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20894 variable definition inside #if's controlling its use.
20896 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20898 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20900 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20902 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20905 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20907 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20908 * configure: Regenerated.
20910 * Makerules: Revert last change.
20911 * elf/Makefile: Likewise.
20913 2011-06-09 Roland McGrath <roland@hack.frob.com>
20915 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20916 * elf/Makefile ($(objpfx)librtld.os): Likewise.
20917 (reloc-link): Likewise.
20919 2011-06-09 Ulrich Drepper <drepper@gmail.com>
20921 * elf/Makefile: Add rules to build pldd.
20922 * elf/pldd.c: New file.
20923 * elf/pldd-xx.c: New file.
20925 2011-06-07 Ulrich Drepper <drepper@gmail.com>
20927 * version.h: Update for 2.15 development version.
20929 2011-06-07 David S. Miller <davem@davemloft.net>
20931 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
20933 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
20934 elf_machine_lazy_rel): Likewise.
20935 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
20936 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
20937 elf_machine_lazy_rel): Likewise.
20938 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
20939 dl_hwcap via passed in argument.
20940 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
20943 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20945 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
20947 2011-06-06 Roland McGrath <roland@hack.frob.com>
20950 * manual/fdl-1.1.texi: New file, verbatim from:
20951 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
20952 * manual/lgpl-2.1.texi: New file, verbatim from:
20953 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
20954 * manual/Makefile (licenses): New variable, list those new file names.
20956 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
20958 * manual/fdl.texi: File removed.
20959 * manual/lesser.texi: File removed.
20960 * manual/libc.texinfo (Copying, Documentation License):
20961 Use new @include file names, put @appendix directive before @include.
20963 2011-06-04 Jakub Jelinek <jakub@redhat.com>
20966 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
20967 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
20968 (mq_open): Add __NTH.
20970 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
20972 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20973 Assume Intel Core i3/i5/i7 processor if AVX is available.
20975 2011-05-31 Ulrich Drepper <drepper@gmail.com>
20977 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
20980 2011-05-31 Andreas Schwab <schwab@redhat.com>
20982 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
20983 memory. Use alloca_account. Fix memory leak when retrying.
20985 2011-05-31 Ulrich Drepper <drepper@gmail.com>
20987 * version.h (RELEASE): Bump for 2.14 release.
20988 * include/features.h (__GLIBC_MINOR__): Bump to 14.
20990 * config.make.in (RANLIB): Remove entry.
20992 2011-05-30 Ulrich Drepper <drepper@gmail.com>
20994 * po/Makefile (po-sed-cmd): Add ksh to extensions.
20995 (libc.pot): Work around missing support for .ksh extension in xgettext.
20998 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
20999 if both request failed.
21000 (send_dg): In case of server errors clear resplen or *resplen2.
21003 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
21004 when there are multiple maps.
21005 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
21006 (_dl_fini): Remove test here.
21008 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
21010 2011-05-29 Ulrich Drepper <drepper@gmail.com>
21013 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
21014 bit from old_res_options.
21015 (gaih_inet): Likewise.
21018 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
21021 * resolv/res_init.c (res_setoptions): Make the code more compact.
21024 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
21028 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
21030 * malloc/malloc.h: Mark malloc hook variables as deprecated.
21033 * malloc/malloc.h: Declare malloc hook variables as volatile.
21035 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
21039 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
21040 raise in the comment.
21041 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21042 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21043 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
21045 2011-05-28 Ulrich Drepper <drepper@gmail.com>
21048 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
21049 grow the buffers more if it already has to be sufficient.
21050 (build_wcs_upper_buffer): Likewise.
21051 * posix/regexec.c (check_matching): Likewise.
21052 (clean_state_log_if_needed): Likewise.
21053 (extend_buffers): Don't enlarge buffers beyond size of the input
21055 Patches mostly by Emil Wojak <emil@wojak.eu>.
21056 * posix/bug-regex32.c: New file.
21057 * posix/Makefile (tests): Add bug-regex32.
21059 * locale/findlocale.c (_nl_find_locale): Return right away if
21060 _nl_explode_name failed.
21061 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
21063 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
21065 * debug/xtrace.sh: Unify messages.
21066 * malloc/memusage.sh: Likewise.
21069 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
21070 time symbol from vDSO. Substitute with vsyscall if not available.
21071 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
21074 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
21075 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
21076 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
21077 Add sendmmsg and internal_sendmmsg.
21078 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
21079 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
21080 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
21082 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
21083 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
21084 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
21086 2011-05-27 Ulrich Drepper <drepper@gmail.com>
21089 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
21090 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
21092 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
21096 * iconvdata/Makefile (tests): Add bug-iconv9.
21097 * iconvdata/bug-iconv9.c: New file.
21099 2011-05-27 Andreas Schwab <schwab@redhat.com>
21102 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
21104 2011-05-25 Jakub Jelinek <jakub@redhat.com>
21106 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21107 (struct user_regs_struct): Change intcs field back to cs.
21109 2011-05-25 Ulrich Drepper <drepper@gmail.com>
21111 * po/ja.po: Update from translation team.
21113 2011-05-23 Ulrich Drepper <drepper@gmail.com>
21116 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
21117 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
21119 2011-05-20 Andreas Schwab <schwab@redhat.com>
21121 * stdlib/longlong.h: Update from GCC.
21123 2011-05-23 Andreas Schwab <schwab@redhat.com>
21125 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
21127 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
21128 Add parameter name.
21129 (__sysconf): Pass it down.
21131 2011-05-22 Ulrich Drepper <drepper@gmail.com>
21134 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
21136 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21137 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
21138 add in in __libc_use_alloca calls. Adjust callers.
21139 (glob): Use malloc in some situations.
21141 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
21142 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
21145 2011-05-21 Ulrich Drepper <drepper@gmail.com>
21147 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
21148 and CLOCK_BOOTTIME_ALARM.
21151 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
21154 * string/_strerror.c (__strerror_r): Print negative errors as signed
21158 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
21159 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
21160 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
21162 * configure.in: Fix typo in redirection and correct removal of test
21163 files in two cases.
21166 * locale/setlocale.c (new_composite_name): Fix test to check for
21167 identical name of all categories.
21170 * libio/filedoalloc.c (local_isatty): New function.
21171 (_IO_file_doallocate): Use local_isatty.
21172 * stdio-common/perror.c (perror): In case a new stream is used
21173 forward the stream error.
21174 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
21177 2011-05-20 Ulrich Drepper <drepper@gmail.com>
21180 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
21182 * include/alloca.h (extend_alloca_account): Define.
21185 * posix/regex.h: Fix comments with documentation of user-accessible
21186 fields after compilation and describe correct free'ing of pattern
21187 after re_compile_pattern.
21188 Patch by Reuben Thomas <rrt@sc3d.org>.
21190 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
21192 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
21193 and -mno-altivec to prevent the compiler from using Altivec and/or
21194 VSX instructions when the corresponding registers are not available.
21196 2011-05-19 Andreas Schwab <schwab@redhat.com>
21198 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
21200 2011-05-19 Ulrich Drepper <drepper@gmail.com>
21202 * libio/freopen.c (freopen): Use __dup2, not dup2.
21203 * libio/freopen64.c (freopen64): Likewise.
21205 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
21208 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
21209 * math/Makefile (tests): Add test-powl.
21210 (CFLAGS-test-powl.c): Define.
21211 * math/test-powl.c: New file.
21213 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
21215 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
21217 2011-05-17 Ulrich Drepper <drepper@gmail.com>
21220 * iconvdata/gb18030.c: Update to GB18020-2005.
21222 2011-05-16 Ulrich Drepper <drepper@gmail.com>
21224 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
21225 RE_SYNTAX_POSIX_AWK): Update to match recent development.
21226 Patch by Aharon Robbins <arnold@skeeve.com>.
21229 * stdlib/putenv.c (putenv): Don't always create copy of the variable
21233 * misc/pselect.c (__pselect): Handle timeout value errors hidden
21234 through underflows.
21237 * misc/error.c (error_at_line): Ensure file_name and old_file_name
21238 point to strings before performing equality test for error_one_per_line
21242 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
21245 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21246 (struct user_fpregs_struct): Avoid __uint*_t types.
21249 * malloc/mtrace.c (tr_where): Add additional parameter to point to
21250 symbol info. Use it instead of calling _dl_addr locally.
21251 (lock_and_info): New function.
21252 (tr_freehook): Call lock_and_info and pass symbol info as additional
21253 parameter to tr_where.
21254 (tr_mallochook): Likewise.
21255 (tr_reallochook): Likewise.
21256 (tr_memalignhook): Likewise.
21258 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
21259 used and couldn't be at all thread-safe.
21261 2011-05-15 Ulrich Drepper <drepper@gmail.com>
21263 * libio/freopen.c (freopen): Don't close old file descriptor
21264 before the new one is opened. Instead dup the new file descriptor
21265 to the old one after the new stream is created.
21266 * libio/freopen64.c (freopen64): Likewise.
21267 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
21268 * libio/fileops.c (_IO_new_file_close_it): Handle new
21269 _IO_FLAGS2_NOCLOSE flag.
21270 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
21271 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
21272 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
21273 _IO_FLAGS2_NOCLOSE flag.
21274 * include/unistd.h: Add hidden_proto for dup3.
21275 Define __have_dup3.
21276 * io/dup3.c: Define hidden symbol.
21277 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
21280 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
21281 when an incomplete long option is used.
21282 * posix/tst-getopt_long1.c: New file.
21283 * posix/Makefile (tests): Add tst-getopt_long1.
21286 * scripts/config.guess: Update from autoconf-2.68.
21287 * scripts/config.sub: Likewise.
21290 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
21292 (has_cpuclock): ...this. New function.
21293 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
21294 macro here based on has_cpuclock code.
21297 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21298 First byte (not low byte) is now always NUL.
21299 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
21301 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21302 Use non-cancelable interfaces.
21305 * locale/iso-639.def: Add entry for Sorani.
21308 * include/stdlib.h: Move include protection to the right place.
21309 Define abort_msg_s. Declare __abort_msg with it.
21310 * stdlib/abort.c (__abort_msg): Adjust type.
21311 * assert/assert.c (__assert_fail_base): New function. Majority
21312 of code from __assert_fail. Allocate memory for __abort_msg with
21314 (__assert_fail): Now call __assert_fail_base.
21315 * assert/assert-perr.c: Remove bulk of implementation. Use
21316 __assert_fail_base.
21317 * include/assert.hL Declare __assert_fail_base.
21318 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
21320 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
21322 2011-05-14 Ulrich Drepper <drepper@gmail.com>
21326 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
21327 until all modules are registered in the DTV.
21328 * elf/Makefile: Add rules to build and run tst-tls19.
21329 * elf/tst-tls19.c: New file.
21330 * elf/tst-tls19mod1.c: New file.
21331 * elf/tst-tls19mod2.c: New file.
21332 * elf/tst-tls19mod3.c: New file.
21333 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
21336 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
21340 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
21341 two-byte sequence errors.
21342 * iconvdata/Makefile (tests): Add bug-iconv8.
21343 * iconvdata/bug-iconv8.c: New file.
21346 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
21349 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
21352 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
21353 (dummy_getcfa): New function.
21354 (init): Get _Unwind_GetCFA address, use dummy if not found.
21355 (backtrace_helper): In recursion check, also check whether CFA changes.
21356 (__backtrace): Completely initialize arg.
21358 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
21359 storing incomplete byte sequence in state object. Avoid testing for
21360 guaranteed too small input if we know there is enough data available.
21362 2011-05-11 Andreas Schwab <schwab@redhat.com>
21364 * Makeconfig (+link-pie): Indent.
21365 * Rules (binaries-pie): Define if $(have-fpie) and
21367 (binaries-shared): Also filter out $(binaries-pie).
21368 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
21369 * nscd/Makefile (others-pie): Add nscd.
21370 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
21371 ($(objpfx)nscd): Remove command override.
21372 * login/Makefile (others-pie): Add pt_chown.
21373 ($(objpfx)pt_chown): Remove command override.
21374 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
21375 remove command overrides.
21377 2011-05-13 Ulrich Drepper <drepper@gmail.com>
21379 * libio/tst_putwc.c: Fix error messages.
21382 * libio/fileops.c (_IO_new_file_close_it): Always flush when
21383 currently writing and seek to current position when not.
21384 * libio/Makefile (tests): Add bug-fclose1.
21385 * libio/bug-fclose1.c: New file.
21387 2011-05-12 Ulrich Drepper <drepper@gmail.com>
21390 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
21391 don't set DF_1_NODELETE here.
21392 (do_lookup_x): When entering new entry test for copy relocation
21393 and if necessary set DF_1_NODELETE flag.
21394 * elf/tst-unique4.cc: New file.
21395 * elf/tst-unique4.h: New file.
21396 * elf/tst-unique4lib.cc: New file.
21397 * elf/Makefile: Add rules to build and run tst-unique4.
21398 Patch by Piotr Bury <pbury@goahead.com>.
21400 2011-05-11 Ulrich Drepper <drepper@gmail.com>
21403 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
21406 * misc/mntent_r.c (addmntent): Flush the stream after the output
21409 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
21410 (is_trusted_path_normalize): Skip initial colon. Append slash
21411 to empty buffer. Duplicate is_trusted_path code but allow
21412 constructed patch to be prefix.
21413 (is_dst): Allow $ORIGIN followed by /.
21414 (_dl_dst_substitute): Correct clearing of check_for_trusted.
21415 Correct testing of result of is_trusted_path_normalize
21416 (decompose_rpath): Fix warning.
21418 2011-05-10 Ulrich Drepper <drepper@gmail.com>
21421 * grp/initgroups.c (internal_getgrouplist): When we found the service
21422 list through the initgroups entry in nsswitch.conf do not always
21423 continue on a successful lookup. Don't always use the
21424 __nss_group_database value if it is set.
21425 * nss/nsswitch.conf (initgroups): Change action for successful db
21426 lookup to continue for compatibility.
21428 2011-05-09 Ulrich Drepper <drepper@gmail.com>
21431 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
21433 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
21435 * iconvdata/tst-tables.sh: Likewise.
21436 * iconvdata/cp770.c: New file.
21437 * iconvdata/cp771.c: New file.
21438 * iconvdata/cp772.c: New file.
21439 * iconvdata/cp773.c: New file.
21440 * iconvdata/cp774.c: New file.
21441 * iconvdata/testdata/CP770: New file.
21442 * iconvdata/testdata/CP770..UTF8: New file.
21443 * iconvdata/testdata/CP771: New file.
21444 * iconvdata/testdata/CP771..UTF8: New file.
21445 * iconvdata/testdata/CP772: New file.
21446 * iconvdata/testdata/CP772..UTF8: New file.
21447 * iconvdata/testdata/CP773: New file.
21448 * iconvdata/testdata/CP773..UTF8: New file.
21449 * iconvdata/testdata/CP774: New file.
21450 * iconvdata/testdata/CP774..UTF8: New file.
21452 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
21454 * iconvdata/gen-8bit-gap.sh: Likewise.
21455 * iconvdata/gen-8bit.sh: Likewise.
21457 * locale/iso-639.def: Add ary entry.
21460 * locale/C-translit.h.in: Add U20A1 transliteration.
21463 * locale/iso-639.def: Add wae entry.
21464 Patch by Kevin Bortis <bortis@translate-wae.ch>.
21467 * locale/programs/localedef.c (construct_output_path): Use ssize_t
21471 * locale/C-translit.h.in: Add entry for U20B9.
21472 Patch by pravin.d.s@gmail.com.
21474 2011-05-08 Ulrich Drepper <drepper@gmail.com>
21477 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
21478 ENAMETOOLONG use generic getcwd.
21479 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
21480 in rtld. Use *stat64.
21481 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
21482 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
21483 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
21484 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
21485 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
21486 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
21487 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
21488 __fstatat64 macros.
21489 * include/dirent.h: Add libc_hidden_proto for rewinddir.
21490 * dirent/rewinddir.c: Add libc_hidden_def.
21491 * sysdeps/mach/hurd/rewinddir.c: Likewise.
21492 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
21494 * include/dirent.h (__alloc_dir): Add flags parameter.
21495 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
21496 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
21498 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
21499 from fdopendir if O_CLOEXEC is already set.
21501 2011-03-15 Alan Modra <amodra@gmail.com>
21503 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
21504 l_tls_firstbyte_offset non-zero. Save padding offset in
21505 l_tls_firstbyte_offset for later use.
21506 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
21507 freeing static tls block.
21509 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
21511 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
21512 where #ifdef was intended. The intent is to prevent ARG_MAX from
21513 being defined by the kernel headers.
21515 2011-05-07 Ulrich Drepper <drepper@gmail.com>
21518 * resolv/resolv.h: Define RES_NOTLDQUERY.
21519 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
21520 no-tld-query and set RES_NOTLDQUERY.
21521 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
21522 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
21523 modern BIND to search name as TLD unless forbidden.
21525 2011-05-07 Petr Baudis <pasky@suse.cz>
21526 Ulrich Drepper <drepper@gmail.com>
21529 * elf/dl-load.c (fillin_rpath): Move trusted path check...
21530 (is_trusted_path): ...to here.
21531 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
21532 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
21533 using is_trusted_path_normalize() in setuid scripts.
21535 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21537 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
21538 __BEGIN/__END_DECLS.
21540 2011-05-06 Ulrich Drepper <drepper@gmail.com>
21542 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
21543 NSS_STATUS_NOTFOUND if no record was found.
21545 2011-05-05 Andreas Schwab <schwab@redhat.com>
21547 * sunrpc/Makefile (headers): Add rpc/netdb.h.
21548 (headers-not-in-tirpc): Remove rpc/netdb.h
21549 * resolv/netdb.h: Revert last change.
21551 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21553 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
21554 circular dependency between libgcc.a and libc.a.
21556 2011-05-05 Andreas Schwab <schwab@redhat.com>
21558 * resolv/netdb.h: Don't include <rpc/netdb.h>.
21559 * nis/Makefile: Don't install rpcsvc/*.
21560 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
21561 instead of <rpc/types.h>.
21562 (MAXHOSTNAMELEN): Define.
21564 2011-05-03 Andreas Schwab <schwab@redhat.com>
21566 * elf/ldconfig.c (add_dir): Don't crash on empty path.
21568 2011-04-28 Maciej Babinski <mbabinski@google.com>
21571 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
21572 gethostbyname4_r when IPv6 results are possible.
21574 2011-05-02 Ulrich Drepper <drepper@gmail.com>
21577 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
21578 _PC_PIPE_BUF handling.
21580 2011-04-30 Bruno Haible <bruno@clisp.org>
21583 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
21584 * resolv/netdb.h (getnameinfo): Change type of flags parameter
21586 * inet/getnameinfo.c (getnameinfo): Likewise.
21588 2011-04-29 Ulrich Drepper <drepper@gmail.com>
21590 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
21591 to groups setting in database lookup.
21592 * nss/nsswitch.conf: Add initgroups entry.
21594 2011-04-22 Ulrich Drepper <drepper@gmail.com>
21597 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21599 Patch by Eric Blake <eblake@redhat.com>.
21601 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
21603 * sunrpc/Makefile (need-export-routines): Add svc_run.
21604 (routines): Remove svc_run.
21605 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21606 * sunrpc/clnt_perr.c (clnt_perrno): Export.
21607 * sunrpc/svc_run.c (svc_run): Likewise.
21608 * sunrpc/svc_udp.c (svcudp_create): Likewise.
21610 2011-04-21 Ulrich Drepper <drepper@gmail.com>
21612 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
21613 problem in reallocation in last patch.
21615 2011-04-20 Ulrich Drepper <drepper@gmail.com>
21617 * sunrpc/Makefile: Move inclusion of Rules.
21619 2011-04-19 Ulrich Drepper <drepper@gmail.com>
21621 * nss/nss_files/files-initgroups.c: New file.
21622 * nss/Makefile (libnss_files-routines): Add files-initgroups.
21623 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
21624 _nss_files_initgroups_dyn.
21626 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
21628 * elf/elf.h (R_ARM_IRELATIVE): Define.
21630 2011-04-19 Ulrich Drepper <drepper@gmail.com>
21632 * po/ru.po: Update from translation team.
21634 2011-04-17 Ulrich Drepper <drepper@gmail.com>
21636 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21639 2011-02-06 Mike Frysinger <vapier@gentoo.org>
21642 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21643 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21644 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21645 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21646 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21648 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
21650 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
21652 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21653 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21654 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21656 2011-04-17 Ulrich Drepper <drepper@gmail.com>
21659 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
21661 * stdlib/bug-getcontext.c: New file.
21662 * stdlib/Makefile: Add rules to build and run bug-getcontext.
21664 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21666 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
21667 instructions into .machine "z9-109".
21668 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21669 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21671 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21673 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
21674 between environment variables and auxiliary vector.
21676 2011-04-16 Ulrich Drepper <drepper@gmail.com>
21678 * Makefile: Add rules to build linkobj/libc.so.
21679 * include/libc-symbols.h: Define libc_hidden_nolink.
21680 * include/rpc/auth.h: Mark functions which are to be hidden.
21681 * include/rpc/auth_des.h: Likewise.
21682 * include/rpc/auth_unix.h: Likewise.
21683 * include/rpc/clnt.h: Likewise.
21684 * include/rpc/des_crypt.h: Likewise.
21685 * include/rpc/key_prot.h: Likewise.
21686 * include/rpc/pmap_clnt.h: Likewise.
21687 * include/rpc/pmap_prot.h: Likewise.
21688 * include/rpc/pmap_rmt.h: Likewise.
21689 * include/rpc/rpc_msg.h: Likewise.
21690 * include/rpc/svc.h: Likewise.
21691 * include/rpc/svc_auth.h: Likewise.
21692 * include/rpc/xdr.h: Likewise.
21693 * nis/Makefile: Link all DSOs against linkobj/libc.so.
21694 * nss/Makefile: Likewise.
21695 * sunrpc/Makefile: Don't install headers. Build library with normal
21696 entry points. Don't build rpcinfo. Link RPC tests appropriately.
21697 * sunrpc/auth_des.c: Hide exported symbols by default, export some
21698 for the compat linking library. Remove use of INTDEF/INTUSE.
21699 * sunrpc/auth_none.c: Likewise.
21700 * sunrpc/auth_unix.c: Likewise.
21701 * sunrpc/authdes_prot.c: Likewise.
21702 * sunrpc/authuxprot.c: Likewise.
21703 * sunrpc/clnt_gen.c: Likewise.
21704 * sunrpc/clnt_perr.c: Likewise.
21705 * sunrpc/clnt_raw.c: Likewise.
21706 * sunrpc/clnt_simp.c: Likewise.
21707 * sunrpc/clnt_tcp.c: Likewise.
21708 * sunrpc/clnt_udp.c: Likewise.
21709 * sunrpc/clnt_unix.c: Likewise.
21710 * sunrpc/des_crypt.c: Likewise.
21711 * sunrpc/des_soft.c: Likewise.
21712 * sunrpc/get_myaddr.c: Likewise.
21713 * sunrpc/key_call.c: Likewise.
21714 * sunrpc/key_prot.c: Likewise.
21715 * sunrpc/netname.c: Likewise.
21716 * sunrpc/pm_getmaps.c: Likewise.
21717 * sunrpc/pm_getport.c: Likewise.
21718 * sunrpc/pmap_clnt.c: Likewise.
21719 * sunrpc/pmap_prot.c: Likewise.
21720 * sunrpc/pmap_prot2.c: Likewise.
21721 * sunrpc/pmap_rmt.c: Likewise.
21722 * sunrpc/publickey.c: Likewise.
21723 * sunrpc/rpc_cmsg.c: Likewise.
21724 * sunrpc/rpc_common.c: Likewise.
21725 * sunrpc/rpc_dtable.c: Likewise.
21726 * sunrpc/rpc_prot.c: Likewise.
21727 * sunrpc/rpc_thread.c: Likewise.
21728 * sunrpc/rtime.c: Likewise.
21729 * sunrpc/svc.c: Likewise.
21730 * sunrpc/svc_auth.c: Likewise.
21731 * sunrpc/svc_authux.c: Likewise.
21732 * sunrpc/svc_raw.c: Likewise.
21733 * sunrpc/svc_run.c: Likewise.
21734 * sunrpc/svc_simple.c: Likewise.
21735 * sunrpc/svc_tcp.c: Likewise.
21736 * sunrpc/svc_udp.c: Likewise.
21737 * sunrpc/svc_unix.c: Likewise.
21738 * sunrpc/svcauth_des.c: Likewise.
21739 * sunrpc/xcrypt.c: Likewise.
21740 * sunrpc/xdr.c: Likewise.
21741 * sunrpc/xdr_array.c: Likewise.
21742 * sunrpc/xdr_float.c: Likewise.
21743 * sunrpc/xdr_intXX_t.c: Likewise.
21744 * sunrpc/xdr_mem.c: Likewise.
21745 * sunrpc/xdr_rec.c: Likewise.
21746 * sunrpc/xdr_ref.c: Likewise.
21747 * sunrpc/xdr_sizeof.c: Likewise.
21748 * sunrpc/xdr_stdio.c: Likewise.
21750 2011-04-10 Ulrich Drepper <drepper@gmail.com>
21753 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21754 * sysdeps/ia64/dl-tls.h: Likewise.
21755 * sysdeps/powerpc/dl-tls.h: Likewise.
21756 * sysdeps/s390/dl-tls.h: Likewise.
21757 * sysdeps/sh/dl-tls.h: Likewise.
21758 * sysdeps/sparc/dl-tls.h: Likewise.
21759 * sysdeps/x86_64/dl-tls.h: Likewise.
21760 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21762 2011-03-14 Andreas Schwab <schwab@redhat.com>
21764 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21765 rpath element also skip the following colon.
21766 (expand_dynamic_string_token): Add is_path parameter and pass
21767 down to DL_DST_REQUIRED and _dl_dst_substitute.
21768 (decompose_rpath): Call expand_dynamic_string_token with
21769 non-zero is_path. Ignore empty rpaths.
21770 (_dl_map_object_from_fd): Call expand_dynamic_string_token
21773 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
21775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21778 2011-04-09 Ulrich Drepper <drepper@gmail.com>
21781 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21782 Patch by Filipe David Manana <fdmanana@apache.org>.
21784 2011-04-07 Andreas Schwab <schwab@redhat.com>
21786 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21787 Maintain aligned stack.
21788 (CHECK_RSP): Remove unused macro.
21790 2011-04-03 Ulrich Drepper <drepper@gmail.com>
21792 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21793 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21795 2011-04-02 Ulrich Drepper <drepper@gmail.com>
21797 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21799 * include/features.h: Mention __USE_XOPEN2K8 in comment.
21801 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
21804 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21805 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21806 * sysdeps/x86_64/memmove.c: New file.
21807 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21808 (memcpy): Renamed to ...
21809 (__new_memcpy): This.
21810 (memcpy): Provide GLIBC_2_14 memcpy.
21811 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21812 (memcpy): Provide GLIBC_2_2_5 memcpy.
21814 2011-04-01 Ulrich Drepper <drepper@gmail.com>
21817 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21819 2011-03-30 Andreas Schwab <schwab@redhat.com>
21821 * misc/syncfs.c: New file.
21822 * misc/Makefile (routines): Add syncfs.
21823 * posix/unistd.h: Declare syncfs.
21824 * sysdeps/unix/syscalls.list: Add syncfs.
21826 2011-04-01 Andreas Schwab <schwab@redhat.com>
21828 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21830 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21831 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21832 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21833 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21834 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21835 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21836 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21838 2011-04-01 Ulrich Drepper <drepper@gmail.com>
21840 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21841 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21842 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21843 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21844 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21845 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21846 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21848 * io/Makefile: Compile fallocate.c, fallocate64.c, and
21849 sync_file_range.c with -fexceptions.
21850 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21851 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21852 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21853 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21854 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21855 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21856 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
21857 sync_file_range as cancellation point
21858 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
21859 now a wrapper around __call_sync_file_range with cancellation handling.
21860 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21861 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
21862 function name to __call_sync_file_range.
21863 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21864 Add call_sync_file_range.
21866 2011-04-01 Andreas Schwab <schwab@redhat.com>
21868 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21871 2011-04-01 Ulrich Drepper <drepper@gmail.com>
21873 * iconv/iconv.h: Fix typo in comment.
21874 * io/fcntl.h: Likewise.
21875 * libio/stdio.h: Likewise.
21876 * posix/spawn.h: Likewise.
21877 * posix/unistd.h: Likewise.
21878 * stdlib/stdlib.h: Likewise.
21879 * time/time.h: Likewise.
21880 * wcsmbs/wchar.h: Likewise.
21882 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21883 open_by_handle): Add.
21884 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21885 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
21886 Augment a few comments.
21887 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21888 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21889 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21890 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21891 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21892 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21895 * io/fcntl.h (AT_EMPTY_PATH): Define.
21897 2011-03-30 Ulrich Drepper <drepper@gmail.com>
21899 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21900 * sysdeps/unix/sysv/linux/bits/time.h: New file.
21901 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21903 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
21904 * Versions.def: Add GLIBC_2.14.
21905 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21908 2011-03-22 Ulrich Drepper <drepper@gmail.com>
21910 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21912 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21914 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
21917 * string/test-strncmp.c (do_page_test): New function.
21918 (check2): Likewise.
21919 (test_main): Call check2.
21920 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21922 2011-03-20 Ulrich Drepper <drepper@gmail.com>
21925 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21926 Handle cache information in CPU leaf 4.
21927 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21929 2011-03-18 Ulrich Drepper <drepper@gmail.com>
21932 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
21933 character representation.
21934 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
21936 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
21938 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
21939 END(__isnan) to END(__isnanf) to match function entry point/label
21940 EALIGN(__isnanf,...).
21942 2011-03-10 Jakub Jelinek <jakub@redhat.com>
21944 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
21946 2011-03-10 Ulrich Drepper <drepper@gmail.com>
21949 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
21950 copy from the symbol referenced in the relocation to initialize the
21952 Patch by Piotr Bury <pbury@goahead.com>.
21953 * elf/Makefile: Add rules to build and tst-unique3.
21954 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
21955 * elf/tst-unique3.cc: New file.
21956 * elf/tst-unique3.h: New file.
21957 * elf/tst-unique3lib.cc: New file.
21958 * elf/tst-unique3lib2.cc: New file.
21960 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
21962 2011-03-10 Mike Frysinger <vapier@gentoo.org>
21964 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
21965 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
21968 2011-03-06 Ulrich Drepper <drepper@gmail.com>
21970 * elf/dl-load.c (_dl_map_object): If we are looking for the first
21971 to-be-loaded object along a path to loader is ld.so.
21973 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21974 Ulrich Drepper <drepper@gmail.com>
21976 * sysdeps/x86_64/memset.S: After aligning destination, code
21977 branches to different locations depending on the value of
21978 misalignment, when multiarch is enabled. Fix this.
21980 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
21982 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
21983 Set _x86_64_preferred_memory_instruction for AMD processsors.
21984 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21985 Set bit_Prefer_SSE_for_memop for AMD processors.
21987 2011-03-04 Ulrich Drepper <drepper@gmail.com>
21989 * libio/fmemopen.c (fmemopen): Optimize a bit.
21991 2011-03-03 Andreas Schwab <schwab@redhat.com>
21993 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
21995 2011-03-03 Roland McGrath <roland@redhat.com>
21997 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
21999 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
22001 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
22002 __bzero_ultra1 instead of __memset_ultra1.
22004 2011-02-23 Andreas Schwab <schwab@redhat.com>
22005 Ulrich Drepper <drepper@gmail.com>
22008 * include/link.h (struct link_map): Add l_orig_initfini.
22009 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
22010 returning unsuccessfully.
22011 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
22012 close of a file loaded at startup, restore the original l_initfini
22014 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
22015 list, store the pointer.
22016 * elf/Makefile ($(objpfx)noload-mem): New rule.
22017 (noload-ENV): Define.
22018 (tests): Add $(objpfx)noload-mem.
22019 * elf/noload.c: Include <memcheck.h>.
22020 (main): Call mtrace. Close all opened handles.
22022 2011-02-17 Andreas Schwab <schwab@redhat.com>
22025 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
22026 dependencies are missing.
22028 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
22030 Fix __if_freereq crash: Unlike the generic version which uses free,
22032 * sysdeps/mach/hurd/ifreq.h: New file.
22034 2011-01-27 Petr Baudis <pasky@suse.cz>
22035 Ulrich Drepper <drepper@gmail.com>
22038 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
22039 to extend_alloca().
22040 * stdio-common/bug23.c: New file.
22041 * stdio-common/Makefile (tests): Add bug23.
22043 2010-09-28 Andreas Schwab <schwab@redhat.com>
22044 Ulrich Drepper <drepper@gmail.com>
22047 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
22048 before performing relro protection. At old place add assertion
22049 to make sure nothing changed.
22051 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
22052 Glauber de Oliveira Costa <glommer@gmail.com>
22054 * elf/elf.h: Add new ARM TLS relocs.
22056 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
22058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22059 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
22061 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
22063 * sysdeps/wordsize-64/tst-writev.c: New file.
22065 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
22067 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
22068 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
22069 insns in _dl_start to prevent a TOC reference before relocs are
22072 2011-02-15 Ulrich Drepper <drepper@gmail.com>
22075 * Makeconfig: Remove RANLIB definition.
22076 * Makerules: Don't use RANLIB.
22077 * aclocal.m4: Remove ranlib test.
22078 * configure.in: No need to check for ranlib.
22079 * elf/rtld-Rules: Don't use RANLIB.
22081 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22083 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
22085 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
22086 inclusion protection macro.
22088 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
22089 SIGRTMIN and SIGRTMAX and print information in that case only when
22090 SIGRTMIN is defined.
22092 2011-02-11 Jakub Jelinek <jakub@redhat.com>
22094 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
22095 arginfo fn returning -1.
22097 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
22098 and thousands string is zero terminated.
22100 2011-02-03 Andreas Schwab <schwab@redhat.com>
22102 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
22103 sysdeps/unix/sysv/linux/bits/socket.h.
22105 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
22107 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
22108 (__CPU_COUNT): Remove old macros.
22109 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
22110 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
22111 (__CPU_ALLOC, __CPU_FREE): Add macros.
22112 (__sched_cpualloc, __sched_cpufree): Add declarations.
22114 2011-02-05 Ulrich Drepper <drepper@gmail.com>
22116 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
22117 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
22118 * nscd/aicache.c (addhstaiX): Return timeout of added value.
22119 (readdhstai): Return value of addhstaiX call.
22120 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
22121 (addgrbyX): Return value returned by cache_addgr.
22122 (readdgrbyname): Return value returned by addgrbyX.
22123 (readdgrbygid): Likewise.
22124 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
22125 (addpwbyX): Return value returned by cache_addpw.
22126 (readdpwbyname): Return value returned by addhstbyX.
22127 (readdpwbyuid): Likewise.
22128 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
22129 (addservbyX): Return value returned by cache_addserv.
22130 (readdservbyname): Return value returned by addservbyX:
22131 (readdservbyport): Likewise.
22132 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
22133 (addhstbyX): Return value returned by cache_addhst.
22134 (readdhstbyname): Return value returned by addhstbyX.
22135 (readdhstbyaddr): Likewise.
22136 (readdhstbynamev6): Likewise.
22137 (readdhstbyaddrv6): Likewise.
22138 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
22139 (readdinitgroups): Return value returned by addinitgroupsX.
22140 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
22141 (prune_cache): Keep track of timeout value of re-added entries.
22142 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
22143 * nscd/nscd.h: Adjust prototypes of readd* functions.
22145 2011-02-04 Roland McGrath <roland@redhat.com>
22147 * nis/nis_server.c (nis_servstate): Use the right name for 0.
22148 (nis_stats): Likewise.
22149 * nis/nis_modify.c (nis_modify): Likewise.
22150 * nis/nis_remove.c (nis_remove): Likewise.
22151 * nis/nis_add.c (nis_add): Likewise.
22153 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
22155 * posix/fnmatch_loop.c: Add some consts.
22157 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
22159 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
22162 * config.make.in (config-cflags-novzeroupper): Define.
22163 * configure.in: Substitute libc_cv_cc_novzeroupper.
22164 * elf/Makefile (AVX-CFLAGS): Define.
22165 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
22166 (CFLAGS-tst-auditmod4a.c): Likewise.
22167 (CFLAGS-tst-auditmod4b.c): Likewise.
22168 (CFLAGS-tst-auditmod6b.c): Likewise.
22169 (CFLAGS-tst-auditmod6c.c): Likewise.
22170 (CFLAGS-tst-auditmod7b.c): Likewise.
22171 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
22173 2011-02-02 Ulrich Drepper <drepper@gmail.com>
22175 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
22176 function to the callback.
22177 Patch partly by Jiri Olsa <jolsa@redhat.com>.
22179 2011-02-02 Andreas Schwab <schwab@redhat.com>
22181 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
22184 2011-01-19 Ulrich Drepper <drepper@gmail.com>
22187 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
22189 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
22191 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
22194 * elf/Makefile: Add rules to build and run new test.
22195 * elf/tst-initorder.c: New file.
22196 * elf/tst-initorder.exp: New file.
22197 * elf/tst-initordera1.c: New file.
22198 * elf/tst-initordera2.c: New file.
22199 * elf/tst-initordera3.c: New file.
22200 * elf/tst-initordera4.c: New file.
22201 * elf/tst-initorderb1.c: New file.
22202 * elf/tst-initorderb2.c: New file.
22203 * elf/tst-order-a1.c: New file.
22204 * elf/tst-order-a2.c: New file.
22205 * elf/tst-order-a3.c: New file.
22206 * elf/tst-order-a4.c: New file.
22207 * elf/tst-order-b1.c: New file.
22208 * elf/tst-order-b2.c: New file.
22209 * elf/tst-order-main.c: New file.
22210 New test case by George Gensure <werkt0@gmail.com>.
22212 2010-10-01 Andreas Schwab <schwab@redhat.com>
22214 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22215 decoding ACE if AI_CANONIDN.
22217 2011-01-18 Ulrich Drepper <drepper@gmail.com>
22219 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
22221 2011-01-17 Ulrich Drepper <drepper@gmail.com>
22223 * version.h (RELEASE): Bump for 2.13 release.
22224 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
22226 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
22228 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
22230 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
22231 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22232 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22233 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22234 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22235 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22237 * posix/getconf.c: Update copyright year.
22238 * catgets/gencat.c: Likewise.
22239 * csu/version.c: Likewise.
22240 * debug/catchsegv.sh: Likewise.
22241 * debug/xtrace.sh: Likewise.
22242 * elf/ldconfig.c: Likewise.
22243 * elf/ldd.bash.in: Likewise.
22244 * elf/sprof.c (print_version): Likewise.
22245 * iconv/iconv_prog.c: Likewise.
22246 * iconv/iconvconfig.c: Likewise.
22247 * locale/programs/locale.c: Likewise.
22248 * locale/programs/localedef.c: Likewise.
22249 * malloc/memusage.sh: Likewise.
22250 * malloc/mtrace.pl: Likewise.
22251 * nscd/nscd.c (print_version): Likewise.
22252 * nss/getent.c: Likewise.
22254 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
22255 PF_CAIF, and PF_ALG.
22256 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22258 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
22260 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
22261 (modules-names): Use them.
22262 (ifunc-test-modules, ifunc-pie-tests): Define.
22263 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
22264 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
22265 (test-extras): Likewise.
22266 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
22267 $(compile-command.c).
22268 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
22269 (all-built-dso): Define.
22270 (check-textrel.out, check-execstack.out): Depend on it.
22272 * configure.in: Don't override --enable-multi-arch.
22274 2011-01-15 Ulrich Drepper <drepper@gmail.com>
22277 * nscd/hstcache.c (tryagain): Define.
22278 (cache_addhst): Return tryagain not notfound for temporary errors.
22279 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
22282 2011-01-14 Ulrich Drepper <drepper@gmail.com>
22285 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
22286 to make the syscall.
22287 * sysdeps/unix/sysv/linux/setgroups.c: New file.
22290 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
22291 and fall back to matching as normal character if the string ends before
22292 the matching ']' is found. This is what POSIX requires.
22293 * posix/testfnm.c: Adjust test result.
22294 * posix/globtest.sh: Adjust test result. Add new test.
22295 * posix/tst-fnmatch.input: Likewise.
22296 * posix/tst-fnmatch2.c: Add new test.
22298 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
22300 * elf/Makefile (check-execstack): Revert last change. Depend on
22302 (check-execstack.h): New target.
22303 (generated): Add check-execstack.h.
22304 * elf/check-execstack.c: Include "check-execstack.h".
22305 (main): Revert last change.
22306 (handle_file): Return zero if GNU_STACK is absent and
22307 DEFAULT_STACK_PERMS doesn't include PF_X.
22309 2011-01-13 Ulrich Drepper <drepper@gmail.com>
22311 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
22312 in child fails because the descriptor is already closed.
22313 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
22314 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
22315 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
22318 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
22322 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
22323 temporary buffer used to handle multi lookups locally.
22324 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
22326 2011-01-12 Ulrich Drepper <drepper@gmail.com>
22328 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
22331 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
22333 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
22334 alignment for SSE2.
22336 2011-01-12 Ulrich Drepper <drepper@gmail.com>
22339 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
22340 characters. When rounding increased number of integer digits recompute
22342 * stdio-common/tst-grouping.c: New file.
22343 * stdio-common/Makefile: Add rules to build and run tst-grouping.
22345 2011-01-09 Ulrich Drepper <drepper@gmail.com>
22347 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
22348 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
22350 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
22352 * bits/select.h: Likewise.
22354 2011-01-08 Ulrich Drepper <drepper@gmail.com>
22356 * po/ja.po: Update from translation team.
22358 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
22361 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
22362 implementation just like for lxstat, fxstatat, et al.
22364 2010-12-27 Jim Meyering <meyering@redhat.com>
22367 * posix/regexec.c (build_trtable): Return failure indication upon
22368 calloc failure. Otherwise, re_search_internal could infloop on OOM.
22370 2010-12-25 Ulrich Drepper <drepper@gmail.com>
22373 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
22374 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
22375 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
22376 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
22379 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
22382 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
22383 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
22385 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
22387 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
22388 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
22389 script has SORT_BY_INIT_PRIORITY.
22390 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
22391 NO_CTORS_DTORS_SECTIONS is defined.
22392 * elf/soinit.c: Likewise.
22393 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
22394 NO_CTORS_DTORS_SECTIONS is defined.
22395 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
22396 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
22397 * sysdeps/sh/init-first.c: Likewise.
22398 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
22400 2010-12-24 Ulrich Drepper <drepper@gmail.com>
22402 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
22403 always use the slow path.
22405 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
22407 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
22408 similar rule which adds the sysdep directories to the header search in
22409 order to pick up the correct platform stackinfo.h.
22410 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
22411 perform test if it is, otherwise return successfully without testing.
22412 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
22413 DEFAULT_STACK_PERMS define in stackinfo.h.
22414 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
22415 defined in stackinfo.h.
22416 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
22417 DEFAULT_STACK_PERMS defined in stackinfo.h.
22418 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
22419 * sysdeps/ia64/stackinfo.h: Likewise.
22420 * sysdeps/s390/stackinfo.h: Likewise.
22421 * sysdeps/sh/stackinfo.h: Likewise.
22422 * sysdeps/sparc/stackinfo.h: Likewise.
22423 * sysdeps/x86_64/stackinfo.h: Likewise.
22424 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
22425 PF_X for powerpc64. Retain PF_X for powerpc32.
22427 2010-12-19 Ulrich Drepper <drepper@gmail.com>
22429 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
22431 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
22432 GETDENTS_64BIT_ALIGNED.
22434 2010-12-14 Ulrich Drepper <dreper@gmail.com>
22436 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
22438 2010-12-10 Andreas Schwab <schwab@redhat.com>
22440 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
22443 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
22444 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
22446 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
22447 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
22449 2010-12-09 Ulrich Drepper <drepper@gmail.com>
22452 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
22455 2010-12-09 Jakub Jelinek <jakub@redhat.com>
22457 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
22459 2010-12-03 Ulrich Drepper <drepper@gmail.com>
22461 * po/it.po: Update from translation team.
22463 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
22465 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
22468 2010-11-30 Ulrich Drepper <drepper@gmail.com>
22470 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
22472 2010-11-24 Andreas Schwab <schwab@redhat.com>
22474 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
22476 (gaih_getanswer_slice): Likewise.
22478 2010-10-20 Jakub Jelinek <jakub@redhat.com>
22480 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
22482 2010-05-31 Petr Baudis <pasky@suse.cz>
22485 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
22486 silently even in the chroot mode.
22488 2010-11-22 Ulrich Drepper <drepper@gmail.com>
22490 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
22491 last patch a bit. Pretty printing
22493 2010-05-31 Petr Baudis <pasky@suse.cz>
22496 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
22497 initialization of skip_initgroups_dyn.
22499 2010-11-19 Ulrich Drepper <drepper@gmail.com>
22501 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
22502 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22504 2010-11-16 Ulrich Drepper <drepper@gmail.com>
22506 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
22508 2010-11-11 Andreas Schwab <schwab@redhat.com>
22510 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
22511 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
22512 (tst-fnmatch-ENV): Set MALLOC_TRACE.
22513 ($(objpfx)tst-fnmatch-mem): New rule.
22514 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
22515 * posix/tst-fnmatch.c (main): Call mtrace.
22517 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
22519 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22520 Support Intel processor model 6 and model 0x2c.
22522 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
22524 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
22527 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
22530 * string/test-strncasecmp.c (check_result): New function.
22531 (do_one_test): Use it.
22532 (check1): New function.
22533 (test_main): Use it.
22534 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
22535 Support strcasecmp and strncasecmp.
22537 2010-11-08 Ulrich Drepper <drepper@gmail.com>
22540 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
22541 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22543 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
22545 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
22547 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22549 * sysdeps/x86_64/multiarch/bzero.S: New file.
22550 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
22551 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
22552 * sysdeps/x86_64/multiarch/memset.S: New file.
22553 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
22554 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22555 Set bit_Prefer_SSE_for_memop for Intel processors.
22556 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
22558 (index_Prefer_SSE_for_memop): Define.
22559 (HAS_PREFER_SSE_FOR_MEMOP): Define.
22561 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
22563 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
22564 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
22566 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
22569 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22570 (__x86_64_raw_data_cache_size_half): Likewise.
22571 (__x86_64_raw_shared_cache_size): Likewise.
22572 (__x86_64_raw_shared_cache_size_half): Likewise.
22574 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22575 (__x86_64_raw_data_cache_size_half): Likewise.
22576 (__x86_64_raw_shared_cache_size): Likewise.
22577 (__x86_64_raw_shared_cache_size_half): Likewise.
22578 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
22579 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
22580 and __x86_64_raw_shared_cache_size_half. Round
22581 __x86_64_data_cache_size_half, __x86_64_data_cache_size
22582 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
22583 to multiple of 256 bytes.
22585 2010-11-03 Ulrich Drepper <drepper@gmail.com>
22588 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
22589 of inacessible symlinks. Verify result of symlink before returning it.
22590 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22591 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
22593 2010-10-28 Erich Ritz <erichritz@gmail.com>
22595 * math/math.h (isinf): Fix typo in comment.
22597 2010-11-01 Ulrich Drepper <drepper@gmail.com>
22599 * po/da.po: Update from translation team.
22601 2010-10-26 Ulrich Drepper <drepper@gmail.com>
22603 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22604 is added to the list.
22606 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22607 Ulrich Drepper <drepper@gmail.com>
22609 * elf/dl-object.c (_dl_new_object): Don't append the new object to
22610 the global list here. Move code to...
22611 (_dl_add_to_namespace_list): ...here. New function.
22612 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
22613 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
22614 * elf/dl-load.c (lose): Don't remove the element from the list.
22615 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
22616 (_dl_map_object): Likewise.
22618 2010-10-25 Ulrich Drepper <drepper@gmail.com>
22621 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
22622 into all bytes of SSE register.
22623 Patch by Richard Li <richardpku@gmail.com>.
22625 2010-10-24 Ulrich Drepper <drepper@gmail.com>
22628 * malloc/malloc.c (_int_free): Fill correct number of bytes when
22631 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
22633 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22634 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22635 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22636 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22641 2010-10-22 Andreas Schwab <schwab@redhat.com>
22643 * include/dlfcn.h (__RTLD_SECURE): Define.
22644 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
22645 mode & __RTLD_SECURE instead.
22646 (open_path): Rename preloaded parameter to secure.
22647 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
22648 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
22649 * elf/dl-deps.c (openaux): Likewise.
22650 * elf/rtld.c (struct map_args): Remove is_preloaded.
22651 (map_doit): Don't use it.
22652 (dl_main): Likewise.
22653 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
22654 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
22656 2010-09-09 Andreas Schwab <schwab@redhat.com>
22658 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
22659 (sysd-rules-targets): Remove duplicates.
22660 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
22661 rtld-%.$o dependency.
22663 2010-10-18 Andreas Schwab <schwab@redhat.com>
22665 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
22666 _dl_map_object do it.
22668 2010-10-19 Ulrich Drepper <drepper@gmail.com>
22670 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
22671 fast fma builtins, define the macros in the C99 standard.
22672 (FP_FAST_FMAF): Likewise.
22673 (FP_FAST_FMAL): Likewise.
22674 * sysdeps/x86_64/bits/mathdef.h: Likewise.
22676 * bits/mathdef.h: Update copyright year.
22677 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22679 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
22681 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
22682 builtins, define the macros in the C99 standard.
22683 (FP_FAST_FMAF): Likewise.
22684 (FP_FAST_FMAL): Likewise.
22685 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
22687 (FP_FAST_FMAF): Likewise.
22689 2010-10-15 Jakub Jelinek <jakub@redhat.com>
22692 * math/libm-test.inc (fma_test): Some new testcases.
22693 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
22694 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
22695 y and infinite z. Do multiplication by C already in long double.
22696 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
22697 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
22698 y and infinite z. Do bitwise or of inexact bit into u.d.
22699 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
22700 * sysdeps/i386/fpu/s_fmaf.S: Removed.
22701 * sysdeps/i386/fpu/s_fma.S: Removed.
22702 * sysdeps/i386/fpu/s_fmal.S: Removed.
22704 2010-10-16 Jakub Jelinek <jakub@redhat.com>
22707 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
22708 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
22709 computation is not scheduled after fetestexcept. Fix value
22710 of minimum denormal long double.
22712 2010-10-14 Jakub Jelinek <jakub@redhat.com>
22715 * math/libm-test.inc (fma_test): Add some more tests.
22716 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
22719 2010-10-15 Andreas Schwab <schwab@redhat.com>
22721 * scripts/data/localplt-s390-linux-gnu.data: New file.
22722 * scripts/data/localplt-s390x-linux-gnu.data: New file.
22724 2010-10-13 Jakub Jelinek <jakub@redhat.com>
22727 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
22728 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
22730 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
22732 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
22733 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
22734 if one of x and y is very large and the other is subnormal.
22735 * sysdeps/s390/fpu/s_fmaf.c: New file.
22736 * sysdeps/s390/fpu/s_fma.c: New file.
22737 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
22738 * sysdeps/powerpc/fpu/s_fma.S: New file.
22739 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
22740 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
22741 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
22743 2010-10-12 Jakub Jelinek <jakub@redhat.com>
22746 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22748 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22749 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22750 * sysdeps/i386/i686/multiarch/s_fma.c: Include
22751 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22752 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22753 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22754 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22756 2010-10-12 Ulrich Drepper <drepper@redhat.com>
22759 * posix/regcomp.c (parse_branch): One more memory leak plugged.
22760 * posix/bug-regex31.input: Add test case.
22762 2010-10-11 Ulrich Drepper <drepper@gmail.com>
22764 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22765 * posix/bug-regex31.input: New file.
22768 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22769 (parse_sub_exp): Fix last change, use postorder.
22771 * posix/bug-regex31.c: New file.
22772 * posix/Makefile: Add rules to build and run bug-regex31.
22774 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22777 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22780 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22781 to have entries in sys_siglist.
22784 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22787 2010-10-07 Jakub Jelinek <jakub@redhat.com>
22790 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22791 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22792 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22793 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22794 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22795 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22796 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22797 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22798 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22799 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22800 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22801 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22802 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22803 * math/ftestexcept.c (fetestexcept): Likewise.
22804 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22805 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22806 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22807 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22808 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22809 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22810 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22812 2010-10-11 Ulrich Drepper <drepper@gmail.com>
22815 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22818 2010-10-06 Ulrich Drepper <drepper@gmail.com>
22820 * string/bug-strstr1.c: New file.
22821 * string/Makefile: Add rules to build and run bug-strstr1.
22823 2010-10-05 Eric Blake <eblake@redhat.com>
22826 * string/str-two-way.h (two_way_long_needle): Always clear memory
22827 when skipping input due to the shift table.
22829 2010-10-03 Ulrich Drepper <drepper@gmail.com>
22832 * malloc/mcheck.c: Handle large requests.
22835 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22836 for strncmp and strncasecmp.
22837 * string/stratcliff.c: Add tests for strcmp and strncmp.
22838 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22840 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22842 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22845 2010-09-30 Andreas Jaeger <aj@suse.de>
22847 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22848 (CGROUP_SUPER_MAGIC): Define.
22849 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22850 Handle btrfs and cgroup file systems.
22851 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22854 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
22856 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22857 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22859 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22862 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22863 trying to locate the ELF header.
22865 2010-09-27 Andreas Schwab <schwab@redhat.com>
22868 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22869 Mask out sign-bit copies when constructing f_fsid.
22871 2010-09-24 Petr Baudis <pasky@suse.cz>
22873 * debug/stack_chk_fail_local.c: Add missing licence exception.
22874 * debug/warning-nop.c: Likewise.
22876 2010-09-15 Joseph Myers <joseph@codesourcery.com>
22878 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22879 implementing getdents64 using getdents syscall, set d_type if
22880 __ASSUME_GETDENTS32_D_TYPE.
22882 2010-09-16 Andreas Schwab <schwab@redhat.com>
22884 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22885 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22887 2010-09-21 Ulrich Drepper <drepper@redhat.com>
22890 * posix/unistd.h: Undo change of feature selection for ftruncate from
22893 2010-09-20 Ulrich Drepper <drepper@redhat.com>
22895 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
22898 2010-09-20 Andreas Schwab <schwab@redhat.com>
22900 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22902 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22904 2010-09-14 Andreas Schwab <schwab@redhat.com>
22906 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22907 variables after CHECK_SP call.
22908 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22910 2010-09-13 Andreas Schwab <schwab@redhat.com>
22911 Ulrich Drepper <drepper@redhat.com>
22913 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22914 re-relocationg ld.so.
22915 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22916 _dl_init_paths call.
22917 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
22920 2010-09-14 Ulrich Drepper <drepper@redhat.com>
22922 * resolv/res_init.c (__res_vinit): Count the default server we added.
22924 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
22925 Ulrich Drepper <drepper@redhat.com>
22928 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22929 (____longjmp_chk): Use %ebx for saving value across system call.
22932 2010-09-06 Andreas Schwab <schwab@redhat.com>
22934 * manual/Makefile: Don't mix pattern rules with normal rules.
22936 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
22938 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
22940 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22941 * libio/iofopncook.c (_IO_cookie_init): Likewise.
22942 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22943 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22944 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22947 2010-09-04 Ulrich Drepper <drepper@redhat.com>
22950 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
22951 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
22953 2010-09-02 Ulrich Drepper <drepper@redhat.com>
22955 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
22956 * sysdeps/x86_64/addmul_1.S: Likewise.
22957 * sysdeps/x86_64/lshift.S: Likewise.
22958 * sysdeps/x86_64/mul_1.S: Likewise.
22959 * sysdeps/x86_64/rshift.S: Likewise.
22960 * sysdeps/x86_64/sub_n.S: Likewise.
22961 * sysdeps/x86_64/submul_1.S: Likewise.
22963 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
22965 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
22966 Define __sched_param instead of SCHED_* and sched_param when
22967 <bits/sched.h> is included with __need_schedparam defined.
22968 * bits/sched.h [__need_schedparam]
22969 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
22970 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
22971 (__defined_schedparam): Define to 1.
22972 (__sched_param): New structure, identical to sched_param.
22973 (__need_schedparam): Undefine.
22975 2010-08-31 Mike Frysinger <vapier@gentoo.org>
22977 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
22978 (epoll_create1): Declare.
22980 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
22982 2010-08-31 Andreas Schwab <schwab@redhat.com>
22985 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
22986 shifting retval into place.
22988 2010-09-01 Ulrich Drepper <drepper@redhat.com>
22990 * nis/rpcsvc/nis.h: Update copyright notice.
22991 * nis/rpcsvc/nis.x: Likewise.
22992 * nis/rpcsvc/nis_callback.h: Likewise.
22993 * nis/rpcsvc/nis_callback.x: Likewise.
22994 * nis/rpcsvc/nis_object.x: Likewise.
22995 * nis/rpcsvc/nis_tags.h: Likewise.
22996 * nis/rpcsvc/yp.h: Likewise.
22997 * nis/rpcsvc/yp.x: Likewise.
22998 * nis/rpcsvc/ypupd.h: Likewise.
22999 * nis/yp_xdr.c: Likewise.
23000 * nis/ypupdate_xdr.c: Likewise.
23002 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
23003 mainly the body of pmap_getport. Add parameters to specify timeouts.
23004 (pmap_getport): Use __libc_rpc_getport.
23005 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
23006 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
23007 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
23009 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
23011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
23014 2010-08-27 Roland McGrath <roland@redhat.com>
23016 * sysdeps/i386/i686/multiarch/Makefile
23017 (CFLAGS-varshift.c): New variable.
23019 2010-08-27 Ulrich Drepper <drepper@redhat.com>
23021 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
23022 * sysdeps/i386/i686/multiarch/varshift.c: New file.
23024 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
23026 * sysdeps/x86_64/strlen.S: Minimal code improvement.
23028 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
23030 * sysdeps/x86_64/strlen.S: Unroll the loop.
23031 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23032 strlen-sse2 strlen-sse2-bsf.
23033 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
23034 __strlen_no_bsf if bit_Slow_BSF is set.
23035 (__strlen_sse42): Removed.
23036 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
23037 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
23039 2010-08-25 Roland McGrath <roland@redhat.com>
23041 * sysdeps/x86_64/multiarch/varshift.S: File removed.
23042 * sysdeps/x86_64/multiarch/varshift.c: New file.
23043 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
23044 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
23045 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
23046 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23048 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
23050 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23051 strlen-sse2 strlen-sse2-bsf.
23052 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
23053 __strlen_sse2_bsf if bit_Slow_BSF is unset.
23054 (__strlen_sse2): Removed.
23055 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
23056 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
23057 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23058 bit_Slow_BSF for Atom.
23059 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
23060 (index_Slow_BSF): Define.
23061 (HAS_SLOW_BSF): Define.
23063 2010-08-25 Ulrich Drepper <drepper@redhat.com>
23066 * resolv/res_init.c (__res_vinit): When no server address at all
23067 is given default to loopback.
23069 2010-08-24 Roland McGrath <roland@redhat.com>
23071 * configure.in: Remove config-name.h generation.
23072 * configure: Regenerated.
23073 * config-name.in: File removed.
23074 * scripts/config-uname.sh: New file.
23075 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
23076 ($(objdir)config-name.h): New target.
23078 * sunrpc/rpc_parse.h: Avoid nested comment.
23080 2010-08-24 Richard Henderson <rth@redhat.com>
23081 Ulrich Drepper <drepper@redhat.com>
23082 H.J. Lu <hongjiu.lu@intel.com>
23084 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
23085 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
23086 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
23087 Replace _mm_srli_si128 with __m128i_shift_right. Replace
23088 _mm_alignr_epi8 with _mm_loadu_si128.
23089 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
23090 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
23091 (__m128i_shift_right): Removed.
23092 * sysdeps/i386/i686/multiarch/varshift.h: New file.
23093 * sysdeps/i386/i686/multiarch/varshift.S: New file.
23094 * sysdeps/x86_64/multiarch/varshift.h: New file.
23095 * sysdeps/x86_64/multiarch/varshift.S: New file.
23097 2010-08-21 Mike Frysinger <vapier@gentoo.org>
23099 * configure.in: Move assembler checks to before sysdep dir checking.
23101 2010-08-20 Petr Baudis <pasky@suse.cz>
23103 * LICENSES: Sync the sunrpc license.
23105 2010-08-19 Ulrich Drepper <drepper@redhat.com>
23107 * sunrpc/auth_des.c: Update copyright notice once again.
23108 * sunrpc/auth_none.c: Likewise.
23109 * sunrpc/auth_unix.c: Likewise.
23110 * sunrpc/authdes_prot.c: Likewise.
23111 * sunrpc/authuxprot.c: Likewise.
23112 * sunrpc/bindrsvprt.c: Likewise.
23113 * sunrpc/clnt_gen.c: Likewise.
23114 * sunrpc/clnt_perr.c: Likewise.
23115 * sunrpc/clnt_raw.c: Likewise.
23116 * sunrpc/clnt_simp.c: Likewise.
23117 * sunrpc/clnt_tcp.c: Likewise.
23118 * sunrpc/clnt_udp.c: Likewise.
23119 * sunrpc/clnt_unix.c: Likewise.
23120 * sunrpc/des_crypt.c: Likewise.
23121 * sunrpc/des_soft.c: Likewise.
23122 * sunrpc/get_myaddr.c: Likewise.
23123 * sunrpc/getrpcport.c: Likewise.
23124 * sunrpc/key_call.c: Likewise.
23125 * sunrpc/key_prot.c: Likewise.
23126 * sunrpc/openchild.c: Likewise.
23127 * sunrpc/pm_getmaps.c: Likewise.
23128 * sunrpc/pm_getport.c: Likewise.
23129 * sunrpc/pmap_clnt.c: Likewise.
23130 * sunrpc/pmap_prot.c: Likewise.
23131 * sunrpc/pmap_prot2.c: Likewise.
23132 * sunrpc/pmap_rmt.c: Likewise.
23133 * sunrpc/rpc/auth.h: Likewise.
23134 * sunrpc/rpc/auth_unix.h: Likewise.
23135 * sunrpc/rpc/clnt.h: Likewise.
23136 * sunrpc/rpc/des_crypt.h: Likewise.
23137 * sunrpc/rpc/key_prot.h: Likewise.
23138 * sunrpc/rpc/netdb.h: Likewise.
23139 * sunrpc/rpc/pmap_clnt.h: Likewise.
23140 * sunrpc/rpc/pmap_prot.h: Likewise.
23141 * sunrpc/rpc/pmap_rmt.h: Likewise.
23142 * sunrpc/rpc/rpc.h: Likewise.
23143 * sunrpc/rpc/rpc_des.h: Likewise.
23144 * sunrpc/rpc/rpc_msg.h: Likewise.
23145 * sunrpc/rpc/svc.h: Likewise.
23146 * sunrpc/rpc/svc_auth.h: Likewise.
23147 * sunrpc/rpc/types.h: Likewise.
23148 * sunrpc/rpc/xdr.h: Likewise.
23149 * sunrpc/rpc_clntout.c: Likewise.
23150 * sunrpc/rpc_cmsg.c: Likewise.
23151 * sunrpc/rpc_common.c: Likewise.
23152 * sunrpc/rpc_cout.c: Likewise.
23153 * sunrpc/rpc_dtable.c: Likewise.
23154 * sunrpc/rpc_hout.c: Likewise.
23155 * sunrpc/rpc_main.c: Likewise.
23156 * sunrpc/rpc_parse.c: Likewise.
23157 * sunrpc/rpc_parse.h: Likewise.
23158 * sunrpc/rpc_prot.c: Likewise.
23159 * sunrpc/rpc_sample.c: Likewise.
23160 * sunrpc/rpc_scan.c: Likewise.
23161 * sunrpc/rpc_scan.h: Likewise.
23162 * sunrpc/rpc_svcout.c: Likewise.
23163 * sunrpc/rpc_tblout.c: Likewise.
23164 * sunrpc/rpc_util.c: Likewise.
23165 * sunrpc/rpc_util.h: Likewise.
23166 * sunrpc/rpcinfo.c: Likewise.
23167 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
23168 * sunrpc/rpcsvc/key_prot.x: Likewise.
23169 * sunrpc/rpcsvc/klm_prot.x: Likewise.
23170 * sunrpc/rpcsvc/mount.x: Likewise.
23171 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
23172 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
23173 * sunrpc/rpcsvc/rex.x: Likewise.
23174 * sunrpc/rpcsvc/rstat.x: Likewise.
23175 * sunrpc/rpcsvc/rusers.x: Likewise.
23176 * sunrpc/rpcsvc/sm_inter.x: Likewise.
23177 * sunrpc/rpcsvc/spray.x: Likewise.
23178 * sunrpc/rpcsvc/yppasswd.x: Likewise.
23179 * sunrpc/rtime.c: Likewise.
23180 * sunrpc/svc.c: Likewise.
23181 * sunrpc/svc_auth.c: Likewise.
23182 * sunrpc/svc_authux.c: Likewise.
23183 * sunrpc/svc_raw.c: Likewise.
23184 * sunrpc/svc_run.c: Likewise.
23185 * sunrpc/svc_simple.c: Likewise.
23186 * sunrpc/svc_tcp.c: Likewise.
23187 * sunrpc/svc_udp.c: Likewise.
23188 * sunrpc/svc_unix.c: Likewise.
23189 * sunrpc/svcauth_des.c: Likewise.
23190 * sunrpc/xcrypt.c: Likewise.
23191 * sunrpc/xdr.c: Likewise.
23192 * sunrpc/xdr_array.c: Likewise.
23193 * sunrpc/xdr_float.c: Likewise.
23194 * sunrpc/xdr_mem.c: Likewise.
23195 * sunrpc/xdr_rec.c: Likewise.
23196 * sunrpc/xdr_ref.c: Likewise.
23197 * sunrpc/xdr_sizeof.c: Likewise.
23198 * sunrpc/xdr_stdio.c: Likewise.
23200 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
23203 2010-08-19 Andreas Schwab <schwab@redhat.com>
23205 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
23207 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
23209 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
23210 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
23211 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
23212 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
23213 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
23214 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
23215 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
23216 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
23217 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
23218 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
23219 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
23220 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
23221 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
23222 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
23224 2010-07-26 Anton Blanchard <anton@samba.org>
23226 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
23227 * malloc/arena.c (heap_trim): Likewise.
23229 2010-08-16 Ulrich Drepper <drepper@redhat.com>
23231 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
23233 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
23234 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
23236 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
23238 * sysdeps/i386/elf/Makefile: New file.
23240 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23242 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
23243 from fanotify_init.
23244 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
23245 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23247 2010-08-15 Ulrich Drepper <drepper@redhat.com>
23249 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
23251 * sysdeps/multiarch/strcmp.S: Likewise.
23253 2010-08-14 Ulrich Drepper <drepper@redhat.com>
23255 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23256 strncase_l-nonascii.
23257 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23258 Add strncase_l-ssse3.
23259 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
23260 * sysdeps/x86_64/strcmp.S: Likewise.
23261 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
23262 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
23263 * sysdeps/x86_64/strncase.S: New file.
23264 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
23265 * sysdeps/x86_64/strncase_l.S: New file.
23266 * string/Makefile (strop-tests): Add strncasecmp.
23267 * string/test-strncasecmp.c: New file.
23269 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
23272 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
23273 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
23275 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23277 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
23279 2010-08-12 Ulrich Drepper <drepper@redhat.com>
23281 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
23282 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
23283 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
23285 2010-05-01 Alan Modra <amodra@gmail.com>
23287 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
23288 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
23289 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
23290 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
23291 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
23292 tidying. Don't tail-call __sigjmp_save for static lib.
23293 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
23295 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
23296 (CALL_MCOUNT): Add eh info, and nop after bl.
23297 (TAIL_CALL_SYSCALL_ERROR): New macro.
23298 (PSEUDO_RET): Use it.
23299 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
23300 Correct save location of integer regs and cr.
23301 (_dl_profile_resolve): Correct cr save location. Delete nops
23302 after bl when SHARED. Reduce cfi size a little by better
23303 placement of cfi directives.
23304 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
23305 make a stack frame. Instead use parm save area as a temp.
23306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
23307 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
23308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23309 Don't make a stack frame for parent, use parm save area.
23310 Increase child stack frame to 112 bytes. Don't save unused reg,
23311 and adjust reg usage. Set up cfi on error recovery and
23312 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
23313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23314 (__makecontext): Add dummy nop after jump to exit.
23315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
23316 Use correct parm save area and cr save, reduce stack frame.
23317 Correct cfi for possible PSEUDO_RET frame setup.
23318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
23319 Branch to local label emitted by PSEUDO_RET rather than
23322 2010-08-12 Andreas Schwab <schwab@redhat.com>
23325 * locale/programs/locale.c (print_assignment): New function.
23326 (show_locale_vars): Use it.
23328 2010-08-11 Ulrich Drepper <drepper@redhat.com>
23330 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
23332 (struct statfs64): Likewise.
23333 (_STATFS_F_FLAGS): Define.
23334 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
23335 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23336 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
23337 (ST_VALID): Define locally.
23338 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
23339 __statvfs_getflags, use the provided value.
23340 * sysdeps/unix/sysv/linux/kernel-features.h: Define
23341 __ASSUME_STATFS_F_FLAGS.
23343 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
23345 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
23346 Add sys/fanotify.h.
23347 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
23348 fanotify_mask for GLIBC_2.13.
23349 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
23350 fanotify_init and fanotify_mark.
23351 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23352 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
23354 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
23356 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
23357 prlimit64 for GLIBC_2.13.
23358 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
23360 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
23362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
23363 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23364 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
23365 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
23366 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
23368 * sysdeps/unix/sysv/linux/prlimit.c: New file.
23371 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
23372 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
23374 * nss/Makefile: Add rules to build and run tst-nss-test1.
23375 * shlib-versions: Add entry for libnss_test1.
23376 * nss/nss_test1.c: New file.
23377 * nss/tst-nss-test1.c: New file.
23379 * nss/nsswitch.c (__nss_database_custom): Define new variable.
23380 (__nss_configure_lookup): Set appropriate entry in
23381 __nss_configure_lookup to true.
23382 * nss/nsswitch.h: Define enum with indeces of databases in
23383 databases and __nss_database_custom arrays. Declare
23384 __nss_database_custom.
23385 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
23386 to avoid using nscd when custom rules are installed.
23387 * nss/getXXbyYY_r.c: Likewise.
23388 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23390 * nss/nss_files/files-parse.c: Whitespace fixes.
23392 2010-08-09 Ulrich Drepper <drepper@redhat.com>
23395 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
23396 * posix/fnmatch_loop.c: Likewise.
23398 2010-07-17 Andi Kleen <ak@linux.intel.com>
23400 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
23401 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
23402 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
23403 * Versions.def [GLIBC_2.13]: Add.
23405 2010-08-06 Ulrich Drepper <drepper@redhat.com>
23407 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23408 Also fail if tpwd after pwuid call is NULL.
23410 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
23412 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
23413 when converting to ms.
23415 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23417 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
23418 EOPNOTSUPP errors with ENOTTY.
23419 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
23420 EOPNOTSUPP errors with ENOTTY.
23422 2010-07-31 Ulrich Drepper <drepper@redhat.com>
23424 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23425 Add strcasecmp_l-ssse3.
23426 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
23428 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
23429 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
23430 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
23432 2010-07-30 Ulrich Drepper <drepper@redhat.com>
23434 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
23436 * string/Makefile (strop-tests): Add strcasecmp.
23437 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23438 strcasecmp_l-nonascii.
23439 (gen-as-const-headers): Add locale-defines.sym.
23440 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
23441 * sysdeps/x86_64/strcasecmp.S: New file.
23442 * sysdeps/x86_64/strcasecmp_l.S: New file.
23443 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
23444 * sysdeps/x86_64/locale-defines.sym: New file.
23445 * string/test-strcasecmp.c: New file.
23447 * string/test-strcasestr.c: Test both ends of the range of characters.
23448 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
23450 2010-07-29 Roland McGrath <roland@redhat.com>
23453 * manual/locale.texi (Yes-or-No Questions): Fix example code.
23455 2010-07-27 Ulrich Drepper <drepper@redhat.com>
23457 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
23460 2010-07-27 Andreas Schwab <schwab@redhat.com>
23462 * manual/memory.texi (Malloc Tunable Parameters): Document
23465 2010-07-26 Roland McGrath <roland@redhat.com>
23468 * configure.in (-fgnu89-inline check): Set and substitute
23469 gnu89_inline, not libc_cv_gnu89_inline.
23470 * configure: Regenerated.
23471 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
23473 2010-07-26 Ulrich Drepper <drepper@redhat.com>
23475 * string/test-strnlen.c: New file.
23476 * string/Makefile (strop-tests): Add strnlen.
23477 * string/tester.c (test_strnlen): Add a few more test cases.
23478 * string/tst-strlen.c: Better error reporting.
23480 * sysdeps/x86_64/strnlen.S: New file.
23482 2010-07-24 Ulrich Drepper <drepper@redhat.com>
23484 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
23485 lower-latency instructions.
23487 2010-07-23 Ulrich Drepper <drepper@redhat.com>
23489 * string/test-strcasestr.c: New file.
23490 * string/test-strstr.c: New file.
23491 * string/Makefile (strop-tests): Add strstr and strcasestr.
23492 * string/str-two-way.h: Don't undefine MAX.
23493 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
23495 2010-07-21 Andreas Schwab <schwab@redhat.com>
23497 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23498 strcasestr-nonascii.
23499 (CFLAGS-strcasestr-nonascii.c): Define.
23500 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
23501 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
23502 Remove unused attribute.
23504 2010-07-20 Roland McGrath <roland@redhat.com>
23506 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
23507 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
23508 ld.so.cache was broken. With it, there is no way to disable dsocaps
23509 like LD_HWCAP_MASK can disable hwcaps.
23511 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23513 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
23515 2010-07-16 Ulrich Drepper <drepper@redhat.com>
23517 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
23518 call in strcasestr.
23519 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
23520 __strcasestr_sse42_nonascii.
23521 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
23522 strcasestr-nonascii.c.
23523 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
23525 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
23527 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
23528 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
23529 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
23530 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
23532 2010-07-09 Ulrich Drepper <drepper@redhat.com>
23534 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
23537 2010-07-06 Andreas Schwab <schwab@redhat.com>
23540 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
23543 2010-07-06 Ulrich Drepper <drepper@redhat.com>
23545 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
23546 _PC_PIPE_BUF using F_GETPIPE_SZ.
23548 2010-07-05 Roland McGrath <roland@redhat.com>
23550 * manual/arith.texi (Rounding Functions): Fix rint description
23551 implicit in round description.
23553 2010-07-02 Ulrich Drepper <drepper@redhat.com>
23555 * elf/Makefile: Fix linking for a few tests to make recent linker
23558 2010-06-30 Andreas Schwab <schwab@redhat.com>
23560 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23561 $(common-objpfx)libc_nonshared.a.
23563 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
23565 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
23566 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
23567 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23568 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23569 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
23570 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
23571 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23572 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
23574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
23575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
23576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
23578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
23580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
23581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
23582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
23583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
23585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
23587 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
23588 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
23589 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
23590 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
23591 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
23592 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
23593 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
23594 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
23595 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23596 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23597 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23598 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
23607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
23608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
23609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
23610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
23611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
23612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
23614 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
23616 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
23617 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
23618 * string/memmove.c (memmove): Renamed to ...
23619 (MEMMOVE): ...this. Default to memmove.
23620 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
23621 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
23623 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23624 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
23625 mempcpy-ssse3-back memmove-ssse3-back.
23626 * sysdeps/x86_64/multiarch/bcopy.S: New file .
23627 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23628 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23629 * sysdeps/x86_64/multiarch/memcpy.S: New file.
23630 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23631 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23632 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23633 * sysdeps/x86_64/multiarch/memmove.c: New file.
23634 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23635 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23636 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23637 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23638 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23639 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23641 (index_Fast_Copy_Backward): Define.
23642 (HAS_ARCH_FEATURE): Define.
23643 (HAS_FAST_REP_STRING): Define.
23644 (HAS_FAST_COPY_BACKWARD): Define.
23646 2010-06-21 Andreas Schwab <schwab@redhat.com>
23648 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23649 Restore proper fallback handling.
23651 2010-06-19 Ulrich Drepper <drepper@redhat.com>
23654 * posix/group_member.c (__group_member): Correct checking loop.
23656 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
23657 OOM in getpwuid_r correctly. Return error number when the caller
23658 should return, otherwise -1.
23659 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
23660 call returning > 0 value.
23661 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
23663 2010-06-07 Andreas Schwab <schwab@redhat.com>
23665 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
23666 libc_nonshared.a from targets in modules-names.
23668 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
23670 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
23673 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
23675 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
23676 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
23677 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
23678 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
23680 2010-06-02 Andreas Schwab <schwab@redhat.com>
23682 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
23684 2010-06-14 Ulrich Drepper <drepper@redhat.com>
23686 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
23688 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23689 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23690 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23691 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23692 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23693 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
23695 2010-06-14 Roland McGrath <roland@redhat.com>
23697 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
23699 2010-06-07 Jakub Jelinek <jakub@redhat.com>
23701 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
23702 __REDIRECT followed by __THROW.
23703 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
23704 * posix/getopt.h (getopt): Likewise.
23706 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23708 * hurd/lookup-at.c (__file_name_lookup_at): Accept
23709 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
23710 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
23712 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
23713 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
23715 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
23717 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
23719 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
23722 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23723 Properly check family and model.
23725 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
23727 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
23729 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
23731 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
23733 2010-05-21 Ulrich Drepper <drepper@redhat.com>
23735 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
23738 2010-05-19 Andreas Schwab <schwab@redhat.com>
23740 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
23743 2010-05-21 Andreas Schwab <schwab@redhat.com>
23745 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
23746 and internal_recvmmsg.
23747 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23748 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23749 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23750 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23752 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23753 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23754 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23756 2010-05-20 Andreas Schwab <schwab@redhat.com>
23758 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23760 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
23762 POWER7 optimizations.
23763 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23764 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23766 2010-05-19 Ulrich Drepper <drepper@redhat.com>
23768 * version.h: Update for 2.13 development version.
23770 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
23772 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23773 exceptions. Return 0.
23775 2010-05-07 Roland McGrath <roland@redhat.com>
23777 * elf/ldconfig.c (main): Add a const.
23779 2010-05-06 Ulrich Drepper <drepper@redhat.com>
23781 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23782 (args_options): Add no-idn option.
23783 (ahosts_keys_int): Add idn_flags to ai_flags.
23784 (parse_option): Handle 'i' option to clear idn_flags.
23786 * malloc/malloc.c (_int_free): Possible race in the most recently
23787 added check. Only act on the data if no current modification
23790 See ChangeLog.17 for earlier changes.